diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java index 06c6b76..5a344bb 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java +++ b/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 a/metastore/if/hive_metastore.thrift b/metastore/if/hive_metastore.thrift index adf4830..d651195 100755 --- a/metastore/if/hive_metastore.thrift +++ b/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 a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index a0b34cb..0354fe1 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -8,6 +8,11 @@ namespace Apache { namespace Hadoop { namespace Hive { + +ThriftHiveMetastore_getMetaConf_args::~ThriftHiveMetastore_getMetaConf_args() throw() { +} + + uint32_t ThriftHiveMetastore_getMetaConf_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -50,6 +55,7 @@ uint32_t ThriftHiveMetastore_getMetaConf_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_getMetaConf_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_getMetaConf_args"); xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1); @@ -58,11 +64,18 @@ uint32_t ThriftHiveMetastore_getMetaConf_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_getMetaConf_pargs::~ThriftHiveMetastore_getMetaConf_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_getMetaConf_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_getMetaConf_pargs"); xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1); @@ -71,9 +84,15 @@ uint32_t ThriftHiveMetastore_getMetaConf_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_getMetaConf_result::~ThriftHiveMetastore_getMetaConf_result() throw() { +} + + uint32_t ThriftHiveMetastore_getMetaConf_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -142,6 +161,11 @@ uint32_t ThriftHiveMetastore_getMetaConf_result::write(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_getMetaConf_presult::~ThriftHiveMetastore_getMetaConf_presult() throw() { +} + + uint32_t ThriftHiveMetastore_getMetaConf_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -190,6 +214,11 @@ uint32_t ThriftHiveMetastore_getMetaConf_presult::read(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_setMetaConf_args::~ThriftHiveMetastore_setMetaConf_args() throw() { +} + + uint32_t ThriftHiveMetastore_setMetaConf_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -240,6 +269,7 @@ uint32_t ThriftHiveMetastore_setMetaConf_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_setMetaConf_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_setMetaConf_args"); xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1); @@ -252,11 +282,18 @@ uint32_t ThriftHiveMetastore_setMetaConf_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_setMetaConf_pargs::~ThriftHiveMetastore_setMetaConf_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_setMetaConf_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_setMetaConf_pargs"); xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1); @@ -269,9 +306,15 @@ uint32_t ThriftHiveMetastore_setMetaConf_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_setMetaConf_result::~ThriftHiveMetastore_setMetaConf_result() throw() { +} + + uint32_t ThriftHiveMetastore_setMetaConf_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -328,6 +371,11 @@ uint32_t ThriftHiveMetastore_setMetaConf_result::write(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_setMetaConf_presult::~ThriftHiveMetastore_setMetaConf_presult() throw() { +} + + uint32_t ThriftHiveMetastore_setMetaConf_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -368,6 +416,11 @@ uint32_t ThriftHiveMetastore_setMetaConf_presult::read(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_create_database_args::~ThriftHiveMetastore_create_database_args() throw() { +} + + uint32_t ThriftHiveMetastore_create_database_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -410,6 +463,7 @@ uint32_t ThriftHiveMetastore_create_database_args::read(::apache::thrift::protoc uint32_t ThriftHiveMetastore_create_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_args"); xfer += oprot->writeFieldBegin("database", ::apache::thrift::protocol::T_STRUCT, 1); @@ -418,11 +472,18 @@ uint32_t ThriftHiveMetastore_create_database_args::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_database_pargs::~ThriftHiveMetastore_create_database_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_create_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_pargs"); xfer += oprot->writeFieldBegin("database", ::apache::thrift::protocol::T_STRUCT, 1); @@ -431,9 +492,15 @@ uint32_t ThriftHiveMetastore_create_database_pargs::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_database_result::~ThriftHiveMetastore_create_database_result() throw() { +} + + uint32_t ThriftHiveMetastore_create_database_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -514,6 +581,11 @@ uint32_t ThriftHiveMetastore_create_database_result::write(::apache::thrift::pro return xfer; } + +ThriftHiveMetastore_create_database_presult::~ThriftHiveMetastore_create_database_presult() throw() { +} + + uint32_t ThriftHiveMetastore_create_database_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -570,6 +642,11 @@ uint32_t ThriftHiveMetastore_create_database_presult::read(::apache::thrift::pro return xfer; } + +ThriftHiveMetastore_get_database_args::~ThriftHiveMetastore_get_database_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_database_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -612,6 +689,7 @@ uint32_t ThriftHiveMetastore_get_database_args::read(::apache::thrift::protocol: uint32_t ThriftHiveMetastore_get_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_args"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -620,11 +698,18 @@ uint32_t ThriftHiveMetastore_get_database_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_database_pargs::~ThriftHiveMetastore_get_database_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_pargs"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -633,9 +718,15 @@ uint32_t ThriftHiveMetastore_get_database_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_database_result::~ThriftHiveMetastore_get_database_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_database_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -716,6 +807,11 @@ uint32_t ThriftHiveMetastore_get_database_result::write(::apache::thrift::protoc return xfer; } + +ThriftHiveMetastore_get_database_presult::~ThriftHiveMetastore_get_database_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_database_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -772,6 +868,11 @@ uint32_t ThriftHiveMetastore_get_database_presult::read(::apache::thrift::protoc return xfer; } + +ThriftHiveMetastore_drop_database_args::~ThriftHiveMetastore_drop_database_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_database_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -830,6 +931,7 @@ uint32_t ThriftHiveMetastore_drop_database_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_drop_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_args"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -846,11 +948,18 @@ uint32_t ThriftHiveMetastore_drop_database_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_database_pargs::~ThriftHiveMetastore_drop_database_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_pargs"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -867,9 +976,15 @@ uint32_t ThriftHiveMetastore_drop_database_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_database_result::~ThriftHiveMetastore_drop_database_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_database_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -950,6 +1065,11 @@ uint32_t ThriftHiveMetastore_drop_database_result::write(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_drop_database_presult::~ThriftHiveMetastore_drop_database_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_database_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1006,6 +1126,11 @@ uint32_t ThriftHiveMetastore_drop_database_presult::read(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_get_databases_args::~ThriftHiveMetastore_get_databases_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_databases_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1048,6 +1173,7 @@ uint32_t ThriftHiveMetastore_get_databases_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_get_databases_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_args"); xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 1); @@ -1056,11 +1182,18 @@ uint32_t ThriftHiveMetastore_get_databases_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_databases_pargs::~ThriftHiveMetastore_get_databases_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_databases_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_pargs"); xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 1); @@ -1069,9 +1202,15 @@ uint32_t ThriftHiveMetastore_get_databases_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_databases_result::~ThriftHiveMetastore_get_databases_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1096,14 +1235,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 _size649; + ::apache::thrift::protocol::TType _etype652; + xfer += iprot->readListBegin(_etype652, _size649); + this->success.resize(_size649); + uint32_t _i653; + for (_i653 = 0; _i653 < _size649; ++_i653) { - xfer += iprot->readString(this->success[_i429]); + xfer += iprot->readString(this->success[_i653]); } xfer += iprot->readListEnd(); } @@ -1142,10 +1281,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 _iter654; + for (_iter654 = this->success.begin(); _iter654 != this->success.end(); ++_iter654) { - xfer += oprot->writeString((*_iter430)); + xfer += oprot->writeString((*_iter654)); } xfer += oprot->writeListEnd(); } @@ -1160,6 +1299,11 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_get_databases_presult::~ThriftHiveMetastore_get_databases_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1184,14 +1328,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 _size655; + ::apache::thrift::protocol::TType _etype658; + xfer += iprot->readListBegin(_etype658, _size655); + (*(this->success)).resize(_size655); + uint32_t _i659; + for (_i659 = 0; _i659 < _size655; ++_i659) { - xfer += iprot->readString((*(this->success))[_i435]); + xfer += iprot->readString((*(this->success))[_i659]); } xfer += iprot->readListEnd(); } @@ -1220,6 +1364,11 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_get_all_databases_args::~ThriftHiveMetastore_get_all_databases_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_all_databases_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1249,22 +1398,36 @@ uint32_t ThriftHiveMetastore_get_all_databases_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_get_all_databases_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_all_databases_pargs::~ThriftHiveMetastore_get_all_databases_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_all_databases_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_all_databases_result::~ThriftHiveMetastore_get_all_databases_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1289,14 +1452,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 _size660; + ::apache::thrift::protocol::TType _etype663; + xfer += iprot->readListBegin(_etype663, _size660); + this->success.resize(_size660); + uint32_t _i664; + for (_i664 = 0; _i664 < _size660; ++_i664) { - xfer += iprot->readString(this->success[_i440]); + xfer += iprot->readString(this->success[_i664]); } xfer += iprot->readListEnd(); } @@ -1335,10 +1498,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 _iter665; + for (_iter665 = this->success.begin(); _iter665 != this->success.end(); ++_iter665) { - xfer += oprot->writeString((*_iter441)); + xfer += oprot->writeString((*_iter665)); } xfer += oprot->writeListEnd(); } @@ -1353,6 +1516,11 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_get_all_databases_presult::~ThriftHiveMetastore_get_all_databases_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1377,14 +1545,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 _size666; + ::apache::thrift::protocol::TType _etype669; + xfer += iprot->readListBegin(_etype669, _size666); + (*(this->success)).resize(_size666); + uint32_t _i670; + for (_i670 = 0; _i670 < _size666; ++_i670) { - xfer += iprot->readString((*(this->success))[_i446]); + xfer += iprot->readString((*(this->success))[_i670]); } xfer += iprot->readListEnd(); } @@ -1413,6 +1581,11 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_alter_database_args::~ThriftHiveMetastore_alter_database_args() throw() { +} + + uint32_t ThriftHiveMetastore_alter_database_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1463,6 +1636,7 @@ uint32_t ThriftHiveMetastore_alter_database_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_alter_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -1475,11 +1649,18 @@ uint32_t ThriftHiveMetastore_alter_database_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_database_pargs::~ThriftHiveMetastore_alter_database_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_alter_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -1492,9 +1673,15 @@ uint32_t ThriftHiveMetastore_alter_database_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_database_result::~ThriftHiveMetastore_alter_database_result() throw() { +} + + uint32_t ThriftHiveMetastore_alter_database_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1563,6 +1750,11 @@ uint32_t ThriftHiveMetastore_alter_database_result::write(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_alter_database_presult::~ThriftHiveMetastore_alter_database_presult() throw() { +} + + uint32_t ThriftHiveMetastore_alter_database_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1611,6 +1803,11 @@ uint32_t ThriftHiveMetastore_alter_database_presult::read(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_get_type_args::~ThriftHiveMetastore_get_type_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_type_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1653,6 +1850,7 @@ uint32_t ThriftHiveMetastore_get_type_args::read(::apache::thrift::protocol::TPr uint32_t ThriftHiveMetastore_get_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_args"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -1661,11 +1859,18 @@ uint32_t ThriftHiveMetastore_get_type_args::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_type_pargs::~ThriftHiveMetastore_get_type_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_pargs"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -1674,9 +1879,15 @@ uint32_t ThriftHiveMetastore_get_type_pargs::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_type_result::~ThriftHiveMetastore_get_type_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_type_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1757,6 +1968,11 @@ uint32_t ThriftHiveMetastore_get_type_result::write(::apache::thrift::protocol:: return xfer; } + +ThriftHiveMetastore_get_type_presult::~ThriftHiveMetastore_get_type_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_type_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1813,6 +2029,11 @@ uint32_t ThriftHiveMetastore_get_type_presult::read(::apache::thrift::protocol:: return xfer; } + +ThriftHiveMetastore_create_type_args::~ThriftHiveMetastore_create_type_args() throw() { +} + + uint32_t ThriftHiveMetastore_create_type_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1855,6 +2076,7 @@ uint32_t ThriftHiveMetastore_create_type_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_create_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_args"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1863,11 +2085,18 @@ uint32_t ThriftHiveMetastore_create_type_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_type_pargs::~ThriftHiveMetastore_create_type_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_create_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_pargs"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1876,9 +2105,15 @@ uint32_t ThriftHiveMetastore_create_type_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_type_result::~ThriftHiveMetastore_create_type_result() throw() { +} + + uint32_t ThriftHiveMetastore_create_type_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1971,6 +2206,11 @@ uint32_t ThriftHiveMetastore_create_type_result::write(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_create_type_presult::~ThriftHiveMetastore_create_type_presult() throw() { +} + + uint32_t ThriftHiveMetastore_create_type_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2035,6 +2275,11 @@ uint32_t ThriftHiveMetastore_create_type_presult::read(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_drop_type_args::~ThriftHiveMetastore_drop_type_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_type_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2077,6 +2322,7 @@ uint32_t ThriftHiveMetastore_drop_type_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_drop_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_args"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 1); @@ -2085,11 +2331,18 @@ uint32_t ThriftHiveMetastore_drop_type_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_type_pargs::~ThriftHiveMetastore_drop_type_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_pargs"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 1); @@ -2098,9 +2351,15 @@ uint32_t ThriftHiveMetastore_drop_type_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_type_result::~ThriftHiveMetastore_drop_type_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_type_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2181,6 +2440,11 @@ uint32_t ThriftHiveMetastore_drop_type_result::write(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_drop_type_presult::~ThriftHiveMetastore_drop_type_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_type_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2237,6 +2501,11 @@ uint32_t ThriftHiveMetastore_drop_type_presult::read(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_get_type_all_args::~ThriftHiveMetastore_get_type_all_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_type_all_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2279,6 +2548,7 @@ uint32_t ThriftHiveMetastore_get_type_all_args::read(::apache::thrift::protocol: uint32_t ThriftHiveMetastore_get_type_all_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_args"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -2287,11 +2557,18 @@ uint32_t ThriftHiveMetastore_get_type_all_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_type_all_pargs::~ThriftHiveMetastore_get_type_all_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_type_all_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_pargs"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -2300,9 +2577,15 @@ uint32_t ThriftHiveMetastore_get_type_all_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_type_all_result::~ThriftHiveMetastore_get_type_all_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2327,17 +2610,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 _size671; + ::apache::thrift::protocol::TType _ktype672; + ::apache::thrift::protocol::TType _vtype673; + xfer += iprot->readMapBegin(_ktype672, _vtype673, _size671); + uint32_t _i675; + for (_i675 = 0; _i675 < _size671; ++_i675) { - std::string _key452; - xfer += iprot->readString(_key452); - Type& _val453 = this->success[_key452]; - xfer += _val453.read(iprot); + std::string _key676; + xfer += iprot->readString(_key676); + Type& _val677 = this->success[_key676]; + xfer += _val677.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2376,11 +2659,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 _iter678; + for (_iter678 = this->success.begin(); _iter678 != this->success.end(); ++_iter678) { - xfer += oprot->writeString(_iter454->first); - xfer += _iter454->second.write(oprot); + xfer += oprot->writeString(_iter678->first); + xfer += _iter678->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2395,6 +2678,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc return xfer; } + +ThriftHiveMetastore_get_type_all_presult::~ThriftHiveMetastore_get_type_all_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2419,17 +2707,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 _size679; + ::apache::thrift::protocol::TType _ktype680; + ::apache::thrift::protocol::TType _vtype681; + xfer += iprot->readMapBegin(_ktype680, _vtype681, _size679); + uint32_t _i683; + for (_i683 = 0; _i683 < _size679; ++_i683) { - std::string _key460; - xfer += iprot->readString(_key460); - Type& _val461 = (*(this->success))[_key460]; - xfer += _val461.read(iprot); + std::string _key684; + xfer += iprot->readString(_key684); + Type& _val685 = (*(this->success))[_key684]; + xfer += _val685.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2458,6 +2746,11 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc return xfer; } + +ThriftHiveMetastore_get_fields_args::~ThriftHiveMetastore_get_fields_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_fields_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2508,6 +2801,7 @@ uint32_t ThriftHiveMetastore_get_fields_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_get_fields_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -2520,11 +2814,18 @@ uint32_t ThriftHiveMetastore_get_fields_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_fields_pargs::~ThriftHiveMetastore_get_fields_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_fields_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -2537,9 +2838,15 @@ uint32_t ThriftHiveMetastore_get_fields_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_fields_result::~ThriftHiveMetastore_get_fields_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2564,14 +2871,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 _size686; + ::apache::thrift::protocol::TType _etype689; + xfer += iprot->readListBegin(_etype689, _size686); + this->success.resize(_size686); + uint32_t _i690; + for (_i690 = 0; _i690 < _size686; ++_i690) { - xfer += this->success[_i466].read(iprot); + xfer += this->success[_i690].read(iprot); } xfer += iprot->readListEnd(); } @@ -2626,10 +2933,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 _iter691; + for (_iter691 = this->success.begin(); _iter691 != this->success.end(); ++_iter691) { - xfer += (*_iter467).write(oprot); + xfer += (*_iter691).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2652,6 +2959,11 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_get_fields_presult::~ThriftHiveMetastore_get_fields_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2676,14 +2988,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 _size692; + ::apache::thrift::protocol::TType _etype695; + xfer += iprot->readListBegin(_etype695, _size692); + (*(this->success)).resize(_size692); + uint32_t _i696; + for (_i696 = 0; _i696 < _size692; ++_i696) { - xfer += (*(this->success))[_i472].read(iprot); + xfer += (*(this->success))[_i696].read(iprot); } xfer += iprot->readListEnd(); } @@ -2728,6 +3040,11 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_get_fields_with_environment_context_args::~ThriftHiveMetastore_get_fields_with_environment_context_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2786,6 +3103,7 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::read(::ap uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -2802,11 +3120,18 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_fields_with_environment_context_pargs::~ThriftHiveMetastore_get_fields_with_environment_context_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_fields_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -2823,9 +3148,15 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_pargs::write(:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_fields_with_environment_context_result::~ThriftHiveMetastore_get_fields_with_environment_context_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2850,14 +3181,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 _size697; + ::apache::thrift::protocol::TType _etype700; + xfer += iprot->readListBegin(_etype700, _size697); + this->success.resize(_size697); + uint32_t _i701; + for (_i701 = 0; _i701 < _size697; ++_i701) { - xfer += this->success[_i477].read(iprot); + xfer += this->success[_i701].read(iprot); } xfer += iprot->readListEnd(); } @@ -2912,10 +3243,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 _iter702; + for (_iter702 = this->success.begin(); _iter702 != this->success.end(); ++_iter702) { - xfer += (*_iter478).write(oprot); + xfer += (*_iter702).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2938,6 +3269,11 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(: return xfer; } + +ThriftHiveMetastore_get_fields_with_environment_context_presult::~ThriftHiveMetastore_get_fields_with_environment_context_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2962,14 +3298,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 _size703; + ::apache::thrift::protocol::TType _etype706; + xfer += iprot->readListBegin(_etype706, _size703); + (*(this->success)).resize(_size703); + uint32_t _i707; + for (_i707 = 0; _i707 < _size703; ++_i707) { - xfer += (*(this->success))[_i483].read(iprot); + xfer += (*(this->success))[_i707].read(iprot); } xfer += iprot->readListEnd(); } @@ -3014,6 +3350,11 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: return xfer; } + +ThriftHiveMetastore_get_schema_args::~ThriftHiveMetastore_get_schema_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_schema_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3064,6 +3405,7 @@ uint32_t ThriftHiveMetastore_get_schema_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_get_schema_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -3076,11 +3418,18 @@ uint32_t ThriftHiveMetastore_get_schema_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_schema_pargs::~ThriftHiveMetastore_get_schema_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_schema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -3093,9 +3442,15 @@ uint32_t ThriftHiveMetastore_get_schema_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_schema_result::~ThriftHiveMetastore_get_schema_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3120,14 +3475,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 _size708; + ::apache::thrift::protocol::TType _etype711; + xfer += iprot->readListBegin(_etype711, _size708); + this->success.resize(_size708); + uint32_t _i712; + for (_i712 = 0; _i712 < _size708; ++_i712) { - xfer += this->success[_i488].read(iprot); + xfer += this->success[_i712].read(iprot); } xfer += iprot->readListEnd(); } @@ -3182,10 +3537,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 _iter713; + for (_iter713 = this->success.begin(); _iter713 != this->success.end(); ++_iter713) { - xfer += (*_iter489).write(oprot); + xfer += (*_iter713).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3208,6 +3563,11 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_get_schema_presult::~ThriftHiveMetastore_get_schema_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3232,14 +3592,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 _size714; + ::apache::thrift::protocol::TType _etype717; + xfer += iprot->readListBegin(_etype717, _size714); + (*(this->success)).resize(_size714); + uint32_t _i718; + for (_i718 = 0; _i718 < _size714; ++_i718) { - xfer += (*(this->success))[_i494].read(iprot); + xfer += (*(this->success))[_i718].read(iprot); } xfer += iprot->readListEnd(); } @@ -3284,6 +3644,11 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_get_schema_with_environment_context_args::~ThriftHiveMetastore_get_schema_with_environment_context_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3342,6 +3707,7 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::read(::ap uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -3358,11 +3724,18 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_schema_with_environment_context_pargs::~ThriftHiveMetastore_get_schema_with_environment_context_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_schema_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -3379,9 +3752,15 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_pargs::write(:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_schema_with_environment_context_result::~ThriftHiveMetastore_get_schema_with_environment_context_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3406,14 +3785,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 _size719; + ::apache::thrift::protocol::TType _etype722; + xfer += iprot->readListBegin(_etype722, _size719); + this->success.resize(_size719); + uint32_t _i723; + for (_i723 = 0; _i723 < _size719; ++_i723) { - xfer += this->success[_i499].read(iprot); + xfer += this->success[_i723].read(iprot); } xfer += iprot->readListEnd(); } @@ -3468,10 +3847,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 _iter724; + for (_iter724 = this->success.begin(); _iter724 != this->success.end(); ++_iter724) { - xfer += (*_iter500).write(oprot); + xfer += (*_iter724).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3494,6 +3873,11 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(: return xfer; } + +ThriftHiveMetastore_get_schema_with_environment_context_presult::~ThriftHiveMetastore_get_schema_with_environment_context_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3518,14 +3902,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 _size725; + ::apache::thrift::protocol::TType _etype728; + xfer += iprot->readListBegin(_etype728, _size725); + (*(this->success)).resize(_size725); + uint32_t _i729; + for (_i729 = 0; _i729 < _size725; ++_i729) { - xfer += (*(this->success))[_i505].read(iprot); + xfer += (*(this->success))[_i729].read(iprot); } xfer += iprot->readListEnd(); } @@ -3570,6 +3954,11 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: return xfer; } + +ThriftHiveMetastore_create_table_args::~ThriftHiveMetastore_create_table_args() throw() { +} + + uint32_t ThriftHiveMetastore_create_table_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3612,6 +4001,7 @@ uint32_t ThriftHiveMetastore_create_table_args::read(::apache::thrift::protocol: uint32_t ThriftHiveMetastore_create_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_args"); xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3620,11 +4010,18 @@ uint32_t ThriftHiveMetastore_create_table_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_table_pargs::~ThriftHiveMetastore_create_table_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_create_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_pargs"); xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3633,9 +4030,15 @@ uint32_t ThriftHiveMetastore_create_table_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_table_result::~ThriftHiveMetastore_create_table_result() throw() { +} + + uint32_t ThriftHiveMetastore_create_table_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3728,6 +4131,11 @@ uint32_t ThriftHiveMetastore_create_table_result::write(::apache::thrift::protoc return xfer; } + +ThriftHiveMetastore_create_table_presult::~ThriftHiveMetastore_create_table_presult() throw() { +} + + uint32_t ThriftHiveMetastore_create_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3792,6 +4200,11 @@ uint32_t ThriftHiveMetastore_create_table_presult::read(::apache::thrift::protoc return xfer; } + +ThriftHiveMetastore_create_table_with_environment_context_args::~ThriftHiveMetastore_create_table_with_environment_context_args() throw() { +} + + uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3842,6 +4255,7 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::read(:: uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_with_environment_context_args"); xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3854,11 +4268,18 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::write(: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_table_with_environment_context_pargs::~ThriftHiveMetastore_create_table_with_environment_context_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_create_table_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3871,9 +4292,15 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_pargs::write( xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_table_with_environment_context_result::~ThriftHiveMetastore_create_table_with_environment_context_result() throw() { +} + + uint32_t ThriftHiveMetastore_create_table_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3966,6 +4393,11 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_result::write return xfer; } + +ThriftHiveMetastore_create_table_with_environment_context_presult::~ThriftHiveMetastore_create_table_with_environment_context_presult() throw() { +} + + uint32_t ThriftHiveMetastore_create_table_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4030,6 +4462,11 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_presult::read return xfer; } + +ThriftHiveMetastore_drop_table_args::~ThriftHiveMetastore_drop_table_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_table_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4088,6 +4525,7 @@ uint32_t ThriftHiveMetastore_drop_table_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_drop_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -4104,11 +4542,18 @@ uint32_t ThriftHiveMetastore_drop_table_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_table_pargs::~ThriftHiveMetastore_drop_table_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -4125,9 +4570,15 @@ uint32_t ThriftHiveMetastore_drop_table_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_table_result::~ThriftHiveMetastore_drop_table_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_table_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4196,6 +4647,11 @@ uint32_t ThriftHiveMetastore_drop_table_result::write(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_drop_table_presult::~ThriftHiveMetastore_drop_table_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4244,6 +4700,11 @@ uint32_t ThriftHiveMetastore_drop_table_presult::read(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_drop_table_with_environment_context_args::~ThriftHiveMetastore_drop_table_with_environment_context_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4310,6 +4771,7 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::read(::ap uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_with_environment_context_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -4330,11 +4792,18 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_table_with_environment_context_pargs::~ThriftHiveMetastore_drop_table_with_environment_context_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_table_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -4355,9 +4824,15 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_pargs::write(:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_table_with_environment_context_result::~ThriftHiveMetastore_drop_table_with_environment_context_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_table_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4426,6 +4901,11 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_result::write(: return xfer; } + +ThriftHiveMetastore_drop_table_with_environment_context_presult::~ThriftHiveMetastore_drop_table_with_environment_context_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_table_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4474,6 +4954,11 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_presult::read(: return xfer; } + +ThriftHiveMetastore_get_tables_args::~ThriftHiveMetastore_get_tables_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_tables_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4524,6 +5009,7 @@ uint32_t ThriftHiveMetastore_get_tables_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_get_tables_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -4536,11 +5022,18 @@ uint32_t ThriftHiveMetastore_get_tables_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_tables_pargs::~ThriftHiveMetastore_get_tables_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_tables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -4553,9 +5046,15 @@ uint32_t ThriftHiveMetastore_get_tables_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_tables_result::~ThriftHiveMetastore_get_tables_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4580,14 +5079,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 _size730; + ::apache::thrift::protocol::TType _etype733; + xfer += iprot->readListBegin(_etype733, _size730); + this->success.resize(_size730); + uint32_t _i734; + for (_i734 = 0; _i734 < _size730; ++_i734) { - xfer += iprot->readString(this->success[_i510]); + xfer += iprot->readString(this->success[_i734]); } xfer += iprot->readListEnd(); } @@ -4626,10 +5125,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 _iter735; + for (_iter735 = this->success.begin(); _iter735 != this->success.end(); ++_iter735) { - xfer += oprot->writeString((*_iter511)); + xfer += oprot->writeString((*_iter735)); } xfer += oprot->writeListEnd(); } @@ -4644,6 +5143,11 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_get_tables_presult::~ThriftHiveMetastore_get_tables_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4668,14 +5172,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 _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))[_i516]); + xfer += iprot->readString((*(this->success))[_i740]); } xfer += iprot->readListEnd(); } @@ -4704,6 +5208,11 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_get_all_tables_args::~ThriftHiveMetastore_get_all_tables_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_all_tables_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4746,6 +5255,7 @@ uint32_t ThriftHiveMetastore_get_all_tables_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_get_all_tables_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_tables_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -4754,11 +5264,18 @@ uint32_t ThriftHiveMetastore_get_all_tables_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_all_tables_pargs::~ThriftHiveMetastore_get_all_tables_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_all_tables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_tables_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -4767,9 +5284,15 @@ uint32_t ThriftHiveMetastore_get_all_tables_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_all_tables_result::~ThriftHiveMetastore_get_all_tables_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4794,14 +5317,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 _size741; + ::apache::thrift::protocol::TType _etype744; + xfer += iprot->readListBegin(_etype744, _size741); + this->success.resize(_size741); + uint32_t _i745; + for (_i745 = 0; _i745 < _size741; ++_i745) { - xfer += iprot->readString(this->success[_i521]); + xfer += iprot->readString(this->success[_i745]); } xfer += iprot->readListEnd(); } @@ -4840,10 +5363,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 _iter746; + for (_iter746 = this->success.begin(); _iter746 != this->success.end(); ++_iter746) { - xfer += oprot->writeString((*_iter522)); + xfer += oprot->writeString((*_iter746)); } xfer += oprot->writeListEnd(); } @@ -4858,6 +5381,11 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_get_all_tables_presult::~ThriftHiveMetastore_get_all_tables_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4882,14 +5410,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 _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 += iprot->readString((*(this->success))[_i527]); + xfer += iprot->readString((*(this->success))[_i751]); } xfer += iprot->readListEnd(); } @@ -4918,6 +5446,11 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_get_table_args::~ThriftHiveMetastore_get_table_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -4968,6 +5501,7 @@ uint32_t ThriftHiveMetastore_get_table_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_get_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -4980,11 +5514,18 @@ uint32_t ThriftHiveMetastore_get_table_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_table_pargs::~ThriftHiveMetastore_get_table_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -4997,9 +5538,15 @@ uint32_t ThriftHiveMetastore_get_table_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_table_result::~ThriftHiveMetastore_get_table_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -5080,6 +5627,11 @@ uint32_t ThriftHiveMetastore_get_table_result::write(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_get_table_presult::~ThriftHiveMetastore_get_table_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -5136,6 +5688,11 @@ uint32_t ThriftHiveMetastore_get_table_presult::read(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_get_table_objects_by_name_args::~ThriftHiveMetastore_get_table_objects_by_name_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -5168,14 +5725,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 _size752; + ::apache::thrift::protocol::TType _etype755; + xfer += iprot->readListBegin(_etype755, _size752); + this->tbl_names.resize(_size752); + uint32_t _i756; + for (_i756 = 0; _i756 < _size752; ++_i756) { - xfer += iprot->readString(this->tbl_names[_i532]); + xfer += iprot->readString(this->tbl_names[_i756]); } xfer += iprot->readListEnd(); } @@ -5198,6 +5755,7 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_objects_by_name_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -5207,10 +5765,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 _iter757; + for (_iter757 = this->tbl_names.begin(); _iter757 != this->tbl_names.end(); ++_iter757) { - xfer += oprot->writeString((*_iter533)); + xfer += oprot->writeString((*_iter757)); } xfer += oprot->writeListEnd(); } @@ -5218,11 +5776,18 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_table_objects_by_name_pargs::~ThriftHiveMetastore_get_table_objects_by_name_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_objects_by_name_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -5232,10 +5797,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 _iter758; + for (_iter758 = (*(this->tbl_names)).begin(); _iter758 != (*(this->tbl_names)).end(); ++_iter758) { - xfer += oprot->writeString((*_iter534)); + xfer += oprot->writeString((*_iter758)); } xfer += oprot->writeListEnd(); } @@ -5243,122 +5808,133 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } -uint32_t ThriftHiveMetastore_get_table_objects_by_name_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_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) - { - xfer += this->success[_i539].read(iprot); - } - xfer += iprot->readListEnd(); - } - 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; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o2.read(iprot); - this->__isset.o2 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o3.read(iprot); - this->__isset.o3 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; +ThriftHiveMetastore_get_table_objects_by_name_result::~ThriftHiveMetastore_get_table_objects_by_name_result() throw() { } -uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_objects_by_name_result"); - - if (this->__isset.success) { - 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) - { - xfer += (*_iter540).write(oprot); - } - xfer += oprot->writeListEnd(); - } - 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(); - } else if (this->__isset.o2) { - xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->o2.write(oprot); - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.o3) { - xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->o3.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} -uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_table_objects_by_name_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_LIST) { + { + this->success.clear(); + uint32_t _size759; + ::apache::thrift::protocol::TType _etype762; + xfer += iprot->readListBegin(_etype762, _size759); + this->success.resize(_size759); + uint32_t _i763; + for (_i763 = 0; _i763 < _size759; ++_i763) + { + xfer += this->success[_i763].read(iprot); + } + xfer += iprot->readListEnd(); + } + 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; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o3.read(iprot); + this->__isset.o3 = 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_table_objects_by_name_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_objects_by_name_result"); + + if (this->__isset.success) { + 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 _iter764; + for (_iter764 = this->success.begin(); _iter764 != this->success.end(); ++_iter764) + { + xfer += (*_iter764).write(oprot); + } + xfer += oprot->writeListEnd(); + } + 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(); + } else if (this->__isset.o2) { + xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->o2.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o3) { + xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->o3.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_table_objects_by_name_presult::~ThriftHiveMetastore_get_table_objects_by_name_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -5382,14 +5958,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 _size765; + ::apache::thrift::protocol::TType _etype768; + xfer += iprot->readListBegin(_etype768, _size765); + (*(this->success)).resize(_size765); + uint32_t _i769; + for (_i769 = 0; _i769 < _size765; ++_i769) { - xfer += (*(this->success))[_i545].read(iprot); + xfer += (*(this->success))[_i769].read(iprot); } xfer += iprot->readListEnd(); } @@ -5434,6 +6010,11 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t return xfer; } + +ThriftHiveMetastore_get_table_names_by_filter_args::~ThriftHiveMetastore_get_table_names_by_filter_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -5492,6 +6073,7 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::read(::apache::thri uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_names_by_filter_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -5508,11 +6090,18 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_table_names_by_filter_pargs::~ThriftHiveMetastore_get_table_names_by_filter_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_names_by_filter_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_names_by_filter_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -5529,9 +6118,15 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_pargs::write(::apache::th xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_table_names_by_filter_result::~ThriftHiveMetastore_get_table_names_by_filter_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -5556,14 +6151,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 _size770; + ::apache::thrift::protocol::TType _etype773; + xfer += iprot->readListBegin(_etype773, _size770); + this->success.resize(_size770); + uint32_t _i774; + for (_i774 = 0; _i774 < _size770; ++_i774) { - xfer += iprot->readString(this->success[_i550]); + xfer += iprot->readString(this->success[_i774]); } xfer += iprot->readListEnd(); } @@ -5618,10 +6213,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 _iter775; + for (_iter775 = this->success.begin(); _iter775 != this->success.end(); ++_iter775) { - xfer += oprot->writeString((*_iter551)); + xfer += oprot->writeString((*_iter775)); } xfer += oprot->writeListEnd(); } @@ -5644,6 +6239,11 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t return xfer; } + +ThriftHiveMetastore_get_table_names_by_filter_presult::~ThriftHiveMetastore_get_table_names_by_filter_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -5668,14 +6268,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 _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 += iprot->readString((*(this->success))[_i556]); + xfer += iprot->readString((*(this->success))[_i780]); } xfer += iprot->readListEnd(); } @@ -5720,6 +6320,11 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::t return xfer; } + +ThriftHiveMetastore_alter_table_args::~ThriftHiveMetastore_alter_table_args() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -5778,6 +6383,7 @@ uint32_t ThriftHiveMetastore_alter_table_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_alter_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -5794,11 +6400,18 @@ uint32_t ThriftHiveMetastore_alter_table_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_table_pargs::~ThriftHiveMetastore_alter_table_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -5815,9 +6428,15 @@ uint32_t ThriftHiveMetastore_alter_table_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_table_result::~ThriftHiveMetastore_alter_table_result() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -5886,6 +6505,11 @@ uint32_t ThriftHiveMetastore_alter_table_result::write(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_alter_table_presult::~ThriftHiveMetastore_alter_table_presult() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -5934,6 +6558,11 @@ uint32_t ThriftHiveMetastore_alter_table_presult::read(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_alter_table_with_environment_context_args::~ThriftHiveMetastore_alter_table_with_environment_context_args() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6000,6 +6629,7 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::read(::a uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_environment_context_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6020,11 +6650,18 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::write(:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_table_with_environment_context_pargs::~ThriftHiveMetastore_alter_table_with_environment_context_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6045,9 +6682,15 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_pargs::write(: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_table_with_environment_context_result::~ThriftHiveMetastore_alter_table_with_environment_context_result() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6116,6 +6759,11 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_result::write( return xfer; } + +ThriftHiveMetastore_alter_table_with_environment_context_presult::~ThriftHiveMetastore_alter_table_with_environment_context_presult() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6164,6 +6812,11 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_presult::read( return xfer; } + +ThriftHiveMetastore_alter_table_with_cascade_args::~ThriftHiveMetastore_alter_table_with_cascade_args() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6230,6 +6883,7 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::read(::apache::thrif uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_cascade_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6250,11 +6904,18 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_table_with_cascade_pargs::~ThriftHiveMetastore_alter_table_with_cascade_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_with_cascade_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_cascade_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6275,9 +6936,15 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_table_with_cascade_result::~ThriftHiveMetastore_alter_table_with_cascade_result() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_with_cascade_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6346,6 +7013,11 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_result::write(::apache::th return xfer; } + +ThriftHiveMetastore_alter_table_with_cascade_presult::~ThriftHiveMetastore_alter_table_with_cascade_presult() throw() { +} + + uint32_t ThriftHiveMetastore_alter_table_with_cascade_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6394,6 +7066,11 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_presult::read(::apache::th return xfer; } + +ThriftHiveMetastore_add_partition_args::~ThriftHiveMetastore_add_partition_args() throw() { +} + + uint32_t ThriftHiveMetastore_add_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6436,6 +7113,7 @@ uint32_t ThriftHiveMetastore_add_partition_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_add_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_args"); xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6444,11 +7122,18 @@ uint32_t ThriftHiveMetastore_add_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_partition_pargs::~ThriftHiveMetastore_add_partition_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_add_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_pargs"); xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6457,9 +7142,15 @@ uint32_t ThriftHiveMetastore_add_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_partition_result::~ThriftHiveMetastore_add_partition_result() throw() { +} + + uint32_t ThriftHiveMetastore_add_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6552,6 +7243,11 @@ uint32_t ThriftHiveMetastore_add_partition_result::write(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_add_partition_presult::~ThriftHiveMetastore_add_partition_presult() throw() { +} + + uint32_t ThriftHiveMetastore_add_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6616,6 +7312,11 @@ uint32_t ThriftHiveMetastore_add_partition_presult::read(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_add_partition_with_environment_context_args::~ThriftHiveMetastore_add_partition_with_environment_context_args() throw() { +} + + uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6666,6 +7367,7 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::read(: uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_with_environment_context_args"); xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6678,11 +7380,18 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::write( xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_partition_with_environment_context_pargs::~ThriftHiveMetastore_add_partition_with_environment_context_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_add_partition_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6695,9 +7404,15 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_pargs::write xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_partition_with_environment_context_result::~ThriftHiveMetastore_add_partition_with_environment_context_result() throw() { +} + + uint32_t ThriftHiveMetastore_add_partition_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6790,6 +7505,11 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_result::writ return xfer; } + +ThriftHiveMetastore_add_partition_with_environment_context_presult::~ThriftHiveMetastore_add_partition_with_environment_context_presult() throw() { +} + + uint32_t ThriftHiveMetastore_add_partition_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6854,6 +7574,11 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_presult::rea return xfer; } + +ThriftHiveMetastore_add_partitions_args::~ThriftHiveMetastore_add_partitions_args() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -6878,14 +7603,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 _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) { - xfer += this->new_parts[_i561].read(iprot); + xfer += this->new_parts[_i785].read(iprot); } xfer += iprot->readListEnd(); } @@ -6908,15 +7633,16 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_args"); 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 _iter786; + for (_iter786 = this->new_parts.begin(); _iter786 != this->new_parts.end(); ++_iter786) { - xfer += (*_iter562).write(oprot); + xfer += (*_iter786).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6924,20 +7650,27 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_partitions_pargs::~ThriftHiveMetastore_add_partitions_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pargs"); 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 _iter787; + for (_iter787 = (*(this->new_parts)).begin(); _iter787 != (*(this->new_parts)).end(); ++_iter787) { - xfer += (*_iter563).write(oprot); + xfer += (*_iter787).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6945,9 +7678,15 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_partitions_result::~ThriftHiveMetastore_add_partitions_result() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7040,6 +7779,11 @@ uint32_t ThriftHiveMetastore_add_partitions_result::write(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_add_partitions_presult::~ThriftHiveMetastore_add_partitions_presult() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7104,6 +7848,11 @@ uint32_t ThriftHiveMetastore_add_partitions_presult::read(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_add_partitions_pspec_args::~ThriftHiveMetastore_add_partitions_pspec_args() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7128,14 +7877,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 _size788; + ::apache::thrift::protocol::TType _etype791; + xfer += iprot->readListBegin(_etype791, _size788); + this->new_parts.resize(_size788); + uint32_t _i792; + for (_i792 = 0; _i792 < _size788; ++_i792) { - xfer += this->new_parts[_i568].read(iprot); + xfer += this->new_parts[_i792].read(iprot); } xfer += iprot->readListEnd(); } @@ -7158,15 +7907,16 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::p uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pspec_args"); 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 _iter793; + for (_iter793 = this->new_parts.begin(); _iter793 != this->new_parts.end(); ++_iter793) { - xfer += (*_iter569).write(oprot); + xfer += (*_iter793).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7174,20 +7924,27 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_partitions_pspec_pargs::~ThriftHiveMetastore_add_partitions_pspec_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pspec_pargs"); 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 _iter794; + for (_iter794 = (*(this->new_parts)).begin(); _iter794 != (*(this->new_parts)).end(); ++_iter794) { - xfer += (*_iter570).write(oprot); + xfer += (*_iter794).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7195,9 +7952,15 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_partitions_pspec_result::~ThriftHiveMetastore_add_partitions_pspec_result() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_pspec_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7290,6 +8053,11 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_result::write(::apache::thrift return xfer; } + +ThriftHiveMetastore_add_partitions_pspec_presult::~ThriftHiveMetastore_add_partitions_pspec_presult() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_pspec_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7354,6 +8122,11 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_presult::read(::apache::thrift return xfer; } + +ThriftHiveMetastore_append_partition_args::~ThriftHiveMetastore_append_partition_args() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7394,14 +8167,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 _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) { - xfer += iprot->readString(this->part_vals[_i575]); + xfer += iprot->readString(this->part_vals[_i799]); } xfer += iprot->readListEnd(); } @@ -7424,6 +8197,7 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -7437,10 +8211,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 _iter800; + for (_iter800 = this->part_vals.begin(); _iter800 != this->part_vals.end(); ++_iter800) { - xfer += oprot->writeString((*_iter576)); + xfer += oprot->writeString((*_iter800)); } xfer += oprot->writeListEnd(); } @@ -7448,11 +8222,18 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_append_partition_pargs::~ThriftHiveMetastore_append_partition_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -7466,10 +8247,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 _iter801; + for (_iter801 = (*(this->part_vals)).begin(); _iter801 != (*(this->part_vals)).end(); ++_iter801) { - xfer += oprot->writeString((*_iter577)); + xfer += oprot->writeString((*_iter801)); } xfer += oprot->writeListEnd(); } @@ -7477,9 +8258,15 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_append_partition_result::~ThriftHiveMetastore_append_partition_result() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7572,6 +8359,11 @@ uint32_t ThriftHiveMetastore_append_partition_result::write(::apache::thrift::pr return xfer; } + +ThriftHiveMetastore_append_partition_presult::~ThriftHiveMetastore_append_partition_presult() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7636,6 +8428,11 @@ uint32_t ThriftHiveMetastore_append_partition_presult::read(::apache::thrift::pr return xfer; } + +ThriftHiveMetastore_add_partitions_req_args::~ThriftHiveMetastore_add_partitions_req_args() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_req_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7678,6 +8475,7 @@ uint32_t ThriftHiveMetastore_add_partitions_req_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_add_partitions_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_req_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7686,11 +8484,18 @@ uint32_t ThriftHiveMetastore_add_partitions_req_args::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_partitions_req_pargs::~ThriftHiveMetastore_add_partitions_req_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_req_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7699,9 +8504,15 @@ uint32_t ThriftHiveMetastore_add_partitions_req_pargs::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_partitions_req_result::~ThriftHiveMetastore_add_partitions_req_result() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_req_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7794,6 +8605,11 @@ uint32_t ThriftHiveMetastore_add_partitions_req_result::write(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_add_partitions_req_presult::~ThriftHiveMetastore_add_partitions_req_presult() throw() { +} + + uint32_t ThriftHiveMetastore_add_partitions_req_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7858,6 +8674,11 @@ uint32_t ThriftHiveMetastore_add_partitions_req_presult::read(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_append_partition_with_environment_context_args::~ThriftHiveMetastore_append_partition_with_environment_context_args() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -7898,14 +8719,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 _size802; + ::apache::thrift::protocol::TType _etype805; + xfer += iprot->readListBegin(_etype805, _size802); + this->part_vals.resize(_size802); + uint32_t _i806; + for (_i806 = 0; _i806 < _size802; ++_i806) { - xfer += iprot->readString(this->part_vals[_i582]); + xfer += iprot->readString(this->part_vals[_i806]); } xfer += iprot->readListEnd(); } @@ -7936,6 +8757,7 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -7949,10 +8771,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 _iter807; + for (_iter807 = this->part_vals.begin(); _iter807 != this->part_vals.end(); ++_iter807) { - xfer += oprot->writeString((*_iter583)); + xfer += oprot->writeString((*_iter807)); } xfer += oprot->writeListEnd(); } @@ -7964,11 +8786,18 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_append_partition_with_environment_context_pargs::~ThriftHiveMetastore_append_partition_with_environment_context_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -7982,10 +8811,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 _iter808; + for (_iter808 = (*(this->part_vals)).begin(); _iter808 != (*(this->part_vals)).end(); ++_iter808) { - xfer += oprot->writeString((*_iter584)); + xfer += oprot->writeString((*_iter808)); } xfer += oprot->writeListEnd(); } @@ -7997,9 +8826,15 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_append_partition_with_environment_context_result::~ThriftHiveMetastore_append_partition_with_environment_context_result() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8092,6 +8927,11 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_result::w return xfer; } + +ThriftHiveMetastore_append_partition_with_environment_context_presult::~ThriftHiveMetastore_append_partition_with_environment_context_presult() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8156,6 +8996,11 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_presult:: return xfer; } + +ThriftHiveMetastore_append_partition_by_name_args::~ThriftHiveMetastore_append_partition_by_name_args() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8214,6 +9059,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_args::read(::apache::thrif uint32_t ThriftHiveMetastore_append_partition_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_by_name_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -8230,11 +9076,18 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_append_partition_by_name_pargs::~ThriftHiveMetastore_append_partition_by_name_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_by_name_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -8251,9 +9104,15 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_append_partition_by_name_result::~ThriftHiveMetastore_append_partition_by_name_result() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_by_name_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8346,6 +9205,11 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_result::write(::apache::th return xfer; } + +ThriftHiveMetastore_append_partition_by_name_presult::~ThriftHiveMetastore_append_partition_by_name_presult() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8410,6 +9274,11 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_presult::read(::apache::th return xfer; } + +ThriftHiveMetastore_append_partition_by_name_with_environment_context_args::~ThriftHiveMetastore_append_partition_by_name_with_environment_context_args() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8476,6 +9345,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_a uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_by_name_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -8496,11 +9366,18 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs::~ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -8521,9 +9398,15 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_append_partition_by_name_with_environment_context_result::~ThriftHiveMetastore_append_partition_by_name_with_environment_context_result() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8616,6 +9499,11 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_r return xfer; } + +ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult::~ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult() throw() { +} + + uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8680,6 +9568,11 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_p return xfer; } + +ThriftHiveMetastore_drop_partition_args::~ThriftHiveMetastore_drop_partition_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8720,14 +9613,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 _size809; + ::apache::thrift::protocol::TType _etype812; + xfer += iprot->readListBegin(_etype812, _size809); + this->part_vals.resize(_size809); + uint32_t _i813; + for (_i813 = 0; _i813 < _size809; ++_i813) { - xfer += iprot->readString(this->part_vals[_i589]); + xfer += iprot->readString(this->part_vals[_i813]); } xfer += iprot->readListEnd(); } @@ -8758,6 +9651,7 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -8771,10 +9665,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 _iter814; + for (_iter814 = this->part_vals.begin(); _iter814 != this->part_vals.end(); ++_iter814) { - xfer += oprot->writeString((*_iter590)); + xfer += oprot->writeString((*_iter814)); } xfer += oprot->writeListEnd(); } @@ -8786,11 +9680,18 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_partition_pargs::~ThriftHiveMetastore_drop_partition_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -8804,10 +9705,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 _iter815; + for (_iter815 = (*(this->part_vals)).begin(); _iter815 != (*(this->part_vals)).end(); ++_iter815) { - xfer += oprot->writeString((*_iter591)); + xfer += oprot->writeString((*_iter815)); } xfer += oprot->writeListEnd(); } @@ -8819,9 +9720,15 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_partition_result::~ThriftHiveMetastore_drop_partition_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8902,6 +9809,11 @@ uint32_t ThriftHiveMetastore_drop_partition_result::write(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_drop_partition_presult::~ThriftHiveMetastore_drop_partition_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8958,6 +9870,11 @@ uint32_t ThriftHiveMetastore_drop_partition_presult::read(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_drop_partition_with_environment_context_args::~ThriftHiveMetastore_drop_partition_with_environment_context_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -8998,14 +9915,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 _size816; + ::apache::thrift::protocol::TType _etype819; + xfer += iprot->readListBegin(_etype819, _size816); + this->part_vals.resize(_size816); + uint32_t _i820; + for (_i820 = 0; _i820 < _size816; ++_i820) { - xfer += iprot->readString(this->part_vals[_i596]); + xfer += iprot->readString(this->part_vals[_i820]); } xfer += iprot->readListEnd(); } @@ -9044,6 +9961,7 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9057,10 +9975,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 _iter821; + for (_iter821 = this->part_vals.begin(); _iter821 != this->part_vals.end(); ++_iter821) { - xfer += oprot->writeString((*_iter597)); + xfer += oprot->writeString((*_iter821)); } xfer += oprot->writeListEnd(); } @@ -9076,11 +9994,18 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_partition_with_environment_context_pargs::~ThriftHiveMetastore_drop_partition_with_environment_context_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9094,10 +10019,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 _iter822; + for (_iter822 = (*(this->part_vals)).begin(); _iter822 != (*(this->part_vals)).end(); ++_iter822) { - xfer += oprot->writeString((*_iter598)); + xfer += oprot->writeString((*_iter822)); } xfer += oprot->writeListEnd(); } @@ -9113,9 +10038,15 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_partition_with_environment_context_result::~ThriftHiveMetastore_drop_partition_with_environment_context_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -9196,6 +10127,11 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_result::wri return xfer; } + +ThriftHiveMetastore_drop_partition_with_environment_context_presult::~ThriftHiveMetastore_drop_partition_with_environment_context_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -9252,6 +10188,11 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_presult::re return xfer; } + +ThriftHiveMetastore_drop_partition_by_name_args::~ThriftHiveMetastore_drop_partition_by_name_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -9318,6 +10259,7 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_drop_partition_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_by_name_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9338,11 +10280,18 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_partition_by_name_pargs::~ThriftHiveMetastore_drop_partition_by_name_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_by_name_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9363,9 +10312,15 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_partition_by_name_result::~ThriftHiveMetastore_drop_partition_by_name_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_by_name_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -9446,6 +10401,11 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_result::write(::apache::thri return xfer; } + +ThriftHiveMetastore_drop_partition_by_name_presult::~ThriftHiveMetastore_drop_partition_by_name_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -9502,6 +10462,11 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_presult::read(::apache::thri return xfer; } + +ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args::~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -9576,6 +10541,7 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_arg uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9600,11 +10566,18 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_arg xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs::~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9629,9 +10602,15 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_par xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result::~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -9712,6 +10691,11 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_res return xfer; } + +ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult::~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -9768,6 +10752,11 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pre return xfer; } + +ThriftHiveMetastore_drop_partitions_req_args::~ThriftHiveMetastore_drop_partitions_req_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partitions_req_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -9810,6 +10799,7 @@ uint32_t ThriftHiveMetastore_drop_partitions_req_args::read(::apache::thrift::pr uint32_t ThriftHiveMetastore_drop_partitions_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partitions_req_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -9818,11 +10808,18 @@ uint32_t ThriftHiveMetastore_drop_partitions_req_args::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_partitions_req_pargs::~ThriftHiveMetastore_drop_partitions_req_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partitions_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partitions_req_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -9831,9 +10828,15 @@ uint32_t ThriftHiveMetastore_drop_partitions_req_pargs::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_partitions_req_result::~ThriftHiveMetastore_drop_partitions_req_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partitions_req_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -9914,6 +10917,11 @@ uint32_t ThriftHiveMetastore_drop_partitions_req_result::write(::apache::thrift: return xfer; } + +ThriftHiveMetastore_drop_partitions_req_presult::~ThriftHiveMetastore_drop_partitions_req_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_partitions_req_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -9970,6 +10978,11 @@ uint32_t ThriftHiveMetastore_drop_partitions_req_presult::read(::apache::thrift: return xfer; } + +ThriftHiveMetastore_get_partition_args::~ThriftHiveMetastore_get_partition_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -10010,14 +11023,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 _size823; + ::apache::thrift::protocol::TType _etype826; + xfer += iprot->readListBegin(_etype826, _size823); + this->part_vals.resize(_size823); + uint32_t _i827; + for (_i827 = 0; _i827 < _size823; ++_i827) { - xfer += iprot->readString(this->part_vals[_i603]); + xfer += iprot->readString(this->part_vals[_i827]); } xfer += iprot->readListEnd(); } @@ -10040,6 +11053,7 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -10053,10 +11067,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 _iter828; + for (_iter828 = this->part_vals.begin(); _iter828 != this->part_vals.end(); ++_iter828) { - xfer += oprot->writeString((*_iter604)); + xfer += oprot->writeString((*_iter828)); } xfer += oprot->writeListEnd(); } @@ -10064,11 +11078,18 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_pargs::~ThriftHiveMetastore_get_partition_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -10082,10 +11103,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 _iter829; + for (_iter829 = (*(this->part_vals)).begin(); _iter829 != (*(this->part_vals)).end(); ++_iter829) { - xfer += oprot->writeString((*_iter605)); + xfer += oprot->writeString((*_iter829)); } xfer += oprot->writeListEnd(); } @@ -10093,9 +11114,15 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_result::~ThriftHiveMetastore_get_partition_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -10176,6 +11203,11 @@ uint32_t ThriftHiveMetastore_get_partition_result::write(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_get_partition_presult::~ThriftHiveMetastore_get_partition_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -10232,6 +11264,11 @@ uint32_t ThriftHiveMetastore_get_partition_presult::read(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_exchange_partition_args::~ThriftHiveMetastore_exchange_partition_args() throw() { +} + + uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -10256,17 +11293,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 _size830; + ::apache::thrift::protocol::TType _ktype831; + ::apache::thrift::protocol::TType _vtype832; + xfer += iprot->readMapBegin(_ktype831, _vtype832, _size830); + uint32_t _i834; + for (_i834 = 0; _i834 < _size830; ++_i834) { - std::string _key611; - xfer += iprot->readString(_key611); - std::string& _val612 = this->partitionSpecs[_key611]; - xfer += iprot->readString(_val612); + std::string _key835; + xfer += iprot->readString(_key835); + std::string& _val836 = this->partitionSpecs[_key835]; + xfer += iprot->readString(_val836); } xfer += iprot->readMapEnd(); } @@ -10321,16 +11358,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_exchange_partition_args"); 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 _iter837; + for (_iter837 = this->partitionSpecs.begin(); _iter837 != this->partitionSpecs.end(); ++_iter837) { - xfer += oprot->writeString(_iter613->first); - xfer += oprot->writeString(_iter613->second); + xfer += oprot->writeString(_iter837->first); + xfer += oprot->writeString(_iter837->second); } xfer += oprot->writeMapEnd(); } @@ -10354,21 +11392,28 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_exchange_partition_pargs::~ThriftHiveMetastore_exchange_partition_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_exchange_partition_pargs"); 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 _iter838; + for (_iter838 = (*(this->partitionSpecs)).begin(); _iter838 != (*(this->partitionSpecs)).end(); ++_iter838) { - xfer += oprot->writeString(_iter614->first); - xfer += oprot->writeString(_iter614->second); + xfer += oprot->writeString(_iter838->first); + xfer += oprot->writeString(_iter838->second); } xfer += oprot->writeMapEnd(); } @@ -10392,9 +11437,15 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_exchange_partition_result::~ThriftHiveMetastore_exchange_partition_result() throw() { +} + + uint32_t ThriftHiveMetastore_exchange_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -10499,6 +11550,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_result::write(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_exchange_partition_presult::~ThriftHiveMetastore_exchange_partition_presult() throw() { +} + + uint32_t ThriftHiveMetastore_exchange_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -10571,6 +11627,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_presult::read(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_get_partition_with_auth_args::~ThriftHiveMetastore_get_partition_with_auth_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -10611,14 +11672,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 _size839; + ::apache::thrift::protocol::TType _etype842; + xfer += iprot->readListBegin(_etype842, _size839); + this->part_vals.resize(_size839); + uint32_t _i843; + for (_i843 = 0; _i843 < _size839; ++_i843) { - xfer += iprot->readString(this->part_vals[_i619]); + xfer += iprot->readString(this->part_vals[_i843]); } xfer += iprot->readListEnd(); } @@ -10639,14 +11700,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 _size844; + ::apache::thrift::protocol::TType _etype847; + xfer += iprot->readListBegin(_etype847, _size844); + this->group_names.resize(_size844); + uint32_t _i848; + for (_i848 = 0; _i848 < _size844; ++_i848) { - xfer += iprot->readString(this->group_names[_i624]); + xfer += iprot->readString(this->group_names[_i848]); } xfer += iprot->readListEnd(); } @@ -10669,6 +11730,7 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_with_auth_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -10682,10 +11744,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 _iter849; + for (_iter849 = this->part_vals.begin(); _iter849 != this->part_vals.end(); ++_iter849) { - xfer += oprot->writeString((*_iter625)); + xfer += oprot->writeString((*_iter849)); } xfer += oprot->writeListEnd(); } @@ -10698,10 +11760,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 _iter850; + for (_iter850 = this->group_names.begin(); _iter850 != this->group_names.end(); ++_iter850) { - xfer += oprot->writeString((*_iter626)); + xfer += oprot->writeString((*_iter850)); } xfer += oprot->writeListEnd(); } @@ -10709,11 +11771,18 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_with_auth_pargs::~ThriftHiveMetastore_get_partition_with_auth_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_with_auth_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -10727,10 +11796,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 _iter851; + for (_iter851 = (*(this->part_vals)).begin(); _iter851 != (*(this->part_vals)).end(); ++_iter851) { - xfer += oprot->writeString((*_iter627)); + xfer += oprot->writeString((*_iter851)); } xfer += oprot->writeListEnd(); } @@ -10743,10 +11812,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 _iter852; + for (_iter852 = (*(this->group_names)).begin(); _iter852 != (*(this->group_names)).end(); ++_iter852) { - xfer += oprot->writeString((*_iter628)); + xfer += oprot->writeString((*_iter852)); } xfer += oprot->writeListEnd(); } @@ -10754,9 +11823,15 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_with_auth_result::~ThriftHiveMetastore_get_partition_with_auth_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_with_auth_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -10837,6 +11912,11 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_result::write(::apache::thr return xfer; } + +ThriftHiveMetastore_get_partition_with_auth_presult::~ThriftHiveMetastore_get_partition_with_auth_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_with_auth_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -10893,6 +11973,11 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_presult::read(::apache::thr return xfer; } + +ThriftHiveMetastore_get_partition_by_name_args::~ThriftHiveMetastore_get_partition_by_name_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -10951,6 +12036,7 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_args::read(::apache::thrift:: uint32_t ThriftHiveMetastore_get_partition_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_by_name_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -10967,11 +12053,18 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_args::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_by_name_pargs::~ThriftHiveMetastore_get_partition_by_name_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_by_name_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -10988,9 +12081,15 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_pargs::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_by_name_result::~ThriftHiveMetastore_get_partition_by_name_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_by_name_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -11071,6 +12170,11 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_result::write(::apache::thrif return xfer; } + +ThriftHiveMetastore_get_partition_by_name_presult::~ThriftHiveMetastore_get_partition_by_name_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -11127,6 +12231,11 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_presult::read(::apache::thrif return xfer; } + +ThriftHiveMetastore_get_partitions_args::~ThriftHiveMetastore_get_partitions_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -11185,6 +12294,7 @@ uint32_t ThriftHiveMetastore_get_partitions_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_get_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -11201,11 +12311,18 @@ uint32_t ThriftHiveMetastore_get_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_pargs::~ThriftHiveMetastore_get_partitions_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -11222,9 +12339,15 @@ uint32_t ThriftHiveMetastore_get_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_result::~ThriftHiveMetastore_get_partitions_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -11249,14 +12372,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 _size853; + ::apache::thrift::protocol::TType _etype856; + xfer += iprot->readListBegin(_etype856, _size853); + this->success.resize(_size853); + uint32_t _i857; + for (_i857 = 0; _i857 < _size853; ++_i857) { - xfer += this->success[_i633].read(iprot); + xfer += this->success[_i857].read(iprot); } xfer += iprot->readListEnd(); } @@ -11303,10 +12426,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 _iter858; + for (_iter858 = this->success.begin(); _iter858 != this->success.end(); ++_iter858) { - xfer += (*_iter634).write(oprot); + xfer += (*_iter858).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11325,6 +12448,11 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_get_partitions_presult::~ThriftHiveMetastore_get_partitions_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -11349,14 +12477,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 _size859; + ::apache::thrift::protocol::TType _etype862; + xfer += iprot->readListBegin(_etype862, _size859); + (*(this->success)).resize(_size859); + uint32_t _i863; + for (_i863 = 0; _i863 < _size859; ++_i863) { - xfer += (*(this->success))[_i639].read(iprot); + xfer += (*(this->success))[_i863].read(iprot); } xfer += iprot->readListEnd(); } @@ -11393,6 +12521,11 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_get_partitions_with_auth_args::~ThriftHiveMetastore_get_partitions_with_auth_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -11449,14 +12582,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 _size864; + ::apache::thrift::protocol::TType _etype867; + xfer += iprot->readListBegin(_etype867, _size864); + this->group_names.resize(_size864); + uint32_t _i868; + for (_i868 = 0; _i868 < _size864; ++_i868) { - xfer += iprot->readString(this->group_names[_i644]); + xfer += iprot->readString(this->group_names[_i868]); } xfer += iprot->readListEnd(); } @@ -11479,6 +12612,7 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_with_auth_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -11500,10 +12634,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 _iter869; + for (_iter869 = this->group_names.begin(); _iter869 != this->group_names.end(); ++_iter869) { - xfer += oprot->writeString((*_iter645)); + xfer += oprot->writeString((*_iter869)); } xfer += oprot->writeListEnd(); } @@ -11511,11 +12645,18 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_with_auth_pargs::~ThriftHiveMetastore_get_partitions_with_auth_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_with_auth_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -11537,10 +12678,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 _iter870; + for (_iter870 = (*(this->group_names)).begin(); _iter870 != (*(this->group_names)).end(); ++_iter870) { - xfer += oprot->writeString((*_iter646)); + xfer += oprot->writeString((*_iter870)); } xfer += oprot->writeListEnd(); } @@ -11548,9 +12689,15 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_with_auth_result::~ThriftHiveMetastore_get_partitions_with_auth_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -11575,14 +12722,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 _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 += this->success[_i651].read(iprot); + xfer += this->success[_i875].read(iprot); } xfer += iprot->readListEnd(); } @@ -11629,10 +12776,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 _iter876; + for (_iter876 = this->success.begin(); _iter876 != this->success.end(); ++_iter876) { - xfer += (*_iter652).write(oprot); + xfer += (*_iter876).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11651,6 +12798,11 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th return xfer; } + +ThriftHiveMetastore_get_partitions_with_auth_presult::~ThriftHiveMetastore_get_partitions_with_auth_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -11675,14 +12827,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 _size877; + ::apache::thrift::protocol::TType _etype880; + xfer += iprot->readListBegin(_etype880, _size877); + (*(this->success)).resize(_size877); + uint32_t _i881; + for (_i881 = 0; _i881 < _size877; ++_i881) { - xfer += (*(this->success))[_i657].read(iprot); + xfer += (*(this->success))[_i881].read(iprot); } xfer += iprot->readListEnd(); } @@ -11719,6 +12871,11 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th return xfer; } + +ThriftHiveMetastore_get_partitions_pspec_args::~ThriftHiveMetastore_get_partitions_pspec_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_pspec_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -11777,6 +12934,7 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_args::read(::apache::thrift::p uint32_t ThriftHiveMetastore_get_partitions_pspec_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_pspec_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -11793,11 +12951,18 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_pspec_pargs::~ThriftHiveMetastore_get_partitions_pspec_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_pspec_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_pspec_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -11814,9 +12979,15 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_pspec_result::~ThriftHiveMetastore_get_partitions_pspec_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -11841,14 +13012,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 _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 += this->success[_i662].read(iprot); + xfer += this->success[_i886].read(iprot); } xfer += iprot->readListEnd(); } @@ -11895,10 +13066,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 _iter887; + for (_iter887 = this->success.begin(); _iter887 != this->success.end(); ++_iter887) { - xfer += (*_iter663).write(oprot); + xfer += (*_iter887).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11917,6 +13088,11 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::write(::apache::thrift return xfer; } + +ThriftHiveMetastore_get_partitions_pspec_presult::~ThriftHiveMetastore_get_partitions_pspec_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -11941,14 +13117,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 _size888; + ::apache::thrift::protocol::TType _etype891; + xfer += iprot->readListBegin(_etype891, _size888); + (*(this->success)).resize(_size888); + uint32_t _i892; + for (_i892 = 0; _i892 < _size888; ++_i892) { - xfer += (*(this->success))[_i668].read(iprot); + xfer += (*(this->success))[_i892].read(iprot); } xfer += iprot->readListEnd(); } @@ -11985,6 +13161,11 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift return xfer; } + +ThriftHiveMetastore_get_partition_names_args::~ThriftHiveMetastore_get_partition_names_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_names_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -12043,6 +13224,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_args::read(::apache::thrift::pr uint32_t ThriftHiveMetastore_get_partition_names_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12059,11 +13241,18 @@ uint32_t ThriftHiveMetastore_get_partition_names_args::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_names_pargs::~ThriftHiveMetastore_get_partition_names_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_names_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12080,9 +13269,15 @@ uint32_t ThriftHiveMetastore_get_partition_names_pargs::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_names_result::~ThriftHiveMetastore_get_partition_names_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -12107,14 +13302,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 _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[_i673]); + xfer += iprot->readString(this->success[_i897]); } xfer += iprot->readListEnd(); } @@ -12153,10 +13348,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 _iter898; + for (_iter898 = this->success.begin(); _iter898 != this->success.end(); ++_iter898) { - xfer += oprot->writeString((*_iter674)); + xfer += oprot->writeString((*_iter898)); } xfer += oprot->writeListEnd(); } @@ -12171,6 +13366,11 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift: return xfer; } + +ThriftHiveMetastore_get_partition_names_presult::~ThriftHiveMetastore_get_partition_names_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -12195,14 +13395,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 _size899; + ::apache::thrift::protocol::TType _etype902; + xfer += iprot->readListBegin(_etype902, _size899); + (*(this->success)).resize(_size899); + uint32_t _i903; + for (_i903 = 0; _i903 < _size899; ++_i903) { - xfer += iprot->readString((*(this->success))[_i679]); + xfer += iprot->readString((*(this->success))[_i903]); } xfer += iprot->readListEnd(); } @@ -12231,6 +13431,11 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: return xfer; } + +ThriftHiveMetastore_get_partitions_ps_args::~ThriftHiveMetastore_get_partitions_ps_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -12271,14 +13476,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 _size904; + ::apache::thrift::protocol::TType _etype907; + xfer += iprot->readListBegin(_etype907, _size904); + this->part_vals.resize(_size904); + uint32_t _i908; + for (_i908 = 0; _i908 < _size904; ++_i908) { - xfer += iprot->readString(this->part_vals[_i684]); + xfer += iprot->readString(this->part_vals[_i908]); } xfer += iprot->readListEnd(); } @@ -12309,6 +13514,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_ps_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12322,10 +13528,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 _iter909; + for (_iter909 = this->part_vals.begin(); _iter909 != this->part_vals.end(); ++_iter909) { - xfer += oprot->writeString((*_iter685)); + xfer += oprot->writeString((*_iter909)); } xfer += oprot->writeListEnd(); } @@ -12337,11 +13543,18 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_ps_pargs::~ThriftHiveMetastore_get_partitions_ps_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_ps_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12355,10 +13568,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 _iter910; + for (_iter910 = (*(this->part_vals)).begin(); _iter910 != (*(this->part_vals)).end(); ++_iter910) { - xfer += oprot->writeString((*_iter686)); + xfer += oprot->writeString((*_iter910)); } xfer += oprot->writeListEnd(); } @@ -12370,9 +13583,15 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_ps_result::~ThriftHiveMetastore_get_partitions_ps_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -12397,14 +13616,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 _size911; + ::apache::thrift::protocol::TType _etype914; + xfer += iprot->readListBegin(_etype914, _size911); + this->success.resize(_size911); + uint32_t _i915; + for (_i915 = 0; _i915 < _size911; ++_i915) { - xfer += this->success[_i691].read(iprot); + xfer += this->success[_i915].read(iprot); } xfer += iprot->readListEnd(); } @@ -12451,10 +13670,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 _iter916; + for (_iter916 = this->success.begin(); _iter916 != this->success.end(); ++_iter916) { - xfer += (*_iter692).write(oprot); + xfer += (*_iter916).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12473,6 +13692,11 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_get_partitions_ps_presult::~ThriftHiveMetastore_get_partitions_ps_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -12497,14 +13721,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 _size917; + ::apache::thrift::protocol::TType _etype920; + xfer += iprot->readListBegin(_etype920, _size917); + (*(this->success)).resize(_size917); + uint32_t _i921; + for (_i921 = 0; _i921 < _size917; ++_i921) { - xfer += (*(this->success))[_i697].read(iprot); + xfer += (*(this->success))[_i921].read(iprot); } xfer += iprot->readListEnd(); } @@ -12541,6 +13765,11 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_get_partitions_ps_with_auth_args::~ThriftHiveMetastore_get_partitions_ps_with_auth_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -12581,14 +13810,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 _size922; + ::apache::thrift::protocol::TType _etype925; + xfer += iprot->readListBegin(_etype925, _size922); + this->part_vals.resize(_size922); + uint32_t _i926; + for (_i926 = 0; _i926 < _size922; ++_i926) { - xfer += iprot->readString(this->part_vals[_i702]); + xfer += iprot->readString(this->part_vals[_i926]); } xfer += iprot->readListEnd(); } @@ -12617,14 +13846,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 _size927; + ::apache::thrift::protocol::TType _etype930; + xfer += iprot->readListBegin(_etype930, _size927); + this->group_names.resize(_size927); + uint32_t _i931; + for (_i931 = 0; _i931 < _size927; ++_i931) { - xfer += iprot->readString(this->group_names[_i707]); + xfer += iprot->readString(this->group_names[_i931]); } xfer += iprot->readListEnd(); } @@ -12647,6 +13876,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_ps_with_auth_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12660,10 +13890,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 _iter932; + for (_iter932 = this->part_vals.begin(); _iter932 != this->part_vals.end(); ++_iter932) { - xfer += oprot->writeString((*_iter708)); + xfer += oprot->writeString((*_iter932)); } xfer += oprot->writeListEnd(); } @@ -12680,10 +13910,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 _iter933; + for (_iter933 = this->group_names.begin(); _iter933 != this->group_names.end(); ++_iter933) { - xfer += oprot->writeString((*_iter709)); + xfer += oprot->writeString((*_iter933)); } xfer += oprot->writeListEnd(); } @@ -12691,11 +13921,18 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::~ThriftHiveMetastore_get_partitions_ps_with_auth_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_ps_with_auth_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12709,10 +13946,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 _iter934; + for (_iter934 = (*(this->part_vals)).begin(); _iter934 != (*(this->part_vals)).end(); ++_iter934) { - xfer += oprot->writeString((*_iter710)); + xfer += oprot->writeString((*_iter934)); } xfer += oprot->writeListEnd(); } @@ -12729,10 +13966,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 _iter935; + for (_iter935 = (*(this->group_names)).begin(); _iter935 != (*(this->group_names)).end(); ++_iter935) { - xfer += oprot->writeString((*_iter711)); + xfer += oprot->writeString((*_iter935)); } xfer += oprot->writeListEnd(); } @@ -12740,9 +13977,15 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_ps_with_auth_result::~ThriftHiveMetastore_get_partitions_ps_with_auth_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -12767,14 +14010,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 _size936; + ::apache::thrift::protocol::TType _etype939; + xfer += iprot->readListBegin(_etype939, _size936); + this->success.resize(_size936); + uint32_t _i940; + for (_i940 = 0; _i940 < _size936; ++_i940) { - xfer += this->success[_i716].read(iprot); + xfer += this->success[_i940].read(iprot); } xfer += iprot->readListEnd(); } @@ -12821,10 +14064,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 _iter941; + for (_iter941 = this->success.begin(); _iter941 != this->success.end(); ++_iter941) { - xfer += (*_iter717).write(oprot); + xfer += (*_iter941).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12843,6 +14086,11 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache: return xfer; } + +ThriftHiveMetastore_get_partitions_ps_with_auth_presult::~ThriftHiveMetastore_get_partitions_ps_with_auth_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -12867,14 +14115,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 _size942; + ::apache::thrift::protocol::TType _etype945; + xfer += iprot->readListBegin(_etype945, _size942); + (*(this->success)).resize(_size942); + uint32_t _i946; + for (_i946 = 0; _i946 < _size942; ++_i946) { - xfer += (*(this->success))[_i722].read(iprot); + xfer += (*(this->success))[_i946].read(iprot); } xfer += iprot->readListEnd(); } @@ -12911,6 +14159,11 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: return xfer; } + +ThriftHiveMetastore_get_partition_names_ps_args::~ThriftHiveMetastore_get_partition_names_ps_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -12951,14 +14204,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 _size947; + ::apache::thrift::protocol::TType _etype950; + xfer += iprot->readListBegin(_etype950, _size947); + this->part_vals.resize(_size947); + uint32_t _i951; + for (_i951 = 0; _i951 < _size947; ++_i951) { - xfer += iprot->readString(this->part_vals[_i727]); + xfer += iprot->readString(this->part_vals[_i951]); } xfer += iprot->readListEnd(); } @@ -12989,6 +14242,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_ps_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13002,10 +14256,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 _iter952; + for (_iter952 = this->part_vals.begin(); _iter952 != this->part_vals.end(); ++_iter952) { - xfer += oprot->writeString((*_iter728)); + xfer += oprot->writeString((*_iter952)); } xfer += oprot->writeListEnd(); } @@ -13017,11 +14271,18 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_names_ps_pargs::~ThriftHiveMetastore_get_partition_names_ps_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_ps_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13035,10 +14296,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 _iter953; + for (_iter953 = (*(this->part_vals)).begin(); _iter953 != (*(this->part_vals)).end(); ++_iter953) { - xfer += oprot->writeString((*_iter729)); + xfer += oprot->writeString((*_iter953)); } xfer += oprot->writeListEnd(); } @@ -13050,9 +14311,15 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_names_ps_result::~ThriftHiveMetastore_get_partition_names_ps_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -13077,14 +14344,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 _size954; + ::apache::thrift::protocol::TType _etype957; + xfer += iprot->readListBegin(_etype957, _size954); + this->success.resize(_size954); + uint32_t _i958; + for (_i958 = 0; _i958 < _size954; ++_i958) { - xfer += iprot->readString(this->success[_i734]); + xfer += iprot->readString(this->success[_i958]); } xfer += iprot->readListEnd(); } @@ -13131,10 +14398,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 _iter959; + for (_iter959 = this->success.begin(); _iter959 != this->success.end(); ++_iter959) { - xfer += oprot->writeString((*_iter735)); + xfer += oprot->writeString((*_iter959)); } xfer += oprot->writeListEnd(); } @@ -13153,6 +14420,11 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri return xfer; } + +ThriftHiveMetastore_get_partition_names_ps_presult::~ThriftHiveMetastore_get_partition_names_ps_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -13177,14 +14449,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 _size960; + ::apache::thrift::protocol::TType _etype963; + xfer += iprot->readListBegin(_etype963, _size960); + (*(this->success)).resize(_size960); + uint32_t _i964; + for (_i964 = 0; _i964 < _size960; ++_i964) { - xfer += iprot->readString((*(this->success))[_i740]); + xfer += iprot->readString((*(this->success))[_i964]); } xfer += iprot->readListEnd(); } @@ -13221,6 +14493,11 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri return xfer; } + +ThriftHiveMetastore_get_partitions_by_filter_args::~ThriftHiveMetastore_get_partitions_by_filter_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -13287,6 +14564,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::read(::apache::thrif uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_filter_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13307,11 +14585,18 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_by_filter_pargs::~ThriftHiveMetastore_get_partitions_by_filter_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_filter_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_filter_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13332,9 +14617,15 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_by_filter_result::~ThriftHiveMetastore_get_partitions_by_filter_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -13359,14 +14650,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 _size965; + ::apache::thrift::protocol::TType _etype968; + xfer += iprot->readListBegin(_etype968, _size965); + this->success.resize(_size965); + uint32_t _i969; + for (_i969 = 0; _i969 < _size965; ++_i969) { - xfer += this->success[_i745].read(iprot); + xfer += this->success[_i969].read(iprot); } xfer += iprot->readListEnd(); } @@ -13413,10 +14704,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 _iter970; + for (_iter970 = this->success.begin(); _iter970 != this->success.end(); ++_iter970) { - xfer += (*_iter746).write(oprot); + xfer += (*_iter970).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13435,6 +14726,11 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th return xfer; } + +ThriftHiveMetastore_get_partitions_by_filter_presult::~ThriftHiveMetastore_get_partitions_by_filter_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -13459,14 +14755,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 _size971; + ::apache::thrift::protocol::TType _etype974; + xfer += iprot->readListBegin(_etype974, _size971); + (*(this->success)).resize(_size971); + uint32_t _i975; + for (_i975 = 0; _i975 < _size971; ++_i975) { - xfer += (*(this->success))[_i751].read(iprot); + xfer += (*(this->success))[_i975].read(iprot); } xfer += iprot->readListEnd(); } @@ -13503,6 +14799,11 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th return xfer; } + +ThriftHiveMetastore_get_part_specs_by_filter_args::~ThriftHiveMetastore_get_part_specs_by_filter_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_part_specs_by_filter_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -13569,6 +14870,7 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_args::read(::apache::thrif uint32_t ThriftHiveMetastore_get_part_specs_by_filter_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_part_specs_by_filter_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13589,11 +14891,18 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_part_specs_by_filter_pargs::~ThriftHiveMetastore_get_part_specs_by_filter_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_part_specs_by_filter_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_part_specs_by_filter_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13614,9 +14923,15 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_part_specs_by_filter_result::~ThriftHiveMetastore_get_part_specs_by_filter_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -13641,14 +14956,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 _size976; + ::apache::thrift::protocol::TType _etype979; + xfer += iprot->readListBegin(_etype979, _size976); + this->success.resize(_size976); + uint32_t _i980; + for (_i980 = 0; _i980 < _size976; ++_i980) { - xfer += this->success[_i756].read(iprot); + xfer += this->success[_i980].read(iprot); } xfer += iprot->readListEnd(); } @@ -13695,10 +15010,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 _iter981; + for (_iter981 = this->success.begin(); _iter981 != this->success.end(); ++_iter981) { - xfer += (*_iter757).write(oprot); + xfer += (*_iter981).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13717,6 +15032,11 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::write(::apache::th return xfer; } + +ThriftHiveMetastore_get_part_specs_by_filter_presult::~ThriftHiveMetastore_get_part_specs_by_filter_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_part_specs_by_filter_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -13741,14 +15061,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 _size982; + ::apache::thrift::protocol::TType _etype985; + xfer += iprot->readListBegin(_etype985, _size982); + (*(this->success)).resize(_size982); + uint32_t _i986; + for (_i986 = 0; _i986 < _size982; ++_i986) { - xfer += (*(this->success))[_i762].read(iprot); + xfer += (*(this->success))[_i986].read(iprot); } xfer += iprot->readListEnd(); } @@ -13785,6 +15105,11 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_presult::read(::apache::th return xfer; } + +ThriftHiveMetastore_get_partitions_by_expr_args::~ThriftHiveMetastore_get_partitions_by_expr_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_expr_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -13827,6 +15152,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_expr_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_get_partitions_by_expr_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_expr_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -13835,11 +15161,18 @@ uint32_t ThriftHiveMetastore_get_partitions_by_expr_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_by_expr_pargs::~ThriftHiveMetastore_get_partitions_by_expr_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_expr_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_expr_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -13848,9 +15181,15 @@ uint32_t ThriftHiveMetastore_get_partitions_by_expr_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_by_expr_result::~ThriftHiveMetastore_get_partitions_by_expr_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_expr_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -13931,6 +15270,11 @@ uint32_t ThriftHiveMetastore_get_partitions_by_expr_result::write(::apache::thri return xfer; } + +ThriftHiveMetastore_get_partitions_by_expr_presult::~ThriftHiveMetastore_get_partitions_by_expr_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_expr_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -13987,6 +15331,11 @@ uint32_t ThriftHiveMetastore_get_partitions_by_expr_presult::read(::apache::thri return xfer; } + +ThriftHiveMetastore_get_partitions_by_names_args::~ThriftHiveMetastore_get_partitions_by_names_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14027,14 +15376,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 _size987; + ::apache::thrift::protocol::TType _etype990; + xfer += iprot->readListBegin(_etype990, _size987); + this->names.resize(_size987); + uint32_t _i991; + for (_i991 = 0; _i991 < _size987; ++_i991) { - xfer += iprot->readString(this->names[_i767]); + xfer += iprot->readString(this->names[_i991]); } xfer += iprot->readListEnd(); } @@ -14057,6 +15406,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_names_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14070,10 +15420,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 _iter992; + for (_iter992 = this->names.begin(); _iter992 != this->names.end(); ++_iter992) { - xfer += oprot->writeString((*_iter768)); + xfer += oprot->writeString((*_iter992)); } xfer += oprot->writeListEnd(); } @@ -14081,11 +15431,18 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_by_names_pargs::~ThriftHiveMetastore_get_partitions_by_names_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_names_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14099,10 +15456,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 _iter993; + for (_iter993 = (*(this->names)).begin(); _iter993 != (*(this->names)).end(); ++_iter993) { - xfer += oprot->writeString((*_iter769)); + xfer += oprot->writeString((*_iter993)); } xfer += oprot->writeListEnd(); } @@ -14110,9 +15467,15 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_by_names_result::~ThriftHiveMetastore_get_partitions_by_names_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14137,14 +15500,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 _size994; + ::apache::thrift::protocol::TType _etype997; + xfer += iprot->readListBegin(_etype997, _size994); + this->success.resize(_size994); + uint32_t _i998; + for (_i998 = 0; _i998 < _size994; ++_i998) { - xfer += this->success[_i774].read(iprot); + xfer += this->success[_i998].read(iprot); } xfer += iprot->readListEnd(); } @@ -14191,10 +15554,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 _iter999; + for (_iter999 = this->success.begin(); _iter999 != this->success.end(); ++_iter999) { - xfer += (*_iter775).write(oprot); + xfer += (*_iter999).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14213,6 +15576,11 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr return xfer; } + +ThriftHiveMetastore_get_partitions_by_names_presult::~ThriftHiveMetastore_get_partitions_by_names_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14237,14 +15605,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 _size1000; + ::apache::thrift::protocol::TType _etype1003; + xfer += iprot->readListBegin(_etype1003, _size1000); + (*(this->success)).resize(_size1000); + uint32_t _i1004; + for (_i1004 = 0; _i1004 < _size1000; ++_i1004) { - xfer += (*(this->success))[_i780].read(iprot); + xfer += (*(this->success))[_i1004].read(iprot); } xfer += iprot->readListEnd(); } @@ -14281,6 +15649,11 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr return xfer; } + +ThriftHiveMetastore_alter_partition_args::~ThriftHiveMetastore_alter_partition_args() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14339,6 +15712,7 @@ uint32_t ThriftHiveMetastore_alter_partition_args::read(::apache::thrift::protoc uint32_t ThriftHiveMetastore_alter_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partition_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14355,11 +15729,18 @@ uint32_t ThriftHiveMetastore_alter_partition_args::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_partition_pargs::~ThriftHiveMetastore_alter_partition_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partition_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14376,9 +15757,15 @@ uint32_t ThriftHiveMetastore_alter_partition_pargs::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_partition_result::~ThriftHiveMetastore_alter_partition_result() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14447,6 +15834,11 @@ uint32_t ThriftHiveMetastore_alter_partition_result::write(::apache::thrift::pro return xfer; } + +ThriftHiveMetastore_alter_partition_presult::~ThriftHiveMetastore_alter_partition_presult() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14495,6 +15887,11 @@ uint32_t ThriftHiveMetastore_alter_partition_presult::read(::apache::thrift::pro return xfer; } + +ThriftHiveMetastore_alter_partitions_args::~ThriftHiveMetastore_alter_partitions_args() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14535,14 +15932,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 _size1005; + ::apache::thrift::protocol::TType _etype1008; + xfer += iprot->readListBegin(_etype1008, _size1005); + this->new_parts.resize(_size1005); + uint32_t _i1009; + for (_i1009 = 0; _i1009 < _size1005; ++_i1009) { - xfer += this->new_parts[_i785].read(iprot); + xfer += this->new_parts[_i1009].read(iprot); } xfer += iprot->readListEnd(); } @@ -14565,6 +15962,7 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partitions_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14578,10 +15976,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 _iter1010; + for (_iter1010 = this->new_parts.begin(); _iter1010 != this->new_parts.end(); ++_iter1010) { - xfer += (*_iter786).write(oprot); + xfer += (*_iter1010).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14589,11 +15987,18 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_partitions_pargs::~ThriftHiveMetastore_alter_partitions_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partitions_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14607,10 +16012,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 _iter1011; + for (_iter1011 = (*(this->new_parts)).begin(); _iter1011 != (*(this->new_parts)).end(); ++_iter1011) { - xfer += (*_iter787).write(oprot); + xfer += (*_iter1011).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14618,9 +16023,15 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_partitions_result::~ThriftHiveMetastore_alter_partitions_result() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partitions_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14689,6 +16100,11 @@ uint32_t ThriftHiveMetastore_alter_partitions_result::write(::apache::thrift::pr return xfer; } + +ThriftHiveMetastore_alter_partitions_presult::~ThriftHiveMetastore_alter_partitions_presult() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partitions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14737,6 +16153,11 @@ uint32_t ThriftHiveMetastore_alter_partitions_presult::read(::apache::thrift::pr return xfer; } + +ThriftHiveMetastore_alter_partition_with_environment_context_args::~ThriftHiveMetastore_alter_partition_with_environment_context_args() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14803,6 +16224,7 @@ uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_args::read uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partition_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14823,11 +16245,18 @@ uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_args::writ xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_partition_with_environment_context_pargs::~ThriftHiveMetastore_alter_partition_with_environment_context_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partition_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14848,9 +16277,15 @@ uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_pargs::wri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_partition_with_environment_context_result::~ThriftHiveMetastore_alter_partition_with_environment_context_result() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14919,6 +16354,11 @@ uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_result::wr return xfer; } + +ThriftHiveMetastore_alter_partition_with_environment_context_presult::~ThriftHiveMetastore_alter_partition_with_environment_context_presult() throw() { +} + + uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -14967,6 +16407,11 @@ uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_presult::r return xfer; } + +ThriftHiveMetastore_rename_partition_args::~ThriftHiveMetastore_rename_partition_args() throw() { +} + + uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15007,14 +16452,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 _size1012; + ::apache::thrift::protocol::TType _etype1015; + xfer += iprot->readListBegin(_etype1015, _size1012); + this->part_vals.resize(_size1012); + uint32_t _i1016; + for (_i1016 = 0; _i1016 < _size1012; ++_i1016) { - xfer += iprot->readString(this->part_vals[_i792]); + xfer += iprot->readString(this->part_vals[_i1016]); } xfer += iprot->readListEnd(); } @@ -15045,6 +16490,7 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_rename_partition_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -15058,10 +16504,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 _iter1017; + for (_iter1017 = this->part_vals.begin(); _iter1017 != this->part_vals.end(); ++_iter1017) { - xfer += oprot->writeString((*_iter793)); + xfer += oprot->writeString((*_iter1017)); } xfer += oprot->writeListEnd(); } @@ -15073,11 +16519,18 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_rename_partition_pargs::~ThriftHiveMetastore_rename_partition_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_rename_partition_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -15091,10 +16544,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 _iter1018; + for (_iter1018 = (*(this->part_vals)).begin(); _iter1018 != (*(this->part_vals)).end(); ++_iter1018) { - xfer += oprot->writeString((*_iter794)); + xfer += oprot->writeString((*_iter1018)); } xfer += oprot->writeListEnd(); } @@ -15106,9 +16559,15 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_rename_partition_result::~ThriftHiveMetastore_rename_partition_result() throw() { +} + + uint32_t ThriftHiveMetastore_rename_partition_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15177,6 +16636,11 @@ uint32_t ThriftHiveMetastore_rename_partition_result::write(::apache::thrift::pr return xfer; } + +ThriftHiveMetastore_rename_partition_presult::~ThriftHiveMetastore_rename_partition_presult() throw() { +} + + uint32_t ThriftHiveMetastore_rename_partition_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15225,6 +16689,11 @@ uint32_t ThriftHiveMetastore_rename_partition_presult::read(::apache::thrift::pr return xfer; } + +ThriftHiveMetastore_partition_name_has_valid_characters_args::~ThriftHiveMetastore_partition_name_has_valid_characters_args() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15249,14 +16718,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 _size1019; + ::apache::thrift::protocol::TType _etype1022; + xfer += iprot->readListBegin(_etype1022, _size1019); + this->part_vals.resize(_size1019); + uint32_t _i1023; + for (_i1023 = 0; _i1023 < _size1019; ++_i1023) { - xfer += iprot->readString(this->part_vals[_i799]); + xfer += iprot->readString(this->part_vals[_i1023]); } xfer += iprot->readListEnd(); } @@ -15287,15 +16756,16 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::ap uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_has_valid_characters_args"); 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 _iter1024; + for (_iter1024 = this->part_vals.begin(); _iter1024 != this->part_vals.end(); ++_iter1024) { - xfer += oprot->writeString((*_iter800)); + xfer += oprot->writeString((*_iter1024)); } xfer += oprot->writeListEnd(); } @@ -15307,20 +16777,27 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_partition_name_has_valid_characters_pargs::~ThriftHiveMetastore_partition_name_has_valid_characters_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_has_valid_characters_pargs"); 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 _iter1025; + for (_iter1025 = (*(this->part_vals)).begin(); _iter1025 != (*(this->part_vals)).end(); ++_iter1025) { - xfer += oprot->writeString((*_iter801)); + xfer += oprot->writeString((*_iter1025)); } xfer += oprot->writeListEnd(); } @@ -15332,9 +16809,15 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_partition_name_has_valid_characters_result::~ThriftHiveMetastore_partition_name_has_valid_characters_result() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15403,6 +16886,11 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_result::write(: return xfer; } + +ThriftHiveMetastore_partition_name_has_valid_characters_presult::~ThriftHiveMetastore_partition_name_has_valid_characters_presult() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15451,6 +16939,11 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_presult::read(: return xfer; } + +ThriftHiveMetastore_get_config_value_args::~ThriftHiveMetastore_get_config_value_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_config_value_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15501,6 +16994,7 @@ uint32_t ThriftHiveMetastore_get_config_value_args::read(::apache::thrift::proto uint32_t ThriftHiveMetastore_get_config_value_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_config_value_args"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -15513,11 +17007,18 @@ uint32_t ThriftHiveMetastore_get_config_value_args::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_config_value_pargs::~ThriftHiveMetastore_get_config_value_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_config_value_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_config_value_pargs"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -15530,9 +17031,15 @@ uint32_t ThriftHiveMetastore_get_config_value_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_config_value_result::~ThriftHiveMetastore_get_config_value_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_config_value_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15601,6 +17108,11 @@ uint32_t ThriftHiveMetastore_get_config_value_result::write(::apache::thrift::pr return xfer; } + +ThriftHiveMetastore_get_config_value_presult::~ThriftHiveMetastore_get_config_value_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_config_value_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15649,6 +17161,11 @@ uint32_t ThriftHiveMetastore_get_config_value_presult::read(::apache::thrift::pr return xfer; } + +ThriftHiveMetastore_partition_name_to_vals_args::~ThriftHiveMetastore_partition_name_to_vals_args() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_to_vals_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15691,6 +17208,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_partition_name_to_vals_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_vals_args"); xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1); @@ -15699,11 +17217,18 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_partition_name_to_vals_pargs::~ThriftHiveMetastore_partition_name_to_vals_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_to_vals_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_vals_pargs"); xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1); @@ -15712,9 +17237,15 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_partition_name_to_vals_result::~ThriftHiveMetastore_partition_name_to_vals_result() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15739,14 +17270,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 _size1026; + ::apache::thrift::protocol::TType _etype1029; + xfer += iprot->readListBegin(_etype1029, _size1026); + this->success.resize(_size1026); + uint32_t _i1030; + for (_i1030 = 0; _i1030 < _size1026; ++_i1030) { - xfer += iprot->readString(this->success[_i806]); + xfer += iprot->readString(this->success[_i1030]); } xfer += iprot->readListEnd(); } @@ -15785,10 +17316,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 _iter1031; + for (_iter1031 = this->success.begin(); _iter1031 != this->success.end(); ++_iter1031) { - xfer += oprot->writeString((*_iter807)); + xfer += oprot->writeString((*_iter1031)); } xfer += oprot->writeListEnd(); } @@ -15803,6 +17334,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri return xfer; } + +ThriftHiveMetastore_partition_name_to_vals_presult::~ThriftHiveMetastore_partition_name_to_vals_presult() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15827,14 +17363,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 _size1032; + ::apache::thrift::protocol::TType _etype1035; + xfer += iprot->readListBegin(_etype1035, _size1032); + (*(this->success)).resize(_size1032); + uint32_t _i1036; + for (_i1036 = 0; _i1036 < _size1032; ++_i1036) { - xfer += iprot->readString((*(this->success))[_i812]); + xfer += iprot->readString((*(this->success))[_i1036]); } xfer += iprot->readListEnd(); } @@ -15863,6 +17399,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri return xfer; } + +ThriftHiveMetastore_partition_name_to_spec_args::~ThriftHiveMetastore_partition_name_to_spec_args() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_to_spec_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15905,6 +17446,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_partition_name_to_spec_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_spec_args"); xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1); @@ -15913,11 +17455,18 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_partition_name_to_spec_pargs::~ThriftHiveMetastore_partition_name_to_spec_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_to_spec_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_spec_pargs"); xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1); @@ -15926,9 +17475,15 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_partition_name_to_spec_result::~ThriftHiveMetastore_partition_name_to_spec_result() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -15953,17 +17508,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 _size1037; + ::apache::thrift::protocol::TType _ktype1038; + ::apache::thrift::protocol::TType _vtype1039; + xfer += iprot->readMapBegin(_ktype1038, _vtype1039, _size1037); + uint32_t _i1041; + for (_i1041 = 0; _i1041 < _size1037; ++_i1041) { - std::string _key818; - xfer += iprot->readString(_key818); - std::string& _val819 = this->success[_key818]; - xfer += iprot->readString(_val819); + std::string _key1042; + xfer += iprot->readString(_key1042); + std::string& _val1043 = this->success[_key1042]; + xfer += iprot->readString(_val1043); } xfer += iprot->readMapEnd(); } @@ -16002,11 +17557,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 _iter1044; + for (_iter1044 = this->success.begin(); _iter1044 != this->success.end(); ++_iter1044) { - xfer += oprot->writeString(_iter820->first); - xfer += oprot->writeString(_iter820->second); + xfer += oprot->writeString(_iter1044->first); + xfer += oprot->writeString(_iter1044->second); } xfer += oprot->writeMapEnd(); } @@ -16021,6 +17576,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri return xfer; } + +ThriftHiveMetastore_partition_name_to_spec_presult::~ThriftHiveMetastore_partition_name_to_spec_presult() throw() { +} + + uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -16045,17 +17605,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 _size1045; + ::apache::thrift::protocol::TType _ktype1046; + ::apache::thrift::protocol::TType _vtype1047; + xfer += iprot->readMapBegin(_ktype1046, _vtype1047, _size1045); + uint32_t _i1049; + for (_i1049 = 0; _i1049 < _size1045; ++_i1049) { - std::string _key826; - xfer += iprot->readString(_key826); - std::string& _val827 = (*(this->success))[_key826]; - xfer += iprot->readString(_val827); + std::string _key1050; + xfer += iprot->readString(_key1050); + std::string& _val1051 = (*(this->success))[_key1050]; + xfer += iprot->readString(_val1051); } xfer += iprot->readMapEnd(); } @@ -16084,6 +17644,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri return xfer; } + +ThriftHiveMetastore_markPartitionForEvent_args::~ThriftHiveMetastore_markPartitionForEvent_args() throw() { +} + + uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -16124,17 +17689,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 _size1052; + ::apache::thrift::protocol::TType _ktype1053; + ::apache::thrift::protocol::TType _vtype1054; + xfer += iprot->readMapBegin(_ktype1053, _vtype1054, _size1052); + uint32_t _i1056; + for (_i1056 = 0; _i1056 < _size1052; ++_i1056) { - std::string _key833; - xfer += iprot->readString(_key833); - std::string& _val834 = this->part_vals[_key833]; - xfer += iprot->readString(_val834); + std::string _key1057; + xfer += iprot->readString(_key1057); + std::string& _val1058 = this->part_vals[_key1057]; + xfer += iprot->readString(_val1058); } xfer += iprot->readMapEnd(); } @@ -16145,9 +17710,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 ecast1059; + xfer += iprot->readI32(ecast1059); + this->eventType = (PartitionEventType::type)ecast1059; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -16167,6 +17732,7 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_markPartitionForEvent_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16180,11 +17746,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 _iter1060; + for (_iter1060 = this->part_vals.begin(); _iter1060 != this->part_vals.end(); ++_iter1060) { - xfer += oprot->writeString(_iter836->first); - xfer += oprot->writeString(_iter836->second); + xfer += oprot->writeString(_iter1060->first); + xfer += oprot->writeString(_iter1060->second); } xfer += oprot->writeMapEnd(); } @@ -16196,11 +17762,18 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_markPartitionForEvent_pargs::~ThriftHiveMetastore_markPartitionForEvent_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_markPartitionForEvent_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16214,11 +17787,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 _iter1061; + for (_iter1061 = (*(this->part_vals)).begin(); _iter1061 != (*(this->part_vals)).end(); ++_iter1061) { - xfer += oprot->writeString(_iter837->first); - xfer += oprot->writeString(_iter837->second); + xfer += oprot->writeString(_iter1061->first); + xfer += oprot->writeString(_iter1061->second); } xfer += oprot->writeMapEnd(); } @@ -16230,9 +17803,15 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_markPartitionForEvent_result::~ThriftHiveMetastore_markPartitionForEvent_result() throw() { +} + + uint32_t ThriftHiveMetastore_markPartitionForEvent_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -16349,6 +17928,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_result::write(::apache::thrif return xfer; } + +ThriftHiveMetastore_markPartitionForEvent_presult::~ThriftHiveMetastore_markPartitionForEvent_presult() throw() { +} + + uint32_t ThriftHiveMetastore_markPartitionForEvent_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -16429,6 +18013,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_presult::read(::apache::thrif return xfer; } + +ThriftHiveMetastore_isPartitionMarkedForEvent_args::~ThriftHiveMetastore_isPartitionMarkedForEvent_args() throw() { +} + + uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -16469,17 +18058,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 _size1062; + ::apache::thrift::protocol::TType _ktype1063; + ::apache::thrift::protocol::TType _vtype1064; + xfer += iprot->readMapBegin(_ktype1063, _vtype1064, _size1062); + uint32_t _i1066; + for (_i1066 = 0; _i1066 < _size1062; ++_i1066) { - std::string _key843; - xfer += iprot->readString(_key843); - std::string& _val844 = this->part_vals[_key843]; - xfer += iprot->readString(_val844); + std::string _key1067; + xfer += iprot->readString(_key1067); + std::string& _val1068 = this->part_vals[_key1067]; + xfer += iprot->readString(_val1068); } xfer += iprot->readMapEnd(); } @@ -16490,9 +18079,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 ecast1069; + xfer += iprot->readI32(ecast1069); + this->eventType = (PartitionEventType::type)ecast1069; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -16512,6 +18101,7 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_isPartitionMarkedForEvent_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16525,11 +18115,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 _iter1070; + for (_iter1070 = this->part_vals.begin(); _iter1070 != this->part_vals.end(); ++_iter1070) { - xfer += oprot->writeString(_iter846->first); - xfer += oprot->writeString(_iter846->second); + xfer += oprot->writeString(_iter1070->first); + xfer += oprot->writeString(_iter1070->second); } xfer += oprot->writeMapEnd(); } @@ -16541,11 +18131,18 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::~ThriftHiveMetastore_isPartitionMarkedForEvent_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_isPartitionMarkedForEvent_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16559,11 +18156,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 _iter1071; + for (_iter1071 = (*(this->part_vals)).begin(); _iter1071 != (*(this->part_vals)).end(); ++_iter1071) { - xfer += oprot->writeString(_iter847->first); - xfer += oprot->writeString(_iter847->second); + xfer += oprot->writeString(_iter1071->first); + xfer += oprot->writeString(_iter1071->second); } xfer += oprot->writeMapEnd(); } @@ -16575,9 +18172,15 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_isPartitionMarkedForEvent_result::~ThriftHiveMetastore_isPartitionMarkedForEvent_result() throw() { +} + + uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -16706,6 +18309,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_result::write(::apache::t return xfer; } + +ThriftHiveMetastore_isPartitionMarkedForEvent_presult::~ThriftHiveMetastore_isPartitionMarkedForEvent_presult() throw() { +} + + uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -16794,6 +18402,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_presult::read(::apache::t return xfer; } + +ThriftHiveMetastore_add_index_args::~ThriftHiveMetastore_add_index_args() throw() { +} + + uint32_t ThriftHiveMetastore_add_index_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -16844,6 +18457,7 @@ uint32_t ThriftHiveMetastore_add_index_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_add_index_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_index_args"); xfer += oprot->writeFieldBegin("new_index", ::apache::thrift::protocol::T_STRUCT, 1); @@ -16856,11 +18470,18 @@ uint32_t ThriftHiveMetastore_add_index_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_index_pargs::~ThriftHiveMetastore_add_index_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_add_index_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_index_pargs"); xfer += oprot->writeFieldBegin("new_index", ::apache::thrift::protocol::T_STRUCT, 1); @@ -16873,9 +18494,15 @@ uint32_t ThriftHiveMetastore_add_index_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_index_result::~ThriftHiveMetastore_add_index_result() throw() { +} + + uint32_t ThriftHiveMetastore_add_index_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -16968,6 +18595,11 @@ uint32_t ThriftHiveMetastore_add_index_result::write(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_add_index_presult::~ThriftHiveMetastore_add_index_presult() throw() { +} + + uint32_t ThriftHiveMetastore_add_index_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17032,6 +18664,11 @@ uint32_t ThriftHiveMetastore_add_index_presult::read(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_alter_index_args::~ThriftHiveMetastore_alter_index_args() throw() { +} + + uint32_t ThriftHiveMetastore_alter_index_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17098,6 +18735,7 @@ uint32_t ThriftHiveMetastore_alter_index_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_alter_index_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_index_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -17118,11 +18756,18 @@ uint32_t ThriftHiveMetastore_alter_index_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_index_pargs::~ThriftHiveMetastore_alter_index_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_alter_index_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_index_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -17143,9 +18788,15 @@ uint32_t ThriftHiveMetastore_alter_index_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_index_result::~ThriftHiveMetastore_alter_index_result() throw() { +} + + uint32_t ThriftHiveMetastore_alter_index_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17214,6 +18865,11 @@ uint32_t ThriftHiveMetastore_alter_index_result::write(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_alter_index_presult::~ThriftHiveMetastore_alter_index_presult() throw() { +} + + uint32_t ThriftHiveMetastore_alter_index_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17262,6 +18918,11 @@ uint32_t ThriftHiveMetastore_alter_index_presult::read(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_drop_index_by_name_args::~ThriftHiveMetastore_drop_index_by_name_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_index_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17328,6 +18989,7 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_drop_index_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_index_by_name_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -17348,11 +19010,18 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_args::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_index_by_name_pargs::~ThriftHiveMetastore_drop_index_by_name_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_index_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_index_by_name_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -17373,9 +19042,15 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_pargs::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_index_by_name_result::~ThriftHiveMetastore_drop_index_by_name_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_index_by_name_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17456,6 +19131,11 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_result::write(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_drop_index_by_name_presult::~ThriftHiveMetastore_drop_index_by_name_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_index_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17512,6 +19192,11 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_presult::read(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_get_index_by_name_args::~ThriftHiveMetastore_get_index_by_name_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_index_by_name_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17570,6 +19255,7 @@ uint32_t ThriftHiveMetastore_get_index_by_name_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_get_index_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_by_name_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -17586,11 +19272,18 @@ uint32_t ThriftHiveMetastore_get_index_by_name_args::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_index_by_name_pargs::~ThriftHiveMetastore_get_index_by_name_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_index_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_by_name_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -17607,9 +19300,15 @@ uint32_t ThriftHiveMetastore_get_index_by_name_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_index_by_name_result::~ThriftHiveMetastore_get_index_by_name_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_index_by_name_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17690,6 +19389,11 @@ uint32_t ThriftHiveMetastore_get_index_by_name_result::write(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_get_index_by_name_presult::~ThriftHiveMetastore_get_index_by_name_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_index_by_name_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17746,6 +19450,11 @@ uint32_t ThriftHiveMetastore_get_index_by_name_presult::read(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_get_indexes_args::~ThriftHiveMetastore_get_indexes_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_indexes_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17804,6 +19513,7 @@ uint32_t ThriftHiveMetastore_get_indexes_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_get_indexes_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_indexes_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -17820,11 +19530,18 @@ uint32_t ThriftHiveMetastore_get_indexes_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_indexes_pargs::~ThriftHiveMetastore_get_indexes_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_indexes_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_indexes_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -17841,9 +19558,15 @@ uint32_t ThriftHiveMetastore_get_indexes_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_indexes_result::~ThriftHiveMetastore_get_indexes_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17868,14 +19591,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 _size1072; + ::apache::thrift::protocol::TType _etype1075; + xfer += iprot->readListBegin(_etype1075, _size1072); + this->success.resize(_size1072); + uint32_t _i1076; + for (_i1076 = 0; _i1076 < _size1072; ++_i1076) { - xfer += this->success[_i852].read(iprot); + xfer += this->success[_i1076].read(iprot); } xfer += iprot->readListEnd(); } @@ -17922,10 +19645,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 _iter1077; + for (_iter1077 = this->success.begin(); _iter1077 != this->success.end(); ++_iter1077) { - xfer += (*_iter853).write(oprot); + xfer += (*_iter1077).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17944,6 +19667,11 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_get_indexes_presult::~ThriftHiveMetastore_get_indexes_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -17968,14 +19696,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 _size1078; + ::apache::thrift::protocol::TType _etype1081; + xfer += iprot->readListBegin(_etype1081, _size1078); + (*(this->success)).resize(_size1078); + uint32_t _i1082; + for (_i1082 = 0; _i1082 < _size1078; ++_i1082) { - xfer += (*(this->success))[_i858].read(iprot); + xfer += (*(this->success))[_i1082].read(iprot); } xfer += iprot->readListEnd(); } @@ -18012,6 +19740,11 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_get_index_names_args::~ThriftHiveMetastore_get_index_names_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_index_names_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -18070,6 +19803,7 @@ uint32_t ThriftHiveMetastore_get_index_names_args::read(::apache::thrift::protoc uint32_t ThriftHiveMetastore_get_index_names_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_names_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -18086,11 +19820,18 @@ uint32_t ThriftHiveMetastore_get_index_names_args::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_index_names_pargs::~ThriftHiveMetastore_get_index_names_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_index_names_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_names_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -18107,9 +19848,15 @@ uint32_t ThriftHiveMetastore_get_index_names_pargs::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_index_names_result::~ThriftHiveMetastore_get_index_names_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -18134,14 +19881,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 _size1083; + ::apache::thrift::protocol::TType _etype1086; + xfer += iprot->readListBegin(_etype1086, _size1083); + this->success.resize(_size1083); + uint32_t _i1087; + for (_i1087 = 0; _i1087 < _size1083; ++_i1087) { - xfer += iprot->readString(this->success[_i863]); + xfer += iprot->readString(this->success[_i1087]); } xfer += iprot->readListEnd(); } @@ -18180,10 +19927,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 _iter1088; + for (_iter1088 = this->success.begin(); _iter1088 != this->success.end(); ++_iter1088) { - xfer += oprot->writeString((*_iter864)); + xfer += oprot->writeString((*_iter1088)); } xfer += oprot->writeListEnd(); } @@ -18198,6 +19945,11 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::pro return xfer; } + +ThriftHiveMetastore_get_index_names_presult::~ThriftHiveMetastore_get_index_names_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -18222,14 +19974,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 _size1089; + ::apache::thrift::protocol::TType _etype1092; + xfer += iprot->readListBegin(_etype1092, _size1089); + (*(this->success)).resize(_size1089); + uint32_t _i1093; + for (_i1093 = 0; _i1093 < _size1089; ++_i1093) { - xfer += iprot->readString((*(this->success))[_i869]); + xfer += iprot->readString((*(this->success))[_i1093]); } xfer += iprot->readListEnd(); } @@ -18258,6 +20010,11 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro return xfer; } + +ThriftHiveMetastore_update_table_column_statistics_args::~ThriftHiveMetastore_update_table_column_statistics_args() throw() { +} + + uint32_t ThriftHiveMetastore_update_table_column_statistics_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -18300,6 +20057,7 @@ uint32_t ThriftHiveMetastore_update_table_column_statistics_args::read(::apache: uint32_t ThriftHiveMetastore_update_table_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_update_table_column_statistics_args"); xfer += oprot->writeFieldBegin("stats_obj", ::apache::thrift::protocol::T_STRUCT, 1); @@ -18308,11 +20066,18 @@ uint32_t ThriftHiveMetastore_update_table_column_statistics_args::write(::apache xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_update_table_column_statistics_pargs::~ThriftHiveMetastore_update_table_column_statistics_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_update_table_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_update_table_column_statistics_pargs"); xfer += oprot->writeFieldBegin("stats_obj", ::apache::thrift::protocol::T_STRUCT, 1); @@ -18321,9 +20086,15 @@ uint32_t ThriftHiveMetastore_update_table_column_statistics_pargs::write(::apach xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_update_table_column_statistics_result::~ThriftHiveMetastore_update_table_column_statistics_result() throw() { +} + + uint32_t ThriftHiveMetastore_update_table_column_statistics_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -18428,6 +20199,11 @@ uint32_t ThriftHiveMetastore_update_table_column_statistics_result::write(::apac return xfer; } + +ThriftHiveMetastore_update_table_column_statistics_presult::~ThriftHiveMetastore_update_table_column_statistics_presult() throw() { +} + + uint32_t ThriftHiveMetastore_update_table_column_statistics_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -18500,6 +20276,11 @@ uint32_t ThriftHiveMetastore_update_table_column_statistics_presult::read(::apac return xfer; } + +ThriftHiveMetastore_update_partition_column_statistics_args::~ThriftHiveMetastore_update_partition_column_statistics_args() throw() { +} + + uint32_t ThriftHiveMetastore_update_partition_column_statistics_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -18542,6 +20323,7 @@ uint32_t ThriftHiveMetastore_update_partition_column_statistics_args::read(::apa uint32_t ThriftHiveMetastore_update_partition_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_update_partition_column_statistics_args"); xfer += oprot->writeFieldBegin("stats_obj", ::apache::thrift::protocol::T_STRUCT, 1); @@ -18550,11 +20332,18 @@ uint32_t ThriftHiveMetastore_update_partition_column_statistics_args::write(::ap xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_update_partition_column_statistics_pargs::~ThriftHiveMetastore_update_partition_column_statistics_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_update_partition_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_update_partition_column_statistics_pargs"); xfer += oprot->writeFieldBegin("stats_obj", ::apache::thrift::protocol::T_STRUCT, 1); @@ -18563,9 +20352,15 @@ uint32_t ThriftHiveMetastore_update_partition_column_statistics_pargs::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_update_partition_column_statistics_result::~ThriftHiveMetastore_update_partition_column_statistics_result() throw() { +} + + uint32_t ThriftHiveMetastore_update_partition_column_statistics_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -18670,6 +20465,11 @@ uint32_t ThriftHiveMetastore_update_partition_column_statistics_result::write(:: return xfer; } + +ThriftHiveMetastore_update_partition_column_statistics_presult::~ThriftHiveMetastore_update_partition_column_statistics_presult() throw() { +} + + uint32_t ThriftHiveMetastore_update_partition_column_statistics_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -18742,6 +20542,11 @@ uint32_t ThriftHiveMetastore_update_partition_column_statistics_presult::read(:: return xfer; } + +ThriftHiveMetastore_get_table_column_statistics_args::~ThriftHiveMetastore_get_table_column_statistics_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_column_statistics_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -18800,6 +20605,7 @@ uint32_t ThriftHiveMetastore_get_table_column_statistics_args::read(::apache::th uint32_t ThriftHiveMetastore_get_table_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_column_statistics_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -18816,11 +20622,18 @@ uint32_t ThriftHiveMetastore_get_table_column_statistics_args::write(::apache::t xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_table_column_statistics_pargs::~ThriftHiveMetastore_get_table_column_statistics_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_column_statistics_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -18837,9 +20650,15 @@ uint32_t ThriftHiveMetastore_get_table_column_statistics_pargs::write(::apache:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_table_column_statistics_result::~ThriftHiveMetastore_get_table_column_statistics_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_column_statistics_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -18944,6 +20763,11 @@ uint32_t ThriftHiveMetastore_get_table_column_statistics_result::write(::apache: return xfer; } + +ThriftHiveMetastore_get_table_column_statistics_presult::~ThriftHiveMetastore_get_table_column_statistics_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_column_statistics_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19016,6 +20840,11 @@ uint32_t ThriftHiveMetastore_get_table_column_statistics_presult::read(::apache: return xfer; } + +ThriftHiveMetastore_get_partition_column_statistics_args::~ThriftHiveMetastore_get_partition_column_statistics_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_column_statistics_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19082,6 +20911,7 @@ uint32_t ThriftHiveMetastore_get_partition_column_statistics_args::read(::apache uint32_t ThriftHiveMetastore_get_partition_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_column_statistics_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -19102,11 +20932,18 @@ uint32_t ThriftHiveMetastore_get_partition_column_statistics_args::write(::apach xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_column_statistics_pargs::~ThriftHiveMetastore_get_partition_column_statistics_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_column_statistics_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -19127,9 +20964,15 @@ uint32_t ThriftHiveMetastore_get_partition_column_statistics_pargs::write(::apac xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partition_column_statistics_result::~ThriftHiveMetastore_get_partition_column_statistics_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_column_statistics_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19234,6 +21077,11 @@ uint32_t ThriftHiveMetastore_get_partition_column_statistics_result::write(::apa return xfer; } + +ThriftHiveMetastore_get_partition_column_statistics_presult::~ThriftHiveMetastore_get_partition_column_statistics_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partition_column_statistics_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19306,6 +21154,11 @@ uint32_t ThriftHiveMetastore_get_partition_column_statistics_presult::read(::apa return xfer; } + +ThriftHiveMetastore_get_table_statistics_req_args::~ThriftHiveMetastore_get_table_statistics_req_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_statistics_req_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19348,6 +21201,7 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_args::read(::apache::thrif uint32_t ThriftHiveMetastore_get_table_statistics_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -19356,11 +21210,18 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_table_statistics_req_pargs::~ThriftHiveMetastore_get_table_statistics_req_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_statistics_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -19369,9 +21230,15 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_table_statistics_req_result::~ThriftHiveMetastore_get_table_statistics_req_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_table_statistics_req_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19394,7 +21261,92 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_result::read(::apache::thr { case 0: if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); + 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; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = 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_table_statistics_req_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_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(); + } else if (this->__isset.o2) { + xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->o2.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_table_statistics_req_presult::~ThriftHiveMetastore_get_table_statistics_req_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_get_table_statistics_req_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); @@ -19428,85 +21380,10 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_result::read(::apache::thr return xfer; } -uint32_t ThriftHiveMetastore_get_table_statistics_req_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_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(); - } else if (this->__isset.o2) { - xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->o2.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; +ThriftHiveMetastore_get_partitions_statistics_req_args::~ThriftHiveMetastore_get_partitions_statistics_req_args() throw() { } -uint32_t ThriftHiveMetastore_get_table_statistics_req_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; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o2.read(iprot); - this->__isset.o2 = 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_partitions_statistics_req_args::read(::apache::thrift::protocol::TProtocol* iprot) { @@ -19550,6 +21427,7 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_args::read(::apache:: uint32_t ThriftHiveMetastore_get_partitions_statistics_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_statistics_req_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -19558,11 +21436,18 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_args::write(::apache: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_statistics_req_pargs::~ThriftHiveMetastore_get_partitions_statistics_req_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_statistics_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_statistics_req_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -19571,9 +21456,15 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_pargs::write(::apache xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_partitions_statistics_req_result::~ThriftHiveMetastore_get_partitions_statistics_req_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_statistics_req_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19654,6 +21545,11 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_result::write(::apach return xfer; } + +ThriftHiveMetastore_get_partitions_statistics_req_presult::~ThriftHiveMetastore_get_partitions_statistics_req_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_partitions_statistics_req_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19710,6 +21606,11 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_presult::read(::apach return xfer; } + +ThriftHiveMetastore_get_aggr_stats_for_args::~ThriftHiveMetastore_get_aggr_stats_for_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19752,6 +21653,7 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_aggr_stats_for_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -19760,11 +21662,18 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_aggr_stats_for_pargs::~ThriftHiveMetastore_get_aggr_stats_for_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_aggr_stats_for_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_aggr_stats_for_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -19773,9 +21682,15 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_pargs::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_aggr_stats_for_result::~ThriftHiveMetastore_get_aggr_stats_for_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_aggr_stats_for_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19856,6 +21771,11 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_result::write(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_get_aggr_stats_for_presult::~ThriftHiveMetastore_get_aggr_stats_for_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_aggr_stats_for_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19912,6 +21832,11 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_presult::read(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_set_aggr_stats_for_args::~ThriftHiveMetastore_set_aggr_stats_for_args() throw() { +} + + uint32_t ThriftHiveMetastore_set_aggr_stats_for_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19954,6 +21879,7 @@ uint32_t ThriftHiveMetastore_set_aggr_stats_for_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_set_aggr_stats_for_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_set_aggr_stats_for_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -19962,11 +21888,18 @@ uint32_t ThriftHiveMetastore_set_aggr_stats_for_args::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_set_aggr_stats_for_pargs::~ThriftHiveMetastore_set_aggr_stats_for_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_set_aggr_stats_for_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_set_aggr_stats_for_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -19975,9 +21908,15 @@ uint32_t ThriftHiveMetastore_set_aggr_stats_for_pargs::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_set_aggr_stats_for_result::~ThriftHiveMetastore_set_aggr_stats_for_result() throw() { +} + + uint32_t ThriftHiveMetastore_set_aggr_stats_for_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -20082,6 +22021,11 @@ uint32_t ThriftHiveMetastore_set_aggr_stats_for_result::write(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_set_aggr_stats_for_presult::~ThriftHiveMetastore_set_aggr_stats_for_presult() throw() { +} + + uint32_t ThriftHiveMetastore_set_aggr_stats_for_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -20154,6 +22098,11 @@ uint32_t ThriftHiveMetastore_set_aggr_stats_for_presult::read(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_delete_partition_column_statistics_args::~ThriftHiveMetastore_delete_partition_column_statistics_args() throw() { +} + + uint32_t ThriftHiveMetastore_delete_partition_column_statistics_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -20220,6 +22169,7 @@ uint32_t ThriftHiveMetastore_delete_partition_column_statistics_args::read(::apa uint32_t ThriftHiveMetastore_delete_partition_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_delete_partition_column_statistics_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -20240,11 +22190,18 @@ uint32_t ThriftHiveMetastore_delete_partition_column_statistics_args::write(::ap xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_delete_partition_column_statistics_pargs::~ThriftHiveMetastore_delete_partition_column_statistics_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_delete_partition_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_delete_partition_column_statistics_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -20265,9 +22222,15 @@ uint32_t ThriftHiveMetastore_delete_partition_column_statistics_pargs::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_delete_partition_column_statistics_result::~ThriftHiveMetastore_delete_partition_column_statistics_result() throw() { +} + + uint32_t ThriftHiveMetastore_delete_partition_column_statistics_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -20372,6 +22335,11 @@ uint32_t ThriftHiveMetastore_delete_partition_column_statistics_result::write(:: return xfer; } + +ThriftHiveMetastore_delete_partition_column_statistics_presult::~ThriftHiveMetastore_delete_partition_column_statistics_presult() throw() { +} + + uint32_t ThriftHiveMetastore_delete_partition_column_statistics_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -20444,6 +22412,11 @@ uint32_t ThriftHiveMetastore_delete_partition_column_statistics_presult::read(:: return xfer; } + +ThriftHiveMetastore_delete_table_column_statistics_args::~ThriftHiveMetastore_delete_table_column_statistics_args() throw() { +} + + uint32_t ThriftHiveMetastore_delete_table_column_statistics_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -20502,6 +22475,7 @@ uint32_t ThriftHiveMetastore_delete_table_column_statistics_args::read(::apache: uint32_t ThriftHiveMetastore_delete_table_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_delete_table_column_statistics_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -20518,11 +22492,18 @@ uint32_t ThriftHiveMetastore_delete_table_column_statistics_args::write(::apache xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_delete_table_column_statistics_pargs::~ThriftHiveMetastore_delete_table_column_statistics_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_delete_table_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_delete_table_column_statistics_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -20539,9 +22520,15 @@ uint32_t ThriftHiveMetastore_delete_table_column_statistics_pargs::write(::apach xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_delete_table_column_statistics_result::~ThriftHiveMetastore_delete_table_column_statistics_result() throw() { +} + + uint32_t ThriftHiveMetastore_delete_table_column_statistics_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -20564,7 +22551,116 @@ uint32_t ThriftHiveMetastore_delete_table_column_statistics_result::read(::apach { case 0: if (ftype == ::apache::thrift::protocol::T_BOOL) { - xfer += iprot->readBool(this->success); + xfer += iprot->readBool(this->success); + 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; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o3.read(iprot); + this->__isset.o3 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o4.read(iprot); + this->__isset.o4 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_delete_table_column_statistics_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_delete_table_column_statistics_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0); + xfer += oprot->writeBool(this->success); + 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(); + } else if (this->__isset.o2) { + xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->o2.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o3) { + xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->o3.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o4) { + xfer += oprot->writeFieldBegin("o4", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->o4.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_delete_table_column_statistics_presult::~ThriftHiveMetastore_delete_table_column_statistics_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_delete_table_column_statistics_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_BOOL) { + xfer += iprot->readBool((*(this->success))); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -20614,109 +22710,10 @@ uint32_t ThriftHiveMetastore_delete_table_column_statistics_result::read(::apach return xfer; } -uint32_t ThriftHiveMetastore_delete_table_column_statistics_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_delete_table_column_statistics_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0); - xfer += oprot->writeBool(this->success); - 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(); - } else if (this->__isset.o2) { - xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->o2.write(oprot); - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.o3) { - xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->o3.write(oprot); - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.o4) { - xfer += oprot->writeFieldBegin("o4", ::apache::thrift::protocol::T_STRUCT, 4); - xfer += this->o4.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; +ThriftHiveMetastore_create_function_args::~ThriftHiveMetastore_create_function_args() throw() { } -uint32_t ThriftHiveMetastore_delete_table_column_statistics_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_BOOL) { - xfer += iprot->readBool((*(this->success))); - 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; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o2.read(iprot); - this->__isset.o2 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o3.read(iprot); - this->__isset.o3 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o4.read(iprot); - this->__isset.o4 = 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_function_args::read(::apache::thrift::protocol::TProtocol* iprot) { @@ -20760,6 +22757,7 @@ uint32_t ThriftHiveMetastore_create_function_args::read(::apache::thrift::protoc uint32_t ThriftHiveMetastore_create_function_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_function_args"); xfer += oprot->writeFieldBegin("func", ::apache::thrift::protocol::T_STRUCT, 1); @@ -20768,11 +22766,18 @@ uint32_t ThriftHiveMetastore_create_function_args::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_function_pargs::~ThriftHiveMetastore_create_function_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_create_function_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_function_pargs"); xfer += oprot->writeFieldBegin("func", ::apache::thrift::protocol::T_STRUCT, 1); @@ -20781,9 +22786,15 @@ uint32_t ThriftHiveMetastore_create_function_pargs::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_function_result::~ThriftHiveMetastore_create_function_result() throw() { +} + + uint32_t ThriftHiveMetastore_create_function_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -20876,6 +22887,11 @@ uint32_t ThriftHiveMetastore_create_function_result::write(::apache::thrift::pro return xfer; } + +ThriftHiveMetastore_create_function_presult::~ThriftHiveMetastore_create_function_presult() throw() { +} + + uint32_t ThriftHiveMetastore_create_function_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -20940,6 +22956,11 @@ uint32_t ThriftHiveMetastore_create_function_presult::read(::apache::thrift::pro return xfer; } + +ThriftHiveMetastore_drop_function_args::~ThriftHiveMetastore_drop_function_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_function_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -20990,6 +23011,7 @@ uint32_t ThriftHiveMetastore_drop_function_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_drop_function_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_function_args"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -21002,11 +23024,18 @@ uint32_t ThriftHiveMetastore_drop_function_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_function_pargs::~ThriftHiveMetastore_drop_function_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_function_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_function_pargs"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -21019,9 +23048,15 @@ uint32_t ThriftHiveMetastore_drop_function_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_function_result::~ThriftHiveMetastore_drop_function_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_function_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21090,6 +23125,11 @@ uint32_t ThriftHiveMetastore_drop_function_result::write(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_drop_function_presult::~ThriftHiveMetastore_drop_function_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_function_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21138,6 +23178,11 @@ uint32_t ThriftHiveMetastore_drop_function_presult::read(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_alter_function_args::~ThriftHiveMetastore_alter_function_args() throw() { +} + + uint32_t ThriftHiveMetastore_alter_function_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21196,6 +23241,7 @@ uint32_t ThriftHiveMetastore_alter_function_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_alter_function_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_function_args"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -21212,11 +23258,18 @@ uint32_t ThriftHiveMetastore_alter_function_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_function_pargs::~ThriftHiveMetastore_alter_function_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_alter_function_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_function_pargs"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -21233,9 +23286,15 @@ uint32_t ThriftHiveMetastore_alter_function_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_alter_function_result::~ThriftHiveMetastore_alter_function_result() throw() { +} + + uint32_t ThriftHiveMetastore_alter_function_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21304,6 +23363,11 @@ uint32_t ThriftHiveMetastore_alter_function_result::write(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_alter_function_presult::~ThriftHiveMetastore_alter_function_presult() throw() { +} + + uint32_t ThriftHiveMetastore_alter_function_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21352,6 +23416,11 @@ uint32_t ThriftHiveMetastore_alter_function_presult::read(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_get_functions_args::~ThriftHiveMetastore_get_functions_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_functions_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21402,6 +23471,7 @@ uint32_t ThriftHiveMetastore_get_functions_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_get_functions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_functions_args"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -21414,11 +23484,18 @@ uint32_t ThriftHiveMetastore_get_functions_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_functions_pargs::~ThriftHiveMetastore_get_functions_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_functions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_functions_pargs"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -21431,9 +23508,15 @@ uint32_t ThriftHiveMetastore_get_functions_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_functions_result::~ThriftHiveMetastore_get_functions_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21458,14 +23541,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 _size1094; + ::apache::thrift::protocol::TType _etype1097; + xfer += iprot->readListBegin(_etype1097, _size1094); + this->success.resize(_size1094); + uint32_t _i1098; + for (_i1098 = 0; _i1098 < _size1094; ++_i1098) { - xfer += iprot->readString(this->success[_i874]); + xfer += iprot->readString(this->success[_i1098]); } xfer += iprot->readListEnd(); } @@ -21504,10 +23587,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 _iter1099; + for (_iter1099 = this->success.begin(); _iter1099 != this->success.end(); ++_iter1099) { - xfer += oprot->writeString((*_iter875)); + xfer += oprot->writeString((*_iter1099)); } xfer += oprot->writeListEnd(); } @@ -21522,6 +23605,11 @@ uint32_t ThriftHiveMetastore_get_functions_result::write(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_get_functions_presult::~ThriftHiveMetastore_get_functions_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21546,14 +23634,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 _size1100; + ::apache::thrift::protocol::TType _etype1103; + xfer += iprot->readListBegin(_etype1103, _size1100); + (*(this->success)).resize(_size1100); + uint32_t _i1104; + for (_i1104 = 0; _i1104 < _size1100; ++_i1104) { - xfer += iprot->readString((*(this->success))[_i880]); + xfer += iprot->readString((*(this->success))[_i1104]); } xfer += iprot->readListEnd(); } @@ -21582,6 +23670,11 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_get_function_args::~ThriftHiveMetastore_get_function_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_function_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21632,6 +23725,7 @@ uint32_t ThriftHiveMetastore_get_function_args::read(::apache::thrift::protocol: uint32_t ThriftHiveMetastore_get_function_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_function_args"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -21644,11 +23738,18 @@ uint32_t ThriftHiveMetastore_get_function_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_function_pargs::~ThriftHiveMetastore_get_function_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_function_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_function_pargs"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -21661,9 +23762,15 @@ uint32_t ThriftHiveMetastore_get_function_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_function_result::~ThriftHiveMetastore_get_function_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_function_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21686,7 +23793,92 @@ uint32_t ThriftHiveMetastore_get_function_result::read(::apache::thrift::protoco { case 0: if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); + 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; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = 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_function_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_function_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(); + } else if (this->__isset.o2) { + xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->o2.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_function_presult::~ThriftHiveMetastore_get_function_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_get_function_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); @@ -21720,11 +23912,123 @@ uint32_t ThriftHiveMetastore_get_function_result::read(::apache::thrift::protoco return xfer; } -uint32_t ThriftHiveMetastore_get_function_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + +ThriftHiveMetastore_get_all_functions_args::~ThriftHiveMetastore_get_all_functions_args() throw() { +} + + +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 += oprot->writeStructBegin("ThriftHiveMetastore_get_function_result"); + 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; + oprot->incrementRecursionDepth(); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_functions_args"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); + return xfer; +} + + +ThriftHiveMetastore_get_all_functions_pargs::~ThriftHiveMetastore_get_all_functions_pargs() throw() { +} + + +uint32_t ThriftHiveMetastore_get_all_functions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + oprot->incrementRecursionDepth(); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_functions_pargs"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); + return xfer; +} + + +ThriftHiveMetastore_get_all_functions_result::~ThriftHiveMetastore_get_all_functions_result() throw() { +} + + +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); @@ -21734,17 +24038,18 @@ uint32_t ThriftHiveMetastore_get_function_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->o1.write(oprot); xfer += oprot->writeFieldEnd(); - } else if (this->__isset.o2) { - xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->o2.write(oprot); - xfer += oprot->writeFieldEnd(); } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -uint32_t ThriftHiveMetastore_get_function_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + +ThriftHiveMetastore_get_all_functions_presult::~ThriftHiveMetastore_get_all_functions_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_get_all_functions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -21780,14 +24085,6 @@ uint32_t ThriftHiveMetastore_get_function_presult::read(::apache::thrift::protoc xfer += iprot->skip(ftype); } break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o2.read(iprot); - this->__isset.o2 = true; - } else { - xfer += iprot->skip(ftype); - } - break; default: xfer += iprot->skip(ftype); break; @@ -21800,6 +24097,11 @@ uint32_t ThriftHiveMetastore_get_function_presult::read(::apache::thrift::protoc return xfer; } + +ThriftHiveMetastore_create_role_args::~ThriftHiveMetastore_create_role_args() throw() { +} + + uint32_t ThriftHiveMetastore_create_role_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21842,6 +24144,7 @@ uint32_t ThriftHiveMetastore_create_role_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_create_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_role_args"); xfer += oprot->writeFieldBegin("role", ::apache::thrift::protocol::T_STRUCT, 1); @@ -21850,11 +24153,18 @@ uint32_t ThriftHiveMetastore_create_role_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_role_pargs::~ThriftHiveMetastore_create_role_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_create_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_role_pargs"); xfer += oprot->writeFieldBegin("role", ::apache::thrift::protocol::T_STRUCT, 1); @@ -21863,9 +24173,15 @@ uint32_t ThriftHiveMetastore_create_role_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_create_role_result::~ThriftHiveMetastore_create_role_result() throw() { +} + + uint32_t ThriftHiveMetastore_create_role_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21934,6 +24250,11 @@ uint32_t ThriftHiveMetastore_create_role_result::write(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_create_role_presult::~ThriftHiveMetastore_create_role_presult() throw() { +} + + uint32_t ThriftHiveMetastore_create_role_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -21982,6 +24303,11 @@ uint32_t ThriftHiveMetastore_create_role_presult::read(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_drop_role_args::~ThriftHiveMetastore_drop_role_args() throw() { +} + + uint32_t ThriftHiveMetastore_drop_role_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22024,6 +24350,7 @@ uint32_t ThriftHiveMetastore_drop_role_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_drop_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_role_args"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22032,11 +24359,18 @@ uint32_t ThriftHiveMetastore_drop_role_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_role_pargs::~ThriftHiveMetastore_drop_role_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_drop_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_role_pargs"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22045,9 +24379,15 @@ uint32_t ThriftHiveMetastore_drop_role_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_drop_role_result::~ThriftHiveMetastore_drop_role_result() throw() { +} + + uint32_t ThriftHiveMetastore_drop_role_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22116,6 +24456,11 @@ uint32_t ThriftHiveMetastore_drop_role_result::write(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_drop_role_presult::~ThriftHiveMetastore_drop_role_presult() throw() { +} + + uint32_t ThriftHiveMetastore_drop_role_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22164,6 +24509,11 @@ uint32_t ThriftHiveMetastore_drop_role_presult::read(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_get_role_names_args::~ThriftHiveMetastore_get_role_names_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_role_names_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22193,22 +24543,36 @@ uint32_t ThriftHiveMetastore_get_role_names_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_get_role_names_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_role_names_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_role_names_pargs::~ThriftHiveMetastore_get_role_names_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_role_names_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_role_names_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_role_names_result::~ThriftHiveMetastore_get_role_names_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22233,14 +24597,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 _size1105; + ::apache::thrift::protocol::TType _etype1108; + xfer += iprot->readListBegin(_etype1108, _size1105); + this->success.resize(_size1105); + uint32_t _i1109; + for (_i1109 = 0; _i1109 < _size1105; ++_i1109) { - xfer += iprot->readString(this->success[_i885]); + xfer += iprot->readString(this->success[_i1109]); } xfer += iprot->readListEnd(); } @@ -22279,10 +24643,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 _iter1110; + for (_iter1110 = this->success.begin(); _iter1110 != this->success.end(); ++_iter1110) { - xfer += oprot->writeString((*_iter886)); + xfer += oprot->writeString((*_iter1110)); } xfer += oprot->writeListEnd(); } @@ -22297,6 +24661,11 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_get_role_names_presult::~ThriftHiveMetastore_get_role_names_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22321,14 +24690,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 _size1111; + ::apache::thrift::protocol::TType _etype1114; + xfer += iprot->readListBegin(_etype1114, _size1111); + (*(this->success)).resize(_size1111); + uint32_t _i1115; + for (_i1115 = 0; _i1115 < _size1111; ++_i1115) { - xfer += iprot->readString((*(this->success))[_i891]); + xfer += iprot->readString((*(this->success))[_i1115]); } xfer += iprot->readListEnd(); } @@ -22357,6 +24726,11 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot return xfer; } + +ThriftHiveMetastore_grant_role_args::~ThriftHiveMetastore_grant_role_args() throw() { +} + + uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22395,9 +24769,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 ecast1116; + xfer += iprot->readI32(ecast1116); + this->principal_type = (PrincipalType::type)ecast1116; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22413,9 +24787,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 ecast1117; + xfer += iprot->readI32(ecast1117); + this->grantorType = (PrincipalType::type)ecast1117; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -22443,6 +24817,7 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_grant_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_role_args"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22471,11 +24846,18 @@ uint32_t ThriftHiveMetastore_grant_role_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_grant_role_pargs::~ThriftHiveMetastore_grant_role_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_grant_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_role_pargs"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22504,9 +24886,15 @@ uint32_t ThriftHiveMetastore_grant_role_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_grant_role_result::~ThriftHiveMetastore_grant_role_result() throw() { +} + + uint32_t ThriftHiveMetastore_grant_role_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22575,6 +24963,11 @@ uint32_t ThriftHiveMetastore_grant_role_result::write(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_grant_role_presult::~ThriftHiveMetastore_grant_role_presult() throw() { +} + + uint32_t ThriftHiveMetastore_grant_role_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22623,6 +25016,11 @@ uint32_t ThriftHiveMetastore_grant_role_presult::read(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_revoke_role_args::~ThriftHiveMetastore_revoke_role_args() throw() { +} + + uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22661,9 +25059,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 ecast1118; + xfer += iprot->readI32(ecast1118); + this->principal_type = (PrincipalType::type)ecast1118; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22683,6 +25081,7 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_revoke_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_revoke_role_args"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22699,11 +25098,18 @@ uint32_t ThriftHiveMetastore_revoke_role_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_revoke_role_pargs::~ThriftHiveMetastore_revoke_role_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_revoke_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_revoke_role_pargs"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22720,9 +25126,15 @@ uint32_t ThriftHiveMetastore_revoke_role_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_revoke_role_result::~ThriftHiveMetastore_revoke_role_result() throw() { +} + + uint32_t ThriftHiveMetastore_revoke_role_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22791,6 +25203,11 @@ uint32_t ThriftHiveMetastore_revoke_role_result::write(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_revoke_role_presult::~ThriftHiveMetastore_revoke_role_presult() throw() { +} + + uint32_t ThriftHiveMetastore_revoke_role_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22839,6 +25256,11 @@ uint32_t ThriftHiveMetastore_revoke_role_presult::read(::apache::thrift::protoco return xfer; } + +ThriftHiveMetastore_list_roles_args::~ThriftHiveMetastore_list_roles_args() throw() { +} + + uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22869,9 +25291,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 ecast1119; + xfer += iprot->readI32(ecast1119); + this->principal_type = (PrincipalType::type)ecast1119; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22891,6 +25313,7 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_list_roles_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_list_roles_args"); xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22903,11 +25326,18 @@ uint32_t ThriftHiveMetastore_list_roles_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_list_roles_pargs::~ThriftHiveMetastore_list_roles_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_list_roles_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_list_roles_pargs"); xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22920,9 +25350,15 @@ uint32_t ThriftHiveMetastore_list_roles_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_list_roles_result::~ThriftHiveMetastore_list_roles_result() throw() { +} + + uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22947,14 +25383,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 _size1120; + ::apache::thrift::protocol::TType _etype1123; + xfer += iprot->readListBegin(_etype1123, _size1120); + this->success.resize(_size1120); + uint32_t _i1124; + for (_i1124 = 0; _i1124 < _size1120; ++_i1124) { - xfer += this->success[_i900].read(iprot); + xfer += this->success[_i1124].read(iprot); } xfer += iprot->readListEnd(); } @@ -22993,10 +25429,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 _iter1125; + for (_iter1125 = this->success.begin(); _iter1125 != this->success.end(); ++_iter1125) { - xfer += (*_iter901).write(oprot); + xfer += (*_iter1125).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23011,6 +25447,11 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_list_roles_presult::~ThriftHiveMetastore_list_roles_presult() throw() { +} + + uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23035,14 +25476,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 _size1126; + ::apache::thrift::protocol::TType _etype1129; + xfer += iprot->readListBegin(_etype1129, _size1126); + (*(this->success)).resize(_size1126); + uint32_t _i1130; + for (_i1130 = 0; _i1130 < _size1126; ++_i1130) { - xfer += (*(this->success))[_i906].read(iprot); + xfer += (*(this->success))[_i1130].read(iprot); } xfer += iprot->readListEnd(); } @@ -23071,6 +25512,11 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_grant_revoke_role_args::~ThriftHiveMetastore_grant_revoke_role_args() throw() { +} + + uint32_t ThriftHiveMetastore_grant_revoke_role_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23113,6 +25559,7 @@ uint32_t ThriftHiveMetastore_grant_revoke_role_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_grant_revoke_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_revoke_role_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -23121,11 +25568,18 @@ uint32_t ThriftHiveMetastore_grant_revoke_role_args::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_grant_revoke_role_pargs::~ThriftHiveMetastore_grant_revoke_role_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_grant_revoke_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_revoke_role_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -23134,9 +25588,15 @@ uint32_t ThriftHiveMetastore_grant_revoke_role_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_grant_revoke_role_result::~ThriftHiveMetastore_grant_revoke_role_result() throw() { +} + + uint32_t ThriftHiveMetastore_grant_revoke_role_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23205,6 +25665,11 @@ uint32_t ThriftHiveMetastore_grant_revoke_role_result::write(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_grant_revoke_role_presult::~ThriftHiveMetastore_grant_revoke_role_presult() throw() { +} + + uint32_t ThriftHiveMetastore_grant_revoke_role_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23253,6 +25718,11 @@ uint32_t ThriftHiveMetastore_grant_revoke_role_presult::read(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_get_principals_in_role_args::~ThriftHiveMetastore_get_principals_in_role_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_principals_in_role_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23295,6 +25765,7 @@ uint32_t ThriftHiveMetastore_get_principals_in_role_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_get_principals_in_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_principals_in_role_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -23303,11 +25774,18 @@ uint32_t ThriftHiveMetastore_get_principals_in_role_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_principals_in_role_pargs::~ThriftHiveMetastore_get_principals_in_role_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_principals_in_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_principals_in_role_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -23316,9 +25794,15 @@ uint32_t ThriftHiveMetastore_get_principals_in_role_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_principals_in_role_result::~ThriftHiveMetastore_get_principals_in_role_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_principals_in_role_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23387,6 +25871,11 @@ uint32_t ThriftHiveMetastore_get_principals_in_role_result::write(::apache::thri return xfer; } + +ThriftHiveMetastore_get_principals_in_role_presult::~ThriftHiveMetastore_get_principals_in_role_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_principals_in_role_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23435,6 +25924,11 @@ uint32_t ThriftHiveMetastore_get_principals_in_role_presult::read(::apache::thri return xfer; } + +ThriftHiveMetastore_get_role_grants_for_principal_args::~ThriftHiveMetastore_get_role_grants_for_principal_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_role_grants_for_principal_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23477,6 +25971,7 @@ uint32_t ThriftHiveMetastore_get_role_grants_for_principal_args::read(::apache:: uint32_t ThriftHiveMetastore_get_role_grants_for_principal_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_role_grants_for_principal_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -23485,11 +25980,18 @@ uint32_t ThriftHiveMetastore_get_role_grants_for_principal_args::write(::apache: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_role_grants_for_principal_pargs::~ThriftHiveMetastore_get_role_grants_for_principal_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_role_grants_for_principal_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_role_grants_for_principal_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -23498,9 +26000,15 @@ uint32_t ThriftHiveMetastore_get_role_grants_for_principal_pargs::write(::apache xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_role_grants_for_principal_result::~ThriftHiveMetastore_get_role_grants_for_principal_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_role_grants_for_principal_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23569,6 +26077,11 @@ uint32_t ThriftHiveMetastore_get_role_grants_for_principal_result::write(::apach return xfer; } + +ThriftHiveMetastore_get_role_grants_for_principal_presult::~ThriftHiveMetastore_get_role_grants_for_principal_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_role_grants_for_principal_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23617,6 +26130,11 @@ uint32_t ThriftHiveMetastore_get_role_grants_for_principal_presult::read(::apach return xfer; } + +ThriftHiveMetastore_get_privilege_set_args::~ThriftHiveMetastore_get_privilege_set_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23657,14 +26175,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 _size1131; + ::apache::thrift::protocol::TType _etype1134; + xfer += iprot->readListBegin(_etype1134, _size1131); + this->group_names.resize(_size1131); + uint32_t _i1135; + for (_i1135 = 0; _i1135 < _size1131; ++_i1135) { - xfer += iprot->readString(this->group_names[_i911]); + xfer += iprot->readString(this->group_names[_i1135]); } xfer += iprot->readListEnd(); } @@ -23687,6 +26205,7 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_privilege_set_args"); xfer += oprot->writeFieldBegin("hiveObject", ::apache::thrift::protocol::T_STRUCT, 1); @@ -23700,10 +26219,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 _iter1136; + for (_iter1136 = this->group_names.begin(); _iter1136 != this->group_names.end(); ++_iter1136) { - xfer += oprot->writeString((*_iter912)); + xfer += oprot->writeString((*_iter1136)); } xfer += oprot->writeListEnd(); } @@ -23711,11 +26230,18 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_privilege_set_pargs::~ThriftHiveMetastore_get_privilege_set_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_privilege_set_pargs"); xfer += oprot->writeFieldBegin("hiveObject", ::apache::thrift::protocol::T_STRUCT, 1); @@ -23729,10 +26255,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 _iter1137; + for (_iter1137 = (*(this->group_names)).begin(); _iter1137 != (*(this->group_names)).end(); ++_iter1137) { - xfer += oprot->writeString((*_iter913)); + xfer += oprot->writeString((*_iter1137)); } xfer += oprot->writeListEnd(); } @@ -23740,9 +26266,15 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_privilege_set_result::~ThriftHiveMetastore_get_privilege_set_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_privilege_set_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23811,6 +26343,11 @@ uint32_t ThriftHiveMetastore_get_privilege_set_result::write(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_get_privilege_set_presult::~ThriftHiveMetastore_get_privilege_set_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_privilege_set_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23859,6 +26396,11 @@ uint32_t ThriftHiveMetastore_get_privilege_set_presult::read(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_list_privileges_args::~ThriftHiveMetastore_list_privileges_args() throw() { +} + + uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23889,9 +26431,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 ecast1138; + xfer += iprot->readI32(ecast1138); + this->principal_type = (PrincipalType::type)ecast1138; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -23919,6 +26461,7 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc uint32_t ThriftHiveMetastore_list_privileges_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_list_privileges_args"); xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1); @@ -23935,11 +26478,18 @@ uint32_t ThriftHiveMetastore_list_privileges_args::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_list_privileges_pargs::~ThriftHiveMetastore_list_privileges_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_list_privileges_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_list_privileges_pargs"); xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1); @@ -23956,9 +26506,15 @@ uint32_t ThriftHiveMetastore_list_privileges_pargs::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_list_privileges_result::~ThriftHiveMetastore_list_privileges_result() throw() { +} + + uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -23983,14 +26539,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 _size1139; + ::apache::thrift::protocol::TType _etype1142; + xfer += iprot->readListBegin(_etype1142, _size1139); + this->success.resize(_size1139); + uint32_t _i1143; + for (_i1143 = 0; _i1143 < _size1139; ++_i1143) { - xfer += this->success[_i919].read(iprot); + xfer += this->success[_i1143].read(iprot); } xfer += iprot->readListEnd(); } @@ -24029,10 +26585,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 _iter1144; + for (_iter1144 = this->success.begin(); _iter1144 != this->success.end(); ++_iter1144) { - xfer += (*_iter920).write(oprot); + xfer += (*_iter1144).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24047,6 +26603,11 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro return xfer; } + +ThriftHiveMetastore_list_privileges_presult::~ThriftHiveMetastore_list_privileges_presult() throw() { +} + + uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24071,14 +26632,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 _size1145; + ::apache::thrift::protocol::TType _etype1148; + xfer += iprot->readListBegin(_etype1148, _size1145); + (*(this->success)).resize(_size1145); + uint32_t _i1149; + for (_i1149 = 0; _i1149 < _size1145; ++_i1149) { - xfer += (*(this->success))[_i925].read(iprot); + xfer += (*(this->success))[_i1149].read(iprot); } xfer += iprot->readListEnd(); } @@ -24107,6 +26668,11 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro return xfer; } + +ThriftHiveMetastore_grant_privileges_args::~ThriftHiveMetastore_grant_privileges_args() throw() { +} + + uint32_t ThriftHiveMetastore_grant_privileges_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24149,6 +26715,7 @@ uint32_t ThriftHiveMetastore_grant_privileges_args::read(::apache::thrift::proto uint32_t ThriftHiveMetastore_grant_privileges_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_privileges_args"); xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_STRUCT, 1); @@ -24157,11 +26724,18 @@ uint32_t ThriftHiveMetastore_grant_privileges_args::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_grant_privileges_pargs::~ThriftHiveMetastore_grant_privileges_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_grant_privileges_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_privileges_pargs"); xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_STRUCT, 1); @@ -24170,9 +26744,15 @@ uint32_t ThriftHiveMetastore_grant_privileges_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_grant_privileges_result::~ThriftHiveMetastore_grant_privileges_result() throw() { +} + + uint32_t ThriftHiveMetastore_grant_privileges_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24241,6 +26821,11 @@ uint32_t ThriftHiveMetastore_grant_privileges_result::write(::apache::thrift::pr return xfer; } + +ThriftHiveMetastore_grant_privileges_presult::~ThriftHiveMetastore_grant_privileges_presult() throw() { +} + + uint32_t ThriftHiveMetastore_grant_privileges_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24289,6 +26874,11 @@ uint32_t ThriftHiveMetastore_grant_privileges_presult::read(::apache::thrift::pr return xfer; } + +ThriftHiveMetastore_revoke_privileges_args::~ThriftHiveMetastore_revoke_privileges_args() throw() { +} + + uint32_t ThriftHiveMetastore_revoke_privileges_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24331,6 +26921,7 @@ uint32_t ThriftHiveMetastore_revoke_privileges_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_revoke_privileges_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_revoke_privileges_args"); xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_STRUCT, 1); @@ -24339,11 +26930,18 @@ uint32_t ThriftHiveMetastore_revoke_privileges_args::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_revoke_privileges_pargs::~ThriftHiveMetastore_revoke_privileges_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_revoke_privileges_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_revoke_privileges_pargs"); xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_STRUCT, 1); @@ -24352,9 +26950,15 @@ uint32_t ThriftHiveMetastore_revoke_privileges_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_revoke_privileges_result::~ThriftHiveMetastore_revoke_privileges_result() throw() { +} + + uint32_t ThriftHiveMetastore_revoke_privileges_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24423,6 +27027,11 @@ uint32_t ThriftHiveMetastore_revoke_privileges_result::write(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_revoke_privileges_presult::~ThriftHiveMetastore_revoke_privileges_presult() throw() { +} + + uint32_t ThriftHiveMetastore_revoke_privileges_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24471,6 +27080,11 @@ uint32_t ThriftHiveMetastore_revoke_privileges_presult::read(::apache::thrift::p return xfer; } + +ThriftHiveMetastore_grant_revoke_privileges_args::~ThriftHiveMetastore_grant_revoke_privileges_args() throw() { +} + + uint32_t ThriftHiveMetastore_grant_revoke_privileges_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24513,6 +27127,7 @@ uint32_t ThriftHiveMetastore_grant_revoke_privileges_args::read(::apache::thrift uint32_t ThriftHiveMetastore_grant_revoke_privileges_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_revoke_privileges_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -24521,11 +27136,18 @@ uint32_t ThriftHiveMetastore_grant_revoke_privileges_args::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_grant_revoke_privileges_pargs::~ThriftHiveMetastore_grant_revoke_privileges_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_grant_revoke_privileges_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_revoke_privileges_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -24534,9 +27156,15 @@ uint32_t ThriftHiveMetastore_grant_revoke_privileges_pargs::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_grant_revoke_privileges_result::~ThriftHiveMetastore_grant_revoke_privileges_result() throw() { +} + + uint32_t ThriftHiveMetastore_grant_revoke_privileges_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24605,6 +27233,11 @@ uint32_t ThriftHiveMetastore_grant_revoke_privileges_result::write(::apache::thr return xfer; } + +ThriftHiveMetastore_grant_revoke_privileges_presult::~ThriftHiveMetastore_grant_revoke_privileges_presult() throw() { +} + + uint32_t ThriftHiveMetastore_grant_revoke_privileges_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24653,6 +27286,11 @@ uint32_t ThriftHiveMetastore_grant_revoke_privileges_presult::read(::apache::thr return xfer; } + +ThriftHiveMetastore_set_ugi_args::~ThriftHiveMetastore_set_ugi_args() throw() { +} + + uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24685,14 +27323,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 _size1150; + ::apache::thrift::protocol::TType _etype1153; + xfer += iprot->readListBegin(_etype1153, _size1150); + this->group_names.resize(_size1150); + uint32_t _i1154; + for (_i1154 = 0; _i1154 < _size1150; ++_i1154) { - xfer += iprot->readString(this->group_names[_i930]); + xfer += iprot->readString(this->group_names[_i1154]); } xfer += iprot->readListEnd(); } @@ -24715,6 +27353,7 @@ uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TPro uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_set_ugi_args"); xfer += oprot->writeFieldBegin("user_name", ::apache::thrift::protocol::T_STRING, 1); @@ -24724,10 +27363,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 _iter1155; + for (_iter1155 = this->group_names.begin(); _iter1155 != this->group_names.end(); ++_iter1155) { - xfer += oprot->writeString((*_iter931)); + xfer += oprot->writeString((*_iter1155)); } xfer += oprot->writeListEnd(); } @@ -24735,11 +27374,18 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_set_ugi_pargs::~ThriftHiveMetastore_set_ugi_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_set_ugi_pargs"); xfer += oprot->writeFieldBegin("user_name", ::apache::thrift::protocol::T_STRING, 1); @@ -24749,10 +27395,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 _iter1156; + for (_iter1156 = (*(this->group_names)).begin(); _iter1156 != (*(this->group_names)).end(); ++_iter1156) { - xfer += oprot->writeString((*_iter932)); + xfer += oprot->writeString((*_iter1156)); } xfer += oprot->writeListEnd(); } @@ -24760,9 +27406,15 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_set_ugi_result::~ThriftHiveMetastore_set_ugi_result() throw() { +} + + uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24787,14 +27439,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 _size1157; + ::apache::thrift::protocol::TType _etype1160; + xfer += iprot->readListBegin(_etype1160, _size1157); + this->success.resize(_size1157); + uint32_t _i1161; + for (_i1161 = 0; _i1161 < _size1157; ++_i1161) { - xfer += iprot->readString(this->success[_i937]); + xfer += iprot->readString(this->success[_i1161]); } xfer += iprot->readListEnd(); } @@ -24833,10 +27485,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 _iter1162; + for (_iter1162 = this->success.begin(); _iter1162 != this->success.end(); ++_iter1162) { - xfer += oprot->writeString((*_iter938)); + xfer += oprot->writeString((*_iter1162)); } xfer += oprot->writeListEnd(); } @@ -24851,6 +27503,11 @@ uint32_t ThriftHiveMetastore_set_ugi_result::write(::apache::thrift::protocol::T return xfer; } + +ThriftHiveMetastore_set_ugi_presult::~ThriftHiveMetastore_set_ugi_presult() throw() { +} + + uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24875,14 +27532,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 _size1163; + ::apache::thrift::protocol::TType _etype1166; + xfer += iprot->readListBegin(_etype1166, _size1163); + (*(this->success)).resize(_size1163); + uint32_t _i1167; + for (_i1167 = 0; _i1167 < _size1163; ++_i1167) { - xfer += iprot->readString((*(this->success))[_i943]); + xfer += iprot->readString((*(this->success))[_i1167]); } xfer += iprot->readListEnd(); } @@ -24911,6 +27568,11 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T return xfer; } + +ThriftHiveMetastore_get_delegation_token_args::~ThriftHiveMetastore_get_delegation_token_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_delegation_token_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -24961,6 +27623,7 @@ uint32_t ThriftHiveMetastore_get_delegation_token_args::read(::apache::thrift::p uint32_t ThriftHiveMetastore_get_delegation_token_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_delegation_token_args"); xfer += oprot->writeFieldBegin("token_owner", ::apache::thrift::protocol::T_STRING, 1); @@ -24973,11 +27636,18 @@ uint32_t ThriftHiveMetastore_get_delegation_token_args::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_delegation_token_pargs::~ThriftHiveMetastore_get_delegation_token_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_delegation_token_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_delegation_token_pargs"); xfer += oprot->writeFieldBegin("token_owner", ::apache::thrift::protocol::T_STRING, 1); @@ -24990,9 +27660,15 @@ uint32_t ThriftHiveMetastore_get_delegation_token_pargs::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_delegation_token_result::~ThriftHiveMetastore_get_delegation_token_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_delegation_token_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25061,6 +27737,11 @@ uint32_t ThriftHiveMetastore_get_delegation_token_result::write(::apache::thrift return xfer; } + +ThriftHiveMetastore_get_delegation_token_presult::~ThriftHiveMetastore_get_delegation_token_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_delegation_token_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25109,6 +27790,11 @@ uint32_t ThriftHiveMetastore_get_delegation_token_presult::read(::apache::thrift return xfer; } + +ThriftHiveMetastore_renew_delegation_token_args::~ThriftHiveMetastore_renew_delegation_token_args() throw() { +} + + uint32_t ThriftHiveMetastore_renew_delegation_token_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25151,6 +27837,7 @@ uint32_t ThriftHiveMetastore_renew_delegation_token_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_renew_delegation_token_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_renew_delegation_token_args"); xfer += oprot->writeFieldBegin("token_str_form", ::apache::thrift::protocol::T_STRING, 1); @@ -25159,11 +27846,18 @@ uint32_t ThriftHiveMetastore_renew_delegation_token_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_renew_delegation_token_pargs::~ThriftHiveMetastore_renew_delegation_token_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_renew_delegation_token_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_renew_delegation_token_pargs"); xfer += oprot->writeFieldBegin("token_str_form", ::apache::thrift::protocol::T_STRING, 1); @@ -25172,9 +27866,15 @@ uint32_t ThriftHiveMetastore_renew_delegation_token_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_renew_delegation_token_result::~ThriftHiveMetastore_renew_delegation_token_result() throw() { +} + + uint32_t ThriftHiveMetastore_renew_delegation_token_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25243,6 +27943,11 @@ uint32_t ThriftHiveMetastore_renew_delegation_token_result::write(::apache::thri return xfer; } + +ThriftHiveMetastore_renew_delegation_token_presult::~ThriftHiveMetastore_renew_delegation_token_presult() throw() { +} + + uint32_t ThriftHiveMetastore_renew_delegation_token_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25291,6 +27996,11 @@ uint32_t ThriftHiveMetastore_renew_delegation_token_presult::read(::apache::thri return xfer; } + +ThriftHiveMetastore_cancel_delegation_token_args::~ThriftHiveMetastore_cancel_delegation_token_args() throw() { +} + + uint32_t ThriftHiveMetastore_cancel_delegation_token_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25333,6 +28043,7 @@ uint32_t ThriftHiveMetastore_cancel_delegation_token_args::read(::apache::thrift uint32_t ThriftHiveMetastore_cancel_delegation_token_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_cancel_delegation_token_args"); xfer += oprot->writeFieldBegin("token_str_form", ::apache::thrift::protocol::T_STRING, 1); @@ -25341,11 +28052,18 @@ uint32_t ThriftHiveMetastore_cancel_delegation_token_args::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_cancel_delegation_token_pargs::~ThriftHiveMetastore_cancel_delegation_token_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_cancel_delegation_token_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_cancel_delegation_token_pargs"); xfer += oprot->writeFieldBegin("token_str_form", ::apache::thrift::protocol::T_STRING, 1); @@ -25354,9 +28072,15 @@ uint32_t ThriftHiveMetastore_cancel_delegation_token_pargs::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_cancel_delegation_token_result::~ThriftHiveMetastore_cancel_delegation_token_result() throw() { +} + + uint32_t ThriftHiveMetastore_cancel_delegation_token_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25413,6 +28137,11 @@ uint32_t ThriftHiveMetastore_cancel_delegation_token_result::write(::apache::thr return xfer; } + +ThriftHiveMetastore_cancel_delegation_token_presult::~ThriftHiveMetastore_cancel_delegation_token_presult() throw() { +} + + uint32_t ThriftHiveMetastore_cancel_delegation_token_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25453,6 +28182,11 @@ uint32_t ThriftHiveMetastore_cancel_delegation_token_presult::read(::apache::thr return xfer; } + +ThriftHiveMetastore_get_open_txns_args::~ThriftHiveMetastore_get_open_txns_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_open_txns_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25482,22 +28216,36 @@ uint32_t ThriftHiveMetastore_get_open_txns_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_get_open_txns_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_open_txns_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_open_txns_pargs::~ThriftHiveMetastore_get_open_txns_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_open_txns_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_open_txns_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_open_txns_result::~ThriftHiveMetastore_get_open_txns_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_open_txns_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25554,6 +28302,11 @@ uint32_t ThriftHiveMetastore_get_open_txns_result::write(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_get_open_txns_presult::~ThriftHiveMetastore_get_open_txns_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_open_txns_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25594,6 +28347,11 @@ uint32_t ThriftHiveMetastore_get_open_txns_presult::read(::apache::thrift::proto return xfer; } + +ThriftHiveMetastore_get_open_txns_info_args::~ThriftHiveMetastore_get_open_txns_info_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_open_txns_info_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25623,22 +28381,36 @@ uint32_t ThriftHiveMetastore_get_open_txns_info_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_get_open_txns_info_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_open_txns_info_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_open_txns_info_pargs::~ThriftHiveMetastore_get_open_txns_info_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_open_txns_info_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_open_txns_info_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_open_txns_info_result::~ThriftHiveMetastore_get_open_txns_info_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_open_txns_info_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25695,6 +28467,11 @@ uint32_t ThriftHiveMetastore_get_open_txns_info_result::write(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_get_open_txns_info_presult::~ThriftHiveMetastore_get_open_txns_info_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_open_txns_info_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25735,6 +28512,11 @@ uint32_t ThriftHiveMetastore_get_open_txns_info_presult::read(::apache::thrift:: return xfer; } + +ThriftHiveMetastore_open_txns_args::~ThriftHiveMetastore_open_txns_args() throw() { +} + + uint32_t ThriftHiveMetastore_open_txns_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25777,6 +28559,7 @@ uint32_t ThriftHiveMetastore_open_txns_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_open_txns_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_open_txns_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -25785,11 +28568,18 @@ uint32_t ThriftHiveMetastore_open_txns_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_open_txns_pargs::~ThriftHiveMetastore_open_txns_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_open_txns_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_open_txns_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -25798,9 +28588,15 @@ uint32_t ThriftHiveMetastore_open_txns_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_open_txns_result::~ThriftHiveMetastore_open_txns_result() throw() { +} + + uint32_t ThriftHiveMetastore_open_txns_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25857,6 +28653,11 @@ uint32_t ThriftHiveMetastore_open_txns_result::write(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_open_txns_presult::~ThriftHiveMetastore_open_txns_presult() throw() { +} + + uint32_t ThriftHiveMetastore_open_txns_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25897,6 +28698,11 @@ uint32_t ThriftHiveMetastore_open_txns_presult::read(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_abort_txn_args::~ThriftHiveMetastore_abort_txn_args() throw() { +} + + uint32_t ThriftHiveMetastore_abort_txn_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -25939,6 +28745,7 @@ uint32_t ThriftHiveMetastore_abort_txn_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_abort_txn_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_abort_txn_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -25947,11 +28754,18 @@ uint32_t ThriftHiveMetastore_abort_txn_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_abort_txn_pargs::~ThriftHiveMetastore_abort_txn_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_abort_txn_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_abort_txn_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -25960,9 +28774,15 @@ uint32_t ThriftHiveMetastore_abort_txn_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_abort_txn_result::~ThriftHiveMetastore_abort_txn_result() throw() { +} + + uint32_t ThriftHiveMetastore_abort_txn_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26019,6 +28839,11 @@ uint32_t ThriftHiveMetastore_abort_txn_result::write(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_abort_txn_presult::~ThriftHiveMetastore_abort_txn_presult() throw() { +} + + uint32_t ThriftHiveMetastore_abort_txn_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26059,6 +28884,11 @@ uint32_t ThriftHiveMetastore_abort_txn_presult::read(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_commit_txn_args::~ThriftHiveMetastore_commit_txn_args() throw() { +} + + uint32_t ThriftHiveMetastore_commit_txn_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26101,6 +28931,7 @@ uint32_t ThriftHiveMetastore_commit_txn_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_commit_txn_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_commit_txn_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26109,11 +28940,18 @@ uint32_t ThriftHiveMetastore_commit_txn_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_commit_txn_pargs::~ThriftHiveMetastore_commit_txn_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_commit_txn_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_commit_txn_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26122,9 +28960,15 @@ uint32_t ThriftHiveMetastore_commit_txn_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_commit_txn_result::~ThriftHiveMetastore_commit_txn_result() throw() { +} + + uint32_t ThriftHiveMetastore_commit_txn_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26193,6 +29037,11 @@ uint32_t ThriftHiveMetastore_commit_txn_result::write(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_commit_txn_presult::~ThriftHiveMetastore_commit_txn_presult() throw() { +} + + uint32_t ThriftHiveMetastore_commit_txn_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26241,6 +29090,11 @@ uint32_t ThriftHiveMetastore_commit_txn_presult::read(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_lock_args::~ThriftHiveMetastore_lock_args() throw() { +} + + uint32_t ThriftHiveMetastore_lock_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26283,6 +29137,7 @@ uint32_t ThriftHiveMetastore_lock_args::read(::apache::thrift::protocol::TProtoc uint32_t ThriftHiveMetastore_lock_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_lock_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26291,11 +29146,18 @@ uint32_t ThriftHiveMetastore_lock_args::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_lock_pargs::~ThriftHiveMetastore_lock_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_lock_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_lock_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26304,9 +29166,15 @@ uint32_t ThriftHiveMetastore_lock_pargs::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_lock_result::~ThriftHiveMetastore_lock_result() throw() { +} + + uint32_t ThriftHiveMetastore_lock_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26387,6 +29255,11 @@ uint32_t ThriftHiveMetastore_lock_result::write(::apache::thrift::protocol::TPro return xfer; } + +ThriftHiveMetastore_lock_presult::~ThriftHiveMetastore_lock_presult() throw() { +} + + uint32_t ThriftHiveMetastore_lock_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26443,6 +29316,11 @@ uint32_t ThriftHiveMetastore_lock_presult::read(::apache::thrift::protocol::TPro return xfer; } + +ThriftHiveMetastore_check_lock_args::~ThriftHiveMetastore_check_lock_args() throw() { +} + + uint32_t ThriftHiveMetastore_check_lock_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26485,6 +29363,7 @@ uint32_t ThriftHiveMetastore_check_lock_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_check_lock_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_check_lock_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26493,11 +29372,18 @@ uint32_t ThriftHiveMetastore_check_lock_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_check_lock_pargs::~ThriftHiveMetastore_check_lock_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_check_lock_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_check_lock_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26506,9 +29392,15 @@ uint32_t ThriftHiveMetastore_check_lock_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_check_lock_result::~ThriftHiveMetastore_check_lock_result() throw() { +} + + uint32_t ThriftHiveMetastore_check_lock_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26601,6 +29493,11 @@ uint32_t ThriftHiveMetastore_check_lock_result::write(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_check_lock_presult::~ThriftHiveMetastore_check_lock_presult() throw() { +} + + uint32_t ThriftHiveMetastore_check_lock_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26665,6 +29562,11 @@ uint32_t ThriftHiveMetastore_check_lock_presult::read(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_unlock_args::~ThriftHiveMetastore_unlock_args() throw() { +} + + uint32_t ThriftHiveMetastore_unlock_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26707,6 +29609,7 @@ uint32_t ThriftHiveMetastore_unlock_args::read(::apache::thrift::protocol::TProt uint32_t ThriftHiveMetastore_unlock_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_unlock_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26715,11 +29618,18 @@ uint32_t ThriftHiveMetastore_unlock_args::write(::apache::thrift::protocol::TPro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_unlock_pargs::~ThriftHiveMetastore_unlock_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_unlock_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_unlock_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26728,9 +29638,15 @@ uint32_t ThriftHiveMetastore_unlock_pargs::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_unlock_result::~ThriftHiveMetastore_unlock_result() throw() { +} + + uint32_t ThriftHiveMetastore_unlock_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26799,6 +29715,11 @@ uint32_t ThriftHiveMetastore_unlock_result::write(::apache::thrift::protocol::TP return xfer; } + +ThriftHiveMetastore_unlock_presult::~ThriftHiveMetastore_unlock_presult() throw() { +} + + uint32_t ThriftHiveMetastore_unlock_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26847,6 +29768,11 @@ uint32_t ThriftHiveMetastore_unlock_presult::read(::apache::thrift::protocol::TP return xfer; } + +ThriftHiveMetastore_show_locks_args::~ThriftHiveMetastore_show_locks_args() throw() { +} + + uint32_t ThriftHiveMetastore_show_locks_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26889,6 +29815,7 @@ uint32_t ThriftHiveMetastore_show_locks_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_show_locks_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_show_locks_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26897,11 +29824,18 @@ uint32_t ThriftHiveMetastore_show_locks_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_show_locks_pargs::~ThriftHiveMetastore_show_locks_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_show_locks_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_show_locks_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26910,9 +29844,15 @@ uint32_t ThriftHiveMetastore_show_locks_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_show_locks_result::~ThriftHiveMetastore_show_locks_result() throw() { +} + + uint32_t ThriftHiveMetastore_show_locks_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -26969,6 +29909,11 @@ uint32_t ThriftHiveMetastore_show_locks_result::write(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_show_locks_presult::~ThriftHiveMetastore_show_locks_presult() throw() { +} + + uint32_t ThriftHiveMetastore_show_locks_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27009,6 +29954,11 @@ uint32_t ThriftHiveMetastore_show_locks_presult::read(::apache::thrift::protocol return xfer; } + +ThriftHiveMetastore_heartbeat_args::~ThriftHiveMetastore_heartbeat_args() throw() { +} + + uint32_t ThriftHiveMetastore_heartbeat_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27051,6 +30001,7 @@ uint32_t ThriftHiveMetastore_heartbeat_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_heartbeat_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_heartbeat_args"); xfer += oprot->writeFieldBegin("ids", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27059,11 +30010,18 @@ uint32_t ThriftHiveMetastore_heartbeat_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_heartbeat_pargs::~ThriftHiveMetastore_heartbeat_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_heartbeat_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_heartbeat_pargs"); xfer += oprot->writeFieldBegin("ids", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27072,9 +30030,15 @@ uint32_t ThriftHiveMetastore_heartbeat_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_heartbeat_result::~ThriftHiveMetastore_heartbeat_result() throw() { +} + + uint32_t ThriftHiveMetastore_heartbeat_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27155,6 +30119,11 @@ uint32_t ThriftHiveMetastore_heartbeat_result::write(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_heartbeat_presult::~ThriftHiveMetastore_heartbeat_presult() throw() { +} + + uint32_t ThriftHiveMetastore_heartbeat_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27211,6 +30180,11 @@ uint32_t ThriftHiveMetastore_heartbeat_presult::read(::apache::thrift::protocol: return xfer; } + +ThriftHiveMetastore_heartbeat_txn_range_args::~ThriftHiveMetastore_heartbeat_txn_range_args() throw() { +} + + uint32_t ThriftHiveMetastore_heartbeat_txn_range_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27253,6 +30227,7 @@ uint32_t ThriftHiveMetastore_heartbeat_txn_range_args::read(::apache::thrift::pr uint32_t ThriftHiveMetastore_heartbeat_txn_range_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_heartbeat_txn_range_args"); xfer += oprot->writeFieldBegin("txns", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27261,11 +30236,18 @@ uint32_t ThriftHiveMetastore_heartbeat_txn_range_args::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_heartbeat_txn_range_pargs::~ThriftHiveMetastore_heartbeat_txn_range_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_heartbeat_txn_range_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_heartbeat_txn_range_pargs"); xfer += oprot->writeFieldBegin("txns", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27274,9 +30256,15 @@ uint32_t ThriftHiveMetastore_heartbeat_txn_range_pargs::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_heartbeat_txn_range_result::~ThriftHiveMetastore_heartbeat_txn_range_result() throw() { +} + + uint32_t ThriftHiveMetastore_heartbeat_txn_range_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27333,6 +30321,11 @@ uint32_t ThriftHiveMetastore_heartbeat_txn_range_result::write(::apache::thrift: return xfer; } + +ThriftHiveMetastore_heartbeat_txn_range_presult::~ThriftHiveMetastore_heartbeat_txn_range_presult() throw() { +} + + uint32_t ThriftHiveMetastore_heartbeat_txn_range_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27373,6 +30366,11 @@ uint32_t ThriftHiveMetastore_heartbeat_txn_range_presult::read(::apache::thrift: return xfer; } + +ThriftHiveMetastore_compact_args::~ThriftHiveMetastore_compact_args() throw() { +} + + uint32_t ThriftHiveMetastore_compact_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27415,6 +30413,7 @@ uint32_t ThriftHiveMetastore_compact_args::read(::apache::thrift::protocol::TPro uint32_t ThriftHiveMetastore_compact_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_compact_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27423,11 +30422,18 @@ uint32_t ThriftHiveMetastore_compact_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_compact_pargs::~ThriftHiveMetastore_compact_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_compact_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_compact_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27436,9 +30442,15 @@ uint32_t ThriftHiveMetastore_compact_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_compact_result::~ThriftHiveMetastore_compact_result() throw() { +} + + uint32_t ThriftHiveMetastore_compact_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27477,6 +30489,11 @@ uint32_t ThriftHiveMetastore_compact_result::write(::apache::thrift::protocol::T return xfer; } + +ThriftHiveMetastore_compact_presult::~ThriftHiveMetastore_compact_presult() throw() { +} + + uint32_t ThriftHiveMetastore_compact_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27504,6 +30521,11 @@ uint32_t ThriftHiveMetastore_compact_presult::read(::apache::thrift::protocol::T return xfer; } + +ThriftHiveMetastore_show_compact_args::~ThriftHiveMetastore_show_compact_args() throw() { +} + + uint32_t ThriftHiveMetastore_show_compact_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27546,6 +30568,7 @@ uint32_t ThriftHiveMetastore_show_compact_args::read(::apache::thrift::protocol: uint32_t ThriftHiveMetastore_show_compact_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_show_compact_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27554,11 +30577,18 @@ uint32_t ThriftHiveMetastore_show_compact_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_show_compact_pargs::~ThriftHiveMetastore_show_compact_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_show_compact_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_show_compact_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27567,9 +30597,15 @@ uint32_t ThriftHiveMetastore_show_compact_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_show_compact_result::~ThriftHiveMetastore_show_compact_result() throw() { +} + + uint32_t ThriftHiveMetastore_show_compact_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27626,6 +30662,11 @@ uint32_t ThriftHiveMetastore_show_compact_result::write(::apache::thrift::protoc return xfer; } + +ThriftHiveMetastore_show_compact_presult::~ThriftHiveMetastore_show_compact_presult() throw() { +} + + uint32_t ThriftHiveMetastore_show_compact_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27666,6 +30707,11 @@ uint32_t ThriftHiveMetastore_show_compact_presult::read(::apache::thrift::protoc return xfer; } + +ThriftHiveMetastore_add_dynamic_partitions_args::~ThriftHiveMetastore_add_dynamic_partitions_args() throw() { +} + + uint32_t ThriftHiveMetastore_add_dynamic_partitions_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27708,6 +30754,7 @@ uint32_t ThriftHiveMetastore_add_dynamic_partitions_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_add_dynamic_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_dynamic_partitions_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27716,11 +30763,18 @@ uint32_t ThriftHiveMetastore_add_dynamic_partitions_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_dynamic_partitions_pargs::~ThriftHiveMetastore_add_dynamic_partitions_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_add_dynamic_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_dynamic_partitions_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27729,9 +30783,15 @@ uint32_t ThriftHiveMetastore_add_dynamic_partitions_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_add_dynamic_partitions_result::~ThriftHiveMetastore_add_dynamic_partitions_result() throw() { +} + + uint32_t ThriftHiveMetastore_add_dynamic_partitions_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27800,6 +30860,11 @@ uint32_t ThriftHiveMetastore_add_dynamic_partitions_result::write(::apache::thri return xfer; } + +ThriftHiveMetastore_add_dynamic_partitions_presult::~ThriftHiveMetastore_add_dynamic_partitions_presult() throw() { +} + + uint32_t ThriftHiveMetastore_add_dynamic_partitions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27848,6 +30913,11 @@ uint32_t ThriftHiveMetastore_add_dynamic_partitions_presult::read(::apache::thri return xfer; } + +ThriftHiveMetastore_get_next_notification_args::~ThriftHiveMetastore_get_next_notification_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_next_notification_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27890,6 +30960,7 @@ uint32_t ThriftHiveMetastore_get_next_notification_args::read(::apache::thrift:: uint32_t ThriftHiveMetastore_get_next_notification_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_next_notification_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27898,11 +30969,18 @@ uint32_t ThriftHiveMetastore_get_next_notification_args::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_next_notification_pargs::~ThriftHiveMetastore_get_next_notification_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_next_notification_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_next_notification_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27911,9 +30989,15 @@ uint32_t ThriftHiveMetastore_get_next_notification_pargs::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_next_notification_result::~ThriftHiveMetastore_get_next_notification_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_next_notification_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -27970,6 +31054,11 @@ uint32_t ThriftHiveMetastore_get_next_notification_result::write(::apache::thrif return xfer; } + +ThriftHiveMetastore_get_next_notification_presult::~ThriftHiveMetastore_get_next_notification_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_next_notification_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -28010,6 +31099,11 @@ uint32_t ThriftHiveMetastore_get_next_notification_presult::read(::apache::thrif return xfer; } + +ThriftHiveMetastore_get_current_notificationEventId_args::~ThriftHiveMetastore_get_current_notificationEventId_args() throw() { +} + + uint32_t ThriftHiveMetastore_get_current_notificationEventId_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -28039,22 +31133,36 @@ uint32_t ThriftHiveMetastore_get_current_notificationEventId_args::read(::apache uint32_t ThriftHiveMetastore_get_current_notificationEventId_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_current_notificationEventId_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_current_notificationEventId_pargs::~ThriftHiveMetastore_get_current_notificationEventId_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_get_current_notificationEventId_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_current_notificationEventId_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_get_current_notificationEventId_result::~ThriftHiveMetastore_get_current_notificationEventId_result() throw() { +} + + uint32_t ThriftHiveMetastore_get_current_notificationEventId_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -28111,6 +31219,11 @@ uint32_t ThriftHiveMetastore_get_current_notificationEventId_result::write(::apa return xfer; } + +ThriftHiveMetastore_get_current_notificationEventId_presult::~ThriftHiveMetastore_get_current_notificationEventId_presult() throw() { +} + + uint32_t ThriftHiveMetastore_get_current_notificationEventId_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -28151,6 +31264,11 @@ uint32_t ThriftHiveMetastore_get_current_notificationEventId_presult::read(::apa return xfer; } + +ThriftHiveMetastore_fire_listener_event_args::~ThriftHiveMetastore_fire_listener_event_args() throw() { +} + + uint32_t ThriftHiveMetastore_fire_listener_event_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -28193,6 +31311,7 @@ uint32_t ThriftHiveMetastore_fire_listener_event_args::read(::apache::thrift::pr uint32_t ThriftHiveMetastore_fire_listener_event_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_fire_listener_event_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -28201,11 +31320,18 @@ uint32_t ThriftHiveMetastore_fire_listener_event_args::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_fire_listener_event_pargs::~ThriftHiveMetastore_fire_listener_event_pargs() throw() { +} + + uint32_t ThriftHiveMetastore_fire_listener_event_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHiveMetastore_fire_listener_event_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -28214,9 +31340,15 @@ uint32_t ThriftHiveMetastore_fire_listener_event_pargs::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHiveMetastore_fire_listener_event_result::~ThriftHiveMetastore_fire_listener_event_result() throw() { +} + + uint32_t ThriftHiveMetastore_fire_listener_event_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -28273,6 +31405,11 @@ uint32_t ThriftHiveMetastore_fire_listener_event_result::write(::apache::thrift: return xfer; } + +ThriftHiveMetastore_fire_listener_event_presult::~ThriftHiveMetastore_fire_listener_event_presult() throw() { +} + + uint32_t ThriftHiveMetastore_fire_listener_event_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -34090,6 +37227,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 +44766,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 a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 0f86117..520c6e3 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -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; @@ -564,24 +568,26 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p typedef struct _ThriftHiveMetastore_getMetaConf_args__isset { _ThriftHiveMetastore_getMetaConf_args__isset() : key(false) {} - bool key; + bool key :1; } _ThriftHiveMetastore_getMetaConf_args__isset; class ThriftHiveMetastore_getMetaConf_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_getMetaConf_args(const ThriftHiveMetastore_getMetaConf_args&); + ThriftHiveMetastore_getMetaConf_args& operator=(const ThriftHiveMetastore_getMetaConf_args&); ThriftHiveMetastore_getMetaConf_args() : key() { } - virtual ~ThriftHiveMetastore_getMetaConf_args() throw() {} - + virtual ~ThriftHiveMetastore_getMetaConf_args() throw(); std::string key; _ThriftHiveMetastore_getMetaConf_args__isset __isset; - void __set_key(const std::string& val) { - key = val; - } + void __set_key(const std::string& val); bool operator == (const ThriftHiveMetastore_getMetaConf_args & rhs) const { @@ -598,47 +604,51 @@ class ThriftHiveMetastore_getMetaConf_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_args& obj); }; class ThriftHiveMetastore_getMetaConf_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_getMetaConf_pargs() throw() {} + virtual ~ThriftHiveMetastore_getMetaConf_pargs() throw(); const std::string* key; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_pargs& obj); }; typedef struct _ThriftHiveMetastore_getMetaConf_result__isset { _ThriftHiveMetastore_getMetaConf_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_getMetaConf_result__isset; class ThriftHiveMetastore_getMetaConf_result { public: + static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; + + ThriftHiveMetastore_getMetaConf_result(const ThriftHiveMetastore_getMetaConf_result&); + ThriftHiveMetastore_getMetaConf_result& operator=(const ThriftHiveMetastore_getMetaConf_result&); ThriftHiveMetastore_getMetaConf_result() : success() { } - virtual ~ThriftHiveMetastore_getMetaConf_result() throw() {} - + virtual ~ThriftHiveMetastore_getMetaConf_result() throw(); std::string success; MetaException o1; _ThriftHiveMetastore_getMetaConf_result__isset __isset; - void __set_success(const std::string& val) { - success = val; - } + void __set_success(const std::string& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_getMetaConf_result & rhs) const { @@ -657,20 +667,23 @@ class ThriftHiveMetastore_getMetaConf_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_result& obj); }; typedef struct _ThriftHiveMetastore_getMetaConf_presult__isset { _ThriftHiveMetastore_getMetaConf_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_getMetaConf_presult__isset; class ThriftHiveMetastore_getMetaConf_presult { public: + static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; - virtual ~ThriftHiveMetastore_getMetaConf_presult() throw() {} + virtual ~ThriftHiveMetastore_getMetaConf_presult() throw(); std::string* success; MetaException o1; @@ -678,34 +691,35 @@ class ThriftHiveMetastore_getMetaConf_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_presult& obj); }; typedef struct _ThriftHiveMetastore_setMetaConf_args__isset { _ThriftHiveMetastore_setMetaConf_args__isset() : key(false), value(false) {} - bool key; - bool value; + bool key :1; + bool value :1; } _ThriftHiveMetastore_setMetaConf_args__isset; class ThriftHiveMetastore_setMetaConf_args { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + + ThriftHiveMetastore_setMetaConf_args(const ThriftHiveMetastore_setMetaConf_args&); + ThriftHiveMetastore_setMetaConf_args& operator=(const ThriftHiveMetastore_setMetaConf_args&); ThriftHiveMetastore_setMetaConf_args() : key(), value() { } - virtual ~ThriftHiveMetastore_setMetaConf_args() throw() {} - + virtual ~ThriftHiveMetastore_setMetaConf_args() throw(); std::string key; std::string value; _ThriftHiveMetastore_setMetaConf_args__isset __isset; - void __set_key(const std::string& val) { - key = val; - } + void __set_key(const std::string& val); - void __set_value(const std::string& val) { - value = val; - } + void __set_value(const std::string& val); bool operator == (const ThriftHiveMetastore_setMetaConf_args & rhs) const { @@ -724,42 +738,48 @@ class ThriftHiveMetastore_setMetaConf_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_args& obj); }; class ThriftHiveMetastore_setMetaConf_pargs { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_setMetaConf_pargs() throw() {} + virtual ~ThriftHiveMetastore_setMetaConf_pargs() throw(); const std::string* key; const std::string* value; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_pargs& obj); }; typedef struct _ThriftHiveMetastore_setMetaConf_result__isset { _ThriftHiveMetastore_setMetaConf_result__isset() : o1(false) {} - bool o1; + bool o1 :1; } _ThriftHiveMetastore_setMetaConf_result__isset; class ThriftHiveMetastore_setMetaConf_result { public: + static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; + static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; + + ThriftHiveMetastore_setMetaConf_result(const ThriftHiveMetastore_setMetaConf_result&); + ThriftHiveMetastore_setMetaConf_result& operator=(const ThriftHiveMetastore_setMetaConf_result&); ThriftHiveMetastore_setMetaConf_result() { } - virtual ~ThriftHiveMetastore_setMetaConf_result() throw() {} - + virtual ~ThriftHiveMetastore_setMetaConf_result() throw(); MetaException o1; _ThriftHiveMetastore_setMetaConf_result__isset __isset; - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_setMetaConf_result & rhs) const { @@ -776,47 +796,53 @@ class ThriftHiveMetastore_setMetaConf_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_result& obj); }; typedef struct _ThriftHiveMetastore_setMetaConf_presult__isset { _ThriftHiveMetastore_setMetaConf_presult__isset() : o1(false) {} - bool o1; + bool o1 :1; } _ThriftHiveMetastore_setMetaConf_presult__isset; class ThriftHiveMetastore_setMetaConf_presult { public: + static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; + static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - virtual ~ThriftHiveMetastore_setMetaConf_presult() throw() {} + virtual ~ThriftHiveMetastore_setMetaConf_presult() throw(); MetaException o1; _ThriftHiveMetastore_setMetaConf_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_presult& obj); }; typedef struct _ThriftHiveMetastore_create_database_args__isset { _ThriftHiveMetastore_create_database_args__isset() : database(false) {} - bool database; + bool database :1; } _ThriftHiveMetastore_create_database_args__isset; class ThriftHiveMetastore_create_database_args { public: + static const char* ascii_fingerprint; // = "BAA173319AAB1B660ECE7D895D8F1A31"; + static const uint8_t binary_fingerprint[16]; // = {0xBA,0xA1,0x73,0x31,0x9A,0xAB,0x1B,0x66,0x0E,0xCE,0x7D,0x89,0x5D,0x8F,0x1A,0x31}; + + ThriftHiveMetastore_create_database_args(const ThriftHiveMetastore_create_database_args&); + ThriftHiveMetastore_create_database_args& operator=(const ThriftHiveMetastore_create_database_args&); ThriftHiveMetastore_create_database_args() { } - virtual ~ThriftHiveMetastore_create_database_args() throw() {} - + virtual ~ThriftHiveMetastore_create_database_args() throw(); Database database; _ThriftHiveMetastore_create_database_args__isset __isset; - void __set_database(const Database& val) { - database = val; - } + void __set_database(const Database& val); bool operator == (const ThriftHiveMetastore_create_database_args & rhs) const { @@ -833,53 +859,55 @@ class ThriftHiveMetastore_create_database_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_args& obj); }; class ThriftHiveMetastore_create_database_pargs { public: + static const char* ascii_fingerprint; // = "BAA173319AAB1B660ECE7D895D8F1A31"; + static const uint8_t binary_fingerprint[16]; // = {0xBA,0xA1,0x73,0x31,0x9A,0xAB,0x1B,0x66,0x0E,0xCE,0x7D,0x89,0x5D,0x8F,0x1A,0x31}; - virtual ~ThriftHiveMetastore_create_database_pargs() throw() {} + virtual ~ThriftHiveMetastore_create_database_pargs() throw(); const Database* database; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_database_result__isset { _ThriftHiveMetastore_create_database_result__isset() : o1(false), o2(false), o3(false) {} - bool o1; - bool o2; - bool o3; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_create_database_result__isset; class ThriftHiveMetastore_create_database_result { public: + static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; + static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; + + ThriftHiveMetastore_create_database_result(const ThriftHiveMetastore_create_database_result&); + ThriftHiveMetastore_create_database_result& operator=(const ThriftHiveMetastore_create_database_result&); ThriftHiveMetastore_create_database_result() { } - virtual ~ThriftHiveMetastore_create_database_result() throw() {} - + virtual ~ThriftHiveMetastore_create_database_result() throw(); AlreadyExistsException o1; InvalidObjectException o2; MetaException o3; _ThriftHiveMetastore_create_database_result__isset __isset; - void __set_o1(const AlreadyExistsException& val) { - o1 = val; - } + void __set_o1(const AlreadyExistsException& val); - void __set_o2(const InvalidObjectException& val) { - o2 = val; - } + void __set_o2(const InvalidObjectException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_create_database_result & rhs) const { @@ -900,21 +928,24 @@ class ThriftHiveMetastore_create_database_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_result& obj); }; typedef struct _ThriftHiveMetastore_create_database_presult__isset { _ThriftHiveMetastore_create_database_presult__isset() : o1(false), o2(false), o3(false) {} - bool o1; - bool o2; - bool o3; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_create_database_presult__isset; class ThriftHiveMetastore_create_database_presult { public: + static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; + static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; - virtual ~ThriftHiveMetastore_create_database_presult() throw() {} + virtual ~ThriftHiveMetastore_create_database_presult() throw(); AlreadyExistsException o1; InvalidObjectException o2; MetaException o3; @@ -923,28 +954,31 @@ class ThriftHiveMetastore_create_database_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_presult& obj); }; typedef struct _ThriftHiveMetastore_get_database_args__isset { _ThriftHiveMetastore_get_database_args__isset() : name(false) {} - bool name; + bool name :1; } _ThriftHiveMetastore_get_database_args__isset; class ThriftHiveMetastore_get_database_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_get_database_args(const ThriftHiveMetastore_get_database_args&); + ThriftHiveMetastore_get_database_args& operator=(const ThriftHiveMetastore_get_database_args&); ThriftHiveMetastore_get_database_args() : name() { } - virtual ~ThriftHiveMetastore_get_database_args() throw() {} - + virtual ~ThriftHiveMetastore_get_database_args() throw(); std::string name; _ThriftHiveMetastore_get_database_args__isset __isset; - void __set_name(const std::string& val) { - name = val; - } + void __set_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_database_args & rhs) const { @@ -961,53 +995,55 @@ class ThriftHiveMetastore_get_database_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_args& obj); }; class ThriftHiveMetastore_get_database_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_get_database_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_database_pargs() throw(); const std::string* name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_database_result__isset { _ThriftHiveMetastore_get_database_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_database_result__isset; class ThriftHiveMetastore_get_database_result { public: + static const char* ascii_fingerprint; // = "C73ECEC4971924DCA9053333CB4A89A0"; + static const uint8_t binary_fingerprint[16]; // = {0xC7,0x3E,0xCE,0xC4,0x97,0x19,0x24,0xDC,0xA9,0x05,0x33,0x33,0xCB,0x4A,0x89,0xA0}; + + ThriftHiveMetastore_get_database_result(const ThriftHiveMetastore_get_database_result&); + ThriftHiveMetastore_get_database_result& operator=(const ThriftHiveMetastore_get_database_result&); ThriftHiveMetastore_get_database_result() { } - virtual ~ThriftHiveMetastore_get_database_result() throw() {} - + virtual ~ThriftHiveMetastore_get_database_result() throw(); Database success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_get_database_result__isset __isset; - void __set_success(const Database& val) { - success = val; - } + void __set_success(const Database& val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_database_result & rhs) const { @@ -1028,21 +1064,24 @@ class ThriftHiveMetastore_get_database_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_result& obj); }; typedef struct _ThriftHiveMetastore_get_database_presult__isset { _ThriftHiveMetastore_get_database_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_database_presult__isset; class ThriftHiveMetastore_get_database_presult { public: + static const char* ascii_fingerprint; // = "C73ECEC4971924DCA9053333CB4A89A0"; + static const uint8_t binary_fingerprint[16]; // = {0xC7,0x3E,0xCE,0xC4,0x97,0x19,0x24,0xDC,0xA9,0x05,0x33,0x33,0xCB,0x4A,0x89,0xA0}; - virtual ~ThriftHiveMetastore_get_database_presult() throw() {} + virtual ~ThriftHiveMetastore_get_database_presult() throw(); Database* success; NoSuchObjectException o1; MetaException o2; @@ -1051,40 +1090,39 @@ class ThriftHiveMetastore_get_database_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_database_args__isset { _ThriftHiveMetastore_drop_database_args__isset() : name(false), deleteData(false), cascade(false) {} - bool name; - bool deleteData; - bool cascade; + bool name :1; + bool deleteData :1; + bool cascade :1; } _ThriftHiveMetastore_drop_database_args__isset; class ThriftHiveMetastore_drop_database_args { public: + static const char* ascii_fingerprint; // = "B8E1E91B0E4D1772237E387EEB23B1B0"; + static const uint8_t binary_fingerprint[16]; // = {0xB8,0xE1,0xE9,0x1B,0x0E,0x4D,0x17,0x72,0x23,0x7E,0x38,0x7E,0xEB,0x23,0xB1,0xB0}; + + ThriftHiveMetastore_drop_database_args(const ThriftHiveMetastore_drop_database_args&); + ThriftHiveMetastore_drop_database_args& operator=(const ThriftHiveMetastore_drop_database_args&); ThriftHiveMetastore_drop_database_args() : name(), deleteData(0), cascade(0) { } - virtual ~ThriftHiveMetastore_drop_database_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_database_args() throw(); std::string name; bool deleteData; bool cascade; _ThriftHiveMetastore_drop_database_args__isset __isset; - void __set_name(const std::string& val) { - name = val; - } + void __set_name(const std::string& val); - void __set_deleteData(const bool val) { - deleteData = val; - } + void __set_deleteData(const bool val); - void __set_cascade(const bool val) { - cascade = val; - } + void __set_cascade(const bool val); bool operator == (const ThriftHiveMetastore_drop_database_args & rhs) const { @@ -1105,55 +1143,57 @@ class ThriftHiveMetastore_drop_database_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_args& obj); }; class ThriftHiveMetastore_drop_database_pargs { public: + static const char* ascii_fingerprint; // = "B8E1E91B0E4D1772237E387EEB23B1B0"; + static const uint8_t binary_fingerprint[16]; // = {0xB8,0xE1,0xE9,0x1B,0x0E,0x4D,0x17,0x72,0x23,0x7E,0x38,0x7E,0xEB,0x23,0xB1,0xB0}; - virtual ~ThriftHiveMetastore_drop_database_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_database_pargs() throw(); const std::string* name; const bool* deleteData; const bool* cascade; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_database_result__isset { _ThriftHiveMetastore_drop_database_result__isset() : o1(false), o2(false), o3(false) {} - bool o1; - bool o2; - bool o3; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_drop_database_result__isset; class ThriftHiveMetastore_drop_database_result { public: + static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; + static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; + + ThriftHiveMetastore_drop_database_result(const ThriftHiveMetastore_drop_database_result&); + ThriftHiveMetastore_drop_database_result& operator=(const ThriftHiveMetastore_drop_database_result&); ThriftHiveMetastore_drop_database_result() { } - virtual ~ThriftHiveMetastore_drop_database_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_database_result() throw(); NoSuchObjectException o1; InvalidOperationException o2; MetaException o3; _ThriftHiveMetastore_drop_database_result__isset __isset; - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const InvalidOperationException& val) { - o2 = val; - } + void __set_o2(const InvalidOperationException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_drop_database_result & rhs) const { @@ -1174,21 +1214,24 @@ class ThriftHiveMetastore_drop_database_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_result& obj); }; typedef struct _ThriftHiveMetastore_drop_database_presult__isset { _ThriftHiveMetastore_drop_database_presult__isset() : o1(false), o2(false), o3(false) {} - bool o1; - bool o2; - bool o3; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_drop_database_presult__isset; class ThriftHiveMetastore_drop_database_presult { public: + static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; + static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; - virtual ~ThriftHiveMetastore_drop_database_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_database_presult() throw(); NoSuchObjectException o1; InvalidOperationException o2; MetaException o3; @@ -1197,28 +1240,31 @@ class ThriftHiveMetastore_drop_database_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_presult& obj); }; typedef struct _ThriftHiveMetastore_get_databases_args__isset { _ThriftHiveMetastore_get_databases_args__isset() : pattern(false) {} - bool pattern; + bool pattern :1; } _ThriftHiveMetastore_get_databases_args__isset; class ThriftHiveMetastore_get_databases_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_get_databases_args(const ThriftHiveMetastore_get_databases_args&); + ThriftHiveMetastore_get_databases_args& operator=(const ThriftHiveMetastore_get_databases_args&); ThriftHiveMetastore_get_databases_args() : pattern() { } - virtual ~ThriftHiveMetastore_get_databases_args() throw() {} - + virtual ~ThriftHiveMetastore_get_databases_args() throw(); std::string pattern; _ThriftHiveMetastore_get_databases_args__isset __isset; - void __set_pattern(const std::string& val) { - pattern = val; - } + void __set_pattern(const std::string& val); bool operator == (const ThriftHiveMetastore_get_databases_args & rhs) const { @@ -1235,47 +1281,51 @@ class ThriftHiveMetastore_get_databases_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_args& obj); }; class ThriftHiveMetastore_get_databases_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_get_databases_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_databases_pargs() throw(); const std::string* pattern; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_databases_result__isset { _ThriftHiveMetastore_get_databases_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_databases_result__isset; class ThriftHiveMetastore_get_databases_result { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; + + ThriftHiveMetastore_get_databases_result(const ThriftHiveMetastore_get_databases_result&); + ThriftHiveMetastore_get_databases_result& operator=(const ThriftHiveMetastore_get_databases_result&); ThriftHiveMetastore_get_databases_result() { } - virtual ~ThriftHiveMetastore_get_databases_result() throw() {} - + virtual ~ThriftHiveMetastore_get_databases_result() throw(); std::vector success; MetaException o1; _ThriftHiveMetastore_get_databases_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_databases_result & rhs) const { @@ -1294,20 +1344,23 @@ class ThriftHiveMetastore_get_databases_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_result& obj); }; typedef struct _ThriftHiveMetastore_get_databases_presult__isset { _ThriftHiveMetastore_get_databases_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_databases_presult__isset; class ThriftHiveMetastore_get_databases_presult { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_databases_presult() throw() {} + virtual ~ThriftHiveMetastore_get_databases_presult() throw(); std::vector * success; MetaException o1; @@ -1315,17 +1368,22 @@ class ThriftHiveMetastore_get_databases_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_presult& obj); }; class ThriftHiveMetastore_get_all_databases_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHiveMetastore_get_all_databases_args(const ThriftHiveMetastore_get_all_databases_args&); + ThriftHiveMetastore_get_all_databases_args& operator=(const ThriftHiveMetastore_get_all_databases_args&); ThriftHiveMetastore_get_all_databases_args() { } - virtual ~ThriftHiveMetastore_get_all_databases_args() throw() {} - + virtual ~ThriftHiveMetastore_get_all_databases_args() throw(); bool operator == (const ThriftHiveMetastore_get_all_databases_args & /* rhs */) const { @@ -1340,46 +1398,50 @@ class ThriftHiveMetastore_get_all_databases_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_args& obj); }; class ThriftHiveMetastore_get_all_databases_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_get_all_databases_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_all_databases_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_all_databases_result__isset { _ThriftHiveMetastore_get_all_databases_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_all_databases_result__isset; class ThriftHiveMetastore_get_all_databases_result { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; + + ThriftHiveMetastore_get_all_databases_result(const ThriftHiveMetastore_get_all_databases_result&); + ThriftHiveMetastore_get_all_databases_result& operator=(const ThriftHiveMetastore_get_all_databases_result&); ThriftHiveMetastore_get_all_databases_result() { } - virtual ~ThriftHiveMetastore_get_all_databases_result() throw() {} - + virtual ~ThriftHiveMetastore_get_all_databases_result() throw(); std::vector success; MetaException o1; _ThriftHiveMetastore_get_all_databases_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_all_databases_result & rhs) const { @@ -1398,20 +1460,23 @@ class ThriftHiveMetastore_get_all_databases_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_result& obj); }; typedef struct _ThriftHiveMetastore_get_all_databases_presult__isset { _ThriftHiveMetastore_get_all_databases_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_all_databases_presult__isset; class ThriftHiveMetastore_get_all_databases_presult { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_all_databases_presult() throw() {} + virtual ~ThriftHiveMetastore_get_all_databases_presult() throw(); std::vector * success; MetaException o1; @@ -1419,34 +1484,35 @@ class ThriftHiveMetastore_get_all_databases_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_database_args__isset { _ThriftHiveMetastore_alter_database_args__isset() : dbname(false), db(false) {} - bool dbname; - bool db; + bool dbname :1; + bool db :1; } _ThriftHiveMetastore_alter_database_args__isset; class ThriftHiveMetastore_alter_database_args { public: + static const char* ascii_fingerprint; // = "B314C1FCA7295CFE5872A037139333A5"; + static const uint8_t binary_fingerprint[16]; // = {0xB3,0x14,0xC1,0xFC,0xA7,0x29,0x5C,0xFE,0x58,0x72,0xA0,0x37,0x13,0x93,0x33,0xA5}; + + ThriftHiveMetastore_alter_database_args(const ThriftHiveMetastore_alter_database_args&); + ThriftHiveMetastore_alter_database_args& operator=(const ThriftHiveMetastore_alter_database_args&); ThriftHiveMetastore_alter_database_args() : dbname() { } - virtual ~ThriftHiveMetastore_alter_database_args() throw() {} - + virtual ~ThriftHiveMetastore_alter_database_args() throw(); std::string dbname; Database db; _ThriftHiveMetastore_alter_database_args__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_db(const Database& val) { - db = val; - } + void __set_db(const Database& val); bool operator == (const ThriftHiveMetastore_alter_database_args & rhs) const { @@ -1465,48 +1531,52 @@ class ThriftHiveMetastore_alter_database_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_args& obj); }; class ThriftHiveMetastore_alter_database_pargs { public: + static const char* ascii_fingerprint; // = "B314C1FCA7295CFE5872A037139333A5"; + static const uint8_t binary_fingerprint[16]; // = {0xB3,0x14,0xC1,0xFC,0xA7,0x29,0x5C,0xFE,0x58,0x72,0xA0,0x37,0x13,0x93,0x33,0xA5}; - virtual ~ThriftHiveMetastore_alter_database_pargs() throw() {} + virtual ~ThriftHiveMetastore_alter_database_pargs() throw(); const std::string* dbname; const Database* db; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_database_result__isset { _ThriftHiveMetastore_alter_database_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_database_result__isset; class ThriftHiveMetastore_alter_database_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_alter_database_result(const ThriftHiveMetastore_alter_database_result&); + ThriftHiveMetastore_alter_database_result& operator=(const ThriftHiveMetastore_alter_database_result&); ThriftHiveMetastore_alter_database_result() { } - virtual ~ThriftHiveMetastore_alter_database_result() throw() {} - + virtual ~ThriftHiveMetastore_alter_database_result() throw(); MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_alter_database_result__isset __isset; - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_alter_database_result & rhs) const { @@ -1525,20 +1595,23 @@ class ThriftHiveMetastore_alter_database_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_result& obj); }; typedef struct _ThriftHiveMetastore_alter_database_presult__isset { _ThriftHiveMetastore_alter_database_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_database_presult__isset; class ThriftHiveMetastore_alter_database_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_database_presult() throw() {} + virtual ~ThriftHiveMetastore_alter_database_presult() throw(); MetaException o1; NoSuchObjectException o2; @@ -1546,28 +1619,31 @@ class ThriftHiveMetastore_alter_database_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_presult& obj); }; typedef struct _ThriftHiveMetastore_get_type_args__isset { _ThriftHiveMetastore_get_type_args__isset() : name(false) {} - bool name; + bool name :1; } _ThriftHiveMetastore_get_type_args__isset; class ThriftHiveMetastore_get_type_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_get_type_args(const ThriftHiveMetastore_get_type_args&); + ThriftHiveMetastore_get_type_args& operator=(const ThriftHiveMetastore_get_type_args&); ThriftHiveMetastore_get_type_args() : name() { } - virtual ~ThriftHiveMetastore_get_type_args() throw() {} - + virtual ~ThriftHiveMetastore_get_type_args() throw(); std::string name; _ThriftHiveMetastore_get_type_args__isset __isset; - void __set_name(const std::string& val) { - name = val; - } + void __set_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_type_args & rhs) const { @@ -1584,53 +1660,55 @@ class ThriftHiveMetastore_get_type_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_args& obj); }; class ThriftHiveMetastore_get_type_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_get_type_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_type_pargs() throw(); const std::string* name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_type_result__isset { _ThriftHiveMetastore_get_type_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_type_result__isset; class ThriftHiveMetastore_get_type_result { public: + static const char* ascii_fingerprint; // = "FB3C6A03581A125ACD392DBF486E3393"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x6A,0x03,0x58,0x1A,0x12,0x5A,0xCD,0x39,0x2D,0xBF,0x48,0x6E,0x33,0x93}; + + ThriftHiveMetastore_get_type_result(const ThriftHiveMetastore_get_type_result&); + ThriftHiveMetastore_get_type_result& operator=(const ThriftHiveMetastore_get_type_result&); ThriftHiveMetastore_get_type_result() { } - virtual ~ThriftHiveMetastore_get_type_result() throw() {} - + virtual ~ThriftHiveMetastore_get_type_result() throw(); Type success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_type_result__isset __isset; - void __set_success(const Type& val) { - success = val; - } + void __set_success(const Type& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_type_result & rhs) const { @@ -1651,21 +1729,24 @@ class ThriftHiveMetastore_get_type_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_result& obj); }; typedef struct _ThriftHiveMetastore_get_type_presult__isset { _ThriftHiveMetastore_get_type_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_type_presult__isset; class ThriftHiveMetastore_get_type_presult { public: + static const char* ascii_fingerprint; // = "FB3C6A03581A125ACD392DBF486E3393"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x6A,0x03,0x58,0x1A,0x12,0x5A,0xCD,0x39,0x2D,0xBF,0x48,0x6E,0x33,0x93}; - virtual ~ThriftHiveMetastore_get_type_presult() throw() {} + virtual ~ThriftHiveMetastore_get_type_presult() throw(); Type* success; MetaException o1; NoSuchObjectException o2; @@ -1674,28 +1755,31 @@ class ThriftHiveMetastore_get_type_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_presult& obj); }; typedef struct _ThriftHiveMetastore_create_type_args__isset { _ThriftHiveMetastore_create_type_args__isset() : type(false) {} - bool type; + bool type :1; } _ThriftHiveMetastore_create_type_args__isset; class ThriftHiveMetastore_create_type_args { public: + static const char* ascii_fingerprint; // = "9A5D4BC8553C4C253DA189914EB026F0"; + static const uint8_t binary_fingerprint[16]; // = {0x9A,0x5D,0x4B,0xC8,0x55,0x3C,0x4C,0x25,0x3D,0xA1,0x89,0x91,0x4E,0xB0,0x26,0xF0}; + + ThriftHiveMetastore_create_type_args(const ThriftHiveMetastore_create_type_args&); + ThriftHiveMetastore_create_type_args& operator=(const ThriftHiveMetastore_create_type_args&); ThriftHiveMetastore_create_type_args() { } - virtual ~ThriftHiveMetastore_create_type_args() throw() {} - + virtual ~ThriftHiveMetastore_create_type_args() throw(); Type type; _ThriftHiveMetastore_create_type_args__isset __isset; - void __set_type(const Type& val) { - type = val; - } + void __set_type(const Type& val); bool operator == (const ThriftHiveMetastore_create_type_args & rhs) const { @@ -1712,37 +1796,45 @@ class ThriftHiveMetastore_create_type_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_args& obj); }; class ThriftHiveMetastore_create_type_pargs { public: + static const char* ascii_fingerprint; // = "9A5D4BC8553C4C253DA189914EB026F0"; + static const uint8_t binary_fingerprint[16]; // = {0x9A,0x5D,0x4B,0xC8,0x55,0x3C,0x4C,0x25,0x3D,0xA1,0x89,0x91,0x4E,0xB0,0x26,0xF0}; - virtual ~ThriftHiveMetastore_create_type_pargs() throw() {} + virtual ~ThriftHiveMetastore_create_type_pargs() throw(); const Type* type; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_type_result__isset { _ThriftHiveMetastore_create_type_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_create_type_result__isset; class ThriftHiveMetastore_create_type_result { public: + static const char* ascii_fingerprint; // = "BEFA80ACD0D12B069F160582E1F44215"; + static const uint8_t binary_fingerprint[16]; // = {0xBE,0xFA,0x80,0xAC,0xD0,0xD1,0x2B,0x06,0x9F,0x16,0x05,0x82,0xE1,0xF4,0x42,0x15}; + + ThriftHiveMetastore_create_type_result(const ThriftHiveMetastore_create_type_result&); + ThriftHiveMetastore_create_type_result& operator=(const ThriftHiveMetastore_create_type_result&); ThriftHiveMetastore_create_type_result() : success(0) { } - virtual ~ThriftHiveMetastore_create_type_result() throw() {} - + virtual ~ThriftHiveMetastore_create_type_result() throw(); bool success; AlreadyExistsException o1; InvalidObjectException o2; @@ -1750,21 +1842,13 @@ class ThriftHiveMetastore_create_type_result { _ThriftHiveMetastore_create_type_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const AlreadyExistsException& val) { - o1 = val; - } + void __set_o1(const AlreadyExistsException& val); - void __set_o2(const InvalidObjectException& val) { - o2 = val; - } + void __set_o2(const InvalidObjectException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_create_type_result & rhs) const { @@ -1787,22 +1871,25 @@ class ThriftHiveMetastore_create_type_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_result& obj); }; typedef struct _ThriftHiveMetastore_create_type_presult__isset { _ThriftHiveMetastore_create_type_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_create_type_presult__isset; class ThriftHiveMetastore_create_type_presult { public: + static const char* ascii_fingerprint; // = "BEFA80ACD0D12B069F160582E1F44215"; + static const uint8_t binary_fingerprint[16]; // = {0xBE,0xFA,0x80,0xAC,0xD0,0xD1,0x2B,0x06,0x9F,0x16,0x05,0x82,0xE1,0xF4,0x42,0x15}; - virtual ~ThriftHiveMetastore_create_type_presult() throw() {} + virtual ~ThriftHiveMetastore_create_type_presult() throw(); bool* success; AlreadyExistsException o1; InvalidObjectException o2; @@ -1812,28 +1899,31 @@ class ThriftHiveMetastore_create_type_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_type_args__isset { _ThriftHiveMetastore_drop_type_args__isset() : type(false) {} - bool type; + bool type :1; } _ThriftHiveMetastore_drop_type_args__isset; class ThriftHiveMetastore_drop_type_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_drop_type_args(const ThriftHiveMetastore_drop_type_args&); + ThriftHiveMetastore_drop_type_args& operator=(const ThriftHiveMetastore_drop_type_args&); ThriftHiveMetastore_drop_type_args() : type() { } - virtual ~ThriftHiveMetastore_drop_type_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_type_args() throw(); std::string type; _ThriftHiveMetastore_drop_type_args__isset __isset; - void __set_type(const std::string& val) { - type = val; - } + void __set_type(const std::string& val); bool operator == (const ThriftHiveMetastore_drop_type_args & rhs) const { @@ -1850,53 +1940,55 @@ class ThriftHiveMetastore_drop_type_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_args& obj); }; class ThriftHiveMetastore_drop_type_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_drop_type_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_type_pargs() throw(); const std::string* type; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_type_result__isset { _ThriftHiveMetastore_drop_type_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_type_result__isset; class ThriftHiveMetastore_drop_type_result { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; + + ThriftHiveMetastore_drop_type_result(const ThriftHiveMetastore_drop_type_result&); + ThriftHiveMetastore_drop_type_result& operator=(const ThriftHiveMetastore_drop_type_result&); ThriftHiveMetastore_drop_type_result() : success(0) { } - virtual ~ThriftHiveMetastore_drop_type_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_type_result() throw(); bool success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_drop_type_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_drop_type_result & rhs) const { @@ -1917,21 +2009,24 @@ class ThriftHiveMetastore_drop_type_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_result& obj); }; typedef struct _ThriftHiveMetastore_drop_type_presult__isset { _ThriftHiveMetastore_drop_type_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_type_presult__isset; class ThriftHiveMetastore_drop_type_presult { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_type_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_type_presult() throw(); bool* success; MetaException o1; NoSuchObjectException o2; @@ -1940,28 +2035,31 @@ class ThriftHiveMetastore_drop_type_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_presult& obj); }; typedef struct _ThriftHiveMetastore_get_type_all_args__isset { _ThriftHiveMetastore_get_type_all_args__isset() : name(false) {} - bool name; + bool name :1; } _ThriftHiveMetastore_get_type_all_args__isset; class ThriftHiveMetastore_get_type_all_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_get_type_all_args(const ThriftHiveMetastore_get_type_all_args&); + ThriftHiveMetastore_get_type_all_args& operator=(const ThriftHiveMetastore_get_type_all_args&); ThriftHiveMetastore_get_type_all_args() : name() { } - virtual ~ThriftHiveMetastore_get_type_all_args() throw() {} - + virtual ~ThriftHiveMetastore_get_type_all_args() throw(); std::string name; _ThriftHiveMetastore_get_type_all_args__isset __isset; - void __set_name(const std::string& val) { - name = val; - } + void __set_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_type_all_args & rhs) const { @@ -1978,47 +2076,51 @@ class ThriftHiveMetastore_get_type_all_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_args& obj); }; class ThriftHiveMetastore_get_type_all_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_get_type_all_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_type_all_pargs() throw(); const std::string* name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_type_all_result__isset { _ThriftHiveMetastore_get_type_all_result__isset() : success(false), o2(false) {} - bool success; - bool o2; + bool success :1; + bool o2 :1; } _ThriftHiveMetastore_get_type_all_result__isset; class ThriftHiveMetastore_get_type_all_result { public: + static const char* ascii_fingerprint; // = "4AD9FFB783428C996DEB713D38DA38C4"; + static const uint8_t binary_fingerprint[16]; // = {0x4A,0xD9,0xFF,0xB7,0x83,0x42,0x8C,0x99,0x6D,0xEB,0x71,0x3D,0x38,0xDA,0x38,0xC4}; + + ThriftHiveMetastore_get_type_all_result(const ThriftHiveMetastore_get_type_all_result&); + ThriftHiveMetastore_get_type_all_result& operator=(const ThriftHiveMetastore_get_type_all_result&); ThriftHiveMetastore_get_type_all_result() { } - virtual ~ThriftHiveMetastore_get_type_all_result() throw() {} - + virtual ~ThriftHiveMetastore_get_type_all_result() throw(); std::map success; MetaException o2; _ThriftHiveMetastore_get_type_all_result__isset __isset; - void __set_success(const std::map & val) { - success = val; - } + void __set_success(const std::map & val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_type_all_result & rhs) const { @@ -2037,20 +2139,23 @@ class ThriftHiveMetastore_get_type_all_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_result& obj); }; typedef struct _ThriftHiveMetastore_get_type_all_presult__isset { _ThriftHiveMetastore_get_type_all_presult__isset() : success(false), o2(false) {} - bool success; - bool o2; + bool success :1; + bool o2 :1; } _ThriftHiveMetastore_get_type_all_presult__isset; class ThriftHiveMetastore_get_type_all_presult { public: + static const char* ascii_fingerprint; // = "4AD9FFB783428C996DEB713D38DA38C4"; + static const uint8_t binary_fingerprint[16]; // = {0x4A,0xD9,0xFF,0xB7,0x83,0x42,0x8C,0x99,0x6D,0xEB,0x71,0x3D,0x38,0xDA,0x38,0xC4}; - virtual ~ThriftHiveMetastore_get_type_all_presult() throw() {} + virtual ~ThriftHiveMetastore_get_type_all_presult() throw(); std::map * success; MetaException o2; @@ -2058,34 +2163,35 @@ class ThriftHiveMetastore_get_type_all_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_presult& obj); }; typedef struct _ThriftHiveMetastore_get_fields_args__isset { _ThriftHiveMetastore_get_fields_args__isset() : db_name(false), table_name(false) {} - bool db_name; - bool table_name; + bool db_name :1; + bool table_name :1; } _ThriftHiveMetastore_get_fields_args__isset; class ThriftHiveMetastore_get_fields_args { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + + ThriftHiveMetastore_get_fields_args(const ThriftHiveMetastore_get_fields_args&); + ThriftHiveMetastore_get_fields_args& operator=(const ThriftHiveMetastore_get_fields_args&); ThriftHiveMetastore_get_fields_args() : db_name(), table_name() { } - virtual ~ThriftHiveMetastore_get_fields_args() throw() {} - + virtual ~ThriftHiveMetastore_get_fields_args() throw(); std::string db_name; std::string table_name; _ThriftHiveMetastore_get_fields_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_table_name(const std::string& val) { - table_name = val; - } + void __set_table_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_fields_args & rhs) const { @@ -2104,38 +2210,46 @@ class ThriftHiveMetastore_get_fields_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_args& obj); }; class ThriftHiveMetastore_get_fields_pargs { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_fields_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_fields_pargs() throw(); const std::string* db_name; const std::string* table_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_fields_result__isset { _ThriftHiveMetastore_get_fields_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_fields_result__isset; class ThriftHiveMetastore_get_fields_result { public: + static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; + static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; + + ThriftHiveMetastore_get_fields_result(const ThriftHiveMetastore_get_fields_result&); + ThriftHiveMetastore_get_fields_result& operator=(const ThriftHiveMetastore_get_fields_result&); ThriftHiveMetastore_get_fields_result() { } - virtual ~ThriftHiveMetastore_get_fields_result() throw() {} - + virtual ~ThriftHiveMetastore_get_fields_result() throw(); std::vector success; MetaException o1; UnknownTableException o2; @@ -2143,21 +2257,13 @@ class ThriftHiveMetastore_get_fields_result { _ThriftHiveMetastore_get_fields_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const UnknownTableException& val) { - o2 = val; - } + void __set_o2(const UnknownTableException& val); - void __set_o3(const UnknownDBException& val) { - o3 = val; - } + void __set_o3(const UnknownDBException& val); bool operator == (const ThriftHiveMetastore_get_fields_result & rhs) const { @@ -2180,22 +2286,25 @@ class ThriftHiveMetastore_get_fields_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_result& obj); }; typedef struct _ThriftHiveMetastore_get_fields_presult__isset { _ThriftHiveMetastore_get_fields_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_fields_presult__isset; class ThriftHiveMetastore_get_fields_presult { public: + static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; + static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - virtual ~ThriftHiveMetastore_get_fields_presult() throw() {} + virtual ~ThriftHiveMetastore_get_fields_presult() throw(); std::vector * success; MetaException o1; UnknownTableException o2; @@ -2205,40 +2314,39 @@ class ThriftHiveMetastore_get_fields_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_presult& obj); }; typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_args__isset { _ThriftHiveMetastore_get_fields_with_environment_context_args__isset() : db_name(false), table_name(false), environment_context(false) {} - bool db_name; - bool table_name; - bool environment_context; + bool db_name :1; + bool table_name :1; + bool environment_context :1; } _ThriftHiveMetastore_get_fields_with_environment_context_args__isset; class ThriftHiveMetastore_get_fields_with_environment_context_args { public: + static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE"; + static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE}; + + ThriftHiveMetastore_get_fields_with_environment_context_args(const ThriftHiveMetastore_get_fields_with_environment_context_args&); + ThriftHiveMetastore_get_fields_with_environment_context_args& operator=(const ThriftHiveMetastore_get_fields_with_environment_context_args&); ThriftHiveMetastore_get_fields_with_environment_context_args() : db_name(), table_name() { } - virtual ~ThriftHiveMetastore_get_fields_with_environment_context_args() throw() {} - + virtual ~ThriftHiveMetastore_get_fields_with_environment_context_args() throw(); std::string db_name; std::string table_name; EnvironmentContext environment_context; _ThriftHiveMetastore_get_fields_with_environment_context_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_table_name(const std::string& val) { - table_name = val; - } + void __set_table_name(const std::string& val); - void __set_environment_context(const EnvironmentContext& val) { - environment_context = val; - } + void __set_environment_context(const EnvironmentContext& val); bool operator == (const ThriftHiveMetastore_get_fields_with_environment_context_args & rhs) const { @@ -2259,39 +2367,47 @@ class ThriftHiveMetastore_get_fields_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_args& obj); }; class ThriftHiveMetastore_get_fields_with_environment_context_pargs { public: + static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE"; + static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE}; - virtual ~ThriftHiveMetastore_get_fields_with_environment_context_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_fields_with_environment_context_pargs() throw(); const std::string* db_name; const std::string* table_name; const EnvironmentContext* environment_context; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_result__isset { _ThriftHiveMetastore_get_fields_with_environment_context_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_fields_with_environment_context_result__isset; class ThriftHiveMetastore_get_fields_with_environment_context_result { public: + static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; + static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; + + ThriftHiveMetastore_get_fields_with_environment_context_result(const ThriftHiveMetastore_get_fields_with_environment_context_result&); + ThriftHiveMetastore_get_fields_with_environment_context_result& operator=(const ThriftHiveMetastore_get_fields_with_environment_context_result&); ThriftHiveMetastore_get_fields_with_environment_context_result() { } - virtual ~ThriftHiveMetastore_get_fields_with_environment_context_result() throw() {} - + virtual ~ThriftHiveMetastore_get_fields_with_environment_context_result() throw(); std::vector success; MetaException o1; UnknownTableException o2; @@ -2299,21 +2415,13 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { _ThriftHiveMetastore_get_fields_with_environment_context_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const UnknownTableException& val) { - o2 = val; - } + void __set_o2(const UnknownTableException& val); - void __set_o3(const UnknownDBException& val) { - o3 = val; - } + void __set_o3(const UnknownDBException& val); bool operator == (const ThriftHiveMetastore_get_fields_with_environment_context_result & rhs) const { @@ -2336,22 +2444,25 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_presult__isset { _ThriftHiveMetastore_get_fields_with_environment_context_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_fields_with_environment_context_presult__isset; class ThriftHiveMetastore_get_fields_with_environment_context_presult { public: + static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; + static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - virtual ~ThriftHiveMetastore_get_fields_with_environment_context_presult() throw() {} + virtual ~ThriftHiveMetastore_get_fields_with_environment_context_presult() throw(); std::vector * success; MetaException o1; UnknownTableException o2; @@ -2361,34 +2472,35 @@ class ThriftHiveMetastore_get_fields_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_get_schema_args__isset { _ThriftHiveMetastore_get_schema_args__isset() : db_name(false), table_name(false) {} - bool db_name; - bool table_name; + bool db_name :1; + bool table_name :1; } _ThriftHiveMetastore_get_schema_args__isset; class ThriftHiveMetastore_get_schema_args { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + + ThriftHiveMetastore_get_schema_args(const ThriftHiveMetastore_get_schema_args&); + ThriftHiveMetastore_get_schema_args& operator=(const ThriftHiveMetastore_get_schema_args&); ThriftHiveMetastore_get_schema_args() : db_name(), table_name() { } - virtual ~ThriftHiveMetastore_get_schema_args() throw() {} - + virtual ~ThriftHiveMetastore_get_schema_args() throw(); std::string db_name; std::string table_name; _ThriftHiveMetastore_get_schema_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_table_name(const std::string& val) { - table_name = val; - } + void __set_table_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_schema_args & rhs) const { @@ -2407,38 +2519,46 @@ class ThriftHiveMetastore_get_schema_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_args& obj); }; class ThriftHiveMetastore_get_schema_pargs { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_schema_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_schema_pargs() throw(); const std::string* db_name; const std::string* table_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_schema_result__isset { _ThriftHiveMetastore_get_schema_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_schema_result__isset; class ThriftHiveMetastore_get_schema_result { public: + static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; + static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; + + ThriftHiveMetastore_get_schema_result(const ThriftHiveMetastore_get_schema_result&); + ThriftHiveMetastore_get_schema_result& operator=(const ThriftHiveMetastore_get_schema_result&); ThriftHiveMetastore_get_schema_result() { } - virtual ~ThriftHiveMetastore_get_schema_result() throw() {} - + virtual ~ThriftHiveMetastore_get_schema_result() throw(); std::vector success; MetaException o1; UnknownTableException o2; @@ -2446,21 +2566,13 @@ class ThriftHiveMetastore_get_schema_result { _ThriftHiveMetastore_get_schema_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const UnknownTableException& val) { - o2 = val; - } + void __set_o2(const UnknownTableException& val); - void __set_o3(const UnknownDBException& val) { - o3 = val; - } + void __set_o3(const UnknownDBException& val); bool operator == (const ThriftHiveMetastore_get_schema_result & rhs) const { @@ -2483,22 +2595,25 @@ class ThriftHiveMetastore_get_schema_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_result& obj); }; typedef struct _ThriftHiveMetastore_get_schema_presult__isset { _ThriftHiveMetastore_get_schema_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_schema_presult__isset; class ThriftHiveMetastore_get_schema_presult { public: + static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; + static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - virtual ~ThriftHiveMetastore_get_schema_presult() throw() {} + virtual ~ThriftHiveMetastore_get_schema_presult() throw(); std::vector * success; MetaException o1; UnknownTableException o2; @@ -2508,40 +2623,39 @@ class ThriftHiveMetastore_get_schema_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_presult& obj); }; typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_args__isset { _ThriftHiveMetastore_get_schema_with_environment_context_args__isset() : db_name(false), table_name(false), environment_context(false) {} - bool db_name; - bool table_name; - bool environment_context; + bool db_name :1; + bool table_name :1; + bool environment_context :1; } _ThriftHiveMetastore_get_schema_with_environment_context_args__isset; class ThriftHiveMetastore_get_schema_with_environment_context_args { public: + static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE"; + static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE}; + + ThriftHiveMetastore_get_schema_with_environment_context_args(const ThriftHiveMetastore_get_schema_with_environment_context_args&); + ThriftHiveMetastore_get_schema_with_environment_context_args& operator=(const ThriftHiveMetastore_get_schema_with_environment_context_args&); ThriftHiveMetastore_get_schema_with_environment_context_args() : db_name(), table_name() { } - virtual ~ThriftHiveMetastore_get_schema_with_environment_context_args() throw() {} - + virtual ~ThriftHiveMetastore_get_schema_with_environment_context_args() throw(); std::string db_name; std::string table_name; EnvironmentContext environment_context; _ThriftHiveMetastore_get_schema_with_environment_context_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_table_name(const std::string& val) { - table_name = val; - } + void __set_table_name(const std::string& val); - void __set_environment_context(const EnvironmentContext& val) { - environment_context = val; - } + void __set_environment_context(const EnvironmentContext& val); bool operator == (const ThriftHiveMetastore_get_schema_with_environment_context_args & rhs) const { @@ -2562,39 +2676,47 @@ class ThriftHiveMetastore_get_schema_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_args& obj); }; class ThriftHiveMetastore_get_schema_with_environment_context_pargs { public: + static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE"; + static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE}; - virtual ~ThriftHiveMetastore_get_schema_with_environment_context_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_schema_with_environment_context_pargs() throw(); const std::string* db_name; const std::string* table_name; const EnvironmentContext* environment_context; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_result__isset { _ThriftHiveMetastore_get_schema_with_environment_context_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_schema_with_environment_context_result__isset; class ThriftHiveMetastore_get_schema_with_environment_context_result { public: + static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; + static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; + + ThriftHiveMetastore_get_schema_with_environment_context_result(const ThriftHiveMetastore_get_schema_with_environment_context_result&); + ThriftHiveMetastore_get_schema_with_environment_context_result& operator=(const ThriftHiveMetastore_get_schema_with_environment_context_result&); ThriftHiveMetastore_get_schema_with_environment_context_result() { } - virtual ~ThriftHiveMetastore_get_schema_with_environment_context_result() throw() {} - + virtual ~ThriftHiveMetastore_get_schema_with_environment_context_result() throw(); std::vector success; MetaException o1; UnknownTableException o2; @@ -2602,21 +2724,13 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { _ThriftHiveMetastore_get_schema_with_environment_context_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const UnknownTableException& val) { - o2 = val; - } + void __set_o2(const UnknownTableException& val); - void __set_o3(const UnknownDBException& val) { - o3 = val; - } + void __set_o3(const UnknownDBException& val); bool operator == (const ThriftHiveMetastore_get_schema_with_environment_context_result & rhs) const { @@ -2639,22 +2753,25 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_presult__isset { _ThriftHiveMetastore_get_schema_with_environment_context_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_schema_with_environment_context_presult__isset; class ThriftHiveMetastore_get_schema_with_environment_context_presult { public: + static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; + static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - virtual ~ThriftHiveMetastore_get_schema_with_environment_context_presult() throw() {} + virtual ~ThriftHiveMetastore_get_schema_with_environment_context_presult() throw(); std::vector * success; MetaException o1; UnknownTableException o2; @@ -2664,28 +2781,31 @@ class ThriftHiveMetastore_get_schema_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_create_table_args__isset { _ThriftHiveMetastore_create_table_args__isset() : tbl(false) {} - bool tbl; + bool tbl :1; } _ThriftHiveMetastore_create_table_args__isset; class ThriftHiveMetastore_create_table_args { public: + static const char* ascii_fingerprint; // = "BD1951DCA22A23C9A7B1CD46ACAE54DB"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0x19,0x51,0xDC,0xA2,0x2A,0x23,0xC9,0xA7,0xB1,0xCD,0x46,0xAC,0xAE,0x54,0xDB}; + + ThriftHiveMetastore_create_table_args(const ThriftHiveMetastore_create_table_args&); + ThriftHiveMetastore_create_table_args& operator=(const ThriftHiveMetastore_create_table_args&); ThriftHiveMetastore_create_table_args() { } - virtual ~ThriftHiveMetastore_create_table_args() throw() {} - + virtual ~ThriftHiveMetastore_create_table_args() throw(); Table tbl; _ThriftHiveMetastore_create_table_args__isset __isset; - void __set_tbl(const Table& val) { - tbl = val; - } + void __set_tbl(const Table& val); bool operator == (const ThriftHiveMetastore_create_table_args & rhs) const { @@ -2702,37 +2822,45 @@ class ThriftHiveMetastore_create_table_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_args& obj); }; class ThriftHiveMetastore_create_table_pargs { public: + static const char* ascii_fingerprint; // = "BD1951DCA22A23C9A7B1CD46ACAE54DB"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0x19,0x51,0xDC,0xA2,0x2A,0x23,0xC9,0xA7,0xB1,0xCD,0x46,0xAC,0xAE,0x54,0xDB}; - virtual ~ThriftHiveMetastore_create_table_pargs() throw() {} + virtual ~ThriftHiveMetastore_create_table_pargs() throw(); const Table* tbl; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_table_result__isset { _ThriftHiveMetastore_create_table_result__isset() : o1(false), o2(false), o3(false), o4(false) {} - bool o1; - bool o2; - bool o3; - bool o4; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_create_table_result__isset; class ThriftHiveMetastore_create_table_result { public: + static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; + static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; + + ThriftHiveMetastore_create_table_result(const ThriftHiveMetastore_create_table_result&); + ThriftHiveMetastore_create_table_result& operator=(const ThriftHiveMetastore_create_table_result&); ThriftHiveMetastore_create_table_result() { } - virtual ~ThriftHiveMetastore_create_table_result() throw() {} - + virtual ~ThriftHiveMetastore_create_table_result() throw(); AlreadyExistsException o1; InvalidObjectException o2; MetaException o3; @@ -2740,21 +2868,13 @@ class ThriftHiveMetastore_create_table_result { _ThriftHiveMetastore_create_table_result__isset __isset; - void __set_o1(const AlreadyExistsException& val) { - o1 = val; - } + void __set_o1(const AlreadyExistsException& val); - void __set_o2(const InvalidObjectException& val) { - o2 = val; - } + void __set_o2(const InvalidObjectException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); - void __set_o4(const NoSuchObjectException& val) { - o4 = val; - } + void __set_o4(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_create_table_result & rhs) const { @@ -2777,22 +2897,25 @@ class ThriftHiveMetastore_create_table_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_result& obj); }; typedef struct _ThriftHiveMetastore_create_table_presult__isset { _ThriftHiveMetastore_create_table_presult__isset() : o1(false), o2(false), o3(false), o4(false) {} - bool o1; - bool o2; - bool o3; - bool o4; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_create_table_presult__isset; class ThriftHiveMetastore_create_table_presult { public: + static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; + static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; - virtual ~ThriftHiveMetastore_create_table_presult() throw() {} + virtual ~ThriftHiveMetastore_create_table_presult() throw(); AlreadyExistsException o1; InvalidObjectException o2; MetaException o3; @@ -2802,34 +2925,35 @@ class ThriftHiveMetastore_create_table_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_presult& obj); }; typedef struct _ThriftHiveMetastore_create_table_with_environment_context_args__isset { _ThriftHiveMetastore_create_table_with_environment_context_args__isset() : tbl(false), environment_context(false) {} - bool tbl; - bool environment_context; + bool tbl :1; + bool environment_context :1; } _ThriftHiveMetastore_create_table_with_environment_context_args__isset; class ThriftHiveMetastore_create_table_with_environment_context_args { public: + static const char* ascii_fingerprint; // = "095040B2E2E4564E171FB653FDCE0B95"; + static const uint8_t binary_fingerprint[16]; // = {0x09,0x50,0x40,0xB2,0xE2,0xE4,0x56,0x4E,0x17,0x1F,0xB6,0x53,0xFD,0xCE,0x0B,0x95}; + + ThriftHiveMetastore_create_table_with_environment_context_args(const ThriftHiveMetastore_create_table_with_environment_context_args&); + ThriftHiveMetastore_create_table_with_environment_context_args& operator=(const ThriftHiveMetastore_create_table_with_environment_context_args&); ThriftHiveMetastore_create_table_with_environment_context_args() { } - virtual ~ThriftHiveMetastore_create_table_with_environment_context_args() throw() {} - + virtual ~ThriftHiveMetastore_create_table_with_environment_context_args() throw(); Table tbl; EnvironmentContext environment_context; _ThriftHiveMetastore_create_table_with_environment_context_args__isset __isset; - void __set_tbl(const Table& val) { - tbl = val; - } + void __set_tbl(const Table& val); - void __set_environment_context(const EnvironmentContext& val) { - environment_context = val; - } + void __set_environment_context(const EnvironmentContext& val); bool operator == (const ThriftHiveMetastore_create_table_with_environment_context_args & rhs) const { @@ -2848,38 +2972,46 @@ class ThriftHiveMetastore_create_table_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_args& obj); }; class ThriftHiveMetastore_create_table_with_environment_context_pargs { public: + static const char* ascii_fingerprint; // = "095040B2E2E4564E171FB653FDCE0B95"; + static const uint8_t binary_fingerprint[16]; // = {0x09,0x50,0x40,0xB2,0xE2,0xE4,0x56,0x4E,0x17,0x1F,0xB6,0x53,0xFD,0xCE,0x0B,0x95}; - virtual ~ThriftHiveMetastore_create_table_with_environment_context_pargs() throw() {} + virtual ~ThriftHiveMetastore_create_table_with_environment_context_pargs() throw(); const Table* tbl; const EnvironmentContext* environment_context; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_table_with_environment_context_result__isset { _ThriftHiveMetastore_create_table_with_environment_context_result__isset() : o1(false), o2(false), o3(false), o4(false) {} - bool o1; - bool o2; - bool o3; - bool o4; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_create_table_with_environment_context_result__isset; class ThriftHiveMetastore_create_table_with_environment_context_result { public: + static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; + static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; + + ThriftHiveMetastore_create_table_with_environment_context_result(const ThriftHiveMetastore_create_table_with_environment_context_result&); + ThriftHiveMetastore_create_table_with_environment_context_result& operator=(const ThriftHiveMetastore_create_table_with_environment_context_result&); ThriftHiveMetastore_create_table_with_environment_context_result() { } - virtual ~ThriftHiveMetastore_create_table_with_environment_context_result() throw() {} - + virtual ~ThriftHiveMetastore_create_table_with_environment_context_result() throw(); AlreadyExistsException o1; InvalidObjectException o2; MetaException o3; @@ -2887,21 +3019,13 @@ class ThriftHiveMetastore_create_table_with_environment_context_result { _ThriftHiveMetastore_create_table_with_environment_context_result__isset __isset; - void __set_o1(const AlreadyExistsException& val) { - o1 = val; - } + void __set_o1(const AlreadyExistsException& val); - void __set_o2(const InvalidObjectException& val) { - o2 = val; - } + void __set_o2(const InvalidObjectException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); - void __set_o4(const NoSuchObjectException& val) { - o4 = val; - } + void __set_o4(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_create_table_with_environment_context_result & rhs) const { @@ -2924,22 +3048,25 @@ class ThriftHiveMetastore_create_table_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_create_table_with_environment_context_presult__isset { _ThriftHiveMetastore_create_table_with_environment_context_presult__isset() : o1(false), o2(false), o3(false), o4(false) {} - bool o1; - bool o2; - bool o3; - bool o4; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_create_table_with_environment_context_presult__isset; class ThriftHiveMetastore_create_table_with_environment_context_presult { public: + static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; + static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; - virtual ~ThriftHiveMetastore_create_table_with_environment_context_presult() throw() {} + virtual ~ThriftHiveMetastore_create_table_with_environment_context_presult() throw(); AlreadyExistsException o1; InvalidObjectException o2; MetaException o3; @@ -2949,40 +3076,39 @@ class ThriftHiveMetastore_create_table_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_table_args__isset { _ThriftHiveMetastore_drop_table_args__isset() : dbname(false), name(false), deleteData(false) {} - bool dbname; - bool name; - bool deleteData; + bool dbname :1; + bool name :1; + bool deleteData :1; } _ThriftHiveMetastore_drop_table_args__isset; class ThriftHiveMetastore_drop_table_args { public: + static const char* ascii_fingerprint; // = "7F21FB535884165D6350077C7B970E93"; + static const uint8_t binary_fingerprint[16]; // = {0x7F,0x21,0xFB,0x53,0x58,0x84,0x16,0x5D,0x63,0x50,0x07,0x7C,0x7B,0x97,0x0E,0x93}; + + ThriftHiveMetastore_drop_table_args(const ThriftHiveMetastore_drop_table_args&); + ThriftHiveMetastore_drop_table_args& operator=(const ThriftHiveMetastore_drop_table_args&); ThriftHiveMetastore_drop_table_args() : dbname(), name(), deleteData(0) { } - virtual ~ThriftHiveMetastore_drop_table_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_table_args() throw(); std::string dbname; std::string name; bool deleteData; _ThriftHiveMetastore_drop_table_args__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_name(const std::string& val) { - name = val; - } + void __set_name(const std::string& val); - void __set_deleteData(const bool val) { - deleteData = val; - } + void __set_deleteData(const bool val); bool operator == (const ThriftHiveMetastore_drop_table_args & rhs) const { @@ -3003,49 +3129,53 @@ class ThriftHiveMetastore_drop_table_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_args& obj); }; class ThriftHiveMetastore_drop_table_pargs { public: + static const char* ascii_fingerprint; // = "7F21FB535884165D6350077C7B970E93"; + static const uint8_t binary_fingerprint[16]; // = {0x7F,0x21,0xFB,0x53,0x58,0x84,0x16,0x5D,0x63,0x50,0x07,0x7C,0x7B,0x97,0x0E,0x93}; - virtual ~ThriftHiveMetastore_drop_table_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_table_pargs() throw(); const std::string* dbname; const std::string* name; const bool* deleteData; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_table_result__isset { _ThriftHiveMetastore_drop_table_result__isset() : o1(false), o3(false) {} - bool o1; - bool o3; + bool o1 :1; + bool o3 :1; } _ThriftHiveMetastore_drop_table_result__isset; class ThriftHiveMetastore_drop_table_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_drop_table_result(const ThriftHiveMetastore_drop_table_result&); + ThriftHiveMetastore_drop_table_result& operator=(const ThriftHiveMetastore_drop_table_result&); ThriftHiveMetastore_drop_table_result() { } - virtual ~ThriftHiveMetastore_drop_table_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_table_result() throw(); NoSuchObjectException o1; MetaException o3; _ThriftHiveMetastore_drop_table_result__isset __isset; - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_drop_table_result & rhs) const { @@ -3064,20 +3194,23 @@ class ThriftHiveMetastore_drop_table_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_result& obj); }; typedef struct _ThriftHiveMetastore_drop_table_presult__isset { _ThriftHiveMetastore_drop_table_presult__isset() : o1(false), o3(false) {} - bool o1; - bool o3; + bool o1 :1; + bool o3 :1; } _ThriftHiveMetastore_drop_table_presult__isset; class ThriftHiveMetastore_drop_table_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_drop_table_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_table_presult() throw(); NoSuchObjectException o1; MetaException o3; @@ -3085,24 +3218,29 @@ class ThriftHiveMetastore_drop_table_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_args__isset { _ThriftHiveMetastore_drop_table_with_environment_context_args__isset() : dbname(false), name(false), deleteData(false), environment_context(false) {} - bool dbname; - bool name; - bool deleteData; - bool environment_context; + bool dbname :1; + bool name :1; + bool deleteData :1; + bool environment_context :1; } _ThriftHiveMetastore_drop_table_with_environment_context_args__isset; class ThriftHiveMetastore_drop_table_with_environment_context_args { public: + static const char* ascii_fingerprint; // = "0ED75AC6CEC5A207447A701578264DA4"; + static const uint8_t binary_fingerprint[16]; // = {0x0E,0xD7,0x5A,0xC6,0xCE,0xC5,0xA2,0x07,0x44,0x7A,0x70,0x15,0x78,0x26,0x4D,0xA4}; + + ThriftHiveMetastore_drop_table_with_environment_context_args(const ThriftHiveMetastore_drop_table_with_environment_context_args&); + ThriftHiveMetastore_drop_table_with_environment_context_args& operator=(const ThriftHiveMetastore_drop_table_with_environment_context_args&); ThriftHiveMetastore_drop_table_with_environment_context_args() : dbname(), name(), deleteData(0) { } - virtual ~ThriftHiveMetastore_drop_table_with_environment_context_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_table_with_environment_context_args() throw(); std::string dbname; std::string name; bool deleteData; @@ -3110,21 +3248,13 @@ class ThriftHiveMetastore_drop_table_with_environment_context_args { _ThriftHiveMetastore_drop_table_with_environment_context_args__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_name(const std::string& val) { - name = val; - } + void __set_name(const std::string& val); - void __set_deleteData(const bool val) { - deleteData = val; - } + void __set_deleteData(const bool val); - void __set_environment_context(const EnvironmentContext& val) { - environment_context = val; - } + void __set_environment_context(const EnvironmentContext& val); bool operator == (const ThriftHiveMetastore_drop_table_with_environment_context_args & rhs) const { @@ -3147,15 +3277,18 @@ class ThriftHiveMetastore_drop_table_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_args& obj); }; class ThriftHiveMetastore_drop_table_with_environment_context_pargs { public: + static const char* ascii_fingerprint; // = "0ED75AC6CEC5A207447A701578264DA4"; + static const uint8_t binary_fingerprint[16]; // = {0x0E,0xD7,0x5A,0xC6,0xCE,0xC5,0xA2,0x07,0x44,0x7A,0x70,0x15,0x78,0x26,0x4D,0xA4}; - virtual ~ThriftHiveMetastore_drop_table_with_environment_context_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_table_with_environment_context_pargs() throw(); const std::string* dbname; const std::string* name; const bool* deleteData; @@ -3163,34 +3296,35 @@ class ThriftHiveMetastore_drop_table_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_result__isset { _ThriftHiveMetastore_drop_table_with_environment_context_result__isset() : o1(false), o3(false) {} - bool o1; - bool o3; + bool o1 :1; + bool o3 :1; } _ThriftHiveMetastore_drop_table_with_environment_context_result__isset; class ThriftHiveMetastore_drop_table_with_environment_context_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_drop_table_with_environment_context_result(const ThriftHiveMetastore_drop_table_with_environment_context_result&); + ThriftHiveMetastore_drop_table_with_environment_context_result& operator=(const ThriftHiveMetastore_drop_table_with_environment_context_result&); ThriftHiveMetastore_drop_table_with_environment_context_result() { } - virtual ~ThriftHiveMetastore_drop_table_with_environment_context_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_table_with_environment_context_result() throw(); NoSuchObjectException o1; MetaException o3; _ThriftHiveMetastore_drop_table_with_environment_context_result__isset __isset; - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_drop_table_with_environment_context_result & rhs) const { @@ -3209,20 +3343,23 @@ class ThriftHiveMetastore_drop_table_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_presult__isset { _ThriftHiveMetastore_drop_table_with_environment_context_presult__isset() : o1(false), o3(false) {} - bool o1; - bool o3; + bool o1 :1; + bool o3 :1; } _ThriftHiveMetastore_drop_table_with_environment_context_presult__isset; class ThriftHiveMetastore_drop_table_with_environment_context_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_drop_table_with_environment_context_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_table_with_environment_context_presult() throw(); NoSuchObjectException o1; MetaException o3; @@ -3230,34 +3367,35 @@ class ThriftHiveMetastore_drop_table_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_get_tables_args__isset { _ThriftHiveMetastore_get_tables_args__isset() : db_name(false), pattern(false) {} - bool db_name; - bool pattern; + bool db_name :1; + bool pattern :1; } _ThriftHiveMetastore_get_tables_args__isset; class ThriftHiveMetastore_get_tables_args { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + + ThriftHiveMetastore_get_tables_args(const ThriftHiveMetastore_get_tables_args&); + ThriftHiveMetastore_get_tables_args& operator=(const ThriftHiveMetastore_get_tables_args&); ThriftHiveMetastore_get_tables_args() : db_name(), pattern() { } - virtual ~ThriftHiveMetastore_get_tables_args() throw() {} - + virtual ~ThriftHiveMetastore_get_tables_args() throw(); std::string db_name; std::string pattern; _ThriftHiveMetastore_get_tables_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_pattern(const std::string& val) { - pattern = val; - } + void __set_pattern(const std::string& val); bool operator == (const ThriftHiveMetastore_get_tables_args & rhs) const { @@ -3276,48 +3414,52 @@ class ThriftHiveMetastore_get_tables_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_args& obj); }; class ThriftHiveMetastore_get_tables_pargs { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_tables_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_tables_pargs() throw(); const std::string* db_name; const std::string* pattern; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_tables_result__isset { _ThriftHiveMetastore_get_tables_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_tables_result__isset; class ThriftHiveMetastore_get_tables_result { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; + + ThriftHiveMetastore_get_tables_result(const ThriftHiveMetastore_get_tables_result&); + ThriftHiveMetastore_get_tables_result& operator=(const ThriftHiveMetastore_get_tables_result&); ThriftHiveMetastore_get_tables_result() { } - virtual ~ThriftHiveMetastore_get_tables_result() throw() {} - + virtual ~ThriftHiveMetastore_get_tables_result() throw(); std::vector success; MetaException o1; _ThriftHiveMetastore_get_tables_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_tables_result & rhs) const { @@ -3336,20 +3478,23 @@ class ThriftHiveMetastore_get_tables_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_result& obj); }; typedef struct _ThriftHiveMetastore_get_tables_presult__isset { _ThriftHiveMetastore_get_tables_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_tables_presult__isset; class ThriftHiveMetastore_get_tables_presult { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_tables_presult() throw() {} + virtual ~ThriftHiveMetastore_get_tables_presult() throw(); std::vector * success; MetaException o1; @@ -3357,28 +3502,31 @@ class ThriftHiveMetastore_get_tables_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_presult& obj); }; typedef struct _ThriftHiveMetastore_get_all_tables_args__isset { _ThriftHiveMetastore_get_all_tables_args__isset() : db_name(false) {} - bool db_name; + bool db_name :1; } _ThriftHiveMetastore_get_all_tables_args__isset; class ThriftHiveMetastore_get_all_tables_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_get_all_tables_args(const ThriftHiveMetastore_get_all_tables_args&); + ThriftHiveMetastore_get_all_tables_args& operator=(const ThriftHiveMetastore_get_all_tables_args&); ThriftHiveMetastore_get_all_tables_args() : db_name() { } - virtual ~ThriftHiveMetastore_get_all_tables_args() throw() {} - + virtual ~ThriftHiveMetastore_get_all_tables_args() throw(); std::string db_name; _ThriftHiveMetastore_get_all_tables_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_all_tables_args & rhs) const { @@ -3395,47 +3543,51 @@ class ThriftHiveMetastore_get_all_tables_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_args& obj); }; class ThriftHiveMetastore_get_all_tables_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_get_all_tables_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_all_tables_pargs() throw(); const std::string* db_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_all_tables_result__isset { _ThriftHiveMetastore_get_all_tables_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_all_tables_result__isset; class ThriftHiveMetastore_get_all_tables_result { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; + + ThriftHiveMetastore_get_all_tables_result(const ThriftHiveMetastore_get_all_tables_result&); + ThriftHiveMetastore_get_all_tables_result& operator=(const ThriftHiveMetastore_get_all_tables_result&); ThriftHiveMetastore_get_all_tables_result() { } - virtual ~ThriftHiveMetastore_get_all_tables_result() throw() {} - + virtual ~ThriftHiveMetastore_get_all_tables_result() throw(); std::vector success; MetaException o1; _ThriftHiveMetastore_get_all_tables_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_all_tables_result & rhs) const { @@ -3454,20 +3606,23 @@ class ThriftHiveMetastore_get_all_tables_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_result& obj); }; typedef struct _ThriftHiveMetastore_get_all_tables_presult__isset { _ThriftHiveMetastore_get_all_tables_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_all_tables_presult__isset; class ThriftHiveMetastore_get_all_tables_presult { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_all_tables_presult() throw() {} + virtual ~ThriftHiveMetastore_get_all_tables_presult() throw(); std::vector * success; MetaException o1; @@ -3475,34 +3630,35 @@ class ThriftHiveMetastore_get_all_tables_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_presult& obj); }; typedef struct _ThriftHiveMetastore_get_table_args__isset { _ThriftHiveMetastore_get_table_args__isset() : dbname(false), tbl_name(false) {} - bool dbname; - bool tbl_name; + bool dbname :1; + bool tbl_name :1; } _ThriftHiveMetastore_get_table_args__isset; class ThriftHiveMetastore_get_table_args { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + + ThriftHiveMetastore_get_table_args(const ThriftHiveMetastore_get_table_args&); + ThriftHiveMetastore_get_table_args& operator=(const ThriftHiveMetastore_get_table_args&); ThriftHiveMetastore_get_table_args() : dbname(), tbl_name() { } - virtual ~ThriftHiveMetastore_get_table_args() throw() {} - + virtual ~ThriftHiveMetastore_get_table_args() throw(); std::string dbname; std::string tbl_name; _ThriftHiveMetastore_get_table_args__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_table_args & rhs) const { @@ -3521,54 +3677,56 @@ class ThriftHiveMetastore_get_table_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_args& obj); }; class ThriftHiveMetastore_get_table_pargs { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_table_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_table_pargs() throw(); const std::string* dbname; const std::string* tbl_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_table_result__isset { _ThriftHiveMetastore_get_table_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_table_result__isset; class ThriftHiveMetastore_get_table_result { public: + static const char* ascii_fingerprint; // = "5A4F58BE0D70BCECE999677432BFE5A4"; + static const uint8_t binary_fingerprint[16]; // = {0x5A,0x4F,0x58,0xBE,0x0D,0x70,0xBC,0xEC,0xE9,0x99,0x67,0x74,0x32,0xBF,0xE5,0xA4}; + + ThriftHiveMetastore_get_table_result(const ThriftHiveMetastore_get_table_result&); + ThriftHiveMetastore_get_table_result& operator=(const ThriftHiveMetastore_get_table_result&); ThriftHiveMetastore_get_table_result() { } - virtual ~ThriftHiveMetastore_get_table_result() throw() {} - + virtual ~ThriftHiveMetastore_get_table_result() throw(); Table success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_table_result__isset __isset; - void __set_success(const Table& val) { - success = val; - } + void __set_success(const Table& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_table_result & rhs) const { @@ -3589,21 +3747,24 @@ class ThriftHiveMetastore_get_table_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_result& obj); }; typedef struct _ThriftHiveMetastore_get_table_presult__isset { _ThriftHiveMetastore_get_table_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_table_presult__isset; class ThriftHiveMetastore_get_table_presult { public: + static const char* ascii_fingerprint; // = "5A4F58BE0D70BCECE999677432BFE5A4"; + static const uint8_t binary_fingerprint[16]; // = {0x5A,0x4F,0x58,0xBE,0x0D,0x70,0xBC,0xEC,0xE9,0x99,0x67,0x74,0x32,0xBF,0xE5,0xA4}; - virtual ~ThriftHiveMetastore_get_table_presult() throw() {} + virtual ~ThriftHiveMetastore_get_table_presult() throw(); Table* success; MetaException o1; NoSuchObjectException o2; @@ -3612,34 +3773,35 @@ class ThriftHiveMetastore_get_table_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_presult& obj); }; typedef struct _ThriftHiveMetastore_get_table_objects_by_name_args__isset { _ThriftHiveMetastore_get_table_objects_by_name_args__isset() : dbname(false), tbl_names(false) {} - bool dbname; - bool tbl_names; + bool dbname :1; + bool tbl_names :1; } _ThriftHiveMetastore_get_table_objects_by_name_args__isset; class ThriftHiveMetastore_get_table_objects_by_name_args { public: + static const char* ascii_fingerprint; // = "25702B8D5E28AA39160F267DABBC8446"; + static const uint8_t binary_fingerprint[16]; // = {0x25,0x70,0x2B,0x8D,0x5E,0x28,0xAA,0x39,0x16,0x0F,0x26,0x7D,0xAB,0xBC,0x84,0x46}; + + ThriftHiveMetastore_get_table_objects_by_name_args(const ThriftHiveMetastore_get_table_objects_by_name_args&); + ThriftHiveMetastore_get_table_objects_by_name_args& operator=(const ThriftHiveMetastore_get_table_objects_by_name_args&); ThriftHiveMetastore_get_table_objects_by_name_args() : dbname() { } - virtual ~ThriftHiveMetastore_get_table_objects_by_name_args() throw() {} - + virtual ~ThriftHiveMetastore_get_table_objects_by_name_args() throw(); std::string dbname; std::vector tbl_names; _ThriftHiveMetastore_get_table_objects_by_name_args__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_tbl_names(const std::vector & val) { - tbl_names = val; - } + void __set_tbl_names(const std::vector & val); bool operator == (const ThriftHiveMetastore_get_table_objects_by_name_args & rhs) const { @@ -3658,38 +3820,46 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_objects_by_name_args& obj); }; class ThriftHiveMetastore_get_table_objects_by_name_pargs { public: + static const char* ascii_fingerprint; // = "25702B8D5E28AA39160F267DABBC8446"; + static const uint8_t binary_fingerprint[16]; // = {0x25,0x70,0x2B,0x8D,0x5E,0x28,0xAA,0x39,0x16,0x0F,0x26,0x7D,0xAB,0xBC,0x84,0x46}; - virtual ~ThriftHiveMetastore_get_table_objects_by_name_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_table_objects_by_name_pargs() throw(); const std::string* dbname; const std::vector * tbl_names; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_objects_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_table_objects_by_name_result__isset { _ThriftHiveMetastore_get_table_objects_by_name_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_table_objects_by_name_result__isset; class ThriftHiveMetastore_get_table_objects_by_name_result { public: + static const char* ascii_fingerprint; // = "CE94435B55EBFD9CDCC30B61FBCA4E92"; + static const uint8_t binary_fingerprint[16]; // = {0xCE,0x94,0x43,0x5B,0x55,0xEB,0xFD,0x9C,0xDC,0xC3,0x0B,0x61,0xFB,0xCA,0x4E,0x92}; + + ThriftHiveMetastore_get_table_objects_by_name_result(const ThriftHiveMetastore_get_table_objects_by_name_result&); + ThriftHiveMetastore_get_table_objects_by_name_result& operator=(const ThriftHiveMetastore_get_table_objects_by_name_result&); ThriftHiveMetastore_get_table_objects_by_name_result() { } - virtual ~ThriftHiveMetastore_get_table_objects_by_name_result() throw() {} - + virtual ~ThriftHiveMetastore_get_table_objects_by_name_result() throw(); std::vector
success; MetaException o1; InvalidOperationException o2; @@ -3697,21 +3867,13 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { _ThriftHiveMetastore_get_table_objects_by_name_result__isset __isset; - void __set_success(const std::vector
& val) { - success = val; - } + void __set_success(const std::vector
& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const InvalidOperationException& val) { - o2 = val; - } + void __set_o2(const InvalidOperationException& val); - void __set_o3(const UnknownDBException& val) { - o3 = val; - } + void __set_o3(const UnknownDBException& val); bool operator == (const ThriftHiveMetastore_get_table_objects_by_name_result & rhs) const { @@ -3734,22 +3896,25 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_objects_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_get_table_objects_by_name_presult__isset { _ThriftHiveMetastore_get_table_objects_by_name_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_table_objects_by_name_presult__isset; class ThriftHiveMetastore_get_table_objects_by_name_presult { public: + static const char* ascii_fingerprint; // = "CE94435B55EBFD9CDCC30B61FBCA4E92"; + static const uint8_t binary_fingerprint[16]; // = {0xCE,0x94,0x43,0x5B,0x55,0xEB,0xFD,0x9C,0xDC,0xC3,0x0B,0x61,0xFB,0xCA,0x4E,0x92}; - virtual ~ThriftHiveMetastore_get_table_objects_by_name_presult() throw() {} + virtual ~ThriftHiveMetastore_get_table_objects_by_name_presult() throw(); std::vector
* success; MetaException o1; InvalidOperationException o2; @@ -3759,40 +3924,39 @@ class ThriftHiveMetastore_get_table_objects_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_objects_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_get_table_names_by_filter_args__isset { _ThriftHiveMetastore_get_table_names_by_filter_args__isset() : dbname(false), filter(false), max_tables(true) {} - bool dbname; - bool filter; - bool max_tables; + bool dbname :1; + bool filter :1; + bool max_tables :1; } _ThriftHiveMetastore_get_table_names_by_filter_args__isset; class ThriftHiveMetastore_get_table_names_by_filter_args { public: + static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; + + ThriftHiveMetastore_get_table_names_by_filter_args(const ThriftHiveMetastore_get_table_names_by_filter_args&); + ThriftHiveMetastore_get_table_names_by_filter_args& operator=(const ThriftHiveMetastore_get_table_names_by_filter_args&); ThriftHiveMetastore_get_table_names_by_filter_args() : dbname(), filter(), max_tables(-1) { } - virtual ~ThriftHiveMetastore_get_table_names_by_filter_args() throw() {} - + virtual ~ThriftHiveMetastore_get_table_names_by_filter_args() throw(); std::string dbname; std::string filter; int16_t max_tables; _ThriftHiveMetastore_get_table_names_by_filter_args__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_filter(const std::string& val) { - filter = val; - } + void __set_filter(const std::string& val); - void __set_max_tables(const int16_t val) { - max_tables = val; - } + void __set_max_tables(const int16_t val); bool operator == (const ThriftHiveMetastore_get_table_names_by_filter_args & rhs) const { @@ -3813,39 +3977,47 @@ class ThriftHiveMetastore_get_table_names_by_filter_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_names_by_filter_args& obj); }; class ThriftHiveMetastore_get_table_names_by_filter_pargs { public: + static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - virtual ~ThriftHiveMetastore_get_table_names_by_filter_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_table_names_by_filter_pargs() throw(); const std::string* dbname; const std::string* filter; const int16_t* max_tables; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_names_by_filter_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_table_names_by_filter_result__isset { _ThriftHiveMetastore_get_table_names_by_filter_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_table_names_by_filter_result__isset; class ThriftHiveMetastore_get_table_names_by_filter_result { public: + static const char* ascii_fingerprint; // = "1A22B93AE2F8EC65600D067A19CEEE95"; + static const uint8_t binary_fingerprint[16]; // = {0x1A,0x22,0xB9,0x3A,0xE2,0xF8,0xEC,0x65,0x60,0x0D,0x06,0x7A,0x19,0xCE,0xEE,0x95}; + + ThriftHiveMetastore_get_table_names_by_filter_result(const ThriftHiveMetastore_get_table_names_by_filter_result&); + ThriftHiveMetastore_get_table_names_by_filter_result& operator=(const ThriftHiveMetastore_get_table_names_by_filter_result&); ThriftHiveMetastore_get_table_names_by_filter_result() { } - virtual ~ThriftHiveMetastore_get_table_names_by_filter_result() throw() {} - + virtual ~ThriftHiveMetastore_get_table_names_by_filter_result() throw(); std::vector success; MetaException o1; InvalidOperationException o2; @@ -3853,21 +4025,13 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { _ThriftHiveMetastore_get_table_names_by_filter_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const InvalidOperationException& val) { - o2 = val; - } + void __set_o2(const InvalidOperationException& val); - void __set_o3(const UnknownDBException& val) { - o3 = val; - } + void __set_o3(const UnknownDBException& val); bool operator == (const ThriftHiveMetastore_get_table_names_by_filter_result & rhs) const { @@ -3890,22 +4054,25 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_names_by_filter_result& obj); }; typedef struct _ThriftHiveMetastore_get_table_names_by_filter_presult__isset { _ThriftHiveMetastore_get_table_names_by_filter_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_get_table_names_by_filter_presult__isset; class ThriftHiveMetastore_get_table_names_by_filter_presult { public: + static const char* ascii_fingerprint; // = "1A22B93AE2F8EC65600D067A19CEEE95"; + static const uint8_t binary_fingerprint[16]; // = {0x1A,0x22,0xB9,0x3A,0xE2,0xF8,0xEC,0x65,0x60,0x0D,0x06,0x7A,0x19,0xCE,0xEE,0x95}; - virtual ~ThriftHiveMetastore_get_table_names_by_filter_presult() throw() {} + virtual ~ThriftHiveMetastore_get_table_names_by_filter_presult() throw(); std::vector * success; MetaException o1; InvalidOperationException o2; @@ -3915,40 +4082,39 @@ class ThriftHiveMetastore_get_table_names_by_filter_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_names_by_filter_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_table_args__isset { _ThriftHiveMetastore_alter_table_args__isset() : dbname(false), tbl_name(false), new_tbl(false) {} - bool dbname; - bool tbl_name; - bool new_tbl; + bool dbname :1; + bool tbl_name :1; + bool new_tbl :1; } _ThriftHiveMetastore_alter_table_args__isset; class ThriftHiveMetastore_alter_table_args { public: + static const char* ascii_fingerprint; // = "45DE8DCE89D06DFF84837CFEB78A1302"; + static const uint8_t binary_fingerprint[16]; // = {0x45,0xDE,0x8D,0xCE,0x89,0xD0,0x6D,0xFF,0x84,0x83,0x7C,0xFE,0xB7,0x8A,0x13,0x02}; + + ThriftHiveMetastore_alter_table_args(const ThriftHiveMetastore_alter_table_args&); + ThriftHiveMetastore_alter_table_args& operator=(const ThriftHiveMetastore_alter_table_args&); ThriftHiveMetastore_alter_table_args() : dbname(), tbl_name() { } - virtual ~ThriftHiveMetastore_alter_table_args() throw() {} - + virtual ~ThriftHiveMetastore_alter_table_args() throw(); std::string dbname; std::string tbl_name; Table new_tbl; _ThriftHiveMetastore_alter_table_args__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_new_tbl(const Table& val) { - new_tbl = val; - } + void __set_new_tbl(const Table& val); bool operator == (const ThriftHiveMetastore_alter_table_args & rhs) const { @@ -3969,49 +4135,53 @@ class ThriftHiveMetastore_alter_table_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_args& obj); }; class ThriftHiveMetastore_alter_table_pargs { public: + static const char* ascii_fingerprint; // = "45DE8DCE89D06DFF84837CFEB78A1302"; + static const uint8_t binary_fingerprint[16]; // = {0x45,0xDE,0x8D,0xCE,0x89,0xD0,0x6D,0xFF,0x84,0x83,0x7C,0xFE,0xB7,0x8A,0x13,0x02}; - virtual ~ThriftHiveMetastore_alter_table_pargs() throw() {} + virtual ~ThriftHiveMetastore_alter_table_pargs() throw(); const std::string* dbname; const std::string* tbl_name; const Table* new_tbl; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_table_result__isset { _ThriftHiveMetastore_alter_table_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_table_result__isset; class ThriftHiveMetastore_alter_table_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_alter_table_result(const ThriftHiveMetastore_alter_table_result&); + ThriftHiveMetastore_alter_table_result& operator=(const ThriftHiveMetastore_alter_table_result&); ThriftHiveMetastore_alter_table_result() { } - virtual ~ThriftHiveMetastore_alter_table_result() throw() {} - + virtual ~ThriftHiveMetastore_alter_table_result() throw(); InvalidOperationException o1; MetaException o2; _ThriftHiveMetastore_alter_table_result__isset __isset; - void __set_o1(const InvalidOperationException& val) { - o1 = val; - } + void __set_o1(const InvalidOperationException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_alter_table_result & rhs) const { @@ -4030,20 +4200,23 @@ class ThriftHiveMetastore_alter_table_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_result& obj); }; typedef struct _ThriftHiveMetastore_alter_table_presult__isset { _ThriftHiveMetastore_alter_table_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_table_presult__isset; class ThriftHiveMetastore_alter_table_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_table_presult() throw() {} + virtual ~ThriftHiveMetastore_alter_table_presult() throw(); InvalidOperationException o1; MetaException o2; @@ -4051,24 +4224,29 @@ class ThriftHiveMetastore_alter_table_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_environment_context_args__isset { _ThriftHiveMetastore_alter_table_with_environment_context_args__isset() : dbname(false), tbl_name(false), new_tbl(false), environment_context(false) {} - bool dbname; - bool tbl_name; - bool new_tbl; - bool environment_context; + bool dbname :1; + bool tbl_name :1; + bool new_tbl :1; + bool environment_context :1; } _ThriftHiveMetastore_alter_table_with_environment_context_args__isset; class ThriftHiveMetastore_alter_table_with_environment_context_args { public: + static const char* ascii_fingerprint; // = "EB4DBB36F7C55D5ACD7A5DEB3C443E72"; + static const uint8_t binary_fingerprint[16]; // = {0xEB,0x4D,0xBB,0x36,0xF7,0xC5,0x5D,0x5A,0xCD,0x7A,0x5D,0xEB,0x3C,0x44,0x3E,0x72}; + + ThriftHiveMetastore_alter_table_with_environment_context_args(const ThriftHiveMetastore_alter_table_with_environment_context_args&); + ThriftHiveMetastore_alter_table_with_environment_context_args& operator=(const ThriftHiveMetastore_alter_table_with_environment_context_args&); ThriftHiveMetastore_alter_table_with_environment_context_args() : dbname(), tbl_name() { } - virtual ~ThriftHiveMetastore_alter_table_with_environment_context_args() throw() {} - + virtual ~ThriftHiveMetastore_alter_table_with_environment_context_args() throw(); std::string dbname; std::string tbl_name; Table new_tbl; @@ -4076,21 +4254,13 @@ class ThriftHiveMetastore_alter_table_with_environment_context_args { _ThriftHiveMetastore_alter_table_with_environment_context_args__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_new_tbl(const Table& val) { - new_tbl = val; - } + void __set_new_tbl(const Table& val); - void __set_environment_context(const EnvironmentContext& val) { - environment_context = val; - } + void __set_environment_context(const EnvironmentContext& val); bool operator == (const ThriftHiveMetastore_alter_table_with_environment_context_args & rhs) const { @@ -4113,15 +4283,18 @@ class ThriftHiveMetastore_alter_table_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_environment_context_args& obj); }; class ThriftHiveMetastore_alter_table_with_environment_context_pargs { public: + static const char* ascii_fingerprint; // = "EB4DBB36F7C55D5ACD7A5DEB3C443E72"; + static const uint8_t binary_fingerprint[16]; // = {0xEB,0x4D,0xBB,0x36,0xF7,0xC5,0x5D,0x5A,0xCD,0x7A,0x5D,0xEB,0x3C,0x44,0x3E,0x72}; - virtual ~ThriftHiveMetastore_alter_table_with_environment_context_pargs() throw() {} + virtual ~ThriftHiveMetastore_alter_table_with_environment_context_pargs() throw(); const std::string* dbname; const std::string* tbl_name; const Table* new_tbl; @@ -4129,34 +4302,35 @@ class ThriftHiveMetastore_alter_table_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_environment_context_result__isset { _ThriftHiveMetastore_alter_table_with_environment_context_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_table_with_environment_context_result__isset; class ThriftHiveMetastore_alter_table_with_environment_context_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_alter_table_with_environment_context_result(const ThriftHiveMetastore_alter_table_with_environment_context_result&); + ThriftHiveMetastore_alter_table_with_environment_context_result& operator=(const ThriftHiveMetastore_alter_table_with_environment_context_result&); ThriftHiveMetastore_alter_table_with_environment_context_result() { } - virtual ~ThriftHiveMetastore_alter_table_with_environment_context_result() throw() {} - + virtual ~ThriftHiveMetastore_alter_table_with_environment_context_result() throw(); InvalidOperationException o1; MetaException o2; _ThriftHiveMetastore_alter_table_with_environment_context_result__isset __isset; - void __set_o1(const InvalidOperationException& val) { - o1 = val; - } + void __set_o1(const InvalidOperationException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_alter_table_with_environment_context_result & rhs) const { @@ -4175,20 +4349,23 @@ class ThriftHiveMetastore_alter_table_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_environment_context_presult__isset { _ThriftHiveMetastore_alter_table_with_environment_context_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_table_with_environment_context_presult__isset; class ThriftHiveMetastore_alter_table_with_environment_context_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_table_with_environment_context_presult() throw() {} + virtual ~ThriftHiveMetastore_alter_table_with_environment_context_presult() throw(); InvalidOperationException o1; MetaException o2; @@ -4196,24 +4373,29 @@ class ThriftHiveMetastore_alter_table_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_cascade_args__isset { _ThriftHiveMetastore_alter_table_with_cascade_args__isset() : dbname(false), tbl_name(false), new_tbl(false), cascade(false) {} - bool dbname; - bool tbl_name; - bool new_tbl; - bool cascade; + bool dbname :1; + bool tbl_name :1; + bool new_tbl :1; + bool cascade :1; } _ThriftHiveMetastore_alter_table_with_cascade_args__isset; class ThriftHiveMetastore_alter_table_with_cascade_args { public: + static const char* ascii_fingerprint; // = "BC478AB940893784952049DAF4B368A1"; + static const uint8_t binary_fingerprint[16]; // = {0xBC,0x47,0x8A,0xB9,0x40,0x89,0x37,0x84,0x95,0x20,0x49,0xDA,0xF4,0xB3,0x68,0xA1}; + + ThriftHiveMetastore_alter_table_with_cascade_args(const ThriftHiveMetastore_alter_table_with_cascade_args&); + ThriftHiveMetastore_alter_table_with_cascade_args& operator=(const ThriftHiveMetastore_alter_table_with_cascade_args&); ThriftHiveMetastore_alter_table_with_cascade_args() : dbname(), tbl_name(), cascade(0) { } - virtual ~ThriftHiveMetastore_alter_table_with_cascade_args() throw() {} - + virtual ~ThriftHiveMetastore_alter_table_with_cascade_args() throw(); std::string dbname; std::string tbl_name; Table new_tbl; @@ -4221,21 +4403,13 @@ class ThriftHiveMetastore_alter_table_with_cascade_args { _ThriftHiveMetastore_alter_table_with_cascade_args__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_new_tbl(const Table& val) { - new_tbl = val; - } + void __set_new_tbl(const Table& val); - void __set_cascade(const bool val) { - cascade = val; - } + void __set_cascade(const bool val); bool operator == (const ThriftHiveMetastore_alter_table_with_cascade_args & rhs) const { @@ -4258,15 +4432,18 @@ class ThriftHiveMetastore_alter_table_with_cascade_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_cascade_args& obj); }; class ThriftHiveMetastore_alter_table_with_cascade_pargs { public: + static const char* ascii_fingerprint; // = "BC478AB940893784952049DAF4B368A1"; + static const uint8_t binary_fingerprint[16]; // = {0xBC,0x47,0x8A,0xB9,0x40,0x89,0x37,0x84,0x95,0x20,0x49,0xDA,0xF4,0xB3,0x68,0xA1}; - virtual ~ThriftHiveMetastore_alter_table_with_cascade_pargs() throw() {} + virtual ~ThriftHiveMetastore_alter_table_with_cascade_pargs() throw(); const std::string* dbname; const std::string* tbl_name; const Table* new_tbl; @@ -4274,34 +4451,35 @@ class ThriftHiveMetastore_alter_table_with_cascade_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_cascade_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_cascade_result__isset { _ThriftHiveMetastore_alter_table_with_cascade_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_table_with_cascade_result__isset; class ThriftHiveMetastore_alter_table_with_cascade_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_alter_table_with_cascade_result(const ThriftHiveMetastore_alter_table_with_cascade_result&); + ThriftHiveMetastore_alter_table_with_cascade_result& operator=(const ThriftHiveMetastore_alter_table_with_cascade_result&); ThriftHiveMetastore_alter_table_with_cascade_result() { } - virtual ~ThriftHiveMetastore_alter_table_with_cascade_result() throw() {} - + virtual ~ThriftHiveMetastore_alter_table_with_cascade_result() throw(); InvalidOperationException o1; MetaException o2; _ThriftHiveMetastore_alter_table_with_cascade_result__isset __isset; - void __set_o1(const InvalidOperationException& val) { - o1 = val; - } + void __set_o1(const InvalidOperationException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_alter_table_with_cascade_result & rhs) const { @@ -4320,20 +4498,23 @@ class ThriftHiveMetastore_alter_table_with_cascade_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_cascade_result& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_cascade_presult__isset { _ThriftHiveMetastore_alter_table_with_cascade_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_table_with_cascade_presult__isset; class ThriftHiveMetastore_alter_table_with_cascade_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_table_with_cascade_presult() throw() {} + virtual ~ThriftHiveMetastore_alter_table_with_cascade_presult() throw(); InvalidOperationException o1; MetaException o2; @@ -4341,28 +4522,31 @@ class ThriftHiveMetastore_alter_table_with_cascade_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_cascade_presult& obj); }; typedef struct _ThriftHiveMetastore_add_partition_args__isset { _ThriftHiveMetastore_add_partition_args__isset() : new_part(false) {} - bool new_part; + bool new_part :1; } _ThriftHiveMetastore_add_partition_args__isset; class ThriftHiveMetastore_add_partition_args { public: + static const char* ascii_fingerprint; // = "F5444A7689497C86E64C580BAEB32527"; + static const uint8_t binary_fingerprint[16]; // = {0xF5,0x44,0x4A,0x76,0x89,0x49,0x7C,0x86,0xE6,0x4C,0x58,0x0B,0xAE,0xB3,0x25,0x27}; + + ThriftHiveMetastore_add_partition_args(const ThriftHiveMetastore_add_partition_args&); + ThriftHiveMetastore_add_partition_args& operator=(const ThriftHiveMetastore_add_partition_args&); ThriftHiveMetastore_add_partition_args() { } - virtual ~ThriftHiveMetastore_add_partition_args() throw() {} - + virtual ~ThriftHiveMetastore_add_partition_args() throw(); Partition new_part; _ThriftHiveMetastore_add_partition_args__isset __isset; - void __set_new_part(const Partition& val) { - new_part = val; - } + void __set_new_part(const Partition& val); bool operator == (const ThriftHiveMetastore_add_partition_args & rhs) const { @@ -4379,37 +4563,45 @@ class ThriftHiveMetastore_add_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_args& obj); }; class ThriftHiveMetastore_add_partition_pargs { public: + static const char* ascii_fingerprint; // = "F5444A7689497C86E64C580BAEB32527"; + static const uint8_t binary_fingerprint[16]; // = {0xF5,0x44,0x4A,0x76,0x89,0x49,0x7C,0x86,0xE6,0x4C,0x58,0x0B,0xAE,0xB3,0x25,0x27}; - virtual ~ThriftHiveMetastore_add_partition_pargs() throw() {} + virtual ~ThriftHiveMetastore_add_partition_pargs() throw(); const Partition* new_part; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_partition_result__isset { _ThriftHiveMetastore_add_partition_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_partition_result__isset; class ThriftHiveMetastore_add_partition_result { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; + + ThriftHiveMetastore_add_partition_result(const ThriftHiveMetastore_add_partition_result&); + ThriftHiveMetastore_add_partition_result& operator=(const ThriftHiveMetastore_add_partition_result&); ThriftHiveMetastore_add_partition_result() { } - virtual ~ThriftHiveMetastore_add_partition_result() throw() {} - + virtual ~ThriftHiveMetastore_add_partition_result() throw(); Partition success; InvalidObjectException o1; AlreadyExistsException o2; @@ -4417,21 +4609,13 @@ class ThriftHiveMetastore_add_partition_result { _ThriftHiveMetastore_add_partition_result__isset __isset; - void __set_success(const Partition& val) { - success = val; - } + void __set_success(const Partition& val); - void __set_o1(const InvalidObjectException& val) { - o1 = val; - } + void __set_o1(const InvalidObjectException& val); - void __set_o2(const AlreadyExistsException& val) { - o2 = val; - } + void __set_o2(const AlreadyExistsException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_add_partition_result & rhs) const { @@ -4454,22 +4638,25 @@ class ThriftHiveMetastore_add_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_result& obj); }; typedef struct _ThriftHiveMetastore_add_partition_presult__isset { _ThriftHiveMetastore_add_partition_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_partition_presult__isset; class ThriftHiveMetastore_add_partition_presult { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_add_partition_presult() throw() {} + virtual ~ThriftHiveMetastore_add_partition_presult() throw(); Partition* success; InvalidObjectException o1; AlreadyExistsException o2; @@ -4479,34 +4666,35 @@ class ThriftHiveMetastore_add_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_add_partition_with_environment_context_args__isset { _ThriftHiveMetastore_add_partition_with_environment_context_args__isset() : new_part(false), environment_context(false) {} - bool new_part; - bool environment_context; + bool new_part :1; + bool environment_context :1; } _ThriftHiveMetastore_add_partition_with_environment_context_args__isset; class ThriftHiveMetastore_add_partition_with_environment_context_args { public: + static const char* ascii_fingerprint; // = "24928BFE56AA2AF75431FDB106AACAB2"; + static const uint8_t binary_fingerprint[16]; // = {0x24,0x92,0x8B,0xFE,0x56,0xAA,0x2A,0xF7,0x54,0x31,0xFD,0xB1,0x06,0xAA,0xCA,0xB2}; + + ThriftHiveMetastore_add_partition_with_environment_context_args(const ThriftHiveMetastore_add_partition_with_environment_context_args&); + ThriftHiveMetastore_add_partition_with_environment_context_args& operator=(const ThriftHiveMetastore_add_partition_with_environment_context_args&); ThriftHiveMetastore_add_partition_with_environment_context_args() { } - virtual ~ThriftHiveMetastore_add_partition_with_environment_context_args() throw() {} - + virtual ~ThriftHiveMetastore_add_partition_with_environment_context_args() throw(); Partition new_part; EnvironmentContext environment_context; _ThriftHiveMetastore_add_partition_with_environment_context_args__isset __isset; - void __set_new_part(const Partition& val) { - new_part = val; - } + void __set_new_part(const Partition& val); - void __set_environment_context(const EnvironmentContext& val) { - environment_context = val; - } + void __set_environment_context(const EnvironmentContext& val); bool operator == (const ThriftHiveMetastore_add_partition_with_environment_context_args & rhs) const { @@ -4525,38 +4713,46 @@ class ThriftHiveMetastore_add_partition_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_with_environment_context_args& obj); }; class ThriftHiveMetastore_add_partition_with_environment_context_pargs { public: + static const char* ascii_fingerprint; // = "24928BFE56AA2AF75431FDB106AACAB2"; + static const uint8_t binary_fingerprint[16]; // = {0x24,0x92,0x8B,0xFE,0x56,0xAA,0x2A,0xF7,0x54,0x31,0xFD,0xB1,0x06,0xAA,0xCA,0xB2}; - virtual ~ThriftHiveMetastore_add_partition_with_environment_context_pargs() throw() {} + virtual ~ThriftHiveMetastore_add_partition_with_environment_context_pargs() throw(); const Partition* new_part; const EnvironmentContext* environment_context; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_partition_with_environment_context_result__isset { _ThriftHiveMetastore_add_partition_with_environment_context_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_partition_with_environment_context_result__isset; class ThriftHiveMetastore_add_partition_with_environment_context_result { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; + + ThriftHiveMetastore_add_partition_with_environment_context_result(const ThriftHiveMetastore_add_partition_with_environment_context_result&); + ThriftHiveMetastore_add_partition_with_environment_context_result& operator=(const ThriftHiveMetastore_add_partition_with_environment_context_result&); ThriftHiveMetastore_add_partition_with_environment_context_result() { } - virtual ~ThriftHiveMetastore_add_partition_with_environment_context_result() throw() {} - + virtual ~ThriftHiveMetastore_add_partition_with_environment_context_result() throw(); Partition success; InvalidObjectException o1; AlreadyExistsException o2; @@ -4564,21 +4760,13 @@ class ThriftHiveMetastore_add_partition_with_environment_context_result { _ThriftHiveMetastore_add_partition_with_environment_context_result__isset __isset; - void __set_success(const Partition& val) { - success = val; - } + void __set_success(const Partition& val); - void __set_o1(const InvalidObjectException& val) { - o1 = val; - } + void __set_o1(const InvalidObjectException& val); - void __set_o2(const AlreadyExistsException& val) { - o2 = val; - } + void __set_o2(const AlreadyExistsException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_add_partition_with_environment_context_result & rhs) const { @@ -4601,22 +4789,25 @@ class ThriftHiveMetastore_add_partition_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_add_partition_with_environment_context_presult__isset { _ThriftHiveMetastore_add_partition_with_environment_context_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_partition_with_environment_context_presult__isset; class ThriftHiveMetastore_add_partition_with_environment_context_presult { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_add_partition_with_environment_context_presult() throw() {} + virtual ~ThriftHiveMetastore_add_partition_with_environment_context_presult() throw(); Partition* success; InvalidObjectException o1; AlreadyExistsException o2; @@ -4626,28 +4817,31 @@ class ThriftHiveMetastore_add_partition_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_args__isset { _ThriftHiveMetastore_add_partitions_args__isset() : new_parts(false) {} - bool new_parts; + bool new_parts :1; } _ThriftHiveMetastore_add_partitions_args__isset; class ThriftHiveMetastore_add_partitions_args { public: + static const char* ascii_fingerprint; // = "A048235CB9A257C8A74E3691BEFE0674"; + static const uint8_t binary_fingerprint[16]; // = {0xA0,0x48,0x23,0x5C,0xB9,0xA2,0x57,0xC8,0xA7,0x4E,0x36,0x91,0xBE,0xFE,0x06,0x74}; + + ThriftHiveMetastore_add_partitions_args(const ThriftHiveMetastore_add_partitions_args&); + ThriftHiveMetastore_add_partitions_args& operator=(const ThriftHiveMetastore_add_partitions_args&); ThriftHiveMetastore_add_partitions_args() { } - virtual ~ThriftHiveMetastore_add_partitions_args() throw() {} - + virtual ~ThriftHiveMetastore_add_partitions_args() throw(); std::vector new_parts; _ThriftHiveMetastore_add_partitions_args__isset __isset; - void __set_new_parts(const std::vector & val) { - new_parts = val; - } + void __set_new_parts(const std::vector & val); bool operator == (const ThriftHiveMetastore_add_partitions_args & rhs) const { @@ -4664,37 +4858,45 @@ class ThriftHiveMetastore_add_partitions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_args& obj); }; class ThriftHiveMetastore_add_partitions_pargs { public: + static const char* ascii_fingerprint; // = "A048235CB9A257C8A74E3691BEFE0674"; + static const uint8_t binary_fingerprint[16]; // = {0xA0,0x48,0x23,0x5C,0xB9,0xA2,0x57,0xC8,0xA7,0x4E,0x36,0x91,0xBE,0xFE,0x06,0x74}; - virtual ~ThriftHiveMetastore_add_partitions_pargs() throw() {} + virtual ~ThriftHiveMetastore_add_partitions_pargs() throw(); const std::vector * new_parts; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_result__isset { _ThriftHiveMetastore_add_partitions_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_partitions_result__isset; class ThriftHiveMetastore_add_partitions_result { public: + static const char* ascii_fingerprint; // = "A8DF404A59E14B5F23CD3B54D6A25FB2"; + static const uint8_t binary_fingerprint[16]; // = {0xA8,0xDF,0x40,0x4A,0x59,0xE1,0x4B,0x5F,0x23,0xCD,0x3B,0x54,0xD6,0xA2,0x5F,0xB2}; + + ThriftHiveMetastore_add_partitions_result(const ThriftHiveMetastore_add_partitions_result&); + ThriftHiveMetastore_add_partitions_result& operator=(const ThriftHiveMetastore_add_partitions_result&); ThriftHiveMetastore_add_partitions_result() : success(0) { } - virtual ~ThriftHiveMetastore_add_partitions_result() throw() {} - + virtual ~ThriftHiveMetastore_add_partitions_result() throw(); int32_t success; InvalidObjectException o1; AlreadyExistsException o2; @@ -4702,21 +4904,13 @@ class ThriftHiveMetastore_add_partitions_result { _ThriftHiveMetastore_add_partitions_result__isset __isset; - void __set_success(const int32_t val) { - success = val; - } + void __set_success(const int32_t val); - void __set_o1(const InvalidObjectException& val) { - o1 = val; - } + void __set_o1(const InvalidObjectException& val); - void __set_o2(const AlreadyExistsException& val) { - o2 = val; - } + void __set_o2(const AlreadyExistsException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_add_partitions_result & rhs) const { @@ -4739,22 +4933,25 @@ class ThriftHiveMetastore_add_partitions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_result& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_presult__isset { _ThriftHiveMetastore_add_partitions_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_partitions_presult__isset; class ThriftHiveMetastore_add_partitions_presult { public: + static const char* ascii_fingerprint; // = "A8DF404A59E14B5F23CD3B54D6A25FB2"; + static const uint8_t binary_fingerprint[16]; // = {0xA8,0xDF,0x40,0x4A,0x59,0xE1,0x4B,0x5F,0x23,0xCD,0x3B,0x54,0xD6,0xA2,0x5F,0xB2}; - virtual ~ThriftHiveMetastore_add_partitions_presult() throw() {} + virtual ~ThriftHiveMetastore_add_partitions_presult() throw(); int32_t* success; InvalidObjectException o1; AlreadyExistsException o2; @@ -4764,28 +4961,31 @@ class ThriftHiveMetastore_add_partitions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_presult& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_pspec_args__isset { _ThriftHiveMetastore_add_partitions_pspec_args__isset() : new_parts(false) {} - bool new_parts; + bool new_parts :1; } _ThriftHiveMetastore_add_partitions_pspec_args__isset; class ThriftHiveMetastore_add_partitions_pspec_args { public: + static const char* ascii_fingerprint; // = "2ECEF55070C86971F609ED920B644E09"; + static const uint8_t binary_fingerprint[16]; // = {0x2E,0xCE,0xF5,0x50,0x70,0xC8,0x69,0x71,0xF6,0x09,0xED,0x92,0x0B,0x64,0x4E,0x09}; + + ThriftHiveMetastore_add_partitions_pspec_args(const ThriftHiveMetastore_add_partitions_pspec_args&); + ThriftHiveMetastore_add_partitions_pspec_args& operator=(const ThriftHiveMetastore_add_partitions_pspec_args&); ThriftHiveMetastore_add_partitions_pspec_args() { } - virtual ~ThriftHiveMetastore_add_partitions_pspec_args() throw() {} - + virtual ~ThriftHiveMetastore_add_partitions_pspec_args() throw(); std::vector new_parts; _ThriftHiveMetastore_add_partitions_pspec_args__isset __isset; - void __set_new_parts(const std::vector & val) { - new_parts = val; - } + void __set_new_parts(const std::vector & val); bool operator == (const ThriftHiveMetastore_add_partitions_pspec_args & rhs) const { @@ -4802,37 +5002,45 @@ class ThriftHiveMetastore_add_partitions_pspec_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_pspec_args& obj); }; class ThriftHiveMetastore_add_partitions_pspec_pargs { public: + static const char* ascii_fingerprint; // = "2ECEF55070C86971F609ED920B644E09"; + static const uint8_t binary_fingerprint[16]; // = {0x2E,0xCE,0xF5,0x50,0x70,0xC8,0x69,0x71,0xF6,0x09,0xED,0x92,0x0B,0x64,0x4E,0x09}; - virtual ~ThriftHiveMetastore_add_partitions_pspec_pargs() throw() {} + virtual ~ThriftHiveMetastore_add_partitions_pspec_pargs() throw(); const std::vector * new_parts; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_pspec_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_pspec_result__isset { _ThriftHiveMetastore_add_partitions_pspec_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_partitions_pspec_result__isset; class ThriftHiveMetastore_add_partitions_pspec_result { public: + static const char* ascii_fingerprint; // = "A8DF404A59E14B5F23CD3B54D6A25FB2"; + static const uint8_t binary_fingerprint[16]; // = {0xA8,0xDF,0x40,0x4A,0x59,0xE1,0x4B,0x5F,0x23,0xCD,0x3B,0x54,0xD6,0xA2,0x5F,0xB2}; + + ThriftHiveMetastore_add_partitions_pspec_result(const ThriftHiveMetastore_add_partitions_pspec_result&); + ThriftHiveMetastore_add_partitions_pspec_result& operator=(const ThriftHiveMetastore_add_partitions_pspec_result&); ThriftHiveMetastore_add_partitions_pspec_result() : success(0) { } - virtual ~ThriftHiveMetastore_add_partitions_pspec_result() throw() {} - + virtual ~ThriftHiveMetastore_add_partitions_pspec_result() throw(); int32_t success; InvalidObjectException o1; AlreadyExistsException o2; @@ -4840,21 +5048,13 @@ class ThriftHiveMetastore_add_partitions_pspec_result { _ThriftHiveMetastore_add_partitions_pspec_result__isset __isset; - void __set_success(const int32_t val) { - success = val; - } + void __set_success(const int32_t val); - void __set_o1(const InvalidObjectException& val) { - o1 = val; - } + void __set_o1(const InvalidObjectException& val); - void __set_o2(const AlreadyExistsException& val) { - o2 = val; - } + void __set_o2(const AlreadyExistsException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_add_partitions_pspec_result & rhs) const { @@ -4877,22 +5077,25 @@ class ThriftHiveMetastore_add_partitions_pspec_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_pspec_result& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_pspec_presult__isset { _ThriftHiveMetastore_add_partitions_pspec_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_partitions_pspec_presult__isset; class ThriftHiveMetastore_add_partitions_pspec_presult { public: + static const char* ascii_fingerprint; // = "A8DF404A59E14B5F23CD3B54D6A25FB2"; + static const uint8_t binary_fingerprint[16]; // = {0xA8,0xDF,0x40,0x4A,0x59,0xE1,0x4B,0x5F,0x23,0xCD,0x3B,0x54,0xD6,0xA2,0x5F,0xB2}; - virtual ~ThriftHiveMetastore_add_partitions_pspec_presult() throw() {} + virtual ~ThriftHiveMetastore_add_partitions_pspec_presult() throw(); int32_t* success; InvalidObjectException o1; AlreadyExistsException o2; @@ -4902,40 +5105,39 @@ class ThriftHiveMetastore_add_partitions_pspec_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_pspec_presult& obj); }; typedef struct _ThriftHiveMetastore_append_partition_args__isset { _ThriftHiveMetastore_append_partition_args__isset() : db_name(false), tbl_name(false), part_vals(false) {} - bool db_name; - bool tbl_name; - bool part_vals; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; } _ThriftHiveMetastore_append_partition_args__isset; class ThriftHiveMetastore_append_partition_args { public: + static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; + static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; + + ThriftHiveMetastore_append_partition_args(const ThriftHiveMetastore_append_partition_args&); + ThriftHiveMetastore_append_partition_args& operator=(const ThriftHiveMetastore_append_partition_args&); ThriftHiveMetastore_append_partition_args() : db_name(), tbl_name() { } - virtual ~ThriftHiveMetastore_append_partition_args() throw() {} - + virtual ~ThriftHiveMetastore_append_partition_args() throw(); std::string db_name; std::string tbl_name; std::vector part_vals; _ThriftHiveMetastore_append_partition_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::vector & val) { - part_vals = val; - } + void __set_part_vals(const std::vector & val); bool operator == (const ThriftHiveMetastore_append_partition_args & rhs) const { @@ -4956,39 +5158,47 @@ class ThriftHiveMetastore_append_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_args& obj); }; class ThriftHiveMetastore_append_partition_pargs { public: + static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; + static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; - virtual ~ThriftHiveMetastore_append_partition_pargs() throw() {} + virtual ~ThriftHiveMetastore_append_partition_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * part_vals; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_append_partition_result__isset { _ThriftHiveMetastore_append_partition_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_append_partition_result__isset; class ThriftHiveMetastore_append_partition_result { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; + + ThriftHiveMetastore_append_partition_result(const ThriftHiveMetastore_append_partition_result&); + ThriftHiveMetastore_append_partition_result& operator=(const ThriftHiveMetastore_append_partition_result&); ThriftHiveMetastore_append_partition_result() { } - virtual ~ThriftHiveMetastore_append_partition_result() throw() {} - + virtual ~ThriftHiveMetastore_append_partition_result() throw(); Partition success; InvalidObjectException o1; AlreadyExistsException o2; @@ -4996,21 +5206,13 @@ class ThriftHiveMetastore_append_partition_result { _ThriftHiveMetastore_append_partition_result__isset __isset; - void __set_success(const Partition& val) { - success = val; - } + void __set_success(const Partition& val); - void __set_o1(const InvalidObjectException& val) { - o1 = val; - } + void __set_o1(const InvalidObjectException& val); - void __set_o2(const AlreadyExistsException& val) { - o2 = val; - } + void __set_o2(const AlreadyExistsException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_append_partition_result & rhs) const { @@ -5033,22 +5235,25 @@ class ThriftHiveMetastore_append_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_result& obj); }; typedef struct _ThriftHiveMetastore_append_partition_presult__isset { _ThriftHiveMetastore_append_partition_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_append_partition_presult__isset; class ThriftHiveMetastore_append_partition_presult { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_append_partition_presult() throw() {} + virtual ~ThriftHiveMetastore_append_partition_presult() throw(); Partition* success; InvalidObjectException o1; AlreadyExistsException o2; @@ -5058,28 +5263,31 @@ class ThriftHiveMetastore_append_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_req_args__isset { _ThriftHiveMetastore_add_partitions_req_args__isset() : request(false) {} - bool request; + bool request :1; } _ThriftHiveMetastore_add_partitions_req_args__isset; class ThriftHiveMetastore_add_partitions_req_args { public: + static const char* ascii_fingerprint; // = "3EA418BCD4759F81DF13C49A7F8E9A4A"; + static const uint8_t binary_fingerprint[16]; // = {0x3E,0xA4,0x18,0xBC,0xD4,0x75,0x9F,0x81,0xDF,0x13,0xC4,0x9A,0x7F,0x8E,0x9A,0x4A}; + + ThriftHiveMetastore_add_partitions_req_args(const ThriftHiveMetastore_add_partitions_req_args&); + ThriftHiveMetastore_add_partitions_req_args& operator=(const ThriftHiveMetastore_add_partitions_req_args&); ThriftHiveMetastore_add_partitions_req_args() { } - virtual ~ThriftHiveMetastore_add_partitions_req_args() throw() {} - + virtual ~ThriftHiveMetastore_add_partitions_req_args() throw(); AddPartitionsRequest request; _ThriftHiveMetastore_add_partitions_req_args__isset __isset; - void __set_request(const AddPartitionsRequest& val) { - request = val; - } + void __set_request(const AddPartitionsRequest& val); bool operator == (const ThriftHiveMetastore_add_partitions_req_args & rhs) const { @@ -5096,37 +5304,45 @@ class ThriftHiveMetastore_add_partitions_req_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_req_args& obj); }; class ThriftHiveMetastore_add_partitions_req_pargs { public: + static const char* ascii_fingerprint; // = "3EA418BCD4759F81DF13C49A7F8E9A4A"; + static const uint8_t binary_fingerprint[16]; // = {0x3E,0xA4,0x18,0xBC,0xD4,0x75,0x9F,0x81,0xDF,0x13,0xC4,0x9A,0x7F,0x8E,0x9A,0x4A}; - virtual ~ThriftHiveMetastore_add_partitions_req_pargs() throw() {} + virtual ~ThriftHiveMetastore_add_partitions_req_pargs() throw(); const AddPartitionsRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_req_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_req_result__isset { _ThriftHiveMetastore_add_partitions_req_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_partitions_req_result__isset; class ThriftHiveMetastore_add_partitions_req_result { public: + static const char* ascii_fingerprint; // = "AB3E87CB19D96319B6FFA521E7ADE781"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x3E,0x87,0xCB,0x19,0xD9,0x63,0x19,0xB6,0xFF,0xA5,0x21,0xE7,0xAD,0xE7,0x81}; + + ThriftHiveMetastore_add_partitions_req_result(const ThriftHiveMetastore_add_partitions_req_result&); + ThriftHiveMetastore_add_partitions_req_result& operator=(const ThriftHiveMetastore_add_partitions_req_result&); ThriftHiveMetastore_add_partitions_req_result() { } - virtual ~ThriftHiveMetastore_add_partitions_req_result() throw() {} - + virtual ~ThriftHiveMetastore_add_partitions_req_result() throw(); AddPartitionsResult success; InvalidObjectException o1; AlreadyExistsException o2; @@ -5134,21 +5350,13 @@ class ThriftHiveMetastore_add_partitions_req_result { _ThriftHiveMetastore_add_partitions_req_result__isset __isset; - void __set_success(const AddPartitionsResult& val) { - success = val; - } + void __set_success(const AddPartitionsResult& val); - void __set_o1(const InvalidObjectException& val) { - o1 = val; - } + void __set_o1(const InvalidObjectException& val); - void __set_o2(const AlreadyExistsException& val) { - o2 = val; - } + void __set_o2(const AlreadyExistsException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_add_partitions_req_result & rhs) const { @@ -5171,22 +5379,25 @@ class ThriftHiveMetastore_add_partitions_req_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_req_result& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_req_presult__isset { _ThriftHiveMetastore_add_partitions_req_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_partitions_req_presult__isset; class ThriftHiveMetastore_add_partitions_req_presult { public: + static const char* ascii_fingerprint; // = "AB3E87CB19D96319B6FFA521E7ADE781"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x3E,0x87,0xCB,0x19,0xD9,0x63,0x19,0xB6,0xFF,0xA5,0x21,0xE7,0xAD,0xE7,0x81}; - virtual ~ThriftHiveMetastore_add_partitions_req_presult() throw() {} + virtual ~ThriftHiveMetastore_add_partitions_req_presult() throw(); AddPartitionsResult* success; InvalidObjectException o1; AlreadyExistsException o2; @@ -5196,24 +5407,29 @@ class ThriftHiveMetastore_add_partitions_req_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_req_presult& obj); }; typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_args__isset { _ThriftHiveMetastore_append_partition_with_environment_context_args__isset() : db_name(false), tbl_name(false), part_vals(false), environment_context(false) {} - bool db_name; - bool tbl_name; - bool part_vals; - bool environment_context; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; + bool environment_context :1; } _ThriftHiveMetastore_append_partition_with_environment_context_args__isset; class ThriftHiveMetastore_append_partition_with_environment_context_args { public: + static const char* ascii_fingerprint; // = "592145D593BCF8C09E7E04A61124F80C"; + static const uint8_t binary_fingerprint[16]; // = {0x59,0x21,0x45,0xD5,0x93,0xBC,0xF8,0xC0,0x9E,0x7E,0x04,0xA6,0x11,0x24,0xF8,0x0C}; + + ThriftHiveMetastore_append_partition_with_environment_context_args(const ThriftHiveMetastore_append_partition_with_environment_context_args&); + ThriftHiveMetastore_append_partition_with_environment_context_args& operator=(const ThriftHiveMetastore_append_partition_with_environment_context_args&); ThriftHiveMetastore_append_partition_with_environment_context_args() : db_name(), tbl_name() { } - virtual ~ThriftHiveMetastore_append_partition_with_environment_context_args() throw() {} - + virtual ~ThriftHiveMetastore_append_partition_with_environment_context_args() throw(); std::string db_name; std::string tbl_name; std::vector part_vals; @@ -5221,21 +5437,13 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { _ThriftHiveMetastore_append_partition_with_environment_context_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::vector & val) { - part_vals = val; - } + void __set_part_vals(const std::vector & val); - void __set_environment_context(const EnvironmentContext& val) { - environment_context = val; - } + void __set_environment_context(const EnvironmentContext& val); bool operator == (const ThriftHiveMetastore_append_partition_with_environment_context_args & rhs) const { @@ -5258,15 +5466,18 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_with_environment_context_args& obj); }; class ThriftHiveMetastore_append_partition_with_environment_context_pargs { public: + static const char* ascii_fingerprint; // = "592145D593BCF8C09E7E04A61124F80C"; + static const uint8_t binary_fingerprint[16]; // = {0x59,0x21,0x45,0xD5,0x93,0xBC,0xF8,0xC0,0x9E,0x7E,0x04,0xA6,0x11,0x24,0xF8,0x0C}; - virtual ~ThriftHiveMetastore_append_partition_with_environment_context_pargs() throw() {} + virtual ~ThriftHiveMetastore_append_partition_with_environment_context_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * part_vals; @@ -5274,24 +5485,29 @@ class ThriftHiveMetastore_append_partition_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_result__isset { _ThriftHiveMetastore_append_partition_with_environment_context_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_append_partition_with_environment_context_result__isset; class ThriftHiveMetastore_append_partition_with_environment_context_result { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; + + ThriftHiveMetastore_append_partition_with_environment_context_result(const ThriftHiveMetastore_append_partition_with_environment_context_result&); + ThriftHiveMetastore_append_partition_with_environment_context_result& operator=(const ThriftHiveMetastore_append_partition_with_environment_context_result&); ThriftHiveMetastore_append_partition_with_environment_context_result() { } - virtual ~ThriftHiveMetastore_append_partition_with_environment_context_result() throw() {} - + virtual ~ThriftHiveMetastore_append_partition_with_environment_context_result() throw(); Partition success; InvalidObjectException o1; AlreadyExistsException o2; @@ -5299,21 +5515,13 @@ class ThriftHiveMetastore_append_partition_with_environment_context_result { _ThriftHiveMetastore_append_partition_with_environment_context_result__isset __isset; - void __set_success(const Partition& val) { - success = val; - } + void __set_success(const Partition& val); - void __set_o1(const InvalidObjectException& val) { - o1 = val; - } + void __set_o1(const InvalidObjectException& val); - void __set_o2(const AlreadyExistsException& val) { - o2 = val; - } + void __set_o2(const AlreadyExistsException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_append_partition_with_environment_context_result & rhs) const { @@ -5336,22 +5544,25 @@ class ThriftHiveMetastore_append_partition_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_presult__isset { _ThriftHiveMetastore_append_partition_with_environment_context_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_append_partition_with_environment_context_presult__isset; class ThriftHiveMetastore_append_partition_with_environment_context_presult { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_append_partition_with_environment_context_presult() throw() {} + virtual ~ThriftHiveMetastore_append_partition_with_environment_context_presult() throw(); Partition* success; InvalidObjectException o1; AlreadyExistsException o2; @@ -5361,40 +5572,39 @@ class ThriftHiveMetastore_append_partition_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_args__isset { _ThriftHiveMetastore_append_partition_by_name_args__isset() : db_name(false), tbl_name(false), part_name(false) {} - bool db_name; - bool tbl_name; - bool part_name; + bool db_name :1; + bool tbl_name :1; + bool part_name :1; } _ThriftHiveMetastore_append_partition_by_name_args__isset; class ThriftHiveMetastore_append_partition_by_name_args { public: + static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; + + ThriftHiveMetastore_append_partition_by_name_args(const ThriftHiveMetastore_append_partition_by_name_args&); + ThriftHiveMetastore_append_partition_by_name_args& operator=(const ThriftHiveMetastore_append_partition_by_name_args&); ThriftHiveMetastore_append_partition_by_name_args() : db_name(), tbl_name(), part_name() { } - virtual ~ThriftHiveMetastore_append_partition_by_name_args() throw() {} - + virtual ~ThriftHiveMetastore_append_partition_by_name_args() throw(); std::string db_name; std::string tbl_name; std::string part_name; _ThriftHiveMetastore_append_partition_by_name_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_name(const std::string& val) { - part_name = val; - } + void __set_part_name(const std::string& val); bool operator == (const ThriftHiveMetastore_append_partition_by_name_args & rhs) const { @@ -5415,39 +5625,47 @@ class ThriftHiveMetastore_append_partition_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_args& obj); }; class ThriftHiveMetastore_append_partition_by_name_pargs { public: + static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - virtual ~ThriftHiveMetastore_append_partition_by_name_pargs() throw() {} + virtual ~ThriftHiveMetastore_append_partition_by_name_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* part_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_result__isset { _ThriftHiveMetastore_append_partition_by_name_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_append_partition_by_name_result__isset; class ThriftHiveMetastore_append_partition_by_name_result { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; + + ThriftHiveMetastore_append_partition_by_name_result(const ThriftHiveMetastore_append_partition_by_name_result&); + ThriftHiveMetastore_append_partition_by_name_result& operator=(const ThriftHiveMetastore_append_partition_by_name_result&); ThriftHiveMetastore_append_partition_by_name_result() { } - virtual ~ThriftHiveMetastore_append_partition_by_name_result() throw() {} - + virtual ~ThriftHiveMetastore_append_partition_by_name_result() throw(); Partition success; InvalidObjectException o1; AlreadyExistsException o2; @@ -5455,21 +5673,13 @@ class ThriftHiveMetastore_append_partition_by_name_result { _ThriftHiveMetastore_append_partition_by_name_result__isset __isset; - void __set_success(const Partition& val) { - success = val; - } + void __set_success(const Partition& val); - void __set_o1(const InvalidObjectException& val) { - o1 = val; - } + void __set_o1(const InvalidObjectException& val); - void __set_o2(const AlreadyExistsException& val) { - o2 = val; - } + void __set_o2(const AlreadyExistsException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_append_partition_by_name_result & rhs) const { @@ -5492,22 +5702,25 @@ class ThriftHiveMetastore_append_partition_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_presult__isset { _ThriftHiveMetastore_append_partition_by_name_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_append_partition_by_name_presult__isset; class ThriftHiveMetastore_append_partition_by_name_presult { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_append_partition_by_name_presult() throw() {} + virtual ~ThriftHiveMetastore_append_partition_by_name_presult() throw(); Partition* success; InvalidObjectException o1; AlreadyExistsException o2; @@ -5517,24 +5730,29 @@ class ThriftHiveMetastore_append_partition_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_context_args__isset { _ThriftHiveMetastore_append_partition_by_name_with_environment_context_args__isset() : db_name(false), tbl_name(false), part_name(false), environment_context(false) {} - bool db_name; - bool tbl_name; - bool part_name; - bool environment_context; + bool db_name :1; + bool tbl_name :1; + bool part_name :1; + bool environment_context :1; } _ThriftHiveMetastore_append_partition_by_name_with_environment_context_args__isset; class ThriftHiveMetastore_append_partition_by_name_with_environment_context_args { public: + static const char* ascii_fingerprint; // = "4C7C33DADFC48E61680A3964D657CB87"; + static const uint8_t binary_fingerprint[16]; // = {0x4C,0x7C,0x33,0xDA,0xDF,0xC4,0x8E,0x61,0x68,0x0A,0x39,0x64,0xD6,0x57,0xCB,0x87}; + + ThriftHiveMetastore_append_partition_by_name_with_environment_context_args(const ThriftHiveMetastore_append_partition_by_name_with_environment_context_args&); + ThriftHiveMetastore_append_partition_by_name_with_environment_context_args& operator=(const ThriftHiveMetastore_append_partition_by_name_with_environment_context_args&); ThriftHiveMetastore_append_partition_by_name_with_environment_context_args() : db_name(), tbl_name(), part_name() { } - virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_args() throw() {} - + virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_args() throw(); std::string db_name; std::string tbl_name; std::string part_name; @@ -5542,21 +5760,13 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_args _ThriftHiveMetastore_append_partition_by_name_with_environment_context_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_name(const std::string& val) { - part_name = val; - } + void __set_part_name(const std::string& val); - void __set_environment_context(const EnvironmentContext& val) { - environment_context = val; - } + void __set_environment_context(const EnvironmentContext& val); bool operator == (const ThriftHiveMetastore_append_partition_by_name_with_environment_context_args & rhs) const { @@ -5579,15 +5789,18 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_args uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_with_environment_context_args& obj); }; class ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs { public: + static const char* ascii_fingerprint; // = "4C7C33DADFC48E61680A3964D657CB87"; + static const uint8_t binary_fingerprint[16]; // = {0x4C,0x7C,0x33,0xDA,0xDF,0xC4,0x8E,0x61,0x68,0x0A,0x39,0x64,0xD6,0x57,0xCB,0x87}; - virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs() throw() {} + virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* part_name; @@ -5595,24 +5808,29 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_parg uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_context_result__isset { _ThriftHiveMetastore_append_partition_by_name_with_environment_context_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_append_partition_by_name_with_environment_context_result__isset; class ThriftHiveMetastore_append_partition_by_name_with_environment_context_result { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; + + ThriftHiveMetastore_append_partition_by_name_with_environment_context_result(const ThriftHiveMetastore_append_partition_by_name_with_environment_context_result&); + ThriftHiveMetastore_append_partition_by_name_with_environment_context_result& operator=(const ThriftHiveMetastore_append_partition_by_name_with_environment_context_result&); ThriftHiveMetastore_append_partition_by_name_with_environment_context_result() { } - virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_result() throw() {} - + virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_result() throw(); Partition success; InvalidObjectException o1; AlreadyExistsException o2; @@ -5620,21 +5838,13 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_resu _ThriftHiveMetastore_append_partition_by_name_with_environment_context_result__isset __isset; - void __set_success(const Partition& val) { - success = val; - } + void __set_success(const Partition& val); - void __set_o1(const InvalidObjectException& val) { - o1 = val; - } + void __set_o1(const InvalidObjectException& val); - void __set_o2(const AlreadyExistsException& val) { - o2 = val; - } + void __set_o2(const AlreadyExistsException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_append_partition_by_name_with_environment_context_result & rhs) const { @@ -5657,22 +5867,25 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_resu uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult__isset { _ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult__isset; class ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult { public: + static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; + static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult() throw() {} + virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult() throw(); Partition* success; InvalidObjectException o1; AlreadyExistsException o2; @@ -5682,24 +5895,29 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_pres uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_args__isset { _ThriftHiveMetastore_drop_partition_args__isset() : db_name(false), tbl_name(false), part_vals(false), deleteData(false) {} - bool db_name; - bool tbl_name; - bool part_vals; - bool deleteData; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; + bool deleteData :1; } _ThriftHiveMetastore_drop_partition_args__isset; class ThriftHiveMetastore_drop_partition_args { public: + static const char* ascii_fingerprint; // = "8222263D6AD664C570FA0215EE8D26A0"; + static const uint8_t binary_fingerprint[16]; // = {0x82,0x22,0x26,0x3D,0x6A,0xD6,0x64,0xC5,0x70,0xFA,0x02,0x15,0xEE,0x8D,0x26,0xA0}; + + ThriftHiveMetastore_drop_partition_args(const ThriftHiveMetastore_drop_partition_args&); + ThriftHiveMetastore_drop_partition_args& operator=(const ThriftHiveMetastore_drop_partition_args&); ThriftHiveMetastore_drop_partition_args() : db_name(), tbl_name(), deleteData(0) { } - virtual ~ThriftHiveMetastore_drop_partition_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_partition_args() throw(); std::string db_name; std::string tbl_name; std::vector part_vals; @@ -5707,21 +5925,13 @@ class ThriftHiveMetastore_drop_partition_args { _ThriftHiveMetastore_drop_partition_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::vector & val) { - part_vals = val; - } + void __set_part_vals(const std::vector & val); - void __set_deleteData(const bool val) { - deleteData = val; - } + void __set_deleteData(const bool val); bool operator == (const ThriftHiveMetastore_drop_partition_args & rhs) const { @@ -5744,15 +5954,18 @@ class ThriftHiveMetastore_drop_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_args& obj); }; class ThriftHiveMetastore_drop_partition_pargs { public: + static const char* ascii_fingerprint; // = "8222263D6AD664C570FA0215EE8D26A0"; + static const uint8_t binary_fingerprint[16]; // = {0x82,0x22,0x26,0x3D,0x6A,0xD6,0x64,0xC5,0x70,0xFA,0x02,0x15,0xEE,0x8D,0x26,0xA0}; - virtual ~ThriftHiveMetastore_drop_partition_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_partition_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * part_vals; @@ -5760,40 +5973,39 @@ class ThriftHiveMetastore_drop_partition_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_result__isset { _ThriftHiveMetastore_drop_partition_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_partition_result__isset; class ThriftHiveMetastore_drop_partition_result { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; + + ThriftHiveMetastore_drop_partition_result(const ThriftHiveMetastore_drop_partition_result&); + ThriftHiveMetastore_drop_partition_result& operator=(const ThriftHiveMetastore_drop_partition_result&); ThriftHiveMetastore_drop_partition_result() : success(0) { } - virtual ~ThriftHiveMetastore_drop_partition_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_partition_result() throw(); bool success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_drop_partition_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_drop_partition_result & rhs) const { @@ -5814,21 +6026,24 @@ class ThriftHiveMetastore_drop_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_result& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_presult__isset { _ThriftHiveMetastore_drop_partition_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_partition_presult__isset; class ThriftHiveMetastore_drop_partition_presult { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_partition_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_partition_presult() throw(); bool* success; NoSuchObjectException o1; MetaException o2; @@ -5837,25 +6052,30 @@ class ThriftHiveMetastore_drop_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_args__isset { _ThriftHiveMetastore_drop_partition_with_environment_context_args__isset() : db_name(false), tbl_name(false), part_vals(false), deleteData(false), environment_context(false) {} - bool db_name; - bool tbl_name; - bool part_vals; - bool deleteData; - bool environment_context; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; + bool deleteData :1; + bool environment_context :1; } _ThriftHiveMetastore_drop_partition_with_environment_context_args__isset; class ThriftHiveMetastore_drop_partition_with_environment_context_args { public: + static const char* ascii_fingerprint; // = "718899EA1E33D9DB4318A4E3743041B5"; + static const uint8_t binary_fingerprint[16]; // = {0x71,0x88,0x99,0xEA,0x1E,0x33,0xD9,0xDB,0x43,0x18,0xA4,0xE3,0x74,0x30,0x41,0xB5}; + + ThriftHiveMetastore_drop_partition_with_environment_context_args(const ThriftHiveMetastore_drop_partition_with_environment_context_args&); + ThriftHiveMetastore_drop_partition_with_environment_context_args& operator=(const ThriftHiveMetastore_drop_partition_with_environment_context_args&); ThriftHiveMetastore_drop_partition_with_environment_context_args() : db_name(), tbl_name(), deleteData(0) { } - virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_args() throw(); std::string db_name; std::string tbl_name; std::vector part_vals; @@ -5864,25 +6084,15 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { _ThriftHiveMetastore_drop_partition_with_environment_context_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::vector & val) { - part_vals = val; - } + void __set_part_vals(const std::vector & val); - void __set_deleteData(const bool val) { - deleteData = val; - } + void __set_deleteData(const bool val); - void __set_environment_context(const EnvironmentContext& val) { - environment_context = val; - } + void __set_environment_context(const EnvironmentContext& val); bool operator == (const ThriftHiveMetastore_drop_partition_with_environment_context_args & rhs) const { @@ -5907,15 +6117,18 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_with_environment_context_args& obj); }; class ThriftHiveMetastore_drop_partition_with_environment_context_pargs { public: + static const char* ascii_fingerprint; // = "718899EA1E33D9DB4318A4E3743041B5"; + static const uint8_t binary_fingerprint[16]; // = {0x71,0x88,0x99,0xEA,0x1E,0x33,0xD9,0xDB,0x43,0x18,0xA4,0xE3,0x74,0x30,0x41,0xB5}; - virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * part_vals; @@ -5924,40 +6137,39 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_result__isset { _ThriftHiveMetastore_drop_partition_with_environment_context_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_partition_with_environment_context_result__isset; class ThriftHiveMetastore_drop_partition_with_environment_context_result { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; + + ThriftHiveMetastore_drop_partition_with_environment_context_result(const ThriftHiveMetastore_drop_partition_with_environment_context_result&); + ThriftHiveMetastore_drop_partition_with_environment_context_result& operator=(const ThriftHiveMetastore_drop_partition_with_environment_context_result&); ThriftHiveMetastore_drop_partition_with_environment_context_result() : success(0) { } - virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_result() throw(); bool success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_drop_partition_with_environment_context_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_drop_partition_with_environment_context_result & rhs) const { @@ -5978,21 +6190,24 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_presult__isset { _ThriftHiveMetastore_drop_partition_with_environment_context_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_partition_with_environment_context_presult__isset; class ThriftHiveMetastore_drop_partition_with_environment_context_presult { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_presult() throw(); bool* success; NoSuchObjectException o1; MetaException o2; @@ -6001,24 +6216,29 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_args__isset { _ThriftHiveMetastore_drop_partition_by_name_args__isset() : db_name(false), tbl_name(false), part_name(false), deleteData(false) {} - bool db_name; - bool tbl_name; - bool part_name; - bool deleteData; + bool db_name :1; + bool tbl_name :1; + bool part_name :1; + bool deleteData :1; } _ThriftHiveMetastore_drop_partition_by_name_args__isset; class ThriftHiveMetastore_drop_partition_by_name_args { public: + static const char* ascii_fingerprint; // = "557CE3E1F35DD5D74A3999FB1200CAB8"; + static const uint8_t binary_fingerprint[16]; // = {0x55,0x7C,0xE3,0xE1,0xF3,0x5D,0xD5,0xD7,0x4A,0x39,0x99,0xFB,0x12,0x00,0xCA,0xB8}; + + ThriftHiveMetastore_drop_partition_by_name_args(const ThriftHiveMetastore_drop_partition_by_name_args&); + ThriftHiveMetastore_drop_partition_by_name_args& operator=(const ThriftHiveMetastore_drop_partition_by_name_args&); ThriftHiveMetastore_drop_partition_by_name_args() : db_name(), tbl_name(), part_name(), deleteData(0) { } - virtual ~ThriftHiveMetastore_drop_partition_by_name_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_partition_by_name_args() throw(); std::string db_name; std::string tbl_name; std::string part_name; @@ -6026,21 +6246,13 @@ class ThriftHiveMetastore_drop_partition_by_name_args { _ThriftHiveMetastore_drop_partition_by_name_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_name(const std::string& val) { - part_name = val; - } + void __set_part_name(const std::string& val); - void __set_deleteData(const bool val) { - deleteData = val; - } + void __set_deleteData(const bool val); bool operator == (const ThriftHiveMetastore_drop_partition_by_name_args & rhs) const { @@ -6063,15 +6275,18 @@ class ThriftHiveMetastore_drop_partition_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_args& obj); }; class ThriftHiveMetastore_drop_partition_by_name_pargs { public: + static const char* ascii_fingerprint; // = "557CE3E1F35DD5D74A3999FB1200CAB8"; + static const uint8_t binary_fingerprint[16]; // = {0x55,0x7C,0xE3,0xE1,0xF3,0x5D,0xD5,0xD7,0x4A,0x39,0x99,0xFB,0x12,0x00,0xCA,0xB8}; - virtual ~ThriftHiveMetastore_drop_partition_by_name_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_partition_by_name_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* part_name; @@ -6079,40 +6294,39 @@ class ThriftHiveMetastore_drop_partition_by_name_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_result__isset { _ThriftHiveMetastore_drop_partition_by_name_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_partition_by_name_result__isset; class ThriftHiveMetastore_drop_partition_by_name_result { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; + + ThriftHiveMetastore_drop_partition_by_name_result(const ThriftHiveMetastore_drop_partition_by_name_result&); + ThriftHiveMetastore_drop_partition_by_name_result& operator=(const ThriftHiveMetastore_drop_partition_by_name_result&); ThriftHiveMetastore_drop_partition_by_name_result() : success(0) { } - virtual ~ThriftHiveMetastore_drop_partition_by_name_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_partition_by_name_result() throw(); bool success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_drop_partition_by_name_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_drop_partition_by_name_result & rhs) const { @@ -6133,21 +6347,24 @@ class ThriftHiveMetastore_drop_partition_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_presult__isset { _ThriftHiveMetastore_drop_partition_by_name_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_partition_by_name_presult__isset; class ThriftHiveMetastore_drop_partition_by_name_presult { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_partition_by_name_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_partition_by_name_presult() throw(); bool* success; NoSuchObjectException o1; MetaException o2; @@ -6156,25 +6373,30 @@ class ThriftHiveMetastore_drop_partition_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args__isset { _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args__isset() : db_name(false), tbl_name(false), part_name(false), deleteData(false), environment_context(false) {} - bool db_name; - bool tbl_name; - bool part_name; - bool deleteData; - bool environment_context; + bool db_name :1; + bool tbl_name :1; + bool part_name :1; + bool deleteData :1; + bool environment_context :1; } _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args__isset; class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args { public: + static const char* ascii_fingerprint; // = "B1CAA0531B4466AF765CDC7D12D54533"; + static const uint8_t binary_fingerprint[16]; // = {0xB1,0xCA,0xA0,0x53,0x1B,0x44,0x66,0xAF,0x76,0x5C,0xDC,0x7D,0x12,0xD5,0x45,0x33}; + + ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args(const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args&); + ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args& operator=(const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args&); ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args() : db_name(), tbl_name(), part_name(), deleteData(0) { } - virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args() throw(); std::string db_name; std::string tbl_name; std::string part_name; @@ -6183,25 +6405,15 @@ class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args { _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_name(const std::string& val) { - part_name = val; - } + void __set_part_name(const std::string& val); - void __set_deleteData(const bool val) { - deleteData = val; - } + void __set_deleteData(const bool val); - void __set_environment_context(const EnvironmentContext& val) { - environment_context = val; - } + void __set_environment_context(const EnvironmentContext& val); bool operator == (const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args & rhs) const { @@ -6226,15 +6438,18 @@ class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args& obj); }; class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs { public: + static const char* ascii_fingerprint; // = "B1CAA0531B4466AF765CDC7D12D54533"; + static const uint8_t binary_fingerprint[16]; // = {0xB1,0xCA,0xA0,0x53,0x1B,0x44,0x66,0xAF,0x76,0x5C,0xDC,0x7D,0x12,0xD5,0x45,0x33}; - virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* part_name; @@ -6243,40 +6458,39 @@ class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result__isset { _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result__isset; class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; + + ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result(const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result&); + ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result& operator=(const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result&); ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result() : success(0) { } - virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result() throw(); bool success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result & rhs) const { @@ -6297,21 +6511,24 @@ class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult__isset { _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult__isset; class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult() throw(); bool* success; NoSuchObjectException o1; MetaException o2; @@ -6320,28 +6537,31 @@ class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presul uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_partitions_req_args__isset { _ThriftHiveMetastore_drop_partitions_req_args__isset() : req(false) {} - bool req; + bool req :1; } _ThriftHiveMetastore_drop_partitions_req_args__isset; class ThriftHiveMetastore_drop_partitions_req_args { public: + static const char* ascii_fingerprint; // = "1FE0193BCF98F9809B4F69740E3946F0"; + static const uint8_t binary_fingerprint[16]; // = {0x1F,0xE0,0x19,0x3B,0xCF,0x98,0xF9,0x80,0x9B,0x4F,0x69,0x74,0x0E,0x39,0x46,0xF0}; + + ThriftHiveMetastore_drop_partitions_req_args(const ThriftHiveMetastore_drop_partitions_req_args&); + ThriftHiveMetastore_drop_partitions_req_args& operator=(const ThriftHiveMetastore_drop_partitions_req_args&); ThriftHiveMetastore_drop_partitions_req_args() { } - virtual ~ThriftHiveMetastore_drop_partitions_req_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_partitions_req_args() throw(); DropPartitionsRequest req; _ThriftHiveMetastore_drop_partitions_req_args__isset __isset; - void __set_req(const DropPartitionsRequest& val) { - req = val; - } + void __set_req(const DropPartitionsRequest& val); bool operator == (const ThriftHiveMetastore_drop_partitions_req_args & rhs) const { @@ -6358,53 +6578,55 @@ class ThriftHiveMetastore_drop_partitions_req_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partitions_req_args& obj); }; class ThriftHiveMetastore_drop_partitions_req_pargs { public: + static const char* ascii_fingerprint; // = "1FE0193BCF98F9809B4F69740E3946F0"; + static const uint8_t binary_fingerprint[16]; // = {0x1F,0xE0,0x19,0x3B,0xCF,0x98,0xF9,0x80,0x9B,0x4F,0x69,0x74,0x0E,0x39,0x46,0xF0}; - virtual ~ThriftHiveMetastore_drop_partitions_req_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_partitions_req_pargs() throw(); const DropPartitionsRequest* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partitions_req_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_partitions_req_result__isset { _ThriftHiveMetastore_drop_partitions_req_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_partitions_req_result__isset; class ThriftHiveMetastore_drop_partitions_req_result { public: + static const char* ascii_fingerprint; // = "F3D2F7B3EAE648736972C093DE1EC122"; + static const uint8_t binary_fingerprint[16]; // = {0xF3,0xD2,0xF7,0xB3,0xEA,0xE6,0x48,0x73,0x69,0x72,0xC0,0x93,0xDE,0x1E,0xC1,0x22}; + + ThriftHiveMetastore_drop_partitions_req_result(const ThriftHiveMetastore_drop_partitions_req_result&); + ThriftHiveMetastore_drop_partitions_req_result& operator=(const ThriftHiveMetastore_drop_partitions_req_result&); ThriftHiveMetastore_drop_partitions_req_result() { } - virtual ~ThriftHiveMetastore_drop_partitions_req_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_partitions_req_result() throw(); DropPartitionsResult success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_drop_partitions_req_result__isset __isset; - void __set_success(const DropPartitionsResult& val) { - success = val; - } + void __set_success(const DropPartitionsResult& val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_drop_partitions_req_result & rhs) const { @@ -6425,21 +6647,24 @@ class ThriftHiveMetastore_drop_partitions_req_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partitions_req_result& obj); }; typedef struct _ThriftHiveMetastore_drop_partitions_req_presult__isset { _ThriftHiveMetastore_drop_partitions_req_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_partitions_req_presult__isset; class ThriftHiveMetastore_drop_partitions_req_presult { public: + static const char* ascii_fingerprint; // = "F3D2F7B3EAE648736972C093DE1EC122"; + static const uint8_t binary_fingerprint[16]; // = {0xF3,0xD2,0xF7,0xB3,0xEA,0xE6,0x48,0x73,0x69,0x72,0xC0,0x93,0xDE,0x1E,0xC1,0x22}; - virtual ~ThriftHiveMetastore_drop_partitions_req_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_partitions_req_presult() throw(); DropPartitionsResult* success; NoSuchObjectException o1; MetaException o2; @@ -6448,40 +6673,39 @@ class ThriftHiveMetastore_drop_partitions_req_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partitions_req_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_args__isset { _ThriftHiveMetastore_get_partition_args__isset() : db_name(false), tbl_name(false), part_vals(false) {} - bool db_name; - bool tbl_name; - bool part_vals; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; } _ThriftHiveMetastore_get_partition_args__isset; class ThriftHiveMetastore_get_partition_args { public: + static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; + static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; + + ThriftHiveMetastore_get_partition_args(const ThriftHiveMetastore_get_partition_args&); + ThriftHiveMetastore_get_partition_args& operator=(const ThriftHiveMetastore_get_partition_args&); ThriftHiveMetastore_get_partition_args() : db_name(), tbl_name() { } - virtual ~ThriftHiveMetastore_get_partition_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_args() throw(); std::string db_name; std::string tbl_name; std::vector part_vals; _ThriftHiveMetastore_get_partition_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::vector & val) { - part_vals = val; - } + void __set_part_vals(const std::vector & val); bool operator == (const ThriftHiveMetastore_get_partition_args & rhs) const { @@ -6502,55 +6726,57 @@ class ThriftHiveMetastore_get_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_args& obj); }; class ThriftHiveMetastore_get_partition_pargs { public: + static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; + static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; - virtual ~ThriftHiveMetastore_get_partition_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partition_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * part_vals; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_result__isset { _ThriftHiveMetastore_get_partition_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partition_result__isset; class ThriftHiveMetastore_get_partition_result { public: + static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; + static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; + + ThriftHiveMetastore_get_partition_result(const ThriftHiveMetastore_get_partition_result&); + ThriftHiveMetastore_get_partition_result& operator=(const ThriftHiveMetastore_get_partition_result&); ThriftHiveMetastore_get_partition_result() { } - virtual ~ThriftHiveMetastore_get_partition_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_result() throw(); Partition success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_partition_result__isset __isset; - void __set_success(const Partition& val) { - success = val; - } + void __set_success(const Partition& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_partition_result & rhs) const { @@ -6571,21 +6797,24 @@ class ThriftHiveMetastore_get_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_presult__isset { _ThriftHiveMetastore_get_partition_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partition_presult__isset; class ThriftHiveMetastore_get_partition_presult { public: + static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; + static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; - virtual ~ThriftHiveMetastore_get_partition_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partition_presult() throw(); Partition* success; MetaException o1; NoSuchObjectException o2; @@ -6594,25 +6823,30 @@ class ThriftHiveMetastore_get_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_exchange_partition_args__isset { _ThriftHiveMetastore_exchange_partition_args__isset() : partitionSpecs(false), source_db(false), source_table_name(false), dest_db(false), dest_table_name(false) {} - bool partitionSpecs; - bool source_db; - bool source_table_name; - bool dest_db; - bool dest_table_name; + bool partitionSpecs :1; + bool source_db :1; + bool source_table_name :1; + bool dest_db :1; + bool dest_table_name :1; } _ThriftHiveMetastore_exchange_partition_args__isset; class ThriftHiveMetastore_exchange_partition_args { public: + static const char* ascii_fingerprint; // = "14D07CC2D6D857D1A741287E7A6EBF6E"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0xD0,0x7C,0xC2,0xD6,0xD8,0x57,0xD1,0xA7,0x41,0x28,0x7E,0x7A,0x6E,0xBF,0x6E}; + + ThriftHiveMetastore_exchange_partition_args(const ThriftHiveMetastore_exchange_partition_args&); + ThriftHiveMetastore_exchange_partition_args& operator=(const ThriftHiveMetastore_exchange_partition_args&); ThriftHiveMetastore_exchange_partition_args() : source_db(), source_table_name(), dest_db(), dest_table_name() { } - virtual ~ThriftHiveMetastore_exchange_partition_args() throw() {} - + virtual ~ThriftHiveMetastore_exchange_partition_args() throw(); std::map partitionSpecs; std::string source_db; std::string source_table_name; @@ -6621,25 +6855,15 @@ class ThriftHiveMetastore_exchange_partition_args { _ThriftHiveMetastore_exchange_partition_args__isset __isset; - void __set_partitionSpecs(const std::map & val) { - partitionSpecs = val; - } + void __set_partitionSpecs(const std::map & val); - void __set_source_db(const std::string& val) { - source_db = val; - } + void __set_source_db(const std::string& val); - void __set_source_table_name(const std::string& val) { - source_table_name = val; - } + void __set_source_table_name(const std::string& val); - void __set_dest_db(const std::string& val) { - dest_db = val; - } + void __set_dest_db(const std::string& val); - void __set_dest_table_name(const std::string& val) { - dest_table_name = val; - } + void __set_dest_table_name(const std::string& val); bool operator == (const ThriftHiveMetastore_exchange_partition_args & rhs) const { @@ -6664,15 +6888,18 @@ class ThriftHiveMetastore_exchange_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partition_args& obj); }; class ThriftHiveMetastore_exchange_partition_pargs { public: + static const char* ascii_fingerprint; // = "14D07CC2D6D857D1A741287E7A6EBF6E"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0xD0,0x7C,0xC2,0xD6,0xD8,0x57,0xD1,0xA7,0x41,0x28,0x7E,0x7A,0x6E,0xBF,0x6E}; - virtual ~ThriftHiveMetastore_exchange_partition_pargs() throw() {} + virtual ~ThriftHiveMetastore_exchange_partition_pargs() throw(); const std::map * partitionSpecs; const std::string* source_db; const std::string* source_table_name; @@ -6681,25 +6908,30 @@ class ThriftHiveMetastore_exchange_partition_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_exchange_partition_result__isset { _ThriftHiveMetastore_exchange_partition_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_exchange_partition_result__isset; class ThriftHiveMetastore_exchange_partition_result { public: + static const char* ascii_fingerprint; // = "993C8A5EF08B1972D46727E8C012FA79"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x3C,0x8A,0x5E,0xF0,0x8B,0x19,0x72,0xD4,0x67,0x27,0xE8,0xC0,0x12,0xFA,0x79}; + + ThriftHiveMetastore_exchange_partition_result(const ThriftHiveMetastore_exchange_partition_result&); + ThriftHiveMetastore_exchange_partition_result& operator=(const ThriftHiveMetastore_exchange_partition_result&); ThriftHiveMetastore_exchange_partition_result() { } - virtual ~ThriftHiveMetastore_exchange_partition_result() throw() {} - + virtual ~ThriftHiveMetastore_exchange_partition_result() throw(); Partition success; MetaException o1; NoSuchObjectException o2; @@ -6708,25 +6940,15 @@ class ThriftHiveMetastore_exchange_partition_result { _ThriftHiveMetastore_exchange_partition_result__isset __isset; - void __set_success(const Partition& val) { - success = val; - } + void __set_success(const Partition& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); - void __set_o3(const InvalidObjectException& val) { - o3 = val; - } + void __set_o3(const InvalidObjectException& val); - void __set_o4(const InvalidInputException& val) { - o4 = val; - } + void __set_o4(const InvalidInputException& val); bool operator == (const ThriftHiveMetastore_exchange_partition_result & rhs) const { @@ -6751,23 +6973,26 @@ class ThriftHiveMetastore_exchange_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partition_result& obj); }; typedef struct _ThriftHiveMetastore_exchange_partition_presult__isset { _ThriftHiveMetastore_exchange_partition_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_exchange_partition_presult__isset; class ThriftHiveMetastore_exchange_partition_presult { public: + static const char* ascii_fingerprint; // = "993C8A5EF08B1972D46727E8C012FA79"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x3C,0x8A,0x5E,0xF0,0x8B,0x19,0x72,0xD4,0x67,0x27,0xE8,0xC0,0x12,0xFA,0x79}; - virtual ~ThriftHiveMetastore_exchange_partition_presult() throw() {} + virtual ~ThriftHiveMetastore_exchange_partition_presult() throw(); Partition* success; MetaException o1; NoSuchObjectException o2; @@ -6778,25 +7003,30 @@ class ThriftHiveMetastore_exchange_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_with_auth_args__isset { _ThriftHiveMetastore_get_partition_with_auth_args__isset() : db_name(false), tbl_name(false), part_vals(false), user_name(false), group_names(false) {} - bool db_name; - bool tbl_name; - bool part_vals; - bool user_name; - bool group_names; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; + bool user_name :1; + bool group_names :1; } _ThriftHiveMetastore_get_partition_with_auth_args__isset; class ThriftHiveMetastore_get_partition_with_auth_args { public: + static const char* ascii_fingerprint; // = "75808EDCBA7F876F099BCD38BE91EDB3"; + static const uint8_t binary_fingerprint[16]; // = {0x75,0x80,0x8E,0xDC,0xBA,0x7F,0x87,0x6F,0x09,0x9B,0xCD,0x38,0xBE,0x91,0xED,0xB3}; + + ThriftHiveMetastore_get_partition_with_auth_args(const ThriftHiveMetastore_get_partition_with_auth_args&); + ThriftHiveMetastore_get_partition_with_auth_args& operator=(const ThriftHiveMetastore_get_partition_with_auth_args&); ThriftHiveMetastore_get_partition_with_auth_args() : db_name(), tbl_name(), user_name() { } - virtual ~ThriftHiveMetastore_get_partition_with_auth_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_with_auth_args() throw(); std::string db_name; std::string tbl_name; std::vector part_vals; @@ -6805,25 +7035,15 @@ class ThriftHiveMetastore_get_partition_with_auth_args { _ThriftHiveMetastore_get_partition_with_auth_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::vector & val) { - part_vals = val; - } + void __set_part_vals(const std::vector & val); - void __set_user_name(const std::string& val) { - user_name = val; - } + void __set_user_name(const std::string& val); - void __set_group_names(const std::vector & val) { - group_names = val; - } + void __set_group_names(const std::vector & val); bool operator == (const ThriftHiveMetastore_get_partition_with_auth_args & rhs) const { @@ -6848,15 +7068,18 @@ class ThriftHiveMetastore_get_partition_with_auth_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_with_auth_args& obj); }; class ThriftHiveMetastore_get_partition_with_auth_pargs { public: + static const char* ascii_fingerprint; // = "75808EDCBA7F876F099BCD38BE91EDB3"; + static const uint8_t binary_fingerprint[16]; // = {0x75,0x80,0x8E,0xDC,0xBA,0x7F,0x87,0x6F,0x09,0x9B,0xCD,0x38,0xBE,0x91,0xED,0xB3}; - virtual ~ThriftHiveMetastore_get_partition_with_auth_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partition_with_auth_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * part_vals; @@ -6865,40 +7088,39 @@ class ThriftHiveMetastore_get_partition_with_auth_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_with_auth_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_with_auth_result__isset { _ThriftHiveMetastore_get_partition_with_auth_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partition_with_auth_result__isset; class ThriftHiveMetastore_get_partition_with_auth_result { public: + static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; + static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; + + ThriftHiveMetastore_get_partition_with_auth_result(const ThriftHiveMetastore_get_partition_with_auth_result&); + ThriftHiveMetastore_get_partition_with_auth_result& operator=(const ThriftHiveMetastore_get_partition_with_auth_result&); ThriftHiveMetastore_get_partition_with_auth_result() { } - virtual ~ThriftHiveMetastore_get_partition_with_auth_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_with_auth_result() throw(); Partition success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_partition_with_auth_result__isset __isset; - void __set_success(const Partition& val) { - success = val; - } + void __set_success(const Partition& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_partition_with_auth_result & rhs) const { @@ -6919,21 +7141,24 @@ class ThriftHiveMetastore_get_partition_with_auth_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_with_auth_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_with_auth_presult__isset { _ThriftHiveMetastore_get_partition_with_auth_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partition_with_auth_presult__isset; class ThriftHiveMetastore_get_partition_with_auth_presult { public: + static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; + static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; - virtual ~ThriftHiveMetastore_get_partition_with_auth_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partition_with_auth_presult() throw(); Partition* success; MetaException o1; NoSuchObjectException o2; @@ -6942,40 +7167,39 @@ class ThriftHiveMetastore_get_partition_with_auth_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_with_auth_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_by_name_args__isset { _ThriftHiveMetastore_get_partition_by_name_args__isset() : db_name(false), tbl_name(false), part_name(false) {} - bool db_name; - bool tbl_name; - bool part_name; + bool db_name :1; + bool tbl_name :1; + bool part_name :1; } _ThriftHiveMetastore_get_partition_by_name_args__isset; class ThriftHiveMetastore_get_partition_by_name_args { public: + static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; + + ThriftHiveMetastore_get_partition_by_name_args(const ThriftHiveMetastore_get_partition_by_name_args&); + ThriftHiveMetastore_get_partition_by_name_args& operator=(const ThriftHiveMetastore_get_partition_by_name_args&); ThriftHiveMetastore_get_partition_by_name_args() : db_name(), tbl_name(), part_name() { } - virtual ~ThriftHiveMetastore_get_partition_by_name_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_by_name_args() throw(); std::string db_name; std::string tbl_name; std::string part_name; _ThriftHiveMetastore_get_partition_by_name_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_name(const std::string& val) { - part_name = val; - } + void __set_part_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_partition_by_name_args & rhs) const { @@ -6996,55 +7220,57 @@ class ThriftHiveMetastore_get_partition_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_by_name_args& obj); }; class ThriftHiveMetastore_get_partition_by_name_pargs { public: + static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - virtual ~ThriftHiveMetastore_get_partition_by_name_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partition_by_name_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* part_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_by_name_result__isset { _ThriftHiveMetastore_get_partition_by_name_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partition_by_name_result__isset; class ThriftHiveMetastore_get_partition_by_name_result { public: + static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; + static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; + + ThriftHiveMetastore_get_partition_by_name_result(const ThriftHiveMetastore_get_partition_by_name_result&); + ThriftHiveMetastore_get_partition_by_name_result& operator=(const ThriftHiveMetastore_get_partition_by_name_result&); ThriftHiveMetastore_get_partition_by_name_result() { } - virtual ~ThriftHiveMetastore_get_partition_by_name_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_by_name_result() throw(); Partition success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_partition_by_name_result__isset __isset; - void __set_success(const Partition& val) { - success = val; - } + void __set_success(const Partition& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_partition_by_name_result & rhs) const { @@ -7065,21 +7291,24 @@ class ThriftHiveMetastore_get_partition_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_by_name_presult__isset { _ThriftHiveMetastore_get_partition_by_name_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partition_by_name_presult__isset; class ThriftHiveMetastore_get_partition_by_name_presult { public: + static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; + static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; - virtual ~ThriftHiveMetastore_get_partition_by_name_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partition_by_name_presult() throw(); Partition* success; MetaException o1; NoSuchObjectException o2; @@ -7088,40 +7317,39 @@ class ThriftHiveMetastore_get_partition_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_args__isset { _ThriftHiveMetastore_get_partitions_args__isset() : db_name(false), tbl_name(false), max_parts(true) {} - bool db_name; - bool tbl_name; - bool max_parts; + bool db_name :1; + bool tbl_name :1; + bool max_parts :1; } _ThriftHiveMetastore_get_partitions_args__isset; class ThriftHiveMetastore_get_partitions_args { public: + static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; + + ThriftHiveMetastore_get_partitions_args(const ThriftHiveMetastore_get_partitions_args&); + ThriftHiveMetastore_get_partitions_args& operator=(const ThriftHiveMetastore_get_partitions_args&); ThriftHiveMetastore_get_partitions_args() : db_name(), tbl_name(), max_parts(-1) { } - virtual ~ThriftHiveMetastore_get_partitions_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_args() throw(); std::string db_name; std::string tbl_name; int16_t max_parts; _ThriftHiveMetastore_get_partitions_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_max_parts(const int16_t val) { - max_parts = val; - } + void __set_max_parts(const int16_t val); bool operator == (const ThriftHiveMetastore_get_partitions_args & rhs) const { @@ -7142,55 +7370,57 @@ class ThriftHiveMetastore_get_partitions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_args& obj); }; class ThriftHiveMetastore_get_partitions_pargs { public: + static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - virtual ~ThriftHiveMetastore_get_partitions_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const int16_t* max_parts; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_result__isset { _ThriftHiveMetastore_get_partitions_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_result__isset; class ThriftHiveMetastore_get_partitions_result { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; + + ThriftHiveMetastore_get_partitions_result(const ThriftHiveMetastore_get_partitions_result&); + ThriftHiveMetastore_get_partitions_result& operator=(const ThriftHiveMetastore_get_partitions_result&); ThriftHiveMetastore_get_partitions_result() { } - virtual ~ThriftHiveMetastore_get_partitions_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_result() throw(); std::vector success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_get_partitions_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_partitions_result & rhs) const { @@ -7211,21 +7441,24 @@ class ThriftHiveMetastore_get_partitions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_presult__isset { _ThriftHiveMetastore_get_partitions_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_presult__isset; class ThriftHiveMetastore_get_partitions_presult { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_presult() throw(); std::vector * success; NoSuchObjectException o1; MetaException o2; @@ -7234,25 +7467,30 @@ class ThriftHiveMetastore_get_partitions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_with_auth_args__isset { _ThriftHiveMetastore_get_partitions_with_auth_args__isset() : db_name(false), tbl_name(false), max_parts(true), user_name(false), group_names(false) {} - bool db_name; - bool tbl_name; - bool max_parts; - bool user_name; - bool group_names; + bool db_name :1; + bool tbl_name :1; + bool max_parts :1; + bool user_name :1; + bool group_names :1; } _ThriftHiveMetastore_get_partitions_with_auth_args__isset; class ThriftHiveMetastore_get_partitions_with_auth_args { public: + static const char* ascii_fingerprint; // = "D4ED309E57FB5536267FF51643506588"; + static const uint8_t binary_fingerprint[16]; // = {0xD4,0xED,0x30,0x9E,0x57,0xFB,0x55,0x36,0x26,0x7F,0xF5,0x16,0x43,0x50,0x65,0x88}; + + ThriftHiveMetastore_get_partitions_with_auth_args(const ThriftHiveMetastore_get_partitions_with_auth_args&); + ThriftHiveMetastore_get_partitions_with_auth_args& operator=(const ThriftHiveMetastore_get_partitions_with_auth_args&); ThriftHiveMetastore_get_partitions_with_auth_args() : db_name(), tbl_name(), max_parts(-1), user_name() { } - virtual ~ThriftHiveMetastore_get_partitions_with_auth_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_with_auth_args() throw(); std::string db_name; std::string tbl_name; int16_t max_parts; @@ -7261,25 +7499,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { _ThriftHiveMetastore_get_partitions_with_auth_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_max_parts(const int16_t val) { - max_parts = val; - } + void __set_max_parts(const int16_t val); - void __set_user_name(const std::string& val) { - user_name = val; - } + void __set_user_name(const std::string& val); - void __set_group_names(const std::vector & val) { - group_names = val; - } + void __set_group_names(const std::vector & val); bool operator == (const ThriftHiveMetastore_get_partitions_with_auth_args & rhs) const { @@ -7304,15 +7532,18 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_with_auth_args& obj); }; class ThriftHiveMetastore_get_partitions_with_auth_pargs { public: + static const char* ascii_fingerprint; // = "D4ED309E57FB5536267FF51643506588"; + static const uint8_t binary_fingerprint[16]; // = {0xD4,0xED,0x30,0x9E,0x57,0xFB,0x55,0x36,0x26,0x7F,0xF5,0x16,0x43,0x50,0x65,0x88}; - virtual ~ThriftHiveMetastore_get_partitions_with_auth_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_with_auth_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const int16_t* max_parts; @@ -7321,40 +7552,39 @@ class ThriftHiveMetastore_get_partitions_with_auth_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_with_auth_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_with_auth_result__isset { _ThriftHiveMetastore_get_partitions_with_auth_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_with_auth_result__isset; class ThriftHiveMetastore_get_partitions_with_auth_result { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; + + ThriftHiveMetastore_get_partitions_with_auth_result(const ThriftHiveMetastore_get_partitions_with_auth_result&); + ThriftHiveMetastore_get_partitions_with_auth_result& operator=(const ThriftHiveMetastore_get_partitions_with_auth_result&); ThriftHiveMetastore_get_partitions_with_auth_result() { } - virtual ~ThriftHiveMetastore_get_partitions_with_auth_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_with_auth_result() throw(); std::vector success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_get_partitions_with_auth_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_partitions_with_auth_result & rhs) const { @@ -7375,21 +7605,24 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_with_auth_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_with_auth_presult__isset { _ThriftHiveMetastore_get_partitions_with_auth_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_with_auth_presult__isset; class ThriftHiveMetastore_get_partitions_with_auth_presult { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_with_auth_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_with_auth_presult() throw(); std::vector * success; NoSuchObjectException o1; MetaException o2; @@ -7398,40 +7631,39 @@ class ThriftHiveMetastore_get_partitions_with_auth_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_with_auth_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_pspec_args__isset { _ThriftHiveMetastore_get_partitions_pspec_args__isset() : db_name(false), tbl_name(false), max_parts(true) {} - bool db_name; - bool tbl_name; - bool max_parts; + bool db_name :1; + bool tbl_name :1; + bool max_parts :1; } _ThriftHiveMetastore_get_partitions_pspec_args__isset; class ThriftHiveMetastore_get_partitions_pspec_args { public: + static const char* ascii_fingerprint; // = "343DA57F446177400B333DC49B037B0C"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x3D,0xA5,0x7F,0x44,0x61,0x77,0x40,0x0B,0x33,0x3D,0xC4,0x9B,0x03,0x7B,0x0C}; + + ThriftHiveMetastore_get_partitions_pspec_args(const ThriftHiveMetastore_get_partitions_pspec_args&); + ThriftHiveMetastore_get_partitions_pspec_args& operator=(const ThriftHiveMetastore_get_partitions_pspec_args&); ThriftHiveMetastore_get_partitions_pspec_args() : db_name(), tbl_name(), max_parts(-1) { } - virtual ~ThriftHiveMetastore_get_partitions_pspec_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_pspec_args() throw(); std::string db_name; std::string tbl_name; int32_t max_parts; _ThriftHiveMetastore_get_partitions_pspec_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_max_parts(const int32_t val) { - max_parts = val; - } + void __set_max_parts(const int32_t val); bool operator == (const ThriftHiveMetastore_get_partitions_pspec_args & rhs) const { @@ -7452,55 +7684,57 @@ class ThriftHiveMetastore_get_partitions_pspec_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_pspec_args& obj); }; class ThriftHiveMetastore_get_partitions_pspec_pargs { public: + static const char* ascii_fingerprint; // = "343DA57F446177400B333DC49B037B0C"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x3D,0xA5,0x7F,0x44,0x61,0x77,0x40,0x0B,0x33,0x3D,0xC4,0x9B,0x03,0x7B,0x0C}; - virtual ~ThriftHiveMetastore_get_partitions_pspec_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_pspec_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const int32_t* max_parts; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_pspec_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_pspec_result__isset { _ThriftHiveMetastore_get_partitions_pspec_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_pspec_result__isset; class ThriftHiveMetastore_get_partitions_pspec_result { public: + static const char* ascii_fingerprint; // = "834C6ED9007DE3A504DF5B1F3BBEC56E"; + static const uint8_t binary_fingerprint[16]; // = {0x83,0x4C,0x6E,0xD9,0x00,0x7D,0xE3,0xA5,0x04,0xDF,0x5B,0x1F,0x3B,0xBE,0xC5,0x6E}; + + ThriftHiveMetastore_get_partitions_pspec_result(const ThriftHiveMetastore_get_partitions_pspec_result&); + ThriftHiveMetastore_get_partitions_pspec_result& operator=(const ThriftHiveMetastore_get_partitions_pspec_result&); ThriftHiveMetastore_get_partitions_pspec_result() { } - virtual ~ThriftHiveMetastore_get_partitions_pspec_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_pspec_result() throw(); std::vector success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_get_partitions_pspec_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_partitions_pspec_result & rhs) const { @@ -7521,21 +7755,24 @@ class ThriftHiveMetastore_get_partitions_pspec_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_pspec_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_pspec_presult__isset { _ThriftHiveMetastore_get_partitions_pspec_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_pspec_presult__isset; class ThriftHiveMetastore_get_partitions_pspec_presult { public: + static const char* ascii_fingerprint; // = "834C6ED9007DE3A504DF5B1F3BBEC56E"; + static const uint8_t binary_fingerprint[16]; // = {0x83,0x4C,0x6E,0xD9,0x00,0x7D,0xE3,0xA5,0x04,0xDF,0x5B,0x1F,0x3B,0xBE,0xC5,0x6E}; - virtual ~ThriftHiveMetastore_get_partitions_pspec_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_pspec_presult() throw(); std::vector * success; NoSuchObjectException o1; MetaException o2; @@ -7544,40 +7781,39 @@ class ThriftHiveMetastore_get_partitions_pspec_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_pspec_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_args__isset { _ThriftHiveMetastore_get_partition_names_args__isset() : db_name(false), tbl_name(false), max_parts(true) {} - bool db_name; - bool tbl_name; - bool max_parts; + bool db_name :1; + bool tbl_name :1; + bool max_parts :1; } _ThriftHiveMetastore_get_partition_names_args__isset; class ThriftHiveMetastore_get_partition_names_args { public: + static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; + + ThriftHiveMetastore_get_partition_names_args(const ThriftHiveMetastore_get_partition_names_args&); + ThriftHiveMetastore_get_partition_names_args& operator=(const ThriftHiveMetastore_get_partition_names_args&); ThriftHiveMetastore_get_partition_names_args() : db_name(), tbl_name(), max_parts(-1) { } - virtual ~ThriftHiveMetastore_get_partition_names_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_names_args() throw(); std::string db_name; std::string tbl_name; int16_t max_parts; _ThriftHiveMetastore_get_partition_names_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_max_parts(const int16_t val) { - max_parts = val; - } + void __set_max_parts(const int16_t val); bool operator == (const ThriftHiveMetastore_get_partition_names_args & rhs) const { @@ -7598,49 +7834,53 @@ class ThriftHiveMetastore_get_partition_names_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_args& obj); }; class ThriftHiveMetastore_get_partition_names_pargs { public: + static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - virtual ~ThriftHiveMetastore_get_partition_names_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partition_names_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const int16_t* max_parts; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_result__isset { _ThriftHiveMetastore_get_partition_names_result__isset() : success(false), o2(false) {} - bool success; - bool o2; + bool success :1; + bool o2 :1; } _ThriftHiveMetastore_get_partition_names_result__isset; class ThriftHiveMetastore_get_partition_names_result { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; + + ThriftHiveMetastore_get_partition_names_result(const ThriftHiveMetastore_get_partition_names_result&); + ThriftHiveMetastore_get_partition_names_result& operator=(const ThriftHiveMetastore_get_partition_names_result&); ThriftHiveMetastore_get_partition_names_result() { } - virtual ~ThriftHiveMetastore_get_partition_names_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_names_result() throw(); std::vector success; MetaException o2; _ThriftHiveMetastore_get_partition_names_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_partition_names_result & rhs) const { @@ -7659,20 +7899,23 @@ class ThriftHiveMetastore_get_partition_names_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_presult__isset { _ThriftHiveMetastore_get_partition_names_presult__isset() : success(false), o2(false) {} - bool success; - bool o2; + bool success :1; + bool o2 :1; } _ThriftHiveMetastore_get_partition_names_presult__isset; class ThriftHiveMetastore_get_partition_names_presult { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_partition_names_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partition_names_presult() throw(); std::vector * success; MetaException o2; @@ -7680,24 +7923,29 @@ class ThriftHiveMetastore_get_partition_names_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_args__isset { _ThriftHiveMetastore_get_partitions_ps_args__isset() : db_name(false), tbl_name(false), part_vals(false), max_parts(true) {} - bool db_name; - bool tbl_name; - bool part_vals; - bool max_parts; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; + bool max_parts :1; } _ThriftHiveMetastore_get_partitions_ps_args__isset; class ThriftHiveMetastore_get_partitions_ps_args { public: + static const char* ascii_fingerprint; // = "1C50C967F7E8CEAC7E98218C57BAAA80"; + static const uint8_t binary_fingerprint[16]; // = {0x1C,0x50,0xC9,0x67,0xF7,0xE8,0xCE,0xAC,0x7E,0x98,0x21,0x8C,0x57,0xBA,0xAA,0x80}; + + ThriftHiveMetastore_get_partitions_ps_args(const ThriftHiveMetastore_get_partitions_ps_args&); + ThriftHiveMetastore_get_partitions_ps_args& operator=(const ThriftHiveMetastore_get_partitions_ps_args&); ThriftHiveMetastore_get_partitions_ps_args() : db_name(), tbl_name(), max_parts(-1) { } - virtual ~ThriftHiveMetastore_get_partitions_ps_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_ps_args() throw(); std::string db_name; std::string tbl_name; std::vector part_vals; @@ -7705,21 +7953,13 @@ class ThriftHiveMetastore_get_partitions_ps_args { _ThriftHiveMetastore_get_partitions_ps_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::vector & val) { - part_vals = val; - } + void __set_part_vals(const std::vector & val); - void __set_max_parts(const int16_t val) { - max_parts = val; - } + void __set_max_parts(const int16_t val); bool operator == (const ThriftHiveMetastore_get_partitions_ps_args & rhs) const { @@ -7742,15 +7982,18 @@ class ThriftHiveMetastore_get_partitions_ps_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_args& obj); }; class ThriftHiveMetastore_get_partitions_ps_pargs { public: + static const char* ascii_fingerprint; // = "1C50C967F7E8CEAC7E98218C57BAAA80"; + static const uint8_t binary_fingerprint[16]; // = {0x1C,0x50,0xC9,0x67,0xF7,0xE8,0xCE,0xAC,0x7E,0x98,0x21,0x8C,0x57,0xBA,0xAA,0x80}; - virtual ~ThriftHiveMetastore_get_partitions_ps_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_ps_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * part_vals; @@ -7758,40 +8001,39 @@ class ThriftHiveMetastore_get_partitions_ps_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_result__isset { _ThriftHiveMetastore_get_partitions_ps_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_ps_result__isset; class ThriftHiveMetastore_get_partitions_ps_result { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; + + ThriftHiveMetastore_get_partitions_ps_result(const ThriftHiveMetastore_get_partitions_ps_result&); + ThriftHiveMetastore_get_partitions_ps_result& operator=(const ThriftHiveMetastore_get_partitions_ps_result&); ThriftHiveMetastore_get_partitions_ps_result() { } - virtual ~ThriftHiveMetastore_get_partitions_ps_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_ps_result() throw(); std::vector success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_partitions_ps_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_partitions_ps_result & rhs) const { @@ -7812,21 +8054,24 @@ class ThriftHiveMetastore_get_partitions_ps_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_presult__isset { _ThriftHiveMetastore_get_partitions_ps_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_ps_presult__isset; class ThriftHiveMetastore_get_partitions_ps_presult { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_ps_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_ps_presult() throw(); std::vector * success; MetaException o1; NoSuchObjectException o2; @@ -7835,26 +8080,31 @@ class ThriftHiveMetastore_get_partitions_ps_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_with_auth_args__isset { _ThriftHiveMetastore_get_partitions_ps_with_auth_args__isset() : db_name(false), tbl_name(false), part_vals(false), max_parts(true), user_name(false), group_names(false) {} - bool db_name; - bool tbl_name; - bool part_vals; - bool max_parts; - bool user_name; - bool group_names; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; + bool max_parts :1; + bool user_name :1; + bool group_names :1; } _ThriftHiveMetastore_get_partitions_ps_with_auth_args__isset; class ThriftHiveMetastore_get_partitions_ps_with_auth_args { public: + static const char* ascii_fingerprint; // = "364E51B33D0A4C6D16C48359C6314201"; + static const uint8_t binary_fingerprint[16]; // = {0x36,0x4E,0x51,0xB3,0x3D,0x0A,0x4C,0x6D,0x16,0xC4,0x83,0x59,0xC6,0x31,0x42,0x01}; + + ThriftHiveMetastore_get_partitions_ps_with_auth_args(const ThriftHiveMetastore_get_partitions_ps_with_auth_args&); + ThriftHiveMetastore_get_partitions_ps_with_auth_args& operator=(const ThriftHiveMetastore_get_partitions_ps_with_auth_args&); ThriftHiveMetastore_get_partitions_ps_with_auth_args() : db_name(), tbl_name(), max_parts(-1), user_name() { } - virtual ~ThriftHiveMetastore_get_partitions_ps_with_auth_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_ps_with_auth_args() throw(); std::string db_name; std::string tbl_name; std::vector part_vals; @@ -7864,29 +8114,17 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { _ThriftHiveMetastore_get_partitions_ps_with_auth_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::vector & val) { - part_vals = val; - } + void __set_part_vals(const std::vector & val); - void __set_max_parts(const int16_t val) { - max_parts = val; - } + void __set_max_parts(const int16_t val); - void __set_user_name(const std::string& val) { - user_name = val; - } + void __set_user_name(const std::string& val); - void __set_group_names(const std::vector & val) { - group_names = val; - } + void __set_group_names(const std::vector & val); bool operator == (const ThriftHiveMetastore_get_partitions_ps_with_auth_args & rhs) const { @@ -7913,15 +8151,18 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_with_auth_args& obj); }; class ThriftHiveMetastore_get_partitions_ps_with_auth_pargs { public: + static const char* ascii_fingerprint; // = "364E51B33D0A4C6D16C48359C6314201"; + static const uint8_t binary_fingerprint[16]; // = {0x36,0x4E,0x51,0xB3,0x3D,0x0A,0x4C,0x6D,0x16,0xC4,0x83,0x59,0xC6,0x31,0x42,0x01}; - virtual ~ThriftHiveMetastore_get_partitions_ps_with_auth_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_ps_with_auth_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * part_vals; @@ -7931,40 +8172,39 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_with_auth_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_with_auth_result__isset { _ThriftHiveMetastore_get_partitions_ps_with_auth_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_ps_with_auth_result__isset; class ThriftHiveMetastore_get_partitions_ps_with_auth_result { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; + + ThriftHiveMetastore_get_partitions_ps_with_auth_result(const ThriftHiveMetastore_get_partitions_ps_with_auth_result&); + ThriftHiveMetastore_get_partitions_ps_with_auth_result& operator=(const ThriftHiveMetastore_get_partitions_ps_with_auth_result&); ThriftHiveMetastore_get_partitions_ps_with_auth_result() { } - virtual ~ThriftHiveMetastore_get_partitions_ps_with_auth_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_ps_with_auth_result() throw(); std::vector success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_get_partitions_ps_with_auth_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_partitions_ps_with_auth_result & rhs) const { @@ -7985,21 +8225,24 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_with_auth_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_with_auth_presult__isset { _ThriftHiveMetastore_get_partitions_ps_with_auth_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_ps_with_auth_presult__isset; class ThriftHiveMetastore_get_partitions_ps_with_auth_presult { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_ps_with_auth_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_ps_with_auth_presult() throw(); std::vector * success; NoSuchObjectException o1; MetaException o2; @@ -8008,24 +8251,29 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_with_auth_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_ps_args__isset { _ThriftHiveMetastore_get_partition_names_ps_args__isset() : db_name(false), tbl_name(false), part_vals(false), max_parts(true) {} - bool db_name; - bool tbl_name; - bool part_vals; - bool max_parts; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; + bool max_parts :1; } _ThriftHiveMetastore_get_partition_names_ps_args__isset; class ThriftHiveMetastore_get_partition_names_ps_args { public: + static const char* ascii_fingerprint; // = "1C50C967F7E8CEAC7E98218C57BAAA80"; + static const uint8_t binary_fingerprint[16]; // = {0x1C,0x50,0xC9,0x67,0xF7,0xE8,0xCE,0xAC,0x7E,0x98,0x21,0x8C,0x57,0xBA,0xAA,0x80}; + + ThriftHiveMetastore_get_partition_names_ps_args(const ThriftHiveMetastore_get_partition_names_ps_args&); + ThriftHiveMetastore_get_partition_names_ps_args& operator=(const ThriftHiveMetastore_get_partition_names_ps_args&); ThriftHiveMetastore_get_partition_names_ps_args() : db_name(), tbl_name(), max_parts(-1) { } - virtual ~ThriftHiveMetastore_get_partition_names_ps_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_names_ps_args() throw(); std::string db_name; std::string tbl_name; std::vector part_vals; @@ -8033,21 +8281,13 @@ class ThriftHiveMetastore_get_partition_names_ps_args { _ThriftHiveMetastore_get_partition_names_ps_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::vector & val) { - part_vals = val; - } + void __set_part_vals(const std::vector & val); - void __set_max_parts(const int16_t val) { - max_parts = val; - } + void __set_max_parts(const int16_t val); bool operator == (const ThriftHiveMetastore_get_partition_names_ps_args & rhs) const { @@ -8070,15 +8310,18 @@ class ThriftHiveMetastore_get_partition_names_ps_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_ps_args& obj); }; class ThriftHiveMetastore_get_partition_names_ps_pargs { public: + static const char* ascii_fingerprint; // = "1C50C967F7E8CEAC7E98218C57BAAA80"; + static const uint8_t binary_fingerprint[16]; // = {0x1C,0x50,0xC9,0x67,0xF7,0xE8,0xCE,0xAC,0x7E,0x98,0x21,0x8C,0x57,0xBA,0xAA,0x80}; - virtual ~ThriftHiveMetastore_get_partition_names_ps_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partition_names_ps_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * part_vals; @@ -8086,40 +8329,39 @@ class ThriftHiveMetastore_get_partition_names_ps_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_ps_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_ps_result__isset { _ThriftHiveMetastore_get_partition_names_ps_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partition_names_ps_result__isset; class ThriftHiveMetastore_get_partition_names_ps_result { public: + static const char* ascii_fingerprint; // = "6F932EA4FD66B00D80C9FE769EA07088"; + static const uint8_t binary_fingerprint[16]; // = {0x6F,0x93,0x2E,0xA4,0xFD,0x66,0xB0,0x0D,0x80,0xC9,0xFE,0x76,0x9E,0xA0,0x70,0x88}; + + ThriftHiveMetastore_get_partition_names_ps_result(const ThriftHiveMetastore_get_partition_names_ps_result&); + ThriftHiveMetastore_get_partition_names_ps_result& operator=(const ThriftHiveMetastore_get_partition_names_ps_result&); ThriftHiveMetastore_get_partition_names_ps_result() { } - virtual ~ThriftHiveMetastore_get_partition_names_ps_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_names_ps_result() throw(); std::vector success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_partition_names_ps_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_partition_names_ps_result & rhs) const { @@ -8140,21 +8382,24 @@ class ThriftHiveMetastore_get_partition_names_ps_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_ps_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_ps_presult__isset { _ThriftHiveMetastore_get_partition_names_ps_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partition_names_ps_presult__isset; class ThriftHiveMetastore_get_partition_names_ps_presult { public: + static const char* ascii_fingerprint; // = "6F932EA4FD66B00D80C9FE769EA07088"; + static const uint8_t binary_fingerprint[16]; // = {0x6F,0x93,0x2E,0xA4,0xFD,0x66,0xB0,0x0D,0x80,0xC9,0xFE,0x76,0x9E,0xA0,0x70,0x88}; - virtual ~ThriftHiveMetastore_get_partition_names_ps_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partition_names_ps_presult() throw(); std::vector * success; MetaException o1; NoSuchObjectException o2; @@ -8163,24 +8408,29 @@ class ThriftHiveMetastore_get_partition_names_ps_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_ps_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_filter_args__isset { _ThriftHiveMetastore_get_partitions_by_filter_args__isset() : db_name(false), tbl_name(false), filter(false), max_parts(true) {} - bool db_name; - bool tbl_name; - bool filter; - bool max_parts; + bool db_name :1; + bool tbl_name :1; + bool filter :1; + bool max_parts :1; } _ThriftHiveMetastore_get_partitions_by_filter_args__isset; class ThriftHiveMetastore_get_partitions_by_filter_args { public: + static const char* ascii_fingerprint; // = "21F9D8180F10C46A8E03BC2CEBC0E996"; + static const uint8_t binary_fingerprint[16]; // = {0x21,0xF9,0xD8,0x18,0x0F,0x10,0xC4,0x6A,0x8E,0x03,0xBC,0x2C,0xEB,0xC0,0xE9,0x96}; + + ThriftHiveMetastore_get_partitions_by_filter_args(const ThriftHiveMetastore_get_partitions_by_filter_args&); + ThriftHiveMetastore_get_partitions_by_filter_args& operator=(const ThriftHiveMetastore_get_partitions_by_filter_args&); ThriftHiveMetastore_get_partitions_by_filter_args() : db_name(), tbl_name(), filter(), max_parts(-1) { } - virtual ~ThriftHiveMetastore_get_partitions_by_filter_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_by_filter_args() throw(); std::string db_name; std::string tbl_name; std::string filter; @@ -8188,21 +8438,13 @@ class ThriftHiveMetastore_get_partitions_by_filter_args { _ThriftHiveMetastore_get_partitions_by_filter_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_filter(const std::string& val) { - filter = val; - } + void __set_filter(const std::string& val); - void __set_max_parts(const int16_t val) { - max_parts = val; - } + void __set_max_parts(const int16_t val); bool operator == (const ThriftHiveMetastore_get_partitions_by_filter_args & rhs) const { @@ -8225,15 +8467,18 @@ class ThriftHiveMetastore_get_partitions_by_filter_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_filter_args& obj); }; class ThriftHiveMetastore_get_partitions_by_filter_pargs { public: + static const char* ascii_fingerprint; // = "21F9D8180F10C46A8E03BC2CEBC0E996"; + static const uint8_t binary_fingerprint[16]; // = {0x21,0xF9,0xD8,0x18,0x0F,0x10,0xC4,0x6A,0x8E,0x03,0xBC,0x2C,0xEB,0xC0,0xE9,0x96}; - virtual ~ThriftHiveMetastore_get_partitions_by_filter_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_by_filter_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* filter; @@ -8241,40 +8486,39 @@ class ThriftHiveMetastore_get_partitions_by_filter_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_filter_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_filter_result__isset { _ThriftHiveMetastore_get_partitions_by_filter_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_by_filter_result__isset; class ThriftHiveMetastore_get_partitions_by_filter_result { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; + + ThriftHiveMetastore_get_partitions_by_filter_result(const ThriftHiveMetastore_get_partitions_by_filter_result&); + ThriftHiveMetastore_get_partitions_by_filter_result& operator=(const ThriftHiveMetastore_get_partitions_by_filter_result&); ThriftHiveMetastore_get_partitions_by_filter_result() { } - virtual ~ThriftHiveMetastore_get_partitions_by_filter_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_by_filter_result() throw(); std::vector success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_partitions_by_filter_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_partitions_by_filter_result & rhs) const { @@ -8295,21 +8539,24 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_filter_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_filter_presult__isset { _ThriftHiveMetastore_get_partitions_by_filter_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_by_filter_presult__isset; class ThriftHiveMetastore_get_partitions_by_filter_presult { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_by_filter_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_by_filter_presult() throw(); std::vector * success; MetaException o1; NoSuchObjectException o2; @@ -8318,24 +8565,29 @@ class ThriftHiveMetastore_get_partitions_by_filter_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_filter_presult& obj); }; typedef struct _ThriftHiveMetastore_get_part_specs_by_filter_args__isset { _ThriftHiveMetastore_get_part_specs_by_filter_args__isset() : db_name(false), tbl_name(false), filter(false), max_parts(true) {} - bool db_name; - bool tbl_name; - bool filter; - bool max_parts; + bool db_name :1; + bool tbl_name :1; + bool filter :1; + bool max_parts :1; } _ThriftHiveMetastore_get_part_specs_by_filter_args__isset; class ThriftHiveMetastore_get_part_specs_by_filter_args { public: + static const char* ascii_fingerprint; // = "194A357BC9EE908DC4763D0A5147760A"; + static const uint8_t binary_fingerprint[16]; // = {0x19,0x4A,0x35,0x7B,0xC9,0xEE,0x90,0x8D,0xC4,0x76,0x3D,0x0A,0x51,0x47,0x76,0x0A}; + + ThriftHiveMetastore_get_part_specs_by_filter_args(const ThriftHiveMetastore_get_part_specs_by_filter_args&); + ThriftHiveMetastore_get_part_specs_by_filter_args& operator=(const ThriftHiveMetastore_get_part_specs_by_filter_args&); ThriftHiveMetastore_get_part_specs_by_filter_args() : db_name(), tbl_name(), filter(), max_parts(-1) { } - virtual ~ThriftHiveMetastore_get_part_specs_by_filter_args() throw() {} - + virtual ~ThriftHiveMetastore_get_part_specs_by_filter_args() throw(); std::string db_name; std::string tbl_name; std::string filter; @@ -8343,21 +8595,13 @@ class ThriftHiveMetastore_get_part_specs_by_filter_args { _ThriftHiveMetastore_get_part_specs_by_filter_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_filter(const std::string& val) { - filter = val; - } + void __set_filter(const std::string& val); - void __set_max_parts(const int32_t val) { - max_parts = val; - } + void __set_max_parts(const int32_t val); bool operator == (const ThriftHiveMetastore_get_part_specs_by_filter_args & rhs) const { @@ -8380,15 +8624,18 @@ class ThriftHiveMetastore_get_part_specs_by_filter_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_part_specs_by_filter_args& obj); }; class ThriftHiveMetastore_get_part_specs_by_filter_pargs { public: + static const char* ascii_fingerprint; // = "194A357BC9EE908DC4763D0A5147760A"; + static const uint8_t binary_fingerprint[16]; // = {0x19,0x4A,0x35,0x7B,0xC9,0xEE,0x90,0x8D,0xC4,0x76,0x3D,0x0A,0x51,0x47,0x76,0x0A}; - virtual ~ThriftHiveMetastore_get_part_specs_by_filter_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_part_specs_by_filter_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* filter; @@ -8396,40 +8643,39 @@ class ThriftHiveMetastore_get_part_specs_by_filter_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_part_specs_by_filter_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_part_specs_by_filter_result__isset { _ThriftHiveMetastore_get_part_specs_by_filter_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_part_specs_by_filter_result__isset; class ThriftHiveMetastore_get_part_specs_by_filter_result { public: + static const char* ascii_fingerprint; // = "834C6ED9007DE3A504DF5B1F3BBEC56E"; + static const uint8_t binary_fingerprint[16]; // = {0x83,0x4C,0x6E,0xD9,0x00,0x7D,0xE3,0xA5,0x04,0xDF,0x5B,0x1F,0x3B,0xBE,0xC5,0x6E}; + + ThriftHiveMetastore_get_part_specs_by_filter_result(const ThriftHiveMetastore_get_part_specs_by_filter_result&); + ThriftHiveMetastore_get_part_specs_by_filter_result& operator=(const ThriftHiveMetastore_get_part_specs_by_filter_result&); ThriftHiveMetastore_get_part_specs_by_filter_result() { } - virtual ~ThriftHiveMetastore_get_part_specs_by_filter_result() throw() {} - + virtual ~ThriftHiveMetastore_get_part_specs_by_filter_result() throw(); std::vector success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_part_specs_by_filter_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_part_specs_by_filter_result & rhs) const { @@ -8450,21 +8696,24 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_part_specs_by_filter_result& obj); }; typedef struct _ThriftHiveMetastore_get_part_specs_by_filter_presult__isset { _ThriftHiveMetastore_get_part_specs_by_filter_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_part_specs_by_filter_presult__isset; class ThriftHiveMetastore_get_part_specs_by_filter_presult { public: + static const char* ascii_fingerprint; // = "834C6ED9007DE3A504DF5B1F3BBEC56E"; + static const uint8_t binary_fingerprint[16]; // = {0x83,0x4C,0x6E,0xD9,0x00,0x7D,0xE3,0xA5,0x04,0xDF,0x5B,0x1F,0x3B,0xBE,0xC5,0x6E}; - virtual ~ThriftHiveMetastore_get_part_specs_by_filter_presult() throw() {} + virtual ~ThriftHiveMetastore_get_part_specs_by_filter_presult() throw(); std::vector * success; MetaException o1; NoSuchObjectException o2; @@ -8473,28 +8722,31 @@ class ThriftHiveMetastore_get_part_specs_by_filter_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_part_specs_by_filter_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_expr_args__isset { _ThriftHiveMetastore_get_partitions_by_expr_args__isset() : req(false) {} - bool req; + bool req :1; } _ThriftHiveMetastore_get_partitions_by_expr_args__isset; class ThriftHiveMetastore_get_partitions_by_expr_args { public: + static const char* ascii_fingerprint; // = "56414E62F1C6E6E2663E4A4ED377A9A3"; + static const uint8_t binary_fingerprint[16]; // = {0x56,0x41,0x4E,0x62,0xF1,0xC6,0xE6,0xE2,0x66,0x3E,0x4A,0x4E,0xD3,0x77,0xA9,0xA3}; + + ThriftHiveMetastore_get_partitions_by_expr_args(const ThriftHiveMetastore_get_partitions_by_expr_args&); + ThriftHiveMetastore_get_partitions_by_expr_args& operator=(const ThriftHiveMetastore_get_partitions_by_expr_args&); ThriftHiveMetastore_get_partitions_by_expr_args() { } - virtual ~ThriftHiveMetastore_get_partitions_by_expr_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_by_expr_args() throw(); PartitionsByExprRequest req; _ThriftHiveMetastore_get_partitions_by_expr_args__isset __isset; - void __set_req(const PartitionsByExprRequest& val) { - req = val; - } + void __set_req(const PartitionsByExprRequest& val); bool operator == (const ThriftHiveMetastore_get_partitions_by_expr_args & rhs) const { @@ -8511,53 +8763,55 @@ class ThriftHiveMetastore_get_partitions_by_expr_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_expr_args& obj); }; class ThriftHiveMetastore_get_partitions_by_expr_pargs { public: + static const char* ascii_fingerprint; // = "56414E62F1C6E6E2663E4A4ED377A9A3"; + static const uint8_t binary_fingerprint[16]; // = {0x56,0x41,0x4E,0x62,0xF1,0xC6,0xE6,0xE2,0x66,0x3E,0x4A,0x4E,0xD3,0x77,0xA9,0xA3}; - virtual ~ThriftHiveMetastore_get_partitions_by_expr_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_by_expr_pargs() throw(); const PartitionsByExprRequest* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_expr_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_expr_result__isset { _ThriftHiveMetastore_get_partitions_by_expr_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_by_expr_result__isset; class ThriftHiveMetastore_get_partitions_by_expr_result { public: + static const char* ascii_fingerprint; // = "242F6F513EE9C5B2355CC78A01843831"; + static const uint8_t binary_fingerprint[16]; // = {0x24,0x2F,0x6F,0x51,0x3E,0xE9,0xC5,0xB2,0x35,0x5C,0xC7,0x8A,0x01,0x84,0x38,0x31}; + + ThriftHiveMetastore_get_partitions_by_expr_result(const ThriftHiveMetastore_get_partitions_by_expr_result&); + ThriftHiveMetastore_get_partitions_by_expr_result& operator=(const ThriftHiveMetastore_get_partitions_by_expr_result&); ThriftHiveMetastore_get_partitions_by_expr_result() { } - virtual ~ThriftHiveMetastore_get_partitions_by_expr_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_by_expr_result() throw(); PartitionsByExprResult success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_partitions_by_expr_result__isset __isset; - void __set_success(const PartitionsByExprResult& val) { - success = val; - } + void __set_success(const PartitionsByExprResult& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_partitions_by_expr_result & rhs) const { @@ -8578,21 +8832,24 @@ class ThriftHiveMetastore_get_partitions_by_expr_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_expr_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_expr_presult__isset { _ThriftHiveMetastore_get_partitions_by_expr_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_by_expr_presult__isset; class ThriftHiveMetastore_get_partitions_by_expr_presult { public: + static const char* ascii_fingerprint; // = "242F6F513EE9C5B2355CC78A01843831"; + static const uint8_t binary_fingerprint[16]; // = {0x24,0x2F,0x6F,0x51,0x3E,0xE9,0xC5,0xB2,0x35,0x5C,0xC7,0x8A,0x01,0x84,0x38,0x31}; - virtual ~ThriftHiveMetastore_get_partitions_by_expr_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_by_expr_presult() throw(); PartitionsByExprResult* success; MetaException o1; NoSuchObjectException o2; @@ -8601,40 +8858,39 @@ class ThriftHiveMetastore_get_partitions_by_expr_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_expr_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_names_args__isset { _ThriftHiveMetastore_get_partitions_by_names_args__isset() : db_name(false), tbl_name(false), names(false) {} - bool db_name; - bool tbl_name; - bool names; + bool db_name :1; + bool tbl_name :1; + bool names :1; } _ThriftHiveMetastore_get_partitions_by_names_args__isset; class ThriftHiveMetastore_get_partitions_by_names_args { public: + static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; + static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; + + ThriftHiveMetastore_get_partitions_by_names_args(const ThriftHiveMetastore_get_partitions_by_names_args&); + ThriftHiveMetastore_get_partitions_by_names_args& operator=(const ThriftHiveMetastore_get_partitions_by_names_args&); ThriftHiveMetastore_get_partitions_by_names_args() : db_name(), tbl_name() { } - virtual ~ThriftHiveMetastore_get_partitions_by_names_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_by_names_args() throw(); std::string db_name; std::string tbl_name; std::vector names; _ThriftHiveMetastore_get_partitions_by_names_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_names(const std::vector & val) { - names = val; - } + void __set_names(const std::vector & val); bool operator == (const ThriftHiveMetastore_get_partitions_by_names_args & rhs) const { @@ -8655,55 +8911,57 @@ class ThriftHiveMetastore_get_partitions_by_names_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_names_args& obj); }; class ThriftHiveMetastore_get_partitions_by_names_pargs { public: + static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; + static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; - virtual ~ThriftHiveMetastore_get_partitions_by_names_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_by_names_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * names; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_names_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_names_result__isset { _ThriftHiveMetastore_get_partitions_by_names_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_by_names_result__isset; class ThriftHiveMetastore_get_partitions_by_names_result { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; + + ThriftHiveMetastore_get_partitions_by_names_result(const ThriftHiveMetastore_get_partitions_by_names_result&); + ThriftHiveMetastore_get_partitions_by_names_result& operator=(const ThriftHiveMetastore_get_partitions_by_names_result&); ThriftHiveMetastore_get_partitions_by_names_result() { } - virtual ~ThriftHiveMetastore_get_partitions_by_names_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_by_names_result() throw(); std::vector success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_partitions_by_names_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_partitions_by_names_result & rhs) const { @@ -8724,21 +8982,24 @@ class ThriftHiveMetastore_get_partitions_by_names_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_names_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_names_presult__isset { _ThriftHiveMetastore_get_partitions_by_names_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_by_names_presult__isset; class ThriftHiveMetastore_get_partitions_by_names_presult { public: + static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; + static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_by_names_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_by_names_presult() throw(); std::vector * success; MetaException o1; NoSuchObjectException o2; @@ -8747,40 +9008,39 @@ class ThriftHiveMetastore_get_partitions_by_names_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_names_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_args__isset { _ThriftHiveMetastore_alter_partition_args__isset() : db_name(false), tbl_name(false), new_part(false) {} - bool db_name; - bool tbl_name; - bool new_part; + bool db_name :1; + bool tbl_name :1; + bool new_part :1; } _ThriftHiveMetastore_alter_partition_args__isset; class ThriftHiveMetastore_alter_partition_args { public: + static const char* ascii_fingerprint; // = "7B108A31A32515A46E0A4575C730F980"; + static const uint8_t binary_fingerprint[16]; // = {0x7B,0x10,0x8A,0x31,0xA3,0x25,0x15,0xA4,0x6E,0x0A,0x45,0x75,0xC7,0x30,0xF9,0x80}; + + ThriftHiveMetastore_alter_partition_args(const ThriftHiveMetastore_alter_partition_args&); + ThriftHiveMetastore_alter_partition_args& operator=(const ThriftHiveMetastore_alter_partition_args&); ThriftHiveMetastore_alter_partition_args() : db_name(), tbl_name() { } - virtual ~ThriftHiveMetastore_alter_partition_args() throw() {} - + virtual ~ThriftHiveMetastore_alter_partition_args() throw(); std::string db_name; std::string tbl_name; Partition new_part; _ThriftHiveMetastore_alter_partition_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_new_part(const Partition& val) { - new_part = val; - } + void __set_new_part(const Partition& val); bool operator == (const ThriftHiveMetastore_alter_partition_args & rhs) const { @@ -8801,49 +9061,53 @@ class ThriftHiveMetastore_alter_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_args& obj); }; class ThriftHiveMetastore_alter_partition_pargs { public: + static const char* ascii_fingerprint; // = "7B108A31A32515A46E0A4575C730F980"; + static const uint8_t binary_fingerprint[16]; // = {0x7B,0x10,0x8A,0x31,0xA3,0x25,0x15,0xA4,0x6E,0x0A,0x45,0x75,0xC7,0x30,0xF9,0x80}; - virtual ~ThriftHiveMetastore_alter_partition_pargs() throw() {} + virtual ~ThriftHiveMetastore_alter_partition_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const Partition* new_part; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_result__isset { _ThriftHiveMetastore_alter_partition_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_partition_result__isset; class ThriftHiveMetastore_alter_partition_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_alter_partition_result(const ThriftHiveMetastore_alter_partition_result&); + ThriftHiveMetastore_alter_partition_result& operator=(const ThriftHiveMetastore_alter_partition_result&); ThriftHiveMetastore_alter_partition_result() { } - virtual ~ThriftHiveMetastore_alter_partition_result() throw() {} - + virtual ~ThriftHiveMetastore_alter_partition_result() throw(); InvalidOperationException o1; MetaException o2; _ThriftHiveMetastore_alter_partition_result__isset __isset; - void __set_o1(const InvalidOperationException& val) { - o1 = val; - } + void __set_o1(const InvalidOperationException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_alter_partition_result & rhs) const { @@ -8862,20 +9126,23 @@ class ThriftHiveMetastore_alter_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_result& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_presult__isset { _ThriftHiveMetastore_alter_partition_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_partition_presult__isset; class ThriftHiveMetastore_alter_partition_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_partition_presult() throw() {} + virtual ~ThriftHiveMetastore_alter_partition_presult() throw(); InvalidOperationException o1; MetaException o2; @@ -8883,40 +9150,39 @@ class ThriftHiveMetastore_alter_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_partitions_args__isset { _ThriftHiveMetastore_alter_partitions_args__isset() : db_name(false), tbl_name(false), new_parts(false) {} - bool db_name; - bool tbl_name; - bool new_parts; + bool db_name :1; + bool tbl_name :1; + bool new_parts :1; } _ThriftHiveMetastore_alter_partitions_args__isset; class ThriftHiveMetastore_alter_partitions_args { public: + static const char* ascii_fingerprint; // = "38BD172057C9BB46C5A3BA10DB12F25D"; + static const uint8_t binary_fingerprint[16]; // = {0x38,0xBD,0x17,0x20,0x57,0xC9,0xBB,0x46,0xC5,0xA3,0xBA,0x10,0xDB,0x12,0xF2,0x5D}; + + ThriftHiveMetastore_alter_partitions_args(const ThriftHiveMetastore_alter_partitions_args&); + ThriftHiveMetastore_alter_partitions_args& operator=(const ThriftHiveMetastore_alter_partitions_args&); ThriftHiveMetastore_alter_partitions_args() : db_name(), tbl_name() { } - virtual ~ThriftHiveMetastore_alter_partitions_args() throw() {} - + virtual ~ThriftHiveMetastore_alter_partitions_args() throw(); std::string db_name; std::string tbl_name; std::vector new_parts; _ThriftHiveMetastore_alter_partitions_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_new_parts(const std::vector & val) { - new_parts = val; - } + void __set_new_parts(const std::vector & val); bool operator == (const ThriftHiveMetastore_alter_partitions_args & rhs) const { @@ -8937,49 +9203,53 @@ class ThriftHiveMetastore_alter_partitions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partitions_args& obj); }; class ThriftHiveMetastore_alter_partitions_pargs { public: + static const char* ascii_fingerprint; // = "38BD172057C9BB46C5A3BA10DB12F25D"; + static const uint8_t binary_fingerprint[16]; // = {0x38,0xBD,0x17,0x20,0x57,0xC9,0xBB,0x46,0xC5,0xA3,0xBA,0x10,0xDB,0x12,0xF2,0x5D}; - virtual ~ThriftHiveMetastore_alter_partitions_pargs() throw() {} + virtual ~ThriftHiveMetastore_alter_partitions_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * new_parts; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partitions_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_partitions_result__isset { _ThriftHiveMetastore_alter_partitions_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_partitions_result__isset; class ThriftHiveMetastore_alter_partitions_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_alter_partitions_result(const ThriftHiveMetastore_alter_partitions_result&); + ThriftHiveMetastore_alter_partitions_result& operator=(const ThriftHiveMetastore_alter_partitions_result&); ThriftHiveMetastore_alter_partitions_result() { } - virtual ~ThriftHiveMetastore_alter_partitions_result() throw() {} - + virtual ~ThriftHiveMetastore_alter_partitions_result() throw(); InvalidOperationException o1; MetaException o2; _ThriftHiveMetastore_alter_partitions_result__isset __isset; - void __set_o1(const InvalidOperationException& val) { - o1 = val; - } + void __set_o1(const InvalidOperationException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_alter_partitions_result & rhs) const { @@ -8998,20 +9268,23 @@ class ThriftHiveMetastore_alter_partitions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partitions_result& obj); }; typedef struct _ThriftHiveMetastore_alter_partitions_presult__isset { _ThriftHiveMetastore_alter_partitions_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_partitions_presult__isset; class ThriftHiveMetastore_alter_partitions_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_partitions_presult() throw() {} + virtual ~ThriftHiveMetastore_alter_partitions_presult() throw(); InvalidOperationException o1; MetaException o2; @@ -9019,24 +9292,29 @@ class ThriftHiveMetastore_alter_partitions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partitions_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_with_environment_context_args__isset { _ThriftHiveMetastore_alter_partition_with_environment_context_args__isset() : db_name(false), tbl_name(false), new_part(false), environment_context(false) {} - bool db_name; - bool tbl_name; - bool new_part; - bool environment_context; + bool db_name :1; + bool tbl_name :1; + bool new_part :1; + bool environment_context :1; } _ThriftHiveMetastore_alter_partition_with_environment_context_args__isset; class ThriftHiveMetastore_alter_partition_with_environment_context_args { public: + static const char* ascii_fingerprint; // = "9D0F8EA60BA9E363E0CE891CDBC419D0"; + static const uint8_t binary_fingerprint[16]; // = {0x9D,0x0F,0x8E,0xA6,0x0B,0xA9,0xE3,0x63,0xE0,0xCE,0x89,0x1C,0xDB,0xC4,0x19,0xD0}; + + ThriftHiveMetastore_alter_partition_with_environment_context_args(const ThriftHiveMetastore_alter_partition_with_environment_context_args&); + ThriftHiveMetastore_alter_partition_with_environment_context_args& operator=(const ThriftHiveMetastore_alter_partition_with_environment_context_args&); ThriftHiveMetastore_alter_partition_with_environment_context_args() : db_name(), tbl_name() { } - virtual ~ThriftHiveMetastore_alter_partition_with_environment_context_args() throw() {} - + virtual ~ThriftHiveMetastore_alter_partition_with_environment_context_args() throw(); std::string db_name; std::string tbl_name; Partition new_part; @@ -9044,21 +9322,13 @@ class ThriftHiveMetastore_alter_partition_with_environment_context_args { _ThriftHiveMetastore_alter_partition_with_environment_context_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_new_part(const Partition& val) { - new_part = val; - } + void __set_new_part(const Partition& val); - void __set_environment_context(const EnvironmentContext& val) { - environment_context = val; - } + void __set_environment_context(const EnvironmentContext& val); bool operator == (const ThriftHiveMetastore_alter_partition_with_environment_context_args & rhs) const { @@ -9081,15 +9351,18 @@ class ThriftHiveMetastore_alter_partition_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_with_environment_context_args& obj); }; class ThriftHiveMetastore_alter_partition_with_environment_context_pargs { public: + static const char* ascii_fingerprint; // = "9D0F8EA60BA9E363E0CE891CDBC419D0"; + static const uint8_t binary_fingerprint[16]; // = {0x9D,0x0F,0x8E,0xA6,0x0B,0xA9,0xE3,0x63,0xE0,0xCE,0x89,0x1C,0xDB,0xC4,0x19,0xD0}; - virtual ~ThriftHiveMetastore_alter_partition_with_environment_context_pargs() throw() {} + virtual ~ThriftHiveMetastore_alter_partition_with_environment_context_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const Partition* new_part; @@ -9097,34 +9370,35 @@ class ThriftHiveMetastore_alter_partition_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_with_environment_context_result__isset { _ThriftHiveMetastore_alter_partition_with_environment_context_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_partition_with_environment_context_result__isset; class ThriftHiveMetastore_alter_partition_with_environment_context_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_alter_partition_with_environment_context_result(const ThriftHiveMetastore_alter_partition_with_environment_context_result&); + ThriftHiveMetastore_alter_partition_with_environment_context_result& operator=(const ThriftHiveMetastore_alter_partition_with_environment_context_result&); ThriftHiveMetastore_alter_partition_with_environment_context_result() { } - virtual ~ThriftHiveMetastore_alter_partition_with_environment_context_result() throw() {} - + virtual ~ThriftHiveMetastore_alter_partition_with_environment_context_result() throw(); InvalidOperationException o1; MetaException o2; _ThriftHiveMetastore_alter_partition_with_environment_context_result__isset __isset; - void __set_o1(const InvalidOperationException& val) { - o1 = val; - } + void __set_o1(const InvalidOperationException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_alter_partition_with_environment_context_result & rhs) const { @@ -9143,20 +9417,23 @@ class ThriftHiveMetastore_alter_partition_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_with_environment_context_presult__isset { _ThriftHiveMetastore_alter_partition_with_environment_context_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_partition_with_environment_context_presult__isset; class ThriftHiveMetastore_alter_partition_with_environment_context_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_partition_with_environment_context_presult() throw() {} + virtual ~ThriftHiveMetastore_alter_partition_with_environment_context_presult() throw(); InvalidOperationException o1; MetaException o2; @@ -9164,24 +9441,29 @@ class ThriftHiveMetastore_alter_partition_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_rename_partition_args__isset { _ThriftHiveMetastore_rename_partition_args__isset() : db_name(false), tbl_name(false), part_vals(false), new_part(false) {} - bool db_name; - bool tbl_name; - bool part_vals; - bool new_part; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; + bool new_part :1; } _ThriftHiveMetastore_rename_partition_args__isset; class ThriftHiveMetastore_rename_partition_args { public: + static const char* ascii_fingerprint; // = "88B4E10590F3A92685C99DF7F8284437"; + static const uint8_t binary_fingerprint[16]; // = {0x88,0xB4,0xE1,0x05,0x90,0xF3,0xA9,0x26,0x85,0xC9,0x9D,0xF7,0xF8,0x28,0x44,0x37}; + + ThriftHiveMetastore_rename_partition_args(const ThriftHiveMetastore_rename_partition_args&); + ThriftHiveMetastore_rename_partition_args& operator=(const ThriftHiveMetastore_rename_partition_args&); ThriftHiveMetastore_rename_partition_args() : db_name(), tbl_name() { } - virtual ~ThriftHiveMetastore_rename_partition_args() throw() {} - + virtual ~ThriftHiveMetastore_rename_partition_args() throw(); std::string db_name; std::string tbl_name; std::vector part_vals; @@ -9189,21 +9471,13 @@ class ThriftHiveMetastore_rename_partition_args { _ThriftHiveMetastore_rename_partition_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::vector & val) { - part_vals = val; - } + void __set_part_vals(const std::vector & val); - void __set_new_part(const Partition& val) { - new_part = val; - } + void __set_new_part(const Partition& val); bool operator == (const ThriftHiveMetastore_rename_partition_args & rhs) const { @@ -9226,15 +9500,18 @@ class ThriftHiveMetastore_rename_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_rename_partition_args& obj); }; class ThriftHiveMetastore_rename_partition_pargs { public: + static const char* ascii_fingerprint; // = "88B4E10590F3A92685C99DF7F8284437"; + static const uint8_t binary_fingerprint[16]; // = {0x88,0xB4,0xE1,0x05,0x90,0xF3,0xA9,0x26,0x85,0xC9,0x9D,0xF7,0xF8,0x28,0x44,0x37}; - virtual ~ThriftHiveMetastore_rename_partition_pargs() throw() {} + virtual ~ThriftHiveMetastore_rename_partition_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::vector * part_vals; @@ -9242,34 +9519,35 @@ class ThriftHiveMetastore_rename_partition_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_rename_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_rename_partition_result__isset { _ThriftHiveMetastore_rename_partition_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_rename_partition_result__isset; class ThriftHiveMetastore_rename_partition_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_rename_partition_result(const ThriftHiveMetastore_rename_partition_result&); + ThriftHiveMetastore_rename_partition_result& operator=(const ThriftHiveMetastore_rename_partition_result&); ThriftHiveMetastore_rename_partition_result() { } - virtual ~ThriftHiveMetastore_rename_partition_result() throw() {} - + virtual ~ThriftHiveMetastore_rename_partition_result() throw(); InvalidOperationException o1; MetaException o2; _ThriftHiveMetastore_rename_partition_result__isset __isset; - void __set_o1(const InvalidOperationException& val) { - o1 = val; - } + void __set_o1(const InvalidOperationException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_rename_partition_result & rhs) const { @@ -9288,20 +9566,23 @@ class ThriftHiveMetastore_rename_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_rename_partition_result& obj); }; typedef struct _ThriftHiveMetastore_rename_partition_presult__isset { _ThriftHiveMetastore_rename_partition_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_rename_partition_presult__isset; class ThriftHiveMetastore_rename_partition_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_rename_partition_presult() throw() {} + virtual ~ThriftHiveMetastore_rename_partition_presult() throw(); InvalidOperationException o1; MetaException o2; @@ -9309,34 +9590,35 @@ class ThriftHiveMetastore_rename_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_rename_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_partition_name_has_valid_characters_args__isset { _ThriftHiveMetastore_partition_name_has_valid_characters_args__isset() : part_vals(false), throw_exception(false) {} - bool part_vals; - bool throw_exception; + bool part_vals :1; + bool throw_exception :1; } _ThriftHiveMetastore_partition_name_has_valid_characters_args__isset; class ThriftHiveMetastore_partition_name_has_valid_characters_args { public: + static const char* ascii_fingerprint; // = "91B6D52A7BB8CAC890FB4C69B1CF4C4E"; + static const uint8_t binary_fingerprint[16]; // = {0x91,0xB6,0xD5,0x2A,0x7B,0xB8,0xCA,0xC8,0x90,0xFB,0x4C,0x69,0xB1,0xCF,0x4C,0x4E}; + + ThriftHiveMetastore_partition_name_has_valid_characters_args(const ThriftHiveMetastore_partition_name_has_valid_characters_args&); + ThriftHiveMetastore_partition_name_has_valid_characters_args& operator=(const ThriftHiveMetastore_partition_name_has_valid_characters_args&); ThriftHiveMetastore_partition_name_has_valid_characters_args() : throw_exception(0) { } - virtual ~ThriftHiveMetastore_partition_name_has_valid_characters_args() throw() {} - + virtual ~ThriftHiveMetastore_partition_name_has_valid_characters_args() throw(); std::vector part_vals; bool throw_exception; _ThriftHiveMetastore_partition_name_has_valid_characters_args__isset __isset; - void __set_part_vals(const std::vector & val) { - part_vals = val; - } + void __set_part_vals(const std::vector & val); - void __set_throw_exception(const bool val) { - throw_exception = val; - } + void __set_throw_exception(const bool val); bool operator == (const ThriftHiveMetastore_partition_name_has_valid_characters_args & rhs) const { @@ -9355,48 +9637,52 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_has_valid_characters_args& obj); }; class ThriftHiveMetastore_partition_name_has_valid_characters_pargs { public: + static const char* ascii_fingerprint; // = "91B6D52A7BB8CAC890FB4C69B1CF4C4E"; + static const uint8_t binary_fingerprint[16]; // = {0x91,0xB6,0xD5,0x2A,0x7B,0xB8,0xCA,0xC8,0x90,0xFB,0x4C,0x69,0xB1,0xCF,0x4C,0x4E}; - virtual ~ThriftHiveMetastore_partition_name_has_valid_characters_pargs() throw() {} + virtual ~ThriftHiveMetastore_partition_name_has_valid_characters_pargs() throw(); const std::vector * part_vals; const bool* throw_exception; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_has_valid_characters_pargs& obj); }; typedef struct _ThriftHiveMetastore_partition_name_has_valid_characters_result__isset { _ThriftHiveMetastore_partition_name_has_valid_characters_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_partition_name_has_valid_characters_result__isset; class ThriftHiveMetastore_partition_name_has_valid_characters_result { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; + + ThriftHiveMetastore_partition_name_has_valid_characters_result(const ThriftHiveMetastore_partition_name_has_valid_characters_result&); + ThriftHiveMetastore_partition_name_has_valid_characters_result& operator=(const ThriftHiveMetastore_partition_name_has_valid_characters_result&); ThriftHiveMetastore_partition_name_has_valid_characters_result() : success(0) { } - virtual ~ThriftHiveMetastore_partition_name_has_valid_characters_result() throw() {} - + virtual ~ThriftHiveMetastore_partition_name_has_valid_characters_result() throw(); bool success; MetaException o1; _ThriftHiveMetastore_partition_name_has_valid_characters_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_partition_name_has_valid_characters_result & rhs) const { @@ -9415,20 +9701,23 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_has_valid_characters_result& obj); }; typedef struct _ThriftHiveMetastore_partition_name_has_valid_characters_presult__isset { _ThriftHiveMetastore_partition_name_has_valid_characters_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_partition_name_has_valid_characters_presult__isset; class ThriftHiveMetastore_partition_name_has_valid_characters_presult { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_partition_name_has_valid_characters_presult() throw() {} + virtual ~ThriftHiveMetastore_partition_name_has_valid_characters_presult() throw(); bool* success; MetaException o1; @@ -9436,34 +9725,35 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_has_valid_characters_presult& obj); }; typedef struct _ThriftHiveMetastore_get_config_value_args__isset { _ThriftHiveMetastore_get_config_value_args__isset() : name(false), defaultValue(false) {} - bool name; - bool defaultValue; + bool name :1; + bool defaultValue :1; } _ThriftHiveMetastore_get_config_value_args__isset; class ThriftHiveMetastore_get_config_value_args { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + + ThriftHiveMetastore_get_config_value_args(const ThriftHiveMetastore_get_config_value_args&); + ThriftHiveMetastore_get_config_value_args& operator=(const ThriftHiveMetastore_get_config_value_args&); ThriftHiveMetastore_get_config_value_args() : name(), defaultValue() { } - virtual ~ThriftHiveMetastore_get_config_value_args() throw() {} - + virtual ~ThriftHiveMetastore_get_config_value_args() throw(); std::string name; std::string defaultValue; _ThriftHiveMetastore_get_config_value_args__isset __isset; - void __set_name(const std::string& val) { - name = val; - } + void __set_name(const std::string& val); - void __set_defaultValue(const std::string& val) { - defaultValue = val; - } + void __set_defaultValue(const std::string& val); bool operator == (const ThriftHiveMetastore_get_config_value_args & rhs) const { @@ -9482,48 +9772,52 @@ class ThriftHiveMetastore_get_config_value_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_config_value_args& obj); }; class ThriftHiveMetastore_get_config_value_pargs { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_config_value_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_config_value_pargs() throw(); const std::string* name; const std::string* defaultValue; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_config_value_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_config_value_result__isset { _ThriftHiveMetastore_get_config_value_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_config_value_result__isset; class ThriftHiveMetastore_get_config_value_result { public: + static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; + + ThriftHiveMetastore_get_config_value_result(const ThriftHiveMetastore_get_config_value_result&); + ThriftHiveMetastore_get_config_value_result& operator=(const ThriftHiveMetastore_get_config_value_result&); ThriftHiveMetastore_get_config_value_result() : success() { } - virtual ~ThriftHiveMetastore_get_config_value_result() throw() {} - + virtual ~ThriftHiveMetastore_get_config_value_result() throw(); std::string success; ConfigValSecurityException o1; _ThriftHiveMetastore_get_config_value_result__isset __isset; - void __set_success(const std::string& val) { - success = val; - } + void __set_success(const std::string& val); - void __set_o1(const ConfigValSecurityException& val) { - o1 = val; - } + void __set_o1(const ConfigValSecurityException& val); bool operator == (const ThriftHiveMetastore_get_config_value_result & rhs) const { @@ -9542,20 +9836,23 @@ class ThriftHiveMetastore_get_config_value_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_config_value_result& obj); }; typedef struct _ThriftHiveMetastore_get_config_value_presult__isset { _ThriftHiveMetastore_get_config_value_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_config_value_presult__isset; class ThriftHiveMetastore_get_config_value_presult { public: + static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; - virtual ~ThriftHiveMetastore_get_config_value_presult() throw() {} + virtual ~ThriftHiveMetastore_get_config_value_presult() throw(); std::string* success; ConfigValSecurityException o1; @@ -9563,28 +9860,31 @@ class ThriftHiveMetastore_get_config_value_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_config_value_presult& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_vals_args__isset { _ThriftHiveMetastore_partition_name_to_vals_args__isset() : part_name(false) {} - bool part_name; + bool part_name :1; } _ThriftHiveMetastore_partition_name_to_vals_args__isset; class ThriftHiveMetastore_partition_name_to_vals_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_partition_name_to_vals_args(const ThriftHiveMetastore_partition_name_to_vals_args&); + ThriftHiveMetastore_partition_name_to_vals_args& operator=(const ThriftHiveMetastore_partition_name_to_vals_args&); ThriftHiveMetastore_partition_name_to_vals_args() : part_name() { } - virtual ~ThriftHiveMetastore_partition_name_to_vals_args() throw() {} - + virtual ~ThriftHiveMetastore_partition_name_to_vals_args() throw(); std::string part_name; _ThriftHiveMetastore_partition_name_to_vals_args__isset __isset; - void __set_part_name(const std::string& val) { - part_name = val; - } + void __set_part_name(const std::string& val); bool operator == (const ThriftHiveMetastore_partition_name_to_vals_args & rhs) const { @@ -9601,47 +9901,51 @@ class ThriftHiveMetastore_partition_name_to_vals_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_vals_args& obj); }; class ThriftHiveMetastore_partition_name_to_vals_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_partition_name_to_vals_pargs() throw() {} + virtual ~ThriftHiveMetastore_partition_name_to_vals_pargs() throw(); const std::string* part_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_vals_pargs& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_vals_result__isset { _ThriftHiveMetastore_partition_name_to_vals_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_partition_name_to_vals_result__isset; class ThriftHiveMetastore_partition_name_to_vals_result { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; + + ThriftHiveMetastore_partition_name_to_vals_result(const ThriftHiveMetastore_partition_name_to_vals_result&); + ThriftHiveMetastore_partition_name_to_vals_result& operator=(const ThriftHiveMetastore_partition_name_to_vals_result&); ThriftHiveMetastore_partition_name_to_vals_result() { } - virtual ~ThriftHiveMetastore_partition_name_to_vals_result() throw() {} - + virtual ~ThriftHiveMetastore_partition_name_to_vals_result() throw(); std::vector success; MetaException o1; _ThriftHiveMetastore_partition_name_to_vals_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_partition_name_to_vals_result & rhs) const { @@ -9660,20 +9964,23 @@ class ThriftHiveMetastore_partition_name_to_vals_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_vals_result& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_vals_presult__isset { _ThriftHiveMetastore_partition_name_to_vals_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_partition_name_to_vals_presult__isset; class ThriftHiveMetastore_partition_name_to_vals_presult { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_partition_name_to_vals_presult() throw() {} + virtual ~ThriftHiveMetastore_partition_name_to_vals_presult() throw(); std::vector * success; MetaException o1; @@ -9681,28 +9988,31 @@ class ThriftHiveMetastore_partition_name_to_vals_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_vals_presult& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_spec_args__isset { _ThriftHiveMetastore_partition_name_to_spec_args__isset() : part_name(false) {} - bool part_name; + bool part_name :1; } _ThriftHiveMetastore_partition_name_to_spec_args__isset; class ThriftHiveMetastore_partition_name_to_spec_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_partition_name_to_spec_args(const ThriftHiveMetastore_partition_name_to_spec_args&); + ThriftHiveMetastore_partition_name_to_spec_args& operator=(const ThriftHiveMetastore_partition_name_to_spec_args&); ThriftHiveMetastore_partition_name_to_spec_args() : part_name() { } - virtual ~ThriftHiveMetastore_partition_name_to_spec_args() throw() {} - + virtual ~ThriftHiveMetastore_partition_name_to_spec_args() throw(); std::string part_name; _ThriftHiveMetastore_partition_name_to_spec_args__isset __isset; - void __set_part_name(const std::string& val) { - part_name = val; - } + void __set_part_name(const std::string& val); bool operator == (const ThriftHiveMetastore_partition_name_to_spec_args & rhs) const { @@ -9719,47 +10029,51 @@ class ThriftHiveMetastore_partition_name_to_spec_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_spec_args& obj); }; class ThriftHiveMetastore_partition_name_to_spec_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_partition_name_to_spec_pargs() throw() {} + virtual ~ThriftHiveMetastore_partition_name_to_spec_pargs() throw(); const std::string* part_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_spec_pargs& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_spec_result__isset { _ThriftHiveMetastore_partition_name_to_spec_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_partition_name_to_spec_result__isset; class ThriftHiveMetastore_partition_name_to_spec_result { public: + static const char* ascii_fingerprint; // = "4E721C6D80A641BBC78B7A6A96E9C5C8"; + static const uint8_t binary_fingerprint[16]; // = {0x4E,0x72,0x1C,0x6D,0x80,0xA6,0x41,0xBB,0xC7,0x8B,0x7A,0x6A,0x96,0xE9,0xC5,0xC8}; + + ThriftHiveMetastore_partition_name_to_spec_result(const ThriftHiveMetastore_partition_name_to_spec_result&); + ThriftHiveMetastore_partition_name_to_spec_result& operator=(const ThriftHiveMetastore_partition_name_to_spec_result&); ThriftHiveMetastore_partition_name_to_spec_result() { } - virtual ~ThriftHiveMetastore_partition_name_to_spec_result() throw() {} - + virtual ~ThriftHiveMetastore_partition_name_to_spec_result() throw(); std::map success; MetaException o1; _ThriftHiveMetastore_partition_name_to_spec_result__isset __isset; - void __set_success(const std::map & val) { - success = val; - } + void __set_success(const std::map & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_partition_name_to_spec_result & rhs) const { @@ -9778,20 +10092,23 @@ class ThriftHiveMetastore_partition_name_to_spec_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_spec_result& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_spec_presult__isset { _ThriftHiveMetastore_partition_name_to_spec_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_partition_name_to_spec_presult__isset; class ThriftHiveMetastore_partition_name_to_spec_presult { public: + static const char* ascii_fingerprint; // = "4E721C6D80A641BBC78B7A6A96E9C5C8"; + static const uint8_t binary_fingerprint[16]; // = {0x4E,0x72,0x1C,0x6D,0x80,0xA6,0x41,0xBB,0xC7,0x8B,0x7A,0x6A,0x96,0xE9,0xC5,0xC8}; - virtual ~ThriftHiveMetastore_partition_name_to_spec_presult() throw() {} + virtual ~ThriftHiveMetastore_partition_name_to_spec_presult() throw(); std::map * success; MetaException o1; @@ -9799,24 +10116,29 @@ class ThriftHiveMetastore_partition_name_to_spec_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_spec_presult& obj); }; typedef struct _ThriftHiveMetastore_markPartitionForEvent_args__isset { _ThriftHiveMetastore_markPartitionForEvent_args__isset() : db_name(false), tbl_name(false), part_vals(false), eventType(false) {} - bool db_name; - bool tbl_name; - bool part_vals; - bool eventType; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; + bool eventType :1; } _ThriftHiveMetastore_markPartitionForEvent_args__isset; class ThriftHiveMetastore_markPartitionForEvent_args { public: + static const char* ascii_fingerprint; // = "55DED7525D4B4E203D2060AF66F31D5B"; + static const uint8_t binary_fingerprint[16]; // = {0x55,0xDE,0xD7,0x52,0x5D,0x4B,0x4E,0x20,0x3D,0x20,0x60,0xAF,0x66,0xF3,0x1D,0x5B}; + + ThriftHiveMetastore_markPartitionForEvent_args(const ThriftHiveMetastore_markPartitionForEvent_args&); + ThriftHiveMetastore_markPartitionForEvent_args& operator=(const ThriftHiveMetastore_markPartitionForEvent_args&); ThriftHiveMetastore_markPartitionForEvent_args() : db_name(), tbl_name(), eventType((PartitionEventType::type)0) { } - virtual ~ThriftHiveMetastore_markPartitionForEvent_args() throw() {} - + virtual ~ThriftHiveMetastore_markPartitionForEvent_args() throw(); std::string db_name; std::string tbl_name; std::map part_vals; @@ -9824,21 +10146,13 @@ class ThriftHiveMetastore_markPartitionForEvent_args { _ThriftHiveMetastore_markPartitionForEvent_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::map & val) { - part_vals = val; - } + void __set_part_vals(const std::map & val); - void __set_eventType(const PartitionEventType::type val) { - eventType = val; - } + void __set_eventType(const PartitionEventType::type val); bool operator == (const ThriftHiveMetastore_markPartitionForEvent_args & rhs) const { @@ -9861,15 +10175,18 @@ class ThriftHiveMetastore_markPartitionForEvent_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_markPartitionForEvent_args& obj); }; class ThriftHiveMetastore_markPartitionForEvent_pargs { public: + static const char* ascii_fingerprint; // = "55DED7525D4B4E203D2060AF66F31D5B"; + static const uint8_t binary_fingerprint[16]; // = {0x55,0xDE,0xD7,0x52,0x5D,0x4B,0x4E,0x20,0x3D,0x20,0x60,0xAF,0x66,0xF3,0x1D,0x5B}; - virtual ~ThriftHiveMetastore_markPartitionForEvent_pargs() throw() {} + virtual ~ThriftHiveMetastore_markPartitionForEvent_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::map * part_vals; @@ -9877,26 +10194,31 @@ class ThriftHiveMetastore_markPartitionForEvent_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_markPartitionForEvent_pargs& obj); }; typedef struct _ThriftHiveMetastore_markPartitionForEvent_result__isset { _ThriftHiveMetastore_markPartitionForEvent_result__isset() : o1(false), o2(false), o3(false), o4(false), o5(false), o6(false) {} - bool o1; - bool o2; - bool o3; - bool o4; - bool o5; - bool o6; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; + bool o5 :1; + bool o6 :1; } _ThriftHiveMetastore_markPartitionForEvent_result__isset; class ThriftHiveMetastore_markPartitionForEvent_result { public: + static const char* ascii_fingerprint; // = "0C100FB750BDB3340333F80C942B7F87"; + static const uint8_t binary_fingerprint[16]; // = {0x0C,0x10,0x0F,0xB7,0x50,0xBD,0xB3,0x34,0x03,0x33,0xF8,0x0C,0x94,0x2B,0x7F,0x87}; + + ThriftHiveMetastore_markPartitionForEvent_result(const ThriftHiveMetastore_markPartitionForEvent_result&); + ThriftHiveMetastore_markPartitionForEvent_result& operator=(const ThriftHiveMetastore_markPartitionForEvent_result&); ThriftHiveMetastore_markPartitionForEvent_result() { } - virtual ~ThriftHiveMetastore_markPartitionForEvent_result() throw() {} - + virtual ~ThriftHiveMetastore_markPartitionForEvent_result() throw(); MetaException o1; NoSuchObjectException o2; UnknownDBException o3; @@ -9906,29 +10228,17 @@ class ThriftHiveMetastore_markPartitionForEvent_result { _ThriftHiveMetastore_markPartitionForEvent_result__isset __isset; - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); - void __set_o3(const UnknownDBException& val) { - o3 = val; - } + void __set_o3(const UnknownDBException& val); - void __set_o4(const UnknownTableException& val) { - o4 = val; - } + void __set_o4(const UnknownTableException& val); - void __set_o5(const UnknownPartitionException& val) { - o5 = val; - } + void __set_o5(const UnknownPartitionException& val); - void __set_o6(const InvalidPartitionException& val) { - o6 = val; - } + void __set_o6(const InvalidPartitionException& val); bool operator == (const ThriftHiveMetastore_markPartitionForEvent_result & rhs) const { @@ -9955,24 +10265,27 @@ class ThriftHiveMetastore_markPartitionForEvent_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_markPartitionForEvent_result& obj); }; typedef struct _ThriftHiveMetastore_markPartitionForEvent_presult__isset { _ThriftHiveMetastore_markPartitionForEvent_presult__isset() : o1(false), o2(false), o3(false), o4(false), o5(false), o6(false) {} - bool o1; - bool o2; - bool o3; - bool o4; - bool o5; - bool o6; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; + bool o5 :1; + bool o6 :1; } _ThriftHiveMetastore_markPartitionForEvent_presult__isset; class ThriftHiveMetastore_markPartitionForEvent_presult { public: + static const char* ascii_fingerprint; // = "0C100FB750BDB3340333F80C942B7F87"; + static const uint8_t binary_fingerprint[16]; // = {0x0C,0x10,0x0F,0xB7,0x50,0xBD,0xB3,0x34,0x03,0x33,0xF8,0x0C,0x94,0x2B,0x7F,0x87}; - virtual ~ThriftHiveMetastore_markPartitionForEvent_presult() throw() {} + virtual ~ThriftHiveMetastore_markPartitionForEvent_presult() throw(); MetaException o1; NoSuchObjectException o2; UnknownDBException o3; @@ -9984,24 +10297,29 @@ class ThriftHiveMetastore_markPartitionForEvent_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_markPartitionForEvent_presult& obj); }; typedef struct _ThriftHiveMetastore_isPartitionMarkedForEvent_args__isset { _ThriftHiveMetastore_isPartitionMarkedForEvent_args__isset() : db_name(false), tbl_name(false), part_vals(false), eventType(false) {} - bool db_name; - bool tbl_name; - bool part_vals; - bool eventType; + bool db_name :1; + bool tbl_name :1; + bool part_vals :1; + bool eventType :1; } _ThriftHiveMetastore_isPartitionMarkedForEvent_args__isset; class ThriftHiveMetastore_isPartitionMarkedForEvent_args { public: + static const char* ascii_fingerprint; // = "55DED7525D4B4E203D2060AF66F31D5B"; + static const uint8_t binary_fingerprint[16]; // = {0x55,0xDE,0xD7,0x52,0x5D,0x4B,0x4E,0x20,0x3D,0x20,0x60,0xAF,0x66,0xF3,0x1D,0x5B}; + + ThriftHiveMetastore_isPartitionMarkedForEvent_args(const ThriftHiveMetastore_isPartitionMarkedForEvent_args&); + ThriftHiveMetastore_isPartitionMarkedForEvent_args& operator=(const ThriftHiveMetastore_isPartitionMarkedForEvent_args&); ThriftHiveMetastore_isPartitionMarkedForEvent_args() : db_name(), tbl_name(), eventType((PartitionEventType::type)0) { } - virtual ~ThriftHiveMetastore_isPartitionMarkedForEvent_args() throw() {} - + virtual ~ThriftHiveMetastore_isPartitionMarkedForEvent_args() throw(); std::string db_name; std::string tbl_name; std::map part_vals; @@ -10009,21 +10327,13 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { _ThriftHiveMetastore_isPartitionMarkedForEvent_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_vals(const std::map & val) { - part_vals = val; - } + void __set_part_vals(const std::map & val); - void __set_eventType(const PartitionEventType::type val) { - eventType = val; - } + void __set_eventType(const PartitionEventType::type val); bool operator == (const ThriftHiveMetastore_isPartitionMarkedForEvent_args & rhs) const { @@ -10046,15 +10356,18 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_isPartitionMarkedForEvent_args& obj); }; class ThriftHiveMetastore_isPartitionMarkedForEvent_pargs { public: + static const char* ascii_fingerprint; // = "55DED7525D4B4E203D2060AF66F31D5B"; + static const uint8_t binary_fingerprint[16]; // = {0x55,0xDE,0xD7,0x52,0x5D,0x4B,0x4E,0x20,0x3D,0x20,0x60,0xAF,0x66,0xF3,0x1D,0x5B}; - virtual ~ThriftHiveMetastore_isPartitionMarkedForEvent_pargs() throw() {} + virtual ~ThriftHiveMetastore_isPartitionMarkedForEvent_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::map * part_vals; @@ -10062,27 +10375,32 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_isPartitionMarkedForEvent_pargs& obj); }; typedef struct _ThriftHiveMetastore_isPartitionMarkedForEvent_result__isset { _ThriftHiveMetastore_isPartitionMarkedForEvent_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false), o5(false), o6(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; - bool o5; - bool o6; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; + bool o5 :1; + bool o6 :1; } _ThriftHiveMetastore_isPartitionMarkedForEvent_result__isset; class ThriftHiveMetastore_isPartitionMarkedForEvent_result { public: + static const char* ascii_fingerprint; // = "7F79FC02338E2C85C59D237CC3B0E1EB"; + static const uint8_t binary_fingerprint[16]; // = {0x7F,0x79,0xFC,0x02,0x33,0x8E,0x2C,0x85,0xC5,0x9D,0x23,0x7C,0xC3,0xB0,0xE1,0xEB}; + + ThriftHiveMetastore_isPartitionMarkedForEvent_result(const ThriftHiveMetastore_isPartitionMarkedForEvent_result&); + ThriftHiveMetastore_isPartitionMarkedForEvent_result& operator=(const ThriftHiveMetastore_isPartitionMarkedForEvent_result&); ThriftHiveMetastore_isPartitionMarkedForEvent_result() : success(0) { } - virtual ~ThriftHiveMetastore_isPartitionMarkedForEvent_result() throw() {} - + virtual ~ThriftHiveMetastore_isPartitionMarkedForEvent_result() throw(); bool success; MetaException o1; NoSuchObjectException o2; @@ -10093,33 +10411,19 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_result { _ThriftHiveMetastore_isPartitionMarkedForEvent_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); - void __set_o3(const UnknownDBException& val) { - o3 = val; - } + void __set_o3(const UnknownDBException& val); - void __set_o4(const UnknownTableException& val) { - o4 = val; - } + void __set_o4(const UnknownTableException& val); - void __set_o5(const UnknownPartitionException& val) { - o5 = val; - } + void __set_o5(const UnknownPartitionException& val); - void __set_o6(const InvalidPartitionException& val) { - o6 = val; - } + void __set_o6(const InvalidPartitionException& val); bool operator == (const ThriftHiveMetastore_isPartitionMarkedForEvent_result & rhs) const { @@ -10148,25 +10452,28 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_isPartitionMarkedForEvent_result& obj); }; typedef struct _ThriftHiveMetastore_isPartitionMarkedForEvent_presult__isset { _ThriftHiveMetastore_isPartitionMarkedForEvent_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false), o5(false), o6(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; - bool o5; - bool o6; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; + bool o5 :1; + bool o6 :1; } _ThriftHiveMetastore_isPartitionMarkedForEvent_presult__isset; class ThriftHiveMetastore_isPartitionMarkedForEvent_presult { public: + static const char* ascii_fingerprint; // = "7F79FC02338E2C85C59D237CC3B0E1EB"; + static const uint8_t binary_fingerprint[16]; // = {0x7F,0x79,0xFC,0x02,0x33,0x8E,0x2C,0x85,0xC5,0x9D,0x23,0x7C,0xC3,0xB0,0xE1,0xEB}; - virtual ~ThriftHiveMetastore_isPartitionMarkedForEvent_presult() throw() {} + virtual ~ThriftHiveMetastore_isPartitionMarkedForEvent_presult() throw(); bool* success; MetaException o1; NoSuchObjectException o2; @@ -10179,34 +10486,35 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_isPartitionMarkedForEvent_presult& obj); }; typedef struct _ThriftHiveMetastore_add_index_args__isset { _ThriftHiveMetastore_add_index_args__isset() : new_index(false), index_table(false) {} - bool new_index; - bool index_table; + bool new_index :1; + bool index_table :1; } _ThriftHiveMetastore_add_index_args__isset; class ThriftHiveMetastore_add_index_args { public: + static const char* ascii_fingerprint; // = "63E57E91A04A11631F8F252EF6E92344"; + static const uint8_t binary_fingerprint[16]; // = {0x63,0xE5,0x7E,0x91,0xA0,0x4A,0x11,0x63,0x1F,0x8F,0x25,0x2E,0xF6,0xE9,0x23,0x44}; + + ThriftHiveMetastore_add_index_args(const ThriftHiveMetastore_add_index_args&); + ThriftHiveMetastore_add_index_args& operator=(const ThriftHiveMetastore_add_index_args&); ThriftHiveMetastore_add_index_args() { } - virtual ~ThriftHiveMetastore_add_index_args() throw() {} - + virtual ~ThriftHiveMetastore_add_index_args() throw(); Index new_index; Table index_table; _ThriftHiveMetastore_add_index_args__isset __isset; - void __set_new_index(const Index& val) { - new_index = val; - } + void __set_new_index(const Index& val); - void __set_index_table(const Table& val) { - index_table = val; - } + void __set_index_table(const Table& val); bool operator == (const ThriftHiveMetastore_add_index_args & rhs) const { @@ -10225,38 +10533,46 @@ class ThriftHiveMetastore_add_index_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_index_args& obj); }; class ThriftHiveMetastore_add_index_pargs { public: + static const char* ascii_fingerprint; // = "63E57E91A04A11631F8F252EF6E92344"; + static const uint8_t binary_fingerprint[16]; // = {0x63,0xE5,0x7E,0x91,0xA0,0x4A,0x11,0x63,0x1F,0x8F,0x25,0x2E,0xF6,0xE9,0x23,0x44}; - virtual ~ThriftHiveMetastore_add_index_pargs() throw() {} + virtual ~ThriftHiveMetastore_add_index_pargs() throw(); const Index* new_index; const Table* index_table; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_index_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_index_result__isset { _ThriftHiveMetastore_add_index_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_index_result__isset; class ThriftHiveMetastore_add_index_result { public: + static const char* ascii_fingerprint; // = "15E23986A4E294C2202C4DEC638256AF"; + static const uint8_t binary_fingerprint[16]; // = {0x15,0xE2,0x39,0x86,0xA4,0xE2,0x94,0xC2,0x20,0x2C,0x4D,0xEC,0x63,0x82,0x56,0xAF}; + + ThriftHiveMetastore_add_index_result(const ThriftHiveMetastore_add_index_result&); + ThriftHiveMetastore_add_index_result& operator=(const ThriftHiveMetastore_add_index_result&); ThriftHiveMetastore_add_index_result() { } - virtual ~ThriftHiveMetastore_add_index_result() throw() {} - + virtual ~ThriftHiveMetastore_add_index_result() throw(); Index success; InvalidObjectException o1; AlreadyExistsException o2; @@ -10264,21 +10580,13 @@ class ThriftHiveMetastore_add_index_result { _ThriftHiveMetastore_add_index_result__isset __isset; - void __set_success(const Index& val) { - success = val; - } + void __set_success(const Index& val); - void __set_o1(const InvalidObjectException& val) { - o1 = val; - } + void __set_o1(const InvalidObjectException& val); - void __set_o2(const AlreadyExistsException& val) { - o2 = val; - } + void __set_o2(const AlreadyExistsException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_add_index_result & rhs) const { @@ -10301,22 +10609,25 @@ class ThriftHiveMetastore_add_index_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_index_result& obj); }; typedef struct _ThriftHiveMetastore_add_index_presult__isset { _ThriftHiveMetastore_add_index_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_add_index_presult__isset; class ThriftHiveMetastore_add_index_presult { public: + static const char* ascii_fingerprint; // = "15E23986A4E294C2202C4DEC638256AF"; + static const uint8_t binary_fingerprint[16]; // = {0x15,0xE2,0x39,0x86,0xA4,0xE2,0x94,0xC2,0x20,0x2C,0x4D,0xEC,0x63,0x82,0x56,0xAF}; - virtual ~ThriftHiveMetastore_add_index_presult() throw() {} + virtual ~ThriftHiveMetastore_add_index_presult() throw(); Index* success; InvalidObjectException o1; AlreadyExistsException o2; @@ -10326,24 +10637,29 @@ class ThriftHiveMetastore_add_index_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_index_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_index_args__isset { _ThriftHiveMetastore_alter_index_args__isset() : dbname(false), base_tbl_name(false), idx_name(false), new_idx(false) {} - bool dbname; - bool base_tbl_name; - bool idx_name; - bool new_idx; + bool dbname :1; + bool base_tbl_name :1; + bool idx_name :1; + bool new_idx :1; } _ThriftHiveMetastore_alter_index_args__isset; class ThriftHiveMetastore_alter_index_args { public: + static const char* ascii_fingerprint; // = "D0DAD0C573EB46AEAD958254D71EAE4D"; + static const uint8_t binary_fingerprint[16]; // = {0xD0,0xDA,0xD0,0xC5,0x73,0xEB,0x46,0xAE,0xAD,0x95,0x82,0x54,0xD7,0x1E,0xAE,0x4D}; + + ThriftHiveMetastore_alter_index_args(const ThriftHiveMetastore_alter_index_args&); + ThriftHiveMetastore_alter_index_args& operator=(const ThriftHiveMetastore_alter_index_args&); ThriftHiveMetastore_alter_index_args() : dbname(), base_tbl_name(), idx_name() { } - virtual ~ThriftHiveMetastore_alter_index_args() throw() {} - + virtual ~ThriftHiveMetastore_alter_index_args() throw(); std::string dbname; std::string base_tbl_name; std::string idx_name; @@ -10351,21 +10667,13 @@ class ThriftHiveMetastore_alter_index_args { _ThriftHiveMetastore_alter_index_args__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_base_tbl_name(const std::string& val) { - base_tbl_name = val; - } + void __set_base_tbl_name(const std::string& val); - void __set_idx_name(const std::string& val) { - idx_name = val; - } + void __set_idx_name(const std::string& val); - void __set_new_idx(const Index& val) { - new_idx = val; - } + void __set_new_idx(const Index& val); bool operator == (const ThriftHiveMetastore_alter_index_args & rhs) const { @@ -10388,15 +10696,18 @@ class ThriftHiveMetastore_alter_index_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_index_args& obj); }; class ThriftHiveMetastore_alter_index_pargs { public: + static const char* ascii_fingerprint; // = "D0DAD0C573EB46AEAD958254D71EAE4D"; + static const uint8_t binary_fingerprint[16]; // = {0xD0,0xDA,0xD0,0xC5,0x73,0xEB,0x46,0xAE,0xAD,0x95,0x82,0x54,0xD7,0x1E,0xAE,0x4D}; - virtual ~ThriftHiveMetastore_alter_index_pargs() throw() {} + virtual ~ThriftHiveMetastore_alter_index_pargs() throw(); const std::string* dbname; const std::string* base_tbl_name; const std::string* idx_name; @@ -10404,34 +10715,35 @@ class ThriftHiveMetastore_alter_index_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_index_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_index_result__isset { _ThriftHiveMetastore_alter_index_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_index_result__isset; class ThriftHiveMetastore_alter_index_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_alter_index_result(const ThriftHiveMetastore_alter_index_result&); + ThriftHiveMetastore_alter_index_result& operator=(const ThriftHiveMetastore_alter_index_result&); ThriftHiveMetastore_alter_index_result() { } - virtual ~ThriftHiveMetastore_alter_index_result() throw() {} - + virtual ~ThriftHiveMetastore_alter_index_result() throw(); InvalidOperationException o1; MetaException o2; _ThriftHiveMetastore_alter_index_result__isset __isset; - void __set_o1(const InvalidOperationException& val) { - o1 = val; - } + void __set_o1(const InvalidOperationException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_alter_index_result & rhs) const { @@ -10450,20 +10762,23 @@ class ThriftHiveMetastore_alter_index_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_index_result& obj); }; typedef struct _ThriftHiveMetastore_alter_index_presult__isset { _ThriftHiveMetastore_alter_index_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_index_presult__isset; class ThriftHiveMetastore_alter_index_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_index_presult() throw() {} + virtual ~ThriftHiveMetastore_alter_index_presult() throw(); InvalidOperationException o1; MetaException o2; @@ -10471,24 +10786,29 @@ class ThriftHiveMetastore_alter_index_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_index_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_index_by_name_args__isset { _ThriftHiveMetastore_drop_index_by_name_args__isset() : db_name(false), tbl_name(false), index_name(false), deleteData(false) {} - bool db_name; - bool tbl_name; - bool index_name; - bool deleteData; + bool db_name :1; + bool tbl_name :1; + bool index_name :1; + bool deleteData :1; } _ThriftHiveMetastore_drop_index_by_name_args__isset; class ThriftHiveMetastore_drop_index_by_name_args { public: + static const char* ascii_fingerprint; // = "557CE3E1F35DD5D74A3999FB1200CAB8"; + static const uint8_t binary_fingerprint[16]; // = {0x55,0x7C,0xE3,0xE1,0xF3,0x5D,0xD5,0xD7,0x4A,0x39,0x99,0xFB,0x12,0x00,0xCA,0xB8}; + + ThriftHiveMetastore_drop_index_by_name_args(const ThriftHiveMetastore_drop_index_by_name_args&); + ThriftHiveMetastore_drop_index_by_name_args& operator=(const ThriftHiveMetastore_drop_index_by_name_args&); ThriftHiveMetastore_drop_index_by_name_args() : db_name(), tbl_name(), index_name(), deleteData(0) { } - virtual ~ThriftHiveMetastore_drop_index_by_name_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_index_by_name_args() throw(); std::string db_name; std::string tbl_name; std::string index_name; @@ -10496,21 +10816,13 @@ class ThriftHiveMetastore_drop_index_by_name_args { _ThriftHiveMetastore_drop_index_by_name_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_index_name(const std::string& val) { - index_name = val; - } + void __set_index_name(const std::string& val); - void __set_deleteData(const bool val) { - deleteData = val; - } + void __set_deleteData(const bool val); bool operator == (const ThriftHiveMetastore_drop_index_by_name_args & rhs) const { @@ -10533,15 +10845,18 @@ class ThriftHiveMetastore_drop_index_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_index_by_name_args& obj); }; class ThriftHiveMetastore_drop_index_by_name_pargs { public: + static const char* ascii_fingerprint; // = "557CE3E1F35DD5D74A3999FB1200CAB8"; + static const uint8_t binary_fingerprint[16]; // = {0x55,0x7C,0xE3,0xE1,0xF3,0x5D,0xD5,0xD7,0x4A,0x39,0x99,0xFB,0x12,0x00,0xCA,0xB8}; - virtual ~ThriftHiveMetastore_drop_index_by_name_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_index_by_name_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* index_name; @@ -10549,40 +10864,39 @@ class ThriftHiveMetastore_drop_index_by_name_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_index_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_index_by_name_result__isset { _ThriftHiveMetastore_drop_index_by_name_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_index_by_name_result__isset; class ThriftHiveMetastore_drop_index_by_name_result { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; + + ThriftHiveMetastore_drop_index_by_name_result(const ThriftHiveMetastore_drop_index_by_name_result&); + ThriftHiveMetastore_drop_index_by_name_result& operator=(const ThriftHiveMetastore_drop_index_by_name_result&); ThriftHiveMetastore_drop_index_by_name_result() : success(0) { } - virtual ~ThriftHiveMetastore_drop_index_by_name_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_index_by_name_result() throw(); bool success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_drop_index_by_name_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_drop_index_by_name_result & rhs) const { @@ -10603,21 +10917,24 @@ class ThriftHiveMetastore_drop_index_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_index_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_drop_index_by_name_presult__isset { _ThriftHiveMetastore_drop_index_by_name_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_drop_index_by_name_presult__isset; class ThriftHiveMetastore_drop_index_by_name_presult { public: + static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_index_by_name_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_index_by_name_presult() throw(); bool* success; NoSuchObjectException o1; MetaException o2; @@ -10626,40 +10943,39 @@ class ThriftHiveMetastore_drop_index_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_index_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_get_index_by_name_args__isset { _ThriftHiveMetastore_get_index_by_name_args__isset() : db_name(false), tbl_name(false), index_name(false) {} - bool db_name; - bool tbl_name; - bool index_name; + bool db_name :1; + bool tbl_name :1; + bool index_name :1; } _ThriftHiveMetastore_get_index_by_name_args__isset; class ThriftHiveMetastore_get_index_by_name_args { public: + static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; + + ThriftHiveMetastore_get_index_by_name_args(const ThriftHiveMetastore_get_index_by_name_args&); + ThriftHiveMetastore_get_index_by_name_args& operator=(const ThriftHiveMetastore_get_index_by_name_args&); ThriftHiveMetastore_get_index_by_name_args() : db_name(), tbl_name(), index_name() { } - virtual ~ThriftHiveMetastore_get_index_by_name_args() throw() {} - + virtual ~ThriftHiveMetastore_get_index_by_name_args() throw(); std::string db_name; std::string tbl_name; std::string index_name; _ThriftHiveMetastore_get_index_by_name_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_index_name(const std::string& val) { - index_name = val; - } + void __set_index_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_index_by_name_args & rhs) const { @@ -10680,55 +10996,57 @@ class ThriftHiveMetastore_get_index_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_by_name_args& obj); }; class ThriftHiveMetastore_get_index_by_name_pargs { public: + static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - virtual ~ThriftHiveMetastore_get_index_by_name_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_index_by_name_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* index_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_index_by_name_result__isset { _ThriftHiveMetastore_get_index_by_name_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_index_by_name_result__isset; class ThriftHiveMetastore_get_index_by_name_result { public: + static const char* ascii_fingerprint; // = "FFA6914B98796DA64D3007437901E7D6"; + static const uint8_t binary_fingerprint[16]; // = {0xFF,0xA6,0x91,0x4B,0x98,0x79,0x6D,0xA6,0x4D,0x30,0x07,0x43,0x79,0x01,0xE7,0xD6}; + + ThriftHiveMetastore_get_index_by_name_result(const ThriftHiveMetastore_get_index_by_name_result&); + ThriftHiveMetastore_get_index_by_name_result& operator=(const ThriftHiveMetastore_get_index_by_name_result&); ThriftHiveMetastore_get_index_by_name_result() { } - virtual ~ThriftHiveMetastore_get_index_by_name_result() throw() {} - + virtual ~ThriftHiveMetastore_get_index_by_name_result() throw(); Index success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_index_by_name_result__isset __isset; - void __set_success(const Index& val) { - success = val; - } + void __set_success(const Index& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_index_by_name_result & rhs) const { @@ -10749,21 +11067,24 @@ class ThriftHiveMetastore_get_index_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_get_index_by_name_presult__isset { _ThriftHiveMetastore_get_index_by_name_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_index_by_name_presult__isset; class ThriftHiveMetastore_get_index_by_name_presult { public: + static const char* ascii_fingerprint; // = "FFA6914B98796DA64D3007437901E7D6"; + static const uint8_t binary_fingerprint[16]; // = {0xFF,0xA6,0x91,0x4B,0x98,0x79,0x6D,0xA6,0x4D,0x30,0x07,0x43,0x79,0x01,0xE7,0xD6}; - virtual ~ThriftHiveMetastore_get_index_by_name_presult() throw() {} + virtual ~ThriftHiveMetastore_get_index_by_name_presult() throw(); Index* success; MetaException o1; NoSuchObjectException o2; @@ -10772,40 +11093,39 @@ class ThriftHiveMetastore_get_index_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_get_indexes_args__isset { _ThriftHiveMetastore_get_indexes_args__isset() : db_name(false), tbl_name(false), max_indexes(true) {} - bool db_name; - bool tbl_name; - bool max_indexes; + bool db_name :1; + bool tbl_name :1; + bool max_indexes :1; } _ThriftHiveMetastore_get_indexes_args__isset; class ThriftHiveMetastore_get_indexes_args { public: + static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; + + ThriftHiveMetastore_get_indexes_args(const ThriftHiveMetastore_get_indexes_args&); + ThriftHiveMetastore_get_indexes_args& operator=(const ThriftHiveMetastore_get_indexes_args&); ThriftHiveMetastore_get_indexes_args() : db_name(), tbl_name(), max_indexes(-1) { } - virtual ~ThriftHiveMetastore_get_indexes_args() throw() {} - + virtual ~ThriftHiveMetastore_get_indexes_args() throw(); std::string db_name; std::string tbl_name; int16_t max_indexes; _ThriftHiveMetastore_get_indexes_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_max_indexes(const int16_t val) { - max_indexes = val; - } + void __set_max_indexes(const int16_t val); bool operator == (const ThriftHiveMetastore_get_indexes_args & rhs) const { @@ -10826,55 +11146,57 @@ class ThriftHiveMetastore_get_indexes_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_indexes_args& obj); }; class ThriftHiveMetastore_get_indexes_pargs { public: + static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - virtual ~ThriftHiveMetastore_get_indexes_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_indexes_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const int16_t* max_indexes; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_indexes_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_indexes_result__isset { _ThriftHiveMetastore_get_indexes_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_indexes_result__isset; class ThriftHiveMetastore_get_indexes_result { public: + static const char* ascii_fingerprint; // = "0A01F435C57042F7C45EC1B945498138"; + static const uint8_t binary_fingerprint[16]; // = {0x0A,0x01,0xF4,0x35,0xC5,0x70,0x42,0xF7,0xC4,0x5E,0xC1,0xB9,0x45,0x49,0x81,0x38}; + + ThriftHiveMetastore_get_indexes_result(const ThriftHiveMetastore_get_indexes_result&); + ThriftHiveMetastore_get_indexes_result& operator=(const ThriftHiveMetastore_get_indexes_result&); ThriftHiveMetastore_get_indexes_result() { } - virtual ~ThriftHiveMetastore_get_indexes_result() throw() {} - + virtual ~ThriftHiveMetastore_get_indexes_result() throw(); std::vector success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_get_indexes_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_indexes_result & rhs) const { @@ -10895,21 +11217,24 @@ class ThriftHiveMetastore_get_indexes_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_indexes_result& obj); }; typedef struct _ThriftHiveMetastore_get_indexes_presult__isset { _ThriftHiveMetastore_get_indexes_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_indexes_presult__isset; class ThriftHiveMetastore_get_indexes_presult { public: + static const char* ascii_fingerprint; // = "0A01F435C57042F7C45EC1B945498138"; + static const uint8_t binary_fingerprint[16]; // = {0x0A,0x01,0xF4,0x35,0xC5,0x70,0x42,0xF7,0xC4,0x5E,0xC1,0xB9,0x45,0x49,0x81,0x38}; - virtual ~ThriftHiveMetastore_get_indexes_presult() throw() {} + virtual ~ThriftHiveMetastore_get_indexes_presult() throw(); std::vector * success; NoSuchObjectException o1; MetaException o2; @@ -10918,40 +11243,39 @@ class ThriftHiveMetastore_get_indexes_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_indexes_presult& obj); }; typedef struct _ThriftHiveMetastore_get_index_names_args__isset { _ThriftHiveMetastore_get_index_names_args__isset() : db_name(false), tbl_name(false), max_indexes(true) {} - bool db_name; - bool tbl_name; - bool max_indexes; + bool db_name :1; + bool tbl_name :1; + bool max_indexes :1; } _ThriftHiveMetastore_get_index_names_args__isset; class ThriftHiveMetastore_get_index_names_args { public: + static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; + + ThriftHiveMetastore_get_index_names_args(const ThriftHiveMetastore_get_index_names_args&); + ThriftHiveMetastore_get_index_names_args& operator=(const ThriftHiveMetastore_get_index_names_args&); ThriftHiveMetastore_get_index_names_args() : db_name(), tbl_name(), max_indexes(-1) { } - virtual ~ThriftHiveMetastore_get_index_names_args() throw() {} - + virtual ~ThriftHiveMetastore_get_index_names_args() throw(); std::string db_name; std::string tbl_name; int16_t max_indexes; _ThriftHiveMetastore_get_index_names_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_max_indexes(const int16_t val) { - max_indexes = val; - } + void __set_max_indexes(const int16_t val); bool operator == (const ThriftHiveMetastore_get_index_names_args & rhs) const { @@ -10972,49 +11296,53 @@ class ThriftHiveMetastore_get_index_names_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_names_args& obj); }; class ThriftHiveMetastore_get_index_names_pargs { public: + static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - virtual ~ThriftHiveMetastore_get_index_names_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_index_names_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const int16_t* max_indexes; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_names_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_index_names_result__isset { _ThriftHiveMetastore_get_index_names_result__isset() : success(false), o2(false) {} - bool success; - bool o2; + bool success :1; + bool o2 :1; } _ThriftHiveMetastore_get_index_names_result__isset; class ThriftHiveMetastore_get_index_names_result { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; + + ThriftHiveMetastore_get_index_names_result(const ThriftHiveMetastore_get_index_names_result&); + ThriftHiveMetastore_get_index_names_result& operator=(const ThriftHiveMetastore_get_index_names_result&); ThriftHiveMetastore_get_index_names_result() { } - virtual ~ThriftHiveMetastore_get_index_names_result() throw() {} - + virtual ~ThriftHiveMetastore_get_index_names_result() throw(); std::vector success; MetaException o2; _ThriftHiveMetastore_get_index_names_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_index_names_result & rhs) const { @@ -11033,20 +11361,23 @@ class ThriftHiveMetastore_get_index_names_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_names_result& obj); }; typedef struct _ThriftHiveMetastore_get_index_names_presult__isset { _ThriftHiveMetastore_get_index_names_presult__isset() : success(false), o2(false) {} - bool success; - bool o2; + bool success :1; + bool o2 :1; } _ThriftHiveMetastore_get_index_names_presult__isset; class ThriftHiveMetastore_get_index_names_presult { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_index_names_presult() throw() {} + virtual ~ThriftHiveMetastore_get_index_names_presult() throw(); std::vector * success; MetaException o2; @@ -11054,28 +11385,31 @@ class ThriftHiveMetastore_get_index_names_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_names_presult& obj); }; typedef struct _ThriftHiveMetastore_update_table_column_statistics_args__isset { _ThriftHiveMetastore_update_table_column_statistics_args__isset() : stats_obj(false) {} - bool stats_obj; + bool stats_obj :1; } _ThriftHiveMetastore_update_table_column_statistics_args__isset; class ThriftHiveMetastore_update_table_column_statistics_args { public: + static const char* ascii_fingerprint; // = "AE5C106737E1B22E685B7A2BFCECFFBE"; + static const uint8_t binary_fingerprint[16]; // = {0xAE,0x5C,0x10,0x67,0x37,0xE1,0xB2,0x2E,0x68,0x5B,0x7A,0x2B,0xFC,0xEC,0xFF,0xBE}; + + ThriftHiveMetastore_update_table_column_statistics_args(const ThriftHiveMetastore_update_table_column_statistics_args&); + ThriftHiveMetastore_update_table_column_statistics_args& operator=(const ThriftHiveMetastore_update_table_column_statistics_args&); ThriftHiveMetastore_update_table_column_statistics_args() { } - virtual ~ThriftHiveMetastore_update_table_column_statistics_args() throw() {} - + virtual ~ThriftHiveMetastore_update_table_column_statistics_args() throw(); ColumnStatistics stats_obj; _ThriftHiveMetastore_update_table_column_statistics_args__isset __isset; - void __set_stats_obj(const ColumnStatistics& val) { - stats_obj = val; - } + void __set_stats_obj(const ColumnStatistics& val); bool operator == (const ThriftHiveMetastore_update_table_column_statistics_args & rhs) const { @@ -11092,38 +11426,46 @@ class ThriftHiveMetastore_update_table_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_table_column_statistics_args& obj); }; class ThriftHiveMetastore_update_table_column_statistics_pargs { public: + static const char* ascii_fingerprint; // = "AE5C106737E1B22E685B7A2BFCECFFBE"; + static const uint8_t binary_fingerprint[16]; // = {0xAE,0x5C,0x10,0x67,0x37,0xE1,0xB2,0x2E,0x68,0x5B,0x7A,0x2B,0xFC,0xEC,0xFF,0xBE}; - virtual ~ThriftHiveMetastore_update_table_column_statistics_pargs() throw() {} + virtual ~ThriftHiveMetastore_update_table_column_statistics_pargs() throw(); const ColumnStatistics* stats_obj; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_table_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_update_table_column_statistics_result__isset { _ThriftHiveMetastore_update_table_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_update_table_column_statistics_result__isset; class ThriftHiveMetastore_update_table_column_statistics_result { public: + static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; + + ThriftHiveMetastore_update_table_column_statistics_result(const ThriftHiveMetastore_update_table_column_statistics_result&); + ThriftHiveMetastore_update_table_column_statistics_result& operator=(const ThriftHiveMetastore_update_table_column_statistics_result&); ThriftHiveMetastore_update_table_column_statistics_result() : success(0) { } - virtual ~ThriftHiveMetastore_update_table_column_statistics_result() throw() {} - + virtual ~ThriftHiveMetastore_update_table_column_statistics_result() throw(); bool success; NoSuchObjectException o1; InvalidObjectException o2; @@ -11132,25 +11474,15 @@ class ThriftHiveMetastore_update_table_column_statistics_result { _ThriftHiveMetastore_update_table_column_statistics_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const InvalidObjectException& val) { - o2 = val; - } + void __set_o2(const InvalidObjectException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); - void __set_o4(const InvalidInputException& val) { - o4 = val; - } + void __set_o4(const InvalidInputException& val); bool operator == (const ThriftHiveMetastore_update_table_column_statistics_result & rhs) const { @@ -11175,23 +11507,26 @@ class ThriftHiveMetastore_update_table_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_table_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_update_table_column_statistics_presult__isset { _ThriftHiveMetastore_update_table_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_update_table_column_statistics_presult__isset; class ThriftHiveMetastore_update_table_column_statistics_presult { public: + static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - virtual ~ThriftHiveMetastore_update_table_column_statistics_presult() throw() {} + virtual ~ThriftHiveMetastore_update_table_column_statistics_presult() throw(); bool* success; NoSuchObjectException o1; InvalidObjectException o2; @@ -11202,28 +11537,31 @@ class ThriftHiveMetastore_update_table_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_table_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_update_partition_column_statistics_args__isset { _ThriftHiveMetastore_update_partition_column_statistics_args__isset() : stats_obj(false) {} - bool stats_obj; + bool stats_obj :1; } _ThriftHiveMetastore_update_partition_column_statistics_args__isset; class ThriftHiveMetastore_update_partition_column_statistics_args { public: + static const char* ascii_fingerprint; // = "AE5C106737E1B22E685B7A2BFCECFFBE"; + static const uint8_t binary_fingerprint[16]; // = {0xAE,0x5C,0x10,0x67,0x37,0xE1,0xB2,0x2E,0x68,0x5B,0x7A,0x2B,0xFC,0xEC,0xFF,0xBE}; + + ThriftHiveMetastore_update_partition_column_statistics_args(const ThriftHiveMetastore_update_partition_column_statistics_args&); + ThriftHiveMetastore_update_partition_column_statistics_args& operator=(const ThriftHiveMetastore_update_partition_column_statistics_args&); ThriftHiveMetastore_update_partition_column_statistics_args() { } - virtual ~ThriftHiveMetastore_update_partition_column_statistics_args() throw() {} - + virtual ~ThriftHiveMetastore_update_partition_column_statistics_args() throw(); ColumnStatistics stats_obj; _ThriftHiveMetastore_update_partition_column_statistics_args__isset __isset; - void __set_stats_obj(const ColumnStatistics& val) { - stats_obj = val; - } + void __set_stats_obj(const ColumnStatistics& val); bool operator == (const ThriftHiveMetastore_update_partition_column_statistics_args & rhs) const { @@ -11240,38 +11578,46 @@ class ThriftHiveMetastore_update_partition_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_partition_column_statistics_args& obj); }; class ThriftHiveMetastore_update_partition_column_statistics_pargs { public: + static const char* ascii_fingerprint; // = "AE5C106737E1B22E685B7A2BFCECFFBE"; + static const uint8_t binary_fingerprint[16]; // = {0xAE,0x5C,0x10,0x67,0x37,0xE1,0xB2,0x2E,0x68,0x5B,0x7A,0x2B,0xFC,0xEC,0xFF,0xBE}; - virtual ~ThriftHiveMetastore_update_partition_column_statistics_pargs() throw() {} + virtual ~ThriftHiveMetastore_update_partition_column_statistics_pargs() throw(); const ColumnStatistics* stats_obj; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_partition_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_update_partition_column_statistics_result__isset { _ThriftHiveMetastore_update_partition_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_update_partition_column_statistics_result__isset; class ThriftHiveMetastore_update_partition_column_statistics_result { public: + static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; + + ThriftHiveMetastore_update_partition_column_statistics_result(const ThriftHiveMetastore_update_partition_column_statistics_result&); + ThriftHiveMetastore_update_partition_column_statistics_result& operator=(const ThriftHiveMetastore_update_partition_column_statistics_result&); ThriftHiveMetastore_update_partition_column_statistics_result() : success(0) { } - virtual ~ThriftHiveMetastore_update_partition_column_statistics_result() throw() {} - + virtual ~ThriftHiveMetastore_update_partition_column_statistics_result() throw(); bool success; NoSuchObjectException o1; InvalidObjectException o2; @@ -11280,25 +11626,15 @@ class ThriftHiveMetastore_update_partition_column_statistics_result { _ThriftHiveMetastore_update_partition_column_statistics_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const InvalidObjectException& val) { - o2 = val; - } + void __set_o2(const InvalidObjectException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); - void __set_o4(const InvalidInputException& val) { - o4 = val; - } + void __set_o4(const InvalidInputException& val); bool operator == (const ThriftHiveMetastore_update_partition_column_statistics_result & rhs) const { @@ -11323,23 +11659,26 @@ class ThriftHiveMetastore_update_partition_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_partition_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_update_partition_column_statistics_presult__isset { _ThriftHiveMetastore_update_partition_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_update_partition_column_statistics_presult__isset; class ThriftHiveMetastore_update_partition_column_statistics_presult { public: + static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - virtual ~ThriftHiveMetastore_update_partition_column_statistics_presult() throw() {} + virtual ~ThriftHiveMetastore_update_partition_column_statistics_presult() throw(); bool* success; NoSuchObjectException o1; InvalidObjectException o2; @@ -11350,40 +11689,39 @@ class ThriftHiveMetastore_update_partition_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_partition_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_get_table_column_statistics_args__isset { _ThriftHiveMetastore_get_table_column_statistics_args__isset() : db_name(false), tbl_name(false), col_name(false) {} - bool db_name; - bool tbl_name; - bool col_name; + bool db_name :1; + bool tbl_name :1; + bool col_name :1; } _ThriftHiveMetastore_get_table_column_statistics_args__isset; class ThriftHiveMetastore_get_table_column_statistics_args { public: + static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; + + ThriftHiveMetastore_get_table_column_statistics_args(const ThriftHiveMetastore_get_table_column_statistics_args&); + ThriftHiveMetastore_get_table_column_statistics_args& operator=(const ThriftHiveMetastore_get_table_column_statistics_args&); ThriftHiveMetastore_get_table_column_statistics_args() : db_name(), tbl_name(), col_name() { } - virtual ~ThriftHiveMetastore_get_table_column_statistics_args() throw() {} - + virtual ~ThriftHiveMetastore_get_table_column_statistics_args() throw(); std::string db_name; std::string tbl_name; std::string col_name; _ThriftHiveMetastore_get_table_column_statistics_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_col_name(const std::string& val) { - col_name = val; - } + void __set_col_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_table_column_statistics_args & rhs) const { @@ -11404,40 +11742,48 @@ class ThriftHiveMetastore_get_table_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_column_statistics_args& obj); }; class ThriftHiveMetastore_get_table_column_statistics_pargs { public: + static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - virtual ~ThriftHiveMetastore_get_table_column_statistics_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_table_column_statistics_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* col_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_table_column_statistics_result__isset { _ThriftHiveMetastore_get_table_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_get_table_column_statistics_result__isset; class ThriftHiveMetastore_get_table_column_statistics_result { public: + static const char* ascii_fingerprint; // = "408B83AEA8B721681928BFF5B3F9FEE9"; + static const uint8_t binary_fingerprint[16]; // = {0x40,0x8B,0x83,0xAE,0xA8,0xB7,0x21,0x68,0x19,0x28,0xBF,0xF5,0xB3,0xF9,0xFE,0xE9}; + + ThriftHiveMetastore_get_table_column_statistics_result(const ThriftHiveMetastore_get_table_column_statistics_result&); + ThriftHiveMetastore_get_table_column_statistics_result& operator=(const ThriftHiveMetastore_get_table_column_statistics_result&); ThriftHiveMetastore_get_table_column_statistics_result() { } - virtual ~ThriftHiveMetastore_get_table_column_statistics_result() throw() {} - + virtual ~ThriftHiveMetastore_get_table_column_statistics_result() throw(); ColumnStatistics success; NoSuchObjectException o1; MetaException o2; @@ -11446,25 +11792,15 @@ class ThriftHiveMetastore_get_table_column_statistics_result { _ThriftHiveMetastore_get_table_column_statistics_result__isset __isset; - void __set_success(const ColumnStatistics& val) { - success = val; - } + void __set_success(const ColumnStatistics& val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); - void __set_o3(const InvalidInputException& val) { - o3 = val; - } + void __set_o3(const InvalidInputException& val); - void __set_o4(const InvalidObjectException& val) { - o4 = val; - } + void __set_o4(const InvalidObjectException& val); bool operator == (const ThriftHiveMetastore_get_table_column_statistics_result & rhs) const { @@ -11489,23 +11825,26 @@ class ThriftHiveMetastore_get_table_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_get_table_column_statistics_presult__isset { _ThriftHiveMetastore_get_table_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_get_table_column_statistics_presult__isset; class ThriftHiveMetastore_get_table_column_statistics_presult { public: + static const char* ascii_fingerprint; // = "408B83AEA8B721681928BFF5B3F9FEE9"; + static const uint8_t binary_fingerprint[16]; // = {0x40,0x8B,0x83,0xAE,0xA8,0xB7,0x21,0x68,0x19,0x28,0xBF,0xF5,0xB3,0xF9,0xFE,0xE9}; - virtual ~ThriftHiveMetastore_get_table_column_statistics_presult() throw() {} + virtual ~ThriftHiveMetastore_get_table_column_statistics_presult() throw(); ColumnStatistics* success; NoSuchObjectException o1; MetaException o2; @@ -11516,24 +11855,29 @@ class ThriftHiveMetastore_get_table_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_column_statistics_args__isset { _ThriftHiveMetastore_get_partition_column_statistics_args__isset() : db_name(false), tbl_name(false), part_name(false), col_name(false) {} - bool db_name; - bool tbl_name; - bool part_name; - bool col_name; + bool db_name :1; + bool tbl_name :1; + bool part_name :1; + bool col_name :1; } _ThriftHiveMetastore_get_partition_column_statistics_args__isset; class ThriftHiveMetastore_get_partition_column_statistics_args { public: + static const char* ascii_fingerprint; // = "C93D890311F28844166CF6E571EB3AC2"; + static const uint8_t binary_fingerprint[16]; // = {0xC9,0x3D,0x89,0x03,0x11,0xF2,0x88,0x44,0x16,0x6C,0xF6,0xE5,0x71,0xEB,0x3A,0xC2}; + + ThriftHiveMetastore_get_partition_column_statistics_args(const ThriftHiveMetastore_get_partition_column_statistics_args&); + ThriftHiveMetastore_get_partition_column_statistics_args& operator=(const ThriftHiveMetastore_get_partition_column_statistics_args&); ThriftHiveMetastore_get_partition_column_statistics_args() : db_name(), tbl_name(), part_name(), col_name() { } - virtual ~ThriftHiveMetastore_get_partition_column_statistics_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_column_statistics_args() throw(); std::string db_name; std::string tbl_name; std::string part_name; @@ -11541,21 +11885,13 @@ class ThriftHiveMetastore_get_partition_column_statistics_args { _ThriftHiveMetastore_get_partition_column_statistics_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_name(const std::string& val) { - part_name = val; - } + void __set_part_name(const std::string& val); - void __set_col_name(const std::string& val) { - col_name = val; - } + void __set_col_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_partition_column_statistics_args & rhs) const { @@ -11578,15 +11914,18 @@ class ThriftHiveMetastore_get_partition_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_column_statistics_args& obj); }; class ThriftHiveMetastore_get_partition_column_statistics_pargs { public: + static const char* ascii_fingerprint; // = "C93D890311F28844166CF6E571EB3AC2"; + static const uint8_t binary_fingerprint[16]; // = {0xC9,0x3D,0x89,0x03,0x11,0xF2,0x88,0x44,0x16,0x6C,0xF6,0xE5,0x71,0xEB,0x3A,0xC2}; - virtual ~ThriftHiveMetastore_get_partition_column_statistics_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partition_column_statistics_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* part_name; @@ -11594,25 +11933,30 @@ class ThriftHiveMetastore_get_partition_column_statistics_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_column_statistics_result__isset { _ThriftHiveMetastore_get_partition_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_get_partition_column_statistics_result__isset; class ThriftHiveMetastore_get_partition_column_statistics_result { public: + static const char* ascii_fingerprint; // = "408B83AEA8B721681928BFF5B3F9FEE9"; + static const uint8_t binary_fingerprint[16]; // = {0x40,0x8B,0x83,0xAE,0xA8,0xB7,0x21,0x68,0x19,0x28,0xBF,0xF5,0xB3,0xF9,0xFE,0xE9}; + + ThriftHiveMetastore_get_partition_column_statistics_result(const ThriftHiveMetastore_get_partition_column_statistics_result&); + ThriftHiveMetastore_get_partition_column_statistics_result& operator=(const ThriftHiveMetastore_get_partition_column_statistics_result&); ThriftHiveMetastore_get_partition_column_statistics_result() { } - virtual ~ThriftHiveMetastore_get_partition_column_statistics_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partition_column_statistics_result() throw(); ColumnStatistics success; NoSuchObjectException o1; MetaException o2; @@ -11621,25 +11965,15 @@ class ThriftHiveMetastore_get_partition_column_statistics_result { _ThriftHiveMetastore_get_partition_column_statistics_result__isset __isset; - void __set_success(const ColumnStatistics& val) { - success = val; - } + void __set_success(const ColumnStatistics& val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); - void __set_o3(const InvalidInputException& val) { - o3 = val; - } + void __set_o3(const InvalidInputException& val); - void __set_o4(const InvalidObjectException& val) { - o4 = val; - } + void __set_o4(const InvalidObjectException& val); bool operator == (const ThriftHiveMetastore_get_partition_column_statistics_result & rhs) const { @@ -11664,23 +11998,26 @@ class ThriftHiveMetastore_get_partition_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_column_statistics_presult__isset { _ThriftHiveMetastore_get_partition_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_get_partition_column_statistics_presult__isset; class ThriftHiveMetastore_get_partition_column_statistics_presult { public: + static const char* ascii_fingerprint; // = "408B83AEA8B721681928BFF5B3F9FEE9"; + static const uint8_t binary_fingerprint[16]; // = {0x40,0x8B,0x83,0xAE,0xA8,0xB7,0x21,0x68,0x19,0x28,0xBF,0xF5,0xB3,0xF9,0xFE,0xE9}; - virtual ~ThriftHiveMetastore_get_partition_column_statistics_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partition_column_statistics_presult() throw(); ColumnStatistics* success; NoSuchObjectException o1; MetaException o2; @@ -11691,28 +12028,31 @@ class ThriftHiveMetastore_get_partition_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_get_table_statistics_req_args__isset { _ThriftHiveMetastore_get_table_statistics_req_args__isset() : request(false) {} - bool request; + bool request :1; } _ThriftHiveMetastore_get_table_statistics_req_args__isset; class ThriftHiveMetastore_get_table_statistics_req_args { public: + static const char* ascii_fingerprint; // = "94867D168B0639FA344D11EEF0E85291"; + static const uint8_t binary_fingerprint[16]; // = {0x94,0x86,0x7D,0x16,0x8B,0x06,0x39,0xFA,0x34,0x4D,0x11,0xEE,0xF0,0xE8,0x52,0x91}; + + ThriftHiveMetastore_get_table_statistics_req_args(const ThriftHiveMetastore_get_table_statistics_req_args&); + ThriftHiveMetastore_get_table_statistics_req_args& operator=(const ThriftHiveMetastore_get_table_statistics_req_args&); ThriftHiveMetastore_get_table_statistics_req_args() { } - virtual ~ThriftHiveMetastore_get_table_statistics_req_args() throw() {} - + virtual ~ThriftHiveMetastore_get_table_statistics_req_args() throw(); TableStatsRequest request; _ThriftHiveMetastore_get_table_statistics_req_args__isset __isset; - void __set_request(const TableStatsRequest& val) { - request = val; - } + void __set_request(const TableStatsRequest& val); bool operator == (const ThriftHiveMetastore_get_table_statistics_req_args & rhs) const { @@ -11729,53 +12069,55 @@ class ThriftHiveMetastore_get_table_statistics_req_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_statistics_req_args& obj); }; class ThriftHiveMetastore_get_table_statistics_req_pargs { public: + static const char* ascii_fingerprint; // = "94867D168B0639FA344D11EEF0E85291"; + static const uint8_t binary_fingerprint[16]; // = {0x94,0x86,0x7D,0x16,0x8B,0x06,0x39,0xFA,0x34,0x4D,0x11,0xEE,0xF0,0xE8,0x52,0x91}; - virtual ~ThriftHiveMetastore_get_table_statistics_req_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_table_statistics_req_pargs() throw(); const TableStatsRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_statistics_req_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_table_statistics_req_result__isset { _ThriftHiveMetastore_get_table_statistics_req_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_table_statistics_req_result__isset; class ThriftHiveMetastore_get_table_statistics_req_result { public: + static const char* ascii_fingerprint; // = "328719A3F540356B9FACCD1AA2690E89"; + static const uint8_t binary_fingerprint[16]; // = {0x32,0x87,0x19,0xA3,0xF5,0x40,0x35,0x6B,0x9F,0xAC,0xCD,0x1A,0xA2,0x69,0x0E,0x89}; + + ThriftHiveMetastore_get_table_statistics_req_result(const ThriftHiveMetastore_get_table_statistics_req_result&); + ThriftHiveMetastore_get_table_statistics_req_result& operator=(const ThriftHiveMetastore_get_table_statistics_req_result&); ThriftHiveMetastore_get_table_statistics_req_result() { } - virtual ~ThriftHiveMetastore_get_table_statistics_req_result() throw() {} - + virtual ~ThriftHiveMetastore_get_table_statistics_req_result() throw(); TableStatsResult success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_get_table_statistics_req_result__isset __isset; - void __set_success(const TableStatsResult& val) { - success = val; - } + void __set_success(const TableStatsResult& val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_table_statistics_req_result & rhs) const { @@ -11796,21 +12138,24 @@ class ThriftHiveMetastore_get_table_statistics_req_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_statistics_req_result& obj); }; typedef struct _ThriftHiveMetastore_get_table_statistics_req_presult__isset { _ThriftHiveMetastore_get_table_statistics_req_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_table_statistics_req_presult__isset; class ThriftHiveMetastore_get_table_statistics_req_presult { public: + static const char* ascii_fingerprint; // = "328719A3F540356B9FACCD1AA2690E89"; + static const uint8_t binary_fingerprint[16]; // = {0x32,0x87,0x19,0xA3,0xF5,0x40,0x35,0x6B,0x9F,0xAC,0xCD,0x1A,0xA2,0x69,0x0E,0x89}; - virtual ~ThriftHiveMetastore_get_table_statistics_req_presult() throw() {} + virtual ~ThriftHiveMetastore_get_table_statistics_req_presult() throw(); TableStatsResult* success; NoSuchObjectException o1; MetaException o2; @@ -11819,28 +12164,31 @@ class ThriftHiveMetastore_get_table_statistics_req_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_statistics_req_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_statistics_req_args__isset { _ThriftHiveMetastore_get_partitions_statistics_req_args__isset() : request(false) {} - bool request; + bool request :1; } _ThriftHiveMetastore_get_partitions_statistics_req_args__isset; class ThriftHiveMetastore_get_partitions_statistics_req_args { public: + static const char* ascii_fingerprint; // = "A16CD6655F15DFD35925BCD2DD68C45C"; + static const uint8_t binary_fingerprint[16]; // = {0xA1,0x6C,0xD6,0x65,0x5F,0x15,0xDF,0xD3,0x59,0x25,0xBC,0xD2,0xDD,0x68,0xC4,0x5C}; + + ThriftHiveMetastore_get_partitions_statistics_req_args(const ThriftHiveMetastore_get_partitions_statistics_req_args&); + ThriftHiveMetastore_get_partitions_statistics_req_args& operator=(const ThriftHiveMetastore_get_partitions_statistics_req_args&); ThriftHiveMetastore_get_partitions_statistics_req_args() { } - virtual ~ThriftHiveMetastore_get_partitions_statistics_req_args() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_statistics_req_args() throw(); PartitionsStatsRequest request; _ThriftHiveMetastore_get_partitions_statistics_req_args__isset __isset; - void __set_request(const PartitionsStatsRequest& val) { - request = val; - } + void __set_request(const PartitionsStatsRequest& val); bool operator == (const ThriftHiveMetastore_get_partitions_statistics_req_args & rhs) const { @@ -11857,53 +12205,55 @@ class ThriftHiveMetastore_get_partitions_statistics_req_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_statistics_req_args& obj); }; class ThriftHiveMetastore_get_partitions_statistics_req_pargs { public: + static const char* ascii_fingerprint; // = "A16CD6655F15DFD35925BCD2DD68C45C"; + static const uint8_t binary_fingerprint[16]; // = {0xA1,0x6C,0xD6,0x65,0x5F,0x15,0xDF,0xD3,0x59,0x25,0xBC,0xD2,0xDD,0x68,0xC4,0x5C}; - virtual ~ThriftHiveMetastore_get_partitions_statistics_req_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_statistics_req_pargs() throw(); const PartitionsStatsRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_statistics_req_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_statistics_req_result__isset { _ThriftHiveMetastore_get_partitions_statistics_req_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_statistics_req_result__isset; class ThriftHiveMetastore_get_partitions_statistics_req_result { public: + static const char* ascii_fingerprint; // = "F9DEAB4687D23290CB7B628227A6CD9A"; + static const uint8_t binary_fingerprint[16]; // = {0xF9,0xDE,0xAB,0x46,0x87,0xD2,0x32,0x90,0xCB,0x7B,0x62,0x82,0x27,0xA6,0xCD,0x9A}; + + ThriftHiveMetastore_get_partitions_statistics_req_result(const ThriftHiveMetastore_get_partitions_statistics_req_result&); + ThriftHiveMetastore_get_partitions_statistics_req_result& operator=(const ThriftHiveMetastore_get_partitions_statistics_req_result&); ThriftHiveMetastore_get_partitions_statistics_req_result() { } - virtual ~ThriftHiveMetastore_get_partitions_statistics_req_result() throw() {} - + virtual ~ThriftHiveMetastore_get_partitions_statistics_req_result() throw(); PartitionsStatsResult success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_get_partitions_statistics_req_result__isset __isset; - void __set_success(const PartitionsStatsResult& val) { - success = val; - } + void __set_success(const PartitionsStatsResult& val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_partitions_statistics_req_result & rhs) const { @@ -11924,21 +12274,24 @@ class ThriftHiveMetastore_get_partitions_statistics_req_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_statistics_req_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_statistics_req_presult__isset { _ThriftHiveMetastore_get_partitions_statistics_req_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_partitions_statistics_req_presult__isset; class ThriftHiveMetastore_get_partitions_statistics_req_presult { public: + static const char* ascii_fingerprint; // = "F9DEAB4687D23290CB7B628227A6CD9A"; + static const uint8_t binary_fingerprint[16]; // = {0xF9,0xDE,0xAB,0x46,0x87,0xD2,0x32,0x90,0xCB,0x7B,0x62,0x82,0x27,0xA6,0xCD,0x9A}; - virtual ~ThriftHiveMetastore_get_partitions_statistics_req_presult() throw() {} + virtual ~ThriftHiveMetastore_get_partitions_statistics_req_presult() throw(); PartitionsStatsResult* success; NoSuchObjectException o1; MetaException o2; @@ -11947,28 +12300,31 @@ class ThriftHiveMetastore_get_partitions_statistics_req_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_statistics_req_presult& obj); }; typedef struct _ThriftHiveMetastore_get_aggr_stats_for_args__isset { _ThriftHiveMetastore_get_aggr_stats_for_args__isset() : request(false) {} - bool request; + bool request :1; } _ThriftHiveMetastore_get_aggr_stats_for_args__isset; class ThriftHiveMetastore_get_aggr_stats_for_args { public: + static const char* ascii_fingerprint; // = "A16CD6655F15DFD35925BCD2DD68C45C"; + static const uint8_t binary_fingerprint[16]; // = {0xA1,0x6C,0xD6,0x65,0x5F,0x15,0xDF,0xD3,0x59,0x25,0xBC,0xD2,0xDD,0x68,0xC4,0x5C}; + + ThriftHiveMetastore_get_aggr_stats_for_args(const ThriftHiveMetastore_get_aggr_stats_for_args&); + ThriftHiveMetastore_get_aggr_stats_for_args& operator=(const ThriftHiveMetastore_get_aggr_stats_for_args&); ThriftHiveMetastore_get_aggr_stats_for_args() { } - virtual ~ThriftHiveMetastore_get_aggr_stats_for_args() throw() {} - + virtual ~ThriftHiveMetastore_get_aggr_stats_for_args() throw(); PartitionsStatsRequest request; _ThriftHiveMetastore_get_aggr_stats_for_args__isset __isset; - void __set_request(const PartitionsStatsRequest& val) { - request = val; - } + void __set_request(const PartitionsStatsRequest& val); bool operator == (const ThriftHiveMetastore_get_aggr_stats_for_args & rhs) const { @@ -11985,53 +12341,55 @@ class ThriftHiveMetastore_get_aggr_stats_for_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_aggr_stats_for_args& obj); }; class ThriftHiveMetastore_get_aggr_stats_for_pargs { public: + static const char* ascii_fingerprint; // = "A16CD6655F15DFD35925BCD2DD68C45C"; + static const uint8_t binary_fingerprint[16]; // = {0xA1,0x6C,0xD6,0x65,0x5F,0x15,0xDF,0xD3,0x59,0x25,0xBC,0xD2,0xDD,0x68,0xC4,0x5C}; - virtual ~ThriftHiveMetastore_get_aggr_stats_for_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_aggr_stats_for_pargs() throw(); const PartitionsStatsRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_aggr_stats_for_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_aggr_stats_for_result__isset { _ThriftHiveMetastore_get_aggr_stats_for_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_aggr_stats_for_result__isset; class ThriftHiveMetastore_get_aggr_stats_for_result { public: + static const char* ascii_fingerprint; // = "0E2499DB10F2A2BF347E7097A9A92119"; + static const uint8_t binary_fingerprint[16]; // = {0x0E,0x24,0x99,0xDB,0x10,0xF2,0xA2,0xBF,0x34,0x7E,0x70,0x97,0xA9,0xA9,0x21,0x19}; + + ThriftHiveMetastore_get_aggr_stats_for_result(const ThriftHiveMetastore_get_aggr_stats_for_result&); + ThriftHiveMetastore_get_aggr_stats_for_result& operator=(const ThriftHiveMetastore_get_aggr_stats_for_result&); ThriftHiveMetastore_get_aggr_stats_for_result() { } - virtual ~ThriftHiveMetastore_get_aggr_stats_for_result() throw() {} - + virtual ~ThriftHiveMetastore_get_aggr_stats_for_result() throw(); AggrStats success; NoSuchObjectException o1; MetaException o2; _ThriftHiveMetastore_get_aggr_stats_for_result__isset __isset; - void __set_success(const AggrStats& val) { - success = val; - } + void __set_success(const AggrStats& val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_aggr_stats_for_result & rhs) const { @@ -12052,21 +12410,24 @@ class ThriftHiveMetastore_get_aggr_stats_for_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_aggr_stats_for_result& obj); }; typedef struct _ThriftHiveMetastore_get_aggr_stats_for_presult__isset { _ThriftHiveMetastore_get_aggr_stats_for_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_aggr_stats_for_presult__isset; class ThriftHiveMetastore_get_aggr_stats_for_presult { public: + static const char* ascii_fingerprint; // = "0E2499DB10F2A2BF347E7097A9A92119"; + static const uint8_t binary_fingerprint[16]; // = {0x0E,0x24,0x99,0xDB,0x10,0xF2,0xA2,0xBF,0x34,0x7E,0x70,0x97,0xA9,0xA9,0x21,0x19}; - virtual ~ThriftHiveMetastore_get_aggr_stats_for_presult() throw() {} + virtual ~ThriftHiveMetastore_get_aggr_stats_for_presult() throw(); AggrStats* success; NoSuchObjectException o1; MetaException o2; @@ -12075,28 +12436,31 @@ class ThriftHiveMetastore_get_aggr_stats_for_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_aggr_stats_for_presult& obj); }; typedef struct _ThriftHiveMetastore_set_aggr_stats_for_args__isset { _ThriftHiveMetastore_set_aggr_stats_for_args__isset() : request(false) {} - bool request; + bool request :1; } _ThriftHiveMetastore_set_aggr_stats_for_args__isset; class ThriftHiveMetastore_set_aggr_stats_for_args { public: + static const char* ascii_fingerprint; // = "E4DB88667062633838D02B63FB572DFC"; + static const uint8_t binary_fingerprint[16]; // = {0xE4,0xDB,0x88,0x66,0x70,0x62,0x63,0x38,0x38,0xD0,0x2B,0x63,0xFB,0x57,0x2D,0xFC}; + + ThriftHiveMetastore_set_aggr_stats_for_args(const ThriftHiveMetastore_set_aggr_stats_for_args&); + ThriftHiveMetastore_set_aggr_stats_for_args& operator=(const ThriftHiveMetastore_set_aggr_stats_for_args&); ThriftHiveMetastore_set_aggr_stats_for_args() { } - virtual ~ThriftHiveMetastore_set_aggr_stats_for_args() throw() {} - + virtual ~ThriftHiveMetastore_set_aggr_stats_for_args() throw(); SetPartitionsStatsRequest request; _ThriftHiveMetastore_set_aggr_stats_for_args__isset __isset; - void __set_request(const SetPartitionsStatsRequest& val) { - request = val; - } + void __set_request(const SetPartitionsStatsRequest& val); bool operator == (const ThriftHiveMetastore_set_aggr_stats_for_args & rhs) const { @@ -12113,38 +12477,46 @@ class ThriftHiveMetastore_set_aggr_stats_for_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_aggr_stats_for_args& obj); }; class ThriftHiveMetastore_set_aggr_stats_for_pargs { public: + static const char* ascii_fingerprint; // = "E4DB88667062633838D02B63FB572DFC"; + static const uint8_t binary_fingerprint[16]; // = {0xE4,0xDB,0x88,0x66,0x70,0x62,0x63,0x38,0x38,0xD0,0x2B,0x63,0xFB,0x57,0x2D,0xFC}; - virtual ~ThriftHiveMetastore_set_aggr_stats_for_pargs() throw() {} + virtual ~ThriftHiveMetastore_set_aggr_stats_for_pargs() throw(); const SetPartitionsStatsRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_aggr_stats_for_pargs& obj); }; typedef struct _ThriftHiveMetastore_set_aggr_stats_for_result__isset { _ThriftHiveMetastore_set_aggr_stats_for_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_set_aggr_stats_for_result__isset; class ThriftHiveMetastore_set_aggr_stats_for_result { public: + static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; + + ThriftHiveMetastore_set_aggr_stats_for_result(const ThriftHiveMetastore_set_aggr_stats_for_result&); + ThriftHiveMetastore_set_aggr_stats_for_result& operator=(const ThriftHiveMetastore_set_aggr_stats_for_result&); ThriftHiveMetastore_set_aggr_stats_for_result() : success(0) { } - virtual ~ThriftHiveMetastore_set_aggr_stats_for_result() throw() {} - + virtual ~ThriftHiveMetastore_set_aggr_stats_for_result() throw(); bool success; NoSuchObjectException o1; InvalidObjectException o2; @@ -12153,25 +12525,15 @@ class ThriftHiveMetastore_set_aggr_stats_for_result { _ThriftHiveMetastore_set_aggr_stats_for_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const InvalidObjectException& val) { - o2 = val; - } + void __set_o2(const InvalidObjectException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); - void __set_o4(const InvalidInputException& val) { - o4 = val; - } + void __set_o4(const InvalidInputException& val); bool operator == (const ThriftHiveMetastore_set_aggr_stats_for_result & rhs) const { @@ -12196,23 +12558,26 @@ class ThriftHiveMetastore_set_aggr_stats_for_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_aggr_stats_for_result& obj); }; typedef struct _ThriftHiveMetastore_set_aggr_stats_for_presult__isset { _ThriftHiveMetastore_set_aggr_stats_for_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_set_aggr_stats_for_presult__isset; class ThriftHiveMetastore_set_aggr_stats_for_presult { public: + static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - virtual ~ThriftHiveMetastore_set_aggr_stats_for_presult() throw() {} + virtual ~ThriftHiveMetastore_set_aggr_stats_for_presult() throw(); bool* success; NoSuchObjectException o1; InvalidObjectException o2; @@ -12223,24 +12588,29 @@ class ThriftHiveMetastore_set_aggr_stats_for_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_aggr_stats_for_presult& obj); }; typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_args__isset { _ThriftHiveMetastore_delete_partition_column_statistics_args__isset() : db_name(false), tbl_name(false), part_name(false), col_name(false) {} - bool db_name; - bool tbl_name; - bool part_name; - bool col_name; + bool db_name :1; + bool tbl_name :1; + bool part_name :1; + bool col_name :1; } _ThriftHiveMetastore_delete_partition_column_statistics_args__isset; class ThriftHiveMetastore_delete_partition_column_statistics_args { public: + static const char* ascii_fingerprint; // = "C93D890311F28844166CF6E571EB3AC2"; + static const uint8_t binary_fingerprint[16]; // = {0xC9,0x3D,0x89,0x03,0x11,0xF2,0x88,0x44,0x16,0x6C,0xF6,0xE5,0x71,0xEB,0x3A,0xC2}; + + ThriftHiveMetastore_delete_partition_column_statistics_args(const ThriftHiveMetastore_delete_partition_column_statistics_args&); + ThriftHiveMetastore_delete_partition_column_statistics_args& operator=(const ThriftHiveMetastore_delete_partition_column_statistics_args&); ThriftHiveMetastore_delete_partition_column_statistics_args() : db_name(), tbl_name(), part_name(), col_name() { } - virtual ~ThriftHiveMetastore_delete_partition_column_statistics_args() throw() {} - + virtual ~ThriftHiveMetastore_delete_partition_column_statistics_args() throw(); std::string db_name; std::string tbl_name; std::string part_name; @@ -12248,21 +12618,13 @@ class ThriftHiveMetastore_delete_partition_column_statistics_args { _ThriftHiveMetastore_delete_partition_column_statistics_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_part_name(const std::string& val) { - part_name = val; - } + void __set_part_name(const std::string& val); - void __set_col_name(const std::string& val) { - col_name = val; - } + void __set_col_name(const std::string& val); bool operator == (const ThriftHiveMetastore_delete_partition_column_statistics_args & rhs) const { @@ -12285,15 +12647,18 @@ class ThriftHiveMetastore_delete_partition_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_partition_column_statistics_args& obj); }; class ThriftHiveMetastore_delete_partition_column_statistics_pargs { public: + static const char* ascii_fingerprint; // = "C93D890311F28844166CF6E571EB3AC2"; + static const uint8_t binary_fingerprint[16]; // = {0xC9,0x3D,0x89,0x03,0x11,0xF2,0x88,0x44,0x16,0x6C,0xF6,0xE5,0x71,0xEB,0x3A,0xC2}; - virtual ~ThriftHiveMetastore_delete_partition_column_statistics_pargs() throw() {} + virtual ~ThriftHiveMetastore_delete_partition_column_statistics_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* part_name; @@ -12301,25 +12666,30 @@ class ThriftHiveMetastore_delete_partition_column_statistics_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_partition_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_result__isset { _ThriftHiveMetastore_delete_partition_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_delete_partition_column_statistics_result__isset; class ThriftHiveMetastore_delete_partition_column_statistics_result { public: + static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; + + ThriftHiveMetastore_delete_partition_column_statistics_result(const ThriftHiveMetastore_delete_partition_column_statistics_result&); + ThriftHiveMetastore_delete_partition_column_statistics_result& operator=(const ThriftHiveMetastore_delete_partition_column_statistics_result&); ThriftHiveMetastore_delete_partition_column_statistics_result() : success(0) { } - virtual ~ThriftHiveMetastore_delete_partition_column_statistics_result() throw() {} - + virtual ~ThriftHiveMetastore_delete_partition_column_statistics_result() throw(); bool success; NoSuchObjectException o1; MetaException o2; @@ -12328,25 +12698,15 @@ class ThriftHiveMetastore_delete_partition_column_statistics_result { _ThriftHiveMetastore_delete_partition_column_statistics_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); - void __set_o3(const InvalidObjectException& val) { - o3 = val; - } + void __set_o3(const InvalidObjectException& val); - void __set_o4(const InvalidInputException& val) { - o4 = val; - } + void __set_o4(const InvalidInputException& val); bool operator == (const ThriftHiveMetastore_delete_partition_column_statistics_result & rhs) const { @@ -12371,23 +12731,26 @@ class ThriftHiveMetastore_delete_partition_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_partition_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_presult__isset { _ThriftHiveMetastore_delete_partition_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_delete_partition_column_statistics_presult__isset; class ThriftHiveMetastore_delete_partition_column_statistics_presult { public: + static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - virtual ~ThriftHiveMetastore_delete_partition_column_statistics_presult() throw() {} + virtual ~ThriftHiveMetastore_delete_partition_column_statistics_presult() throw(); bool* success; NoSuchObjectException o1; MetaException o2; @@ -12398,40 +12761,39 @@ class ThriftHiveMetastore_delete_partition_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_partition_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_delete_table_column_statistics_args__isset { _ThriftHiveMetastore_delete_table_column_statistics_args__isset() : db_name(false), tbl_name(false), col_name(false) {} - bool db_name; - bool tbl_name; - bool col_name; + bool db_name :1; + bool tbl_name :1; + bool col_name :1; } _ThriftHiveMetastore_delete_table_column_statistics_args__isset; class ThriftHiveMetastore_delete_table_column_statistics_args { public: + static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; + + ThriftHiveMetastore_delete_table_column_statistics_args(const ThriftHiveMetastore_delete_table_column_statistics_args&); + ThriftHiveMetastore_delete_table_column_statistics_args& operator=(const ThriftHiveMetastore_delete_table_column_statistics_args&); ThriftHiveMetastore_delete_table_column_statistics_args() : db_name(), tbl_name(), col_name() { } - virtual ~ThriftHiveMetastore_delete_table_column_statistics_args() throw() {} - + virtual ~ThriftHiveMetastore_delete_table_column_statistics_args() throw(); std::string db_name; std::string tbl_name; std::string col_name; _ThriftHiveMetastore_delete_table_column_statistics_args__isset __isset; - void __set_db_name(const std::string& val) { - db_name = val; - } + void __set_db_name(const std::string& val); - void __set_tbl_name(const std::string& val) { - tbl_name = val; - } + void __set_tbl_name(const std::string& val); - void __set_col_name(const std::string& val) { - col_name = val; - } + void __set_col_name(const std::string& val); bool operator == (const ThriftHiveMetastore_delete_table_column_statistics_args & rhs) const { @@ -12452,40 +12814,48 @@ class ThriftHiveMetastore_delete_table_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_table_column_statistics_args& obj); }; class ThriftHiveMetastore_delete_table_column_statistics_pargs { public: + static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - virtual ~ThriftHiveMetastore_delete_table_column_statistics_pargs() throw() {} + virtual ~ThriftHiveMetastore_delete_table_column_statistics_pargs() throw(); const std::string* db_name; const std::string* tbl_name; const std::string* col_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_table_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_delete_table_column_statistics_result__isset { _ThriftHiveMetastore_delete_table_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_delete_table_column_statistics_result__isset; class ThriftHiveMetastore_delete_table_column_statistics_result { public: + static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; + + ThriftHiveMetastore_delete_table_column_statistics_result(const ThriftHiveMetastore_delete_table_column_statistics_result&); + ThriftHiveMetastore_delete_table_column_statistics_result& operator=(const ThriftHiveMetastore_delete_table_column_statistics_result&); ThriftHiveMetastore_delete_table_column_statistics_result() : success(0) { } - virtual ~ThriftHiveMetastore_delete_table_column_statistics_result() throw() {} - + virtual ~ThriftHiveMetastore_delete_table_column_statistics_result() throw(); bool success; NoSuchObjectException o1; MetaException o2; @@ -12494,25 +12864,15 @@ class ThriftHiveMetastore_delete_table_column_statistics_result { _ThriftHiveMetastore_delete_table_column_statistics_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); - void __set_o3(const InvalidObjectException& val) { - o3 = val; - } + void __set_o3(const InvalidObjectException& val); - void __set_o4(const InvalidInputException& val) { - o4 = val; - } + void __set_o4(const InvalidInputException& val); bool operator == (const ThriftHiveMetastore_delete_table_column_statistics_result & rhs) const { @@ -12537,23 +12897,26 @@ class ThriftHiveMetastore_delete_table_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_table_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_delete_table_column_statistics_presult__isset { _ThriftHiveMetastore_delete_table_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} - bool success; - bool o1; - bool o2; - bool o3; - bool o4; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_delete_table_column_statistics_presult__isset; class ThriftHiveMetastore_delete_table_column_statistics_presult { public: + static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - virtual ~ThriftHiveMetastore_delete_table_column_statistics_presult() throw() {} + virtual ~ThriftHiveMetastore_delete_table_column_statistics_presult() throw(); bool* success; NoSuchObjectException o1; MetaException o2; @@ -12564,28 +12927,31 @@ class ThriftHiveMetastore_delete_table_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_table_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_create_function_args__isset { _ThriftHiveMetastore_create_function_args__isset() : func(false) {} - bool func; + bool func :1; } _ThriftHiveMetastore_create_function_args__isset; class ThriftHiveMetastore_create_function_args { public: + static const char* ascii_fingerprint; // = "25614A3E61B5684636724A881FC768D7"; + static const uint8_t binary_fingerprint[16]; // = {0x25,0x61,0x4A,0x3E,0x61,0xB5,0x68,0x46,0x36,0x72,0x4A,0x88,0x1F,0xC7,0x68,0xD7}; + + ThriftHiveMetastore_create_function_args(const ThriftHiveMetastore_create_function_args&); + ThriftHiveMetastore_create_function_args& operator=(const ThriftHiveMetastore_create_function_args&); ThriftHiveMetastore_create_function_args() { } - virtual ~ThriftHiveMetastore_create_function_args() throw() {} - + virtual ~ThriftHiveMetastore_create_function_args() throw(); Function func; _ThriftHiveMetastore_create_function_args__isset __isset; - void __set_func(const Function& val) { - func = val; - } + void __set_func(const Function& val); bool operator == (const ThriftHiveMetastore_create_function_args & rhs) const { @@ -12602,37 +12968,45 @@ class ThriftHiveMetastore_create_function_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_function_args& obj); }; class ThriftHiveMetastore_create_function_pargs { public: + static const char* ascii_fingerprint; // = "25614A3E61B5684636724A881FC768D7"; + static const uint8_t binary_fingerprint[16]; // = {0x25,0x61,0x4A,0x3E,0x61,0xB5,0x68,0x46,0x36,0x72,0x4A,0x88,0x1F,0xC7,0x68,0xD7}; - virtual ~ThriftHiveMetastore_create_function_pargs() throw() {} + virtual ~ThriftHiveMetastore_create_function_pargs() throw(); const Function* func; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_function_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_function_result__isset { _ThriftHiveMetastore_create_function_result__isset() : o1(false), o2(false), o3(false), o4(false) {} - bool o1; - bool o2; - bool o3; - bool o4; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_create_function_result__isset; class ThriftHiveMetastore_create_function_result { public: + static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; + static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; + + ThriftHiveMetastore_create_function_result(const ThriftHiveMetastore_create_function_result&); + ThriftHiveMetastore_create_function_result& operator=(const ThriftHiveMetastore_create_function_result&); ThriftHiveMetastore_create_function_result() { } - virtual ~ThriftHiveMetastore_create_function_result() throw() {} - + virtual ~ThriftHiveMetastore_create_function_result() throw(); AlreadyExistsException o1; InvalidObjectException o2; MetaException o3; @@ -12640,21 +13014,13 @@ class ThriftHiveMetastore_create_function_result { _ThriftHiveMetastore_create_function_result__isset __isset; - void __set_o1(const AlreadyExistsException& val) { - o1 = val; - } + void __set_o1(const AlreadyExistsException& val); - void __set_o2(const InvalidObjectException& val) { - o2 = val; - } + void __set_o2(const InvalidObjectException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); - void __set_o4(const NoSuchObjectException& val) { - o4 = val; - } + void __set_o4(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_create_function_result & rhs) const { @@ -12677,22 +13043,25 @@ class ThriftHiveMetastore_create_function_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_function_result& obj); }; typedef struct _ThriftHiveMetastore_create_function_presult__isset { _ThriftHiveMetastore_create_function_presult__isset() : o1(false), o2(false), o3(false), o4(false) {} - bool o1; - bool o2; - bool o3; - bool o4; + bool o1 :1; + bool o2 :1; + bool o3 :1; + bool o4 :1; } _ThriftHiveMetastore_create_function_presult__isset; class ThriftHiveMetastore_create_function_presult { public: + static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; + static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; - virtual ~ThriftHiveMetastore_create_function_presult() throw() {} + virtual ~ThriftHiveMetastore_create_function_presult() throw(); AlreadyExistsException o1; InvalidObjectException o2; MetaException o3; @@ -12702,34 +13071,35 @@ class ThriftHiveMetastore_create_function_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_function_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_function_args__isset { _ThriftHiveMetastore_drop_function_args__isset() : dbName(false), funcName(false) {} - bool dbName; - bool funcName; + bool dbName :1; + bool funcName :1; } _ThriftHiveMetastore_drop_function_args__isset; class ThriftHiveMetastore_drop_function_args { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + + ThriftHiveMetastore_drop_function_args(const ThriftHiveMetastore_drop_function_args&); + ThriftHiveMetastore_drop_function_args& operator=(const ThriftHiveMetastore_drop_function_args&); ThriftHiveMetastore_drop_function_args() : dbName(), funcName() { } - virtual ~ThriftHiveMetastore_drop_function_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_function_args() throw(); std::string dbName; std::string funcName; _ThriftHiveMetastore_drop_function_args__isset __isset; - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_funcName(const std::string& val) { - funcName = val; - } + void __set_funcName(const std::string& val); bool operator == (const ThriftHiveMetastore_drop_function_args & rhs) const { @@ -12748,48 +13118,52 @@ class ThriftHiveMetastore_drop_function_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_function_args& obj); }; class ThriftHiveMetastore_drop_function_pargs { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_drop_function_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_function_pargs() throw(); const std::string* dbName; const std::string* funcName; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_function_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_function_result__isset { _ThriftHiveMetastore_drop_function_result__isset() : o1(false), o3(false) {} - bool o1; - bool o3; + bool o1 :1; + bool o3 :1; } _ThriftHiveMetastore_drop_function_result__isset; class ThriftHiveMetastore_drop_function_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_drop_function_result(const ThriftHiveMetastore_drop_function_result&); + ThriftHiveMetastore_drop_function_result& operator=(const ThriftHiveMetastore_drop_function_result&); ThriftHiveMetastore_drop_function_result() { } - virtual ~ThriftHiveMetastore_drop_function_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_function_result() throw(); NoSuchObjectException o1; MetaException o3; _ThriftHiveMetastore_drop_function_result__isset __isset; - void __set_o1(const NoSuchObjectException& val) { - o1 = val; - } + void __set_o1(const NoSuchObjectException& val); - void __set_o3(const MetaException& val) { - o3 = val; - } + void __set_o3(const MetaException& val); bool operator == (const ThriftHiveMetastore_drop_function_result & rhs) const { @@ -12808,20 +13182,23 @@ class ThriftHiveMetastore_drop_function_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_function_result& obj); }; typedef struct _ThriftHiveMetastore_drop_function_presult__isset { _ThriftHiveMetastore_drop_function_presult__isset() : o1(false), o3(false) {} - bool o1; - bool o3; + bool o1 :1; + bool o3 :1; } _ThriftHiveMetastore_drop_function_presult__isset; class ThriftHiveMetastore_drop_function_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_drop_function_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_function_presult() throw(); NoSuchObjectException o1; MetaException o3; @@ -12829,40 +13206,39 @@ class ThriftHiveMetastore_drop_function_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_function_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_function_args__isset { _ThriftHiveMetastore_alter_function_args__isset() : dbName(false), funcName(false), newFunc(false) {} - bool dbName; - bool funcName; - bool newFunc; + bool dbName :1; + bool funcName :1; + bool newFunc :1; } _ThriftHiveMetastore_alter_function_args__isset; class ThriftHiveMetastore_alter_function_args { public: + static const char* ascii_fingerprint; // = "2F8F1358572180A7FA1CDB1B1021A3E8"; + static const uint8_t binary_fingerprint[16]; // = {0x2F,0x8F,0x13,0x58,0x57,0x21,0x80,0xA7,0xFA,0x1C,0xDB,0x1B,0x10,0x21,0xA3,0xE8}; + + ThriftHiveMetastore_alter_function_args(const ThriftHiveMetastore_alter_function_args&); + ThriftHiveMetastore_alter_function_args& operator=(const ThriftHiveMetastore_alter_function_args&); ThriftHiveMetastore_alter_function_args() : dbName(), funcName() { } - virtual ~ThriftHiveMetastore_alter_function_args() throw() {} - + virtual ~ThriftHiveMetastore_alter_function_args() throw(); std::string dbName; std::string funcName; Function newFunc; _ThriftHiveMetastore_alter_function_args__isset __isset; - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_funcName(const std::string& val) { - funcName = val; - } + void __set_funcName(const std::string& val); - void __set_newFunc(const Function& val) { - newFunc = val; - } + void __set_newFunc(const Function& val); bool operator == (const ThriftHiveMetastore_alter_function_args & rhs) const { @@ -12883,49 +13259,53 @@ class ThriftHiveMetastore_alter_function_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_function_args& obj); }; class ThriftHiveMetastore_alter_function_pargs { public: + static const char* ascii_fingerprint; // = "2F8F1358572180A7FA1CDB1B1021A3E8"; + static const uint8_t binary_fingerprint[16]; // = {0x2F,0x8F,0x13,0x58,0x57,0x21,0x80,0xA7,0xFA,0x1C,0xDB,0x1B,0x10,0x21,0xA3,0xE8}; - virtual ~ThriftHiveMetastore_alter_function_pargs() throw() {} + virtual ~ThriftHiveMetastore_alter_function_pargs() throw(); const std::string* dbName; const std::string* funcName; const Function* newFunc; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_function_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_function_result__isset { _ThriftHiveMetastore_alter_function_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_function_result__isset; class ThriftHiveMetastore_alter_function_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_alter_function_result(const ThriftHiveMetastore_alter_function_result&); + ThriftHiveMetastore_alter_function_result& operator=(const ThriftHiveMetastore_alter_function_result&); ThriftHiveMetastore_alter_function_result() { } - virtual ~ThriftHiveMetastore_alter_function_result() throw() {} - + virtual ~ThriftHiveMetastore_alter_function_result() throw(); InvalidOperationException o1; MetaException o2; _ThriftHiveMetastore_alter_function_result__isset __isset; - void __set_o1(const InvalidOperationException& val) { - o1 = val; - } + void __set_o1(const InvalidOperationException& val); - void __set_o2(const MetaException& val) { - o2 = val; - } + void __set_o2(const MetaException& val); bool operator == (const ThriftHiveMetastore_alter_function_result & rhs) const { @@ -12944,20 +13324,23 @@ class ThriftHiveMetastore_alter_function_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_function_result& obj); }; typedef struct _ThriftHiveMetastore_alter_function_presult__isset { _ThriftHiveMetastore_alter_function_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_alter_function_presult__isset; class ThriftHiveMetastore_alter_function_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_function_presult() throw() {} + virtual ~ThriftHiveMetastore_alter_function_presult() throw(); InvalidOperationException o1; MetaException o2; @@ -12965,34 +13348,35 @@ class ThriftHiveMetastore_alter_function_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_function_presult& obj); }; typedef struct _ThriftHiveMetastore_get_functions_args__isset { _ThriftHiveMetastore_get_functions_args__isset() : dbName(false), pattern(false) {} - bool dbName; - bool pattern; + bool dbName :1; + bool pattern :1; } _ThriftHiveMetastore_get_functions_args__isset; class ThriftHiveMetastore_get_functions_args { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + + ThriftHiveMetastore_get_functions_args(const ThriftHiveMetastore_get_functions_args&); + ThriftHiveMetastore_get_functions_args& operator=(const ThriftHiveMetastore_get_functions_args&); ThriftHiveMetastore_get_functions_args() : dbName(), pattern() { } - virtual ~ThriftHiveMetastore_get_functions_args() throw() {} - + virtual ~ThriftHiveMetastore_get_functions_args() throw(); std::string dbName; std::string pattern; _ThriftHiveMetastore_get_functions_args__isset __isset; - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_pattern(const std::string& val) { - pattern = val; - } + void __set_pattern(const std::string& val); bool operator == (const ThriftHiveMetastore_get_functions_args & rhs) const { @@ -13011,48 +13395,52 @@ class ThriftHiveMetastore_get_functions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_functions_args& obj); }; class ThriftHiveMetastore_get_functions_pargs { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_functions_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_functions_pargs() throw(); const std::string* dbName; const std::string* pattern; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_functions_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_functions_result__isset { _ThriftHiveMetastore_get_functions_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_functions_result__isset; class ThriftHiveMetastore_get_functions_result { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; + + ThriftHiveMetastore_get_functions_result(const ThriftHiveMetastore_get_functions_result&); + ThriftHiveMetastore_get_functions_result& operator=(const ThriftHiveMetastore_get_functions_result&); ThriftHiveMetastore_get_functions_result() { } - virtual ~ThriftHiveMetastore_get_functions_result() throw() {} - + virtual ~ThriftHiveMetastore_get_functions_result() throw(); std::vector success; MetaException o1; _ThriftHiveMetastore_get_functions_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_functions_result & rhs) const { @@ -13071,20 +13459,23 @@ class ThriftHiveMetastore_get_functions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_functions_result& obj); }; typedef struct _ThriftHiveMetastore_get_functions_presult__isset { _ThriftHiveMetastore_get_functions_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_functions_presult__isset; class ThriftHiveMetastore_get_functions_presult { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_functions_presult() throw() {} + virtual ~ThriftHiveMetastore_get_functions_presult() throw(); std::vector * success; MetaException o1; @@ -13092,34 +13483,35 @@ class ThriftHiveMetastore_get_functions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_functions_presult& obj); }; typedef struct _ThriftHiveMetastore_get_function_args__isset { _ThriftHiveMetastore_get_function_args__isset() : dbName(false), funcName(false) {} - bool dbName; - bool funcName; + bool dbName :1; + bool funcName :1; } _ThriftHiveMetastore_get_function_args__isset; class ThriftHiveMetastore_get_function_args { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + + ThriftHiveMetastore_get_function_args(const ThriftHiveMetastore_get_function_args&); + ThriftHiveMetastore_get_function_args& operator=(const ThriftHiveMetastore_get_function_args&); ThriftHiveMetastore_get_function_args() : dbName(), funcName() { } - virtual ~ThriftHiveMetastore_get_function_args() throw() {} - + virtual ~ThriftHiveMetastore_get_function_args() throw(); std::string dbName; std::string funcName; _ThriftHiveMetastore_get_function_args__isset __isset; - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_funcName(const std::string& val) { - funcName = val; - } + void __set_funcName(const std::string& val); bool operator == (const ThriftHiveMetastore_get_function_args & rhs) const { @@ -13138,54 +13530,56 @@ class ThriftHiveMetastore_get_function_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_function_args& obj); }; class ThriftHiveMetastore_get_function_pargs { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_function_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_function_pargs() throw(); const std::string* dbName; const std::string* funcName; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_function_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_function_result__isset { _ThriftHiveMetastore_get_function_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_function_result__isset; class ThriftHiveMetastore_get_function_result { public: + static const char* ascii_fingerprint; // = "870289681A55022612B36FE7410680C6"; + static const uint8_t binary_fingerprint[16]; // = {0x87,0x02,0x89,0x68,0x1A,0x55,0x02,0x26,0x12,0xB3,0x6F,0xE7,0x41,0x06,0x80,0xC6}; + + ThriftHiveMetastore_get_function_result(const ThriftHiveMetastore_get_function_result&); + ThriftHiveMetastore_get_function_result& operator=(const ThriftHiveMetastore_get_function_result&); ThriftHiveMetastore_get_function_result() { } - virtual ~ThriftHiveMetastore_get_function_result() throw() {} - + virtual ~ThriftHiveMetastore_get_function_result() throw(); Function success; MetaException o1; NoSuchObjectException o2; _ThriftHiveMetastore_get_function_result__isset __isset; - void __set_success(const Function& val) { - success = val; - } + void __set_success(const Function& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); - void __set_o2(const NoSuchObjectException& val) { - o2 = val; - } + void __set_o2(const NoSuchObjectException& val); bool operator == (const ThriftHiveMetastore_get_function_result & rhs) const { @@ -13206,21 +13600,24 @@ class ThriftHiveMetastore_get_function_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_function_result& obj); }; typedef struct _ThriftHiveMetastore_get_function_presult__isset { _ThriftHiveMetastore_get_function_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_get_function_presult__isset; class ThriftHiveMetastore_get_function_presult { public: + static const char* ascii_fingerprint; // = "870289681A55022612B36FE7410680C6"; + static const uint8_t binary_fingerprint[16]; // = {0x87,0x02,0x89,0x68,0x1A,0x55,0x02,0x26,0x12,0xB3,0x6F,0xE7,0x41,0x06,0x80,0xC6}; - virtual ~ThriftHiveMetastore_get_function_presult() throw() {} + virtual ~ThriftHiveMetastore_get_function_presult() throw(); Function* success; MetaException o1; NoSuchObjectException o2; @@ -13229,28 +13626,147 @@ class ThriftHiveMetastore_get_function_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_function_presult& obj); +}; + + +class ThriftHiveMetastore_get_all_functions_args { + public: + + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHiveMetastore_get_all_functions_args(const ThriftHiveMetastore_get_all_functions_args&); + ThriftHiveMetastore_get_all_functions_args& operator=(const ThriftHiveMetastore_get_all_functions_args&); + 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; + + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_functions_args& obj); +}; + + +class ThriftHiveMetastore_get_all_functions_pargs { + public: + + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + + virtual ~ThriftHiveMetastore_get_all_functions_pargs() throw(); + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_functions_pargs& obj); +}; + +typedef struct _ThriftHiveMetastore_get_all_functions_result__isset { + _ThriftHiveMetastore_get_all_functions_result__isset() : success(false), o1(false) {} + bool success :1; + bool o1 :1; +} _ThriftHiveMetastore_get_all_functions_result__isset; + +class ThriftHiveMetastore_get_all_functions_result { + public: + + static const char* ascii_fingerprint; // = "06C8A68188A121F548981E73524438EF"; + static const uint8_t binary_fingerprint[16]; // = {0x06,0xC8,0xA6,0x81,0x88,0xA1,0x21,0xF5,0x48,0x98,0x1E,0x73,0x52,0x44,0x38,0xEF}; + + ThriftHiveMetastore_get_all_functions_result(const ThriftHiveMetastore_get_all_functions_result&); + ThriftHiveMetastore_get_all_functions_result& operator=(const ThriftHiveMetastore_get_all_functions_result&); + 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); + + void __set_o1(const MetaException& 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; + + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_functions_result& obj); +}; + +typedef struct _ThriftHiveMetastore_get_all_functions_presult__isset { + _ThriftHiveMetastore_get_all_functions_presult__isset() : success(false), o1(false) {} + bool success :1; + bool o1 :1; +} _ThriftHiveMetastore_get_all_functions_presult__isset; + +class ThriftHiveMetastore_get_all_functions_presult { + public: + + static const char* ascii_fingerprint; // = "06C8A68188A121F548981E73524438EF"; + static const uint8_t binary_fingerprint[16]; // = {0x06,0xC8,0xA6,0x81,0x88,0xA1,0x21,0xF5,0x48,0x98,0x1E,0x73,0x52,0x44,0x38,0xEF}; + + + 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); + + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_functions_presult& obj); }; typedef struct _ThriftHiveMetastore_create_role_args__isset { _ThriftHiveMetastore_create_role_args__isset() : role(false) {} - bool role; + bool role :1; } _ThriftHiveMetastore_create_role_args__isset; class ThriftHiveMetastore_create_role_args { public: + static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0"; + static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0}; + + ThriftHiveMetastore_create_role_args(const ThriftHiveMetastore_create_role_args&); + ThriftHiveMetastore_create_role_args& operator=(const ThriftHiveMetastore_create_role_args&); ThriftHiveMetastore_create_role_args() { } - virtual ~ThriftHiveMetastore_create_role_args() throw() {} - + virtual ~ThriftHiveMetastore_create_role_args() throw(); Role role; _ThriftHiveMetastore_create_role_args__isset __isset; - void __set_role(const Role& val) { - role = val; - } + void __set_role(const Role& val); bool operator == (const ThriftHiveMetastore_create_role_args & rhs) const { @@ -13267,47 +13783,51 @@ class ThriftHiveMetastore_create_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_role_args& obj); }; class ThriftHiveMetastore_create_role_pargs { public: + static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0"; + static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0}; - virtual ~ThriftHiveMetastore_create_role_pargs() throw() {} + virtual ~ThriftHiveMetastore_create_role_pargs() throw(); const Role* role; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_role_result__isset { _ThriftHiveMetastore_create_role_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_create_role_result__isset; class ThriftHiveMetastore_create_role_result { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; + + ThriftHiveMetastore_create_role_result(const ThriftHiveMetastore_create_role_result&); + ThriftHiveMetastore_create_role_result& operator=(const ThriftHiveMetastore_create_role_result&); ThriftHiveMetastore_create_role_result() : success(0) { } - virtual ~ThriftHiveMetastore_create_role_result() throw() {} - + virtual ~ThriftHiveMetastore_create_role_result() throw(); bool success; MetaException o1; _ThriftHiveMetastore_create_role_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_create_role_result & rhs) const { @@ -13326,20 +13846,23 @@ class ThriftHiveMetastore_create_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_role_result& obj); }; typedef struct _ThriftHiveMetastore_create_role_presult__isset { _ThriftHiveMetastore_create_role_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_create_role_presult__isset; class ThriftHiveMetastore_create_role_presult { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_create_role_presult() throw() {} + virtual ~ThriftHiveMetastore_create_role_presult() throw(); bool* success; MetaException o1; @@ -13347,28 +13870,31 @@ class ThriftHiveMetastore_create_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_role_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_role_args__isset { _ThriftHiveMetastore_drop_role_args__isset() : role_name(false) {} - bool role_name; + bool role_name :1; } _ThriftHiveMetastore_drop_role_args__isset; class ThriftHiveMetastore_drop_role_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_drop_role_args(const ThriftHiveMetastore_drop_role_args&); + ThriftHiveMetastore_drop_role_args& operator=(const ThriftHiveMetastore_drop_role_args&); ThriftHiveMetastore_drop_role_args() : role_name() { } - virtual ~ThriftHiveMetastore_drop_role_args() throw() {} - + virtual ~ThriftHiveMetastore_drop_role_args() throw(); std::string role_name; _ThriftHiveMetastore_drop_role_args__isset __isset; - void __set_role_name(const std::string& val) { - role_name = val; - } + void __set_role_name(const std::string& val); bool operator == (const ThriftHiveMetastore_drop_role_args & rhs) const { @@ -13385,47 +13911,51 @@ class ThriftHiveMetastore_drop_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_role_args& obj); }; class ThriftHiveMetastore_drop_role_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_drop_role_pargs() throw() {} + virtual ~ThriftHiveMetastore_drop_role_pargs() throw(); const std::string* role_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_role_result__isset { _ThriftHiveMetastore_drop_role_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_drop_role_result__isset; class ThriftHiveMetastore_drop_role_result { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; + + ThriftHiveMetastore_drop_role_result(const ThriftHiveMetastore_drop_role_result&); + ThriftHiveMetastore_drop_role_result& operator=(const ThriftHiveMetastore_drop_role_result&); ThriftHiveMetastore_drop_role_result() : success(0) { } - virtual ~ThriftHiveMetastore_drop_role_result() throw() {} - + virtual ~ThriftHiveMetastore_drop_role_result() throw(); bool success; MetaException o1; _ThriftHiveMetastore_drop_role_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_drop_role_result & rhs) const { @@ -13444,20 +13974,23 @@ class ThriftHiveMetastore_drop_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_role_result& obj); }; typedef struct _ThriftHiveMetastore_drop_role_presult__isset { _ThriftHiveMetastore_drop_role_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_drop_role_presult__isset; class ThriftHiveMetastore_drop_role_presult { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_drop_role_presult() throw() {} + virtual ~ThriftHiveMetastore_drop_role_presult() throw(); bool* success; MetaException o1; @@ -13465,17 +13998,22 @@ class ThriftHiveMetastore_drop_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_role_presult& obj); }; class ThriftHiveMetastore_get_role_names_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHiveMetastore_get_role_names_args(const ThriftHiveMetastore_get_role_names_args&); + ThriftHiveMetastore_get_role_names_args& operator=(const ThriftHiveMetastore_get_role_names_args&); ThriftHiveMetastore_get_role_names_args() { } - virtual ~ThriftHiveMetastore_get_role_names_args() throw() {} - + virtual ~ThriftHiveMetastore_get_role_names_args() throw(); bool operator == (const ThriftHiveMetastore_get_role_names_args & /* rhs */) const { @@ -13490,46 +14028,50 @@ class ThriftHiveMetastore_get_role_names_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_names_args& obj); }; class ThriftHiveMetastore_get_role_names_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_get_role_names_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_role_names_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_names_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_role_names_result__isset { _ThriftHiveMetastore_get_role_names_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_role_names_result__isset; class ThriftHiveMetastore_get_role_names_result { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; + + ThriftHiveMetastore_get_role_names_result(const ThriftHiveMetastore_get_role_names_result&); + ThriftHiveMetastore_get_role_names_result& operator=(const ThriftHiveMetastore_get_role_names_result&); ThriftHiveMetastore_get_role_names_result() { } - virtual ~ThriftHiveMetastore_get_role_names_result() throw() {} - + virtual ~ThriftHiveMetastore_get_role_names_result() throw(); std::vector success; MetaException o1; _ThriftHiveMetastore_get_role_names_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_role_names_result & rhs) const { @@ -13548,20 +14090,23 @@ class ThriftHiveMetastore_get_role_names_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_names_result& obj); }; typedef struct _ThriftHiveMetastore_get_role_names_presult__isset { _ThriftHiveMetastore_get_role_names_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_role_names_presult__isset; class ThriftHiveMetastore_get_role_names_presult { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_role_names_presult() throw() {} + virtual ~ThriftHiveMetastore_get_role_names_presult() throw(); std::vector * success; MetaException o1; @@ -13569,26 +14114,31 @@ class ThriftHiveMetastore_get_role_names_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_names_presult& obj); }; typedef struct _ThriftHiveMetastore_grant_role_args__isset { _ThriftHiveMetastore_grant_role_args__isset() : role_name(false), principal_name(false), principal_type(false), grantor(false), grantorType(false), grant_option(false) {} - bool role_name; - bool principal_name; - bool principal_type; - bool grantor; - bool grantorType; - bool grant_option; + bool role_name :1; + bool principal_name :1; + bool principal_type :1; + bool grantor :1; + bool grantorType :1; + bool grant_option :1; } _ThriftHiveMetastore_grant_role_args__isset; class ThriftHiveMetastore_grant_role_args { public: + static const char* ascii_fingerprint; // = "133BD894291B139C46ECC5FBC7D159A2"; + static const uint8_t binary_fingerprint[16]; // = {0x13,0x3B,0xD8,0x94,0x29,0x1B,0x13,0x9C,0x46,0xEC,0xC5,0xFB,0xC7,0xD1,0x59,0xA2}; + + ThriftHiveMetastore_grant_role_args(const ThriftHiveMetastore_grant_role_args&); + ThriftHiveMetastore_grant_role_args& operator=(const ThriftHiveMetastore_grant_role_args&); ThriftHiveMetastore_grant_role_args() : role_name(), principal_name(), principal_type((PrincipalType::type)0), grantor(), grantorType((PrincipalType::type)0), grant_option(0) { } - virtual ~ThriftHiveMetastore_grant_role_args() throw() {} - + virtual ~ThriftHiveMetastore_grant_role_args() throw(); std::string role_name; std::string principal_name; PrincipalType::type principal_type; @@ -13598,29 +14148,17 @@ class ThriftHiveMetastore_grant_role_args { _ThriftHiveMetastore_grant_role_args__isset __isset; - void __set_role_name(const std::string& val) { - role_name = val; - } + void __set_role_name(const std::string& val); - void __set_principal_name(const std::string& val) { - principal_name = val; - } + void __set_principal_name(const std::string& val); - void __set_principal_type(const PrincipalType::type val) { - principal_type = val; - } + void __set_principal_type(const PrincipalType::type val); - void __set_grantor(const std::string& val) { - grantor = val; - } + void __set_grantor(const std::string& val); - void __set_grantorType(const PrincipalType::type val) { - grantorType = val; - } + void __set_grantorType(const PrincipalType::type val); - void __set_grant_option(const bool val) { - grant_option = val; - } + void __set_grant_option(const bool val); bool operator == (const ThriftHiveMetastore_grant_role_args & rhs) const { @@ -13647,15 +14185,18 @@ class ThriftHiveMetastore_grant_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_role_args& obj); }; class ThriftHiveMetastore_grant_role_pargs { public: + static const char* ascii_fingerprint; // = "133BD894291B139C46ECC5FBC7D159A2"; + static const uint8_t binary_fingerprint[16]; // = {0x13,0x3B,0xD8,0x94,0x29,0x1B,0x13,0x9C,0x46,0xEC,0xC5,0xFB,0xC7,0xD1,0x59,0xA2}; - virtual ~ThriftHiveMetastore_grant_role_pargs() throw() {} + virtual ~ThriftHiveMetastore_grant_role_pargs() throw(); const std::string* role_name; const std::string* principal_name; const PrincipalType::type* principal_type; @@ -13665,34 +14206,35 @@ class ThriftHiveMetastore_grant_role_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_grant_role_result__isset { _ThriftHiveMetastore_grant_role_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_grant_role_result__isset; class ThriftHiveMetastore_grant_role_result { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; + + ThriftHiveMetastore_grant_role_result(const ThriftHiveMetastore_grant_role_result&); + ThriftHiveMetastore_grant_role_result& operator=(const ThriftHiveMetastore_grant_role_result&); ThriftHiveMetastore_grant_role_result() : success(0) { } - virtual ~ThriftHiveMetastore_grant_role_result() throw() {} - + virtual ~ThriftHiveMetastore_grant_role_result() throw(); bool success; MetaException o1; _ThriftHiveMetastore_grant_role_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_grant_role_result & rhs) const { @@ -13711,20 +14253,23 @@ class ThriftHiveMetastore_grant_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_role_result& obj); }; typedef struct _ThriftHiveMetastore_grant_role_presult__isset { _ThriftHiveMetastore_grant_role_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_grant_role_presult__isset; class ThriftHiveMetastore_grant_role_presult { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_grant_role_presult() throw() {} + virtual ~ThriftHiveMetastore_grant_role_presult() throw(); bool* success; MetaException o1; @@ -13732,40 +14277,39 @@ class ThriftHiveMetastore_grant_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_role_presult& obj); }; typedef struct _ThriftHiveMetastore_revoke_role_args__isset { _ThriftHiveMetastore_revoke_role_args__isset() : role_name(false), principal_name(false), principal_type(false) {} - bool role_name; - bool principal_name; - bool principal_type; + bool role_name :1; + bool principal_name :1; + bool principal_type :1; } _ThriftHiveMetastore_revoke_role_args__isset; class ThriftHiveMetastore_revoke_role_args { public: + static const char* ascii_fingerprint; // = "4F8ABE747D9A2DF14F7E84DDBE60D55C"; + static const uint8_t binary_fingerprint[16]; // = {0x4F,0x8A,0xBE,0x74,0x7D,0x9A,0x2D,0xF1,0x4F,0x7E,0x84,0xDD,0xBE,0x60,0xD5,0x5C}; + + ThriftHiveMetastore_revoke_role_args(const ThriftHiveMetastore_revoke_role_args&); + ThriftHiveMetastore_revoke_role_args& operator=(const ThriftHiveMetastore_revoke_role_args&); ThriftHiveMetastore_revoke_role_args() : role_name(), principal_name(), principal_type((PrincipalType::type)0) { } - virtual ~ThriftHiveMetastore_revoke_role_args() throw() {} - + virtual ~ThriftHiveMetastore_revoke_role_args() throw(); std::string role_name; std::string principal_name; PrincipalType::type principal_type; _ThriftHiveMetastore_revoke_role_args__isset __isset; - void __set_role_name(const std::string& val) { - role_name = val; - } + void __set_role_name(const std::string& val); - void __set_principal_name(const std::string& val) { - principal_name = val; - } + void __set_principal_name(const std::string& val); - void __set_principal_type(const PrincipalType::type val) { - principal_type = val; - } + void __set_principal_type(const PrincipalType::type val); bool operator == (const ThriftHiveMetastore_revoke_role_args & rhs) const { @@ -13786,49 +14330,53 @@ class ThriftHiveMetastore_revoke_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_role_args& obj); }; class ThriftHiveMetastore_revoke_role_pargs { public: + static const char* ascii_fingerprint; // = "4F8ABE747D9A2DF14F7E84DDBE60D55C"; + static const uint8_t binary_fingerprint[16]; // = {0x4F,0x8A,0xBE,0x74,0x7D,0x9A,0x2D,0xF1,0x4F,0x7E,0x84,0xDD,0xBE,0x60,0xD5,0x5C}; - virtual ~ThriftHiveMetastore_revoke_role_pargs() throw() {} + virtual ~ThriftHiveMetastore_revoke_role_pargs() throw(); const std::string* role_name; const std::string* principal_name; const PrincipalType::type* principal_type; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_revoke_role_result__isset { _ThriftHiveMetastore_revoke_role_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_revoke_role_result__isset; class ThriftHiveMetastore_revoke_role_result { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; + + ThriftHiveMetastore_revoke_role_result(const ThriftHiveMetastore_revoke_role_result&); + ThriftHiveMetastore_revoke_role_result& operator=(const ThriftHiveMetastore_revoke_role_result&); ThriftHiveMetastore_revoke_role_result() : success(0) { } - virtual ~ThriftHiveMetastore_revoke_role_result() throw() {} - + virtual ~ThriftHiveMetastore_revoke_role_result() throw(); bool success; MetaException o1; _ThriftHiveMetastore_revoke_role_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_revoke_role_result & rhs) const { @@ -13847,20 +14395,23 @@ class ThriftHiveMetastore_revoke_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_role_result& obj); }; typedef struct _ThriftHiveMetastore_revoke_role_presult__isset { _ThriftHiveMetastore_revoke_role_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_revoke_role_presult__isset; class ThriftHiveMetastore_revoke_role_presult { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_revoke_role_presult() throw() {} + virtual ~ThriftHiveMetastore_revoke_role_presult() throw(); bool* success; MetaException o1; @@ -13868,34 +14419,35 @@ class ThriftHiveMetastore_revoke_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_role_presult& obj); }; typedef struct _ThriftHiveMetastore_list_roles_args__isset { _ThriftHiveMetastore_list_roles_args__isset() : principal_name(false), principal_type(false) {} - bool principal_name; - bool principal_type; + bool principal_name :1; + bool principal_type :1; } _ThriftHiveMetastore_list_roles_args__isset; class ThriftHiveMetastore_list_roles_args { public: + static const char* ascii_fingerprint; // = "D6FD826D949221396F4FFC3ECCD3D192"; + static const uint8_t binary_fingerprint[16]; // = {0xD6,0xFD,0x82,0x6D,0x94,0x92,0x21,0x39,0x6F,0x4F,0xFC,0x3E,0xCC,0xD3,0xD1,0x92}; + + ThriftHiveMetastore_list_roles_args(const ThriftHiveMetastore_list_roles_args&); + ThriftHiveMetastore_list_roles_args& operator=(const ThriftHiveMetastore_list_roles_args&); ThriftHiveMetastore_list_roles_args() : principal_name(), principal_type((PrincipalType::type)0) { } - virtual ~ThriftHiveMetastore_list_roles_args() throw() {} - + virtual ~ThriftHiveMetastore_list_roles_args() throw(); std::string principal_name; PrincipalType::type principal_type; _ThriftHiveMetastore_list_roles_args__isset __isset; - void __set_principal_name(const std::string& val) { - principal_name = val; - } + void __set_principal_name(const std::string& val); - void __set_principal_type(const PrincipalType::type val) { - principal_type = val; - } + void __set_principal_type(const PrincipalType::type val); bool operator == (const ThriftHiveMetastore_list_roles_args & rhs) const { @@ -13914,48 +14466,52 @@ class ThriftHiveMetastore_list_roles_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_roles_args& obj); }; class ThriftHiveMetastore_list_roles_pargs { public: + static const char* ascii_fingerprint; // = "D6FD826D949221396F4FFC3ECCD3D192"; + static const uint8_t binary_fingerprint[16]; // = {0xD6,0xFD,0x82,0x6D,0x94,0x92,0x21,0x39,0x6F,0x4F,0xFC,0x3E,0xCC,0xD3,0xD1,0x92}; - virtual ~ThriftHiveMetastore_list_roles_pargs() throw() {} + virtual ~ThriftHiveMetastore_list_roles_pargs() throw(); const std::string* principal_name; const PrincipalType::type* principal_type; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_roles_pargs& obj); }; typedef struct _ThriftHiveMetastore_list_roles_result__isset { _ThriftHiveMetastore_list_roles_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_list_roles_result__isset; class ThriftHiveMetastore_list_roles_result { public: + static const char* ascii_fingerprint; // = "F4E2C0107AD92DC71252C1F2F0EC2593"; + static const uint8_t binary_fingerprint[16]; // = {0xF4,0xE2,0xC0,0x10,0x7A,0xD9,0x2D,0xC7,0x12,0x52,0xC1,0xF2,0xF0,0xEC,0x25,0x93}; + + ThriftHiveMetastore_list_roles_result(const ThriftHiveMetastore_list_roles_result&); + ThriftHiveMetastore_list_roles_result& operator=(const ThriftHiveMetastore_list_roles_result&); ThriftHiveMetastore_list_roles_result() { } - virtual ~ThriftHiveMetastore_list_roles_result() throw() {} - + virtual ~ThriftHiveMetastore_list_roles_result() throw(); std::vector success; MetaException o1; _ThriftHiveMetastore_list_roles_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_list_roles_result & rhs) const { @@ -13974,20 +14530,23 @@ class ThriftHiveMetastore_list_roles_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_roles_result& obj); }; typedef struct _ThriftHiveMetastore_list_roles_presult__isset { _ThriftHiveMetastore_list_roles_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_list_roles_presult__isset; class ThriftHiveMetastore_list_roles_presult { public: + static const char* ascii_fingerprint; // = "F4E2C0107AD92DC71252C1F2F0EC2593"; + static const uint8_t binary_fingerprint[16]; // = {0xF4,0xE2,0xC0,0x10,0x7A,0xD9,0x2D,0xC7,0x12,0x52,0xC1,0xF2,0xF0,0xEC,0x25,0x93}; - virtual ~ThriftHiveMetastore_list_roles_presult() throw() {} + virtual ~ThriftHiveMetastore_list_roles_presult() throw(); std::vector * success; MetaException o1; @@ -13995,28 +14554,31 @@ class ThriftHiveMetastore_list_roles_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_roles_presult& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_role_args__isset { _ThriftHiveMetastore_grant_revoke_role_args__isset() : request(false) {} - bool request; + bool request :1; } _ThriftHiveMetastore_grant_revoke_role_args__isset; class ThriftHiveMetastore_grant_revoke_role_args { public: + static const char* ascii_fingerprint; // = "32A08793075D468A123BDF8A429097C2"; + static const uint8_t binary_fingerprint[16]; // = {0x32,0xA0,0x87,0x93,0x07,0x5D,0x46,0x8A,0x12,0x3B,0xDF,0x8A,0x42,0x90,0x97,0xC2}; + + ThriftHiveMetastore_grant_revoke_role_args(const ThriftHiveMetastore_grant_revoke_role_args&); + ThriftHiveMetastore_grant_revoke_role_args& operator=(const ThriftHiveMetastore_grant_revoke_role_args&); ThriftHiveMetastore_grant_revoke_role_args() { } - virtual ~ThriftHiveMetastore_grant_revoke_role_args() throw() {} - + virtual ~ThriftHiveMetastore_grant_revoke_role_args() throw(); GrantRevokeRoleRequest request; _ThriftHiveMetastore_grant_revoke_role_args__isset __isset; - void __set_request(const GrantRevokeRoleRequest& val) { - request = val; - } + void __set_request(const GrantRevokeRoleRequest& val); bool operator == (const ThriftHiveMetastore_grant_revoke_role_args & rhs) const { @@ -14033,47 +14595,51 @@ class ThriftHiveMetastore_grant_revoke_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_role_args& obj); }; class ThriftHiveMetastore_grant_revoke_role_pargs { public: + static const char* ascii_fingerprint; // = "32A08793075D468A123BDF8A429097C2"; + static const uint8_t binary_fingerprint[16]; // = {0x32,0xA0,0x87,0x93,0x07,0x5D,0x46,0x8A,0x12,0x3B,0xDF,0x8A,0x42,0x90,0x97,0xC2}; - virtual ~ThriftHiveMetastore_grant_revoke_role_pargs() throw() {} + virtual ~ThriftHiveMetastore_grant_revoke_role_pargs() throw(); const GrantRevokeRoleRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_role_result__isset { _ThriftHiveMetastore_grant_revoke_role_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_grant_revoke_role_result__isset; class ThriftHiveMetastore_grant_revoke_role_result { public: + static const char* ascii_fingerprint; // = "2752D57FBB6A712ADAD7D19783020F2C"; + static const uint8_t binary_fingerprint[16]; // = {0x27,0x52,0xD5,0x7F,0xBB,0x6A,0x71,0x2A,0xDA,0xD7,0xD1,0x97,0x83,0x02,0x0F,0x2C}; + + ThriftHiveMetastore_grant_revoke_role_result(const ThriftHiveMetastore_grant_revoke_role_result&); + ThriftHiveMetastore_grant_revoke_role_result& operator=(const ThriftHiveMetastore_grant_revoke_role_result&); ThriftHiveMetastore_grant_revoke_role_result() { } - virtual ~ThriftHiveMetastore_grant_revoke_role_result() throw() {} - + virtual ~ThriftHiveMetastore_grant_revoke_role_result() throw(); GrantRevokeRoleResponse success; MetaException o1; _ThriftHiveMetastore_grant_revoke_role_result__isset __isset; - void __set_success(const GrantRevokeRoleResponse& val) { - success = val; - } + void __set_success(const GrantRevokeRoleResponse& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_grant_revoke_role_result & rhs) const { @@ -14092,20 +14658,23 @@ class ThriftHiveMetastore_grant_revoke_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_role_result& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_role_presult__isset { _ThriftHiveMetastore_grant_revoke_role_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_grant_revoke_role_presult__isset; class ThriftHiveMetastore_grant_revoke_role_presult { public: + static const char* ascii_fingerprint; // = "2752D57FBB6A712ADAD7D19783020F2C"; + static const uint8_t binary_fingerprint[16]; // = {0x27,0x52,0xD5,0x7F,0xBB,0x6A,0x71,0x2A,0xDA,0xD7,0xD1,0x97,0x83,0x02,0x0F,0x2C}; - virtual ~ThriftHiveMetastore_grant_revoke_role_presult() throw() {} + virtual ~ThriftHiveMetastore_grant_revoke_role_presult() throw(); GrantRevokeRoleResponse* success; MetaException o1; @@ -14113,28 +14682,31 @@ class ThriftHiveMetastore_grant_revoke_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_role_presult& obj); }; typedef struct _ThriftHiveMetastore_get_principals_in_role_args__isset { _ThriftHiveMetastore_get_principals_in_role_args__isset() : request(false) {} - bool request; + bool request :1; } _ThriftHiveMetastore_get_principals_in_role_args__isset; class ThriftHiveMetastore_get_principals_in_role_args { public: + static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; + static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; + + ThriftHiveMetastore_get_principals_in_role_args(const ThriftHiveMetastore_get_principals_in_role_args&); + ThriftHiveMetastore_get_principals_in_role_args& operator=(const ThriftHiveMetastore_get_principals_in_role_args&); ThriftHiveMetastore_get_principals_in_role_args() { } - virtual ~ThriftHiveMetastore_get_principals_in_role_args() throw() {} - + virtual ~ThriftHiveMetastore_get_principals_in_role_args() throw(); GetPrincipalsInRoleRequest request; _ThriftHiveMetastore_get_principals_in_role_args__isset __isset; - void __set_request(const GetPrincipalsInRoleRequest& val) { - request = val; - } + void __set_request(const GetPrincipalsInRoleRequest& val); bool operator == (const ThriftHiveMetastore_get_principals_in_role_args & rhs) const { @@ -14151,47 +14723,51 @@ class ThriftHiveMetastore_get_principals_in_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_principals_in_role_args& obj); }; class ThriftHiveMetastore_get_principals_in_role_pargs { public: + static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; + static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - virtual ~ThriftHiveMetastore_get_principals_in_role_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_principals_in_role_pargs() throw(); const GetPrincipalsInRoleRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_principals_in_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_principals_in_role_result__isset { _ThriftHiveMetastore_get_principals_in_role_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_principals_in_role_result__isset; class ThriftHiveMetastore_get_principals_in_role_result { public: + static const char* ascii_fingerprint; // = "991483C373A3000CBEAB31F972699E7B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x14,0x83,0xC3,0x73,0xA3,0x00,0x0C,0xBE,0xAB,0x31,0xF9,0x72,0x69,0x9E,0x7B}; + + ThriftHiveMetastore_get_principals_in_role_result(const ThriftHiveMetastore_get_principals_in_role_result&); + ThriftHiveMetastore_get_principals_in_role_result& operator=(const ThriftHiveMetastore_get_principals_in_role_result&); ThriftHiveMetastore_get_principals_in_role_result() { } - virtual ~ThriftHiveMetastore_get_principals_in_role_result() throw() {} - + virtual ~ThriftHiveMetastore_get_principals_in_role_result() throw(); GetPrincipalsInRoleResponse success; MetaException o1; _ThriftHiveMetastore_get_principals_in_role_result__isset __isset; - void __set_success(const GetPrincipalsInRoleResponse& val) { - success = val; - } + void __set_success(const GetPrincipalsInRoleResponse& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_principals_in_role_result & rhs) const { @@ -14210,20 +14786,23 @@ class ThriftHiveMetastore_get_principals_in_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_principals_in_role_result& obj); }; typedef struct _ThriftHiveMetastore_get_principals_in_role_presult__isset { _ThriftHiveMetastore_get_principals_in_role_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_principals_in_role_presult__isset; class ThriftHiveMetastore_get_principals_in_role_presult { public: + static const char* ascii_fingerprint; // = "991483C373A3000CBEAB31F972699E7B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x14,0x83,0xC3,0x73,0xA3,0x00,0x0C,0xBE,0xAB,0x31,0xF9,0x72,0x69,0x9E,0x7B}; - virtual ~ThriftHiveMetastore_get_principals_in_role_presult() throw() {} + virtual ~ThriftHiveMetastore_get_principals_in_role_presult() throw(); GetPrincipalsInRoleResponse* success; MetaException o1; @@ -14231,28 +14810,31 @@ class ThriftHiveMetastore_get_principals_in_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_principals_in_role_presult& obj); }; typedef struct _ThriftHiveMetastore_get_role_grants_for_principal_args__isset { _ThriftHiveMetastore_get_role_grants_for_principal_args__isset() : request(false) {} - bool request; + bool request :1; } _ThriftHiveMetastore_get_role_grants_for_principal_args__isset; class ThriftHiveMetastore_get_role_grants_for_principal_args { public: + static const char* ascii_fingerprint; // = "2EFF1E534C8CBE58ACF12DBD7FBA560E"; + static const uint8_t binary_fingerprint[16]; // = {0x2E,0xFF,0x1E,0x53,0x4C,0x8C,0xBE,0x58,0xAC,0xF1,0x2D,0xBD,0x7F,0xBA,0x56,0x0E}; + + ThriftHiveMetastore_get_role_grants_for_principal_args(const ThriftHiveMetastore_get_role_grants_for_principal_args&); + ThriftHiveMetastore_get_role_grants_for_principal_args& operator=(const ThriftHiveMetastore_get_role_grants_for_principal_args&); ThriftHiveMetastore_get_role_grants_for_principal_args() { } - virtual ~ThriftHiveMetastore_get_role_grants_for_principal_args() throw() {} - + virtual ~ThriftHiveMetastore_get_role_grants_for_principal_args() throw(); GetRoleGrantsForPrincipalRequest request; _ThriftHiveMetastore_get_role_grants_for_principal_args__isset __isset; - void __set_request(const GetRoleGrantsForPrincipalRequest& val) { - request = val; - } + void __set_request(const GetRoleGrantsForPrincipalRequest& val); bool operator == (const ThriftHiveMetastore_get_role_grants_for_principal_args & rhs) const { @@ -14269,47 +14851,51 @@ class ThriftHiveMetastore_get_role_grants_for_principal_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_grants_for_principal_args& obj); }; class ThriftHiveMetastore_get_role_grants_for_principal_pargs { public: + static const char* ascii_fingerprint; // = "2EFF1E534C8CBE58ACF12DBD7FBA560E"; + static const uint8_t binary_fingerprint[16]; // = {0x2E,0xFF,0x1E,0x53,0x4C,0x8C,0xBE,0x58,0xAC,0xF1,0x2D,0xBD,0x7F,0xBA,0x56,0x0E}; - virtual ~ThriftHiveMetastore_get_role_grants_for_principal_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_role_grants_for_principal_pargs() throw(); const GetRoleGrantsForPrincipalRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_grants_for_principal_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_role_grants_for_principal_result__isset { _ThriftHiveMetastore_get_role_grants_for_principal_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_role_grants_for_principal_result__isset; class ThriftHiveMetastore_get_role_grants_for_principal_result { public: + static const char* ascii_fingerprint; // = "991483C373A3000CBEAB31F972699E7B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x14,0x83,0xC3,0x73,0xA3,0x00,0x0C,0xBE,0xAB,0x31,0xF9,0x72,0x69,0x9E,0x7B}; + + ThriftHiveMetastore_get_role_grants_for_principal_result(const ThriftHiveMetastore_get_role_grants_for_principal_result&); + ThriftHiveMetastore_get_role_grants_for_principal_result& operator=(const ThriftHiveMetastore_get_role_grants_for_principal_result&); ThriftHiveMetastore_get_role_grants_for_principal_result() { } - virtual ~ThriftHiveMetastore_get_role_grants_for_principal_result() throw() {} - + virtual ~ThriftHiveMetastore_get_role_grants_for_principal_result() throw(); GetRoleGrantsForPrincipalResponse success; MetaException o1; _ThriftHiveMetastore_get_role_grants_for_principal_result__isset __isset; - void __set_success(const GetRoleGrantsForPrincipalResponse& val) { - success = val; - } + void __set_success(const GetRoleGrantsForPrincipalResponse& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_role_grants_for_principal_result & rhs) const { @@ -14328,20 +14914,23 @@ class ThriftHiveMetastore_get_role_grants_for_principal_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_grants_for_principal_result& obj); }; typedef struct _ThriftHiveMetastore_get_role_grants_for_principal_presult__isset { _ThriftHiveMetastore_get_role_grants_for_principal_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_role_grants_for_principal_presult__isset; class ThriftHiveMetastore_get_role_grants_for_principal_presult { public: + static const char* ascii_fingerprint; // = "991483C373A3000CBEAB31F972699E7B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x14,0x83,0xC3,0x73,0xA3,0x00,0x0C,0xBE,0xAB,0x31,0xF9,0x72,0x69,0x9E,0x7B}; - virtual ~ThriftHiveMetastore_get_role_grants_for_principal_presult() throw() {} + virtual ~ThriftHiveMetastore_get_role_grants_for_principal_presult() throw(); GetRoleGrantsForPrincipalResponse* success; MetaException o1; @@ -14349,40 +14938,39 @@ class ThriftHiveMetastore_get_role_grants_for_principal_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_grants_for_principal_presult& obj); }; typedef struct _ThriftHiveMetastore_get_privilege_set_args__isset { _ThriftHiveMetastore_get_privilege_set_args__isset() : hiveObject(false), user_name(false), group_names(false) {} - bool hiveObject; - bool user_name; - bool group_names; + bool hiveObject :1; + bool user_name :1; + bool group_names :1; } _ThriftHiveMetastore_get_privilege_set_args__isset; class ThriftHiveMetastore_get_privilege_set_args { public: + static const char* ascii_fingerprint; // = "E105E94D3644392EDFB1688221845BB8"; + static const uint8_t binary_fingerprint[16]; // = {0xE1,0x05,0xE9,0x4D,0x36,0x44,0x39,0x2E,0xDF,0xB1,0x68,0x82,0x21,0x84,0x5B,0xB8}; + + ThriftHiveMetastore_get_privilege_set_args(const ThriftHiveMetastore_get_privilege_set_args&); + ThriftHiveMetastore_get_privilege_set_args& operator=(const ThriftHiveMetastore_get_privilege_set_args&); ThriftHiveMetastore_get_privilege_set_args() : user_name() { } - virtual ~ThriftHiveMetastore_get_privilege_set_args() throw() {} - + virtual ~ThriftHiveMetastore_get_privilege_set_args() throw(); HiveObjectRef hiveObject; std::string user_name; std::vector group_names; _ThriftHiveMetastore_get_privilege_set_args__isset __isset; - void __set_hiveObject(const HiveObjectRef& val) { - hiveObject = val; - } + void __set_hiveObject(const HiveObjectRef& val); - void __set_user_name(const std::string& val) { - user_name = val; - } + void __set_user_name(const std::string& val); - void __set_group_names(const std::vector & val) { - group_names = val; - } + void __set_group_names(const std::vector & val); bool operator == (const ThriftHiveMetastore_get_privilege_set_args & rhs) const { @@ -14403,49 +14991,53 @@ class ThriftHiveMetastore_get_privilege_set_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_privilege_set_args& obj); }; class ThriftHiveMetastore_get_privilege_set_pargs { public: + static const char* ascii_fingerprint; // = "E105E94D3644392EDFB1688221845BB8"; + static const uint8_t binary_fingerprint[16]; // = {0xE1,0x05,0xE9,0x4D,0x36,0x44,0x39,0x2E,0xDF,0xB1,0x68,0x82,0x21,0x84,0x5B,0xB8}; - virtual ~ThriftHiveMetastore_get_privilege_set_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_privilege_set_pargs() throw(); const HiveObjectRef* hiveObject; const std::string* user_name; const std::vector * group_names; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_privilege_set_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_privilege_set_result__isset { _ThriftHiveMetastore_get_privilege_set_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_privilege_set_result__isset; class ThriftHiveMetastore_get_privilege_set_result { public: + static const char* ascii_fingerprint; // = "16B7D982DB804BE178ADD440C5436959"; + static const uint8_t binary_fingerprint[16]; // = {0x16,0xB7,0xD9,0x82,0xDB,0x80,0x4B,0xE1,0x78,0xAD,0xD4,0x40,0xC5,0x43,0x69,0x59}; + + ThriftHiveMetastore_get_privilege_set_result(const ThriftHiveMetastore_get_privilege_set_result&); + ThriftHiveMetastore_get_privilege_set_result& operator=(const ThriftHiveMetastore_get_privilege_set_result&); ThriftHiveMetastore_get_privilege_set_result() { } - virtual ~ThriftHiveMetastore_get_privilege_set_result() throw() {} - + virtual ~ThriftHiveMetastore_get_privilege_set_result() throw(); PrincipalPrivilegeSet success; MetaException o1; _ThriftHiveMetastore_get_privilege_set_result__isset __isset; - void __set_success(const PrincipalPrivilegeSet& val) { - success = val; - } + void __set_success(const PrincipalPrivilegeSet& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_privilege_set_result & rhs) const { @@ -14464,20 +15056,23 @@ class ThriftHiveMetastore_get_privilege_set_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_privilege_set_result& obj); }; typedef struct _ThriftHiveMetastore_get_privilege_set_presult__isset { _ThriftHiveMetastore_get_privilege_set_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_privilege_set_presult__isset; class ThriftHiveMetastore_get_privilege_set_presult { public: + static const char* ascii_fingerprint; // = "16B7D982DB804BE178ADD440C5436959"; + static const uint8_t binary_fingerprint[16]; // = {0x16,0xB7,0xD9,0x82,0xDB,0x80,0x4B,0xE1,0x78,0xAD,0xD4,0x40,0xC5,0x43,0x69,0x59}; - virtual ~ThriftHiveMetastore_get_privilege_set_presult() throw() {} + virtual ~ThriftHiveMetastore_get_privilege_set_presult() throw(); PrincipalPrivilegeSet* success; MetaException o1; @@ -14485,40 +15080,39 @@ class ThriftHiveMetastore_get_privilege_set_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_privilege_set_presult& obj); }; typedef struct _ThriftHiveMetastore_list_privileges_args__isset { _ThriftHiveMetastore_list_privileges_args__isset() : principal_name(false), principal_type(false), hiveObject(false) {} - bool principal_name; - bool principal_type; - bool hiveObject; + bool principal_name :1; + bool principal_type :1; + bool hiveObject :1; } _ThriftHiveMetastore_list_privileges_args__isset; class ThriftHiveMetastore_list_privileges_args { public: + static const char* ascii_fingerprint; // = "BB2F0CAC4D46A233190DED7C9454C178"; + static const uint8_t binary_fingerprint[16]; // = {0xBB,0x2F,0x0C,0xAC,0x4D,0x46,0xA2,0x33,0x19,0x0D,0xED,0x7C,0x94,0x54,0xC1,0x78}; + + ThriftHiveMetastore_list_privileges_args(const ThriftHiveMetastore_list_privileges_args&); + ThriftHiveMetastore_list_privileges_args& operator=(const ThriftHiveMetastore_list_privileges_args&); ThriftHiveMetastore_list_privileges_args() : principal_name(), principal_type((PrincipalType::type)0) { } - virtual ~ThriftHiveMetastore_list_privileges_args() throw() {} - + virtual ~ThriftHiveMetastore_list_privileges_args() throw(); std::string principal_name; PrincipalType::type principal_type; HiveObjectRef hiveObject; _ThriftHiveMetastore_list_privileges_args__isset __isset; - void __set_principal_name(const std::string& val) { - principal_name = val; - } + void __set_principal_name(const std::string& val); - void __set_principal_type(const PrincipalType::type val) { - principal_type = val; - } + void __set_principal_type(const PrincipalType::type val); - void __set_hiveObject(const HiveObjectRef& val) { - hiveObject = val; - } + void __set_hiveObject(const HiveObjectRef& val); bool operator == (const ThriftHiveMetastore_list_privileges_args & rhs) const { @@ -14539,49 +15133,53 @@ class ThriftHiveMetastore_list_privileges_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_privileges_args& obj); }; class ThriftHiveMetastore_list_privileges_pargs { public: + static const char* ascii_fingerprint; // = "BB2F0CAC4D46A233190DED7C9454C178"; + static const uint8_t binary_fingerprint[16]; // = {0xBB,0x2F,0x0C,0xAC,0x4D,0x46,0xA2,0x33,0x19,0x0D,0xED,0x7C,0x94,0x54,0xC1,0x78}; - virtual ~ThriftHiveMetastore_list_privileges_pargs() throw() {} + virtual ~ThriftHiveMetastore_list_privileges_pargs() throw(); const std::string* principal_name; const PrincipalType::type* principal_type; const HiveObjectRef* hiveObject; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_privileges_pargs& obj); }; typedef struct _ThriftHiveMetastore_list_privileges_result__isset { _ThriftHiveMetastore_list_privileges_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_list_privileges_result__isset; class ThriftHiveMetastore_list_privileges_result { public: + static const char* ascii_fingerprint; // = "117F3F2796D97C590719F8266D36B7A3"; + static const uint8_t binary_fingerprint[16]; // = {0x11,0x7F,0x3F,0x27,0x96,0xD9,0x7C,0x59,0x07,0x19,0xF8,0x26,0x6D,0x36,0xB7,0xA3}; + + ThriftHiveMetastore_list_privileges_result(const ThriftHiveMetastore_list_privileges_result&); + ThriftHiveMetastore_list_privileges_result& operator=(const ThriftHiveMetastore_list_privileges_result&); ThriftHiveMetastore_list_privileges_result() { } - virtual ~ThriftHiveMetastore_list_privileges_result() throw() {} - + virtual ~ThriftHiveMetastore_list_privileges_result() throw(); std::vector success; MetaException o1; _ThriftHiveMetastore_list_privileges_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_list_privileges_result & rhs) const { @@ -14600,20 +15198,23 @@ class ThriftHiveMetastore_list_privileges_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_privileges_result& obj); }; typedef struct _ThriftHiveMetastore_list_privileges_presult__isset { _ThriftHiveMetastore_list_privileges_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_list_privileges_presult__isset; class ThriftHiveMetastore_list_privileges_presult { public: + static const char* ascii_fingerprint; // = "117F3F2796D97C590719F8266D36B7A3"; + static const uint8_t binary_fingerprint[16]; // = {0x11,0x7F,0x3F,0x27,0x96,0xD9,0x7C,0x59,0x07,0x19,0xF8,0x26,0x6D,0x36,0xB7,0xA3}; - virtual ~ThriftHiveMetastore_list_privileges_presult() throw() {} + virtual ~ThriftHiveMetastore_list_privileges_presult() throw(); std::vector * success; MetaException o1; @@ -14621,28 +15222,31 @@ class ThriftHiveMetastore_list_privileges_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_privileges_presult& obj); }; typedef struct _ThriftHiveMetastore_grant_privileges_args__isset { _ThriftHiveMetastore_grant_privileges_args__isset() : privileges(false) {} - bool privileges; + bool privileges :1; } _ThriftHiveMetastore_grant_privileges_args__isset; class ThriftHiveMetastore_grant_privileges_args { public: + static const char* ascii_fingerprint; // = "D1FFAF2A30E9127AE6F2253FBF65ECDB"; + static const uint8_t binary_fingerprint[16]; // = {0xD1,0xFF,0xAF,0x2A,0x30,0xE9,0x12,0x7A,0xE6,0xF2,0x25,0x3F,0xBF,0x65,0xEC,0xDB}; + + ThriftHiveMetastore_grant_privileges_args(const ThriftHiveMetastore_grant_privileges_args&); + ThriftHiveMetastore_grant_privileges_args& operator=(const ThriftHiveMetastore_grant_privileges_args&); ThriftHiveMetastore_grant_privileges_args() { } - virtual ~ThriftHiveMetastore_grant_privileges_args() throw() {} - + virtual ~ThriftHiveMetastore_grant_privileges_args() throw(); PrivilegeBag privileges; _ThriftHiveMetastore_grant_privileges_args__isset __isset; - void __set_privileges(const PrivilegeBag& val) { - privileges = val; - } + void __set_privileges(const PrivilegeBag& val); bool operator == (const ThriftHiveMetastore_grant_privileges_args & rhs) const { @@ -14659,47 +15263,51 @@ class ThriftHiveMetastore_grant_privileges_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_privileges_args& obj); }; class ThriftHiveMetastore_grant_privileges_pargs { public: + static const char* ascii_fingerprint; // = "D1FFAF2A30E9127AE6F2253FBF65ECDB"; + static const uint8_t binary_fingerprint[16]; // = {0xD1,0xFF,0xAF,0x2A,0x30,0xE9,0x12,0x7A,0xE6,0xF2,0x25,0x3F,0xBF,0x65,0xEC,0xDB}; - virtual ~ThriftHiveMetastore_grant_privileges_pargs() throw() {} + virtual ~ThriftHiveMetastore_grant_privileges_pargs() throw(); const PrivilegeBag* privileges; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_privileges_pargs& obj); }; typedef struct _ThriftHiveMetastore_grant_privileges_result__isset { _ThriftHiveMetastore_grant_privileges_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_grant_privileges_result__isset; class ThriftHiveMetastore_grant_privileges_result { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; + + ThriftHiveMetastore_grant_privileges_result(const ThriftHiveMetastore_grant_privileges_result&); + ThriftHiveMetastore_grant_privileges_result& operator=(const ThriftHiveMetastore_grant_privileges_result&); ThriftHiveMetastore_grant_privileges_result() : success(0) { } - virtual ~ThriftHiveMetastore_grant_privileges_result() throw() {} - + virtual ~ThriftHiveMetastore_grant_privileges_result() throw(); bool success; MetaException o1; _ThriftHiveMetastore_grant_privileges_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_grant_privileges_result & rhs) const { @@ -14718,20 +15326,23 @@ class ThriftHiveMetastore_grant_privileges_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_privileges_result& obj); }; typedef struct _ThriftHiveMetastore_grant_privileges_presult__isset { _ThriftHiveMetastore_grant_privileges_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_grant_privileges_presult__isset; class ThriftHiveMetastore_grant_privileges_presult { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_grant_privileges_presult() throw() {} + virtual ~ThriftHiveMetastore_grant_privileges_presult() throw(); bool* success; MetaException o1; @@ -14739,28 +15350,31 @@ class ThriftHiveMetastore_grant_privileges_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_privileges_presult& obj); }; typedef struct _ThriftHiveMetastore_revoke_privileges_args__isset { _ThriftHiveMetastore_revoke_privileges_args__isset() : privileges(false) {} - bool privileges; + bool privileges :1; } _ThriftHiveMetastore_revoke_privileges_args__isset; class ThriftHiveMetastore_revoke_privileges_args { public: + static const char* ascii_fingerprint; // = "D1FFAF2A30E9127AE6F2253FBF65ECDB"; + static const uint8_t binary_fingerprint[16]; // = {0xD1,0xFF,0xAF,0x2A,0x30,0xE9,0x12,0x7A,0xE6,0xF2,0x25,0x3F,0xBF,0x65,0xEC,0xDB}; + + ThriftHiveMetastore_revoke_privileges_args(const ThriftHiveMetastore_revoke_privileges_args&); + ThriftHiveMetastore_revoke_privileges_args& operator=(const ThriftHiveMetastore_revoke_privileges_args&); ThriftHiveMetastore_revoke_privileges_args() { } - virtual ~ThriftHiveMetastore_revoke_privileges_args() throw() {} - + virtual ~ThriftHiveMetastore_revoke_privileges_args() throw(); PrivilegeBag privileges; _ThriftHiveMetastore_revoke_privileges_args__isset __isset; - void __set_privileges(const PrivilegeBag& val) { - privileges = val; - } + void __set_privileges(const PrivilegeBag& val); bool operator == (const ThriftHiveMetastore_revoke_privileges_args & rhs) const { @@ -14777,47 +15391,51 @@ class ThriftHiveMetastore_revoke_privileges_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_privileges_args& obj); }; class ThriftHiveMetastore_revoke_privileges_pargs { public: + static const char* ascii_fingerprint; // = "D1FFAF2A30E9127AE6F2253FBF65ECDB"; + static const uint8_t binary_fingerprint[16]; // = {0xD1,0xFF,0xAF,0x2A,0x30,0xE9,0x12,0x7A,0xE6,0xF2,0x25,0x3F,0xBF,0x65,0xEC,0xDB}; - virtual ~ThriftHiveMetastore_revoke_privileges_pargs() throw() {} + virtual ~ThriftHiveMetastore_revoke_privileges_pargs() throw(); const PrivilegeBag* privileges; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_privileges_pargs& obj); }; typedef struct _ThriftHiveMetastore_revoke_privileges_result__isset { _ThriftHiveMetastore_revoke_privileges_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_revoke_privileges_result__isset; class ThriftHiveMetastore_revoke_privileges_result { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; + + ThriftHiveMetastore_revoke_privileges_result(const ThriftHiveMetastore_revoke_privileges_result&); + ThriftHiveMetastore_revoke_privileges_result& operator=(const ThriftHiveMetastore_revoke_privileges_result&); ThriftHiveMetastore_revoke_privileges_result() : success(0) { } - virtual ~ThriftHiveMetastore_revoke_privileges_result() throw() {} - + virtual ~ThriftHiveMetastore_revoke_privileges_result() throw(); bool success; MetaException o1; _ThriftHiveMetastore_revoke_privileges_result__isset __isset; - void __set_success(const bool val) { - success = val; - } + void __set_success(const bool val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_revoke_privileges_result & rhs) const { @@ -14836,20 +15454,23 @@ class ThriftHiveMetastore_revoke_privileges_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_privileges_result& obj); }; typedef struct _ThriftHiveMetastore_revoke_privileges_presult__isset { _ThriftHiveMetastore_revoke_privileges_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_revoke_privileges_presult__isset; class ThriftHiveMetastore_revoke_privileges_presult { public: + static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_revoke_privileges_presult() throw() {} + virtual ~ThriftHiveMetastore_revoke_privileges_presult() throw(); bool* success; MetaException o1; @@ -14857,28 +15478,31 @@ class ThriftHiveMetastore_revoke_privileges_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_privileges_presult& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_privileges_args__isset { _ThriftHiveMetastore_grant_revoke_privileges_args__isset() : request(false) {} - bool request; + bool request :1; } _ThriftHiveMetastore_grant_revoke_privileges_args__isset; class ThriftHiveMetastore_grant_revoke_privileges_args { public: + static const char* ascii_fingerprint; // = "76B290B464B01311AD9D636621416B53"; + static const uint8_t binary_fingerprint[16]; // = {0x76,0xB2,0x90,0xB4,0x64,0xB0,0x13,0x11,0xAD,0x9D,0x63,0x66,0x21,0x41,0x6B,0x53}; + + ThriftHiveMetastore_grant_revoke_privileges_args(const ThriftHiveMetastore_grant_revoke_privileges_args&); + ThriftHiveMetastore_grant_revoke_privileges_args& operator=(const ThriftHiveMetastore_grant_revoke_privileges_args&); ThriftHiveMetastore_grant_revoke_privileges_args() { } - virtual ~ThriftHiveMetastore_grant_revoke_privileges_args() throw() {} - + virtual ~ThriftHiveMetastore_grant_revoke_privileges_args() throw(); GrantRevokePrivilegeRequest request; _ThriftHiveMetastore_grant_revoke_privileges_args__isset __isset; - void __set_request(const GrantRevokePrivilegeRequest& val) { - request = val; - } + void __set_request(const GrantRevokePrivilegeRequest& val); bool operator == (const ThriftHiveMetastore_grant_revoke_privileges_args & rhs) const { @@ -14895,47 +15519,51 @@ class ThriftHiveMetastore_grant_revoke_privileges_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_privileges_args& obj); }; class ThriftHiveMetastore_grant_revoke_privileges_pargs { public: + static const char* ascii_fingerprint; // = "76B290B464B01311AD9D636621416B53"; + static const uint8_t binary_fingerprint[16]; // = {0x76,0xB2,0x90,0xB4,0x64,0xB0,0x13,0x11,0xAD,0x9D,0x63,0x66,0x21,0x41,0x6B,0x53}; - virtual ~ThriftHiveMetastore_grant_revoke_privileges_pargs() throw() {} + virtual ~ThriftHiveMetastore_grant_revoke_privileges_pargs() throw(); const GrantRevokePrivilegeRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_privileges_pargs& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_privileges_result__isset { _ThriftHiveMetastore_grant_revoke_privileges_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_grant_revoke_privileges_result__isset; class ThriftHiveMetastore_grant_revoke_privileges_result { public: + static const char* ascii_fingerprint; // = "2752D57FBB6A712ADAD7D19783020F2C"; + static const uint8_t binary_fingerprint[16]; // = {0x27,0x52,0xD5,0x7F,0xBB,0x6A,0x71,0x2A,0xDA,0xD7,0xD1,0x97,0x83,0x02,0x0F,0x2C}; + + ThriftHiveMetastore_grant_revoke_privileges_result(const ThriftHiveMetastore_grant_revoke_privileges_result&); + ThriftHiveMetastore_grant_revoke_privileges_result& operator=(const ThriftHiveMetastore_grant_revoke_privileges_result&); ThriftHiveMetastore_grant_revoke_privileges_result() { } - virtual ~ThriftHiveMetastore_grant_revoke_privileges_result() throw() {} - + virtual ~ThriftHiveMetastore_grant_revoke_privileges_result() throw(); GrantRevokePrivilegeResponse success; MetaException o1; _ThriftHiveMetastore_grant_revoke_privileges_result__isset __isset; - void __set_success(const GrantRevokePrivilegeResponse& val) { - success = val; - } + void __set_success(const GrantRevokePrivilegeResponse& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_grant_revoke_privileges_result & rhs) const { @@ -14954,20 +15582,23 @@ class ThriftHiveMetastore_grant_revoke_privileges_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_privileges_result& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_privileges_presult__isset { _ThriftHiveMetastore_grant_revoke_privileges_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_grant_revoke_privileges_presult__isset; class ThriftHiveMetastore_grant_revoke_privileges_presult { public: + static const char* ascii_fingerprint; // = "2752D57FBB6A712ADAD7D19783020F2C"; + static const uint8_t binary_fingerprint[16]; // = {0x27,0x52,0xD5,0x7F,0xBB,0x6A,0x71,0x2A,0xDA,0xD7,0xD1,0x97,0x83,0x02,0x0F,0x2C}; - virtual ~ThriftHiveMetastore_grant_revoke_privileges_presult() throw() {} + virtual ~ThriftHiveMetastore_grant_revoke_privileges_presult() throw(); GrantRevokePrivilegeResponse* success; MetaException o1; @@ -14975,34 +15606,35 @@ class ThriftHiveMetastore_grant_revoke_privileges_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_privileges_presult& obj); }; typedef struct _ThriftHiveMetastore_set_ugi_args__isset { _ThriftHiveMetastore_set_ugi_args__isset() : user_name(false), group_names(false) {} - bool user_name; - bool group_names; + bool user_name :1; + bool group_names :1; } _ThriftHiveMetastore_set_ugi_args__isset; class ThriftHiveMetastore_set_ugi_args { public: + static const char* ascii_fingerprint; // = "25702B8D5E28AA39160F267DABBC8446"; + static const uint8_t binary_fingerprint[16]; // = {0x25,0x70,0x2B,0x8D,0x5E,0x28,0xAA,0x39,0x16,0x0F,0x26,0x7D,0xAB,0xBC,0x84,0x46}; + + ThriftHiveMetastore_set_ugi_args(const ThriftHiveMetastore_set_ugi_args&); + ThriftHiveMetastore_set_ugi_args& operator=(const ThriftHiveMetastore_set_ugi_args&); ThriftHiveMetastore_set_ugi_args() : user_name() { } - virtual ~ThriftHiveMetastore_set_ugi_args() throw() {} - + virtual ~ThriftHiveMetastore_set_ugi_args() throw(); std::string user_name; std::vector group_names; _ThriftHiveMetastore_set_ugi_args__isset __isset; - void __set_user_name(const std::string& val) { - user_name = val; - } + void __set_user_name(const std::string& val); - void __set_group_names(const std::vector & val) { - group_names = val; - } + void __set_group_names(const std::vector & val); bool operator == (const ThriftHiveMetastore_set_ugi_args & rhs) const { @@ -15021,48 +15653,52 @@ class ThriftHiveMetastore_set_ugi_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_ugi_args& obj); }; class ThriftHiveMetastore_set_ugi_pargs { public: + static const char* ascii_fingerprint; // = "25702B8D5E28AA39160F267DABBC8446"; + static const uint8_t binary_fingerprint[16]; // = {0x25,0x70,0x2B,0x8D,0x5E,0x28,0xAA,0x39,0x16,0x0F,0x26,0x7D,0xAB,0xBC,0x84,0x46}; - virtual ~ThriftHiveMetastore_set_ugi_pargs() throw() {} + virtual ~ThriftHiveMetastore_set_ugi_pargs() throw(); const std::string* user_name; const std::vector * group_names; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_ugi_pargs& obj); }; typedef struct _ThriftHiveMetastore_set_ugi_result__isset { _ThriftHiveMetastore_set_ugi_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_set_ugi_result__isset; class ThriftHiveMetastore_set_ugi_result { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; + + ThriftHiveMetastore_set_ugi_result(const ThriftHiveMetastore_set_ugi_result&); + ThriftHiveMetastore_set_ugi_result& operator=(const ThriftHiveMetastore_set_ugi_result&); ThriftHiveMetastore_set_ugi_result() { } - virtual ~ThriftHiveMetastore_set_ugi_result() throw() {} - + virtual ~ThriftHiveMetastore_set_ugi_result() throw(); std::vector success; MetaException o1; _ThriftHiveMetastore_set_ugi_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_set_ugi_result & rhs) const { @@ -15081,20 +15717,23 @@ class ThriftHiveMetastore_set_ugi_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_ugi_result& obj); }; typedef struct _ThriftHiveMetastore_set_ugi_presult__isset { _ThriftHiveMetastore_set_ugi_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_set_ugi_presult__isset; class ThriftHiveMetastore_set_ugi_presult { public: + static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; + static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_set_ugi_presult() throw() {} + virtual ~ThriftHiveMetastore_set_ugi_presult() throw(); std::vector * success; MetaException o1; @@ -15102,34 +15741,35 @@ class ThriftHiveMetastore_set_ugi_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_ugi_presult& obj); }; typedef struct _ThriftHiveMetastore_get_delegation_token_args__isset { _ThriftHiveMetastore_get_delegation_token_args__isset() : token_owner(false), renewer_kerberos_principal_name(false) {} - bool token_owner; - bool renewer_kerberos_principal_name; + bool token_owner :1; + bool renewer_kerberos_principal_name :1; } _ThriftHiveMetastore_get_delegation_token_args__isset; class ThriftHiveMetastore_get_delegation_token_args { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + + ThriftHiveMetastore_get_delegation_token_args(const ThriftHiveMetastore_get_delegation_token_args&); + ThriftHiveMetastore_get_delegation_token_args& operator=(const ThriftHiveMetastore_get_delegation_token_args&); ThriftHiveMetastore_get_delegation_token_args() : token_owner(), renewer_kerberos_principal_name() { } - virtual ~ThriftHiveMetastore_get_delegation_token_args() throw() {} - + virtual ~ThriftHiveMetastore_get_delegation_token_args() throw(); std::string token_owner; std::string renewer_kerberos_principal_name; _ThriftHiveMetastore_get_delegation_token_args__isset __isset; - void __set_token_owner(const std::string& val) { - token_owner = val; - } + void __set_token_owner(const std::string& val); - void __set_renewer_kerberos_principal_name(const std::string& val) { - renewer_kerberos_principal_name = val; - } + void __set_renewer_kerberos_principal_name(const std::string& val); bool operator == (const ThriftHiveMetastore_get_delegation_token_args & rhs) const { @@ -15148,48 +15788,52 @@ class ThriftHiveMetastore_get_delegation_token_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_delegation_token_args& obj); }; class ThriftHiveMetastore_get_delegation_token_pargs { public: + static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; + static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_delegation_token_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_delegation_token_pargs() throw(); const std::string* token_owner; const std::string* renewer_kerberos_principal_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_delegation_token_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_delegation_token_result__isset { _ThriftHiveMetastore_get_delegation_token_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_delegation_token_result__isset; class ThriftHiveMetastore_get_delegation_token_result { public: + static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; + + ThriftHiveMetastore_get_delegation_token_result(const ThriftHiveMetastore_get_delegation_token_result&); + ThriftHiveMetastore_get_delegation_token_result& operator=(const ThriftHiveMetastore_get_delegation_token_result&); ThriftHiveMetastore_get_delegation_token_result() : success() { } - virtual ~ThriftHiveMetastore_get_delegation_token_result() throw() {} - + virtual ~ThriftHiveMetastore_get_delegation_token_result() throw(); std::string success; MetaException o1; _ThriftHiveMetastore_get_delegation_token_result__isset __isset; - void __set_success(const std::string& val) { - success = val; - } + void __set_success(const std::string& val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_get_delegation_token_result & rhs) const { @@ -15208,20 +15852,23 @@ class ThriftHiveMetastore_get_delegation_token_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_delegation_token_result& obj); }; typedef struct _ThriftHiveMetastore_get_delegation_token_presult__isset { _ThriftHiveMetastore_get_delegation_token_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_get_delegation_token_presult__isset; class ThriftHiveMetastore_get_delegation_token_presult { public: + static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; + static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; - virtual ~ThriftHiveMetastore_get_delegation_token_presult() throw() {} + virtual ~ThriftHiveMetastore_get_delegation_token_presult() throw(); std::string* success; MetaException o1; @@ -15229,28 +15876,31 @@ class ThriftHiveMetastore_get_delegation_token_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_delegation_token_presult& obj); }; typedef struct _ThriftHiveMetastore_renew_delegation_token_args__isset { _ThriftHiveMetastore_renew_delegation_token_args__isset() : token_str_form(false) {} - bool token_str_form; + bool token_str_form :1; } _ThriftHiveMetastore_renew_delegation_token_args__isset; class ThriftHiveMetastore_renew_delegation_token_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_renew_delegation_token_args(const ThriftHiveMetastore_renew_delegation_token_args&); + ThriftHiveMetastore_renew_delegation_token_args& operator=(const ThriftHiveMetastore_renew_delegation_token_args&); ThriftHiveMetastore_renew_delegation_token_args() : token_str_form() { } - virtual ~ThriftHiveMetastore_renew_delegation_token_args() throw() {} - + virtual ~ThriftHiveMetastore_renew_delegation_token_args() throw(); std::string token_str_form; _ThriftHiveMetastore_renew_delegation_token_args__isset __isset; - void __set_token_str_form(const std::string& val) { - token_str_form = val; - } + void __set_token_str_form(const std::string& val); bool operator == (const ThriftHiveMetastore_renew_delegation_token_args & rhs) const { @@ -15267,47 +15917,51 @@ class ThriftHiveMetastore_renew_delegation_token_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_renew_delegation_token_args& obj); }; class ThriftHiveMetastore_renew_delegation_token_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_renew_delegation_token_pargs() throw() {} + virtual ~ThriftHiveMetastore_renew_delegation_token_pargs() throw(); const std::string* token_str_form; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_renew_delegation_token_pargs& obj); }; typedef struct _ThriftHiveMetastore_renew_delegation_token_result__isset { _ThriftHiveMetastore_renew_delegation_token_result__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_renew_delegation_token_result__isset; class ThriftHiveMetastore_renew_delegation_token_result { public: + static const char* ascii_fingerprint; // = "508103C02ABBB83FE53EB7316CA5F1B7"; + static const uint8_t binary_fingerprint[16]; // = {0x50,0x81,0x03,0xC0,0x2A,0xBB,0xB8,0x3F,0xE5,0x3E,0xB7,0x31,0x6C,0xA5,0xF1,0xB7}; + + ThriftHiveMetastore_renew_delegation_token_result(const ThriftHiveMetastore_renew_delegation_token_result&); + ThriftHiveMetastore_renew_delegation_token_result& operator=(const ThriftHiveMetastore_renew_delegation_token_result&); ThriftHiveMetastore_renew_delegation_token_result() : success(0) { } - virtual ~ThriftHiveMetastore_renew_delegation_token_result() throw() {} - + virtual ~ThriftHiveMetastore_renew_delegation_token_result() throw(); int64_t success; MetaException o1; _ThriftHiveMetastore_renew_delegation_token_result__isset __isset; - void __set_success(const int64_t val) { - success = val; - } + void __set_success(const int64_t val); - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_renew_delegation_token_result & rhs) const { @@ -15326,20 +15980,23 @@ class ThriftHiveMetastore_renew_delegation_token_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_renew_delegation_token_result& obj); }; typedef struct _ThriftHiveMetastore_renew_delegation_token_presult__isset { _ThriftHiveMetastore_renew_delegation_token_presult__isset() : success(false), o1(false) {} - bool success; - bool o1; + bool success :1; + bool o1 :1; } _ThriftHiveMetastore_renew_delegation_token_presult__isset; class ThriftHiveMetastore_renew_delegation_token_presult { public: + static const char* ascii_fingerprint; // = "508103C02ABBB83FE53EB7316CA5F1B7"; + static const uint8_t binary_fingerprint[16]; // = {0x50,0x81,0x03,0xC0,0x2A,0xBB,0xB8,0x3F,0xE5,0x3E,0xB7,0x31,0x6C,0xA5,0xF1,0xB7}; - virtual ~ThriftHiveMetastore_renew_delegation_token_presult() throw() {} + virtual ~ThriftHiveMetastore_renew_delegation_token_presult() throw(); int64_t* success; MetaException o1; @@ -15347,28 +16004,31 @@ class ThriftHiveMetastore_renew_delegation_token_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_renew_delegation_token_presult& obj); }; typedef struct _ThriftHiveMetastore_cancel_delegation_token_args__isset { _ThriftHiveMetastore_cancel_delegation_token_args__isset() : token_str_form(false) {} - bool token_str_form; + bool token_str_form :1; } _ThriftHiveMetastore_cancel_delegation_token_args__isset; class ThriftHiveMetastore_cancel_delegation_token_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHiveMetastore_cancel_delegation_token_args(const ThriftHiveMetastore_cancel_delegation_token_args&); + ThriftHiveMetastore_cancel_delegation_token_args& operator=(const ThriftHiveMetastore_cancel_delegation_token_args&); ThriftHiveMetastore_cancel_delegation_token_args() : token_str_form() { } - virtual ~ThriftHiveMetastore_cancel_delegation_token_args() throw() {} - + virtual ~ThriftHiveMetastore_cancel_delegation_token_args() throw(); std::string token_str_form; _ThriftHiveMetastore_cancel_delegation_token_args__isset __isset; - void __set_token_str_form(const std::string& val) { - token_str_form = val; - } + void __set_token_str_form(const std::string& val); bool operator == (const ThriftHiveMetastore_cancel_delegation_token_args & rhs) const { @@ -15385,41 +16045,47 @@ class ThriftHiveMetastore_cancel_delegation_token_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_cancel_delegation_token_args& obj); }; class ThriftHiveMetastore_cancel_delegation_token_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_cancel_delegation_token_pargs() throw() {} + virtual ~ThriftHiveMetastore_cancel_delegation_token_pargs() throw(); const std::string* token_str_form; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_cancel_delegation_token_pargs& obj); }; typedef struct _ThriftHiveMetastore_cancel_delegation_token_result__isset { _ThriftHiveMetastore_cancel_delegation_token_result__isset() : o1(false) {} - bool o1; + bool o1 :1; } _ThriftHiveMetastore_cancel_delegation_token_result__isset; class ThriftHiveMetastore_cancel_delegation_token_result { public: + static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; + static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; + + ThriftHiveMetastore_cancel_delegation_token_result(const ThriftHiveMetastore_cancel_delegation_token_result&); + ThriftHiveMetastore_cancel_delegation_token_result& operator=(const ThriftHiveMetastore_cancel_delegation_token_result&); ThriftHiveMetastore_cancel_delegation_token_result() { } - virtual ~ThriftHiveMetastore_cancel_delegation_token_result() throw() {} - + virtual ~ThriftHiveMetastore_cancel_delegation_token_result() throw(); MetaException o1; _ThriftHiveMetastore_cancel_delegation_token_result__isset __isset; - void __set_o1(const MetaException& val) { - o1 = val; - } + void __set_o1(const MetaException& val); bool operator == (const ThriftHiveMetastore_cancel_delegation_token_result & rhs) const { @@ -15436,36 +16102,44 @@ class ThriftHiveMetastore_cancel_delegation_token_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_cancel_delegation_token_result& obj); }; typedef struct _ThriftHiveMetastore_cancel_delegation_token_presult__isset { _ThriftHiveMetastore_cancel_delegation_token_presult__isset() : o1(false) {} - bool o1; + bool o1 :1; } _ThriftHiveMetastore_cancel_delegation_token_presult__isset; class ThriftHiveMetastore_cancel_delegation_token_presult { public: + static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; + static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - virtual ~ThriftHiveMetastore_cancel_delegation_token_presult() throw() {} + virtual ~ThriftHiveMetastore_cancel_delegation_token_presult() throw(); MetaException o1; _ThriftHiveMetastore_cancel_delegation_token_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_cancel_delegation_token_presult& obj); }; class ThriftHiveMetastore_get_open_txns_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHiveMetastore_get_open_txns_args(const ThriftHiveMetastore_get_open_txns_args&); + ThriftHiveMetastore_get_open_txns_args& operator=(const ThriftHiveMetastore_get_open_txns_args&); ThriftHiveMetastore_get_open_txns_args() { } - virtual ~ThriftHiveMetastore_get_open_txns_args() throw() {} - + virtual ~ThriftHiveMetastore_get_open_txns_args() throw(); bool operator == (const ThriftHiveMetastore_get_open_txns_args & /* rhs */) const { @@ -15480,40 +16154,46 @@ class ThriftHiveMetastore_get_open_txns_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_args& obj); }; class ThriftHiveMetastore_get_open_txns_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_get_open_txns_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_open_txns_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_open_txns_result__isset { _ThriftHiveMetastore_get_open_txns_result__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_get_open_txns_result__isset; class ThriftHiveMetastore_get_open_txns_result { public: + static const char* ascii_fingerprint; // = "20E9E10803C8C350560535B7C93B42C8"; + static const uint8_t binary_fingerprint[16]; // = {0x20,0xE9,0xE1,0x08,0x03,0xC8,0xC3,0x50,0x56,0x05,0x35,0xB7,0xC9,0x3B,0x42,0xC8}; + + ThriftHiveMetastore_get_open_txns_result(const ThriftHiveMetastore_get_open_txns_result&); + ThriftHiveMetastore_get_open_txns_result& operator=(const ThriftHiveMetastore_get_open_txns_result&); ThriftHiveMetastore_get_open_txns_result() { } - virtual ~ThriftHiveMetastore_get_open_txns_result() throw() {} - + virtual ~ThriftHiveMetastore_get_open_txns_result() throw(); GetOpenTxnsResponse success; _ThriftHiveMetastore_get_open_txns_result__isset __isset; - void __set_success(const GetOpenTxnsResponse& val) { - success = val; - } + void __set_success(const GetOpenTxnsResponse& val); bool operator == (const ThriftHiveMetastore_get_open_txns_result & rhs) const { @@ -15530,36 +16210,44 @@ class ThriftHiveMetastore_get_open_txns_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_result& obj); }; typedef struct _ThriftHiveMetastore_get_open_txns_presult__isset { _ThriftHiveMetastore_get_open_txns_presult__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_get_open_txns_presult__isset; class ThriftHiveMetastore_get_open_txns_presult { public: + static const char* ascii_fingerprint; // = "20E9E10803C8C350560535B7C93B42C8"; + static const uint8_t binary_fingerprint[16]; // = {0x20,0xE9,0xE1,0x08,0x03,0xC8,0xC3,0x50,0x56,0x05,0x35,0xB7,0xC9,0x3B,0x42,0xC8}; - virtual ~ThriftHiveMetastore_get_open_txns_presult() throw() {} + virtual ~ThriftHiveMetastore_get_open_txns_presult() throw(); GetOpenTxnsResponse* success; _ThriftHiveMetastore_get_open_txns_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_presult& obj); }; class ThriftHiveMetastore_get_open_txns_info_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHiveMetastore_get_open_txns_info_args(const ThriftHiveMetastore_get_open_txns_info_args&); + ThriftHiveMetastore_get_open_txns_info_args& operator=(const ThriftHiveMetastore_get_open_txns_info_args&); ThriftHiveMetastore_get_open_txns_info_args() { } - virtual ~ThriftHiveMetastore_get_open_txns_info_args() throw() {} - + virtual ~ThriftHiveMetastore_get_open_txns_info_args() throw(); bool operator == (const ThriftHiveMetastore_get_open_txns_info_args & /* rhs */) const { @@ -15574,40 +16262,46 @@ class ThriftHiveMetastore_get_open_txns_info_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_info_args& obj); }; class ThriftHiveMetastore_get_open_txns_info_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_get_open_txns_info_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_open_txns_info_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_info_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_open_txns_info_result__isset { _ThriftHiveMetastore_get_open_txns_info_result__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_get_open_txns_info_result__isset; class ThriftHiveMetastore_get_open_txns_info_result { public: + static const char* ascii_fingerprint; // = "9FCF4483C4C1109F97BD682C5B5EE933"; + static const uint8_t binary_fingerprint[16]; // = {0x9F,0xCF,0x44,0x83,0xC4,0xC1,0x10,0x9F,0x97,0xBD,0x68,0x2C,0x5B,0x5E,0xE9,0x33}; + + ThriftHiveMetastore_get_open_txns_info_result(const ThriftHiveMetastore_get_open_txns_info_result&); + ThriftHiveMetastore_get_open_txns_info_result& operator=(const ThriftHiveMetastore_get_open_txns_info_result&); ThriftHiveMetastore_get_open_txns_info_result() { } - virtual ~ThriftHiveMetastore_get_open_txns_info_result() throw() {} - + virtual ~ThriftHiveMetastore_get_open_txns_info_result() throw(); GetOpenTxnsInfoResponse success; _ThriftHiveMetastore_get_open_txns_info_result__isset __isset; - void __set_success(const GetOpenTxnsInfoResponse& val) { - success = val; - } + void __set_success(const GetOpenTxnsInfoResponse& val); bool operator == (const ThriftHiveMetastore_get_open_txns_info_result & rhs) const { @@ -15624,47 +16318,53 @@ class ThriftHiveMetastore_get_open_txns_info_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_info_result& obj); }; typedef struct _ThriftHiveMetastore_get_open_txns_info_presult__isset { _ThriftHiveMetastore_get_open_txns_info_presult__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_get_open_txns_info_presult__isset; class ThriftHiveMetastore_get_open_txns_info_presult { public: + static const char* ascii_fingerprint; // = "9FCF4483C4C1109F97BD682C5B5EE933"; + static const uint8_t binary_fingerprint[16]; // = {0x9F,0xCF,0x44,0x83,0xC4,0xC1,0x10,0x9F,0x97,0xBD,0x68,0x2C,0x5B,0x5E,0xE9,0x33}; - virtual ~ThriftHiveMetastore_get_open_txns_info_presult() throw() {} + virtual ~ThriftHiveMetastore_get_open_txns_info_presult() throw(); GetOpenTxnsInfoResponse* success; _ThriftHiveMetastore_get_open_txns_info_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_info_presult& obj); }; typedef struct _ThriftHiveMetastore_open_txns_args__isset { _ThriftHiveMetastore_open_txns_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_open_txns_args__isset; class ThriftHiveMetastore_open_txns_args { public: + static const char* ascii_fingerprint; // = "E1189B34A1EC4BE42D095561D48152BF"; + static const uint8_t binary_fingerprint[16]; // = {0xE1,0x18,0x9B,0x34,0xA1,0xEC,0x4B,0xE4,0x2D,0x09,0x55,0x61,0xD4,0x81,0x52,0xBF}; + + ThriftHiveMetastore_open_txns_args(const ThriftHiveMetastore_open_txns_args&); + ThriftHiveMetastore_open_txns_args& operator=(const ThriftHiveMetastore_open_txns_args&); ThriftHiveMetastore_open_txns_args() { } - virtual ~ThriftHiveMetastore_open_txns_args() throw() {} - + virtual ~ThriftHiveMetastore_open_txns_args() throw(); OpenTxnRequest rqst; _ThriftHiveMetastore_open_txns_args__isset __isset; - void __set_rqst(const OpenTxnRequest& val) { - rqst = val; - } + void __set_rqst(const OpenTxnRequest& val); bool operator == (const ThriftHiveMetastore_open_txns_args & rhs) const { @@ -15681,41 +16381,47 @@ class ThriftHiveMetastore_open_txns_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_open_txns_args& obj); }; class ThriftHiveMetastore_open_txns_pargs { public: + static const char* ascii_fingerprint; // = "E1189B34A1EC4BE42D095561D48152BF"; + static const uint8_t binary_fingerprint[16]; // = {0xE1,0x18,0x9B,0x34,0xA1,0xEC,0x4B,0xE4,0x2D,0x09,0x55,0x61,0xD4,0x81,0x52,0xBF}; - virtual ~ThriftHiveMetastore_open_txns_pargs() throw() {} + virtual ~ThriftHiveMetastore_open_txns_pargs() throw(); const OpenTxnRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_open_txns_pargs& obj); }; typedef struct _ThriftHiveMetastore_open_txns_result__isset { _ThriftHiveMetastore_open_txns_result__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_open_txns_result__isset; class ThriftHiveMetastore_open_txns_result { public: + static const char* ascii_fingerprint; // = "3E09A8B20F1B51D639D00D987F28C018"; + static const uint8_t binary_fingerprint[16]; // = {0x3E,0x09,0xA8,0xB2,0x0F,0x1B,0x51,0xD6,0x39,0xD0,0x0D,0x98,0x7F,0x28,0xC0,0x18}; + + ThriftHiveMetastore_open_txns_result(const ThriftHiveMetastore_open_txns_result&); + ThriftHiveMetastore_open_txns_result& operator=(const ThriftHiveMetastore_open_txns_result&); ThriftHiveMetastore_open_txns_result() { } - virtual ~ThriftHiveMetastore_open_txns_result() throw() {} - + virtual ~ThriftHiveMetastore_open_txns_result() throw(); OpenTxnsResponse success; _ThriftHiveMetastore_open_txns_result__isset __isset; - void __set_success(const OpenTxnsResponse& val) { - success = val; - } + void __set_success(const OpenTxnsResponse& val); bool operator == (const ThriftHiveMetastore_open_txns_result & rhs) const { @@ -15732,47 +16438,53 @@ class ThriftHiveMetastore_open_txns_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_open_txns_result& obj); }; typedef struct _ThriftHiveMetastore_open_txns_presult__isset { _ThriftHiveMetastore_open_txns_presult__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_open_txns_presult__isset; class ThriftHiveMetastore_open_txns_presult { public: + static const char* ascii_fingerprint; // = "3E09A8B20F1B51D639D00D987F28C018"; + static const uint8_t binary_fingerprint[16]; // = {0x3E,0x09,0xA8,0xB2,0x0F,0x1B,0x51,0xD6,0x39,0xD0,0x0D,0x98,0x7F,0x28,0xC0,0x18}; - virtual ~ThriftHiveMetastore_open_txns_presult() throw() {} + virtual ~ThriftHiveMetastore_open_txns_presult() throw(); OpenTxnsResponse* success; _ThriftHiveMetastore_open_txns_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_open_txns_presult& obj); }; typedef struct _ThriftHiveMetastore_abort_txn_args__isset { _ThriftHiveMetastore_abort_txn_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_abort_txn_args__isset; class ThriftHiveMetastore_abort_txn_args { public: + static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; + static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; + + ThriftHiveMetastore_abort_txn_args(const ThriftHiveMetastore_abort_txn_args&); + ThriftHiveMetastore_abort_txn_args& operator=(const ThriftHiveMetastore_abort_txn_args&); ThriftHiveMetastore_abort_txn_args() { } - virtual ~ThriftHiveMetastore_abort_txn_args() throw() {} - + virtual ~ThriftHiveMetastore_abort_txn_args() throw(); AbortTxnRequest rqst; _ThriftHiveMetastore_abort_txn_args__isset __isset; - void __set_rqst(const AbortTxnRequest& val) { - rqst = val; - } + void __set_rqst(const AbortTxnRequest& val); bool operator == (const ThriftHiveMetastore_abort_txn_args & rhs) const { @@ -15789,41 +16501,47 @@ class ThriftHiveMetastore_abort_txn_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_abort_txn_args& obj); }; class ThriftHiveMetastore_abort_txn_pargs { public: + static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; + static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - virtual ~ThriftHiveMetastore_abort_txn_pargs() throw() {} + virtual ~ThriftHiveMetastore_abort_txn_pargs() throw(); const AbortTxnRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_abort_txn_pargs& obj); }; typedef struct _ThriftHiveMetastore_abort_txn_result__isset { _ThriftHiveMetastore_abort_txn_result__isset() : o1(false) {} - bool o1; + bool o1 :1; } _ThriftHiveMetastore_abort_txn_result__isset; class ThriftHiveMetastore_abort_txn_result { public: + static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; + static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; + + ThriftHiveMetastore_abort_txn_result(const ThriftHiveMetastore_abort_txn_result&); + ThriftHiveMetastore_abort_txn_result& operator=(const ThriftHiveMetastore_abort_txn_result&); ThriftHiveMetastore_abort_txn_result() { } - virtual ~ThriftHiveMetastore_abort_txn_result() throw() {} - + virtual ~ThriftHiveMetastore_abort_txn_result() throw(); NoSuchTxnException o1; _ThriftHiveMetastore_abort_txn_result__isset __isset; - void __set_o1(const NoSuchTxnException& val) { - o1 = val; - } + void __set_o1(const NoSuchTxnException& val); bool operator == (const ThriftHiveMetastore_abort_txn_result & rhs) const { @@ -15840,47 +16558,53 @@ class ThriftHiveMetastore_abort_txn_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_abort_txn_result& obj); }; typedef struct _ThriftHiveMetastore_abort_txn_presult__isset { _ThriftHiveMetastore_abort_txn_presult__isset() : o1(false) {} - bool o1; + bool o1 :1; } _ThriftHiveMetastore_abort_txn_presult__isset; class ThriftHiveMetastore_abort_txn_presult { public: + static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; + static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - virtual ~ThriftHiveMetastore_abort_txn_presult() throw() {} + virtual ~ThriftHiveMetastore_abort_txn_presult() throw(); NoSuchTxnException o1; _ThriftHiveMetastore_abort_txn_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_abort_txn_presult& obj); }; typedef struct _ThriftHiveMetastore_commit_txn_args__isset { _ThriftHiveMetastore_commit_txn_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_commit_txn_args__isset; class ThriftHiveMetastore_commit_txn_args { public: + static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; + static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; + + ThriftHiveMetastore_commit_txn_args(const ThriftHiveMetastore_commit_txn_args&); + ThriftHiveMetastore_commit_txn_args& operator=(const ThriftHiveMetastore_commit_txn_args&); ThriftHiveMetastore_commit_txn_args() { } - virtual ~ThriftHiveMetastore_commit_txn_args() throw() {} - + virtual ~ThriftHiveMetastore_commit_txn_args() throw(); CommitTxnRequest rqst; _ThriftHiveMetastore_commit_txn_args__isset __isset; - void __set_rqst(const CommitTxnRequest& val) { - rqst = val; - } + void __set_rqst(const CommitTxnRequest& val); bool operator == (const ThriftHiveMetastore_commit_txn_args & rhs) const { @@ -15897,47 +16621,51 @@ class ThriftHiveMetastore_commit_txn_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_commit_txn_args& obj); }; class ThriftHiveMetastore_commit_txn_pargs { public: + static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; + static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - virtual ~ThriftHiveMetastore_commit_txn_pargs() throw() {} + virtual ~ThriftHiveMetastore_commit_txn_pargs() throw(); const CommitTxnRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_commit_txn_pargs& obj); }; typedef struct _ThriftHiveMetastore_commit_txn_result__isset { _ThriftHiveMetastore_commit_txn_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_commit_txn_result__isset; class ThriftHiveMetastore_commit_txn_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_commit_txn_result(const ThriftHiveMetastore_commit_txn_result&); + ThriftHiveMetastore_commit_txn_result& operator=(const ThriftHiveMetastore_commit_txn_result&); ThriftHiveMetastore_commit_txn_result() { } - virtual ~ThriftHiveMetastore_commit_txn_result() throw() {} - + virtual ~ThriftHiveMetastore_commit_txn_result() throw(); NoSuchTxnException o1; TxnAbortedException o2; _ThriftHiveMetastore_commit_txn_result__isset __isset; - void __set_o1(const NoSuchTxnException& val) { - o1 = val; - } + void __set_o1(const NoSuchTxnException& val); - void __set_o2(const TxnAbortedException& val) { - o2 = val; - } + void __set_o2(const TxnAbortedException& val); bool operator == (const ThriftHiveMetastore_commit_txn_result & rhs) const { @@ -15956,20 +16684,23 @@ class ThriftHiveMetastore_commit_txn_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_commit_txn_result& obj); }; typedef struct _ThriftHiveMetastore_commit_txn_presult__isset { _ThriftHiveMetastore_commit_txn_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_commit_txn_presult__isset; class ThriftHiveMetastore_commit_txn_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_commit_txn_presult() throw() {} + virtual ~ThriftHiveMetastore_commit_txn_presult() throw(); NoSuchTxnException o1; TxnAbortedException o2; @@ -15977,28 +16708,31 @@ class ThriftHiveMetastore_commit_txn_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_commit_txn_presult& obj); }; typedef struct _ThriftHiveMetastore_lock_args__isset { _ThriftHiveMetastore_lock_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_lock_args__isset; class ThriftHiveMetastore_lock_args { public: + static const char* ascii_fingerprint; // = "5213FA403E774267E44EF8AB37818A4C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0x13,0xFA,0x40,0x3E,0x77,0x42,0x67,0xE4,0x4E,0xF8,0xAB,0x37,0x81,0x8A,0x4C}; + + ThriftHiveMetastore_lock_args(const ThriftHiveMetastore_lock_args&); + ThriftHiveMetastore_lock_args& operator=(const ThriftHiveMetastore_lock_args&); ThriftHiveMetastore_lock_args() { } - virtual ~ThriftHiveMetastore_lock_args() throw() {} - + virtual ~ThriftHiveMetastore_lock_args() throw(); LockRequest rqst; _ThriftHiveMetastore_lock_args__isset __isset; - void __set_rqst(const LockRequest& val) { - rqst = val; - } + void __set_rqst(const LockRequest& val); bool operator == (const ThriftHiveMetastore_lock_args & rhs) const { @@ -16015,53 +16749,55 @@ class ThriftHiveMetastore_lock_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_lock_args& obj); }; class ThriftHiveMetastore_lock_pargs { public: + static const char* ascii_fingerprint; // = "5213FA403E774267E44EF8AB37818A4C"; + static const uint8_t binary_fingerprint[16]; // = {0x52,0x13,0xFA,0x40,0x3E,0x77,0x42,0x67,0xE4,0x4E,0xF8,0xAB,0x37,0x81,0x8A,0x4C}; - virtual ~ThriftHiveMetastore_lock_pargs() throw() {} + virtual ~ThriftHiveMetastore_lock_pargs() throw(); const LockRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_lock_pargs& obj); }; typedef struct _ThriftHiveMetastore_lock_result__isset { _ThriftHiveMetastore_lock_result__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_lock_result__isset; class ThriftHiveMetastore_lock_result { public: + static const char* ascii_fingerprint; // = "2727CCA9CB0804173B6D773D3A208311"; + static const uint8_t binary_fingerprint[16]; // = {0x27,0x27,0xCC,0xA9,0xCB,0x08,0x04,0x17,0x3B,0x6D,0x77,0x3D,0x3A,0x20,0x83,0x11}; + + ThriftHiveMetastore_lock_result(const ThriftHiveMetastore_lock_result&); + ThriftHiveMetastore_lock_result& operator=(const ThriftHiveMetastore_lock_result&); ThriftHiveMetastore_lock_result() { } - virtual ~ThriftHiveMetastore_lock_result() throw() {} - + virtual ~ThriftHiveMetastore_lock_result() throw(); LockResponse success; NoSuchTxnException o1; TxnAbortedException o2; _ThriftHiveMetastore_lock_result__isset __isset; - void __set_success(const LockResponse& val) { - success = val; - } + void __set_success(const LockResponse& val); - void __set_o1(const NoSuchTxnException& val) { - o1 = val; - } + void __set_o1(const NoSuchTxnException& val); - void __set_o2(const TxnAbortedException& val) { - o2 = val; - } + void __set_o2(const TxnAbortedException& val); bool operator == (const ThriftHiveMetastore_lock_result & rhs) const { @@ -16082,21 +16818,24 @@ class ThriftHiveMetastore_lock_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_lock_result& obj); }; typedef struct _ThriftHiveMetastore_lock_presult__isset { _ThriftHiveMetastore_lock_presult__isset() : success(false), o1(false), o2(false) {} - bool success; - bool o1; - bool o2; + bool success :1; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_lock_presult__isset; class ThriftHiveMetastore_lock_presult { public: + static const char* ascii_fingerprint; // = "2727CCA9CB0804173B6D773D3A208311"; + static const uint8_t binary_fingerprint[16]; // = {0x27,0x27,0xCC,0xA9,0xCB,0x08,0x04,0x17,0x3B,0x6D,0x77,0x3D,0x3A,0x20,0x83,0x11}; - virtual ~ThriftHiveMetastore_lock_presult() throw() {} + virtual ~ThriftHiveMetastore_lock_presult() throw(); LockResponse* success; NoSuchTxnException o1; TxnAbortedException o2; @@ -16105,28 +16844,31 @@ class ThriftHiveMetastore_lock_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_lock_presult& obj); }; typedef struct _ThriftHiveMetastore_check_lock_args__isset { _ThriftHiveMetastore_check_lock_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_check_lock_args__isset; class ThriftHiveMetastore_check_lock_args { public: + static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; + static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; + + ThriftHiveMetastore_check_lock_args(const ThriftHiveMetastore_check_lock_args&); + ThriftHiveMetastore_check_lock_args& operator=(const ThriftHiveMetastore_check_lock_args&); ThriftHiveMetastore_check_lock_args() { } - virtual ~ThriftHiveMetastore_check_lock_args() throw() {} - + virtual ~ThriftHiveMetastore_check_lock_args() throw(); CheckLockRequest rqst; _ThriftHiveMetastore_check_lock_args__isset __isset; - void __set_rqst(const CheckLockRequest& val) { - rqst = val; - } + void __set_rqst(const CheckLockRequest& val); bool operator == (const ThriftHiveMetastore_check_lock_args & rhs) const { @@ -16143,37 +16885,45 @@ class ThriftHiveMetastore_check_lock_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_check_lock_args& obj); }; class ThriftHiveMetastore_check_lock_pargs { public: + static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; + static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - virtual ~ThriftHiveMetastore_check_lock_pargs() throw() {} + virtual ~ThriftHiveMetastore_check_lock_pargs() throw(); const CheckLockRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_check_lock_pargs& obj); }; typedef struct _ThriftHiveMetastore_check_lock_result__isset { _ThriftHiveMetastore_check_lock_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_check_lock_result__isset; class ThriftHiveMetastore_check_lock_result { public: + static const char* ascii_fingerprint; // = "AB7C8CA24C9671EFDAEC0D3EC9DE8F97"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x7C,0x8C,0xA2,0x4C,0x96,0x71,0xEF,0xDA,0xEC,0x0D,0x3E,0xC9,0xDE,0x8F,0x97}; + + ThriftHiveMetastore_check_lock_result(const ThriftHiveMetastore_check_lock_result&); + ThriftHiveMetastore_check_lock_result& operator=(const ThriftHiveMetastore_check_lock_result&); ThriftHiveMetastore_check_lock_result() { } - virtual ~ThriftHiveMetastore_check_lock_result() throw() {} - + virtual ~ThriftHiveMetastore_check_lock_result() throw(); LockResponse success; NoSuchTxnException o1; TxnAbortedException o2; @@ -16181,21 +16931,13 @@ class ThriftHiveMetastore_check_lock_result { _ThriftHiveMetastore_check_lock_result__isset __isset; - void __set_success(const LockResponse& val) { - success = val; - } + void __set_success(const LockResponse& val); - void __set_o1(const NoSuchTxnException& val) { - o1 = val; - } + void __set_o1(const NoSuchTxnException& val); - void __set_o2(const TxnAbortedException& val) { - o2 = val; - } + void __set_o2(const TxnAbortedException& val); - void __set_o3(const NoSuchLockException& val) { - o3 = val; - } + void __set_o3(const NoSuchLockException& val); bool operator == (const ThriftHiveMetastore_check_lock_result & rhs) const { @@ -16218,22 +16960,25 @@ class ThriftHiveMetastore_check_lock_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_check_lock_result& obj); }; typedef struct _ThriftHiveMetastore_check_lock_presult__isset { _ThriftHiveMetastore_check_lock_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success; - bool o1; - bool o2; - bool o3; + bool success :1; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_check_lock_presult__isset; class ThriftHiveMetastore_check_lock_presult { public: + static const char* ascii_fingerprint; // = "AB7C8CA24C9671EFDAEC0D3EC9DE8F97"; + static const uint8_t binary_fingerprint[16]; // = {0xAB,0x7C,0x8C,0xA2,0x4C,0x96,0x71,0xEF,0xDA,0xEC,0x0D,0x3E,0xC9,0xDE,0x8F,0x97}; - virtual ~ThriftHiveMetastore_check_lock_presult() throw() {} + virtual ~ThriftHiveMetastore_check_lock_presult() throw(); LockResponse* success; NoSuchTxnException o1; TxnAbortedException o2; @@ -16243,28 +16988,31 @@ class ThriftHiveMetastore_check_lock_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_check_lock_presult& obj); }; typedef struct _ThriftHiveMetastore_unlock_args__isset { _ThriftHiveMetastore_unlock_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_unlock_args__isset; class ThriftHiveMetastore_unlock_args { public: + static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; + static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; + + ThriftHiveMetastore_unlock_args(const ThriftHiveMetastore_unlock_args&); + ThriftHiveMetastore_unlock_args& operator=(const ThriftHiveMetastore_unlock_args&); ThriftHiveMetastore_unlock_args() { } - virtual ~ThriftHiveMetastore_unlock_args() throw() {} - + virtual ~ThriftHiveMetastore_unlock_args() throw(); UnlockRequest rqst; _ThriftHiveMetastore_unlock_args__isset __isset; - void __set_rqst(const UnlockRequest& val) { - rqst = val; - } + void __set_rqst(const UnlockRequest& val); bool operator == (const ThriftHiveMetastore_unlock_args & rhs) const { @@ -16281,47 +17029,51 @@ class ThriftHiveMetastore_unlock_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_unlock_args& obj); }; class ThriftHiveMetastore_unlock_pargs { public: + static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; + static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - virtual ~ThriftHiveMetastore_unlock_pargs() throw() {} + virtual ~ThriftHiveMetastore_unlock_pargs() throw(); const UnlockRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_unlock_pargs& obj); }; typedef struct _ThriftHiveMetastore_unlock_result__isset { _ThriftHiveMetastore_unlock_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_unlock_result__isset; class ThriftHiveMetastore_unlock_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_unlock_result(const ThriftHiveMetastore_unlock_result&); + ThriftHiveMetastore_unlock_result& operator=(const ThriftHiveMetastore_unlock_result&); ThriftHiveMetastore_unlock_result() { } - virtual ~ThriftHiveMetastore_unlock_result() throw() {} - + virtual ~ThriftHiveMetastore_unlock_result() throw(); NoSuchLockException o1; TxnOpenException o2; _ThriftHiveMetastore_unlock_result__isset __isset; - void __set_o1(const NoSuchLockException& val) { - o1 = val; - } + void __set_o1(const NoSuchLockException& val); - void __set_o2(const TxnOpenException& val) { - o2 = val; - } + void __set_o2(const TxnOpenException& val); bool operator == (const ThriftHiveMetastore_unlock_result & rhs) const { @@ -16340,20 +17092,23 @@ class ThriftHiveMetastore_unlock_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_unlock_result& obj); }; typedef struct _ThriftHiveMetastore_unlock_presult__isset { _ThriftHiveMetastore_unlock_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_unlock_presult__isset; class ThriftHiveMetastore_unlock_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_unlock_presult() throw() {} + virtual ~ThriftHiveMetastore_unlock_presult() throw(); NoSuchLockException o1; TxnOpenException o2; @@ -16361,28 +17116,31 @@ class ThriftHiveMetastore_unlock_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_unlock_presult& obj); }; typedef struct _ThriftHiveMetastore_show_locks_args__isset { _ThriftHiveMetastore_show_locks_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_show_locks_args__isset; class ThriftHiveMetastore_show_locks_args { public: + static const char* ascii_fingerprint; // = "2C32A565725135A023CB591D1A993CFD"; + static const uint8_t binary_fingerprint[16]; // = {0x2C,0x32,0xA5,0x65,0x72,0x51,0x35,0xA0,0x23,0xCB,0x59,0x1D,0x1A,0x99,0x3C,0xFD}; + + ThriftHiveMetastore_show_locks_args(const ThriftHiveMetastore_show_locks_args&); + ThriftHiveMetastore_show_locks_args& operator=(const ThriftHiveMetastore_show_locks_args&); ThriftHiveMetastore_show_locks_args() { } - virtual ~ThriftHiveMetastore_show_locks_args() throw() {} - + virtual ~ThriftHiveMetastore_show_locks_args() throw(); ShowLocksRequest rqst; _ThriftHiveMetastore_show_locks_args__isset __isset; - void __set_rqst(const ShowLocksRequest& val) { - rqst = val; - } + void __set_rqst(const ShowLocksRequest& val); bool operator == (const ThriftHiveMetastore_show_locks_args & rhs) const { @@ -16399,41 +17157,47 @@ class ThriftHiveMetastore_show_locks_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_locks_args& obj); }; class ThriftHiveMetastore_show_locks_pargs { public: + static const char* ascii_fingerprint; // = "2C32A565725135A023CB591D1A993CFD"; + static const uint8_t binary_fingerprint[16]; // = {0x2C,0x32,0xA5,0x65,0x72,0x51,0x35,0xA0,0x23,0xCB,0x59,0x1D,0x1A,0x99,0x3C,0xFD}; - virtual ~ThriftHiveMetastore_show_locks_pargs() throw() {} + virtual ~ThriftHiveMetastore_show_locks_pargs() throw(); const ShowLocksRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_locks_pargs& obj); }; typedef struct _ThriftHiveMetastore_show_locks_result__isset { _ThriftHiveMetastore_show_locks_result__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_show_locks_result__isset; class ThriftHiveMetastore_show_locks_result { public: + static const char* ascii_fingerprint; // = "25A4CC42ED265B60DCAF08925DC3F8E6"; + static const uint8_t binary_fingerprint[16]; // = {0x25,0xA4,0xCC,0x42,0xED,0x26,0x5B,0x60,0xDC,0xAF,0x08,0x92,0x5D,0xC3,0xF8,0xE6}; + + ThriftHiveMetastore_show_locks_result(const ThriftHiveMetastore_show_locks_result&); + ThriftHiveMetastore_show_locks_result& operator=(const ThriftHiveMetastore_show_locks_result&); ThriftHiveMetastore_show_locks_result() { } - virtual ~ThriftHiveMetastore_show_locks_result() throw() {} - + virtual ~ThriftHiveMetastore_show_locks_result() throw(); ShowLocksResponse success; _ThriftHiveMetastore_show_locks_result__isset __isset; - void __set_success(const ShowLocksResponse& val) { - success = val; - } + void __set_success(const ShowLocksResponse& val); bool operator == (const ThriftHiveMetastore_show_locks_result & rhs) const { @@ -16450,47 +17214,53 @@ class ThriftHiveMetastore_show_locks_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_locks_result& obj); }; typedef struct _ThriftHiveMetastore_show_locks_presult__isset { _ThriftHiveMetastore_show_locks_presult__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_show_locks_presult__isset; class ThriftHiveMetastore_show_locks_presult { public: + static const char* ascii_fingerprint; // = "25A4CC42ED265B60DCAF08925DC3F8E6"; + static const uint8_t binary_fingerprint[16]; // = {0x25,0xA4,0xCC,0x42,0xED,0x26,0x5B,0x60,0xDC,0xAF,0x08,0x92,0x5D,0xC3,0xF8,0xE6}; - virtual ~ThriftHiveMetastore_show_locks_presult() throw() {} + virtual ~ThriftHiveMetastore_show_locks_presult() throw(); ShowLocksResponse* success; _ThriftHiveMetastore_show_locks_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_locks_presult& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_args__isset { _ThriftHiveMetastore_heartbeat_args__isset() : ids(false) {} - bool ids; + bool ids :1; } _ThriftHiveMetastore_heartbeat_args__isset; class ThriftHiveMetastore_heartbeat_args { public: + static const char* ascii_fingerprint; // = "FEFE57C0FA49DB87DD74D3DC1317EDB9"; + static const uint8_t binary_fingerprint[16]; // = {0xFE,0xFE,0x57,0xC0,0xFA,0x49,0xDB,0x87,0xDD,0x74,0xD3,0xDC,0x13,0x17,0xED,0xB9}; + + ThriftHiveMetastore_heartbeat_args(const ThriftHiveMetastore_heartbeat_args&); + ThriftHiveMetastore_heartbeat_args& operator=(const ThriftHiveMetastore_heartbeat_args&); ThriftHiveMetastore_heartbeat_args() { } - virtual ~ThriftHiveMetastore_heartbeat_args() throw() {} - + virtual ~ThriftHiveMetastore_heartbeat_args() throw(); HeartbeatRequest ids; _ThriftHiveMetastore_heartbeat_args__isset __isset; - void __set_ids(const HeartbeatRequest& val) { - ids = val; - } + void __set_ids(const HeartbeatRequest& val); bool operator == (const ThriftHiveMetastore_heartbeat_args & rhs) const { @@ -16507,53 +17277,55 @@ class ThriftHiveMetastore_heartbeat_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_args& obj); }; class ThriftHiveMetastore_heartbeat_pargs { public: + static const char* ascii_fingerprint; // = "FEFE57C0FA49DB87DD74D3DC1317EDB9"; + static const uint8_t binary_fingerprint[16]; // = {0xFE,0xFE,0x57,0xC0,0xFA,0x49,0xDB,0x87,0xDD,0x74,0xD3,0xDC,0x13,0x17,0xED,0xB9}; - virtual ~ThriftHiveMetastore_heartbeat_pargs() throw() {} + virtual ~ThriftHiveMetastore_heartbeat_pargs() throw(); const HeartbeatRequest* ids; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_pargs& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_result__isset { _ThriftHiveMetastore_heartbeat_result__isset() : o1(false), o2(false), o3(false) {} - bool o1; - bool o2; - bool o3; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_heartbeat_result__isset; class ThriftHiveMetastore_heartbeat_result { public: + static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; + static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; + + ThriftHiveMetastore_heartbeat_result(const ThriftHiveMetastore_heartbeat_result&); + ThriftHiveMetastore_heartbeat_result& operator=(const ThriftHiveMetastore_heartbeat_result&); ThriftHiveMetastore_heartbeat_result() { } - virtual ~ThriftHiveMetastore_heartbeat_result() throw() {} - + virtual ~ThriftHiveMetastore_heartbeat_result() throw(); NoSuchLockException o1; NoSuchTxnException o2; TxnAbortedException o3; _ThriftHiveMetastore_heartbeat_result__isset __isset; - void __set_o1(const NoSuchLockException& val) { - o1 = val; - } + void __set_o1(const NoSuchLockException& val); - void __set_o2(const NoSuchTxnException& val) { - o2 = val; - } + void __set_o2(const NoSuchTxnException& val); - void __set_o3(const TxnAbortedException& val) { - o3 = val; - } + void __set_o3(const TxnAbortedException& val); bool operator == (const ThriftHiveMetastore_heartbeat_result & rhs) const { @@ -16574,21 +17346,24 @@ class ThriftHiveMetastore_heartbeat_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_result& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_presult__isset { _ThriftHiveMetastore_heartbeat_presult__isset() : o1(false), o2(false), o3(false) {} - bool o1; - bool o2; - bool o3; + bool o1 :1; + bool o2 :1; + bool o3 :1; } _ThriftHiveMetastore_heartbeat_presult__isset; class ThriftHiveMetastore_heartbeat_presult { public: + static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; + static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; - virtual ~ThriftHiveMetastore_heartbeat_presult() throw() {} + virtual ~ThriftHiveMetastore_heartbeat_presult() throw(); NoSuchLockException o1; NoSuchTxnException o2; TxnAbortedException o3; @@ -16597,28 +17372,31 @@ class ThriftHiveMetastore_heartbeat_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_presult& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_txn_range_args__isset { _ThriftHiveMetastore_heartbeat_txn_range_args__isset() : txns(false) {} - bool txns; + bool txns :1; } _ThriftHiveMetastore_heartbeat_txn_range_args__isset; class ThriftHiveMetastore_heartbeat_txn_range_args { public: + static const char* ascii_fingerprint; // = "9CFE4A6581B5B8EB11F5BBBCEFA07940"; + static const uint8_t binary_fingerprint[16]; // = {0x9C,0xFE,0x4A,0x65,0x81,0xB5,0xB8,0xEB,0x11,0xF5,0xBB,0xBC,0xEF,0xA0,0x79,0x40}; + + ThriftHiveMetastore_heartbeat_txn_range_args(const ThriftHiveMetastore_heartbeat_txn_range_args&); + ThriftHiveMetastore_heartbeat_txn_range_args& operator=(const ThriftHiveMetastore_heartbeat_txn_range_args&); ThriftHiveMetastore_heartbeat_txn_range_args() { } - virtual ~ThriftHiveMetastore_heartbeat_txn_range_args() throw() {} - + virtual ~ThriftHiveMetastore_heartbeat_txn_range_args() throw(); HeartbeatTxnRangeRequest txns; _ThriftHiveMetastore_heartbeat_txn_range_args__isset __isset; - void __set_txns(const HeartbeatTxnRangeRequest& val) { - txns = val; - } + void __set_txns(const HeartbeatTxnRangeRequest& val); bool operator == (const ThriftHiveMetastore_heartbeat_txn_range_args & rhs) const { @@ -16635,41 +17413,47 @@ class ThriftHiveMetastore_heartbeat_txn_range_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_txn_range_args& obj); }; class ThriftHiveMetastore_heartbeat_txn_range_pargs { public: + static const char* ascii_fingerprint; // = "9CFE4A6581B5B8EB11F5BBBCEFA07940"; + static const uint8_t binary_fingerprint[16]; // = {0x9C,0xFE,0x4A,0x65,0x81,0xB5,0xB8,0xEB,0x11,0xF5,0xBB,0xBC,0xEF,0xA0,0x79,0x40}; - virtual ~ThriftHiveMetastore_heartbeat_txn_range_pargs() throw() {} + virtual ~ThriftHiveMetastore_heartbeat_txn_range_pargs() throw(); const HeartbeatTxnRangeRequest* txns; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_txn_range_pargs& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_txn_range_result__isset { _ThriftHiveMetastore_heartbeat_txn_range_result__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_heartbeat_txn_range_result__isset; class ThriftHiveMetastore_heartbeat_txn_range_result { public: + static const char* ascii_fingerprint; // = "BDFE4A5BFB98F599D92BB031157184E8"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xFE,0x4A,0x5B,0xFB,0x98,0xF5,0x99,0xD9,0x2B,0xB0,0x31,0x15,0x71,0x84,0xE8}; + + ThriftHiveMetastore_heartbeat_txn_range_result(const ThriftHiveMetastore_heartbeat_txn_range_result&); + ThriftHiveMetastore_heartbeat_txn_range_result& operator=(const ThriftHiveMetastore_heartbeat_txn_range_result&); ThriftHiveMetastore_heartbeat_txn_range_result() { } - virtual ~ThriftHiveMetastore_heartbeat_txn_range_result() throw() {} - + virtual ~ThriftHiveMetastore_heartbeat_txn_range_result() throw(); HeartbeatTxnRangeResponse success; _ThriftHiveMetastore_heartbeat_txn_range_result__isset __isset; - void __set_success(const HeartbeatTxnRangeResponse& val) { - success = val; - } + void __set_success(const HeartbeatTxnRangeResponse& val); bool operator == (const ThriftHiveMetastore_heartbeat_txn_range_result & rhs) const { @@ -16686,47 +17470,53 @@ class ThriftHiveMetastore_heartbeat_txn_range_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_txn_range_result& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_txn_range_presult__isset { _ThriftHiveMetastore_heartbeat_txn_range_presult__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_heartbeat_txn_range_presult__isset; class ThriftHiveMetastore_heartbeat_txn_range_presult { public: + static const char* ascii_fingerprint; // = "BDFE4A5BFB98F599D92BB031157184E8"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xFE,0x4A,0x5B,0xFB,0x98,0xF5,0x99,0xD9,0x2B,0xB0,0x31,0x15,0x71,0x84,0xE8}; - virtual ~ThriftHiveMetastore_heartbeat_txn_range_presult() throw() {} + virtual ~ThriftHiveMetastore_heartbeat_txn_range_presult() throw(); HeartbeatTxnRangeResponse* success; _ThriftHiveMetastore_heartbeat_txn_range_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_txn_range_presult& obj); }; typedef struct _ThriftHiveMetastore_compact_args__isset { _ThriftHiveMetastore_compact_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_compact_args__isset; class ThriftHiveMetastore_compact_args { public: + static const char* ascii_fingerprint; // = "503A2889174BA51BACBA68520737384F"; + static const uint8_t binary_fingerprint[16]; // = {0x50,0x3A,0x28,0x89,0x17,0x4B,0xA5,0x1B,0xAC,0xBA,0x68,0x52,0x07,0x37,0x38,0x4F}; + + ThriftHiveMetastore_compact_args(const ThriftHiveMetastore_compact_args&); + ThriftHiveMetastore_compact_args& operator=(const ThriftHiveMetastore_compact_args&); ThriftHiveMetastore_compact_args() { } - virtual ~ThriftHiveMetastore_compact_args() throw() {} - + virtual ~ThriftHiveMetastore_compact_args() throw(); CompactionRequest rqst; _ThriftHiveMetastore_compact_args__isset __isset; - void __set_rqst(const CompactionRequest& val) { - rqst = val; - } + void __set_rqst(const CompactionRequest& val); bool operator == (const ThriftHiveMetastore_compact_args & rhs) const { @@ -16743,30 +17533,38 @@ class ThriftHiveMetastore_compact_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_compact_args& obj); }; class ThriftHiveMetastore_compact_pargs { public: + static const char* ascii_fingerprint; // = "503A2889174BA51BACBA68520737384F"; + static const uint8_t binary_fingerprint[16]; // = {0x50,0x3A,0x28,0x89,0x17,0x4B,0xA5,0x1B,0xAC,0xBA,0x68,0x52,0x07,0x37,0x38,0x4F}; - virtual ~ThriftHiveMetastore_compact_pargs() throw() {} + virtual ~ThriftHiveMetastore_compact_pargs() throw(); const CompactionRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_compact_pargs& obj); }; class ThriftHiveMetastore_compact_result { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHiveMetastore_compact_result(const ThriftHiveMetastore_compact_result&); + ThriftHiveMetastore_compact_result& operator=(const ThriftHiveMetastore_compact_result&); ThriftHiveMetastore_compact_result() { } - virtual ~ThriftHiveMetastore_compact_result() throw() {} - + virtual ~ThriftHiveMetastore_compact_result() throw(); bool operator == (const ThriftHiveMetastore_compact_result & /* rhs */) const { @@ -16781,40 +17579,46 @@ class ThriftHiveMetastore_compact_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_compact_result& obj); }; class ThriftHiveMetastore_compact_presult { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_compact_presult() throw() {} + virtual ~ThriftHiveMetastore_compact_presult() throw(); uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_compact_presult& obj); }; typedef struct _ThriftHiveMetastore_show_compact_args__isset { _ThriftHiveMetastore_show_compact_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_show_compact_args__isset; class ThriftHiveMetastore_show_compact_args { public: + static const char* ascii_fingerprint; // = "2C32A565725135A023CB591D1A993CFD"; + static const uint8_t binary_fingerprint[16]; // = {0x2C,0x32,0xA5,0x65,0x72,0x51,0x35,0xA0,0x23,0xCB,0x59,0x1D,0x1A,0x99,0x3C,0xFD}; + + ThriftHiveMetastore_show_compact_args(const ThriftHiveMetastore_show_compact_args&); + ThriftHiveMetastore_show_compact_args& operator=(const ThriftHiveMetastore_show_compact_args&); ThriftHiveMetastore_show_compact_args() { } - virtual ~ThriftHiveMetastore_show_compact_args() throw() {} - + virtual ~ThriftHiveMetastore_show_compact_args() throw(); ShowCompactRequest rqst; _ThriftHiveMetastore_show_compact_args__isset __isset; - void __set_rqst(const ShowCompactRequest& val) { - rqst = val; - } + void __set_rqst(const ShowCompactRequest& val); bool operator == (const ThriftHiveMetastore_show_compact_args & rhs) const { @@ -16831,41 +17635,47 @@ class ThriftHiveMetastore_show_compact_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_compact_args& obj); }; class ThriftHiveMetastore_show_compact_pargs { public: + static const char* ascii_fingerprint; // = "2C32A565725135A023CB591D1A993CFD"; + static const uint8_t binary_fingerprint[16]; // = {0x2C,0x32,0xA5,0x65,0x72,0x51,0x35,0xA0,0x23,0xCB,0x59,0x1D,0x1A,0x99,0x3C,0xFD}; - virtual ~ThriftHiveMetastore_show_compact_pargs() throw() {} + virtual ~ThriftHiveMetastore_show_compact_pargs() throw(); const ShowCompactRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_compact_pargs& obj); }; typedef struct _ThriftHiveMetastore_show_compact_result__isset { _ThriftHiveMetastore_show_compact_result__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_show_compact_result__isset; class ThriftHiveMetastore_show_compact_result { public: + static const char* ascii_fingerprint; // = "9B07BE1B4EB63FA7028D4720A9C3C30C"; + static const uint8_t binary_fingerprint[16]; // = {0x9B,0x07,0xBE,0x1B,0x4E,0xB6,0x3F,0xA7,0x02,0x8D,0x47,0x20,0xA9,0xC3,0xC3,0x0C}; + + ThriftHiveMetastore_show_compact_result(const ThriftHiveMetastore_show_compact_result&); + ThriftHiveMetastore_show_compact_result& operator=(const ThriftHiveMetastore_show_compact_result&); ThriftHiveMetastore_show_compact_result() { } - virtual ~ThriftHiveMetastore_show_compact_result() throw() {} - + virtual ~ThriftHiveMetastore_show_compact_result() throw(); ShowCompactResponse success; _ThriftHiveMetastore_show_compact_result__isset __isset; - void __set_success(const ShowCompactResponse& val) { - success = val; - } + void __set_success(const ShowCompactResponse& val); bool operator == (const ThriftHiveMetastore_show_compact_result & rhs) const { @@ -16882,47 +17692,53 @@ class ThriftHiveMetastore_show_compact_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_compact_result& obj); }; typedef struct _ThriftHiveMetastore_show_compact_presult__isset { _ThriftHiveMetastore_show_compact_presult__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_show_compact_presult__isset; class ThriftHiveMetastore_show_compact_presult { public: + static const char* ascii_fingerprint; // = "9B07BE1B4EB63FA7028D4720A9C3C30C"; + static const uint8_t binary_fingerprint[16]; // = {0x9B,0x07,0xBE,0x1B,0x4E,0xB6,0x3F,0xA7,0x02,0x8D,0x47,0x20,0xA9,0xC3,0xC3,0x0C}; - virtual ~ThriftHiveMetastore_show_compact_presult() throw() {} + virtual ~ThriftHiveMetastore_show_compact_presult() throw(); ShowCompactResponse* success; _ThriftHiveMetastore_show_compact_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_compact_presult& obj); }; typedef struct _ThriftHiveMetastore_add_dynamic_partitions_args__isset { _ThriftHiveMetastore_add_dynamic_partitions_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_add_dynamic_partitions_args__isset; class ThriftHiveMetastore_add_dynamic_partitions_args { public: + static const char* ascii_fingerprint; // = "F9CCCF0E4555358EC5B7E6822832A061"; + static const uint8_t binary_fingerprint[16]; // = {0xF9,0xCC,0xCF,0x0E,0x45,0x55,0x35,0x8E,0xC5,0xB7,0xE6,0x82,0x28,0x32,0xA0,0x61}; + + ThriftHiveMetastore_add_dynamic_partitions_args(const ThriftHiveMetastore_add_dynamic_partitions_args&); + ThriftHiveMetastore_add_dynamic_partitions_args& operator=(const ThriftHiveMetastore_add_dynamic_partitions_args&); ThriftHiveMetastore_add_dynamic_partitions_args() { } - virtual ~ThriftHiveMetastore_add_dynamic_partitions_args() throw() {} - + virtual ~ThriftHiveMetastore_add_dynamic_partitions_args() throw(); AddDynamicPartitions rqst; _ThriftHiveMetastore_add_dynamic_partitions_args__isset __isset; - void __set_rqst(const AddDynamicPartitions& val) { - rqst = val; - } + void __set_rqst(const AddDynamicPartitions& val); bool operator == (const ThriftHiveMetastore_add_dynamic_partitions_args & rhs) const { @@ -16939,47 +17755,51 @@ class ThriftHiveMetastore_add_dynamic_partitions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_dynamic_partitions_args& obj); }; class ThriftHiveMetastore_add_dynamic_partitions_pargs { public: + static const char* ascii_fingerprint; // = "F9CCCF0E4555358EC5B7E6822832A061"; + static const uint8_t binary_fingerprint[16]; // = {0xF9,0xCC,0xCF,0x0E,0x45,0x55,0x35,0x8E,0xC5,0xB7,0xE6,0x82,0x28,0x32,0xA0,0x61}; - virtual ~ThriftHiveMetastore_add_dynamic_partitions_pargs() throw() {} + virtual ~ThriftHiveMetastore_add_dynamic_partitions_pargs() throw(); const AddDynamicPartitions* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_dynamic_partitions_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_dynamic_partitions_result__isset { _ThriftHiveMetastore_add_dynamic_partitions_result__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_add_dynamic_partitions_result__isset; class ThriftHiveMetastore_add_dynamic_partitions_result { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; + + ThriftHiveMetastore_add_dynamic_partitions_result(const ThriftHiveMetastore_add_dynamic_partitions_result&); + ThriftHiveMetastore_add_dynamic_partitions_result& operator=(const ThriftHiveMetastore_add_dynamic_partitions_result&); ThriftHiveMetastore_add_dynamic_partitions_result() { } - virtual ~ThriftHiveMetastore_add_dynamic_partitions_result() throw() {} - + virtual ~ThriftHiveMetastore_add_dynamic_partitions_result() throw(); NoSuchTxnException o1; TxnAbortedException o2; _ThriftHiveMetastore_add_dynamic_partitions_result__isset __isset; - void __set_o1(const NoSuchTxnException& val) { - o1 = val; - } + void __set_o1(const NoSuchTxnException& val); - void __set_o2(const TxnAbortedException& val) { - o2 = val; - } + void __set_o2(const TxnAbortedException& val); bool operator == (const ThriftHiveMetastore_add_dynamic_partitions_result & rhs) const { @@ -16998,20 +17818,23 @@ class ThriftHiveMetastore_add_dynamic_partitions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_dynamic_partitions_result& obj); }; typedef struct _ThriftHiveMetastore_add_dynamic_partitions_presult__isset { _ThriftHiveMetastore_add_dynamic_partitions_presult__isset() : o1(false), o2(false) {} - bool o1; - bool o2; + bool o1 :1; + bool o2 :1; } _ThriftHiveMetastore_add_dynamic_partitions_presult__isset; class ThriftHiveMetastore_add_dynamic_partitions_presult { public: + static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; + static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_add_dynamic_partitions_presult() throw() {} + virtual ~ThriftHiveMetastore_add_dynamic_partitions_presult() throw(); NoSuchTxnException o1; TxnAbortedException o2; @@ -17019,28 +17842,31 @@ class ThriftHiveMetastore_add_dynamic_partitions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_dynamic_partitions_presult& obj); }; typedef struct _ThriftHiveMetastore_get_next_notification_args__isset { _ThriftHiveMetastore_get_next_notification_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_get_next_notification_args__isset; class ThriftHiveMetastore_get_next_notification_args { public: + static const char* ascii_fingerprint; // = "BCBD918FD33E7FB950D0F393C08EC4E7"; + static const uint8_t binary_fingerprint[16]; // = {0xBC,0xBD,0x91,0x8F,0xD3,0x3E,0x7F,0xB9,0x50,0xD0,0xF3,0x93,0xC0,0x8E,0xC4,0xE7}; + + ThriftHiveMetastore_get_next_notification_args(const ThriftHiveMetastore_get_next_notification_args&); + ThriftHiveMetastore_get_next_notification_args& operator=(const ThriftHiveMetastore_get_next_notification_args&); ThriftHiveMetastore_get_next_notification_args() { } - virtual ~ThriftHiveMetastore_get_next_notification_args() throw() {} - + virtual ~ThriftHiveMetastore_get_next_notification_args() throw(); NotificationEventRequest rqst; _ThriftHiveMetastore_get_next_notification_args__isset __isset; - void __set_rqst(const NotificationEventRequest& val) { - rqst = val; - } + void __set_rqst(const NotificationEventRequest& val); bool operator == (const ThriftHiveMetastore_get_next_notification_args & rhs) const { @@ -17057,41 +17883,47 @@ class ThriftHiveMetastore_get_next_notification_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_next_notification_args& obj); }; class ThriftHiveMetastore_get_next_notification_pargs { public: + static const char* ascii_fingerprint; // = "BCBD918FD33E7FB950D0F393C08EC4E7"; + static const uint8_t binary_fingerprint[16]; // = {0xBC,0xBD,0x91,0x8F,0xD3,0x3E,0x7F,0xB9,0x50,0xD0,0xF3,0x93,0xC0,0x8E,0xC4,0xE7}; - virtual ~ThriftHiveMetastore_get_next_notification_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_next_notification_pargs() throw(); const NotificationEventRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_next_notification_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_next_notification_result__isset { _ThriftHiveMetastore_get_next_notification_result__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_get_next_notification_result__isset; class ThriftHiveMetastore_get_next_notification_result { public: + static const char* ascii_fingerprint; // = "1A91DEA4AAEC536BE33C3FFAAE932C89"; + static const uint8_t binary_fingerprint[16]; // = {0x1A,0x91,0xDE,0xA4,0xAA,0xEC,0x53,0x6B,0xE3,0x3C,0x3F,0xFA,0xAE,0x93,0x2C,0x89}; + + ThriftHiveMetastore_get_next_notification_result(const ThriftHiveMetastore_get_next_notification_result&); + ThriftHiveMetastore_get_next_notification_result& operator=(const ThriftHiveMetastore_get_next_notification_result&); ThriftHiveMetastore_get_next_notification_result() { } - virtual ~ThriftHiveMetastore_get_next_notification_result() throw() {} - + virtual ~ThriftHiveMetastore_get_next_notification_result() throw(); NotificationEventResponse success; _ThriftHiveMetastore_get_next_notification_result__isset __isset; - void __set_success(const NotificationEventResponse& val) { - success = val; - } + void __set_success(const NotificationEventResponse& val); bool operator == (const ThriftHiveMetastore_get_next_notification_result & rhs) const { @@ -17108,36 +17940,44 @@ class ThriftHiveMetastore_get_next_notification_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_next_notification_result& obj); }; typedef struct _ThriftHiveMetastore_get_next_notification_presult__isset { _ThriftHiveMetastore_get_next_notification_presult__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_get_next_notification_presult__isset; class ThriftHiveMetastore_get_next_notification_presult { public: + static const char* ascii_fingerprint; // = "1A91DEA4AAEC536BE33C3FFAAE932C89"; + static const uint8_t binary_fingerprint[16]; // = {0x1A,0x91,0xDE,0xA4,0xAA,0xEC,0x53,0x6B,0xE3,0x3C,0x3F,0xFA,0xAE,0x93,0x2C,0x89}; - virtual ~ThriftHiveMetastore_get_next_notification_presult() throw() {} + virtual ~ThriftHiveMetastore_get_next_notification_presult() throw(); NotificationEventResponse* success; _ThriftHiveMetastore_get_next_notification_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_next_notification_presult& obj); }; class ThriftHiveMetastore_get_current_notificationEventId_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHiveMetastore_get_current_notificationEventId_args(const ThriftHiveMetastore_get_current_notificationEventId_args&); + ThriftHiveMetastore_get_current_notificationEventId_args& operator=(const ThriftHiveMetastore_get_current_notificationEventId_args&); ThriftHiveMetastore_get_current_notificationEventId_args() { } - virtual ~ThriftHiveMetastore_get_current_notificationEventId_args() throw() {} - + virtual ~ThriftHiveMetastore_get_current_notificationEventId_args() throw(); bool operator == (const ThriftHiveMetastore_get_current_notificationEventId_args & /* rhs */) const { @@ -17152,40 +17992,46 @@ class ThriftHiveMetastore_get_current_notificationEventId_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_current_notificationEventId_args& obj); }; class ThriftHiveMetastore_get_current_notificationEventId_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_get_current_notificationEventId_pargs() throw() {} + virtual ~ThriftHiveMetastore_get_current_notificationEventId_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_current_notificationEventId_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_current_notificationEventId_result__isset { _ThriftHiveMetastore_get_current_notificationEventId_result__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_get_current_notificationEventId_result__isset; class ThriftHiveMetastore_get_current_notificationEventId_result { public: + static const char* ascii_fingerprint; // = "9557E28B62698C3C53496865CD968D13"; + static const uint8_t binary_fingerprint[16]; // = {0x95,0x57,0xE2,0x8B,0x62,0x69,0x8C,0x3C,0x53,0x49,0x68,0x65,0xCD,0x96,0x8D,0x13}; + + ThriftHiveMetastore_get_current_notificationEventId_result(const ThriftHiveMetastore_get_current_notificationEventId_result&); + ThriftHiveMetastore_get_current_notificationEventId_result& operator=(const ThriftHiveMetastore_get_current_notificationEventId_result&); ThriftHiveMetastore_get_current_notificationEventId_result() { } - virtual ~ThriftHiveMetastore_get_current_notificationEventId_result() throw() {} - + virtual ~ThriftHiveMetastore_get_current_notificationEventId_result() throw(); CurrentNotificationEventId success; _ThriftHiveMetastore_get_current_notificationEventId_result__isset __isset; - void __set_success(const CurrentNotificationEventId& val) { - success = val; - } + void __set_success(const CurrentNotificationEventId& val); bool operator == (const ThriftHiveMetastore_get_current_notificationEventId_result & rhs) const { @@ -17202,47 +18048,53 @@ class ThriftHiveMetastore_get_current_notificationEventId_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_current_notificationEventId_result& obj); }; typedef struct _ThriftHiveMetastore_get_current_notificationEventId_presult__isset { _ThriftHiveMetastore_get_current_notificationEventId_presult__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_get_current_notificationEventId_presult__isset; class ThriftHiveMetastore_get_current_notificationEventId_presult { public: + static const char* ascii_fingerprint; // = "9557E28B62698C3C53496865CD968D13"; + static const uint8_t binary_fingerprint[16]; // = {0x95,0x57,0xE2,0x8B,0x62,0x69,0x8C,0x3C,0x53,0x49,0x68,0x65,0xCD,0x96,0x8D,0x13}; - virtual ~ThriftHiveMetastore_get_current_notificationEventId_presult() throw() {} + virtual ~ThriftHiveMetastore_get_current_notificationEventId_presult() throw(); CurrentNotificationEventId* success; _ThriftHiveMetastore_get_current_notificationEventId_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_current_notificationEventId_presult& obj); }; typedef struct _ThriftHiveMetastore_fire_listener_event_args__isset { _ThriftHiveMetastore_fire_listener_event_args__isset() : rqst(false) {} - bool rqst; + bool rqst :1; } _ThriftHiveMetastore_fire_listener_event_args__isset; class ThriftHiveMetastore_fire_listener_event_args { public: + static const char* ascii_fingerprint; // = "5A5B8926FE793D19D64602013DB1A0E7"; + static const uint8_t binary_fingerprint[16]; // = {0x5A,0x5B,0x89,0x26,0xFE,0x79,0x3D,0x19,0xD6,0x46,0x02,0x01,0x3D,0xB1,0xA0,0xE7}; + + ThriftHiveMetastore_fire_listener_event_args(const ThriftHiveMetastore_fire_listener_event_args&); + ThriftHiveMetastore_fire_listener_event_args& operator=(const ThriftHiveMetastore_fire_listener_event_args&); ThriftHiveMetastore_fire_listener_event_args() { } - virtual ~ThriftHiveMetastore_fire_listener_event_args() throw() {} - + virtual ~ThriftHiveMetastore_fire_listener_event_args() throw(); FireEventRequest rqst; _ThriftHiveMetastore_fire_listener_event_args__isset __isset; - void __set_rqst(const FireEventRequest& val) { - rqst = val; - } + void __set_rqst(const FireEventRequest& val); bool operator == (const ThriftHiveMetastore_fire_listener_event_args & rhs) const { @@ -17259,41 +18111,47 @@ class ThriftHiveMetastore_fire_listener_event_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_fire_listener_event_args& obj); }; class ThriftHiveMetastore_fire_listener_event_pargs { public: + static const char* ascii_fingerprint; // = "5A5B8926FE793D19D64602013DB1A0E7"; + static const uint8_t binary_fingerprint[16]; // = {0x5A,0x5B,0x89,0x26,0xFE,0x79,0x3D,0x19,0xD6,0x46,0x02,0x01,0x3D,0xB1,0xA0,0xE7}; - virtual ~ThriftHiveMetastore_fire_listener_event_pargs() throw() {} + virtual ~ThriftHiveMetastore_fire_listener_event_pargs() throw(); const FireEventRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_fire_listener_event_pargs& obj); }; typedef struct _ThriftHiveMetastore_fire_listener_event_result__isset { _ThriftHiveMetastore_fire_listener_event_result__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_fire_listener_event_result__isset; class ThriftHiveMetastore_fire_listener_event_result { public: + static const char* ascii_fingerprint; // = "3A26B8DD823AB72F2FE94404F3D36070"; + static const uint8_t binary_fingerprint[16]; // = {0x3A,0x26,0xB8,0xDD,0x82,0x3A,0xB7,0x2F,0x2F,0xE9,0x44,0x04,0xF3,0xD3,0x60,0x70}; + + ThriftHiveMetastore_fire_listener_event_result(const ThriftHiveMetastore_fire_listener_event_result&); + ThriftHiveMetastore_fire_listener_event_result& operator=(const ThriftHiveMetastore_fire_listener_event_result&); ThriftHiveMetastore_fire_listener_event_result() { } - virtual ~ThriftHiveMetastore_fire_listener_event_result() throw() {} - + virtual ~ThriftHiveMetastore_fire_listener_event_result() throw(); FireEventResponse success; _ThriftHiveMetastore_fire_listener_event_result__isset __isset; - void __set_success(const FireEventResponse& val) { - success = val; - } + void __set_success(const FireEventResponse& val); bool operator == (const ThriftHiveMetastore_fire_listener_event_result & rhs) const { @@ -17310,33 +18168,36 @@ class ThriftHiveMetastore_fire_listener_event_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_fire_listener_event_result& obj); }; typedef struct _ThriftHiveMetastore_fire_listener_event_presult__isset { _ThriftHiveMetastore_fire_listener_event_presult__isset() : success(false) {} - bool success; + bool success :1; } _ThriftHiveMetastore_fire_listener_event_presult__isset; class ThriftHiveMetastore_fire_listener_event_presult { public: + static const char* ascii_fingerprint; // = "3A26B8DD823AB72F2FE94404F3D36070"; + static const uint8_t binary_fingerprint[16]; // = {0x3A,0x26,0xB8,0xDD,0x82,0x3A,0xB7,0x2F,0x2F,0xE9,0x44,0x04,0xF3,0xD3,0x60,0x70}; - virtual ~ThriftHiveMetastore_fire_listener_event_presult() throw() {} + virtual ~ThriftHiveMetastore_fire_listener_event_presult() throw(); FireEventResponse* success; _ThriftHiveMetastore_fire_listener_event_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_fire_listener_event_presult& obj); }; class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public ::facebook::fb303::FacebookServiceClient { public: ThriftHiveMetastoreClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) : ::facebook::fb303::FacebookServiceClient(prot, prot) {} - ThriftHiveMetastoreClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) : - ::facebook::fb303::FacebookServiceClient(iprot, oprot) {} + ThriftHiveMetastoreClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) : ::facebook::fb303::FacebookServiceClient(iprot, oprot) {} boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() { return piprot_; } @@ -17607,6 +18468,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 +18674,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 +18802,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 +19715,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 a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index f5bd788..0afcf8c 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ b/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 a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp index c7bf9ba..f61ac7d 100644 --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h index 35a8a50..c95fec1 100644 --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index d405446..57c3477 100644 --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,6 +7,9 @@ #include "hive_metastore_types.h" #include +#include + +#include namespace Apache { namespace Hadoop { namespace Hive { @@ -148,6 +151,19 @@ const char* _kResourceTypeNames[] = { }; const std::map _ResourceType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(3, _kResourceTypeValues, _kResourceTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL)); + +Version::~Version() throw() { +} + + +void Version::__set_version(const std::string& val) { + this->version = val; +} + +void Version::__set_comments(const std::string& val) { + this->comments = val; +} + const char* Version::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972"; const uint8_t Version::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; @@ -201,6 +217,7 @@ uint32_t Version::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Version::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Version"); xfer += oprot->writeFieldBegin("version", ::apache::thrift::protocol::T_STRING, 1); @@ -213,6 +230,7 @@ uint32_t Version::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -223,6 +241,43 @@ void swap(Version &a, Version &b) { swap(a.__isset, b.__isset); } +Version::Version(const Version& other0) { + version = other0.version; + comments = other0.comments; + __isset = other0.__isset; +} +Version& Version::operator=(const Version& other1) { + version = other1.version; + comments = other1.comments; + __isset = other1.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Version& obj) { + using apache::thrift::to_string; + out << "Version("; + out << "version=" << to_string(obj.version); + out << ", " << "comments=" << to_string(obj.comments); + out << ")"; + return out; +} + + +FieldSchema::~FieldSchema() throw() { +} + + +void FieldSchema::__set_name(const std::string& val) { + this->name = val; +} + +void FieldSchema::__set_type(const std::string& val) { + this->type = val; +} + +void FieldSchema::__set_comment(const std::string& val) { + this->comment = val; +} + const char* FieldSchema::ascii_fingerprint = "AB879940BD15B6B25691265F7384B271"; const uint8_t FieldSchema::binary_fingerprint[16] = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; @@ -284,6 +339,7 @@ uint32_t FieldSchema::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t FieldSchema::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("FieldSchema"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -300,6 +356,7 @@ uint32_t FieldSchema::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -311,6 +368,53 @@ void swap(FieldSchema &a, FieldSchema &b) { swap(a.__isset, b.__isset); } +FieldSchema::FieldSchema(const FieldSchema& other2) { + name = other2.name; + type = other2.type; + comment = other2.comment; + __isset = other2.__isset; +} +FieldSchema& FieldSchema::operator=(const FieldSchema& other3) { + name = other3.name; + type = other3.type; + comment = other3.comment; + __isset = other3.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const FieldSchema& obj) { + using apache::thrift::to_string; + out << "FieldSchema("; + out << "name=" << to_string(obj.name); + out << ", " << "type=" << to_string(obj.type); + out << ", " << "comment=" << to_string(obj.comment); + out << ")"; + return out; +} + + +Type::~Type() throw() { +} + + +void Type::__set_name(const std::string& val) { + this->name = val; +} + +void Type::__set_type1(const std::string& val) { + this->type1 = val; +__isset.type1 = true; +} + +void Type::__set_type2(const std::string& val) { + this->type2 = val; +__isset.type2 = true; +} + +void Type::__set_fields(const std::vector & val) { + this->fields = val; +__isset.fields = true; +} + const char* Type::ascii_fingerprint = "20DF02DE523C27F7066C7BD4D9120842"; const uint8_t Type::binary_fingerprint[16] = {0x20,0xDF,0x02,0xDE,0x52,0x3C,0x27,0xF7,0x06,0x6C,0x7B,0xD4,0xD9,0x12,0x08,0x42}; @@ -362,14 +466,14 @@ uint32_t Type::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fields.clear(); - uint32_t _size0; - ::apache::thrift::protocol::TType _etype3; - xfer += iprot->readListBegin(_etype3, _size0); - this->fields.resize(_size0); - uint32_t _i4; - for (_i4 = 0; _i4 < _size0; ++_i4) + uint32_t _size4; + ::apache::thrift::protocol::TType _etype7; + xfer += iprot->readListBegin(_etype7, _size4); + this->fields.resize(_size4); + uint32_t _i8; + for (_i8 = 0; _i8 < _size4; ++_i8) { - xfer += this->fields[_i4].read(iprot); + xfer += this->fields[_i8].read(iprot); } xfer += iprot->readListEnd(); } @@ -392,6 +496,7 @@ uint32_t Type::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Type"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -412,10 +517,10 @@ uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("fields", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->fields.size())); - std::vector ::const_iterator _iter5; - for (_iter5 = this->fields.begin(); _iter5 != this->fields.end(); ++_iter5) + std::vector ::const_iterator _iter9; + for (_iter9 = this->fields.begin(); _iter9 != this->fields.end(); ++_iter9) { - xfer += (*_iter5).write(oprot); + xfer += (*_iter9).write(oprot); } xfer += oprot->writeListEnd(); } @@ -423,6 +528,7 @@ uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -435,6 +541,57 @@ void swap(Type &a, Type &b) { swap(a.__isset, b.__isset); } +Type::Type(const Type& other10) { + name = other10.name; + type1 = other10.type1; + type2 = other10.type2; + fields = other10.fields; + __isset = other10.__isset; +} +Type& Type::operator=(const Type& other11) { + name = other11.name; + type1 = other11.type1; + type2 = other11.type2; + fields = other11.fields; + __isset = other11.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Type& obj) { + using apache::thrift::to_string; + out << "Type("; + out << "name=" << to_string(obj.name); + out << ", " << "type1="; (obj.__isset.type1 ? (out << to_string(obj.type1)) : (out << "")); + out << ", " << "type2="; (obj.__isset.type2 ? (out << to_string(obj.type2)) : (out << "")); + out << ", " << "fields="; (obj.__isset.fields ? (out << to_string(obj.fields)) : (out << "")); + out << ")"; + return out; +} + + +HiveObjectRef::~HiveObjectRef() throw() { +} + + +void HiveObjectRef::__set_objectType(const HiveObjectType::type val) { + this->objectType = val; +} + +void HiveObjectRef::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void HiveObjectRef::__set_objectName(const std::string& val) { + this->objectName = val; +} + +void HiveObjectRef::__set_partValues(const std::vector & val) { + this->partValues = val; +} + +void HiveObjectRef::__set_columnName(const std::string& val) { + this->columnName = val; +} + const char* HiveObjectRef::ascii_fingerprint = "205CD8311CF3AA9EC161BAEF8D7C933C"; const uint8_t HiveObjectRef::binary_fingerprint[16] = {0x20,0x5C,0xD8,0x31,0x1C,0xF3,0xAA,0x9E,0xC1,0x61,0xBA,0xEF,0x8D,0x7C,0x93,0x3C}; @@ -460,9 +617,9 @@ uint32_t HiveObjectRef::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast6; - xfer += iprot->readI32(ecast6); - this->objectType = (HiveObjectType::type)ecast6; + int32_t ecast12; + xfer += iprot->readI32(ecast12); + this->objectType = (HiveObjectType::type)ecast12; this->__isset.objectType = true; } else { xfer += iprot->skip(ftype); @@ -488,14 +645,14 @@ uint32_t HiveObjectRef::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partValues.clear(); - uint32_t _size7; - ::apache::thrift::protocol::TType _etype10; - xfer += iprot->readListBegin(_etype10, _size7); - this->partValues.resize(_size7); - uint32_t _i11; - for (_i11 = 0; _i11 < _size7; ++_i11) + uint32_t _size13; + ::apache::thrift::protocol::TType _etype16; + xfer += iprot->readListBegin(_etype16, _size13); + this->partValues.resize(_size13); + uint32_t _i17; + for (_i17 = 0; _i17 < _size13; ++_i17) { - xfer += iprot->readString(this->partValues[_i11]); + xfer += iprot->readString(this->partValues[_i17]); } xfer += iprot->readListEnd(); } @@ -526,6 +683,7 @@ uint32_t HiveObjectRef::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t HiveObjectRef::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("HiveObjectRef"); xfer += oprot->writeFieldBegin("objectType", ::apache::thrift::protocol::T_I32, 1); @@ -543,10 +701,10 @@ uint32_t HiveObjectRef::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("partValues", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partValues.size())); - std::vector ::const_iterator _iter12; - for (_iter12 = this->partValues.begin(); _iter12 != this->partValues.end(); ++_iter12) + std::vector ::const_iterator _iter18; + for (_iter18 = this->partValues.begin(); _iter18 != this->partValues.end(); ++_iter18) { - xfer += oprot->writeString((*_iter12)); + xfer += oprot->writeString((*_iter18)); } xfer += oprot->writeListEnd(); } @@ -558,6 +716,7 @@ uint32_t HiveObjectRef::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -571,6 +730,60 @@ void swap(HiveObjectRef &a, HiveObjectRef &b) { swap(a.__isset, b.__isset); } +HiveObjectRef::HiveObjectRef(const HiveObjectRef& other19) { + objectType = other19.objectType; + dbName = other19.dbName; + objectName = other19.objectName; + partValues = other19.partValues; + columnName = other19.columnName; + __isset = other19.__isset; +} +HiveObjectRef& HiveObjectRef::operator=(const HiveObjectRef& other20) { + objectType = other20.objectType; + dbName = other20.dbName; + objectName = other20.objectName; + partValues = other20.partValues; + columnName = other20.columnName; + __isset = other20.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const HiveObjectRef& obj) { + using apache::thrift::to_string; + out << "HiveObjectRef("; + out << "objectType=" << to_string(obj.objectType); + out << ", " << "dbName=" << to_string(obj.dbName); + out << ", " << "objectName=" << to_string(obj.objectName); + out << ", " << "partValues=" << to_string(obj.partValues); + out << ", " << "columnName=" << to_string(obj.columnName); + out << ")"; + return out; +} + + +PrivilegeGrantInfo::~PrivilegeGrantInfo() throw() { +} + + +void PrivilegeGrantInfo::__set_privilege(const std::string& val) { + this->privilege = val; +} + +void PrivilegeGrantInfo::__set_createTime(const int32_t val) { + this->createTime = val; +} + +void PrivilegeGrantInfo::__set_grantor(const std::string& val) { + this->grantor = val; +} + +void PrivilegeGrantInfo::__set_grantorType(const PrincipalType::type val) { + this->grantorType = val; +} + +void PrivilegeGrantInfo::__set_grantOption(const bool val) { + this->grantOption = val; +} + const char* PrivilegeGrantInfo::ascii_fingerprint = "A58923AF7294BE492D6F90E07E8CEE1F"; const uint8_t PrivilegeGrantInfo::binary_fingerprint[16] = {0xA5,0x89,0x23,0xAF,0x72,0x94,0xBE,0x49,0x2D,0x6F,0x90,0xE0,0x7E,0x8C,0xEE,0x1F}; @@ -620,9 +833,9 @@ uint32_t PrivilegeGrantInfo::read(::apache::thrift::protocol::TProtocol* iprot) break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast13; - xfer += iprot->readI32(ecast13); - this->grantorType = (PrincipalType::type)ecast13; + int32_t ecast21; + xfer += iprot->readI32(ecast21); + this->grantorType = (PrincipalType::type)ecast21; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -650,6 +863,7 @@ uint32_t PrivilegeGrantInfo::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t PrivilegeGrantInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PrivilegeGrantInfo"); xfer += oprot->writeFieldBegin("privilege", ::apache::thrift::protocol::T_STRING, 1); @@ -674,6 +888,7 @@ uint32_t PrivilegeGrantInfo::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -687,6 +902,56 @@ void swap(PrivilegeGrantInfo &a, PrivilegeGrantInfo &b) { swap(a.__isset, b.__isset); } +PrivilegeGrantInfo::PrivilegeGrantInfo(const PrivilegeGrantInfo& other22) { + privilege = other22.privilege; + createTime = other22.createTime; + grantor = other22.grantor; + grantorType = other22.grantorType; + grantOption = other22.grantOption; + __isset = other22.__isset; +} +PrivilegeGrantInfo& PrivilegeGrantInfo::operator=(const PrivilegeGrantInfo& other23) { + privilege = other23.privilege; + createTime = other23.createTime; + grantor = other23.grantor; + grantorType = other23.grantorType; + grantOption = other23.grantOption; + __isset = other23.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PrivilegeGrantInfo& obj) { + using apache::thrift::to_string; + out << "PrivilegeGrantInfo("; + out << "privilege=" << to_string(obj.privilege); + out << ", " << "createTime=" << to_string(obj.createTime); + out << ", " << "grantor=" << to_string(obj.grantor); + out << ", " << "grantorType=" << to_string(obj.grantorType); + out << ", " << "grantOption=" << to_string(obj.grantOption); + out << ")"; + return out; +} + + +HiveObjectPrivilege::~HiveObjectPrivilege() throw() { +} + + +void HiveObjectPrivilege::__set_hiveObject(const HiveObjectRef& val) { + this->hiveObject = val; +} + +void HiveObjectPrivilege::__set_principalName(const std::string& val) { + this->principalName = val; +} + +void HiveObjectPrivilege::__set_principalType(const PrincipalType::type val) { + this->principalType = val; +} + +void HiveObjectPrivilege::__set_grantInfo(const PrivilegeGrantInfo& val) { + this->grantInfo = val; +} + const char* HiveObjectPrivilege::ascii_fingerprint = "83D71969B23BD853E29DBA9D43B29AF8"; const uint8_t HiveObjectPrivilege::binary_fingerprint[16] = {0x83,0xD7,0x19,0x69,0xB2,0x3B,0xD8,0x53,0xE2,0x9D,0xBA,0x9D,0x43,0xB2,0x9A,0xF8}; @@ -728,9 +993,9 @@ uint32_t HiveObjectPrivilege::read(::apache::thrift::protocol::TProtocol* iprot) break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast14; - xfer += iprot->readI32(ecast14); - this->principalType = (PrincipalType::type)ecast14; + int32_t ecast24; + xfer += iprot->readI32(ecast24); + this->principalType = (PrincipalType::type)ecast24; this->__isset.principalType = true; } else { xfer += iprot->skip(ftype); @@ -758,6 +1023,7 @@ uint32_t HiveObjectPrivilege::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t HiveObjectPrivilege::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("HiveObjectPrivilege"); xfer += oprot->writeFieldBegin("hiveObject", ::apache::thrift::protocol::T_STRUCT, 1); @@ -778,6 +1044,7 @@ uint32_t HiveObjectPrivilege::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -790,6 +1057,41 @@ void swap(HiveObjectPrivilege &a, HiveObjectPrivilege &b) { swap(a.__isset, b.__isset); } +HiveObjectPrivilege::HiveObjectPrivilege(const HiveObjectPrivilege& other25) { + hiveObject = other25.hiveObject; + principalName = other25.principalName; + principalType = other25.principalType; + grantInfo = other25.grantInfo; + __isset = other25.__isset; +} +HiveObjectPrivilege& HiveObjectPrivilege::operator=(const HiveObjectPrivilege& other26) { + hiveObject = other26.hiveObject; + principalName = other26.principalName; + principalType = other26.principalType; + grantInfo = other26.grantInfo; + __isset = other26.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const HiveObjectPrivilege& obj) { + using apache::thrift::to_string; + out << "HiveObjectPrivilege("; + out << "hiveObject=" << to_string(obj.hiveObject); + out << ", " << "principalName=" << to_string(obj.principalName); + out << ", " << "principalType=" << to_string(obj.principalType); + out << ", " << "grantInfo=" << to_string(obj.grantInfo); + out << ")"; + return out; +} + + +PrivilegeBag::~PrivilegeBag() throw() { +} + + +void PrivilegeBag::__set_privileges(const std::vector & val) { + this->privileges = val; +} + const char* PrivilegeBag::ascii_fingerprint = "BB89E4701B7B709B046A74C90B1147F2"; const uint8_t PrivilegeBag::binary_fingerprint[16] = {0xBB,0x89,0xE4,0x70,0x1B,0x7B,0x70,0x9B,0x04,0x6A,0x74,0xC9,0x0B,0x11,0x47,0xF2}; @@ -817,14 +1119,14 @@ uint32_t PrivilegeBag::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->privileges.clear(); - uint32_t _size15; - ::apache::thrift::protocol::TType _etype18; - xfer += iprot->readListBegin(_etype18, _size15); - this->privileges.resize(_size15); - uint32_t _i19; - for (_i19 = 0; _i19 < _size15; ++_i19) + uint32_t _size27; + ::apache::thrift::protocol::TType _etype30; + xfer += iprot->readListBegin(_etype30, _size27); + this->privileges.resize(_size27); + uint32_t _i31; + for (_i31 = 0; _i31 < _size27; ++_i31) { - xfer += this->privileges[_i19].read(iprot); + xfer += this->privileges[_i31].read(iprot); } xfer += iprot->readListEnd(); } @@ -847,15 +1149,16 @@ uint32_t PrivilegeBag::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t PrivilegeBag::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PrivilegeBag"); xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->privileges.size())); - std::vector ::const_iterator _iter20; - for (_iter20 = this->privileges.begin(); _iter20 != this->privileges.end(); ++_iter20) + std::vector ::const_iterator _iter32; + for (_iter32 = this->privileges.begin(); _iter32 != this->privileges.end(); ++_iter32) { - xfer += (*_iter20).write(oprot); + xfer += (*_iter32).write(oprot); } xfer += oprot->writeListEnd(); } @@ -863,6 +1166,7 @@ uint32_t PrivilegeBag::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -872,6 +1176,40 @@ void swap(PrivilegeBag &a, PrivilegeBag &b) { swap(a.__isset, b.__isset); } +PrivilegeBag::PrivilegeBag(const PrivilegeBag& other33) { + privileges = other33.privileges; + __isset = other33.__isset; +} +PrivilegeBag& PrivilegeBag::operator=(const PrivilegeBag& other34) { + privileges = other34.privileges; + __isset = other34.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PrivilegeBag& obj) { + using apache::thrift::to_string; + out << "PrivilegeBag("; + out << "privileges=" << to_string(obj.privileges); + out << ")"; + return out; +} + + +PrincipalPrivilegeSet::~PrincipalPrivilegeSet() throw() { +} + + +void PrincipalPrivilegeSet::__set_userPrivileges(const std::map > & val) { + this->userPrivileges = val; +} + +void PrincipalPrivilegeSet::__set_groupPrivileges(const std::map > & val) { + this->groupPrivileges = val; +} + +void PrincipalPrivilegeSet::__set_rolePrivileges(const std::map > & val) { + this->rolePrivileges = val; +} + const char* PrincipalPrivilegeSet::ascii_fingerprint = "08F75D2533906EA87BE34EA640856683"; const uint8_t PrincipalPrivilegeSet::binary_fingerprint[16] = {0x08,0xF7,0x5D,0x25,0x33,0x90,0x6E,0xA8,0x7B,0xE3,0x4E,0xA6,0x40,0x85,0x66,0x83}; @@ -899,26 +1237,26 @@ uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->userPrivileges.clear(); - uint32_t _size21; - ::apache::thrift::protocol::TType _ktype22; - ::apache::thrift::protocol::TType _vtype23; - xfer += iprot->readMapBegin(_ktype22, _vtype23, _size21); - uint32_t _i25; - for (_i25 = 0; _i25 < _size21; ++_i25) + uint32_t _size35; + ::apache::thrift::protocol::TType _ktype36; + ::apache::thrift::protocol::TType _vtype37; + xfer += iprot->readMapBegin(_ktype36, _vtype37, _size35); + uint32_t _i39; + for (_i39 = 0; _i39 < _size35; ++_i39) { - std::string _key26; - xfer += iprot->readString(_key26); - std::vector & _val27 = this->userPrivileges[_key26]; + std::string _key40; + xfer += iprot->readString(_key40); + std::vector & _val41 = this->userPrivileges[_key40]; { - _val27.clear(); - uint32_t _size28; - ::apache::thrift::protocol::TType _etype31; - xfer += iprot->readListBegin(_etype31, _size28); - _val27.resize(_size28); - uint32_t _i32; - for (_i32 = 0; _i32 < _size28; ++_i32) + _val41.clear(); + uint32_t _size42; + ::apache::thrift::protocol::TType _etype45; + xfer += iprot->readListBegin(_etype45, _size42); + _val41.resize(_size42); + uint32_t _i46; + for (_i46 = 0; _i46 < _size42; ++_i46) { - xfer += _val27[_i32].read(iprot); + xfer += _val41[_i46].read(iprot); } xfer += iprot->readListEnd(); } @@ -934,26 +1272,26 @@ uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->groupPrivileges.clear(); - uint32_t _size33; - ::apache::thrift::protocol::TType _ktype34; - ::apache::thrift::protocol::TType _vtype35; - xfer += iprot->readMapBegin(_ktype34, _vtype35, _size33); - uint32_t _i37; - for (_i37 = 0; _i37 < _size33; ++_i37) + uint32_t _size47; + ::apache::thrift::protocol::TType _ktype48; + ::apache::thrift::protocol::TType _vtype49; + xfer += iprot->readMapBegin(_ktype48, _vtype49, _size47); + uint32_t _i51; + for (_i51 = 0; _i51 < _size47; ++_i51) { - std::string _key38; - xfer += iprot->readString(_key38); - std::vector & _val39 = this->groupPrivileges[_key38]; + std::string _key52; + xfer += iprot->readString(_key52); + std::vector & _val53 = this->groupPrivileges[_key52]; { - _val39.clear(); - uint32_t _size40; - ::apache::thrift::protocol::TType _etype43; - xfer += iprot->readListBegin(_etype43, _size40); - _val39.resize(_size40); - uint32_t _i44; - for (_i44 = 0; _i44 < _size40; ++_i44) + _val53.clear(); + uint32_t _size54; + ::apache::thrift::protocol::TType _etype57; + xfer += iprot->readListBegin(_etype57, _size54); + _val53.resize(_size54); + uint32_t _i58; + for (_i58 = 0; _i58 < _size54; ++_i58) { - xfer += _val39[_i44].read(iprot); + xfer += _val53[_i58].read(iprot); } xfer += iprot->readListEnd(); } @@ -969,26 +1307,26 @@ uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->rolePrivileges.clear(); - uint32_t _size45; - ::apache::thrift::protocol::TType _ktype46; - ::apache::thrift::protocol::TType _vtype47; - xfer += iprot->readMapBegin(_ktype46, _vtype47, _size45); - uint32_t _i49; - for (_i49 = 0; _i49 < _size45; ++_i49) + uint32_t _size59; + ::apache::thrift::protocol::TType _ktype60; + ::apache::thrift::protocol::TType _vtype61; + xfer += iprot->readMapBegin(_ktype60, _vtype61, _size59); + uint32_t _i63; + for (_i63 = 0; _i63 < _size59; ++_i63) { - std::string _key50; - xfer += iprot->readString(_key50); - std::vector & _val51 = this->rolePrivileges[_key50]; + std::string _key64; + xfer += iprot->readString(_key64); + std::vector & _val65 = this->rolePrivileges[_key64]; { - _val51.clear(); - uint32_t _size52; - ::apache::thrift::protocol::TType _etype55; - xfer += iprot->readListBegin(_etype55, _size52); - _val51.resize(_size52); - uint32_t _i56; - for (_i56 = 0; _i56 < _size52; ++_i56) + _val65.clear(); + uint32_t _size66; + ::apache::thrift::protocol::TType _etype69; + xfer += iprot->readListBegin(_etype69, _size66); + _val65.resize(_size66); + uint32_t _i70; + for (_i70 = 0; _i70 < _size66; ++_i70) { - xfer += _val51[_i56].read(iprot); + xfer += _val65[_i70].read(iprot); } xfer += iprot->readListEnd(); } @@ -1014,21 +1352,22 @@ uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* ipro uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PrincipalPrivilegeSet"); xfer += oprot->writeFieldBegin("userPrivileges", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast(this->userPrivileges.size())); - std::map > ::const_iterator _iter57; - for (_iter57 = this->userPrivileges.begin(); _iter57 != this->userPrivileges.end(); ++_iter57) + std::map > ::const_iterator _iter71; + for (_iter71 = this->userPrivileges.begin(); _iter71 != this->userPrivileges.end(); ++_iter71) { - xfer += oprot->writeString(_iter57->first); + xfer += oprot->writeString(_iter71->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter57->second.size())); - std::vector ::const_iterator _iter58; - for (_iter58 = _iter57->second.begin(); _iter58 != _iter57->second.end(); ++_iter58) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter71->second.size())); + std::vector ::const_iterator _iter72; + for (_iter72 = _iter71->second.begin(); _iter72 != _iter71->second.end(); ++_iter72) { - xfer += (*_iter58).write(oprot); + xfer += (*_iter72).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1040,16 +1379,16 @@ uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("groupPrivileges", ::apache::thrift::protocol::T_MAP, 2); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast(this->groupPrivileges.size())); - std::map > ::const_iterator _iter59; - for (_iter59 = this->groupPrivileges.begin(); _iter59 != this->groupPrivileges.end(); ++_iter59) + std::map > ::const_iterator _iter73; + for (_iter73 = this->groupPrivileges.begin(); _iter73 != this->groupPrivileges.end(); ++_iter73) { - xfer += oprot->writeString(_iter59->first); + xfer += oprot->writeString(_iter73->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter59->second.size())); - std::vector ::const_iterator _iter60; - for (_iter60 = _iter59->second.begin(); _iter60 != _iter59->second.end(); ++_iter60) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter73->second.size())); + std::vector ::const_iterator _iter74; + for (_iter74 = _iter73->second.begin(); _iter74 != _iter73->second.end(); ++_iter74) { - xfer += (*_iter60).write(oprot); + xfer += (*_iter74).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1061,16 +1400,16 @@ uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("rolePrivileges", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast(this->rolePrivileges.size())); - std::map > ::const_iterator _iter61; - for (_iter61 = this->rolePrivileges.begin(); _iter61 != this->rolePrivileges.end(); ++_iter61) + std::map > ::const_iterator _iter75; + for (_iter75 = this->rolePrivileges.begin(); _iter75 != this->rolePrivileges.end(); ++_iter75) { - xfer += oprot->writeString(_iter61->first); + xfer += oprot->writeString(_iter75->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter61->second.size())); - std::vector ::const_iterator _iter62; - for (_iter62 = _iter61->second.begin(); _iter62 != _iter61->second.end(); ++_iter62) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter75->second.size())); + std::vector ::const_iterator _iter76; + for (_iter76 = _iter75->second.begin(); _iter76 != _iter75->second.end(); ++_iter76) { - xfer += (*_iter62).write(oprot); + xfer += (*_iter76).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1081,6 +1420,7 @@ uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1092,6 +1432,47 @@ void swap(PrincipalPrivilegeSet &a, PrincipalPrivilegeSet &b) { swap(a.__isset, b.__isset); } +PrincipalPrivilegeSet::PrincipalPrivilegeSet(const PrincipalPrivilegeSet& other77) { + userPrivileges = other77.userPrivileges; + groupPrivileges = other77.groupPrivileges; + rolePrivileges = other77.rolePrivileges; + __isset = other77.__isset; +} +PrincipalPrivilegeSet& PrincipalPrivilegeSet::operator=(const PrincipalPrivilegeSet& other78) { + userPrivileges = other78.userPrivileges; + groupPrivileges = other78.groupPrivileges; + rolePrivileges = other78.rolePrivileges; + __isset = other78.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PrincipalPrivilegeSet& obj) { + using apache::thrift::to_string; + out << "PrincipalPrivilegeSet("; + out << "userPrivileges=" << to_string(obj.userPrivileges); + out << ", " << "groupPrivileges=" << to_string(obj.groupPrivileges); + out << ", " << "rolePrivileges=" << to_string(obj.rolePrivileges); + out << ")"; + return out; +} + + +GrantRevokePrivilegeRequest::~GrantRevokePrivilegeRequest() throw() { +} + + +void GrantRevokePrivilegeRequest::__set_requestType(const GrantRevokeType::type val) { + this->requestType = val; +} + +void GrantRevokePrivilegeRequest::__set_privileges(const PrivilegeBag& val) { + this->privileges = val; +} + +void GrantRevokePrivilegeRequest::__set_revokeGrantOption(const bool val) { + this->revokeGrantOption = val; +__isset.revokeGrantOption = true; +} + const char* GrantRevokePrivilegeRequest::ascii_fingerprint = "DF474A3CB526AD40DC0F2C3702F7AA2C"; const uint8_t GrantRevokePrivilegeRequest::binary_fingerprint[16] = {0xDF,0x47,0x4A,0x3C,0xB5,0x26,0xAD,0x40,0xDC,0x0F,0x2C,0x37,0x02,0xF7,0xAA,0x2C}; @@ -1117,9 +1498,9 @@ uint32_t GrantRevokePrivilegeRequest::read(::apache::thrift::protocol::TProtocol { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast63; - xfer += iprot->readI32(ecast63); - this->requestType = (GrantRevokeType::type)ecast63; + int32_t ecast79; + xfer += iprot->readI32(ecast79); + this->requestType = (GrantRevokeType::type)ecast79; this->__isset.requestType = true; } else { xfer += iprot->skip(ftype); @@ -1155,6 +1536,7 @@ uint32_t GrantRevokePrivilegeRequest::read(::apache::thrift::protocol::TProtocol uint32_t GrantRevokePrivilegeRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("GrantRevokePrivilegeRequest"); xfer += oprot->writeFieldBegin("requestType", ::apache::thrift::protocol::T_I32, 1); @@ -1172,6 +1554,7 @@ uint32_t GrantRevokePrivilegeRequest::write(::apache::thrift::protocol::TProtoco } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1183,6 +1566,39 @@ void swap(GrantRevokePrivilegeRequest &a, GrantRevokePrivilegeRequest &b) { swap(a.__isset, b.__isset); } +GrantRevokePrivilegeRequest::GrantRevokePrivilegeRequest(const GrantRevokePrivilegeRequest& other80) { + requestType = other80.requestType; + privileges = other80.privileges; + revokeGrantOption = other80.revokeGrantOption; + __isset = other80.__isset; +} +GrantRevokePrivilegeRequest& GrantRevokePrivilegeRequest::operator=(const GrantRevokePrivilegeRequest& other81) { + requestType = other81.requestType; + privileges = other81.privileges; + revokeGrantOption = other81.revokeGrantOption; + __isset = other81.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeRequest& obj) { + using apache::thrift::to_string; + out << "GrantRevokePrivilegeRequest("; + out << "requestType=" << to_string(obj.requestType); + out << ", " << "privileges=" << to_string(obj.privileges); + out << ", " << "revokeGrantOption="; (obj.__isset.revokeGrantOption ? (out << to_string(obj.revokeGrantOption)) : (out << "")); + out << ")"; + return out; +} + + +GrantRevokePrivilegeResponse::~GrantRevokePrivilegeResponse() throw() { +} + + +void GrantRevokePrivilegeResponse::__set_success(const bool val) { + this->success = val; +__isset.success = true; +} + const char* GrantRevokePrivilegeResponse::ascii_fingerprint = "BF054652DEF86253C2BEE7D947F167DD"; const uint8_t GrantRevokePrivilegeResponse::binary_fingerprint[16] = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; @@ -1228,6 +1644,7 @@ uint32_t GrantRevokePrivilegeResponse::read(::apache::thrift::protocol::TProtoco uint32_t GrantRevokePrivilegeResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("GrantRevokePrivilegeResponse"); if (this->__isset.success) { @@ -1237,6 +1654,7 @@ uint32_t GrantRevokePrivilegeResponse::write(::apache::thrift::protocol::TProtoc } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1246,6 +1664,40 @@ void swap(GrantRevokePrivilegeResponse &a, GrantRevokePrivilegeResponse &b) { swap(a.__isset, b.__isset); } +GrantRevokePrivilegeResponse::GrantRevokePrivilegeResponse(const GrantRevokePrivilegeResponse& other82) { + success = other82.success; + __isset = other82.__isset; +} +GrantRevokePrivilegeResponse& GrantRevokePrivilegeResponse::operator=(const GrantRevokePrivilegeResponse& other83) { + success = other83.success; + __isset = other83.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeResponse& obj) { + using apache::thrift::to_string; + out << "GrantRevokePrivilegeResponse("; + out << "success="; (obj.__isset.success ? (out << to_string(obj.success)) : (out << "")); + out << ")"; + return out; +} + + +Role::~Role() throw() { +} + + +void Role::__set_roleName(const std::string& val) { + this->roleName = val; +} + +void Role::__set_createTime(const int32_t val) { + this->createTime = val; +} + +void Role::__set_ownerName(const std::string& val) { + this->ownerName = val; +} + const char* Role::ascii_fingerprint = "70563A0628F75DF9555F4D24690B1E26"; const uint8_t Role::binary_fingerprint[16] = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26}; @@ -1307,6 +1759,7 @@ uint32_t Role::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Role::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Role"); xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1); @@ -1323,6 +1776,7 @@ uint32_t Role::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1334,6 +1788,62 @@ void swap(Role &a, Role &b) { swap(a.__isset, b.__isset); } +Role::Role(const Role& other84) { + roleName = other84.roleName; + createTime = other84.createTime; + ownerName = other84.ownerName; + __isset = other84.__isset; +} +Role& Role::operator=(const Role& other85) { + roleName = other85.roleName; + createTime = other85.createTime; + ownerName = other85.ownerName; + __isset = other85.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Role& obj) { + using apache::thrift::to_string; + out << "Role("; + out << "roleName=" << to_string(obj.roleName); + out << ", " << "createTime=" << to_string(obj.createTime); + out << ", " << "ownerName=" << to_string(obj.ownerName); + out << ")"; + return out; +} + + +RolePrincipalGrant::~RolePrincipalGrant() throw() { +} + + +void RolePrincipalGrant::__set_roleName(const std::string& val) { + this->roleName = val; +} + +void RolePrincipalGrant::__set_principalName(const std::string& val) { + this->principalName = val; +} + +void RolePrincipalGrant::__set_principalType(const PrincipalType::type val) { + this->principalType = val; +} + +void RolePrincipalGrant::__set_grantOption(const bool val) { + this->grantOption = val; +} + +void RolePrincipalGrant::__set_grantTime(const int32_t val) { + this->grantTime = val; +} + +void RolePrincipalGrant::__set_grantorName(const std::string& val) { + this->grantorName = val; +} + +void RolePrincipalGrant::__set_grantorPrincipalType(const PrincipalType::type val) { + this->grantorPrincipalType = val; +} + const char* RolePrincipalGrant::ascii_fingerprint = "899BA3F6214DD1B79D27206BA857C772"; const uint8_t RolePrincipalGrant::binary_fingerprint[16] = {0x89,0x9B,0xA3,0xF6,0x21,0x4D,0xD1,0xB7,0x9D,0x27,0x20,0x6B,0xA8,0x57,0xC7,0x72}; @@ -1375,9 +1885,9 @@ uint32_t RolePrincipalGrant::read(::apache::thrift::protocol::TProtocol* iprot) break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast64; - xfer += iprot->readI32(ecast64); - this->principalType = (PrincipalType::type)ecast64; + int32_t ecast86; + xfer += iprot->readI32(ecast86); + this->principalType = (PrincipalType::type)ecast86; this->__isset.principalType = true; } else { xfer += iprot->skip(ftype); @@ -1409,9 +1919,9 @@ uint32_t RolePrincipalGrant::read(::apache::thrift::protocol::TProtocol* iprot) break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast65; - xfer += iprot->readI32(ecast65); - this->grantorPrincipalType = (PrincipalType::type)ecast65; + int32_t ecast87; + xfer += iprot->readI32(ecast87); + this->grantorPrincipalType = (PrincipalType::type)ecast87; this->__isset.grantorPrincipalType = true; } else { xfer += iprot->skip(ftype); @@ -1431,6 +1941,7 @@ uint32_t RolePrincipalGrant::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t RolePrincipalGrant::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("RolePrincipalGrant"); xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1); @@ -1463,6 +1974,7 @@ uint32_t RolePrincipalGrant::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1478,6 +1990,54 @@ void swap(RolePrincipalGrant &a, RolePrincipalGrant &b) { swap(a.__isset, b.__isset); } +RolePrincipalGrant::RolePrincipalGrant(const RolePrincipalGrant& other88) { + roleName = other88.roleName; + principalName = other88.principalName; + principalType = other88.principalType; + grantOption = other88.grantOption; + grantTime = other88.grantTime; + grantorName = other88.grantorName; + grantorPrincipalType = other88.grantorPrincipalType; + __isset = other88.__isset; +} +RolePrincipalGrant& RolePrincipalGrant::operator=(const RolePrincipalGrant& other89) { + roleName = other89.roleName; + principalName = other89.principalName; + principalType = other89.principalType; + grantOption = other89.grantOption; + grantTime = other89.grantTime; + grantorName = other89.grantorName; + grantorPrincipalType = other89.grantorPrincipalType; + __isset = other89.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const RolePrincipalGrant& obj) { + using apache::thrift::to_string; + out << "RolePrincipalGrant("; + out << "roleName=" << to_string(obj.roleName); + out << ", " << "principalName=" << to_string(obj.principalName); + out << ", " << "principalType=" << to_string(obj.principalType); + out << ", " << "grantOption=" << to_string(obj.grantOption); + out << ", " << "grantTime=" << to_string(obj.grantTime); + out << ", " << "grantorName=" << to_string(obj.grantorName); + out << ", " << "grantorPrincipalType=" << to_string(obj.grantorPrincipalType); + out << ")"; + return out; +} + + +GetRoleGrantsForPrincipalRequest::~GetRoleGrantsForPrincipalRequest() throw() { +} + + +void GetRoleGrantsForPrincipalRequest::__set_principal_name(const std::string& val) { + this->principal_name = val; +} + +void GetRoleGrantsForPrincipalRequest::__set_principal_type(const PrincipalType::type val) { + this->principal_type = val; +} + const char* GetRoleGrantsForPrincipalRequest::ascii_fingerprint = "D6FD826D949221396F4FFC3ECCD3D192"; const uint8_t GetRoleGrantsForPrincipalRequest::binary_fingerprint[16] = {0xD6,0xFD,0x82,0x6D,0x94,0x92,0x21,0x39,0x6F,0x4F,0xFC,0x3E,0xCC,0xD3,0xD1,0x92}; @@ -1513,9 +2073,9 @@ uint32_t GetRoleGrantsForPrincipalRequest::read(::apache::thrift::protocol::TPro break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast66; - xfer += iprot->readI32(ecast66); - this->principal_type = (PrincipalType::type)ecast66; + int32_t ecast90; + xfer += iprot->readI32(ecast90); + this->principal_type = (PrincipalType::type)ecast90; isset_principal_type = true; } else { xfer += iprot->skip(ftype); @@ -1539,6 +2099,7 @@ uint32_t GetRoleGrantsForPrincipalRequest::read(::apache::thrift::protocol::TPro uint32_t GetRoleGrantsForPrincipalRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("GetRoleGrantsForPrincipalRequest"); xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1); @@ -1551,6 +2112,7 @@ uint32_t GetRoleGrantsForPrincipalRequest::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1560,6 +2122,33 @@ void swap(GetRoleGrantsForPrincipalRequest &a, GetRoleGrantsForPrincipalRequest swap(a.principal_type, b.principal_type); } +GetRoleGrantsForPrincipalRequest::GetRoleGrantsForPrincipalRequest(const GetRoleGrantsForPrincipalRequest& other91) { + principal_name = other91.principal_name; + principal_type = other91.principal_type; +} +GetRoleGrantsForPrincipalRequest& GetRoleGrantsForPrincipalRequest::operator=(const GetRoleGrantsForPrincipalRequest& other92) { + principal_name = other92.principal_name; + principal_type = other92.principal_type; + return *this; +} +std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalRequest& obj) { + using apache::thrift::to_string; + out << "GetRoleGrantsForPrincipalRequest("; + out << "principal_name=" << to_string(obj.principal_name); + out << ", " << "principal_type=" << to_string(obj.principal_type); + out << ")"; + return out; +} + + +GetRoleGrantsForPrincipalResponse::~GetRoleGrantsForPrincipalResponse() throw() { +} + + +void GetRoleGrantsForPrincipalResponse::__set_principalGrants(const std::vector & val) { + this->principalGrants = val; +} + const char* GetRoleGrantsForPrincipalResponse::ascii_fingerprint = "5926B4B3541A62E17663820C7E3BE690"; const uint8_t GetRoleGrantsForPrincipalResponse::binary_fingerprint[16] = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90}; @@ -1588,14 +2177,14 @@ uint32_t GetRoleGrantsForPrincipalResponse::read(::apache::thrift::protocol::TPr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->principalGrants.clear(); - uint32_t _size67; - ::apache::thrift::protocol::TType _etype70; - xfer += iprot->readListBegin(_etype70, _size67); - this->principalGrants.resize(_size67); - uint32_t _i71; - for (_i71 = 0; _i71 < _size67; ++_i71) + uint32_t _size93; + ::apache::thrift::protocol::TType _etype96; + xfer += iprot->readListBegin(_etype96, _size93); + this->principalGrants.resize(_size93); + uint32_t _i97; + for (_i97 = 0; _i97 < _size93; ++_i97) { - xfer += this->principalGrants[_i71].read(iprot); + xfer += this->principalGrants[_i97].read(iprot); } xfer += iprot->readListEnd(); } @@ -1620,15 +2209,16 @@ uint32_t GetRoleGrantsForPrincipalResponse::read(::apache::thrift::protocol::TPr uint32_t GetRoleGrantsForPrincipalResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("GetRoleGrantsForPrincipalResponse"); xfer += oprot->writeFieldBegin("principalGrants", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->principalGrants.size())); - std::vector ::const_iterator _iter72; - for (_iter72 = this->principalGrants.begin(); _iter72 != this->principalGrants.end(); ++_iter72) + std::vector ::const_iterator _iter98; + for (_iter98 = this->principalGrants.begin(); _iter98 != this->principalGrants.end(); ++_iter98) { - xfer += (*_iter72).write(oprot); + xfer += (*_iter98).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1636,6 +2226,7 @@ uint32_t GetRoleGrantsForPrincipalResponse::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1644,6 +2235,30 @@ void swap(GetRoleGrantsForPrincipalResponse &a, GetRoleGrantsForPrincipalRespons swap(a.principalGrants, b.principalGrants); } +GetRoleGrantsForPrincipalResponse::GetRoleGrantsForPrincipalResponse(const GetRoleGrantsForPrincipalResponse& other99) { + principalGrants = other99.principalGrants; +} +GetRoleGrantsForPrincipalResponse& GetRoleGrantsForPrincipalResponse::operator=(const GetRoleGrantsForPrincipalResponse& other100) { + principalGrants = other100.principalGrants; + return *this; +} +std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalResponse& obj) { + using apache::thrift::to_string; + out << "GetRoleGrantsForPrincipalResponse("; + out << "principalGrants=" << to_string(obj.principalGrants); + out << ")"; + return out; +} + + +GetPrincipalsInRoleRequest::~GetPrincipalsInRoleRequest() throw() { +} + + +void GetPrincipalsInRoleRequest::__set_roleName(const std::string& val) { + this->roleName = val; +} + const char* GetPrincipalsInRoleRequest::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t GetPrincipalsInRoleRequest::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -1692,6 +2307,7 @@ uint32_t GetPrincipalsInRoleRequest::read(::apache::thrift::protocol::TProtocol* uint32_t GetPrincipalsInRoleRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("GetPrincipalsInRoleRequest"); xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1); @@ -1700,6 +2316,7 @@ uint32_t GetPrincipalsInRoleRequest::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1708,6 +2325,30 @@ void swap(GetPrincipalsInRoleRequest &a, GetPrincipalsInRoleRequest &b) { swap(a.roleName, b.roleName); } +GetPrincipalsInRoleRequest::GetPrincipalsInRoleRequest(const GetPrincipalsInRoleRequest& other101) { + roleName = other101.roleName; +} +GetPrincipalsInRoleRequest& GetPrincipalsInRoleRequest::operator=(const GetPrincipalsInRoleRequest& other102) { + roleName = other102.roleName; + return *this; +} +std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleRequest& obj) { + using apache::thrift::to_string; + out << "GetPrincipalsInRoleRequest("; + out << "roleName=" << to_string(obj.roleName); + out << ")"; + return out; +} + + +GetPrincipalsInRoleResponse::~GetPrincipalsInRoleResponse() throw() { +} + + +void GetPrincipalsInRoleResponse::__set_principalGrants(const std::vector & val) { + this->principalGrants = val; +} + const char* GetPrincipalsInRoleResponse::ascii_fingerprint = "5926B4B3541A62E17663820C7E3BE690"; const uint8_t GetPrincipalsInRoleResponse::binary_fingerprint[16] = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90}; @@ -1736,14 +2377,14 @@ uint32_t GetPrincipalsInRoleResponse::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->principalGrants.clear(); - uint32_t _size73; - ::apache::thrift::protocol::TType _etype76; - xfer += iprot->readListBegin(_etype76, _size73); - this->principalGrants.resize(_size73); - uint32_t _i77; - for (_i77 = 0; _i77 < _size73; ++_i77) + uint32_t _size103; + ::apache::thrift::protocol::TType _etype106; + xfer += iprot->readListBegin(_etype106, _size103); + this->principalGrants.resize(_size103); + uint32_t _i107; + for (_i107 = 0; _i107 < _size103; ++_i107) { - xfer += this->principalGrants[_i77].read(iprot); + xfer += this->principalGrants[_i107].read(iprot); } xfer += iprot->readListEnd(); } @@ -1768,15 +2409,16 @@ uint32_t GetPrincipalsInRoleResponse::read(::apache::thrift::protocol::TProtocol uint32_t GetPrincipalsInRoleResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("GetPrincipalsInRoleResponse"); xfer += oprot->writeFieldBegin("principalGrants", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->principalGrants.size())); - std::vector ::const_iterator _iter78; - for (_iter78 = this->principalGrants.begin(); _iter78 != this->principalGrants.end(); ++_iter78) + std::vector ::const_iterator _iter108; + for (_iter108 = this->principalGrants.begin(); _iter108 != this->principalGrants.end(); ++_iter108) { - xfer += (*_iter78).write(oprot); + xfer += (*_iter108).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1784,6 +2426,7 @@ uint32_t GetPrincipalsInRoleResponse::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1792,6 +2435,57 @@ void swap(GetPrincipalsInRoleResponse &a, GetPrincipalsInRoleResponse &b) { swap(a.principalGrants, b.principalGrants); } +GetPrincipalsInRoleResponse::GetPrincipalsInRoleResponse(const GetPrincipalsInRoleResponse& other109) { + principalGrants = other109.principalGrants; +} +GetPrincipalsInRoleResponse& GetPrincipalsInRoleResponse::operator=(const GetPrincipalsInRoleResponse& other110) { + principalGrants = other110.principalGrants; + return *this; +} +std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleResponse& obj) { + using apache::thrift::to_string; + out << "GetPrincipalsInRoleResponse("; + out << "principalGrants=" << to_string(obj.principalGrants); + out << ")"; + return out; +} + + +GrantRevokeRoleRequest::~GrantRevokeRoleRequest() throw() { +} + + +void GrantRevokeRoleRequest::__set_requestType(const GrantRevokeType::type val) { + this->requestType = val; +} + +void GrantRevokeRoleRequest::__set_roleName(const std::string& val) { + this->roleName = val; +} + +void GrantRevokeRoleRequest::__set_principalName(const std::string& val) { + this->principalName = val; +} + +void GrantRevokeRoleRequest::__set_principalType(const PrincipalType::type val) { + this->principalType = val; +} + +void GrantRevokeRoleRequest::__set_grantor(const std::string& val) { + this->grantor = val; +__isset.grantor = true; +} + +void GrantRevokeRoleRequest::__set_grantorType(const PrincipalType::type val) { + this->grantorType = val; +__isset.grantorType = true; +} + +void GrantRevokeRoleRequest::__set_grantOption(const bool val) { + this->grantOption = val; +__isset.grantOption = true; +} + const char* GrantRevokeRoleRequest::ascii_fingerprint = "907DEA796F2BA7AF76DC2566E75FAEE7"; const uint8_t GrantRevokeRoleRequest::binary_fingerprint[16] = {0x90,0x7D,0xEA,0x79,0x6F,0x2B,0xA7,0xAF,0x76,0xDC,0x25,0x66,0xE7,0x5F,0xAE,0xE7}; @@ -1817,9 +2511,9 @@ uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* ipr { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast79; - xfer += iprot->readI32(ecast79); - this->requestType = (GrantRevokeType::type)ecast79; + int32_t ecast111; + xfer += iprot->readI32(ecast111); + this->requestType = (GrantRevokeType::type)ecast111; this->__isset.requestType = true; } else { xfer += iprot->skip(ftype); @@ -1843,9 +2537,9 @@ uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast80; - xfer += iprot->readI32(ecast80); - this->principalType = (PrincipalType::type)ecast80; + int32_t ecast112; + xfer += iprot->readI32(ecast112); + this->principalType = (PrincipalType::type)ecast112; this->__isset.principalType = true; } else { xfer += iprot->skip(ftype); @@ -1861,9 +2555,9 @@ uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast81; - xfer += iprot->readI32(ecast81); - this->grantorType = (PrincipalType::type)ecast81; + int32_t ecast113; + xfer += iprot->readI32(ecast113); + this->grantorType = (PrincipalType::type)ecast113; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -1891,6 +2585,7 @@ uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* ipr uint32_t GrantRevokeRoleRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("GrantRevokeRoleRequest"); xfer += oprot->writeFieldBegin("requestType", ::apache::thrift::protocol::T_I32, 1); @@ -1926,6 +2621,7 @@ uint32_t GrantRevokeRoleRequest::write(::apache::thrift::protocol::TProtocol* op } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1941,6 +2637,51 @@ void swap(GrantRevokeRoleRequest &a, GrantRevokeRoleRequest &b) { swap(a.__isset, b.__isset); } +GrantRevokeRoleRequest::GrantRevokeRoleRequest(const GrantRevokeRoleRequest& other114) { + requestType = other114.requestType; + roleName = other114.roleName; + principalName = other114.principalName; + principalType = other114.principalType; + grantor = other114.grantor; + grantorType = other114.grantorType; + grantOption = other114.grantOption; + __isset = other114.__isset; +} +GrantRevokeRoleRequest& GrantRevokeRoleRequest::operator=(const GrantRevokeRoleRequest& other115) { + requestType = other115.requestType; + roleName = other115.roleName; + principalName = other115.principalName; + principalType = other115.principalType; + grantor = other115.grantor; + grantorType = other115.grantorType; + grantOption = other115.grantOption; + __isset = other115.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleRequest& obj) { + using apache::thrift::to_string; + out << "GrantRevokeRoleRequest("; + out << "requestType=" << to_string(obj.requestType); + out << ", " << "roleName=" << to_string(obj.roleName); + out << ", " << "principalName=" << to_string(obj.principalName); + out << ", " << "principalType=" << to_string(obj.principalType); + out << ", " << "grantor="; (obj.__isset.grantor ? (out << to_string(obj.grantor)) : (out << "")); + out << ", " << "grantorType="; (obj.__isset.grantorType ? (out << to_string(obj.grantorType)) : (out << "")); + out << ", " << "grantOption="; (obj.__isset.grantOption ? (out << to_string(obj.grantOption)) : (out << "")); + out << ")"; + return out; +} + + +GrantRevokeRoleResponse::~GrantRevokeRoleResponse() throw() { +} + + +void GrantRevokeRoleResponse::__set_success(const bool val) { + this->success = val; +__isset.success = true; +} + const char* GrantRevokeRoleResponse::ascii_fingerprint = "BF054652DEF86253C2BEE7D947F167DD"; const uint8_t GrantRevokeRoleResponse::binary_fingerprint[16] = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; @@ -1986,6 +2727,7 @@ uint32_t GrantRevokeRoleResponse::read(::apache::thrift::protocol::TProtocol* ip uint32_t GrantRevokeRoleResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("GrantRevokeRoleResponse"); if (this->__isset.success) { @@ -1995,6 +2737,7 @@ uint32_t GrantRevokeRoleResponse::write(::apache::thrift::protocol::TProtocol* o } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2004,7 +2747,60 @@ void swap(GrantRevokeRoleResponse &a, GrantRevokeRoleResponse &b) { swap(a.__isset, b.__isset); } -const char* Database::ascii_fingerprint = "553495CAE243A1C583D5C3DD990AED53"; +GrantRevokeRoleResponse::GrantRevokeRoleResponse(const GrantRevokeRoleResponse& other116) { + success = other116.success; + __isset = other116.__isset; +} +GrantRevokeRoleResponse& GrantRevokeRoleResponse::operator=(const GrantRevokeRoleResponse& other117) { + success = other117.success; + __isset = other117.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleResponse& obj) { + using apache::thrift::to_string; + out << "GrantRevokeRoleResponse("; + out << "success="; (obj.__isset.success ? (out << to_string(obj.success)) : (out << "")); + out << ")"; + return out; +} + + +Database::~Database() throw() { +} + + +void Database::__set_name(const std::string& val) { + this->name = val; +} + +void Database::__set_description(const std::string& val) { + this->description = val; +} + +void Database::__set_locationUri(const std::string& val) { + this->locationUri = val; +} + +void Database::__set_parameters(const std::map & val) { + this->parameters = val; +} + +void Database::__set_privileges(const PrincipalPrivilegeSet& val) { + this->privileges = val; +__isset.privileges = true; +} + +void Database::__set_ownerName(const std::string& val) { + this->ownerName = val; +__isset.ownerName = true; +} + +void Database::__set_ownerType(const PrincipalType::type val) { + this->ownerType = val; +__isset.ownerType = true; +} + +const char* Database::ascii_fingerprint = "553495CAE243A1C583D5C3DD990AED53"; const uint8_t Database::binary_fingerprint[16] = {0x55,0x34,0x95,0xCA,0xE2,0x43,0xA1,0xC5,0x83,0xD5,0xC3,0xDD,0x99,0x0A,0xED,0x53}; uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) { @@ -2055,17 +2851,17 @@ uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size82; - ::apache::thrift::protocol::TType _ktype83; - ::apache::thrift::protocol::TType _vtype84; - xfer += iprot->readMapBegin(_ktype83, _vtype84, _size82); - uint32_t _i86; - for (_i86 = 0; _i86 < _size82; ++_i86) + uint32_t _size118; + ::apache::thrift::protocol::TType _ktype119; + ::apache::thrift::protocol::TType _vtype120; + xfer += iprot->readMapBegin(_ktype119, _vtype120, _size118); + uint32_t _i122; + for (_i122 = 0; _i122 < _size118; ++_i122) { - std::string _key87; - xfer += iprot->readString(_key87); - std::string& _val88 = this->parameters[_key87]; - xfer += iprot->readString(_val88); + std::string _key123; + xfer += iprot->readString(_key123); + std::string& _val124 = this->parameters[_key123]; + xfer += iprot->readString(_val124); } xfer += iprot->readMapEnd(); } @@ -2092,9 +2888,9 @@ uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast89; - xfer += iprot->readI32(ecast89); - this->ownerType = (PrincipalType::type)ecast89; + int32_t ecast125; + xfer += iprot->readI32(ecast125); + this->ownerType = (PrincipalType::type)ecast125; this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -2114,6 +2910,7 @@ uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Database::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Database"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -2131,11 +2928,11 @@ uint32_t Database::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 4); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter90; - for (_iter90 = this->parameters.begin(); _iter90 != this->parameters.end(); ++_iter90) + std::map ::const_iterator _iter126; + for (_iter126 = this->parameters.begin(); _iter126 != this->parameters.end(); ++_iter126) { - xfer += oprot->writeString(_iter90->first); - xfer += oprot->writeString(_iter90->second); + xfer += oprot->writeString(_iter126->first); + xfer += oprot->writeString(_iter126->second); } xfer += oprot->writeMapEnd(); } @@ -2158,6 +2955,7 @@ uint32_t Database::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2173,6 +2971,58 @@ void swap(Database &a, Database &b) { swap(a.__isset, b.__isset); } +Database::Database(const Database& other127) { + name = other127.name; + description = other127.description; + locationUri = other127.locationUri; + parameters = other127.parameters; + privileges = other127.privileges; + ownerName = other127.ownerName; + ownerType = other127.ownerType; + __isset = other127.__isset; +} +Database& Database::operator=(const Database& other128) { + name = other128.name; + description = other128.description; + locationUri = other128.locationUri; + parameters = other128.parameters; + privileges = other128.privileges; + ownerName = other128.ownerName; + ownerType = other128.ownerType; + __isset = other128.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Database& obj) { + using apache::thrift::to_string; + out << "Database("; + out << "name=" << to_string(obj.name); + out << ", " << "description=" << to_string(obj.description); + out << ", " << "locationUri=" << to_string(obj.locationUri); + out << ", " << "parameters=" << to_string(obj.parameters); + out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "")); + out << ", " << "ownerName="; (obj.__isset.ownerName ? (out << to_string(obj.ownerName)) : (out << "")); + out << ", " << "ownerType="; (obj.__isset.ownerType ? (out << to_string(obj.ownerType)) : (out << "")); + out << ")"; + return out; +} + + +SerDeInfo::~SerDeInfo() throw() { +} + + +void SerDeInfo::__set_name(const std::string& val) { + this->name = val; +} + +void SerDeInfo::__set_serializationLib(const std::string& val) { + this->serializationLib = val; +} + +void SerDeInfo::__set_parameters(const std::map & val) { + this->parameters = val; +} + const char* SerDeInfo::ascii_fingerprint = "B1021C32A35A2AEFCD2F57A5424159A7"; const uint8_t SerDeInfo::binary_fingerprint[16] = {0xB1,0x02,0x1C,0x32,0xA3,0x5A,0x2A,0xEF,0xCD,0x2F,0x57,0xA5,0x42,0x41,0x59,0xA7}; @@ -2216,17 +3066,17 @@ uint32_t SerDeInfo::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size91; - ::apache::thrift::protocol::TType _ktype92; - ::apache::thrift::protocol::TType _vtype93; - xfer += iprot->readMapBegin(_ktype92, _vtype93, _size91); - uint32_t _i95; - for (_i95 = 0; _i95 < _size91; ++_i95) + uint32_t _size129; + ::apache::thrift::protocol::TType _ktype130; + ::apache::thrift::protocol::TType _vtype131; + xfer += iprot->readMapBegin(_ktype130, _vtype131, _size129); + uint32_t _i133; + for (_i133 = 0; _i133 < _size129; ++_i133) { - std::string _key96; - xfer += iprot->readString(_key96); - std::string& _val97 = this->parameters[_key96]; - xfer += iprot->readString(_val97); + std::string _key134; + xfer += iprot->readString(_key134); + std::string& _val135 = this->parameters[_key134]; + xfer += iprot->readString(_val135); } xfer += iprot->readMapEnd(); } @@ -2249,6 +3099,7 @@ uint32_t SerDeInfo::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t SerDeInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("SerDeInfo"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -2262,11 +3113,11 @@ uint32_t SerDeInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter98; - for (_iter98 = this->parameters.begin(); _iter98 != this->parameters.end(); ++_iter98) + std::map ::const_iterator _iter136; + for (_iter136 = this->parameters.begin(); _iter136 != this->parameters.end(); ++_iter136) { - xfer += oprot->writeString(_iter98->first); - xfer += oprot->writeString(_iter98->second); + xfer += oprot->writeString(_iter136->first); + xfer += oprot->writeString(_iter136->second); } xfer += oprot->writeMapEnd(); } @@ -2274,6 +3125,7 @@ uint32_t SerDeInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2285,6 +3137,42 @@ void swap(SerDeInfo &a, SerDeInfo &b) { swap(a.__isset, b.__isset); } +SerDeInfo::SerDeInfo(const SerDeInfo& other137) { + name = other137.name; + serializationLib = other137.serializationLib; + parameters = other137.parameters; + __isset = other137.__isset; +} +SerDeInfo& SerDeInfo::operator=(const SerDeInfo& other138) { + name = other138.name; + serializationLib = other138.serializationLib; + parameters = other138.parameters; + __isset = other138.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const SerDeInfo& obj) { + using apache::thrift::to_string; + out << "SerDeInfo("; + out << "name=" << to_string(obj.name); + out << ", " << "serializationLib=" << to_string(obj.serializationLib); + out << ", " << "parameters=" << to_string(obj.parameters); + out << ")"; + return out; +} + + +Order::~Order() throw() { +} + + +void Order::__set_col(const std::string& val) { + this->col = val; +} + +void Order::__set_order(const int32_t val) { + this->order = val; +} + const char* Order::ascii_fingerprint = "EEBC915CE44901401D881E6091423036"; const uint8_t Order::binary_fingerprint[16] = {0xEE,0xBC,0x91,0x5C,0xE4,0x49,0x01,0x40,0x1D,0x88,0x1E,0x60,0x91,0x42,0x30,0x36}; @@ -2338,6 +3226,7 @@ uint32_t Order::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Order::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Order"); xfer += oprot->writeFieldBegin("col", ::apache::thrift::protocol::T_STRING, 1); @@ -2350,6 +3239,7 @@ uint32_t Order::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2360,6 +3250,43 @@ void swap(Order &a, Order &b) { swap(a.__isset, b.__isset); } +Order::Order(const Order& other139) { + col = other139.col; + order = other139.order; + __isset = other139.__isset; +} +Order& Order::operator=(const Order& other140) { + col = other140.col; + order = other140.order; + __isset = other140.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Order& obj) { + using apache::thrift::to_string; + out << "Order("; + out << "col=" << to_string(obj.col); + out << ", " << "order=" << to_string(obj.order); + out << ")"; + return out; +} + + +SkewedInfo::~SkewedInfo() throw() { +} + + +void SkewedInfo::__set_skewedColNames(const std::vector & val) { + this->skewedColNames = val; +} + +void SkewedInfo::__set_skewedColValues(const std::vector > & val) { + this->skewedColValues = val; +} + +void SkewedInfo::__set_skewedColValueLocationMaps(const std::map , std::string> & val) { + this->skewedColValueLocationMaps = val; +} + const char* SkewedInfo::ascii_fingerprint = "4BF2ED84BC3C3EB297A2AE2FA8427EB1"; const uint8_t SkewedInfo::binary_fingerprint[16] = {0x4B,0xF2,0xED,0x84,0xBC,0x3C,0x3E,0xB2,0x97,0xA2,0xAE,0x2F,0xA8,0x42,0x7E,0xB1}; @@ -2387,14 +3314,14 @@ uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->skewedColNames.clear(); - uint32_t _size99; - ::apache::thrift::protocol::TType _etype102; - xfer += iprot->readListBegin(_etype102, _size99); - this->skewedColNames.resize(_size99); - uint32_t _i103; - for (_i103 = 0; _i103 < _size99; ++_i103) + uint32_t _size141; + ::apache::thrift::protocol::TType _etype144; + xfer += iprot->readListBegin(_etype144, _size141); + this->skewedColNames.resize(_size141); + uint32_t _i145; + for (_i145 = 0; _i145 < _size141; ++_i145) { - xfer += iprot->readString(this->skewedColNames[_i103]); + xfer += iprot->readString(this->skewedColNames[_i145]); } xfer += iprot->readListEnd(); } @@ -2407,23 +3334,23 @@ uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->skewedColValues.clear(); - uint32_t _size104; - ::apache::thrift::protocol::TType _etype107; - xfer += iprot->readListBegin(_etype107, _size104); - this->skewedColValues.resize(_size104); - uint32_t _i108; - for (_i108 = 0; _i108 < _size104; ++_i108) + uint32_t _size146; + ::apache::thrift::protocol::TType _etype149; + xfer += iprot->readListBegin(_etype149, _size146); + this->skewedColValues.resize(_size146); + uint32_t _i150; + for (_i150 = 0; _i150 < _size146; ++_i150) { { - this->skewedColValues[_i108].clear(); - uint32_t _size109; - ::apache::thrift::protocol::TType _etype112; - xfer += iprot->readListBegin(_etype112, _size109); - this->skewedColValues[_i108].resize(_size109); - uint32_t _i113; - for (_i113 = 0; _i113 < _size109; ++_i113) + this->skewedColValues[_i150].clear(); + uint32_t _size151; + ::apache::thrift::protocol::TType _etype154; + xfer += iprot->readListBegin(_etype154, _size151); + this->skewedColValues[_i150].resize(_size151); + uint32_t _i155; + for (_i155 = 0; _i155 < _size151; ++_i155) { - xfer += iprot->readString(this->skewedColValues[_i108][_i113]); + xfer += iprot->readString(this->skewedColValues[_i150][_i155]); } xfer += iprot->readListEnd(); } @@ -2439,29 +3366,29 @@ uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->skewedColValueLocationMaps.clear(); - uint32_t _size114; - ::apache::thrift::protocol::TType _ktype115; - ::apache::thrift::protocol::TType _vtype116; - xfer += iprot->readMapBegin(_ktype115, _vtype116, _size114); - uint32_t _i118; - for (_i118 = 0; _i118 < _size114; ++_i118) + uint32_t _size156; + ::apache::thrift::protocol::TType _ktype157; + ::apache::thrift::protocol::TType _vtype158; + xfer += iprot->readMapBegin(_ktype157, _vtype158, _size156); + uint32_t _i160; + for (_i160 = 0; _i160 < _size156; ++_i160) { - std::vector _key119; + std::vector _key161; { - _key119.clear(); - uint32_t _size121; - ::apache::thrift::protocol::TType _etype124; - xfer += iprot->readListBegin(_etype124, _size121); - _key119.resize(_size121); - uint32_t _i125; - for (_i125 = 0; _i125 < _size121; ++_i125) + _key161.clear(); + uint32_t _size163; + ::apache::thrift::protocol::TType _etype166; + xfer += iprot->readListBegin(_etype166, _size163); + _key161.resize(_size163); + uint32_t _i167; + for (_i167 = 0; _i167 < _size163; ++_i167) { - xfer += iprot->readString(_key119[_i125]); + xfer += iprot->readString(_key161[_i167]); } xfer += iprot->readListEnd(); } - std::string& _val120 = this->skewedColValueLocationMaps[_key119]; - xfer += iprot->readString(_val120); + std::string& _val162 = this->skewedColValueLocationMaps[_key161]; + xfer += iprot->readString(_val162); } xfer += iprot->readMapEnd(); } @@ -2484,15 +3411,16 @@ uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("SkewedInfo"); xfer += oprot->writeFieldBegin("skewedColNames", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->skewedColNames.size())); - std::vector ::const_iterator _iter126; - for (_iter126 = this->skewedColNames.begin(); _iter126 != this->skewedColNames.end(); ++_iter126) + std::vector ::const_iterator _iter168; + for (_iter168 = this->skewedColNames.begin(); _iter168 != this->skewedColNames.end(); ++_iter168) { - xfer += oprot->writeString((*_iter126)); + xfer += oprot->writeString((*_iter168)); } xfer += oprot->writeListEnd(); } @@ -2501,15 +3429,15 @@ uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("skewedColValues", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_LIST, static_cast(this->skewedColValues.size())); - std::vector > ::const_iterator _iter127; - for (_iter127 = this->skewedColValues.begin(); _iter127 != this->skewedColValues.end(); ++_iter127) + std::vector > ::const_iterator _iter169; + for (_iter169 = this->skewedColValues.begin(); _iter169 != this->skewedColValues.end(); ++_iter169) { { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*_iter127).size())); - std::vector ::const_iterator _iter128; - for (_iter128 = (*_iter127).begin(); _iter128 != (*_iter127).end(); ++_iter128) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*_iter169).size())); + std::vector ::const_iterator _iter170; + for (_iter170 = (*_iter169).begin(); _iter170 != (*_iter169).end(); ++_iter170) { - xfer += oprot->writeString((*_iter128)); + xfer += oprot->writeString((*_iter170)); } xfer += oprot->writeListEnd(); } @@ -2521,19 +3449,19 @@ uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("skewedColValueLocationMaps", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_LIST, ::apache::thrift::protocol::T_STRING, static_cast(this->skewedColValueLocationMaps.size())); - std::map , std::string> ::const_iterator _iter129; - for (_iter129 = this->skewedColValueLocationMaps.begin(); _iter129 != this->skewedColValueLocationMaps.end(); ++_iter129) + std::map , std::string> ::const_iterator _iter171; + for (_iter171 = this->skewedColValueLocationMaps.begin(); _iter171 != this->skewedColValueLocationMaps.end(); ++_iter171) { { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(_iter129->first.size())); - std::vector ::const_iterator _iter130; - for (_iter130 = _iter129->first.begin(); _iter130 != _iter129->first.end(); ++_iter130) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(_iter171->first.size())); + std::vector ::const_iterator _iter172; + for (_iter172 = _iter171->first.begin(); _iter172 != _iter171->first.end(); ++_iter172) { - xfer += oprot->writeString((*_iter130)); + xfer += oprot->writeString((*_iter172)); } xfer += oprot->writeListEnd(); } - xfer += oprot->writeString(_iter129->second); + xfer += oprot->writeString(_iter171->second); } xfer += oprot->writeMapEnd(); } @@ -2541,6 +3469,7 @@ uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2552,6 +3481,84 @@ void swap(SkewedInfo &a, SkewedInfo &b) { swap(a.__isset, b.__isset); } +SkewedInfo::SkewedInfo(const SkewedInfo& other173) { + skewedColNames = other173.skewedColNames; + skewedColValues = other173.skewedColValues; + skewedColValueLocationMaps = other173.skewedColValueLocationMaps; + __isset = other173.__isset; +} +SkewedInfo& SkewedInfo::operator=(const SkewedInfo& other174) { + skewedColNames = other174.skewedColNames; + skewedColValues = other174.skewedColValues; + skewedColValueLocationMaps = other174.skewedColValueLocationMaps; + __isset = other174.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const SkewedInfo& obj) { + using apache::thrift::to_string; + out << "SkewedInfo("; + out << "skewedColNames=" << to_string(obj.skewedColNames); + out << ", " << "skewedColValues=" << to_string(obj.skewedColValues); + out << ", " << "skewedColValueLocationMaps=" << to_string(obj.skewedColValueLocationMaps); + out << ")"; + return out; +} + + +StorageDescriptor::~StorageDescriptor() throw() { +} + + +void StorageDescriptor::__set_cols(const std::vector & val) { + this->cols = val; +} + +void StorageDescriptor::__set_location(const std::string& val) { + this->location = val; +} + +void StorageDescriptor::__set_inputFormat(const std::string& val) { + this->inputFormat = val; +} + +void StorageDescriptor::__set_outputFormat(const std::string& val) { + this->outputFormat = val; +} + +void StorageDescriptor::__set_compressed(const bool val) { + this->compressed = val; +} + +void StorageDescriptor::__set_numBuckets(const int32_t val) { + this->numBuckets = val; +} + +void StorageDescriptor::__set_serdeInfo(const SerDeInfo& val) { + this->serdeInfo = val; +} + +void StorageDescriptor::__set_bucketCols(const std::vector & val) { + this->bucketCols = val; +} + +void StorageDescriptor::__set_sortCols(const std::vector & val) { + this->sortCols = val; +} + +void StorageDescriptor::__set_parameters(const std::map & val) { + this->parameters = val; +} + +void StorageDescriptor::__set_skewedInfo(const SkewedInfo& val) { + this->skewedInfo = val; +__isset.skewedInfo = true; +} + +void StorageDescriptor::__set_storedAsSubDirectories(const bool val) { + this->storedAsSubDirectories = val; +__isset.storedAsSubDirectories = true; +} + const char* StorageDescriptor::ascii_fingerprint = "CA8C9AA5FE4C32643757D8639CEF0CD7"; const uint8_t StorageDescriptor::binary_fingerprint[16] = {0xCA,0x8C,0x9A,0xA5,0xFE,0x4C,0x32,0x64,0x37,0x57,0xD8,0x63,0x9C,0xEF,0x0C,0xD7}; @@ -2579,14 +3586,14 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size131; - ::apache::thrift::protocol::TType _etype134; - xfer += iprot->readListBegin(_etype134, _size131); - this->cols.resize(_size131); - uint32_t _i135; - for (_i135 = 0; _i135 < _size131; ++_i135) + uint32_t _size175; + ::apache::thrift::protocol::TType _etype178; + xfer += iprot->readListBegin(_etype178, _size175); + this->cols.resize(_size175); + uint32_t _i179; + for (_i179 = 0; _i179 < _size175; ++_i179) { - xfer += this->cols[_i135].read(iprot); + xfer += this->cols[_i179].read(iprot); } xfer += iprot->readListEnd(); } @@ -2647,14 +3654,14 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->bucketCols.clear(); - uint32_t _size136; - ::apache::thrift::protocol::TType _etype139; - xfer += iprot->readListBegin(_etype139, _size136); - this->bucketCols.resize(_size136); - uint32_t _i140; - for (_i140 = 0; _i140 < _size136; ++_i140) + uint32_t _size180; + ::apache::thrift::protocol::TType _etype183; + xfer += iprot->readListBegin(_etype183, _size180); + this->bucketCols.resize(_size180); + uint32_t _i184; + for (_i184 = 0; _i184 < _size180; ++_i184) { - xfer += iprot->readString(this->bucketCols[_i140]); + xfer += iprot->readString(this->bucketCols[_i184]); } xfer += iprot->readListEnd(); } @@ -2667,14 +3674,14 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->sortCols.clear(); - uint32_t _size141; - ::apache::thrift::protocol::TType _etype144; - xfer += iprot->readListBegin(_etype144, _size141); - this->sortCols.resize(_size141); - uint32_t _i145; - for (_i145 = 0; _i145 < _size141; ++_i145) + uint32_t _size185; + ::apache::thrift::protocol::TType _etype188; + xfer += iprot->readListBegin(_etype188, _size185); + this->sortCols.resize(_size185); + uint32_t _i189; + for (_i189 = 0; _i189 < _size185; ++_i189) { - xfer += this->sortCols[_i145].read(iprot); + xfer += this->sortCols[_i189].read(iprot); } xfer += iprot->readListEnd(); } @@ -2687,17 +3694,17 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size146; - ::apache::thrift::protocol::TType _ktype147; - ::apache::thrift::protocol::TType _vtype148; - xfer += iprot->readMapBegin(_ktype147, _vtype148, _size146); - uint32_t _i150; - for (_i150 = 0; _i150 < _size146; ++_i150) + uint32_t _size190; + ::apache::thrift::protocol::TType _ktype191; + ::apache::thrift::protocol::TType _vtype192; + xfer += iprot->readMapBegin(_ktype191, _vtype192, _size190); + uint32_t _i194; + for (_i194 = 0; _i194 < _size190; ++_i194) { - std::string _key151; - xfer += iprot->readString(_key151); - std::string& _val152 = this->parameters[_key151]; - xfer += iprot->readString(_val152); + std::string _key195; + xfer += iprot->readString(_key195); + std::string& _val196 = this->parameters[_key195]; + xfer += iprot->readString(_val196); } xfer += iprot->readMapEnd(); } @@ -2736,15 +3743,16 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("StorageDescriptor"); xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->cols.size())); - std::vector ::const_iterator _iter153; - for (_iter153 = this->cols.begin(); _iter153 != this->cols.end(); ++_iter153) + std::vector ::const_iterator _iter197; + for (_iter197 = this->cols.begin(); _iter197 != this->cols.end(); ++_iter197) { - xfer += (*_iter153).write(oprot); + xfer += (*_iter197).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2777,10 +3785,10 @@ uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("bucketCols", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->bucketCols.size())); - std::vector ::const_iterator _iter154; - for (_iter154 = this->bucketCols.begin(); _iter154 != this->bucketCols.end(); ++_iter154) + std::vector ::const_iterator _iter198; + for (_iter198 = this->bucketCols.begin(); _iter198 != this->bucketCols.end(); ++_iter198) { - xfer += oprot->writeString((*_iter154)); + xfer += oprot->writeString((*_iter198)); } xfer += oprot->writeListEnd(); } @@ -2789,10 +3797,10 @@ uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("sortCols", ::apache::thrift::protocol::T_LIST, 9); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->sortCols.size())); - std::vector ::const_iterator _iter155; - for (_iter155 = this->sortCols.begin(); _iter155 != this->sortCols.end(); ++_iter155) + std::vector ::const_iterator _iter199; + for (_iter199 = this->sortCols.begin(); _iter199 != this->sortCols.end(); ++_iter199) { - xfer += (*_iter155).write(oprot); + xfer += (*_iter199).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2801,11 +3809,11 @@ uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 10); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter156; - for (_iter156 = this->parameters.begin(); _iter156 != this->parameters.end(); ++_iter156) + std::map ::const_iterator _iter200; + for (_iter200 = this->parameters.begin(); _iter200 != this->parameters.end(); ++_iter200) { - xfer += oprot->writeString(_iter156->first); - xfer += oprot->writeString(_iter156->second); + xfer += oprot->writeString(_iter200->first); + xfer += oprot->writeString(_iter200->second); } xfer += oprot->writeMapEnd(); } @@ -2823,6 +3831,7 @@ uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2843,6 +3852,119 @@ void swap(StorageDescriptor &a, StorageDescriptor &b) { swap(a.__isset, b.__isset); } +StorageDescriptor::StorageDescriptor(const StorageDescriptor& other201) { + cols = other201.cols; + location = other201.location; + inputFormat = other201.inputFormat; + outputFormat = other201.outputFormat; + compressed = other201.compressed; + numBuckets = other201.numBuckets; + serdeInfo = other201.serdeInfo; + bucketCols = other201.bucketCols; + sortCols = other201.sortCols; + parameters = other201.parameters; + skewedInfo = other201.skewedInfo; + storedAsSubDirectories = other201.storedAsSubDirectories; + __isset = other201.__isset; +} +StorageDescriptor& StorageDescriptor::operator=(const StorageDescriptor& other202) { + cols = other202.cols; + location = other202.location; + inputFormat = other202.inputFormat; + outputFormat = other202.outputFormat; + compressed = other202.compressed; + numBuckets = other202.numBuckets; + serdeInfo = other202.serdeInfo; + bucketCols = other202.bucketCols; + sortCols = other202.sortCols; + parameters = other202.parameters; + skewedInfo = other202.skewedInfo; + storedAsSubDirectories = other202.storedAsSubDirectories; + __isset = other202.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj) { + using apache::thrift::to_string; + out << "StorageDescriptor("; + out << "cols=" << to_string(obj.cols); + out << ", " << "location=" << to_string(obj.location); + out << ", " << "inputFormat=" << to_string(obj.inputFormat); + out << ", " << "outputFormat=" << to_string(obj.outputFormat); + out << ", " << "compressed=" << to_string(obj.compressed); + out << ", " << "numBuckets=" << to_string(obj.numBuckets); + out << ", " << "serdeInfo=" << to_string(obj.serdeInfo); + out << ", " << "bucketCols=" << to_string(obj.bucketCols); + out << ", " << "sortCols=" << to_string(obj.sortCols); + out << ", " << "parameters=" << to_string(obj.parameters); + out << ", " << "skewedInfo="; (obj.__isset.skewedInfo ? (out << to_string(obj.skewedInfo)) : (out << "")); + out << ", " << "storedAsSubDirectories="; (obj.__isset.storedAsSubDirectories ? (out << to_string(obj.storedAsSubDirectories)) : (out << "")); + out << ")"; + return out; +} + + +Table::~Table() throw() { +} + + +void Table::__set_tableName(const std::string& val) { + this->tableName = val; +} + +void Table::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void Table::__set_owner(const std::string& val) { + this->owner = val; +} + +void Table::__set_createTime(const int32_t val) { + this->createTime = val; +} + +void Table::__set_lastAccessTime(const int32_t val) { + this->lastAccessTime = val; +} + +void Table::__set_retention(const int32_t val) { + this->retention = val; +} + +void Table::__set_sd(const StorageDescriptor& val) { + this->sd = val; +} + +void Table::__set_partitionKeys(const std::vector & val) { + this->partitionKeys = val; +} + +void Table::__set_parameters(const std::map & val) { + this->parameters = val; +} + +void Table::__set_viewOriginalText(const std::string& val) { + this->viewOriginalText = val; +} + +void Table::__set_viewExpandedText(const std::string& val) { + this->viewExpandedText = val; +} + +void Table::__set_tableType(const std::string& val) { + this->tableType = val; +} + +void Table::__set_privileges(const PrincipalPrivilegeSet& val) { + this->privileges = val; +__isset.privileges = true; +} + +void Table::__set_temporary(const bool val) { + this->temporary = val; +__isset.temporary = true; +} + const char* Table::ascii_fingerprint = "29EFB2A5970EF572039E5D94CC78AA85"; const uint8_t Table::binary_fingerprint[16] = {0x29,0xEF,0xB2,0xA5,0x97,0x0E,0xF5,0x72,0x03,0x9E,0x5D,0x94,0xCC,0x78,0xAA,0x85}; @@ -2926,14 +4048,14 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionKeys.clear(); - uint32_t _size157; - ::apache::thrift::protocol::TType _etype160; - xfer += iprot->readListBegin(_etype160, _size157); - this->partitionKeys.resize(_size157); - uint32_t _i161; - for (_i161 = 0; _i161 < _size157; ++_i161) + uint32_t _size203; + ::apache::thrift::protocol::TType _etype206; + xfer += iprot->readListBegin(_etype206, _size203); + this->partitionKeys.resize(_size203); + uint32_t _i207; + for (_i207 = 0; _i207 < _size203; ++_i207) { - xfer += this->partitionKeys[_i161].read(iprot); + xfer += this->partitionKeys[_i207].read(iprot); } xfer += iprot->readListEnd(); } @@ -2946,17 +4068,17 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size162; - ::apache::thrift::protocol::TType _ktype163; - ::apache::thrift::protocol::TType _vtype164; - xfer += iprot->readMapBegin(_ktype163, _vtype164, _size162); - uint32_t _i166; - for (_i166 = 0; _i166 < _size162; ++_i166) + uint32_t _size208; + ::apache::thrift::protocol::TType _ktype209; + ::apache::thrift::protocol::TType _vtype210; + xfer += iprot->readMapBegin(_ktype209, _vtype210, _size208); + uint32_t _i212; + for (_i212 = 0; _i212 < _size208; ++_i212) { - std::string _key167; - xfer += iprot->readString(_key167); - std::string& _val168 = this->parameters[_key167]; - xfer += iprot->readString(_val168); + std::string _key213; + xfer += iprot->readString(_key213); + std::string& _val214 = this->parameters[_key213]; + xfer += iprot->readString(_val214); } xfer += iprot->readMapEnd(); } @@ -3019,6 +4141,7 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Table"); xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 1); @@ -3052,10 +4175,10 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("partitionKeys", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionKeys.size())); - std::vector ::const_iterator _iter169; - for (_iter169 = this->partitionKeys.begin(); _iter169 != this->partitionKeys.end(); ++_iter169) + std::vector ::const_iterator _iter215; + for (_iter215 = this->partitionKeys.begin(); _iter215 != this->partitionKeys.end(); ++_iter215) { - xfer += (*_iter169).write(oprot); + xfer += (*_iter215).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3064,11 +4187,11 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 9); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter170; - for (_iter170 = this->parameters.begin(); _iter170 != this->parameters.end(); ++_iter170) + std::map ::const_iterator _iter216; + for (_iter216 = this->parameters.begin(); _iter216 != this->parameters.end(); ++_iter216) { - xfer += oprot->writeString(_iter170->first); - xfer += oprot->writeString(_iter170->second); + xfer += oprot->writeString(_iter216->first); + xfer += oprot->writeString(_iter216->second); } xfer += oprot->writeMapEnd(); } @@ -3098,6 +4221,7 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3120,6 +4244,100 @@ void swap(Table &a, Table &b) { swap(a.__isset, b.__isset); } +Table::Table(const Table& other217) { + tableName = other217.tableName; + dbName = other217.dbName; + owner = other217.owner; + createTime = other217.createTime; + lastAccessTime = other217.lastAccessTime; + retention = other217.retention; + sd = other217.sd; + partitionKeys = other217.partitionKeys; + parameters = other217.parameters; + viewOriginalText = other217.viewOriginalText; + viewExpandedText = other217.viewExpandedText; + tableType = other217.tableType; + privileges = other217.privileges; + temporary = other217.temporary; + __isset = other217.__isset; +} +Table& Table::operator=(const Table& other218) { + tableName = other218.tableName; + dbName = other218.dbName; + owner = other218.owner; + createTime = other218.createTime; + lastAccessTime = other218.lastAccessTime; + retention = other218.retention; + sd = other218.sd; + partitionKeys = other218.partitionKeys; + parameters = other218.parameters; + viewOriginalText = other218.viewOriginalText; + viewExpandedText = other218.viewExpandedText; + tableType = other218.tableType; + privileges = other218.privileges; + temporary = other218.temporary; + __isset = other218.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Table& obj) { + using apache::thrift::to_string; + out << "Table("; + out << "tableName=" << to_string(obj.tableName); + out << ", " << "dbName=" << to_string(obj.dbName); + out << ", " << "owner=" << to_string(obj.owner); + out << ", " << "createTime=" << to_string(obj.createTime); + out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime); + out << ", " << "retention=" << to_string(obj.retention); + out << ", " << "sd=" << to_string(obj.sd); + out << ", " << "partitionKeys=" << to_string(obj.partitionKeys); + out << ", " << "parameters=" << to_string(obj.parameters); + out << ", " << "viewOriginalText=" << to_string(obj.viewOriginalText); + out << ", " << "viewExpandedText=" << to_string(obj.viewExpandedText); + out << ", " << "tableType=" << to_string(obj.tableType); + out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "")); + out << ", " << "temporary="; (obj.__isset.temporary ? (out << to_string(obj.temporary)) : (out << "")); + out << ")"; + return out; +} + + +Partition::~Partition() throw() { +} + + +void Partition::__set_values(const std::vector & val) { + this->values = val; +} + +void Partition::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void Partition::__set_tableName(const std::string& val) { + this->tableName = val; +} + +void Partition::__set_createTime(const int32_t val) { + this->createTime = val; +} + +void Partition::__set_lastAccessTime(const int32_t val) { + this->lastAccessTime = val; +} + +void Partition::__set_sd(const StorageDescriptor& val) { + this->sd = val; +} + +void Partition::__set_parameters(const std::map & val) { + this->parameters = val; +} + +void Partition::__set_privileges(const PrincipalPrivilegeSet& val) { + this->privileges = val; +__isset.privileges = true; +} + const char* Partition::ascii_fingerprint = "31A52241B88A426C34087FE38343FF51"; const uint8_t Partition::binary_fingerprint[16] = {0x31,0xA5,0x22,0x41,0xB8,0x8A,0x42,0x6C,0x34,0x08,0x7F,0xE3,0x83,0x43,0xFF,0x51}; @@ -3147,14 +4365,14 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size171; - ::apache::thrift::protocol::TType _etype174; - xfer += iprot->readListBegin(_etype174, _size171); - this->values.resize(_size171); - uint32_t _i175; - for (_i175 = 0; _i175 < _size171; ++_i175) + uint32_t _size219; + ::apache::thrift::protocol::TType _etype222; + xfer += iprot->readListBegin(_etype222, _size219); + this->values.resize(_size219); + uint32_t _i223; + for (_i223 = 0; _i223 < _size219; ++_i223) { - xfer += iprot->readString(this->values[_i175]); + xfer += iprot->readString(this->values[_i223]); } xfer += iprot->readListEnd(); } @@ -3207,17 +4425,17 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size176; - ::apache::thrift::protocol::TType _ktype177; - ::apache::thrift::protocol::TType _vtype178; - xfer += iprot->readMapBegin(_ktype177, _vtype178, _size176); - uint32_t _i180; - for (_i180 = 0; _i180 < _size176; ++_i180) + uint32_t _size224; + ::apache::thrift::protocol::TType _ktype225; + ::apache::thrift::protocol::TType _vtype226; + xfer += iprot->readMapBegin(_ktype225, _vtype226, _size224); + uint32_t _i228; + for (_i228 = 0; _i228 < _size224; ++_i228) { - std::string _key181; - xfer += iprot->readString(_key181); - std::string& _val182 = this->parameters[_key181]; - xfer += iprot->readString(_val182); + std::string _key229; + xfer += iprot->readString(_key229); + std::string& _val230 = this->parameters[_key229]; + xfer += iprot->readString(_val230); } xfer += iprot->readMapEnd(); } @@ -3248,15 +4466,16 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Partition"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->values.size())); - std::vector ::const_iterator _iter183; - for (_iter183 = this->values.begin(); _iter183 != this->values.end(); ++_iter183) + std::vector ::const_iterator _iter231; + for (_iter231 = this->values.begin(); _iter231 != this->values.end(); ++_iter231) { - xfer += oprot->writeString((*_iter183)); + xfer += oprot->writeString((*_iter231)); } xfer += oprot->writeListEnd(); } @@ -3285,11 +4504,11 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 7); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter184; - for (_iter184 = this->parameters.begin(); _iter184 != this->parameters.end(); ++_iter184) + std::map ::const_iterator _iter232; + for (_iter232 = this->parameters.begin(); _iter232 != this->parameters.end(); ++_iter232) { - xfer += oprot->writeString(_iter184->first); - xfer += oprot->writeString(_iter184->second); + xfer += oprot->writeString(_iter232->first); + xfer += oprot->writeString(_iter232->second); } xfer += oprot->writeMapEnd(); } @@ -3302,6 +4521,7 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3318,6 +4538,74 @@ void swap(Partition &a, Partition &b) { swap(a.__isset, b.__isset); } +Partition::Partition(const Partition& other233) { + values = other233.values; + dbName = other233.dbName; + tableName = other233.tableName; + createTime = other233.createTime; + lastAccessTime = other233.lastAccessTime; + sd = other233.sd; + parameters = other233.parameters; + privileges = other233.privileges; + __isset = other233.__isset; +} +Partition& Partition::operator=(const Partition& other234) { + values = other234.values; + dbName = other234.dbName; + tableName = other234.tableName; + createTime = other234.createTime; + lastAccessTime = other234.lastAccessTime; + sd = other234.sd; + parameters = other234.parameters; + privileges = other234.privileges; + __isset = other234.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Partition& obj) { + using apache::thrift::to_string; + out << "Partition("; + out << "values=" << to_string(obj.values); + out << ", " << "dbName=" << to_string(obj.dbName); + out << ", " << "tableName=" << to_string(obj.tableName); + out << ", " << "createTime=" << to_string(obj.createTime); + out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime); + out << ", " << "sd=" << to_string(obj.sd); + out << ", " << "parameters=" << to_string(obj.parameters); + out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "")); + out << ")"; + return out; +} + + +PartitionWithoutSD::~PartitionWithoutSD() throw() { +} + + +void PartitionWithoutSD::__set_values(const std::vector & val) { + this->values = val; +} + +void PartitionWithoutSD::__set_createTime(const int32_t val) { + this->createTime = val; +} + +void PartitionWithoutSD::__set_lastAccessTime(const int32_t val) { + this->lastAccessTime = val; +} + +void PartitionWithoutSD::__set_relativePath(const std::string& val) { + this->relativePath = val; +} + +void PartitionWithoutSD::__set_parameters(const std::map & val) { + this->parameters = val; +} + +void PartitionWithoutSD::__set_privileges(const PrincipalPrivilegeSet& val) { + this->privileges = val; +__isset.privileges = true; +} + const char* PartitionWithoutSD::ascii_fingerprint = "D79FA44499888D0E50B5625E0C536DEA"; const uint8_t PartitionWithoutSD::binary_fingerprint[16] = {0xD7,0x9F,0xA4,0x44,0x99,0x88,0x8D,0x0E,0x50,0xB5,0x62,0x5E,0x0C,0x53,0x6D,0xEA}; @@ -3345,14 +4633,14 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size185; - ::apache::thrift::protocol::TType _etype188; - xfer += iprot->readListBegin(_etype188, _size185); - this->values.resize(_size185); - uint32_t _i189; - for (_i189 = 0; _i189 < _size185; ++_i189) + uint32_t _size235; + ::apache::thrift::protocol::TType _etype238; + xfer += iprot->readListBegin(_etype238, _size235); + this->values.resize(_size235); + uint32_t _i239; + for (_i239 = 0; _i239 < _size235; ++_i239) { - xfer += iprot->readString(this->values[_i189]); + xfer += iprot->readString(this->values[_i239]); } xfer += iprot->readListEnd(); } @@ -3389,17 +4677,17 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size190; - ::apache::thrift::protocol::TType _ktype191; - ::apache::thrift::protocol::TType _vtype192; - xfer += iprot->readMapBegin(_ktype191, _vtype192, _size190); - uint32_t _i194; - for (_i194 = 0; _i194 < _size190; ++_i194) + uint32_t _size240; + ::apache::thrift::protocol::TType _ktype241; + ::apache::thrift::protocol::TType _vtype242; + xfer += iprot->readMapBegin(_ktype241, _vtype242, _size240); + uint32_t _i244; + for (_i244 = 0; _i244 < _size240; ++_i244) { - std::string _key195; - xfer += iprot->readString(_key195); - std::string& _val196 = this->parameters[_key195]; - xfer += iprot->readString(_val196); + std::string _key245; + xfer += iprot->readString(_key245); + std::string& _val246 = this->parameters[_key245]; + xfer += iprot->readString(_val246); } xfer += iprot->readMapEnd(); } @@ -3430,15 +4718,16 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PartitionWithoutSD"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->values.size())); - std::vector ::const_iterator _iter197; - for (_iter197 = this->values.begin(); _iter197 != this->values.end(); ++_iter197) + std::vector ::const_iterator _iter247; + for (_iter247 = this->values.begin(); _iter247 != this->values.end(); ++_iter247) { - xfer += oprot->writeString((*_iter197)); + xfer += oprot->writeString((*_iter247)); } xfer += oprot->writeListEnd(); } @@ -3459,11 +4748,11 @@ uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 5); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter198; - for (_iter198 = this->parameters.begin(); _iter198 != this->parameters.end(); ++_iter198) + std::map ::const_iterator _iter248; + for (_iter248 = this->parameters.begin(); _iter248 != this->parameters.end(); ++_iter248) { - xfer += oprot->writeString(_iter198->first); - xfer += oprot->writeString(_iter198->second); + xfer += oprot->writeString(_iter248->first); + xfer += oprot->writeString(_iter248->second); } xfer += oprot->writeMapEnd(); } @@ -3476,6 +4765,7 @@ uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3490,6 +4780,51 @@ void swap(PartitionWithoutSD &a, PartitionWithoutSD &b) { swap(a.__isset, b.__isset); } +PartitionWithoutSD::PartitionWithoutSD(const PartitionWithoutSD& other249) { + values = other249.values; + createTime = other249.createTime; + lastAccessTime = other249.lastAccessTime; + relativePath = other249.relativePath; + parameters = other249.parameters; + privileges = other249.privileges; + __isset = other249.__isset; +} +PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& other250) { + values = other250.values; + createTime = other250.createTime; + lastAccessTime = other250.lastAccessTime; + relativePath = other250.relativePath; + parameters = other250.parameters; + privileges = other250.privileges; + __isset = other250.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PartitionWithoutSD& obj) { + using apache::thrift::to_string; + out << "PartitionWithoutSD("; + out << "values=" << to_string(obj.values); + out << ", " << "createTime=" << to_string(obj.createTime); + out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime); + out << ", " << "relativePath=" << to_string(obj.relativePath); + out << ", " << "parameters=" << to_string(obj.parameters); + out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "")); + out << ")"; + return out; +} + + +PartitionSpecWithSharedSD::~PartitionSpecWithSharedSD() throw() { +} + + +void PartitionSpecWithSharedSD::__set_partitions(const std::vector & val) { + this->partitions = val; +} + +void PartitionSpecWithSharedSD::__set_sd(const StorageDescriptor& val) { + this->sd = val; +} + const char* PartitionSpecWithSharedSD::ascii_fingerprint = "7BEE9305B42DCD083FF06BEE6DDC61CF"; const uint8_t PartitionSpecWithSharedSD::binary_fingerprint[16] = {0x7B,0xEE,0x93,0x05,0xB4,0x2D,0xCD,0x08,0x3F,0xF0,0x6B,0xEE,0x6D,0xDC,0x61,0xCF}; @@ -3517,14 +4852,14 @@ uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size199; - ::apache::thrift::protocol::TType _etype202; - xfer += iprot->readListBegin(_etype202, _size199); - this->partitions.resize(_size199); - uint32_t _i203; - for (_i203 = 0; _i203 < _size199; ++_i203) + uint32_t _size251; + ::apache::thrift::protocol::TType _etype254; + xfer += iprot->readListBegin(_etype254, _size251); + this->partitions.resize(_size251); + uint32_t _i255; + for (_i255 = 0; _i255 < _size251; ++_i255) { - xfer += this->partitions[_i203].read(iprot); + xfer += this->partitions[_i255].read(iprot); } xfer += iprot->readListEnd(); } @@ -3555,15 +4890,16 @@ uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol* uint32_t PartitionSpecWithSharedSD::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PartitionSpecWithSharedSD"); xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter204; - for (_iter204 = this->partitions.begin(); _iter204 != this->partitions.end(); ++_iter204) + std::vector ::const_iterator _iter256; + for (_iter256 = this->partitions.begin(); _iter256 != this->partitions.end(); ++_iter256) { - xfer += (*_iter204).write(oprot); + xfer += (*_iter256).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3575,6 +4911,7 @@ uint32_t PartitionSpecWithSharedSD::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3585,6 +4922,35 @@ void swap(PartitionSpecWithSharedSD &a, PartitionSpecWithSharedSD &b) { swap(a.__isset, b.__isset); } +PartitionSpecWithSharedSD::PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD& other257) { + partitions = other257.partitions; + sd = other257.sd; + __isset = other257.__isset; +} +PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionSpecWithSharedSD& other258) { + partitions = other258.partitions; + sd = other258.sd; + __isset = other258.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PartitionSpecWithSharedSD& obj) { + using apache::thrift::to_string; + out << "PartitionSpecWithSharedSD("; + out << "partitions=" << to_string(obj.partitions); + out << ", " << "sd=" << to_string(obj.sd); + out << ")"; + return out; +} + + +PartitionListComposingSpec::~PartitionListComposingSpec() throw() { +} + + +void PartitionListComposingSpec::__set_partitions(const std::vector & val) { + this->partitions = val; +} + const char* PartitionListComposingSpec::ascii_fingerprint = "A048235CB9A257C8A74E3691BEFE0674"; const uint8_t PartitionListComposingSpec::binary_fingerprint[16] = {0xA0,0x48,0x23,0x5C,0xB9,0xA2,0x57,0xC8,0xA7,0x4E,0x36,0x91,0xBE,0xFE,0x06,0x74}; @@ -3612,18 +4978,18 @@ uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size205; - ::apache::thrift::protocol::TType _etype208; - xfer += iprot->readListBegin(_etype208, _size205); - this->partitions.resize(_size205); - uint32_t _i209; - for (_i209 = 0; _i209 < _size205; ++_i209) - { - xfer += this->partitions[_i209].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.partitions = true; + uint32_t _size259; + ::apache::thrift::protocol::TType _etype262; + xfer += iprot->readListBegin(_etype262, _size259); + this->partitions.resize(_size259); + uint32_t _i263; + for (_i263 = 0; _i263 < _size259; ++_i263) + { + xfer += this->partitions[_i263].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.partitions = true; } else { xfer += iprot->skip(ftype); } @@ -3642,15 +5008,16 @@ uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol* uint32_t PartitionListComposingSpec::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PartitionListComposingSpec"); xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter210; - for (_iter210 = this->partitions.begin(); _iter210 != this->partitions.end(); ++_iter210) + std::vector ::const_iterator _iter264; + for (_iter264 = this->partitions.begin(); _iter264 != this->partitions.end(); ++_iter264) { - xfer += (*_iter210).write(oprot); + xfer += (*_iter264).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3658,6 +5025,7 @@ uint32_t PartitionListComposingSpec::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3667,6 +5035,50 @@ void swap(PartitionListComposingSpec &a, PartitionListComposingSpec &b) { swap(a.__isset, b.__isset); } +PartitionListComposingSpec::PartitionListComposingSpec(const PartitionListComposingSpec& other265) { + partitions = other265.partitions; + __isset = other265.__isset; +} +PartitionListComposingSpec& PartitionListComposingSpec::operator=(const PartitionListComposingSpec& other266) { + partitions = other266.partitions; + __isset = other266.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PartitionListComposingSpec& obj) { + using apache::thrift::to_string; + out << "PartitionListComposingSpec("; + out << "partitions=" << to_string(obj.partitions); + out << ")"; + return out; +} + + +PartitionSpec::~PartitionSpec() throw() { +} + + +void PartitionSpec::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void PartitionSpec::__set_tableName(const std::string& val) { + this->tableName = val; +} + +void PartitionSpec::__set_rootPath(const std::string& val) { + this->rootPath = val; +} + +void PartitionSpec::__set_sharedSDPartitionSpec(const PartitionSpecWithSharedSD& val) { + this->sharedSDPartitionSpec = val; +__isset.sharedSDPartitionSpec = true; +} + +void PartitionSpec::__set_partitionList(const PartitionListComposingSpec& val) { + this->partitionList = val; +__isset.partitionList = true; +} + const char* PartitionSpec::ascii_fingerprint = "C3F548C24D072CF6422F25096143E3E8"; const uint8_t PartitionSpec::binary_fingerprint[16] = {0xC3,0xF5,0x48,0xC2,0x4D,0x07,0x2C,0xF6,0x42,0x2F,0x25,0x09,0x61,0x43,0xE3,0xE8}; @@ -3744,6 +5156,7 @@ uint32_t PartitionSpec::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t PartitionSpec::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PartitionSpec"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -3770,6 +5183,7 @@ uint32_t PartitionSpec::write(::apache::thrift::protocol::TProtocol* oprot) cons } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3783,6 +5197,80 @@ void swap(PartitionSpec &a, PartitionSpec &b) { swap(a.__isset, b.__isset); } +PartitionSpec::PartitionSpec(const PartitionSpec& other267) { + dbName = other267.dbName; + tableName = other267.tableName; + rootPath = other267.rootPath; + sharedSDPartitionSpec = other267.sharedSDPartitionSpec; + partitionList = other267.partitionList; + __isset = other267.__isset; +} +PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other268) { + dbName = other268.dbName; + tableName = other268.tableName; + rootPath = other268.rootPath; + sharedSDPartitionSpec = other268.sharedSDPartitionSpec; + partitionList = other268.partitionList; + __isset = other268.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PartitionSpec& obj) { + using apache::thrift::to_string; + out << "PartitionSpec("; + out << "dbName=" << to_string(obj.dbName); + out << ", " << "tableName=" << to_string(obj.tableName); + out << ", " << "rootPath=" << to_string(obj.rootPath); + out << ", " << "sharedSDPartitionSpec="; (obj.__isset.sharedSDPartitionSpec ? (out << to_string(obj.sharedSDPartitionSpec)) : (out << "")); + out << ", " << "partitionList="; (obj.__isset.partitionList ? (out << to_string(obj.partitionList)) : (out << "")); + out << ")"; + return out; +} + + +Index::~Index() throw() { +} + + +void Index::__set_indexName(const std::string& val) { + this->indexName = val; +} + +void Index::__set_indexHandlerClass(const std::string& val) { + this->indexHandlerClass = val; +} + +void Index::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void Index::__set_origTableName(const std::string& val) { + this->origTableName = val; +} + +void Index::__set_createTime(const int32_t val) { + this->createTime = val; +} + +void Index::__set_lastAccessTime(const int32_t val) { + this->lastAccessTime = val; +} + +void Index::__set_indexTableName(const std::string& val) { + this->indexTableName = val; +} + +void Index::__set_sd(const StorageDescriptor& val) { + this->sd = val; +} + +void Index::__set_parameters(const std::map & val) { + this->parameters = val; +} + +void Index::__set_deferredRebuild(const bool val) { + this->deferredRebuild = val; +} + const char* Index::ascii_fingerprint = "09EEF655216AC81802850988D6C470A6"; const uint8_t Index::binary_fingerprint[16] = {0x09,0xEE,0xF6,0x55,0x21,0x6A,0xC8,0x18,0x02,0x85,0x09,0x88,0xD6,0xC4,0x70,0xA6}; @@ -3874,17 +5362,17 @@ uint32_t Index::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size211; - ::apache::thrift::protocol::TType _ktype212; - ::apache::thrift::protocol::TType _vtype213; - xfer += iprot->readMapBegin(_ktype212, _vtype213, _size211); - uint32_t _i215; - for (_i215 = 0; _i215 < _size211; ++_i215) + uint32_t _size269; + ::apache::thrift::protocol::TType _ktype270; + ::apache::thrift::protocol::TType _vtype271; + xfer += iprot->readMapBegin(_ktype270, _vtype271, _size269); + uint32_t _i273; + for (_i273 = 0; _i273 < _size269; ++_i273) { - std::string _key216; - xfer += iprot->readString(_key216); - std::string& _val217 = this->parameters[_key216]; - xfer += iprot->readString(_val217); + std::string _key274; + xfer += iprot->readString(_key274); + std::string& _val275 = this->parameters[_key274]; + xfer += iprot->readString(_val275); } xfer += iprot->readMapEnd(); } @@ -3915,6 +5403,7 @@ uint32_t Index::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Index::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Index"); xfer += oprot->writeFieldBegin("indexName", ::apache::thrift::protocol::T_STRING, 1); @@ -3952,11 +5441,11 @@ uint32_t Index::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 9); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter218; - for (_iter218 = this->parameters.begin(); _iter218 != this->parameters.end(); ++_iter218) + std::map ::const_iterator _iter276; + for (_iter276 = this->parameters.begin(); _iter276 != this->parameters.end(); ++_iter276) { - xfer += oprot->writeString(_iter218->first); - xfer += oprot->writeString(_iter218->second); + xfer += oprot->writeString(_iter276->first); + xfer += oprot->writeString(_iter276->second); } xfer += oprot->writeMapEnd(); } @@ -3968,6 +5457,7 @@ uint32_t Index::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3986,6 +5476,67 @@ void swap(Index &a, Index &b) { swap(a.__isset, b.__isset); } +Index::Index(const Index& other277) { + indexName = other277.indexName; + indexHandlerClass = other277.indexHandlerClass; + dbName = other277.dbName; + origTableName = other277.origTableName; + createTime = other277.createTime; + lastAccessTime = other277.lastAccessTime; + indexTableName = other277.indexTableName; + sd = other277.sd; + parameters = other277.parameters; + deferredRebuild = other277.deferredRebuild; + __isset = other277.__isset; +} +Index& Index::operator=(const Index& other278) { + indexName = other278.indexName; + indexHandlerClass = other278.indexHandlerClass; + dbName = other278.dbName; + origTableName = other278.origTableName; + createTime = other278.createTime; + lastAccessTime = other278.lastAccessTime; + indexTableName = other278.indexTableName; + sd = other278.sd; + parameters = other278.parameters; + deferredRebuild = other278.deferredRebuild; + __isset = other278.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Index& obj) { + using apache::thrift::to_string; + out << "Index("; + out << "indexName=" << to_string(obj.indexName); + out << ", " << "indexHandlerClass=" << to_string(obj.indexHandlerClass); + out << ", " << "dbName=" << to_string(obj.dbName); + out << ", " << "origTableName=" << to_string(obj.origTableName); + out << ", " << "createTime=" << to_string(obj.createTime); + out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime); + out << ", " << "indexTableName=" << to_string(obj.indexTableName); + out << ", " << "sd=" << to_string(obj.sd); + out << ", " << "parameters=" << to_string(obj.parameters); + out << ", " << "deferredRebuild=" << to_string(obj.deferredRebuild); + out << ")"; + return out; +} + + +BooleanColumnStatsData::~BooleanColumnStatsData() throw() { +} + + +void BooleanColumnStatsData::__set_numTrues(const int64_t val) { + this->numTrues = val; +} + +void BooleanColumnStatsData::__set_numFalses(const int64_t val) { + this->numFalses = val; +} + +void BooleanColumnStatsData::__set_numNulls(const int64_t val) { + this->numNulls = val; +} + const char* BooleanColumnStatsData::ascii_fingerprint = "EA2D65F1E0BB78760205682082304B41"; const uint8_t BooleanColumnStatsData::binary_fingerprint[16] = {0xEA,0x2D,0x65,0xF1,0xE0,0xBB,0x78,0x76,0x02,0x05,0x68,0x20,0x82,0x30,0x4B,0x41}; @@ -4056,6 +5607,7 @@ uint32_t BooleanColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipr uint32_t BooleanColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("BooleanColumnStatsData"); xfer += oprot->writeFieldBegin("numTrues", ::apache::thrift::protocol::T_I64, 1); @@ -4072,6 +5624,7 @@ uint32_t BooleanColumnStatsData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4082,6 +5635,50 @@ void swap(BooleanColumnStatsData &a, BooleanColumnStatsData &b) { swap(a.numNulls, b.numNulls); } +BooleanColumnStatsData::BooleanColumnStatsData(const BooleanColumnStatsData& other279) { + numTrues = other279.numTrues; + numFalses = other279.numFalses; + numNulls = other279.numNulls; +} +BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnStatsData& other280) { + numTrues = other280.numTrues; + numFalses = other280.numFalses; + numNulls = other280.numNulls; + return *this; +} +std::ostream& operator<<(std::ostream& out, const BooleanColumnStatsData& obj) { + using apache::thrift::to_string; + out << "BooleanColumnStatsData("; + out << "numTrues=" << to_string(obj.numTrues); + out << ", " << "numFalses=" << to_string(obj.numFalses); + out << ", " << "numNulls=" << to_string(obj.numNulls); + out << ")"; + return out; +} + + +DoubleColumnStatsData::~DoubleColumnStatsData() throw() { +} + + +void DoubleColumnStatsData::__set_lowValue(const double val) { + this->lowValue = val; +__isset.lowValue = true; +} + +void DoubleColumnStatsData::__set_highValue(const double val) { + this->highValue = val; +__isset.highValue = true; +} + +void DoubleColumnStatsData::__set_numNulls(const int64_t val) { + this->numNulls = val; +} + +void DoubleColumnStatsData::__set_numDVs(const int64_t val) { + this->numDVs = val; +} + const char* DoubleColumnStatsData::ascii_fingerprint = "DA7C011321D74C48396AA002E61A0CBB"; const uint8_t DoubleColumnStatsData::binary_fingerprint[16] = {0xDA,0x7C,0x01,0x13,0x21,0xD7,0x4C,0x48,0x39,0x6A,0xA0,0x02,0xE6,0x1A,0x0C,0xBB}; @@ -4157,6 +5754,7 @@ uint32_t DoubleColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro uint32_t DoubleColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("DoubleColumnStatsData"); if (this->__isset.lowValue) { @@ -4179,6 +5777,7 @@ uint32_t DoubleColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4191,6 +5790,55 @@ void swap(DoubleColumnStatsData &a, DoubleColumnStatsData &b) { swap(a.__isset, b.__isset); } +DoubleColumnStatsData::DoubleColumnStatsData(const DoubleColumnStatsData& other281) { + lowValue = other281.lowValue; + highValue = other281.highValue; + numNulls = other281.numNulls; + numDVs = other281.numDVs; + __isset = other281.__isset; +} +DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsData& other282) { + lowValue = other282.lowValue; + highValue = other282.highValue; + numNulls = other282.numNulls; + numDVs = other282.numDVs; + __isset = other282.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const DoubleColumnStatsData& obj) { + using apache::thrift::to_string; + out << "DoubleColumnStatsData("; + out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "")); + out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "")); + out << ", " << "numNulls=" << to_string(obj.numNulls); + out << ", " << "numDVs=" << to_string(obj.numDVs); + out << ")"; + return out; +} + + +LongColumnStatsData::~LongColumnStatsData() throw() { +} + + +void LongColumnStatsData::__set_lowValue(const int64_t val) { + this->lowValue = val; +__isset.lowValue = true; +} + +void LongColumnStatsData::__set_highValue(const int64_t val) { + this->highValue = val; +__isset.highValue = true; +} + +void LongColumnStatsData::__set_numNulls(const int64_t val) { + this->numNulls = val; +} + +void LongColumnStatsData::__set_numDVs(const int64_t val) { + this->numDVs = val; +} + const char* LongColumnStatsData::ascii_fingerprint = "E685FC220B24E3B8B93604790DCB9AEA"; const uint8_t LongColumnStatsData::binary_fingerprint[16] = {0xE6,0x85,0xFC,0x22,0x0B,0x24,0xE3,0xB8,0xB9,0x36,0x04,0x79,0x0D,0xCB,0x9A,0xEA}; @@ -4266,6 +5914,7 @@ uint32_t LongColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t LongColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("LongColumnStatsData"); if (this->__isset.lowValue) { @@ -4288,6 +5937,7 @@ uint32_t LongColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4300,6 +5950,53 @@ void swap(LongColumnStatsData &a, LongColumnStatsData &b) { swap(a.__isset, b.__isset); } +LongColumnStatsData::LongColumnStatsData(const LongColumnStatsData& other283) { + lowValue = other283.lowValue; + highValue = other283.highValue; + numNulls = other283.numNulls; + numDVs = other283.numDVs; + __isset = other283.__isset; +} +LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& other284) { + lowValue = other284.lowValue; + highValue = other284.highValue; + numNulls = other284.numNulls; + numDVs = other284.numDVs; + __isset = other284.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const LongColumnStatsData& obj) { + using apache::thrift::to_string; + out << "LongColumnStatsData("; + out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "")); + out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "")); + out << ", " << "numNulls=" << to_string(obj.numNulls); + out << ", " << "numDVs=" << to_string(obj.numDVs); + out << ")"; + return out; +} + + +StringColumnStatsData::~StringColumnStatsData() throw() { +} + + +void StringColumnStatsData::__set_maxColLen(const int64_t val) { + this->maxColLen = val; +} + +void StringColumnStatsData::__set_avgColLen(const double val) { + this->avgColLen = val; +} + +void StringColumnStatsData::__set_numNulls(const int64_t val) { + this->numNulls = val; +} + +void StringColumnStatsData::__set_numDVs(const int64_t val) { + this->numDVs = val; +} + const char* StringColumnStatsData::ascii_fingerprint = "D017B08C3DF12C3AB98788B2E67DAAB3"; const uint8_t StringColumnStatsData::binary_fingerprint[16] = {0xD0,0x17,0xB0,0x8C,0x3D,0xF1,0x2C,0x3A,0xB9,0x87,0x88,0xB2,0xE6,0x7D,0xAA,0xB3}; @@ -4381,6 +6078,7 @@ uint32_t StringColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro uint32_t StringColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("StringColumnStatsData"); xfer += oprot->writeFieldBegin("maxColLen", ::apache::thrift::protocol::T_I64, 1); @@ -4401,6 +6099,7 @@ uint32_t StringColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4412,6 +6111,47 @@ void swap(StringColumnStatsData &a, StringColumnStatsData &b) { swap(a.numDVs, b.numDVs); } +StringColumnStatsData::StringColumnStatsData(const StringColumnStatsData& other285) { + maxColLen = other285.maxColLen; + avgColLen = other285.avgColLen; + numNulls = other285.numNulls; + numDVs = other285.numDVs; +} +StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsData& other286) { + maxColLen = other286.maxColLen; + avgColLen = other286.avgColLen; + numNulls = other286.numNulls; + numDVs = other286.numDVs; + return *this; +} +std::ostream& operator<<(std::ostream& out, const StringColumnStatsData& obj) { + using apache::thrift::to_string; + out << "StringColumnStatsData("; + out << "maxColLen=" << to_string(obj.maxColLen); + out << ", " << "avgColLen=" << to_string(obj.avgColLen); + out << ", " << "numNulls=" << to_string(obj.numNulls); + out << ", " << "numDVs=" << to_string(obj.numDVs); + out << ")"; + return out; +} + + +BinaryColumnStatsData::~BinaryColumnStatsData() throw() { +} + + +void BinaryColumnStatsData::__set_maxColLen(const int64_t val) { + this->maxColLen = val; +} + +void BinaryColumnStatsData::__set_avgColLen(const double val) { + this->avgColLen = val; +} + +void BinaryColumnStatsData::__set_numNulls(const int64_t val) { + this->numNulls = val; +} + const char* BinaryColumnStatsData::ascii_fingerprint = "22B0CB67183FCDB945892B9974518D06"; const uint8_t BinaryColumnStatsData::binary_fingerprint[16] = {0x22,0xB0,0xCB,0x67,0x18,0x3F,0xCD,0xB9,0x45,0x89,0x2B,0x99,0x74,0x51,0x8D,0x06}; @@ -4482,6 +6222,7 @@ uint32_t BinaryColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro uint32_t BinaryColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("BinaryColumnStatsData"); xfer += oprot->writeFieldBegin("maxColLen", ::apache::thrift::protocol::T_I64, 1); @@ -4498,6 +6239,7 @@ uint32_t BinaryColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4508,6 +6250,40 @@ void swap(BinaryColumnStatsData &a, BinaryColumnStatsData &b) { swap(a.numNulls, b.numNulls); } +BinaryColumnStatsData::BinaryColumnStatsData(const BinaryColumnStatsData& other287) { + maxColLen = other287.maxColLen; + avgColLen = other287.avgColLen; + numNulls = other287.numNulls; +} +BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsData& other288) { + maxColLen = other288.maxColLen; + avgColLen = other288.avgColLen; + numNulls = other288.numNulls; + return *this; +} +std::ostream& operator<<(std::ostream& out, const BinaryColumnStatsData& obj) { + using apache::thrift::to_string; + out << "BinaryColumnStatsData("; + out << "maxColLen=" << to_string(obj.maxColLen); + out << ", " << "avgColLen=" << to_string(obj.avgColLen); + out << ", " << "numNulls=" << to_string(obj.numNulls); + out << ")"; + return out; +} + + +Decimal::~Decimal() throw() { +} + + +void Decimal::__set_unscaled(const std::string& val) { + this->unscaled = val; +} + +void Decimal::__set_scale(const int16_t val) { + this->scale = val; +} + const char* Decimal::ascii_fingerprint = "C4DDF6759F9B17C5C380806CE743DE8E"; const uint8_t Decimal::binary_fingerprint[16] = {0xC4,0xDD,0xF6,0x75,0x9F,0x9B,0x17,0xC5,0xC3,0x80,0x80,0x6C,0xE7,0x43,0xDE,0x8E}; @@ -4567,6 +6343,7 @@ uint32_t Decimal::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Decimal::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Decimal"); xfer += oprot->writeFieldBegin("unscaled", ::apache::thrift::protocol::T_STRING, 1); @@ -4579,6 +6356,7 @@ uint32_t Decimal::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4588,6 +6366,47 @@ void swap(Decimal &a, Decimal &b) { swap(a.scale, b.scale); } +Decimal::Decimal(const Decimal& other289) { + unscaled = other289.unscaled; + scale = other289.scale; +} +Decimal& Decimal::operator=(const Decimal& other290) { + unscaled = other290.unscaled; + scale = other290.scale; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Decimal& obj) { + using apache::thrift::to_string; + out << "Decimal("; + out << "unscaled=" << to_string(obj.unscaled); + out << ", " << "scale=" << to_string(obj.scale); + out << ")"; + return out; +} + + +DecimalColumnStatsData::~DecimalColumnStatsData() throw() { +} + + +void DecimalColumnStatsData::__set_lowValue(const Decimal& val) { + this->lowValue = val; +__isset.lowValue = true; +} + +void DecimalColumnStatsData::__set_highValue(const Decimal& val) { + this->highValue = val; +__isset.highValue = true; +} + +void DecimalColumnStatsData::__set_numNulls(const int64_t val) { + this->numNulls = val; +} + +void DecimalColumnStatsData::__set_numDVs(const int64_t val) { + this->numDVs = val; +} + const char* DecimalColumnStatsData::ascii_fingerprint = "B6D47E7A28922BFA93FE05E9F1B04748"; const uint8_t DecimalColumnStatsData::binary_fingerprint[16] = {0xB6,0xD4,0x7E,0x7A,0x28,0x92,0x2B,0xFA,0x93,0xFE,0x05,0xE9,0xF1,0xB0,0x47,0x48}; @@ -4663,6 +6482,7 @@ uint32_t DecimalColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipr uint32_t DecimalColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("DecimalColumnStatsData"); if (this->__isset.lowValue) { @@ -4685,6 +6505,7 @@ uint32_t DecimalColumnStatsData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4697,6 +6518,41 @@ void swap(DecimalColumnStatsData &a, DecimalColumnStatsData &b) { swap(a.__isset, b.__isset); } +DecimalColumnStatsData::DecimalColumnStatsData(const DecimalColumnStatsData& other291) { + lowValue = other291.lowValue; + highValue = other291.highValue; + numNulls = other291.numNulls; + numDVs = other291.numDVs; + __isset = other291.__isset; +} +DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnStatsData& other292) { + lowValue = other292.lowValue; + highValue = other292.highValue; + numNulls = other292.numNulls; + numDVs = other292.numDVs; + __isset = other292.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const DecimalColumnStatsData& obj) { + using apache::thrift::to_string; + out << "DecimalColumnStatsData("; + out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "")); + out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "")); + out << ", " << "numNulls=" << to_string(obj.numNulls); + out << ", " << "numDVs=" << to_string(obj.numDVs); + out << ")"; + return out; +} + + +Date::~Date() throw() { +} + + +void Date::__set_daysSinceEpoch(const int64_t val) { + this->daysSinceEpoch = val; +} + const char* Date::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; const uint8_t Date::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; @@ -4745,6 +6601,7 @@ uint32_t Date::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Date::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Date"); xfer += oprot->writeFieldBegin("daysSinceEpoch", ::apache::thrift::protocol::T_I64, 1); @@ -4753,6 +6610,7 @@ uint32_t Date::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4761,6 +6619,44 @@ void swap(Date &a, Date &b) { swap(a.daysSinceEpoch, b.daysSinceEpoch); } +Date::Date(const Date& other293) { + daysSinceEpoch = other293.daysSinceEpoch; +} +Date& Date::operator=(const Date& other294) { + daysSinceEpoch = other294.daysSinceEpoch; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Date& obj) { + using apache::thrift::to_string; + out << "Date("; + out << "daysSinceEpoch=" << to_string(obj.daysSinceEpoch); + out << ")"; + return out; +} + + +DateColumnStatsData::~DateColumnStatsData() throw() { +} + + +void DateColumnStatsData::__set_lowValue(const Date& val) { + this->lowValue = val; +__isset.lowValue = true; +} + +void DateColumnStatsData::__set_highValue(const Date& val) { + this->highValue = val; +__isset.highValue = true; +} + +void DateColumnStatsData::__set_numNulls(const int64_t val) { + this->numNulls = val; +} + +void DateColumnStatsData::__set_numDVs(const int64_t val) { + this->numDVs = val; +} + const char* DateColumnStatsData::ascii_fingerprint = "D0719F3BBA8248297BB5287552897F59"; const uint8_t DateColumnStatsData::binary_fingerprint[16] = {0xD0,0x71,0x9F,0x3B,0xBA,0x82,0x48,0x29,0x7B,0xB5,0x28,0x75,0x52,0x89,0x7F,0x59}; @@ -4836,6 +6732,7 @@ uint32_t DateColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t DateColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("DateColumnStatsData"); if (this->__isset.lowValue) { @@ -4858,6 +6755,7 @@ uint32_t DateColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4870,6 +6768,65 @@ void swap(DateColumnStatsData &a, DateColumnStatsData &b) { swap(a.__isset, b.__isset); } +DateColumnStatsData::DateColumnStatsData(const DateColumnStatsData& other295) { + lowValue = other295.lowValue; + highValue = other295.highValue; + numNulls = other295.numNulls; + numDVs = other295.numDVs; + __isset = other295.__isset; +} +DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& other296) { + lowValue = other296.lowValue; + highValue = other296.highValue; + numNulls = other296.numNulls; + numDVs = other296.numDVs; + __isset = other296.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const DateColumnStatsData& obj) { + using apache::thrift::to_string; + out << "DateColumnStatsData("; + out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "")); + out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "")); + out << ", " << "numNulls=" << to_string(obj.numNulls); + out << ", " << "numDVs=" << to_string(obj.numDVs); + out << ")"; + return out; +} + + +ColumnStatisticsData::~ColumnStatisticsData() throw() { +} + + +void ColumnStatisticsData::__set_booleanStats(const BooleanColumnStatsData& val) { + this->booleanStats = val; +} + +void ColumnStatisticsData::__set_longStats(const LongColumnStatsData& val) { + this->longStats = val; +} + +void ColumnStatisticsData::__set_doubleStats(const DoubleColumnStatsData& val) { + this->doubleStats = val; +} + +void ColumnStatisticsData::__set_stringStats(const StringColumnStatsData& val) { + this->stringStats = val; +} + +void ColumnStatisticsData::__set_binaryStats(const BinaryColumnStatsData& val) { + this->binaryStats = val; +} + +void ColumnStatisticsData::__set_decimalStats(const DecimalColumnStatsData& val) { + this->decimalStats = val; +} + +void ColumnStatisticsData::__set_dateStats(const DateColumnStatsData& val) { + this->dateStats = val; +} + const char* ColumnStatisticsData::ascii_fingerprint = "15E449CA15A23E37F2D54C31ACA52106"; const uint8_t ColumnStatisticsData::binary_fingerprint[16] = {0x15,0xE4,0x49,0xCA,0x15,0xA2,0x3E,0x37,0xF2,0xD5,0x4C,0x31,0xAC,0xA5,0x21,0x06}; @@ -4963,6 +6920,7 @@ uint32_t ColumnStatisticsData::read(::apache::thrift::protocol::TProtocol* iprot uint32_t ColumnStatisticsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ColumnStatisticsData"); xfer += oprot->writeFieldBegin("booleanStats", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4995,6 +6953,7 @@ uint32_t ColumnStatisticsData::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5010,6 +6969,58 @@ void swap(ColumnStatisticsData &a, ColumnStatisticsData &b) { swap(a.__isset, b.__isset); } +ColumnStatisticsData::ColumnStatisticsData(const ColumnStatisticsData& other297) { + booleanStats = other297.booleanStats; + longStats = other297.longStats; + doubleStats = other297.doubleStats; + stringStats = other297.stringStats; + binaryStats = other297.binaryStats; + decimalStats = other297.decimalStats; + dateStats = other297.dateStats; + __isset = other297.__isset; +} +ColumnStatisticsData& ColumnStatisticsData::operator=(const ColumnStatisticsData& other298) { + booleanStats = other298.booleanStats; + longStats = other298.longStats; + doubleStats = other298.doubleStats; + stringStats = other298.stringStats; + binaryStats = other298.binaryStats; + decimalStats = other298.decimalStats; + dateStats = other298.dateStats; + __isset = other298.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ColumnStatisticsData& obj) { + using apache::thrift::to_string; + out << "ColumnStatisticsData("; + out << "booleanStats=" << to_string(obj.booleanStats); + out << ", " << "longStats=" << to_string(obj.longStats); + out << ", " << "doubleStats=" << to_string(obj.doubleStats); + out << ", " << "stringStats=" << to_string(obj.stringStats); + out << ", " << "binaryStats=" << to_string(obj.binaryStats); + out << ", " << "decimalStats=" << to_string(obj.decimalStats); + out << ", " << "dateStats=" << to_string(obj.dateStats); + out << ")"; + return out; +} + + +ColumnStatisticsObj::~ColumnStatisticsObj() throw() { +} + + +void ColumnStatisticsObj::__set_colName(const std::string& val) { + this->colName = val; +} + +void ColumnStatisticsObj::__set_colType(const std::string& val) { + this->colType = val; +} + +void ColumnStatisticsObj::__set_statsData(const ColumnStatisticsData& val) { + this->statsData = val; +} + const char* ColumnStatisticsObj::ascii_fingerprint = "A82BA819C9FFEDDEBC0D50F6F4E46534"; const uint8_t ColumnStatisticsObj::binary_fingerprint[16] = {0xA8,0x2B,0xA8,0x19,0xC9,0xFF,0xED,0xDE,0xBC,0x0D,0x50,0xF6,0xF4,0xE4,0x65,0x34}; @@ -5080,6 +7091,7 @@ uint32_t ColumnStatisticsObj::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t ColumnStatisticsObj::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ColumnStatisticsObj"); xfer += oprot->writeFieldBegin("colName", ::apache::thrift::protocol::T_STRING, 1); @@ -5096,6 +7108,7 @@ uint32_t ColumnStatisticsObj::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5106,6 +7119,54 @@ void swap(ColumnStatisticsObj &a, ColumnStatisticsObj &b) { swap(a.statsData, b.statsData); } +ColumnStatisticsObj::ColumnStatisticsObj(const ColumnStatisticsObj& other299) { + colName = other299.colName; + colType = other299.colType; + statsData = other299.statsData; +} +ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& other300) { + colName = other300.colName; + colType = other300.colType; + statsData = other300.statsData; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ColumnStatisticsObj& obj) { + using apache::thrift::to_string; + out << "ColumnStatisticsObj("; + out << "colName=" << to_string(obj.colName); + out << ", " << "colType=" << to_string(obj.colType); + out << ", " << "statsData=" << to_string(obj.statsData); + out << ")"; + return out; +} + + +ColumnStatisticsDesc::~ColumnStatisticsDesc() throw() { +} + + +void ColumnStatisticsDesc::__set_isTblLevel(const bool val) { + this->isTblLevel = val; +} + +void ColumnStatisticsDesc::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void ColumnStatisticsDesc::__set_tableName(const std::string& val) { + this->tableName = val; +} + +void ColumnStatisticsDesc::__set_partName(const std::string& val) { + this->partName = val; +__isset.partName = true; +} + +void ColumnStatisticsDesc::__set_lastAnalyzed(const int64_t val) { + this->lastAnalyzed = val; +__isset.lastAnalyzed = true; +} + const char* ColumnStatisticsDesc::ascii_fingerprint = "261759FF6F8FAB53F941453007FE18CB"; const uint8_t ColumnStatisticsDesc::binary_fingerprint[16] = {0x26,0x17,0x59,0xFF,0x6F,0x8F,0xAB,0x53,0xF9,0x41,0x45,0x30,0x07,0xFE,0x18,0xCB}; @@ -5192,6 +7253,7 @@ uint32_t ColumnStatisticsDesc::read(::apache::thrift::protocol::TProtocol* iprot uint32_t ColumnStatisticsDesc::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ColumnStatisticsDesc"); xfer += oprot->writeFieldBegin("isTblLevel", ::apache::thrift::protocol::T_BOOL, 1); @@ -5218,6 +7280,7 @@ uint32_t ColumnStatisticsDesc::write(::apache::thrift::protocol::TProtocol* opro } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5231,15 +7294,57 @@ void swap(ColumnStatisticsDesc &a, ColumnStatisticsDesc &b) { swap(a.__isset, b.__isset); } -const char* ColumnStatistics::ascii_fingerprint = "8A64D0A67FFD3A372726A320B3913D5A"; -const uint8_t ColumnStatistics::binary_fingerprint[16] = {0x8A,0x64,0xD0,0xA6,0x7F,0xFD,0x3A,0x37,0x27,0x26,0xA3,0x20,0xB3,0x91,0x3D,0x5A}; +ColumnStatisticsDesc::ColumnStatisticsDesc(const ColumnStatisticsDesc& other301) { + isTblLevel = other301.isTblLevel; + dbName = other301.dbName; + tableName = other301.tableName; + partName = other301.partName; + lastAnalyzed = other301.lastAnalyzed; + __isset = other301.__isset; +} +ColumnStatisticsDesc& ColumnStatisticsDesc::operator=(const ColumnStatisticsDesc& other302) { + isTblLevel = other302.isTblLevel; + dbName = other302.dbName; + tableName = other302.tableName; + partName = other302.partName; + lastAnalyzed = other302.lastAnalyzed; + __isset = other302.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ColumnStatisticsDesc& obj) { + using apache::thrift::to_string; + out << "ColumnStatisticsDesc("; + out << "isTblLevel=" << to_string(obj.isTblLevel); + out << ", " << "dbName=" << to_string(obj.dbName); + out << ", " << "tableName=" << to_string(obj.tableName); + out << ", " << "partName="; (obj.__isset.partName ? (out << to_string(obj.partName)) : (out << "")); + out << ", " << "lastAnalyzed="; (obj.__isset.lastAnalyzed ? (out << to_string(obj.lastAnalyzed)) : (out << "")); + out << ")"; + return out; +} -uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; +ColumnStatistics::~ColumnStatistics() throw() { +} + + +void ColumnStatistics::__set_statsDesc(const ColumnStatisticsDesc& val) { + this->statsDesc = val; +} + +void ColumnStatistics::__set_statsObj(const std::vector & val) { + this->statsObj = val; +} + +const char* ColumnStatistics::ascii_fingerprint = "8A64D0A67FFD3A372726A320B3913D5A"; +const uint8_t ColumnStatistics::binary_fingerprint[16] = {0x8A,0x64,0xD0,0xA6,0x7F,0xFD,0x3A,0x37,0x27,0x26,0xA3,0x20,0xB3,0x91,0x3D,0x5A}; + +uint32_t ColumnStatistics::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); @@ -5268,14 +7373,14 @@ uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->statsObj.clear(); - uint32_t _size219; - ::apache::thrift::protocol::TType _etype222; - xfer += iprot->readListBegin(_etype222, _size219); - this->statsObj.resize(_size219); - uint32_t _i223; - for (_i223 = 0; _i223 < _size219; ++_i223) + uint32_t _size303; + ::apache::thrift::protocol::TType _etype306; + xfer += iprot->readListBegin(_etype306, _size303); + this->statsObj.resize(_size303); + uint32_t _i307; + for (_i307 = 0; _i307 < _size303; ++_i307) { - xfer += this->statsObj[_i223].read(iprot); + xfer += this->statsObj[_i307].read(iprot); } xfer += iprot->readListEnd(); } @@ -5302,6 +7407,7 @@ uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ColumnStatistics::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ColumnStatistics"); xfer += oprot->writeFieldBegin("statsDesc", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5311,10 +7417,10 @@ uint32_t ColumnStatistics::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("statsObj", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->statsObj.size())); - std::vector ::const_iterator _iter224; - for (_iter224 = this->statsObj.begin(); _iter224 != this->statsObj.end(); ++_iter224) + std::vector ::const_iterator _iter308; + for (_iter308 = this->statsObj.begin(); _iter308 != this->statsObj.end(); ++_iter308) { - xfer += (*_iter224).write(oprot); + xfer += (*_iter308).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5322,6 +7428,7 @@ uint32_t ColumnStatistics::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5331,6 +7438,37 @@ void swap(ColumnStatistics &a, ColumnStatistics &b) { swap(a.statsObj, b.statsObj); } +ColumnStatistics::ColumnStatistics(const ColumnStatistics& other309) { + statsDesc = other309.statsDesc; + statsObj = other309.statsObj; +} +ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other310) { + statsDesc = other310.statsDesc; + statsObj = other310.statsObj; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ColumnStatistics& obj) { + using apache::thrift::to_string; + out << "ColumnStatistics("; + out << "statsDesc=" << to_string(obj.statsDesc); + out << ", " << "statsObj=" << to_string(obj.statsObj); + out << ")"; + return out; +} + + +AggrStats::~AggrStats() throw() { +} + + +void AggrStats::__set_colStats(const std::vector & val) { + this->colStats = val; +} + +void AggrStats::__set_partsFound(const int64_t val) { + this->partsFound = val; +} + const char* AggrStats::ascii_fingerprint = "1FC765A3AB2954591C14B0D946778213"; const uint8_t AggrStats::binary_fingerprint[16] = {0x1F,0xC7,0x65,0xA3,0xAB,0x29,0x54,0x59,0x1C,0x14,0xB0,0xD9,0x46,0x77,0x82,0x13}; @@ -5360,14 +7498,14 @@ uint32_t AggrStats::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colStats.clear(); - uint32_t _size225; - ::apache::thrift::protocol::TType _etype228; - xfer += iprot->readListBegin(_etype228, _size225); - this->colStats.resize(_size225); - uint32_t _i229; - for (_i229 = 0; _i229 < _size225; ++_i229) + uint32_t _size311; + ::apache::thrift::protocol::TType _etype314; + xfer += iprot->readListBegin(_etype314, _size311); + this->colStats.resize(_size311); + uint32_t _i315; + for (_i315 = 0; _i315 < _size311; ++_i315) { - xfer += this->colStats[_i229].read(iprot); + xfer += this->colStats[_i315].read(iprot); } xfer += iprot->readListEnd(); } @@ -5402,15 +7540,16 @@ uint32_t AggrStats::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t AggrStats::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("AggrStats"); xfer += oprot->writeFieldBegin("colStats", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->colStats.size())); - std::vector ::const_iterator _iter230; - for (_iter230 = this->colStats.begin(); _iter230 != this->colStats.end(); ++_iter230) + std::vector ::const_iterator _iter316; + for (_iter316 = this->colStats.begin(); _iter316 != this->colStats.end(); ++_iter316) { - xfer += (*_iter230).write(oprot); + xfer += (*_iter316).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5422,6 +7561,7 @@ uint32_t AggrStats::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5431,6 +7571,33 @@ void swap(AggrStats &a, AggrStats &b) { swap(a.partsFound, b.partsFound); } +AggrStats::AggrStats(const AggrStats& other317) { + colStats = other317.colStats; + partsFound = other317.partsFound; +} +AggrStats& AggrStats::operator=(const AggrStats& other318) { + colStats = other318.colStats; + partsFound = other318.partsFound; + return *this; +} +std::ostream& operator<<(std::ostream& out, const AggrStats& obj) { + using apache::thrift::to_string; + out << "AggrStats("; + out << "colStats=" << to_string(obj.colStats); + out << ", " << "partsFound=" << to_string(obj.partsFound); + out << ")"; + return out; +} + + +SetPartitionsStatsRequest::~SetPartitionsStatsRequest() throw() { +} + + +void SetPartitionsStatsRequest::__set_colStats(const std::vector & val) { + this->colStats = val; +} + const char* SetPartitionsStatsRequest::ascii_fingerprint = "8BCBF2CE9E942D0FB7D8F4ED57D8DC27"; const uint8_t SetPartitionsStatsRequest::binary_fingerprint[16] = {0x8B,0xCB,0xF2,0xCE,0x9E,0x94,0x2D,0x0F,0xB7,0xD8,0xF4,0xED,0x57,0xD8,0xDC,0x27}; @@ -5459,14 +7626,14 @@ uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colStats.clear(); - uint32_t _size231; - ::apache::thrift::protocol::TType _etype234; - xfer += iprot->readListBegin(_etype234, _size231); - this->colStats.resize(_size231); - uint32_t _i235; - for (_i235 = 0; _i235 < _size231; ++_i235) + uint32_t _size319; + ::apache::thrift::protocol::TType _etype322; + xfer += iprot->readListBegin(_etype322, _size319); + this->colStats.resize(_size319); + uint32_t _i323; + for (_i323 = 0; _i323 < _size319; ++_i323) { - xfer += this->colStats[_i235].read(iprot); + xfer += this->colStats[_i323].read(iprot); } xfer += iprot->readListEnd(); } @@ -5491,15 +7658,16 @@ uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* uint32_t SetPartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("SetPartitionsStatsRequest"); xfer += oprot->writeFieldBegin("colStats", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->colStats.size())); - std::vector ::const_iterator _iter236; - for (_iter236 = this->colStats.begin(); _iter236 != this->colStats.end(); ++_iter236) + std::vector ::const_iterator _iter324; + for (_iter324 = this->colStats.begin(); _iter324 != this->colStats.end(); ++_iter324) { - xfer += (*_iter236).write(oprot); + xfer += (*_iter324).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5507,6 +7675,7 @@ uint32_t SetPartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5515,6 +7684,34 @@ void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b) { swap(a.colStats, b.colStats); } +SetPartitionsStatsRequest::SetPartitionsStatsRequest(const SetPartitionsStatsRequest& other325) { + colStats = other325.colStats; +} +SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartitionsStatsRequest& other326) { + colStats = other326.colStats; + return *this; +} +std::ostream& operator<<(std::ostream& out, const SetPartitionsStatsRequest& obj) { + using apache::thrift::to_string; + out << "SetPartitionsStatsRequest("; + out << "colStats=" << to_string(obj.colStats); + out << ")"; + return out; +} + + +Schema::~Schema() throw() { +} + + +void Schema::__set_fieldSchemas(const std::vector & val) { + this->fieldSchemas = val; +} + +void Schema::__set_properties(const std::map & val) { + this->properties = val; +} + const char* Schema::ascii_fingerprint = "5CFEE46C975F4E2368D905109B8E3B5B"; const uint8_t Schema::binary_fingerprint[16] = {0x5C,0xFE,0xE4,0x6C,0x97,0x5F,0x4E,0x23,0x68,0xD9,0x05,0x10,0x9B,0x8E,0x3B,0x5B}; @@ -5542,14 +7739,14 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fieldSchemas.clear(); - uint32_t _size237; - ::apache::thrift::protocol::TType _etype240; - xfer += iprot->readListBegin(_etype240, _size237); - this->fieldSchemas.resize(_size237); - uint32_t _i241; - for (_i241 = 0; _i241 < _size237; ++_i241) + uint32_t _size327; + ::apache::thrift::protocol::TType _etype330; + xfer += iprot->readListBegin(_etype330, _size327); + this->fieldSchemas.resize(_size327); + uint32_t _i331; + for (_i331 = 0; _i331 < _size327; ++_i331) { - xfer += this->fieldSchemas[_i241].read(iprot); + xfer += this->fieldSchemas[_i331].read(iprot); } xfer += iprot->readListEnd(); } @@ -5562,17 +7759,17 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size242; - ::apache::thrift::protocol::TType _ktype243; - ::apache::thrift::protocol::TType _vtype244; - xfer += iprot->readMapBegin(_ktype243, _vtype244, _size242); - uint32_t _i246; - for (_i246 = 0; _i246 < _size242; ++_i246) + uint32_t _size332; + ::apache::thrift::protocol::TType _ktype333; + ::apache::thrift::protocol::TType _vtype334; + xfer += iprot->readMapBegin(_ktype333, _vtype334, _size332); + uint32_t _i336; + for (_i336 = 0; _i336 < _size332; ++_i336) { - std::string _key247; - xfer += iprot->readString(_key247); - std::string& _val248 = this->properties[_key247]; - xfer += iprot->readString(_val248); + std::string _key337; + xfer += iprot->readString(_key337); + std::string& _val338 = this->properties[_key337]; + xfer += iprot->readString(_val338); } xfer += iprot->readMapEnd(); } @@ -5595,15 +7792,16 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Schema"); xfer += oprot->writeFieldBegin("fieldSchemas", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->fieldSchemas.size())); - std::vector ::const_iterator _iter249; - for (_iter249 = this->fieldSchemas.begin(); _iter249 != this->fieldSchemas.end(); ++_iter249) + std::vector ::const_iterator _iter339; + for (_iter339 = this->fieldSchemas.begin(); _iter339 != this->fieldSchemas.end(); ++_iter339) { - xfer += (*_iter249).write(oprot); + xfer += (*_iter339).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5612,11 +7810,11 @@ uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 2); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter250; - for (_iter250 = this->properties.begin(); _iter250 != this->properties.end(); ++_iter250) + std::map ::const_iterator _iter340; + for (_iter340 = this->properties.begin(); _iter340 != this->properties.end(); ++_iter340) { - xfer += oprot->writeString(_iter250->first); - xfer += oprot->writeString(_iter250->second); + xfer += oprot->writeString(_iter340->first); + xfer += oprot->writeString(_iter340->second); } xfer += oprot->writeMapEnd(); } @@ -5624,6 +7822,7 @@ uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5634,6 +7833,35 @@ void swap(Schema &a, Schema &b) { swap(a.__isset, b.__isset); } +Schema::Schema(const Schema& other341) { + fieldSchemas = other341.fieldSchemas; + properties = other341.properties; + __isset = other341.__isset; +} +Schema& Schema::operator=(const Schema& other342) { + fieldSchemas = other342.fieldSchemas; + properties = other342.properties; + __isset = other342.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Schema& obj) { + using apache::thrift::to_string; + out << "Schema("; + out << "fieldSchemas=" << to_string(obj.fieldSchemas); + out << ", " << "properties=" << to_string(obj.properties); + out << ")"; + return out; +} + + +EnvironmentContext::~EnvironmentContext() throw() { +} + + +void EnvironmentContext::__set_properties(const std::map & val) { + this->properties = val; +} + const char* EnvironmentContext::ascii_fingerprint = "5EA2D527ECA3BA20C77AFC023EE8C05F"; const uint8_t EnvironmentContext::binary_fingerprint[16] = {0x5E,0xA2,0xD5,0x27,0xEC,0xA3,0xBA,0x20,0xC7,0x7A,0xFC,0x02,0x3E,0xE8,0xC0,0x5F}; @@ -5661,17 +7889,17 @@ uint32_t EnvironmentContext::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size251; - ::apache::thrift::protocol::TType _ktype252; - ::apache::thrift::protocol::TType _vtype253; - xfer += iprot->readMapBegin(_ktype252, _vtype253, _size251); - uint32_t _i255; - for (_i255 = 0; _i255 < _size251; ++_i255) + uint32_t _size343; + ::apache::thrift::protocol::TType _ktype344; + ::apache::thrift::protocol::TType _vtype345; + xfer += iprot->readMapBegin(_ktype344, _vtype345, _size343); + uint32_t _i347; + for (_i347 = 0; _i347 < _size343; ++_i347) { - std::string _key256; - xfer += iprot->readString(_key256); - std::string& _val257 = this->properties[_key256]; - xfer += iprot->readString(_val257); + std::string _key348; + xfer += iprot->readString(_key348); + std::string& _val349 = this->properties[_key348]; + xfer += iprot->readString(_val349); } xfer += iprot->readMapEnd(); } @@ -5694,16 +7922,17 @@ uint32_t EnvironmentContext::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t EnvironmentContext::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("EnvironmentContext"); xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter258; - for (_iter258 = this->properties.begin(); _iter258 != this->properties.end(); ++_iter258) + std::map ::const_iterator _iter350; + for (_iter350 = this->properties.begin(); _iter350 != this->properties.end(); ++_iter350) { - xfer += oprot->writeString(_iter258->first); - xfer += oprot->writeString(_iter258->second); + xfer += oprot->writeString(_iter350->first); + xfer += oprot->writeString(_iter350->second); } xfer += oprot->writeMapEnd(); } @@ -5711,6 +7940,7 @@ uint32_t EnvironmentContext::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5720,6 +7950,36 @@ void swap(EnvironmentContext &a, EnvironmentContext &b) { swap(a.__isset, b.__isset); } +EnvironmentContext::EnvironmentContext(const EnvironmentContext& other351) { + properties = other351.properties; + __isset = other351.__isset; +} +EnvironmentContext& EnvironmentContext::operator=(const EnvironmentContext& other352) { + properties = other352.properties; + __isset = other352.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const EnvironmentContext& obj) { + using apache::thrift::to_string; + out << "EnvironmentContext("; + out << "properties=" << to_string(obj.properties); + out << ")"; + return out; +} + + +PartitionsByExprResult::~PartitionsByExprResult() throw() { +} + + +void PartitionsByExprResult::__set_partitions(const std::vector & val) { + this->partitions = val; +} + +void PartitionsByExprResult::__set_hasUnknownPartitions(const bool val) { + this->hasUnknownPartitions = val; +} + const char* PartitionsByExprResult::ascii_fingerprint = "40B789CC91B508FE36600A14E3F80425"; const uint8_t PartitionsByExprResult::binary_fingerprint[16] = {0x40,0xB7,0x89,0xCC,0x91,0xB5,0x08,0xFE,0x36,0x60,0x0A,0x14,0xE3,0xF8,0x04,0x25}; @@ -5749,14 +8009,14 @@ uint32_t PartitionsByExprResult::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size259; - ::apache::thrift::protocol::TType _etype262; - xfer += iprot->readListBegin(_etype262, _size259); - this->partitions.resize(_size259); - uint32_t _i263; - for (_i263 = 0; _i263 < _size259; ++_i263) + uint32_t _size353; + ::apache::thrift::protocol::TType _etype356; + xfer += iprot->readListBegin(_etype356, _size353); + this->partitions.resize(_size353); + uint32_t _i357; + for (_i357 = 0; _i357 < _size353; ++_i357) { - xfer += this->partitions[_i263].read(iprot); + xfer += this->partitions[_i357].read(iprot); } xfer += iprot->readListEnd(); } @@ -5791,15 +8051,16 @@ uint32_t PartitionsByExprResult::read(::apache::thrift::protocol::TProtocol* ipr uint32_t PartitionsByExprResult::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PartitionsByExprResult"); xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter264; - for (_iter264 = this->partitions.begin(); _iter264 != this->partitions.end(); ++_iter264) + std::vector ::const_iterator _iter358; + for (_iter358 = this->partitions.begin(); _iter358 != this->partitions.end(); ++_iter358) { - xfer += (*_iter264).write(oprot); + xfer += (*_iter358).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5811,6 +8072,7 @@ uint32_t PartitionsByExprResult::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5820,6 +8082,51 @@ void swap(PartitionsByExprResult &a, PartitionsByExprResult &b) { swap(a.hasUnknownPartitions, b.hasUnknownPartitions); } +PartitionsByExprResult::PartitionsByExprResult(const PartitionsByExprResult& other359) { + partitions = other359.partitions; + hasUnknownPartitions = other359.hasUnknownPartitions; +} +PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExprResult& other360) { + partitions = other360.partitions; + hasUnknownPartitions = other360.hasUnknownPartitions; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PartitionsByExprResult& obj) { + using apache::thrift::to_string; + out << "PartitionsByExprResult("; + out << "partitions=" << to_string(obj.partitions); + out << ", " << "hasUnknownPartitions=" << to_string(obj.hasUnknownPartitions); + out << ")"; + return out; +} + + +PartitionsByExprRequest::~PartitionsByExprRequest() throw() { +} + + +void PartitionsByExprRequest::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void PartitionsByExprRequest::__set_tblName(const std::string& val) { + this->tblName = val; +} + +void PartitionsByExprRequest::__set_expr(const std::string& val) { + this->expr = val; +} + +void PartitionsByExprRequest::__set_defaultPartitionName(const std::string& val) { + this->defaultPartitionName = val; +__isset.defaultPartitionName = true; +} + +void PartitionsByExprRequest::__set_maxParts(const int16_t val) { + this->maxParts = val; +__isset.maxParts = true; +} + const char* PartitionsByExprRequest::ascii_fingerprint = "835944417A026FE6ABD0DF5A35BF52C5"; const uint8_t PartitionsByExprRequest::binary_fingerprint[16] = {0x83,0x59,0x44,0x41,0x7A,0x02,0x6F,0xE6,0xAB,0xD0,0xDF,0x5A,0x35,0xBF,0x52,0xC5}; @@ -5906,6 +8213,7 @@ uint32_t PartitionsByExprRequest::read(::apache::thrift::protocol::TProtocol* ip uint32_t PartitionsByExprRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PartitionsByExprRequest"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -5932,6 +8240,7 @@ uint32_t PartitionsByExprRequest::write(::apache::thrift::protocol::TProtocol* o } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5945,6 +8254,44 @@ void swap(PartitionsByExprRequest &a, PartitionsByExprRequest &b) { swap(a.__isset, b.__isset); } +PartitionsByExprRequest::PartitionsByExprRequest(const PartitionsByExprRequest& other361) { + dbName = other361.dbName; + tblName = other361.tblName; + expr = other361.expr; + defaultPartitionName = other361.defaultPartitionName; + maxParts = other361.maxParts; + __isset = other361.__isset; +} +PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByExprRequest& other362) { + dbName = other362.dbName; + tblName = other362.tblName; + expr = other362.expr; + defaultPartitionName = other362.defaultPartitionName; + maxParts = other362.maxParts; + __isset = other362.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PartitionsByExprRequest& obj) { + using apache::thrift::to_string; + out << "PartitionsByExprRequest("; + out << "dbName=" << to_string(obj.dbName); + out << ", " << "tblName=" << to_string(obj.tblName); + out << ", " << "expr=" << to_string(obj.expr); + out << ", " << "defaultPartitionName="; (obj.__isset.defaultPartitionName ? (out << to_string(obj.defaultPartitionName)) : (out << "")); + out << ", " << "maxParts="; (obj.__isset.maxParts ? (out << to_string(obj.maxParts)) : (out << "")); + out << ")"; + return out; +} + + +TableStatsResult::~TableStatsResult() throw() { +} + + +void TableStatsResult::__set_tableStats(const std::vector & val) { + this->tableStats = val; +} + const char* TableStatsResult::ascii_fingerprint = "2E398BAC949C93A194F1A19CA5074FF8"; const uint8_t TableStatsResult::binary_fingerprint[16] = {0x2E,0x39,0x8B,0xAC,0x94,0x9C,0x93,0xA1,0x94,0xF1,0xA1,0x9C,0xA5,0x07,0x4F,0xF8}; @@ -5973,14 +8320,14 @@ uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tableStats.clear(); - uint32_t _size265; - ::apache::thrift::protocol::TType _etype268; - xfer += iprot->readListBegin(_etype268, _size265); - this->tableStats.resize(_size265); - uint32_t _i269; - for (_i269 = 0; _i269 < _size265; ++_i269) + uint32_t _size363; + ::apache::thrift::protocol::TType _etype366; + xfer += iprot->readListBegin(_etype366, _size363); + this->tableStats.resize(_size363); + uint32_t _i367; + for (_i367 = 0; _i367 < _size363; ++_i367) { - xfer += this->tableStats[_i269].read(iprot); + xfer += this->tableStats[_i367].read(iprot); } xfer += iprot->readListEnd(); } @@ -6005,15 +8352,16 @@ uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TableStatsResult::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TableStatsResult"); xfer += oprot->writeFieldBegin("tableStats", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tableStats.size())); - std::vector ::const_iterator _iter270; - for (_iter270 = this->tableStats.begin(); _iter270 != this->tableStats.end(); ++_iter270) + std::vector ::const_iterator _iter368; + for (_iter368 = this->tableStats.begin(); _iter368 != this->tableStats.end(); ++_iter368) { - xfer += (*_iter270).write(oprot); + xfer += (*_iter368).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6021,6 +8369,7 @@ uint32_t TableStatsResult::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6029,6 +8378,30 @@ void swap(TableStatsResult &a, TableStatsResult &b) { swap(a.tableStats, b.tableStats); } +TableStatsResult::TableStatsResult(const TableStatsResult& other369) { + tableStats = other369.tableStats; +} +TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other370) { + tableStats = other370.tableStats; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TableStatsResult& obj) { + using apache::thrift::to_string; + out << "TableStatsResult("; + out << "tableStats=" << to_string(obj.tableStats); + out << ")"; + return out; +} + + +PartitionsStatsResult::~PartitionsStatsResult() throw() { +} + + +void PartitionsStatsResult::__set_partStats(const std::map > & val) { + this->partStats = val; +} + const char* PartitionsStatsResult::ascii_fingerprint = "DD38B4AA7D02E288659AA12CBAAEF33B"; const uint8_t PartitionsStatsResult::binary_fingerprint[16] = {0xDD,0x38,0xB4,0xAA,0x7D,0x02,0xE2,0x88,0x65,0x9A,0xA1,0x2C,0xBA,0xAE,0xF3,0x3B}; @@ -6057,26 +8430,26 @@ uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partStats.clear(); - uint32_t _size271; - ::apache::thrift::protocol::TType _ktype272; - ::apache::thrift::protocol::TType _vtype273; - xfer += iprot->readMapBegin(_ktype272, _vtype273, _size271); - uint32_t _i275; - for (_i275 = 0; _i275 < _size271; ++_i275) + uint32_t _size371; + ::apache::thrift::protocol::TType _ktype372; + ::apache::thrift::protocol::TType _vtype373; + xfer += iprot->readMapBegin(_ktype372, _vtype373, _size371); + uint32_t _i375; + for (_i375 = 0; _i375 < _size371; ++_i375) { - std::string _key276; - xfer += iprot->readString(_key276); - std::vector & _val277 = this->partStats[_key276]; + std::string _key376; + xfer += iprot->readString(_key376); + std::vector & _val377 = this->partStats[_key376]; { - _val277.clear(); - uint32_t _size278; - ::apache::thrift::protocol::TType _etype281; - xfer += iprot->readListBegin(_etype281, _size278); - _val277.resize(_size278); - uint32_t _i282; - for (_i282 = 0; _i282 < _size278; ++_i282) + _val377.clear(); + uint32_t _size378; + ::apache::thrift::protocol::TType _etype381; + xfer += iprot->readListBegin(_etype381, _size378); + _val377.resize(_size378); + uint32_t _i382; + for (_i382 = 0; _i382 < _size378; ++_i382) { - xfer += _val277[_i282].read(iprot); + xfer += _val377[_i382].read(iprot); } xfer += iprot->readListEnd(); } @@ -6104,21 +8477,22 @@ uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* ipro uint32_t PartitionsStatsResult::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PartitionsStatsResult"); xfer += oprot->writeFieldBegin("partStats", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast(this->partStats.size())); - std::map > ::const_iterator _iter283; - for (_iter283 = this->partStats.begin(); _iter283 != this->partStats.end(); ++_iter283) + std::map > ::const_iterator _iter383; + for (_iter383 = this->partStats.begin(); _iter383 != this->partStats.end(); ++_iter383) { - xfer += oprot->writeString(_iter283->first); + xfer += oprot->writeString(_iter383->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter283->second.size())); - std::vector ::const_iterator _iter284; - for (_iter284 = _iter283->second.begin(); _iter284 != _iter283->second.end(); ++_iter284) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter383->second.size())); + std::vector ::const_iterator _iter384; + for (_iter384 = _iter383->second.begin(); _iter384 != _iter383->second.end(); ++_iter384) { - xfer += (*_iter284).write(oprot); + xfer += (*_iter384).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6129,6 +8503,7 @@ uint32_t PartitionsStatsResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6137,6 +8512,38 @@ void swap(PartitionsStatsResult &a, PartitionsStatsResult &b) { swap(a.partStats, b.partStats); } +PartitionsStatsResult::PartitionsStatsResult(const PartitionsStatsResult& other385) { + partStats = other385.partStats; +} +PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsResult& other386) { + partStats = other386.partStats; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PartitionsStatsResult& obj) { + using apache::thrift::to_string; + out << "PartitionsStatsResult("; + out << "partStats=" << to_string(obj.partStats); + out << ")"; + return out; +} + + +TableStatsRequest::~TableStatsRequest() throw() { +} + + +void TableStatsRequest::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void TableStatsRequest::__set_tblName(const std::string& val) { + this->tblName = val; +} + +void TableStatsRequest::__set_colNames(const std::vector & val) { + this->colNames = val; +} + const char* TableStatsRequest::ascii_fingerprint = "8E2AD6401E83558ECFD6A13D74DD0A3F"; const uint8_t TableStatsRequest::binary_fingerprint[16] = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; @@ -6183,14 +8590,14 @@ uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size285; - ::apache::thrift::protocol::TType _etype288; - xfer += iprot->readListBegin(_etype288, _size285); - this->colNames.resize(_size285); - uint32_t _i289; - for (_i289 = 0; _i289 < _size285; ++_i289) + uint32_t _size387; + ::apache::thrift::protocol::TType _etype390; + xfer += iprot->readListBegin(_etype390, _size387); + this->colNames.resize(_size387); + uint32_t _i391; + for (_i391 = 0; _i391 < _size387; ++_i391) { - xfer += iprot->readString(this->colNames[_i289]); + xfer += iprot->readString(this->colNames[_i391]); } xfer += iprot->readListEnd(); } @@ -6219,6 +8626,7 @@ uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TableStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TableStatsRequest"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -6232,10 +8640,10 @@ uint32_t TableStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("colNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->colNames.size())); - std::vector ::const_iterator _iter290; - for (_iter290 = this->colNames.begin(); _iter290 != this->colNames.end(); ++_iter290) + std::vector ::const_iterator _iter392; + for (_iter392 = this->colNames.begin(); _iter392 != this->colNames.end(); ++_iter392) { - xfer += oprot->writeString((*_iter290)); + xfer += oprot->writeString((*_iter392)); } xfer += oprot->writeListEnd(); } @@ -6243,6 +8651,7 @@ uint32_t TableStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6253,6 +8662,48 @@ void swap(TableStatsRequest &a, TableStatsRequest &b) { swap(a.colNames, b.colNames); } +TableStatsRequest::TableStatsRequest(const TableStatsRequest& other393) { + dbName = other393.dbName; + tblName = other393.tblName; + colNames = other393.colNames; +} +TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other394) { + dbName = other394.dbName; + tblName = other394.tblName; + colNames = other394.colNames; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TableStatsRequest& obj) { + using apache::thrift::to_string; + out << "TableStatsRequest("; + out << "dbName=" << to_string(obj.dbName); + out << ", " << "tblName=" << to_string(obj.tblName); + out << ", " << "colNames=" << to_string(obj.colNames); + out << ")"; + return out; +} + + +PartitionsStatsRequest::~PartitionsStatsRequest() throw() { +} + + +void PartitionsStatsRequest::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void PartitionsStatsRequest::__set_tblName(const std::string& val) { + this->tblName = val; +} + +void PartitionsStatsRequest::__set_colNames(const std::vector & val) { + this->colNames = val; +} + +void PartitionsStatsRequest::__set_partNames(const std::vector & val) { + this->partNames = val; +} + const char* PartitionsStatsRequest::ascii_fingerprint = "5F51D90BC323BCE4B704B7D98EDA0BD4"; const uint8_t PartitionsStatsRequest::binary_fingerprint[16] = {0x5F,0x51,0xD9,0x0B,0xC3,0x23,0xBC,0xE4,0xB7,0x04,0xB7,0xD9,0x8E,0xDA,0x0B,0xD4}; @@ -6300,14 +8751,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size291; - ::apache::thrift::protocol::TType _etype294; - xfer += iprot->readListBegin(_etype294, _size291); - this->colNames.resize(_size291); - uint32_t _i295; - for (_i295 = 0; _i295 < _size291; ++_i295) + uint32_t _size395; + ::apache::thrift::protocol::TType _etype398; + xfer += iprot->readListBegin(_etype398, _size395); + this->colNames.resize(_size395); + uint32_t _i399; + for (_i399 = 0; _i399 < _size395; ++_i399) { - xfer += iprot->readString(this->colNames[_i295]); + xfer += iprot->readString(this->colNames[_i399]); } xfer += iprot->readListEnd(); } @@ -6320,14 +8771,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size296; - ::apache::thrift::protocol::TType _etype299; - xfer += iprot->readListBegin(_etype299, _size296); - this->partNames.resize(_size296); - uint32_t _i300; - for (_i300 = 0; _i300 < _size296; ++_i300) + uint32_t _size400; + ::apache::thrift::protocol::TType _etype403; + xfer += iprot->readListBegin(_etype403, _size400); + this->partNames.resize(_size400); + uint32_t _i404; + for (_i404 = 0; _i404 < _size400; ++_i404) { - xfer += iprot->readString(this->partNames[_i300]); + xfer += iprot->readString(this->partNames[_i404]); } xfer += iprot->readListEnd(); } @@ -6358,6 +8809,7 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PartitionsStatsRequest"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -6371,10 +8823,10 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("colNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->colNames.size())); - std::vector ::const_iterator _iter301; - for (_iter301 = this->colNames.begin(); _iter301 != this->colNames.end(); ++_iter301) + std::vector ::const_iterator _iter405; + for (_iter405 = this->colNames.begin(); _iter405 != this->colNames.end(); ++_iter405) { - xfer += oprot->writeString((*_iter301)); + xfer += oprot->writeString((*_iter405)); } xfer += oprot->writeListEnd(); } @@ -6383,10 +8835,10 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); - std::vector ::const_iterator _iter302; - for (_iter302 = this->partNames.begin(); _iter302 != this->partNames.end(); ++_iter302) + std::vector ::const_iterator _iter406; + for (_iter406 = this->partNames.begin(); _iter406 != this->partNames.end(); ++_iter406) { - xfer += oprot->writeString((*_iter302)); + xfer += oprot->writeString((*_iter406)); } xfer += oprot->writeListEnd(); } @@ -6394,6 +8846,7 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6405,6 +8858,40 @@ void swap(PartitionsStatsRequest &a, PartitionsStatsRequest &b) { swap(a.partNames, b.partNames); } +PartitionsStatsRequest::PartitionsStatsRequest(const PartitionsStatsRequest& other407) { + dbName = other407.dbName; + tblName = other407.tblName; + colNames = other407.colNames; + partNames = other407.partNames; +} +PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsRequest& other408) { + dbName = other408.dbName; + tblName = other408.tblName; + colNames = other408.colNames; + partNames = other408.partNames; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PartitionsStatsRequest& obj) { + using apache::thrift::to_string; + out << "PartitionsStatsRequest("; + out << "dbName=" << to_string(obj.dbName); + out << ", " << "tblName=" << to_string(obj.tblName); + out << ", " << "colNames=" << to_string(obj.colNames); + out << ", " << "partNames=" << to_string(obj.partNames); + out << ")"; + return out; +} + + +AddPartitionsResult::~AddPartitionsResult() throw() { +} + + +void AddPartitionsResult::__set_partitions(const std::vector & val) { + this->partitions = val; +__isset.partitions = true; +} + const char* AddPartitionsResult::ascii_fingerprint = "5A689D0823E7BFBB60C799BA60065C31"; const uint8_t AddPartitionsResult::binary_fingerprint[16] = {0x5A,0x68,0x9D,0x08,0x23,0xE7,0xBF,0xBB,0x60,0xC7,0x99,0xBA,0x60,0x06,0x5C,0x31}; @@ -6432,14 +8919,14 @@ uint32_t AddPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size303; - ::apache::thrift::protocol::TType _etype306; - xfer += iprot->readListBegin(_etype306, _size303); - this->partitions.resize(_size303); - uint32_t _i307; - for (_i307 = 0; _i307 < _size303; ++_i307) + uint32_t _size409; + ::apache::thrift::protocol::TType _etype412; + xfer += iprot->readListBegin(_etype412, _size409); + this->partitions.resize(_size409); + uint32_t _i413; + for (_i413 = 0; _i413 < _size409; ++_i413) { - xfer += this->partitions[_i307].read(iprot); + xfer += this->partitions[_i413].read(iprot); } xfer += iprot->readListEnd(); } @@ -6462,16 +8949,17 @@ uint32_t AddPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t AddPartitionsResult::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("AddPartitionsResult"); if (this->__isset.partitions) { xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter308; - for (_iter308 = this->partitions.begin(); _iter308 != this->partitions.end(); ++_iter308) + std::vector ::const_iterator _iter414; + for (_iter414 = this->partitions.begin(); _iter414 != this->partitions.end(); ++_iter414) { - xfer += (*_iter308).write(oprot); + xfer += (*_iter414).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6479,6 +8967,7 @@ uint32_t AddPartitionsResult::write(::apache::thrift::protocol::TProtocol* oprot } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6488,6 +8977,49 @@ void swap(AddPartitionsResult &a, AddPartitionsResult &b) { swap(a.__isset, b.__isset); } +AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other415) { + partitions = other415.partitions; + __isset = other415.__isset; +} +AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other416) { + partitions = other416.partitions; + __isset = other416.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const AddPartitionsResult& obj) { + using apache::thrift::to_string; + out << "AddPartitionsResult("; + out << "partitions="; (obj.__isset.partitions ? (out << to_string(obj.partitions)) : (out << "")); + out << ")"; + return out; +} + + +AddPartitionsRequest::~AddPartitionsRequest() throw() { +} + + +void AddPartitionsRequest::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void AddPartitionsRequest::__set_tblName(const std::string& val) { + this->tblName = val; +} + +void AddPartitionsRequest::__set_parts(const std::vector & val) { + this->parts = val; +} + +void AddPartitionsRequest::__set_ifNotExists(const bool val) { + this->ifNotExists = val; +} + +void AddPartitionsRequest::__set_needResult(const bool val) { + this->needResult = val; +__isset.needResult = true; +} + const char* AddPartitionsRequest::ascii_fingerprint = "94F938D035892CF6873DEDB99358F069"; const uint8_t AddPartitionsRequest::binary_fingerprint[16] = {0x94,0xF9,0x38,0xD0,0x35,0x89,0x2C,0xF6,0x87,0x3D,0xED,0xB9,0x93,0x58,0xF0,0x69}; @@ -6535,14 +9067,14 @@ uint32_t AddPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->parts.clear(); - uint32_t _size309; - ::apache::thrift::protocol::TType _etype312; - xfer += iprot->readListBegin(_etype312, _size309); - this->parts.resize(_size309); - uint32_t _i313; - for (_i313 = 0; _i313 < _size309; ++_i313) + uint32_t _size417; + ::apache::thrift::protocol::TType _etype420; + xfer += iprot->readListBegin(_etype420, _size417); + this->parts.resize(_size417); + uint32_t _i421; + for (_i421 = 0; _i421 < _size417; ++_i421) { - xfer += this->parts[_i313].read(iprot); + xfer += this->parts[_i421].read(iprot); } xfer += iprot->readListEnd(); } @@ -6589,6 +9121,7 @@ uint32_t AddPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot uint32_t AddPartitionsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("AddPartitionsRequest"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -6602,10 +9135,10 @@ uint32_t AddPartitionsRequest::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->parts.size())); - std::vector ::const_iterator _iter314; - for (_iter314 = this->parts.begin(); _iter314 != this->parts.end(); ++_iter314) + std::vector ::const_iterator _iter422; + for (_iter422 = this->parts.begin(); _iter422 != this->parts.end(); ++_iter422) { - xfer += (*_iter314).write(oprot); + xfer += (*_iter422).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6622,6 +9155,7 @@ uint32_t AddPartitionsRequest::write(::apache::thrift::protocol::TProtocol* opro } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6635,6 +9169,45 @@ void swap(AddPartitionsRequest &a, AddPartitionsRequest &b) { swap(a.__isset, b.__isset); } +AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other423) { + dbName = other423.dbName; + tblName = other423.tblName; + parts = other423.parts; + ifNotExists = other423.ifNotExists; + needResult = other423.needResult; + __isset = other423.__isset; +} +AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other424) { + dbName = other424.dbName; + tblName = other424.tblName; + parts = other424.parts; + ifNotExists = other424.ifNotExists; + needResult = other424.needResult; + __isset = other424.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const AddPartitionsRequest& obj) { + using apache::thrift::to_string; + out << "AddPartitionsRequest("; + out << "dbName=" << to_string(obj.dbName); + out << ", " << "tblName=" << to_string(obj.tblName); + out << ", " << "parts=" << to_string(obj.parts); + out << ", " << "ifNotExists=" << to_string(obj.ifNotExists); + out << ", " << "needResult="; (obj.__isset.needResult ? (out << to_string(obj.needResult)) : (out << "")); + out << ")"; + return out; +} + + +DropPartitionsResult::~DropPartitionsResult() throw() { +} + + +void DropPartitionsResult::__set_partitions(const std::vector & val) { + this->partitions = val; +__isset.partitions = true; +} + const char* DropPartitionsResult::ascii_fingerprint = "5A689D0823E7BFBB60C799BA60065C31"; const uint8_t DropPartitionsResult::binary_fingerprint[16] = {0x5A,0x68,0x9D,0x08,0x23,0xE7,0xBF,0xBB,0x60,0xC7,0x99,0xBA,0x60,0x06,0x5C,0x31}; @@ -6662,14 +9235,14 @@ uint32_t DropPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size315; - ::apache::thrift::protocol::TType _etype318; - xfer += iprot->readListBegin(_etype318, _size315); - this->partitions.resize(_size315); - uint32_t _i319; - for (_i319 = 0; _i319 < _size315; ++_i319) + uint32_t _size425; + ::apache::thrift::protocol::TType _etype428; + xfer += iprot->readListBegin(_etype428, _size425); + this->partitions.resize(_size425); + uint32_t _i429; + for (_i429 = 0; _i429 < _size425; ++_i429) { - xfer += this->partitions[_i319].read(iprot); + xfer += this->partitions[_i429].read(iprot); } xfer += iprot->readListEnd(); } @@ -6692,16 +9265,17 @@ uint32_t DropPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot uint32_t DropPartitionsResult::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("DropPartitionsResult"); if (this->__isset.partitions) { xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter320; - for (_iter320 = this->partitions.begin(); _iter320 != this->partitions.end(); ++_iter320) + std::vector ::const_iterator _iter430; + for (_iter430 = this->partitions.begin(); _iter430 != this->partitions.end(); ++_iter430) { - xfer += (*_iter320).write(oprot); + xfer += (*_iter430).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6709,6 +9283,7 @@ uint32_t DropPartitionsResult::write(::apache::thrift::protocol::TProtocol* opro } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6718,6 +9293,37 @@ void swap(DropPartitionsResult &a, DropPartitionsResult &b) { swap(a.__isset, b.__isset); } +DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other431) { + partitions = other431.partitions; + __isset = other431.__isset; +} +DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult& other432) { + partitions = other432.partitions; + __isset = other432.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const DropPartitionsResult& obj) { + using apache::thrift::to_string; + out << "DropPartitionsResult("; + out << "partitions="; (obj.__isset.partitions ? (out << to_string(obj.partitions)) : (out << "")); + out << ")"; + return out; +} + + +DropPartitionsExpr::~DropPartitionsExpr() throw() { +} + + +void DropPartitionsExpr::__set_expr(const std::string& val) { + this->expr = val; +} + +void DropPartitionsExpr::__set_partArchiveLevel(const int32_t val) { + this->partArchiveLevel = val; +__isset.partArchiveLevel = true; +} + const char* DropPartitionsExpr::ascii_fingerprint = "18B162B1D15D8D46509D3911A9F1C2AA"; const uint8_t DropPartitionsExpr::binary_fingerprint[16] = {0x18,0xB1,0x62,0xB1,0xD1,0x5D,0x8D,0x46,0x50,0x9D,0x39,0x11,0xA9,0xF1,0xC2,0xAA}; @@ -6774,6 +9380,7 @@ uint32_t DropPartitionsExpr::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t DropPartitionsExpr::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("DropPartitionsExpr"); xfer += oprot->writeFieldBegin("expr", ::apache::thrift::protocol::T_STRING, 1); @@ -6787,6 +9394,7 @@ uint32_t DropPartitionsExpr::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6797,6 +9405,39 @@ void swap(DropPartitionsExpr &a, DropPartitionsExpr &b) { swap(a.__isset, b.__isset); } +DropPartitionsExpr::DropPartitionsExpr(const DropPartitionsExpr& other433) { + expr = other433.expr; + partArchiveLevel = other433.partArchiveLevel; + __isset = other433.__isset; +} +DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& other434) { + expr = other434.expr; + partArchiveLevel = other434.partArchiveLevel; + __isset = other434.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const DropPartitionsExpr& obj) { + using apache::thrift::to_string; + out << "DropPartitionsExpr("; + out << "expr=" << to_string(obj.expr); + out << ", " << "partArchiveLevel="; (obj.__isset.partArchiveLevel ? (out << to_string(obj.partArchiveLevel)) : (out << "")); + out << ")"; + return out; +} + + +RequestPartsSpec::~RequestPartsSpec() throw() { +} + + +void RequestPartsSpec::__set_names(const std::vector & val) { + this->names = val; +} + +void RequestPartsSpec::__set_exprs(const std::vector & val) { + this->exprs = val; +} + const char* RequestPartsSpec::ascii_fingerprint = "864492ECAB27996CD222AACDA10C292E"; const uint8_t RequestPartsSpec::binary_fingerprint[16] = {0x86,0x44,0x92,0xEC,0xAB,0x27,0x99,0x6C,0xD2,0x22,0xAA,0xCD,0xA1,0x0C,0x29,0x2E}; @@ -6824,14 +9465,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size321; - ::apache::thrift::protocol::TType _etype324; - xfer += iprot->readListBegin(_etype324, _size321); - this->names.resize(_size321); - uint32_t _i325; - for (_i325 = 0; _i325 < _size321; ++_i325) + uint32_t _size435; + ::apache::thrift::protocol::TType _etype438; + xfer += iprot->readListBegin(_etype438, _size435); + this->names.resize(_size435); + uint32_t _i439; + for (_i439 = 0; _i439 < _size435; ++_i439) { - xfer += iprot->readString(this->names[_i325]); + xfer += iprot->readString(this->names[_i439]); } xfer += iprot->readListEnd(); } @@ -6844,14 +9485,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->exprs.clear(); - uint32_t _size326; - ::apache::thrift::protocol::TType _etype329; - xfer += iprot->readListBegin(_etype329, _size326); - this->exprs.resize(_size326); - uint32_t _i330; - for (_i330 = 0; _i330 < _size326; ++_i330) + uint32_t _size440; + ::apache::thrift::protocol::TType _etype443; + xfer += iprot->readListBegin(_etype443, _size440); + this->exprs.resize(_size440); + uint32_t _i444; + for (_i444 = 0; _i444 < _size440; ++_i444) { - xfer += this->exprs[_i330].read(iprot); + xfer += this->exprs[_i444].read(iprot); } xfer += iprot->readListEnd(); } @@ -6874,15 +9515,16 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t RequestPartsSpec::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("RequestPartsSpec"); xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter331; - for (_iter331 = this->names.begin(); _iter331 != this->names.end(); ++_iter331) + std::vector ::const_iterator _iter445; + for (_iter445 = this->names.begin(); _iter445 != this->names.end(); ++_iter445) { - xfer += oprot->writeString((*_iter331)); + xfer += oprot->writeString((*_iter445)); } xfer += oprot->writeListEnd(); } @@ -6891,10 +9533,10 @@ uint32_t RequestPartsSpec::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("exprs", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->exprs.size())); - std::vector ::const_iterator _iter332; - for (_iter332 = this->exprs.begin(); _iter332 != this->exprs.end(); ++_iter332) + std::vector ::const_iterator _iter446; + for (_iter446 = this->exprs.begin(); _iter446 != this->exprs.end(); ++_iter446) { - xfer += (*_iter332).write(oprot); + xfer += (*_iter446).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6902,6 +9544,7 @@ uint32_t RequestPartsSpec::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6912,23 +9555,85 @@ void swap(RequestPartsSpec &a, RequestPartsSpec &b) { swap(a.__isset, b.__isset); } -const char* DropPartitionsRequest::ascii_fingerprint = "EB263FBA01215C480A9A24C11D69E672"; -const uint8_t DropPartitionsRequest::binary_fingerprint[16] = {0xEB,0x26,0x3F,0xBA,0x01,0x21,0x5C,0x48,0x0A,0x9A,0x24,0xC1,0x1D,0x69,0xE6,0x72}; +RequestPartsSpec::RequestPartsSpec(const RequestPartsSpec& other447) { + names = other447.names; + exprs = other447.exprs; + __isset = other447.__isset; +} +RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other448) { + names = other448.names; + exprs = other448.exprs; + __isset = other448.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const RequestPartsSpec& obj) { + using apache::thrift::to_string; + out << "RequestPartsSpec("; + out << "names=" << to_string(obj.names); + out << ", " << "exprs=" << to_string(obj.exprs); + out << ")"; + return out; +} -uint32_t DropPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; +DropPartitionsRequest::~DropPartitionsRequest() throw() { +} - xfer += iprot->readStructBegin(fname); - using ::apache::thrift::protocol::TProtocolException; +void DropPartitionsRequest::__set_dbName(const std::string& val) { + this->dbName = val; +} - bool isset_dbName = false; - bool isset_tblName = false; - bool isset_parts = false; +void DropPartitionsRequest::__set_tblName(const std::string& val) { + this->tblName = val; +} + +void DropPartitionsRequest::__set_parts(const RequestPartsSpec& val) { + this->parts = val; +} + +void DropPartitionsRequest::__set_deleteData(const bool val) { + this->deleteData = val; +__isset.deleteData = true; +} + +void DropPartitionsRequest::__set_ifExists(const bool val) { + this->ifExists = val; +__isset.ifExists = true; +} + +void DropPartitionsRequest::__set_ignoreProtection(const bool val) { + this->ignoreProtection = val; +__isset.ignoreProtection = true; +} + +void DropPartitionsRequest::__set_environmentContext(const EnvironmentContext& val) { + this->environmentContext = val; +__isset.environmentContext = true; +} + +void DropPartitionsRequest::__set_needResult(const bool val) { + this->needResult = val; +__isset.needResult = true; +} + +const char* DropPartitionsRequest::ascii_fingerprint = "EB263FBA01215C480A9A24C11D69E672"; +const uint8_t DropPartitionsRequest::binary_fingerprint[16] = {0xEB,0x26,0x3F,0xBA,0x01,0x21,0x5C,0x48,0x0A,0x9A,0x24,0xC1,0x1D,0x69,0xE6,0x72}; + +uint32_t DropPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_dbName = false; + bool isset_tblName = false; + bool isset_parts = false; while (true) { @@ -7022,6 +9727,7 @@ uint32_t DropPartitionsRequest::read(::apache::thrift::protocol::TProtocol* ipro uint32_t DropPartitionsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("DropPartitionsRequest"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -7063,6 +9769,7 @@ uint32_t DropPartitionsRequest::write(::apache::thrift::protocol::TProtocol* opr } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -7079,6 +9786,57 @@ void swap(DropPartitionsRequest &a, DropPartitionsRequest &b) { swap(a.__isset, b.__isset); } +DropPartitionsRequest::DropPartitionsRequest(const DropPartitionsRequest& other449) { + dbName = other449.dbName; + tblName = other449.tblName; + parts = other449.parts; + deleteData = other449.deleteData; + ifExists = other449.ifExists; + ignoreProtection = other449.ignoreProtection; + environmentContext = other449.environmentContext; + needResult = other449.needResult; + __isset = other449.__isset; +} +DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequest& other450) { + dbName = other450.dbName; + tblName = other450.tblName; + parts = other450.parts; + deleteData = other450.deleteData; + ifExists = other450.ifExists; + ignoreProtection = other450.ignoreProtection; + environmentContext = other450.environmentContext; + needResult = other450.needResult; + __isset = other450.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const DropPartitionsRequest& obj) { + using apache::thrift::to_string; + out << "DropPartitionsRequest("; + out << "dbName=" << to_string(obj.dbName); + out << ", " << "tblName=" << to_string(obj.tblName); + out << ", " << "parts=" << to_string(obj.parts); + out << ", " << "deleteData="; (obj.__isset.deleteData ? (out << to_string(obj.deleteData)) : (out << "")); + out << ", " << "ifExists="; (obj.__isset.ifExists ? (out << to_string(obj.ifExists)) : (out << "")); + out << ", " << "ignoreProtection="; (obj.__isset.ignoreProtection ? (out << to_string(obj.ignoreProtection)) : (out << "")); + out << ", " << "environmentContext="; (obj.__isset.environmentContext ? (out << to_string(obj.environmentContext)) : (out << "")); + out << ", " << "needResult="; (obj.__isset.needResult ? (out << to_string(obj.needResult)) : (out << "")); + out << ")"; + return out; +} + + +ResourceUri::~ResourceUri() throw() { +} + + +void ResourceUri::__set_resourceType(const ResourceType::type val) { + this->resourceType = val; +} + +void ResourceUri::__set_uri(const std::string& val) { + this->uri = val; +} + const char* ResourceUri::ascii_fingerprint = "19B5240589E680301A7E32DF3971EFBE"; const uint8_t ResourceUri::binary_fingerprint[16] = {0x19,0xB5,0x24,0x05,0x89,0xE6,0x80,0x30,0x1A,0x7E,0x32,0xDF,0x39,0x71,0xEF,0xBE}; @@ -7104,9 +9862,9 @@ uint32_t ResourceUri::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast333; - xfer += iprot->readI32(ecast333); - this->resourceType = (ResourceType::type)ecast333; + int32_t ecast451; + xfer += iprot->readI32(ecast451); + this->resourceType = (ResourceType::type)ecast451; this->__isset.resourceType = true; } else { xfer += iprot->skip(ftype); @@ -7134,6 +9892,7 @@ uint32_t ResourceUri::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ResourceUri::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ResourceUri"); xfer += oprot->writeFieldBegin("resourceType", ::apache::thrift::protocol::T_I32, 1); @@ -7146,6 +9905,7 @@ uint32_t ResourceUri::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -7156,6 +9916,63 @@ void swap(ResourceUri &a, ResourceUri &b) { swap(a.__isset, b.__isset); } +ResourceUri::ResourceUri(const ResourceUri& other452) { + resourceType = other452.resourceType; + uri = other452.uri; + __isset = other452.__isset; +} +ResourceUri& ResourceUri::operator=(const ResourceUri& other453) { + resourceType = other453.resourceType; + uri = other453.uri; + __isset = other453.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ResourceUri& obj) { + using apache::thrift::to_string; + out << "ResourceUri("; + out << "resourceType=" << to_string(obj.resourceType); + out << ", " << "uri=" << to_string(obj.uri); + out << ")"; + return out; +} + + +Function::~Function() throw() { +} + + +void Function::__set_functionName(const std::string& val) { + this->functionName = val; +} + +void Function::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void Function::__set_className(const std::string& val) { + this->className = val; +} + +void Function::__set_ownerName(const std::string& val) { + this->ownerName = val; +} + +void Function::__set_ownerType(const PrincipalType::type val) { + this->ownerType = val; +} + +void Function::__set_createTime(const int32_t val) { + this->createTime = val; +} + +void Function::__set_functionType(const FunctionType::type val) { + this->functionType = val; +} + +void Function::__set_resourceUris(const std::vector & val) { + this->resourceUris = val; +} + const char* Function::ascii_fingerprint = "72279C515E70F888568542F97616ADB8"; const uint8_t Function::binary_fingerprint[16] = {0x72,0x27,0x9C,0x51,0x5E,0x70,0xF8,0x88,0x56,0x85,0x42,0xF9,0x76,0x16,0xAD,0xB8}; @@ -7213,9 +10030,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast334; - xfer += iprot->readI32(ecast334); - this->ownerType = (PrincipalType::type)ecast334; + int32_t ecast454; + xfer += iprot->readI32(ecast454); + this->ownerType = (PrincipalType::type)ecast454; this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -7231,9 +10048,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast335; - xfer += iprot->readI32(ecast335); - this->functionType = (FunctionType::type)ecast335; + int32_t ecast455; + xfer += iprot->readI32(ecast455); + this->functionType = (FunctionType::type)ecast455; this->__isset.functionType = true; } else { xfer += iprot->skip(ftype); @@ -7243,14 +10060,14 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourceUris.clear(); - uint32_t _size336; - ::apache::thrift::protocol::TType _etype339; - xfer += iprot->readListBegin(_etype339, _size336); - this->resourceUris.resize(_size336); - uint32_t _i340; - for (_i340 = 0; _i340 < _size336; ++_i340) + uint32_t _size456; + ::apache::thrift::protocol::TType _etype459; + xfer += iprot->readListBegin(_etype459, _size456); + this->resourceUris.resize(_size456); + uint32_t _i460; + for (_i460 = 0; _i460 < _size456; ++_i460) { - xfer += this->resourceUris[_i340].read(iprot); + xfer += this->resourceUris[_i460].read(iprot); } xfer += iprot->readListEnd(); } @@ -7273,6 +10090,7 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Function::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Function"); xfer += oprot->writeFieldBegin("functionName", ::apache::thrift::protocol::T_STRING, 1); @@ -7306,10 +10124,10 @@ uint32_t Function::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("resourceUris", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->resourceUris.size())); - std::vector ::const_iterator _iter341; - for (_iter341 = this->resourceUris.begin(); _iter341 != this->resourceUris.end(); ++_iter341) + std::vector ::const_iterator _iter461; + for (_iter461 = this->resourceUris.begin(); _iter461 != this->resourceUris.end(); ++_iter461) { - xfer += (*_iter341).write(oprot); + xfer += (*_iter461).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7317,6 +10135,7 @@ uint32_t Function::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -7333,6 +10152,65 @@ void swap(Function &a, Function &b) { swap(a.__isset, b.__isset); } +Function::Function(const Function& other462) { + functionName = other462.functionName; + dbName = other462.dbName; + className = other462.className; + ownerName = other462.ownerName; + ownerType = other462.ownerType; + createTime = other462.createTime; + functionType = other462.functionType; + resourceUris = other462.resourceUris; + __isset = other462.__isset; +} +Function& Function::operator=(const Function& other463) { + functionName = other463.functionName; + dbName = other463.dbName; + className = other463.className; + ownerName = other463.ownerName; + ownerType = other463.ownerType; + createTime = other463.createTime; + functionType = other463.functionType; + resourceUris = other463.resourceUris; + __isset = other463.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Function& obj) { + using apache::thrift::to_string; + out << "Function("; + out << "functionName=" << to_string(obj.functionName); + out << ", " << "dbName=" << to_string(obj.dbName); + out << ", " << "className=" << to_string(obj.className); + out << ", " << "ownerName=" << to_string(obj.ownerName); + out << ", " << "ownerType=" << to_string(obj.ownerType); + out << ", " << "createTime=" << to_string(obj.createTime); + out << ", " << "functionType=" << to_string(obj.functionType); + out << ", " << "resourceUris=" << to_string(obj.resourceUris); + out << ")"; + return out; +} + + +TxnInfo::~TxnInfo() throw() { +} + + +void TxnInfo::__set_id(const int64_t val) { + this->id = val; +} + +void TxnInfo::__set_state(const TxnState::type val) { + this->state = val; +} + +void TxnInfo::__set_user(const std::string& val) { + this->user = val; +} + +void TxnInfo::__set_hostname(const std::string& val) { + this->hostname = val; +} + const char* TxnInfo::ascii_fingerprint = "6C5C0773A901CCA3BE9D085B3B47A767"; const uint8_t TxnInfo::binary_fingerprint[16] = {0x6C,0x5C,0x07,0x73,0xA9,0x01,0xCC,0xA3,0xBE,0x9D,0x08,0x5B,0x3B,0x47,0xA7,0x67}; @@ -7370,9 +10248,9 @@ uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast342; - xfer += iprot->readI32(ecast342); - this->state = (TxnState::type)ecast342; + int32_t ecast464; + xfer += iprot->readI32(ecast464); + this->state = (TxnState::type)ecast464; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -7416,6 +10294,7 @@ uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TxnInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TxnInfo"); xfer += oprot->writeFieldBegin("id", ::apache::thrift::protocol::T_I64, 1); @@ -7436,6 +10315,7 @@ uint32_t TxnInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -7447,6 +10327,43 @@ void swap(TxnInfo &a, TxnInfo &b) { swap(a.hostname, b.hostname); } +TxnInfo::TxnInfo(const TxnInfo& other465) { + id = other465.id; + state = other465.state; + user = other465.user; + hostname = other465.hostname; +} +TxnInfo& TxnInfo::operator=(const TxnInfo& other466) { + id = other466.id; + state = other466.state; + user = other466.user; + hostname = other466.hostname; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TxnInfo& obj) { + using apache::thrift::to_string; + out << "TxnInfo("; + out << "id=" << to_string(obj.id); + out << ", " << "state=" << to_string(obj.state); + out << ", " << "user=" << to_string(obj.user); + out << ", " << "hostname=" << to_string(obj.hostname); + out << ")"; + return out; +} + + +GetOpenTxnsInfoResponse::~GetOpenTxnsInfoResponse() throw() { +} + + +void GetOpenTxnsInfoResponse::__set_txn_high_water_mark(const int64_t val) { + this->txn_high_water_mark = val; +} + +void GetOpenTxnsInfoResponse::__set_open_txns(const std::vector & val) { + this->open_txns = val; +} + const char* GetOpenTxnsInfoResponse::ascii_fingerprint = "CCF769BBD33005B61F2079A6665E3B9C"; const uint8_t GetOpenTxnsInfoResponse::binary_fingerprint[16] = {0xCC,0xF7,0x69,0xBB,0xD3,0x30,0x05,0xB6,0x1F,0x20,0x79,0xA6,0x66,0x5E,0x3B,0x9C}; @@ -7484,14 +10401,14 @@ uint32_t GetOpenTxnsInfoResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size343; - ::apache::thrift::protocol::TType _etype346; - xfer += iprot->readListBegin(_etype346, _size343); - this->open_txns.resize(_size343); - uint32_t _i347; - for (_i347 = 0; _i347 < _size343; ++_i347) + uint32_t _size467; + ::apache::thrift::protocol::TType _etype470; + xfer += iprot->readListBegin(_etype470, _size467); + this->open_txns.resize(_size467); + uint32_t _i471; + for (_i471 = 0; _i471 < _size467; ++_i471) { - xfer += this->open_txns[_i347].read(iprot); + xfer += this->open_txns[_i471].read(iprot); } xfer += iprot->readListEnd(); } @@ -7518,6 +10435,7 @@ uint32_t GetOpenTxnsInfoResponse::read(::apache::thrift::protocol::TProtocol* ip uint32_t GetOpenTxnsInfoResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("GetOpenTxnsInfoResponse"); xfer += oprot->writeFieldBegin("txn_high_water_mark", ::apache::thrift::protocol::T_I64, 1); @@ -7527,10 +10445,10 @@ uint32_t GetOpenTxnsInfoResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->open_txns.size())); - std::vector ::const_iterator _iter348; - for (_iter348 = this->open_txns.begin(); _iter348 != this->open_txns.end(); ++_iter348) + std::vector ::const_iterator _iter472; + for (_iter472 = this->open_txns.begin(); _iter472 != this->open_txns.end(); ++_iter472) { - xfer += (*_iter348).write(oprot); + xfer += (*_iter472).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7538,6 +10456,7 @@ uint32_t GetOpenTxnsInfoResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -7547,6 +10466,37 @@ void swap(GetOpenTxnsInfoResponse &a, GetOpenTxnsInfoResponse &b) { swap(a.open_txns, b.open_txns); } +GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other473) { + txn_high_water_mark = other473.txn_high_water_mark; + open_txns = other473.open_txns; +} +GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other474) { + txn_high_water_mark = other474.txn_high_water_mark; + open_txns = other474.open_txns; + return *this; +} +std::ostream& operator<<(std::ostream& out, const GetOpenTxnsInfoResponse& obj) { + using apache::thrift::to_string; + out << "GetOpenTxnsInfoResponse("; + out << "txn_high_water_mark=" << to_string(obj.txn_high_water_mark); + out << ", " << "open_txns=" << to_string(obj.open_txns); + out << ")"; + return out; +} + + +GetOpenTxnsResponse::~GetOpenTxnsResponse() throw() { +} + + +void GetOpenTxnsResponse::__set_txn_high_water_mark(const int64_t val) { + this->txn_high_water_mark = val; +} + +void GetOpenTxnsResponse::__set_open_txns(const std::set & val) { + this->open_txns = val; +} + const char* GetOpenTxnsResponse::ascii_fingerprint = "590531FF1BE8611678B255374F6109EE"; const uint8_t GetOpenTxnsResponse::binary_fingerprint[16] = {0x59,0x05,0x31,0xFF,0x1B,0xE8,0x61,0x16,0x78,0xB2,0x55,0x37,0x4F,0x61,0x09,0xEE}; @@ -7584,15 +10534,15 @@ uint32_t GetOpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_SET) { { this->open_txns.clear(); - uint32_t _size349; - ::apache::thrift::protocol::TType _etype352; - xfer += iprot->readSetBegin(_etype352, _size349); - uint32_t _i353; - for (_i353 = 0; _i353 < _size349; ++_i353) + uint32_t _size475; + ::apache::thrift::protocol::TType _etype478; + xfer += iprot->readSetBegin(_etype478, _size475); + uint32_t _i479; + for (_i479 = 0; _i479 < _size475; ++_i479) { - int64_t _elem354; - xfer += iprot->readI64(_elem354); - this->open_txns.insert(_elem354); + int64_t _elem480; + xfer += iprot->readI64(_elem480); + this->open_txns.insert(_elem480); } xfer += iprot->readSetEnd(); } @@ -7619,6 +10569,7 @@ uint32_t GetOpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t GetOpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("GetOpenTxnsResponse"); xfer += oprot->writeFieldBegin("txn_high_water_mark", ::apache::thrift::protocol::T_I64, 1); @@ -7628,10 +10579,10 @@ uint32_t GetOpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->open_txns.size())); - std::set ::const_iterator _iter355; - for (_iter355 = this->open_txns.begin(); _iter355 != this->open_txns.end(); ++_iter355) + std::set ::const_iterator _iter481; + for (_iter481 = this->open_txns.begin(); _iter481 != this->open_txns.end(); ++_iter481) { - xfer += oprot->writeI64((*_iter355)); + xfer += oprot->writeI64((*_iter481)); } xfer += oprot->writeSetEnd(); } @@ -7639,6 +10590,7 @@ uint32_t GetOpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -7648,6 +10600,41 @@ void swap(GetOpenTxnsResponse &a, GetOpenTxnsResponse &b) { swap(a.open_txns, b.open_txns); } +GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other482) { + txn_high_water_mark = other482.txn_high_water_mark; + open_txns = other482.open_txns; +} +GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other483) { + txn_high_water_mark = other483.txn_high_water_mark; + open_txns = other483.open_txns; + return *this; +} +std::ostream& operator<<(std::ostream& out, const GetOpenTxnsResponse& obj) { + using apache::thrift::to_string; + out << "GetOpenTxnsResponse("; + out << "txn_high_water_mark=" << to_string(obj.txn_high_water_mark); + out << ", " << "open_txns=" << to_string(obj.open_txns); + out << ")"; + return out; +} + + +OpenTxnRequest::~OpenTxnRequest() throw() { +} + + +void OpenTxnRequest::__set_num_txns(const int32_t val) { + this->num_txns = val; +} + +void OpenTxnRequest::__set_user(const std::string& val) { + this->user = val; +} + +void OpenTxnRequest::__set_hostname(const std::string& val) { + this->hostname = val; +} + const char* OpenTxnRequest::ascii_fingerprint = "3368C2F81F2FEF71F11EDACDB2A3ECEF"; const uint8_t OpenTxnRequest::binary_fingerprint[16] = {0x33,0x68,0xC2,0xF8,0x1F,0x2F,0xEF,0x71,0xF1,0x1E,0xDA,0xCD,0xB2,0xA3,0xEC,0xEF}; @@ -7718,6 +10705,7 @@ uint32_t OpenTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t OpenTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("OpenTxnRequest"); xfer += oprot->writeFieldBegin("num_txns", ::apache::thrift::protocol::T_I32, 1); @@ -7734,6 +10722,7 @@ uint32_t OpenTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -7744,6 +10733,36 @@ void swap(OpenTxnRequest &a, OpenTxnRequest &b) { swap(a.hostname, b.hostname); } +OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other484) { + num_txns = other484.num_txns; + user = other484.user; + hostname = other484.hostname; +} +OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other485) { + num_txns = other485.num_txns; + user = other485.user; + hostname = other485.hostname; + return *this; +} +std::ostream& operator<<(std::ostream& out, const OpenTxnRequest& obj) { + using apache::thrift::to_string; + out << "OpenTxnRequest("; + out << "num_txns=" << to_string(obj.num_txns); + out << ", " << "user=" << to_string(obj.user); + out << ", " << "hostname=" << to_string(obj.hostname); + out << ")"; + return out; +} + + +OpenTxnsResponse::~OpenTxnsResponse() throw() { +} + + +void OpenTxnsResponse::__set_txn_ids(const std::vector & val) { + this->txn_ids = val; +} + const char* OpenTxnsResponse::ascii_fingerprint = "E49D7D1A9013CC81CD0F69D631EF82E4"; const uint8_t OpenTxnsResponse::binary_fingerprint[16] = {0xE4,0x9D,0x7D,0x1A,0x90,0x13,0xCC,0x81,0xCD,0x0F,0x69,0xD6,0x31,0xEF,0x82,0xE4}; @@ -7772,14 +10791,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size356; - ::apache::thrift::protocol::TType _etype359; - xfer += iprot->readListBegin(_etype359, _size356); - this->txn_ids.resize(_size356); - uint32_t _i360; - for (_i360 = 0; _i360 < _size356; ++_i360) + uint32_t _size486; + ::apache::thrift::protocol::TType _etype489; + xfer += iprot->readListBegin(_etype489, _size486); + this->txn_ids.resize(_size486); + uint32_t _i490; + for (_i490 = 0; _i490 < _size486; ++_i490) { - xfer += iprot->readI64(this->txn_ids[_i360]); + xfer += iprot->readI64(this->txn_ids[_i490]); } xfer += iprot->readListEnd(); } @@ -7804,15 +10823,16 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t OpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("OpenTxnsResponse"); xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txn_ids.size())); - std::vector ::const_iterator _iter361; - for (_iter361 = this->txn_ids.begin(); _iter361 != this->txn_ids.end(); ++_iter361) + std::vector ::const_iterator _iter491; + for (_iter491 = this->txn_ids.begin(); _iter491 != this->txn_ids.end(); ++_iter491) { - xfer += oprot->writeI64((*_iter361)); + xfer += oprot->writeI64((*_iter491)); } xfer += oprot->writeListEnd(); } @@ -7820,6 +10840,7 @@ uint32_t OpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -7828,6 +10849,30 @@ void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) { swap(a.txn_ids, b.txn_ids); } +OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other492) { + txn_ids = other492.txn_ids; +} +OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other493) { + txn_ids = other493.txn_ids; + return *this; +} +std::ostream& operator<<(std::ostream& out, const OpenTxnsResponse& obj) { + using apache::thrift::to_string; + out << "OpenTxnsResponse("; + out << "txn_ids=" << to_string(obj.txn_ids); + out << ")"; + return out; +} + + +AbortTxnRequest::~AbortTxnRequest() throw() { +} + + +void AbortTxnRequest::__set_txnid(const int64_t val) { + this->txnid = val; +} + const char* AbortTxnRequest::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; const uint8_t AbortTxnRequest::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; @@ -7876,6 +10921,7 @@ uint32_t AbortTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t AbortTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("AbortTxnRequest"); xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 1); @@ -7884,6 +10930,7 @@ uint32_t AbortTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -7892,6 +10939,30 @@ void swap(AbortTxnRequest &a, AbortTxnRequest &b) { swap(a.txnid, b.txnid); } +AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other494) { + txnid = other494.txnid; +} +AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other495) { + txnid = other495.txnid; + return *this; +} +std::ostream& operator<<(std::ostream& out, const AbortTxnRequest& obj) { + using apache::thrift::to_string; + out << "AbortTxnRequest("; + out << "txnid=" << to_string(obj.txnid); + out << ")"; + return out; +} + + +CommitTxnRequest::~CommitTxnRequest() throw() { +} + + +void CommitTxnRequest::__set_txnid(const int64_t val) { + this->txnid = val; +} + const char* CommitTxnRequest::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; const uint8_t CommitTxnRequest::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; @@ -7940,6 +11011,7 @@ uint32_t CommitTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t CommitTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("CommitTxnRequest"); xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 1); @@ -7948,6 +11020,7 @@ uint32_t CommitTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -7956,6 +11029,48 @@ void swap(CommitTxnRequest &a, CommitTxnRequest &b) { swap(a.txnid, b.txnid); } +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other496) { + txnid = other496.txnid; +} +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other497) { + txnid = other497.txnid; + return *this; +} +std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj) { + using apache::thrift::to_string; + out << "CommitTxnRequest("; + out << "txnid=" << to_string(obj.txnid); + out << ")"; + return out; +} + + +LockComponent::~LockComponent() throw() { +} + + +void LockComponent::__set_type(const LockType::type val) { + this->type = val; +} + +void LockComponent::__set_level(const LockLevel::type val) { + this->level = val; +} + +void LockComponent::__set_dbname(const std::string& val) { + this->dbname = val; +} + +void LockComponent::__set_tablename(const std::string& val) { + this->tablename = val; +__isset.tablename = true; +} + +void LockComponent::__set_partitionname(const std::string& val) { + this->partitionname = val; +__isset.partitionname = true; +} + const char* LockComponent::ascii_fingerprint = "38B02531B0840AC9C72904A4649FD15F"; const uint8_t LockComponent::binary_fingerprint[16] = {0x38,0xB0,0x25,0x31,0xB0,0x84,0x0A,0xC9,0xC7,0x29,0x04,0xA4,0x64,0x9F,0xD1,0x5F}; @@ -7984,9 +11099,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast362; - xfer += iprot->readI32(ecast362); - this->type = (LockType::type)ecast362; + int32_t ecast498; + xfer += iprot->readI32(ecast498); + this->type = (LockType::type)ecast498; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -7994,9 +11109,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast363; - xfer += iprot->readI32(ecast363); - this->level = (LockLevel::type)ecast363; + int32_t ecast499; + xfer += iprot->readI32(ecast499); + this->level = (LockLevel::type)ecast499; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -8046,6 +11161,7 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t LockComponent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("LockComponent"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 1); @@ -8072,6 +11188,7 @@ uint32_t LockComponent::write(::apache::thrift::protocol::TProtocol* oprot) cons } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -8085,6 +11202,57 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } +LockComponent::LockComponent(const LockComponent& other500) { + type = other500.type; + level = other500.level; + dbname = other500.dbname; + tablename = other500.tablename; + partitionname = other500.partitionname; + __isset = other500.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other501) { + type = other501.type; + level = other501.level; + dbname = other501.dbname; + tablename = other501.tablename; + partitionname = other501.partitionname; + __isset = other501.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const LockComponent& obj) { + using apache::thrift::to_string; + out << "LockComponent("; + out << "type=" << to_string(obj.type); + out << ", " << "level=" << to_string(obj.level); + out << ", " << "dbname=" << to_string(obj.dbname); + out << ", " << "tablename="; (obj.__isset.tablename ? (out << to_string(obj.tablename)) : (out << "")); + out << ", " << "partitionname="; (obj.__isset.partitionname ? (out << to_string(obj.partitionname)) : (out << "")); + out << ")"; + return out; +} + + +LockRequest::~LockRequest() throw() { +} + + +void LockRequest::__set_component(const std::vector & val) { + this->component = val; +} + +void LockRequest::__set_txnid(const int64_t val) { + this->txnid = val; +__isset.txnid = true; +} + +void LockRequest::__set_user(const std::string& val) { + this->user = val; +} + +void LockRequest::__set_hostname(const std::string& val) { + this->hostname = val; +} + const char* LockRequest::ascii_fingerprint = "46BC5ED7196BC16CB216AD5CC67C6930"; const uint8_t LockRequest::binary_fingerprint[16] = {0x46,0xBC,0x5E,0xD7,0x19,0x6B,0xC1,0x6C,0xB2,0x16,0xAD,0x5C,0xC6,0x7C,0x69,0x30}; @@ -8115,14 +11283,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size364; - ::apache::thrift::protocol::TType _etype367; - xfer += iprot->readListBegin(_etype367, _size364); - this->component.resize(_size364); - uint32_t _i368; - for (_i368 = 0; _i368 < _size364; ++_i368) + uint32_t _size502; + ::apache::thrift::protocol::TType _etype505; + xfer += iprot->readListBegin(_etype505, _size502); + this->component.resize(_size502); + uint32_t _i506; + for (_i506 = 0; _i506 < _size502; ++_i506) { - xfer += this->component[_i368].read(iprot); + xfer += this->component[_i506].read(iprot); } xfer += iprot->readListEnd(); } @@ -8175,15 +11343,16 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t LockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("LockRequest"); xfer += oprot->writeFieldBegin("component", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->component.size())); - std::vector ::const_iterator _iter369; - for (_iter369 = this->component.begin(); _iter369 != this->component.end(); ++_iter369) + std::vector ::const_iterator _iter507; + for (_iter507 = this->component.begin(); _iter507 != this->component.end(); ++_iter507) { - xfer += (*_iter369).write(oprot); + xfer += (*_iter507).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8204,6 +11373,7 @@ uint32_t LockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -8216,6 +11386,45 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } +LockRequest::LockRequest(const LockRequest& other508) { + component = other508.component; + txnid = other508.txnid; + user = other508.user; + hostname = other508.hostname; + __isset = other508.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other509) { + component = other509.component; + txnid = other509.txnid; + user = other509.user; + hostname = other509.hostname; + __isset = other509.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const LockRequest& obj) { + using apache::thrift::to_string; + out << "LockRequest("; + out << "component=" << to_string(obj.component); + out << ", " << "txnid="; (obj.__isset.txnid ? (out << to_string(obj.txnid)) : (out << "")); + out << ", " << "user=" << to_string(obj.user); + out << ", " << "hostname=" << to_string(obj.hostname); + out << ")"; + return out; +} + + +LockResponse::~LockResponse() throw() { +} + + +void LockResponse::__set_lockid(const int64_t val) { + this->lockid = val; +} + +void LockResponse::__set_state(const LockState::type val) { + this->state = val; +} + const char* LockResponse::ascii_fingerprint = "DFA40D9D2884599F3D1E7A57578F1384"; const uint8_t LockResponse::binary_fingerprint[16] = {0xDF,0xA4,0x0D,0x9D,0x28,0x84,0x59,0x9F,0x3D,0x1E,0x7A,0x57,0x57,0x8F,0x13,0x84}; @@ -8251,9 +11460,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast370; - xfer += iprot->readI32(ecast370); - this->state = (LockState::type)ecast370; + int32_t ecast510; + xfer += iprot->readI32(ecast510); + this->state = (LockState::type)ecast510; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -8277,6 +11486,7 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t LockResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("LockResponse"); xfer += oprot->writeFieldBegin("lockid", ::apache::thrift::protocol::T_I64, 1); @@ -8289,6 +11499,7 @@ uint32_t LockResponse::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -8298,6 +11509,33 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } +LockResponse::LockResponse(const LockResponse& other511) { + lockid = other511.lockid; + state = other511.state; +} +LockResponse& LockResponse::operator=(const LockResponse& other512) { + lockid = other512.lockid; + state = other512.state; + return *this; +} +std::ostream& operator<<(std::ostream& out, const LockResponse& obj) { + using apache::thrift::to_string; + out << "LockResponse("; + out << "lockid=" << to_string(obj.lockid); + out << ", " << "state=" << to_string(obj.state); + out << ")"; + return out; +} + + +CheckLockRequest::~CheckLockRequest() throw() { +} + + +void CheckLockRequest::__set_lockid(const int64_t val) { + this->lockid = val; +} + const char* CheckLockRequest::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; const uint8_t CheckLockRequest::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; @@ -8346,6 +11584,7 @@ uint32_t CheckLockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t CheckLockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("CheckLockRequest"); xfer += oprot->writeFieldBegin("lockid", ::apache::thrift::protocol::T_I64, 1); @@ -8354,6 +11593,7 @@ uint32_t CheckLockRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -8362,6 +11602,30 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.lockid, b.lockid); } +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other513) { + lockid = other513.lockid; +} +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other514) { + lockid = other514.lockid; + return *this; +} +std::ostream& operator<<(std::ostream& out, const CheckLockRequest& obj) { + using apache::thrift::to_string; + out << "CheckLockRequest("; + out << "lockid=" << to_string(obj.lockid); + out << ")"; + return out; +} + + +UnlockRequest::~UnlockRequest() throw() { +} + + +void UnlockRequest::__set_lockid(const int64_t val) { + this->lockid = val; +} + const char* UnlockRequest::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; const uint8_t UnlockRequest::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; @@ -8410,6 +11674,7 @@ uint32_t UnlockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t UnlockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("UnlockRequest"); xfer += oprot->writeFieldBegin("lockid", ::apache::thrift::protocol::T_I64, 1); @@ -8418,6 +11683,7 @@ uint32_t UnlockRequest::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -8426,6 +11692,26 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } +UnlockRequest::UnlockRequest(const UnlockRequest& other515) { + lockid = other515.lockid; +} +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other516) { + lockid = other516.lockid; + return *this; +} +std::ostream& operator<<(std::ostream& out, const UnlockRequest& obj) { + using apache::thrift::to_string; + out << "UnlockRequest("; + out << "lockid=" << to_string(obj.lockid); + out << ")"; + return out; +} + + +ShowLocksRequest::~ShowLocksRequest() throw() { +} + + const char* ShowLocksRequest::ascii_fingerprint = "99914B932BD37A50B983C5E7C90AE93B"; const uint8_t ShowLocksRequest::binary_fingerprint[16] = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; @@ -8458,10 +11744,12 @@ uint32_t ShowLocksRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ShowLocksRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ShowLocksRequest"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -8471,34 +11759,102 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { (void) b; } -const char* ShowLocksResponseElement::ascii_fingerprint = "5AD11F0E0EF1EE0A7C08B00FEFCFF24F"; -const uint8_t ShowLocksResponseElement::binary_fingerprint[16] = {0x5A,0xD1,0x1F,0x0E,0x0E,0xF1,0xEE,0x0A,0x7C,0x08,0xB0,0x0F,0xEF,0xCF,0xF2,0x4F}; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other517) { + (void) other517; +} +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other518) { + (void) other518; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ShowLocksRequest& obj) { + using apache::thrift::to_string; + (void) obj; + out << "ShowLocksRequest("; + out << ")"; + return out; +} -uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* iprot) { - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; +ShowLocksResponseElement::~ShowLocksResponseElement() throw() { +} - xfer += iprot->readStructBegin(fname); - using ::apache::thrift::protocol::TProtocolException; +void ShowLocksResponseElement::__set_lockid(const int64_t val) { + this->lockid = val; +} - bool isset_lockid = false; - bool isset_dbname = false; - bool isset_state = false; - bool isset_type = false; - bool isset_lastheartbeat = false; - bool isset_user = false; - bool isset_hostname = false; +void ShowLocksResponseElement::__set_dbname(const std::string& val) { + this->dbname = val; +} - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } +void ShowLocksResponseElement::__set_tablename(const std::string& val) { + this->tablename = val; +__isset.tablename = true; +} + +void ShowLocksResponseElement::__set_partname(const std::string& val) { + this->partname = val; +__isset.partname = true; +} + +void ShowLocksResponseElement::__set_state(const LockState::type val) { + this->state = val; +} + +void ShowLocksResponseElement::__set_type(const LockType::type val) { + this->type = val; +} + +void ShowLocksResponseElement::__set_txnid(const int64_t val) { + this->txnid = val; +__isset.txnid = true; +} + +void ShowLocksResponseElement::__set_lastheartbeat(const int64_t val) { + this->lastheartbeat = val; +} + +void ShowLocksResponseElement::__set_acquiredat(const int64_t val) { + this->acquiredat = val; +__isset.acquiredat = true; +} + +void ShowLocksResponseElement::__set_user(const std::string& val) { + this->user = val; +} + +void ShowLocksResponseElement::__set_hostname(const std::string& val) { + this->hostname = val; +} + +const char* ShowLocksResponseElement::ascii_fingerprint = "5AD11F0E0EF1EE0A7C08B00FEFCFF24F"; +const uint8_t ShowLocksResponseElement::binary_fingerprint[16] = {0x5A,0xD1,0x1F,0x0E,0x0E,0xF1,0xEE,0x0A,0x7C,0x08,0xB0,0x0F,0xEF,0xCF,0xF2,0x4F}; + +uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_lockid = false; + bool isset_dbname = false; + bool isset_state = false; + bool isset_type = false; + bool isset_lastheartbeat = false; + bool isset_user = false; + bool isset_hostname = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } switch (fid) { case 1: @@ -8535,9 +11891,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast371; - xfer += iprot->readI32(ecast371); - this->state = (LockState::type)ecast371; + int32_t ecast519; + xfer += iprot->readI32(ecast519); + this->state = (LockState::type)ecast519; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -8545,9 +11901,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast372; - xfer += iprot->readI32(ecast372); - this->type = (LockType::type)ecast372; + int32_t ecast520; + xfer += iprot->readI32(ecast520); + this->type = (LockType::type)ecast520; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -8621,6 +11977,7 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i uint32_t ShowLocksResponseElement::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ShowLocksResponseElement"); xfer += oprot->writeFieldBegin("lockid", ::apache::thrift::protocol::T_I64, 1); @@ -8673,6 +12030,7 @@ uint32_t ShowLocksResponseElement::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -8692,6 +12050,62 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other521) { + lockid = other521.lockid; + dbname = other521.dbname; + tablename = other521.tablename; + partname = other521.partname; + state = other521.state; + type = other521.type; + txnid = other521.txnid; + lastheartbeat = other521.lastheartbeat; + acquiredat = other521.acquiredat; + user = other521.user; + hostname = other521.hostname; + __isset = other521.__isset; +} +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other522) { + lockid = other522.lockid; + dbname = other522.dbname; + tablename = other522.tablename; + partname = other522.partname; + state = other522.state; + type = other522.type; + txnid = other522.txnid; + lastheartbeat = other522.lastheartbeat; + acquiredat = other522.acquiredat; + user = other522.user; + hostname = other522.hostname; + __isset = other522.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ShowLocksResponseElement& obj) { + using apache::thrift::to_string; + out << "ShowLocksResponseElement("; + out << "lockid=" << to_string(obj.lockid); + out << ", " << "dbname=" << to_string(obj.dbname); + out << ", " << "tablename="; (obj.__isset.tablename ? (out << to_string(obj.tablename)) : (out << "")); + out << ", " << "partname="; (obj.__isset.partname ? (out << to_string(obj.partname)) : (out << "")); + out << ", " << "state=" << to_string(obj.state); + out << ", " << "type=" << to_string(obj.type); + out << ", " << "txnid="; (obj.__isset.txnid ? (out << to_string(obj.txnid)) : (out << "")); + out << ", " << "lastheartbeat=" << to_string(obj.lastheartbeat); + out << ", " << "acquiredat="; (obj.__isset.acquiredat ? (out << to_string(obj.acquiredat)) : (out << "")); + out << ", " << "user=" << to_string(obj.user); + out << ", " << "hostname=" << to_string(obj.hostname); + out << ")"; + return out; +} + + +ShowLocksResponse::~ShowLocksResponse() throw() { +} + + +void ShowLocksResponse::__set_locks(const std::vector & val) { + this->locks = val; +} + const char* ShowLocksResponse::ascii_fingerprint = "BD598AA60FE941361FB54C43973C011F"; const uint8_t ShowLocksResponse::binary_fingerprint[16] = {0xBD,0x59,0x8A,0xA6,0x0F,0xE9,0x41,0x36,0x1F,0xB5,0x4C,0x43,0x97,0x3C,0x01,0x1F}; @@ -8719,14 +12133,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size373; - ::apache::thrift::protocol::TType _etype376; - xfer += iprot->readListBegin(_etype376, _size373); - this->locks.resize(_size373); - uint32_t _i377; - for (_i377 = 0; _i377 < _size373; ++_i377) + uint32_t _size523; + ::apache::thrift::protocol::TType _etype526; + xfer += iprot->readListBegin(_etype526, _size523); + this->locks.resize(_size523); + uint32_t _i527; + for (_i527 = 0; _i527 < _size523; ++_i527) { - xfer += this->locks[_i377].read(iprot); + xfer += this->locks[_i527].read(iprot); } xfer += iprot->readListEnd(); } @@ -8749,15 +12163,16 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ShowLocksResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ShowLocksResponse"); xfer += oprot->writeFieldBegin("locks", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->locks.size())); - std::vector ::const_iterator _iter378; - for (_iter378 = this->locks.begin(); _iter378 != this->locks.end(); ++_iter378) + std::vector ::const_iterator _iter528; + for (_iter528 = this->locks.begin(); _iter528 != this->locks.end(); ++_iter528) { - xfer += (*_iter378).write(oprot); + xfer += (*_iter528).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8765,6 +12180,7 @@ uint32_t ShowLocksResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -8774,6 +12190,38 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other529) { + locks = other529.locks; + __isset = other529.__isset; +} +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other530) { + locks = other530.locks; + __isset = other530.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ShowLocksResponse& obj) { + using apache::thrift::to_string; + out << "ShowLocksResponse("; + out << "locks=" << to_string(obj.locks); + out << ")"; + return out; +} + + +HeartbeatRequest::~HeartbeatRequest() throw() { +} + + +void HeartbeatRequest::__set_lockid(const int64_t val) { + this->lockid = val; +__isset.lockid = true; +} + +void HeartbeatRequest::__set_txnid(const int64_t val) { + this->txnid = val; +__isset.txnid = true; +} + const char* HeartbeatRequest::ascii_fingerprint = "0354D07C94CB8542872CA1277008860A"; const uint8_t HeartbeatRequest::binary_fingerprint[16] = {0x03,0x54,0xD0,0x7C,0x94,0xCB,0x85,0x42,0x87,0x2C,0xA1,0x27,0x70,0x08,0x86,0x0A}; @@ -8827,6 +12275,7 @@ uint32_t HeartbeatRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t HeartbeatRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("HeartbeatRequest"); if (this->__isset.lockid) { @@ -8841,6 +12290,7 @@ uint32_t HeartbeatRequest::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -8851,6 +12301,39 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other531) { + lockid = other531.lockid; + txnid = other531.txnid; + __isset = other531.__isset; +} +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other532) { + lockid = other532.lockid; + txnid = other532.txnid; + __isset = other532.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const HeartbeatRequest& obj) { + using apache::thrift::to_string; + out << "HeartbeatRequest("; + out << "lockid="; (obj.__isset.lockid ? (out << to_string(obj.lockid)) : (out << "")); + out << ", " << "txnid="; (obj.__isset.txnid ? (out << to_string(obj.txnid)) : (out << "")); + out << ")"; + return out; +} + + +HeartbeatTxnRangeRequest::~HeartbeatTxnRangeRequest() throw() { +} + + +void HeartbeatTxnRangeRequest::__set_min(const int64_t val) { + this->min = val; +} + +void HeartbeatTxnRangeRequest::__set_max(const int64_t val) { + this->max = val; +} + const char* HeartbeatTxnRangeRequest::ascii_fingerprint = "F33135321253DAEB67B0E79E416CA831"; const uint8_t HeartbeatTxnRangeRequest::binary_fingerprint[16] = {0xF3,0x31,0x35,0x32,0x12,0x53,0xDA,0xEB,0x67,0xB0,0xE7,0x9E,0x41,0x6C,0xA8,0x31}; @@ -8910,6 +12393,7 @@ uint32_t HeartbeatTxnRangeRequest::read(::apache::thrift::protocol::TProtocol* i uint32_t HeartbeatTxnRangeRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("HeartbeatTxnRangeRequest"); xfer += oprot->writeFieldBegin("min", ::apache::thrift::protocol::T_I64, 1); @@ -8922,6 +12406,7 @@ uint32_t HeartbeatTxnRangeRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -8931,6 +12416,37 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other533) { + min = other533.min; + max = other533.max; +} +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other534) { + min = other534.min; + max = other534.max; + return *this; +} +std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeRequest& obj) { + using apache::thrift::to_string; + out << "HeartbeatTxnRangeRequest("; + out << "min=" << to_string(obj.min); + out << ", " << "max=" << to_string(obj.max); + out << ")"; + return out; +} + + +HeartbeatTxnRangeResponse::~HeartbeatTxnRangeResponse() throw() { +} + + +void HeartbeatTxnRangeResponse::__set_aborted(const std::set & val) { + this->aborted = val; +} + +void HeartbeatTxnRangeResponse::__set_nosuch(const std::set & val) { + this->nosuch = val; +} + const char* HeartbeatTxnRangeResponse::ascii_fingerprint = "33E49A70BD5C04262A0F407E3656E3CF"; const uint8_t HeartbeatTxnRangeResponse::binary_fingerprint[16] = {0x33,0xE4,0x9A,0x70,0xBD,0x5C,0x04,0x26,0x2A,0x0F,0x40,0x7E,0x36,0x56,0xE3,0xCF}; @@ -8960,15 +12476,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size379; - ::apache::thrift::protocol::TType _etype382; - xfer += iprot->readSetBegin(_etype382, _size379); - uint32_t _i383; - for (_i383 = 0; _i383 < _size379; ++_i383) + uint32_t _size535; + ::apache::thrift::protocol::TType _etype538; + xfer += iprot->readSetBegin(_etype538, _size535); + uint32_t _i539; + for (_i539 = 0; _i539 < _size535; ++_i539) { - int64_t _elem384; - xfer += iprot->readI64(_elem384); - this->aborted.insert(_elem384); + int64_t _elem540; + xfer += iprot->readI64(_elem540); + this->aborted.insert(_elem540); } xfer += iprot->readSetEnd(); } @@ -8981,15 +12497,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size385; - ::apache::thrift::protocol::TType _etype388; - xfer += iprot->readSetBegin(_etype388, _size385); - uint32_t _i389; - for (_i389 = 0; _i389 < _size385; ++_i389) + uint32_t _size541; + ::apache::thrift::protocol::TType _etype544; + xfer += iprot->readSetBegin(_etype544, _size541); + uint32_t _i545; + for (_i545 = 0; _i545 < _size541; ++_i545) { - int64_t _elem390; - xfer += iprot->readI64(_elem390); - this->nosuch.insert(_elem390); + int64_t _elem546; + xfer += iprot->readI64(_elem546); + this->nosuch.insert(_elem546); } xfer += iprot->readSetEnd(); } @@ -9016,15 +12532,16 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("HeartbeatTxnRangeResponse"); xfer += oprot->writeFieldBegin("aborted", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->aborted.size())); - std::set ::const_iterator _iter391; - for (_iter391 = this->aborted.begin(); _iter391 != this->aborted.end(); ++_iter391) + std::set ::const_iterator _iter547; + for (_iter547 = this->aborted.begin(); _iter547 != this->aborted.end(); ++_iter547) { - xfer += oprot->writeI64((*_iter391)); + xfer += oprot->writeI64((*_iter547)); } xfer += oprot->writeSetEnd(); } @@ -9033,10 +12550,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("nosuch", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->nosuch.size())); - std::set ::const_iterator _iter392; - for (_iter392 = this->nosuch.begin(); _iter392 != this->nosuch.end(); ++_iter392) + std::set ::const_iterator _iter548; + for (_iter548 = this->nosuch.begin(); _iter548 != this->nosuch.end(); ++_iter548) { - xfer += oprot->writeI64((*_iter392)); + xfer += oprot->writeI64((*_iter548)); } xfer += oprot->writeSetEnd(); } @@ -9044,6 +12561,7 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -9053,6 +12571,51 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other549) { + aborted = other549.aborted; + nosuch = other549.nosuch; +} +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other550) { + aborted = other550.aborted; + nosuch = other550.nosuch; + return *this; +} +std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeResponse& obj) { + using apache::thrift::to_string; + out << "HeartbeatTxnRangeResponse("; + out << "aborted=" << to_string(obj.aborted); + out << ", " << "nosuch=" << to_string(obj.nosuch); + out << ")"; + return out; +} + + +CompactionRequest::~CompactionRequest() throw() { +} + + +void CompactionRequest::__set_dbname(const std::string& val) { + this->dbname = val; +} + +void CompactionRequest::__set_tablename(const std::string& val) { + this->tablename = val; +} + +void CompactionRequest::__set_partitionname(const std::string& val) { + this->partitionname = val; +__isset.partitionname = true; +} + +void CompactionRequest::__set_type(const CompactionType::type val) { + this->type = val; +} + +void CompactionRequest::__set_runas(const std::string& val) { + this->runas = val; +__isset.runas = true; +} + const char* CompactionRequest::ascii_fingerprint = "899FD1F339D8318D628687CC2CE2864B"; const uint8_t CompactionRequest::binary_fingerprint[16] = {0x89,0x9F,0xD1,0xF3,0x39,0xD8,0x31,0x8D,0x62,0x86,0x87,0xCC,0x2C,0xE2,0x86,0x4B}; @@ -9105,9 +12668,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast393; - xfer += iprot->readI32(ecast393); - this->type = (CompactionType::type)ecast393; + int32_t ecast551; + xfer += iprot->readI32(ecast551); + this->type = (CompactionType::type)ecast551; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -9141,6 +12704,7 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t CompactionRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("CompactionRequest"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -9167,6 +12731,7 @@ uint32_t CompactionRequest::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -9180,6 +12745,40 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } +CompactionRequest::CompactionRequest(const CompactionRequest& other552) { + dbname = other552.dbname; + tablename = other552.tablename; + partitionname = other552.partitionname; + type = other552.type; + runas = other552.runas; + __isset = other552.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other553) { + dbname = other553.dbname; + tablename = other553.tablename; + partitionname = other553.partitionname; + type = other553.type; + runas = other553.runas; + __isset = other553.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const CompactionRequest& obj) { + using apache::thrift::to_string; + out << "CompactionRequest("; + out << "dbname=" << to_string(obj.dbname); + out << ", " << "tablename=" << to_string(obj.tablename); + out << ", " << "partitionname="; (obj.__isset.partitionname ? (out << to_string(obj.partitionname)) : (out << "")); + out << ", " << "type=" << to_string(obj.type); + out << ", " << "runas="; (obj.__isset.runas ? (out << to_string(obj.runas)) : (out << "")); + out << ")"; + return out; +} + + +ShowCompactRequest::~ShowCompactRequest() throw() { +} + + const char* ShowCompactRequest::ascii_fingerprint = "99914B932BD37A50B983C5E7C90AE93B"; const uint8_t ShowCompactRequest::binary_fingerprint[16] = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; @@ -9212,10 +12811,12 @@ uint32_t ShowCompactRequest::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t ShowCompactRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ShowCompactRequest"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -9225,6 +12826,62 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other554) { + (void) other554; +} +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other555) { + (void) other555; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ShowCompactRequest& obj) { + using apache::thrift::to_string; + (void) obj; + out << "ShowCompactRequest("; + out << ")"; + return out; +} + + +ShowCompactResponseElement::~ShowCompactResponseElement() throw() { +} + + +void ShowCompactResponseElement::__set_dbname(const std::string& val) { + this->dbname = val; +} + +void ShowCompactResponseElement::__set_tablename(const std::string& val) { + this->tablename = val; +} + +void ShowCompactResponseElement::__set_partitionname(const std::string& val) { + this->partitionname = val; +__isset.partitionname = true; +} + +void ShowCompactResponseElement::__set_type(const CompactionType::type val) { + this->type = val; +} + +void ShowCompactResponseElement::__set_state(const std::string& val) { + this->state = val; +} + +void ShowCompactResponseElement::__set_workerid(const std::string& val) { + this->workerid = val; +__isset.workerid = true; +} + +void ShowCompactResponseElement::__set_start(const int64_t val) { + this->start = val; +__isset.start = true; +} + +void ShowCompactResponseElement::__set_runAs(const std::string& val) { + this->runAs = val; +__isset.runAs = true; +} + const char* ShowCompactResponseElement::ascii_fingerprint = "2F338C265DC4FD82DD13F4966FE43F13"; const uint8_t ShowCompactResponseElement::binary_fingerprint[16] = {0x2F,0x33,0x8C,0x26,0x5D,0xC4,0xFD,0x82,0xDD,0x13,0xF4,0x96,0x6F,0xE4,0x3F,0x13}; @@ -9278,9 +12935,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast394; - xfer += iprot->readI32(ecast394); - this->type = (CompactionType::type)ecast394; + int32_t ecast556; + xfer += iprot->readI32(ecast556); + this->type = (CompactionType::type)ecast556; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -9340,6 +12997,7 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* uint32_t ShowCompactResponseElement::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ShowCompactResponseElement"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -9380,6 +13038,7 @@ uint32_t ShowCompactResponseElement::write(::apache::thrift::protocol::TProtocol } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -9396,6 +13055,53 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other557) { + dbname = other557.dbname; + tablename = other557.tablename; + partitionname = other557.partitionname; + type = other557.type; + state = other557.state; + workerid = other557.workerid; + start = other557.start; + runAs = other557.runAs; + __isset = other557.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other558) { + dbname = other558.dbname; + tablename = other558.tablename; + partitionname = other558.partitionname; + type = other558.type; + state = other558.state; + workerid = other558.workerid; + start = other558.start; + runAs = other558.runAs; + __isset = other558.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ShowCompactResponseElement& obj) { + using apache::thrift::to_string; + out << "ShowCompactResponseElement("; + out << "dbname=" << to_string(obj.dbname); + out << ", " << "tablename=" << to_string(obj.tablename); + out << ", " << "partitionname="; (obj.__isset.partitionname ? (out << to_string(obj.partitionname)) : (out << "")); + out << ", " << "type=" << to_string(obj.type); + out << ", " << "state=" << to_string(obj.state); + out << ", " << "workerid="; (obj.__isset.workerid ? (out << to_string(obj.workerid)) : (out << "")); + out << ", " << "start="; (obj.__isset.start ? (out << to_string(obj.start)) : (out << "")); + out << ", " << "runAs="; (obj.__isset.runAs ? (out << to_string(obj.runAs)) : (out << "")); + out << ")"; + return out; +} + + +ShowCompactResponse::~ShowCompactResponse() throw() { +} + + +void ShowCompactResponse::__set_compacts(const std::vector & val) { + this->compacts = val; +} + const char* ShowCompactResponse::ascii_fingerprint = "915B7B8DB8966D65769C0F98707BBAE3"; const uint8_t ShowCompactResponse::binary_fingerprint[16] = {0x91,0x5B,0x7B,0x8D,0xB8,0x96,0x6D,0x65,0x76,0x9C,0x0F,0x98,0x70,0x7B,0xBA,0xE3}; @@ -9424,14 +13130,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size395; - ::apache::thrift::protocol::TType _etype398; - xfer += iprot->readListBegin(_etype398, _size395); - this->compacts.resize(_size395); - uint32_t _i399; - for (_i399 = 0; _i399 < _size395; ++_i399) + uint32_t _size559; + ::apache::thrift::protocol::TType _etype562; + xfer += iprot->readListBegin(_etype562, _size559); + this->compacts.resize(_size559); + uint32_t _i563; + for (_i563 = 0; _i563 < _size559; ++_i563) { - xfer += this->compacts[_i399].read(iprot); + xfer += this->compacts[_i563].read(iprot); } xfer += iprot->readListEnd(); } @@ -9456,15 +13162,16 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t ShowCompactResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ShowCompactResponse"); xfer += oprot->writeFieldBegin("compacts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->compacts.size())); - std::vector ::const_iterator _iter400; - for (_iter400 = this->compacts.begin(); _iter400 != this->compacts.end(); ++_iter400) + std::vector ::const_iterator _iter564; + for (_iter564 = this->compacts.begin(); _iter564 != this->compacts.end(); ++_iter564) { - xfer += (*_iter400).write(oprot); + xfer += (*_iter564).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9472,6 +13179,7 @@ uint32_t ShowCompactResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -9480,6 +13188,42 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other565) { + compacts = other565.compacts; +} +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other566) { + compacts = other566.compacts; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ShowCompactResponse& obj) { + using apache::thrift::to_string; + out << "ShowCompactResponse("; + out << "compacts=" << to_string(obj.compacts); + out << ")"; + return out; +} + + +AddDynamicPartitions::~AddDynamicPartitions() throw() { +} + + +void AddDynamicPartitions::__set_txnid(const int64_t val) { + this->txnid = val; +} + +void AddDynamicPartitions::__set_dbname(const std::string& val) { + this->dbname = val; +} + +void AddDynamicPartitions::__set_tablename(const std::string& val) { + this->tablename = val; +} + +void AddDynamicPartitions::__set_partitionnames(const std::vector & val) { + this->partitionnames = val; +} + const char* AddDynamicPartitions::ascii_fingerprint = "A53A2B050DCCFE6A2158480A24E33898"; const uint8_t AddDynamicPartitions::binary_fingerprint[16] = {0xA5,0x3A,0x2B,0x05,0x0D,0xCC,0xFE,0x6A,0x21,0x58,0x48,0x0A,0x24,0xE3,0x38,0x98}; @@ -9535,14 +13279,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size401; - ::apache::thrift::protocol::TType _etype404; - xfer += iprot->readListBegin(_etype404, _size401); - this->partitionnames.resize(_size401); - uint32_t _i405; - for (_i405 = 0; _i405 < _size401; ++_i405) + uint32_t _size567; + ::apache::thrift::protocol::TType _etype570; + xfer += iprot->readListBegin(_etype570, _size567); + this->partitionnames.resize(_size567); + uint32_t _i571; + for (_i571 = 0; _i571 < _size567; ++_i571) { - xfer += iprot->readString(this->partitionnames[_i405]); + xfer += iprot->readString(this->partitionnames[_i571]); } xfer += iprot->readListEnd(); } @@ -9573,6 +13317,7 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("AddDynamicPartitions"); xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 1); @@ -9590,10 +13335,10 @@ uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitionnames", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionnames.size())); - std::vector ::const_iterator _iter406; - for (_iter406 = this->partitionnames.begin(); _iter406 != this->partitionnames.end(); ++_iter406) + std::vector ::const_iterator _iter572; + for (_iter572 = this->partitionnames.begin(); _iter572 != this->partitionnames.end(); ++_iter572) { - xfer += oprot->writeString((*_iter406)); + xfer += oprot->writeString((*_iter572)); } xfer += oprot->writeListEnd(); } @@ -9601,6 +13346,7 @@ uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -9612,6 +13358,44 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.partitionnames, b.partitionnames); } +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other573) { + txnid = other573.txnid; + dbname = other573.dbname; + tablename = other573.tablename; + partitionnames = other573.partitionnames; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other574) { + txnid = other574.txnid; + dbname = other574.dbname; + tablename = other574.tablename; + partitionnames = other574.partitionnames; + return *this; +} +std::ostream& operator<<(std::ostream& out, const AddDynamicPartitions& obj) { + using apache::thrift::to_string; + out << "AddDynamicPartitions("; + out << "txnid=" << to_string(obj.txnid); + out << ", " << "dbname=" << to_string(obj.dbname); + out << ", " << "tablename=" << to_string(obj.tablename); + out << ", " << "partitionnames=" << to_string(obj.partitionnames); + out << ")"; + return out; +} + + +NotificationEventRequest::~NotificationEventRequest() throw() { +} + + +void NotificationEventRequest::__set_lastEvent(const int64_t val) { + this->lastEvent = val; +} + +void NotificationEventRequest::__set_maxEvents(const int32_t val) { + this->maxEvents = val; +__isset.maxEvents = true; +} + const char* NotificationEventRequest::ascii_fingerprint = "6E578DA8AB10EED824A75534350EBAEF"; const uint8_t NotificationEventRequest::binary_fingerprint[16] = {0x6E,0x57,0x8D,0xA8,0xAB,0x10,0xEE,0xD8,0x24,0xA7,0x55,0x34,0x35,0x0E,0xBA,0xEF}; @@ -9668,6 +13452,7 @@ uint32_t NotificationEventRequest::read(::apache::thrift::protocol::TProtocol* i uint32_t NotificationEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("NotificationEventRequest"); xfer += oprot->writeFieldBegin("lastEvent", ::apache::thrift::protocol::T_I64, 1); @@ -9681,6 +13466,7 @@ uint32_t NotificationEventRequest::write(::apache::thrift::protocol::TProtocol* } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -9691,6 +13477,57 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other575) { + lastEvent = other575.lastEvent; + maxEvents = other575.maxEvents; + __isset = other575.__isset; +} +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other576) { + lastEvent = other576.lastEvent; + maxEvents = other576.maxEvents; + __isset = other576.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const NotificationEventRequest& obj) { + using apache::thrift::to_string; + out << "NotificationEventRequest("; + out << "lastEvent=" << to_string(obj.lastEvent); + out << ", " << "maxEvents="; (obj.__isset.maxEvents ? (out << to_string(obj.maxEvents)) : (out << "")); + out << ")"; + return out; +} + + +NotificationEvent::~NotificationEvent() throw() { +} + + +void NotificationEvent::__set_eventId(const int64_t val) { + this->eventId = val; +} + +void NotificationEvent::__set_eventTime(const int32_t val) { + this->eventTime = val; +} + +void NotificationEvent::__set_eventType(const std::string& val) { + this->eventType = val; +} + +void NotificationEvent::__set_dbName(const std::string& val) { + this->dbName = val; +__isset.dbName = true; +} + +void NotificationEvent::__set_tableName(const std::string& val) { + this->tableName = val; +__isset.tableName = true; +} + +void NotificationEvent::__set_message(const std::string& val) { + this->message = val; +} + const char* NotificationEvent::ascii_fingerprint = "ACAF0036D9999F3A389F490F5E22D369"; const uint8_t NotificationEvent::binary_fingerprint[16] = {0xAC,0xAF,0x00,0x36,0xD9,0x99,0x9F,0x3A,0x38,0x9F,0x49,0x0F,0x5E,0x22,0xD3,0x69}; @@ -9788,6 +13625,7 @@ uint32_t NotificationEvent::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t NotificationEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("NotificationEvent"); xfer += oprot->writeFieldBegin("eventId", ::apache::thrift::protocol::T_I64, 1); @@ -9818,6 +13656,7 @@ uint32_t NotificationEvent::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -9832,6 +13671,47 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } +NotificationEvent::NotificationEvent(const NotificationEvent& other577) { + eventId = other577.eventId; + eventTime = other577.eventTime; + eventType = other577.eventType; + dbName = other577.dbName; + tableName = other577.tableName; + message = other577.message; + __isset = other577.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other578) { + eventId = other578.eventId; + eventTime = other578.eventTime; + eventType = other578.eventType; + dbName = other578.dbName; + tableName = other578.tableName; + message = other578.message; + __isset = other578.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const NotificationEvent& obj) { + using apache::thrift::to_string; + out << "NotificationEvent("; + out << "eventId=" << to_string(obj.eventId); + out << ", " << "eventTime=" << to_string(obj.eventTime); + out << ", " << "eventType=" << to_string(obj.eventType); + out << ", " << "dbName="; (obj.__isset.dbName ? (out << to_string(obj.dbName)) : (out << "")); + out << ", " << "tableName="; (obj.__isset.tableName ? (out << to_string(obj.tableName)) : (out << "")); + out << ", " << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +NotificationEventResponse::~NotificationEventResponse() throw() { +} + + +void NotificationEventResponse::__set_events(const std::vector & val) { + this->events = val; +} + const char* NotificationEventResponse::ascii_fingerprint = "EE3DB23399639114BCD1782A0FB01818"; const uint8_t NotificationEventResponse::binary_fingerprint[16] = {0xEE,0x3D,0xB2,0x33,0x99,0x63,0x91,0x14,0xBC,0xD1,0x78,0x2A,0x0F,0xB0,0x18,0x18}; @@ -9860,14 +13740,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size407; - ::apache::thrift::protocol::TType _etype410; - xfer += iprot->readListBegin(_etype410, _size407); - this->events.resize(_size407); - uint32_t _i411; - for (_i411 = 0; _i411 < _size407; ++_i411) + uint32_t _size579; + ::apache::thrift::protocol::TType _etype582; + xfer += iprot->readListBegin(_etype582, _size579); + this->events.resize(_size579); + uint32_t _i583; + for (_i583 = 0; _i583 < _size579; ++_i583) { - xfer += this->events[_i411].read(iprot); + xfer += this->events[_i583].read(iprot); } xfer += iprot->readListEnd(); } @@ -9892,15 +13772,16 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("NotificationEventResponse"); xfer += oprot->writeFieldBegin("events", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->events.size())); - std::vector ::const_iterator _iter412; - for (_iter412 = this->events.begin(); _iter412 != this->events.end(); ++_iter412) + std::vector ::const_iterator _iter584; + for (_iter584 = this->events.begin(); _iter584 != this->events.end(); ++_iter584) { - xfer += (*_iter412).write(oprot); + xfer += (*_iter584).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9908,6 +13789,7 @@ uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -9916,6 +13798,30 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other585) { + events = other585.events; +} +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other586) { + events = other586.events; + return *this; +} +std::ostream& operator<<(std::ostream& out, const NotificationEventResponse& obj) { + using apache::thrift::to_string; + out << "NotificationEventResponse("; + out << "events=" << to_string(obj.events); + out << ")"; + return out; +} + + +CurrentNotificationEventId::~CurrentNotificationEventId() throw() { +} + + +void CurrentNotificationEventId::__set_eventId(const int64_t val) { + this->eventId = val; +} + const char* CurrentNotificationEventId::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; const uint8_t CurrentNotificationEventId::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; @@ -9964,6 +13870,7 @@ uint32_t CurrentNotificationEventId::read(::apache::thrift::protocol::TProtocol* uint32_t CurrentNotificationEventId::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("CurrentNotificationEventId"); xfer += oprot->writeFieldBegin("eventId", ::apache::thrift::protocol::T_I64, 1); @@ -9972,6 +13879,7 @@ uint32_t CurrentNotificationEventId::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -9980,6 +13888,30 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other587) { + eventId = other587.eventId; +} +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other588) { + eventId = other588.eventId; + return *this; +} +std::ostream& operator<<(std::ostream& out, const CurrentNotificationEventId& obj) { + using apache::thrift::to_string; + out << "CurrentNotificationEventId("; + out << "eventId=" << to_string(obj.eventId); + out << ")"; + return out; +} + + +InsertEventRequestData::~InsertEventRequestData() throw() { +} + + +void InsertEventRequestData::__set_filesAdded(const std::vector & val) { + this->filesAdded = val; +} + const char* InsertEventRequestData::ascii_fingerprint = "ACE4F644F0FDD289DDC4EE5B83BC13C0"; const uint8_t InsertEventRequestData::binary_fingerprint[16] = {0xAC,0xE4,0xF6,0x44,0xF0,0xFD,0xD2,0x89,0xDD,0xC4,0xEE,0x5B,0x83,0xBC,0x13,0xC0}; @@ -10008,14 +13940,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size413; - ::apache::thrift::protocol::TType _etype416; - xfer += iprot->readListBegin(_etype416, _size413); - this->filesAdded.resize(_size413); - uint32_t _i417; - for (_i417 = 0; _i417 < _size413; ++_i417) + uint32_t _size589; + ::apache::thrift::protocol::TType _etype592; + xfer += iprot->readListBegin(_etype592, _size589); + this->filesAdded.resize(_size589); + uint32_t _i593; + for (_i593 = 0; _i593 < _size589; ++_i593) { - xfer += iprot->readString(this->filesAdded[_i417]); + xfer += iprot->readString(this->filesAdded[_i593]); } xfer += iprot->readListEnd(); } @@ -10040,15 +13972,16 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("InsertEventRequestData"); xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAdded.size())); - std::vector ::const_iterator _iter418; - for (_iter418 = this->filesAdded.begin(); _iter418 != this->filesAdded.end(); ++_iter418) + std::vector ::const_iterator _iter594; + for (_iter594 = this->filesAdded.begin(); _iter594 != this->filesAdded.end(); ++_iter594) { - xfer += oprot->writeString((*_iter418)); + xfer += oprot->writeString((*_iter594)); } xfer += oprot->writeListEnd(); } @@ -10056,6 +13989,7 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10064,6 +13998,30 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.filesAdded, b.filesAdded); } +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other595) { + filesAdded = other595.filesAdded; +} +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other596) { + filesAdded = other596.filesAdded; + return *this; +} +std::ostream& operator<<(std::ostream& out, const InsertEventRequestData& obj) { + using apache::thrift::to_string; + out << "InsertEventRequestData("; + out << "filesAdded=" << to_string(obj.filesAdded); + out << ")"; + return out; +} + + +FireEventRequestData::~FireEventRequestData() throw() { +} + + +void FireEventRequestData::__set_insertData(const InsertEventRequestData& val) { + this->insertData = val; +} + const char* FireEventRequestData::ascii_fingerprint = "187E754B26707EE32451E6A27FB672CE"; const uint8_t FireEventRequestData::binary_fingerprint[16] = {0x18,0x7E,0x75,0x4B,0x26,0x70,0x7E,0xE3,0x24,0x51,0xE6,0xA2,0x7F,0xB6,0x72,0xCE}; @@ -10109,6 +14067,7 @@ uint32_t FireEventRequestData::read(::apache::thrift::protocol::TProtocol* iprot uint32_t FireEventRequestData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("FireEventRequestData"); xfer += oprot->writeFieldBegin("insertData", ::apache::thrift::protocol::T_STRUCT, 1); @@ -10117,6 +14076,7 @@ uint32_t FireEventRequestData::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10126,6 +14086,51 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other597) { + insertData = other597.insertData; + __isset = other597.__isset; +} +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other598) { + insertData = other598.insertData; + __isset = other598.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const FireEventRequestData& obj) { + using apache::thrift::to_string; + out << "FireEventRequestData("; + out << "insertData=" << to_string(obj.insertData); + out << ")"; + return out; +} + + +FireEventRequest::~FireEventRequest() throw() { +} + + +void FireEventRequest::__set_successful(const bool val) { + this->successful = val; +} + +void FireEventRequest::__set_data(const FireEventRequestData& val) { + this->data = val; +} + +void FireEventRequest::__set_dbName(const std::string& val) { + this->dbName = val; +__isset.dbName = true; +} + +void FireEventRequest::__set_tableName(const std::string& val) { + this->tableName = val; +__isset.tableName = true; +} + +void FireEventRequest::__set_partitionVals(const std::vector & val) { + this->partitionVals = val; +__isset.partitionVals = true; +} + const char* FireEventRequest::ascii_fingerprint = "1BA3A7F00159254072C3979B1429B50B"; const uint8_t FireEventRequest::binary_fingerprint[16] = {0x1B,0xA3,0xA7,0xF0,0x01,0x59,0x25,0x40,0x72,0xC3,0x97,0x9B,0x14,0x29,0xB5,0x0B}; @@ -10187,14 +14192,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size419; - ::apache::thrift::protocol::TType _etype422; - xfer += iprot->readListBegin(_etype422, _size419); - this->partitionVals.resize(_size419); - uint32_t _i423; - for (_i423 = 0; _i423 < _size419; ++_i423) + uint32_t _size599; + ::apache::thrift::protocol::TType _etype602; + xfer += iprot->readListBegin(_etype602, _size599); + this->partitionVals.resize(_size599); + uint32_t _i603; + for (_i603 = 0; _i603 < _size599; ++_i603) { - xfer += iprot->readString(this->partitionVals[_i423]); + xfer += iprot->readString(this->partitionVals[_i603]); } xfer += iprot->readListEnd(); } @@ -10221,6 +14226,7 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("FireEventRequest"); xfer += oprot->writeFieldBegin("successful", ::apache::thrift::protocol::T_BOOL, 1); @@ -10245,10 +14251,10 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVals.size())); - std::vector ::const_iterator _iter424; - for (_iter424 = this->partitionVals.begin(); _iter424 != this->partitionVals.end(); ++_iter424) + std::vector ::const_iterator _iter604; + for (_iter604 = this->partitionVals.begin(); _iter604 != this->partitionVals.end(); ++_iter604) { - xfer += oprot->writeString((*_iter424)); + xfer += oprot->writeString((*_iter604)); } xfer += oprot->writeListEnd(); } @@ -10256,6 +14262,7 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10269,6 +14276,40 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } +FireEventRequest::FireEventRequest(const FireEventRequest& other605) { + successful = other605.successful; + data = other605.data; + dbName = other605.dbName; + tableName = other605.tableName; + partitionVals = other605.partitionVals; + __isset = other605.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other606) { + successful = other606.successful; + data = other606.data; + dbName = other606.dbName; + tableName = other606.tableName; + partitionVals = other606.partitionVals; + __isset = other606.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const FireEventRequest& obj) { + using apache::thrift::to_string; + out << "FireEventRequest("; + out << "successful=" << to_string(obj.successful); + out << ", " << "data=" << to_string(obj.data); + out << ", " << "dbName="; (obj.__isset.dbName ? (out << to_string(obj.dbName)) : (out << "")); + out << ", " << "tableName="; (obj.__isset.tableName ? (out << to_string(obj.tableName)) : (out << "")); + out << ", " << "partitionVals="; (obj.__isset.partitionVals ? (out << to_string(obj.partitionVals)) : (out << "")); + out << ")"; + return out; +} + + +FireEventResponse::~FireEventResponse() throw() { +} + + const char* FireEventResponse::ascii_fingerprint = "99914B932BD37A50B983C5E7C90AE93B"; const uint8_t FireEventResponse::binary_fingerprint[16] = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; @@ -10301,10 +14342,12 @@ uint32_t FireEventResponse::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t FireEventResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("FireEventResponse"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10314,6 +14357,142 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } +FireEventResponse::FireEventResponse(const FireEventResponse& other607) { + (void) other607; +} +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other608) { + (void) other608; + return *this; +} +std::ostream& operator<<(std::ostream& out, const FireEventResponse& obj) { + using apache::thrift::to_string; + (void) obj; + out << "FireEventResponse("; + out << ")"; + return out; +} + + +GetAllFunctionsResponse::~GetAllFunctionsResponse() throw() { +} + + +void GetAllFunctionsResponse::__set_functions(const std::vector & val) { + this->functions = val; +__isset.functions = true; +} + +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 _size609; + ::apache::thrift::protocol::TType _etype612; + xfer += iprot->readListBegin(_etype612, _size609); + this->functions.resize(_size609); + uint32_t _i613; + for (_i613 = 0; _i613 < _size609; ++_i613) + { + xfer += this->functions[_i613].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; + oprot->incrementRecursionDepth(); + 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 _iter614; + for (_iter614 = this->functions.begin(); _iter614 != this->functions.end(); ++_iter614) + { + xfer += (*_iter614).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); + return xfer; +} + +void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { + using ::std::swap; + swap(a.functions, b.functions); + swap(a.__isset, b.__isset); +} + +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other615) { + functions = other615.functions; + __isset = other615.__isset; +} +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other616) { + functions = other616.functions; + __isset = other616.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const GetAllFunctionsResponse& obj) { + using apache::thrift::to_string; + out << "GetAllFunctionsResponse("; + out << "functions="; (obj.__isset.functions ? (out << to_string(obj.functions)) : (out << "")); + out << ")"; + return out; +} + + +MetaException::~MetaException() throw() { +} + + +void MetaException::__set_message(const std::string& val) { + this->message = val; +} + 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}; @@ -10359,6 +14538,7 @@ uint32_t MetaException::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t MetaException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("MetaException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -10367,6 +14547,7 @@ uint32_t MetaException::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10376,6 +14557,32 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } +MetaException::MetaException(const MetaException& other617) : TException() { + message = other617.message; + __isset = other617.__isset; +} +MetaException& MetaException::operator=(const MetaException& other618) { + message = other618.message; + __isset = other618.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const MetaException& obj) { + using apache::thrift::to_string; + out << "MetaException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +UnknownTableException::~UnknownTableException() throw() { +} + + +void UnknownTableException::__set_message(const std::string& val) { + this->message = val; +} + const char* UnknownTableException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t UnknownTableException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -10421,6 +14628,7 @@ uint32_t UnknownTableException::read(::apache::thrift::protocol::TProtocol* ipro uint32_t UnknownTableException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("UnknownTableException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -10429,6 +14637,7 @@ uint32_t UnknownTableException::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10438,6 +14647,32 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } +UnknownTableException::UnknownTableException(const UnknownTableException& other619) : TException() { + message = other619.message; + __isset = other619.__isset; +} +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other620) { + message = other620.message; + __isset = other620.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const UnknownTableException& obj) { + using apache::thrift::to_string; + out << "UnknownTableException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +UnknownDBException::~UnknownDBException() throw() { +} + + +void UnknownDBException::__set_message(const std::string& val) { + this->message = val; +} + const char* UnknownDBException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t UnknownDBException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -10483,6 +14718,7 @@ uint32_t UnknownDBException::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t UnknownDBException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("UnknownDBException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -10491,6 +14727,7 @@ uint32_t UnknownDBException::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10500,6 +14737,32 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } +UnknownDBException::UnknownDBException(const UnknownDBException& other621) : TException() { + message = other621.message; + __isset = other621.__isset; +} +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other622) { + message = other622.message; + __isset = other622.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const UnknownDBException& obj) { + using apache::thrift::to_string; + out << "UnknownDBException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +AlreadyExistsException::~AlreadyExistsException() throw() { +} + + +void AlreadyExistsException::__set_message(const std::string& val) { + this->message = val; +} + const char* AlreadyExistsException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t AlreadyExistsException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -10545,6 +14808,7 @@ uint32_t AlreadyExistsException::read(::apache::thrift::protocol::TProtocol* ipr uint32_t AlreadyExistsException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("AlreadyExistsException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -10553,6 +14817,7 @@ uint32_t AlreadyExistsException::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10562,6 +14827,32 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other623) : TException() { + message = other623.message; + __isset = other623.__isset; +} +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other624) { + message = other624.message; + __isset = other624.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const AlreadyExistsException& obj) { + using apache::thrift::to_string; + out << "AlreadyExistsException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +InvalidPartitionException::~InvalidPartitionException() throw() { +} + + +void InvalidPartitionException::__set_message(const std::string& val) { + this->message = val; +} + const char* InvalidPartitionException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t InvalidPartitionException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -10607,6 +14898,7 @@ uint32_t InvalidPartitionException::read(::apache::thrift::protocol::TProtocol* uint32_t InvalidPartitionException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("InvalidPartitionException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -10615,6 +14907,7 @@ uint32_t InvalidPartitionException::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10624,6 +14917,32 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other625) : TException() { + message = other625.message; + __isset = other625.__isset; +} +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other626) { + message = other626.message; + __isset = other626.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const InvalidPartitionException& obj) { + using apache::thrift::to_string; + out << "InvalidPartitionException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +UnknownPartitionException::~UnknownPartitionException() throw() { +} + + +void UnknownPartitionException::__set_message(const std::string& val) { + this->message = val; +} + const char* UnknownPartitionException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t UnknownPartitionException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -10669,6 +14988,7 @@ uint32_t UnknownPartitionException::read(::apache::thrift::protocol::TProtocol* uint32_t UnknownPartitionException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("UnknownPartitionException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -10677,6 +14997,7 @@ uint32_t UnknownPartitionException::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10686,6 +15007,32 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other627) : TException() { + message = other627.message; + __isset = other627.__isset; +} +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other628) { + message = other628.message; + __isset = other628.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const UnknownPartitionException& obj) { + using apache::thrift::to_string; + out << "UnknownPartitionException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +InvalidObjectException::~InvalidObjectException() throw() { +} + + +void InvalidObjectException::__set_message(const std::string& val) { + this->message = val; +} + const char* InvalidObjectException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t InvalidObjectException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -10731,6 +15078,7 @@ uint32_t InvalidObjectException::read(::apache::thrift::protocol::TProtocol* ipr uint32_t InvalidObjectException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("InvalidObjectException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -10739,6 +15087,7 @@ uint32_t InvalidObjectException::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10748,6 +15097,32 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other629) : TException() { + message = other629.message; + __isset = other629.__isset; +} +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other630) { + message = other630.message; + __isset = other630.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const InvalidObjectException& obj) { + using apache::thrift::to_string; + out << "InvalidObjectException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +NoSuchObjectException::~NoSuchObjectException() throw() { +} + + +void NoSuchObjectException::__set_message(const std::string& val) { + this->message = val; +} + const char* NoSuchObjectException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t NoSuchObjectException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -10793,6 +15168,7 @@ uint32_t NoSuchObjectException::read(::apache::thrift::protocol::TProtocol* ipro uint32_t NoSuchObjectException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("NoSuchObjectException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -10801,6 +15177,7 @@ uint32_t NoSuchObjectException::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10810,6 +15187,32 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other631) : TException() { + message = other631.message; + __isset = other631.__isset; +} +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other632) { + message = other632.message; + __isset = other632.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const NoSuchObjectException& obj) { + using apache::thrift::to_string; + out << "NoSuchObjectException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +IndexAlreadyExistsException::~IndexAlreadyExistsException() throw() { +} + + +void IndexAlreadyExistsException::__set_message(const std::string& val) { + this->message = val; +} + const char* IndexAlreadyExistsException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t IndexAlreadyExistsException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -10855,6 +15258,7 @@ uint32_t IndexAlreadyExistsException::read(::apache::thrift::protocol::TProtocol uint32_t IndexAlreadyExistsException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("IndexAlreadyExistsException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -10863,6 +15267,7 @@ uint32_t IndexAlreadyExistsException::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10872,6 +15277,32 @@ void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b) { swap(a.__isset, b.__isset); } +IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other633) : TException() { + message = other633.message; + __isset = other633.__isset; +} +IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other634) { + message = other634.message; + __isset = other634.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const IndexAlreadyExistsException& obj) { + using apache::thrift::to_string; + out << "IndexAlreadyExistsException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +InvalidOperationException::~InvalidOperationException() throw() { +} + + +void InvalidOperationException::__set_message(const std::string& val) { + this->message = val; +} + const char* InvalidOperationException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t InvalidOperationException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -10917,6 +15348,7 @@ uint32_t InvalidOperationException::read(::apache::thrift::protocol::TProtocol* uint32_t InvalidOperationException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("InvalidOperationException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -10925,6 +15357,7 @@ uint32_t InvalidOperationException::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10934,6 +15367,32 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other635) : TException() { + message = other635.message; + __isset = other635.__isset; +} +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other636) { + message = other636.message; + __isset = other636.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const InvalidOperationException& obj) { + using apache::thrift::to_string; + out << "InvalidOperationException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +ConfigValSecurityException::~ConfigValSecurityException() throw() { +} + + +void ConfigValSecurityException::__set_message(const std::string& val) { + this->message = val; +} + const char* ConfigValSecurityException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t ConfigValSecurityException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -10979,6 +15438,7 @@ uint32_t ConfigValSecurityException::read(::apache::thrift::protocol::TProtocol* uint32_t ConfigValSecurityException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ConfigValSecurityException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -10987,6 +15447,7 @@ uint32_t ConfigValSecurityException::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -10996,6 +15457,32 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other637) : TException() { + message = other637.message; + __isset = other637.__isset; +} +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other638) { + message = other638.message; + __isset = other638.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ConfigValSecurityException& obj) { + using apache::thrift::to_string; + out << "ConfigValSecurityException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +InvalidInputException::~InvalidInputException() throw() { +} + + +void InvalidInputException::__set_message(const std::string& val) { + this->message = val; +} + const char* InvalidInputException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t InvalidInputException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -11041,6 +15528,7 @@ uint32_t InvalidInputException::read(::apache::thrift::protocol::TProtocol* ipro uint32_t InvalidInputException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("InvalidInputException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -11049,6 +15537,7 @@ uint32_t InvalidInputException::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -11058,6 +15547,32 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } +InvalidInputException::InvalidInputException(const InvalidInputException& other639) : TException() { + message = other639.message; + __isset = other639.__isset; +} +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other640) { + message = other640.message; + __isset = other640.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const InvalidInputException& obj) { + using apache::thrift::to_string; + out << "InvalidInputException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +NoSuchTxnException::~NoSuchTxnException() throw() { +} + + +void NoSuchTxnException::__set_message(const std::string& val) { + this->message = val; +} + const char* NoSuchTxnException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t NoSuchTxnException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -11103,6 +15618,7 @@ uint32_t NoSuchTxnException::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t NoSuchTxnException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("NoSuchTxnException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -11111,6 +15627,7 @@ uint32_t NoSuchTxnException::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -11120,6 +15637,32 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other641) : TException() { + message = other641.message; + __isset = other641.__isset; +} +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other642) { + message = other642.message; + __isset = other642.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const NoSuchTxnException& obj) { + using apache::thrift::to_string; + out << "NoSuchTxnException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +TxnAbortedException::~TxnAbortedException() throw() { +} + + +void TxnAbortedException::__set_message(const std::string& val) { + this->message = val; +} + const char* TxnAbortedException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t TxnAbortedException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -11165,6 +15708,7 @@ uint32_t TxnAbortedException::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TxnAbortedException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TxnAbortedException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -11173,6 +15717,7 @@ uint32_t TxnAbortedException::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -11182,6 +15727,32 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other643) : TException() { + message = other643.message; + __isset = other643.__isset; +} +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other644) { + message = other644.message; + __isset = other644.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TxnAbortedException& obj) { + using apache::thrift::to_string; + out << "TxnAbortedException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +TxnOpenException::~TxnOpenException() throw() { +} + + +void TxnOpenException::__set_message(const std::string& val) { + this->message = val; +} + const char* TxnOpenException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t TxnOpenException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -11227,6 +15798,7 @@ uint32_t TxnOpenException::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TxnOpenException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TxnOpenException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -11235,6 +15807,7 @@ uint32_t TxnOpenException::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -11244,6 +15817,32 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } +TxnOpenException::TxnOpenException(const TxnOpenException& other645) : TException() { + message = other645.message; + __isset = other645.__isset; +} +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other646) { + message = other646.message; + __isset = other646.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TxnOpenException& obj) { + using apache::thrift::to_string; + out << "TxnOpenException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + + +NoSuchLockException::~NoSuchLockException() throw() { +} + + +void NoSuchLockException::__set_message(const std::string& val) { + this->message = val; +} + const char* NoSuchLockException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t NoSuchLockException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -11289,6 +15888,7 @@ uint32_t NoSuchLockException::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t NoSuchLockException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("NoSuchLockException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -11297,6 +15897,7 @@ uint32_t NoSuchLockException::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -11306,4 +15907,21 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other647) : TException() { + message = other647.message; + __isset = other647.__isset; +} +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other648) { + message = other648.message; + __isset = other648.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const NoSuchLockException& obj) { + using apache::thrift::to_string; + out << "NoSuchLockException("; + out << "message=" << to_string(obj.message); + out << ")"; + return out; +} + }}} // namespace diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index 9c91650..36110e6 100644 --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,11 +7,14 @@ #ifndef hive_metastore_TYPES_H #define hive_metastore_TYPES_H +#include + #include #include #include #include +#include #include "fb303_types.h" @@ -134,10 +137,228 @@ struct ResourceType { extern const std::map _ResourceType_VALUES_TO_NAMES; +class Version; + +class FieldSchema; + +class Type; + +class HiveObjectRef; + +class PrivilegeGrantInfo; + +class HiveObjectPrivilege; + +class PrivilegeBag; + +class PrincipalPrivilegeSet; + +class GrantRevokePrivilegeRequest; + +class GrantRevokePrivilegeResponse; + +class Role; + +class RolePrincipalGrant; + +class GetRoleGrantsForPrincipalRequest; + +class GetRoleGrantsForPrincipalResponse; + +class GetPrincipalsInRoleRequest; + +class GetPrincipalsInRoleResponse; + +class GrantRevokeRoleRequest; + +class GrantRevokeRoleResponse; + +class Database; + +class SerDeInfo; + +class Order; + +class SkewedInfo; + +class StorageDescriptor; + +class Table; + +class Partition; + +class PartitionWithoutSD; + +class PartitionSpecWithSharedSD; + +class PartitionListComposingSpec; + +class PartitionSpec; + +class Index; + +class BooleanColumnStatsData; + +class DoubleColumnStatsData; + +class LongColumnStatsData; + +class StringColumnStatsData; + +class BinaryColumnStatsData; + +class Decimal; + +class DecimalColumnStatsData; + +class Date; + +class DateColumnStatsData; + +class ColumnStatisticsData; + +class ColumnStatisticsObj; + +class ColumnStatisticsDesc; + +class ColumnStatistics; + +class AggrStats; + +class SetPartitionsStatsRequest; + +class Schema; + +class EnvironmentContext; + +class PartitionsByExprResult; + +class PartitionsByExprRequest; + +class TableStatsResult; + +class PartitionsStatsResult; + +class TableStatsRequest; + +class PartitionsStatsRequest; + +class AddPartitionsResult; + +class AddPartitionsRequest; + +class DropPartitionsResult; + +class DropPartitionsExpr; + +class RequestPartsSpec; + +class DropPartitionsRequest; + +class ResourceUri; + +class Function; + +class TxnInfo; + +class GetOpenTxnsInfoResponse; + +class GetOpenTxnsResponse; + +class OpenTxnRequest; + +class OpenTxnsResponse; + +class AbortTxnRequest; + +class CommitTxnRequest; + +class LockComponent; + +class LockRequest; + +class LockResponse; + +class CheckLockRequest; + +class UnlockRequest; + +class ShowLocksRequest; + +class ShowLocksResponseElement; + +class ShowLocksResponse; + +class HeartbeatRequest; + +class HeartbeatTxnRangeRequest; + +class HeartbeatTxnRangeResponse; + +class CompactionRequest; + +class ShowCompactRequest; + +class ShowCompactResponseElement; + +class ShowCompactResponse; + +class AddDynamicPartitions; + +class NotificationEventRequest; + +class NotificationEvent; + +class NotificationEventResponse; + +class CurrentNotificationEventId; + +class InsertEventRequestData; + +class FireEventRequestData; + +class FireEventRequest; + +class FireEventResponse; + +class GetAllFunctionsResponse; + +class MetaException; + +class UnknownTableException; + +class UnknownDBException; + +class AlreadyExistsException; + +class InvalidPartitionException; + +class UnknownPartitionException; + +class InvalidObjectException; + +class NoSuchObjectException; + +class IndexAlreadyExistsException; + +class InvalidOperationException; + +class ConfigValSecurityException; + +class InvalidInputException; + +class NoSuchTxnException; + +class TxnAbortedException; + +class TxnOpenException; + +class NoSuchLockException; + typedef struct _Version__isset { _Version__isset() : version(false), comments(false) {} - bool version; - bool comments; + bool version :1; + bool comments :1; } _Version__isset; class Version { @@ -146,23 +367,20 @@ class Version { static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + Version(const Version&); + Version& operator=(const Version&); Version() : version(), comments() { } - virtual ~Version() throw() {} - + virtual ~Version() throw(); std::string version; std::string comments; _Version__isset __isset; - void __set_version(const std::string& val) { - version = val; - } + void __set_version(const std::string& val); - void __set_comments(const std::string& val) { - comments = val; - } + void __set_comments(const std::string& val); bool operator == (const Version & rhs) const { @@ -181,15 +399,16 @@ class Version { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Version& obj); }; void swap(Version &a, Version &b); typedef struct _FieldSchema__isset { _FieldSchema__isset() : name(false), type(false), comment(false) {} - bool name; - bool type; - bool comment; + bool name :1; + bool type :1; + bool comment :1; } _FieldSchema__isset; class FieldSchema { @@ -198,28 +417,23 @@ class FieldSchema { static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; + FieldSchema(const FieldSchema&); + FieldSchema& operator=(const FieldSchema&); FieldSchema() : name(), type(), comment() { } - virtual ~FieldSchema() throw() {} - + virtual ~FieldSchema() throw(); std::string name; std::string type; std::string comment; _FieldSchema__isset __isset; - void __set_name(const std::string& val) { - name = val; - } + void __set_name(const std::string& val); - void __set_type(const std::string& val) { - type = val; - } + void __set_type(const std::string& val); - void __set_comment(const std::string& val) { - comment = val; - } + void __set_comment(const std::string& val); bool operator == (const FieldSchema & rhs) const { @@ -240,16 +454,17 @@ class FieldSchema { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const FieldSchema& obj); }; void swap(FieldSchema &a, FieldSchema &b); typedef struct _Type__isset { _Type__isset() : name(false), type1(false), type2(false), fields(false) {} - bool name; - bool type1; - bool type2; - bool fields; + bool name :1; + bool type1 :1; + bool type2 :1; + bool fields :1; } _Type__isset; class Type { @@ -258,11 +473,12 @@ class Type { static const char* ascii_fingerprint; // = "20DF02DE523C27F7066C7BD4D9120842"; static const uint8_t binary_fingerprint[16]; // = {0x20,0xDF,0x02,0xDE,0x52,0x3C,0x27,0xF7,0x06,0x6C,0x7B,0xD4,0xD9,0x12,0x08,0x42}; + Type(const Type&); + Type& operator=(const Type&); Type() : name(), type1(), type2() { } - virtual ~Type() throw() {} - + virtual ~Type() throw(); std::string name; std::string type1; std::string type2; @@ -270,24 +486,13 @@ class Type { _Type__isset __isset; - void __set_name(const std::string& val) { - name = val; - } + void __set_name(const std::string& val); - void __set_type1(const std::string& val) { - type1 = val; - __isset.type1 = true; - } + void __set_type1(const std::string& val); - void __set_type2(const std::string& val) { - type2 = val; - __isset.type2 = true; - } + void __set_type2(const std::string& val); - void __set_fields(const std::vector & val) { - fields = val; - __isset.fields = true; - } + void __set_fields(const std::vector & val); bool operator == (const Type & rhs) const { @@ -316,17 +521,18 @@ class Type { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Type& obj); }; void swap(Type &a, Type &b); typedef struct _HiveObjectRef__isset { _HiveObjectRef__isset() : objectType(false), dbName(false), objectName(false), partValues(false), columnName(false) {} - bool objectType; - bool dbName; - bool objectName; - bool partValues; - bool columnName; + bool objectType :1; + bool dbName :1; + bool objectName :1; + bool partValues :1; + bool columnName :1; } _HiveObjectRef__isset; class HiveObjectRef { @@ -335,11 +541,12 @@ class HiveObjectRef { static const char* ascii_fingerprint; // = "205CD8311CF3AA9EC161BAEF8D7C933C"; static const uint8_t binary_fingerprint[16]; // = {0x20,0x5C,0xD8,0x31,0x1C,0xF3,0xAA,0x9E,0xC1,0x61,0xBA,0xEF,0x8D,0x7C,0x93,0x3C}; + HiveObjectRef(const HiveObjectRef&); + HiveObjectRef& operator=(const HiveObjectRef&); HiveObjectRef() : objectType((HiveObjectType::type)0), dbName(), objectName(), columnName() { } - virtual ~HiveObjectRef() throw() {} - + virtual ~HiveObjectRef() throw(); HiveObjectType::type objectType; std::string dbName; std::string objectName; @@ -348,25 +555,15 @@ class HiveObjectRef { _HiveObjectRef__isset __isset; - void __set_objectType(const HiveObjectType::type val) { - objectType = val; - } + void __set_objectType(const HiveObjectType::type val); - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_objectName(const std::string& val) { - objectName = val; - } + void __set_objectName(const std::string& val); - void __set_partValues(const std::vector & val) { - partValues = val; - } + void __set_partValues(const std::vector & val); - void __set_columnName(const std::string& val) { - columnName = val; - } + void __set_columnName(const std::string& val); bool operator == (const HiveObjectRef & rhs) const { @@ -391,17 +588,18 @@ class HiveObjectRef { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const HiveObjectRef& obj); }; void swap(HiveObjectRef &a, HiveObjectRef &b); typedef struct _PrivilegeGrantInfo__isset { _PrivilegeGrantInfo__isset() : privilege(false), createTime(false), grantor(false), grantorType(false), grantOption(false) {} - bool privilege; - bool createTime; - bool grantor; - bool grantorType; - bool grantOption; + bool privilege :1; + bool createTime :1; + bool grantor :1; + bool grantorType :1; + bool grantOption :1; } _PrivilegeGrantInfo__isset; class PrivilegeGrantInfo { @@ -410,11 +608,12 @@ class PrivilegeGrantInfo { static const char* ascii_fingerprint; // = "A58923AF7294BE492D6F90E07E8CEE1F"; static const uint8_t binary_fingerprint[16]; // = {0xA5,0x89,0x23,0xAF,0x72,0x94,0xBE,0x49,0x2D,0x6F,0x90,0xE0,0x7E,0x8C,0xEE,0x1F}; + PrivilegeGrantInfo(const PrivilegeGrantInfo&); + PrivilegeGrantInfo& operator=(const PrivilegeGrantInfo&); PrivilegeGrantInfo() : privilege(), createTime(0), grantor(), grantorType((PrincipalType::type)0), grantOption(0) { } - virtual ~PrivilegeGrantInfo() throw() {} - + virtual ~PrivilegeGrantInfo() throw(); std::string privilege; int32_t createTime; std::string grantor; @@ -423,25 +622,15 @@ class PrivilegeGrantInfo { _PrivilegeGrantInfo__isset __isset; - void __set_privilege(const std::string& val) { - privilege = val; - } + void __set_privilege(const std::string& val); - void __set_createTime(const int32_t val) { - createTime = val; - } + void __set_createTime(const int32_t val); - void __set_grantor(const std::string& val) { - grantor = val; - } + void __set_grantor(const std::string& val); - void __set_grantorType(const PrincipalType::type val) { - grantorType = val; - } + void __set_grantorType(const PrincipalType::type val); - void __set_grantOption(const bool val) { - grantOption = val; - } + void __set_grantOption(const bool val); bool operator == (const PrivilegeGrantInfo & rhs) const { @@ -466,16 +655,17 @@ class PrivilegeGrantInfo { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PrivilegeGrantInfo& obj); }; void swap(PrivilegeGrantInfo &a, PrivilegeGrantInfo &b); typedef struct _HiveObjectPrivilege__isset { _HiveObjectPrivilege__isset() : hiveObject(false), principalName(false), principalType(false), grantInfo(false) {} - bool hiveObject; - bool principalName; - bool principalType; - bool grantInfo; + bool hiveObject :1; + bool principalName :1; + bool principalType :1; + bool grantInfo :1; } _HiveObjectPrivilege__isset; class HiveObjectPrivilege { @@ -484,11 +674,12 @@ class HiveObjectPrivilege { static const char* ascii_fingerprint; // = "83D71969B23BD853E29DBA9D43B29AF8"; static const uint8_t binary_fingerprint[16]; // = {0x83,0xD7,0x19,0x69,0xB2,0x3B,0xD8,0x53,0xE2,0x9D,0xBA,0x9D,0x43,0xB2,0x9A,0xF8}; + HiveObjectPrivilege(const HiveObjectPrivilege&); + HiveObjectPrivilege& operator=(const HiveObjectPrivilege&); HiveObjectPrivilege() : principalName(), principalType((PrincipalType::type)0) { } - virtual ~HiveObjectPrivilege() throw() {} - + virtual ~HiveObjectPrivilege() throw(); HiveObjectRef hiveObject; std::string principalName; PrincipalType::type principalType; @@ -496,21 +687,13 @@ class HiveObjectPrivilege { _HiveObjectPrivilege__isset __isset; - void __set_hiveObject(const HiveObjectRef& val) { - hiveObject = val; - } + void __set_hiveObject(const HiveObjectRef& val); - void __set_principalName(const std::string& val) { - principalName = val; - } + void __set_principalName(const std::string& val); - void __set_principalType(const PrincipalType::type val) { - principalType = val; - } + void __set_principalType(const PrincipalType::type val); - void __set_grantInfo(const PrivilegeGrantInfo& val) { - grantInfo = val; - } + void __set_grantInfo(const PrivilegeGrantInfo& val); bool operator == (const HiveObjectPrivilege & rhs) const { @@ -533,13 +716,14 @@ class HiveObjectPrivilege { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const HiveObjectPrivilege& obj); }; void swap(HiveObjectPrivilege &a, HiveObjectPrivilege &b); typedef struct _PrivilegeBag__isset { _PrivilegeBag__isset() : privileges(false) {} - bool privileges; + bool privileges :1; } _PrivilegeBag__isset; class PrivilegeBag { @@ -548,18 +732,17 @@ class PrivilegeBag { static const char* ascii_fingerprint; // = "BB89E4701B7B709B046A74C90B1147F2"; static const uint8_t binary_fingerprint[16]; // = {0xBB,0x89,0xE4,0x70,0x1B,0x7B,0x70,0x9B,0x04,0x6A,0x74,0xC9,0x0B,0x11,0x47,0xF2}; + PrivilegeBag(const PrivilegeBag&); + PrivilegeBag& operator=(const PrivilegeBag&); PrivilegeBag() { } - virtual ~PrivilegeBag() throw() {} - + virtual ~PrivilegeBag() throw(); std::vector privileges; _PrivilegeBag__isset __isset; - void __set_privileges(const std::vector & val) { - privileges = val; - } + void __set_privileges(const std::vector & val); bool operator == (const PrivilegeBag & rhs) const { @@ -576,15 +759,16 @@ class PrivilegeBag { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PrivilegeBag& obj); }; void swap(PrivilegeBag &a, PrivilegeBag &b); typedef struct _PrincipalPrivilegeSet__isset { _PrincipalPrivilegeSet__isset() : userPrivileges(false), groupPrivileges(false), rolePrivileges(false) {} - bool userPrivileges; - bool groupPrivileges; - bool rolePrivileges; + bool userPrivileges :1; + bool groupPrivileges :1; + bool rolePrivileges :1; } _PrincipalPrivilegeSet__isset; class PrincipalPrivilegeSet { @@ -593,28 +777,23 @@ class PrincipalPrivilegeSet { static const char* ascii_fingerprint; // = "08F75D2533906EA87BE34EA640856683"; static const uint8_t binary_fingerprint[16]; // = {0x08,0xF7,0x5D,0x25,0x33,0x90,0x6E,0xA8,0x7B,0xE3,0x4E,0xA6,0x40,0x85,0x66,0x83}; + PrincipalPrivilegeSet(const PrincipalPrivilegeSet&); + PrincipalPrivilegeSet& operator=(const PrincipalPrivilegeSet&); PrincipalPrivilegeSet() { } - virtual ~PrincipalPrivilegeSet() throw() {} - + virtual ~PrincipalPrivilegeSet() throw(); std::map > userPrivileges; std::map > groupPrivileges; std::map > rolePrivileges; _PrincipalPrivilegeSet__isset __isset; - void __set_userPrivileges(const std::map > & val) { - userPrivileges = val; - } + void __set_userPrivileges(const std::map > & val); - void __set_groupPrivileges(const std::map > & val) { - groupPrivileges = val; - } + void __set_groupPrivileges(const std::map > & val); - void __set_rolePrivileges(const std::map > & val) { - rolePrivileges = val; - } + void __set_rolePrivileges(const std::map > & val); bool operator == (const PrincipalPrivilegeSet & rhs) const { @@ -635,15 +814,16 @@ class PrincipalPrivilegeSet { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PrincipalPrivilegeSet& obj); }; void swap(PrincipalPrivilegeSet &a, PrincipalPrivilegeSet &b); typedef struct _GrantRevokePrivilegeRequest__isset { _GrantRevokePrivilegeRequest__isset() : requestType(false), privileges(false), revokeGrantOption(false) {} - bool requestType; - bool privileges; - bool revokeGrantOption; + bool requestType :1; + bool privileges :1; + bool revokeGrantOption :1; } _GrantRevokePrivilegeRequest__isset; class GrantRevokePrivilegeRequest { @@ -652,29 +832,23 @@ class GrantRevokePrivilegeRequest { static const char* ascii_fingerprint; // = "DF474A3CB526AD40DC0F2C3702F7AA2C"; static const uint8_t binary_fingerprint[16]; // = {0xDF,0x47,0x4A,0x3C,0xB5,0x26,0xAD,0x40,0xDC,0x0F,0x2C,0x37,0x02,0xF7,0xAA,0x2C}; + GrantRevokePrivilegeRequest(const GrantRevokePrivilegeRequest&); + GrantRevokePrivilegeRequest& operator=(const GrantRevokePrivilegeRequest&); GrantRevokePrivilegeRequest() : requestType((GrantRevokeType::type)0), revokeGrantOption(0) { } - virtual ~GrantRevokePrivilegeRequest() throw() {} - + virtual ~GrantRevokePrivilegeRequest() throw(); GrantRevokeType::type requestType; PrivilegeBag privileges; bool revokeGrantOption; _GrantRevokePrivilegeRequest__isset __isset; - void __set_requestType(const GrantRevokeType::type val) { - requestType = val; - } + void __set_requestType(const GrantRevokeType::type val); - void __set_privileges(const PrivilegeBag& val) { - privileges = val; - } + void __set_privileges(const PrivilegeBag& val); - void __set_revokeGrantOption(const bool val) { - revokeGrantOption = val; - __isset.revokeGrantOption = true; - } + void __set_revokeGrantOption(const bool val); bool operator == (const GrantRevokePrivilegeRequest & rhs) const { @@ -697,13 +871,14 @@ class GrantRevokePrivilegeRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeRequest& obj); }; void swap(GrantRevokePrivilegeRequest &a, GrantRevokePrivilegeRequest &b); typedef struct _GrantRevokePrivilegeResponse__isset { _GrantRevokePrivilegeResponse__isset() : success(false) {} - bool success; + bool success :1; } _GrantRevokePrivilegeResponse__isset; class GrantRevokePrivilegeResponse { @@ -712,19 +887,17 @@ class GrantRevokePrivilegeResponse { static const char* ascii_fingerprint; // = "BF054652DEF86253C2BEE7D947F167DD"; static const uint8_t binary_fingerprint[16]; // = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; + GrantRevokePrivilegeResponse(const GrantRevokePrivilegeResponse&); + GrantRevokePrivilegeResponse& operator=(const GrantRevokePrivilegeResponse&); GrantRevokePrivilegeResponse() : success(0) { } - virtual ~GrantRevokePrivilegeResponse() throw() {} - + virtual ~GrantRevokePrivilegeResponse() throw(); bool success; _GrantRevokePrivilegeResponse__isset __isset; - void __set_success(const bool val) { - success = val; - __isset.success = true; - } + void __set_success(const bool val); bool operator == (const GrantRevokePrivilegeResponse & rhs) const { @@ -743,15 +916,16 @@ class GrantRevokePrivilegeResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeResponse& obj); }; void swap(GrantRevokePrivilegeResponse &a, GrantRevokePrivilegeResponse &b); typedef struct _Role__isset { _Role__isset() : roleName(false), createTime(false), ownerName(false) {} - bool roleName; - bool createTime; - bool ownerName; + bool roleName :1; + bool createTime :1; + bool ownerName :1; } _Role__isset; class Role { @@ -760,28 +934,23 @@ class Role { static const char* ascii_fingerprint; // = "70563A0628F75DF9555F4D24690B1E26"; static const uint8_t binary_fingerprint[16]; // = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26}; + Role(const Role&); + Role& operator=(const Role&); Role() : roleName(), createTime(0), ownerName() { } - virtual ~Role() throw() {} - + virtual ~Role() throw(); std::string roleName; int32_t createTime; std::string ownerName; _Role__isset __isset; - void __set_roleName(const std::string& val) { - roleName = val; - } + void __set_roleName(const std::string& val); - void __set_createTime(const int32_t val) { - createTime = val; - } + void __set_createTime(const int32_t val); - void __set_ownerName(const std::string& val) { - ownerName = val; - } + void __set_ownerName(const std::string& val); bool operator == (const Role & rhs) const { @@ -802,19 +971,20 @@ class Role { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Role& obj); }; void swap(Role &a, Role &b); typedef struct _RolePrincipalGrant__isset { _RolePrincipalGrant__isset() : roleName(false), principalName(false), principalType(false), grantOption(false), grantTime(false), grantorName(false), grantorPrincipalType(false) {} - bool roleName; - bool principalName; - bool principalType; - bool grantOption; - bool grantTime; - bool grantorName; - bool grantorPrincipalType; + bool roleName :1; + bool principalName :1; + bool principalType :1; + bool grantOption :1; + bool grantTime :1; + bool grantorName :1; + bool grantorPrincipalType :1; } _RolePrincipalGrant__isset; class RolePrincipalGrant { @@ -823,11 +993,12 @@ class RolePrincipalGrant { static const char* ascii_fingerprint; // = "899BA3F6214DD1B79D27206BA857C772"; static const uint8_t binary_fingerprint[16]; // = {0x89,0x9B,0xA3,0xF6,0x21,0x4D,0xD1,0xB7,0x9D,0x27,0x20,0x6B,0xA8,0x57,0xC7,0x72}; + RolePrincipalGrant(const RolePrincipalGrant&); + RolePrincipalGrant& operator=(const RolePrincipalGrant&); RolePrincipalGrant() : roleName(), principalName(), principalType((PrincipalType::type)0), grantOption(0), grantTime(0), grantorName(), grantorPrincipalType((PrincipalType::type)0) { } - virtual ~RolePrincipalGrant() throw() {} - + virtual ~RolePrincipalGrant() throw(); std::string roleName; std::string principalName; PrincipalType::type principalType; @@ -838,33 +1009,19 @@ class RolePrincipalGrant { _RolePrincipalGrant__isset __isset; - void __set_roleName(const std::string& val) { - roleName = val; - } + void __set_roleName(const std::string& val); - void __set_principalName(const std::string& val) { - principalName = val; - } + void __set_principalName(const std::string& val); - void __set_principalType(const PrincipalType::type val) { - principalType = val; - } + void __set_principalType(const PrincipalType::type val); - void __set_grantOption(const bool val) { - grantOption = val; - } + void __set_grantOption(const bool val); - void __set_grantTime(const int32_t val) { - grantTime = val; - } + void __set_grantTime(const int32_t val); - void __set_grantorName(const std::string& val) { - grantorName = val; - } + void __set_grantorName(const std::string& val); - void __set_grantorPrincipalType(const PrincipalType::type val) { - grantorPrincipalType = val; - } + void __set_grantorPrincipalType(const PrincipalType::type val); bool operator == (const RolePrincipalGrant & rhs) const { @@ -893,6 +1050,7 @@ class RolePrincipalGrant { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const RolePrincipalGrant& obj); }; void swap(RolePrincipalGrant &a, RolePrincipalGrant &b); @@ -904,21 +1062,18 @@ class GetRoleGrantsForPrincipalRequest { static const char* ascii_fingerprint; // = "D6FD826D949221396F4FFC3ECCD3D192"; static const uint8_t binary_fingerprint[16]; // = {0xD6,0xFD,0x82,0x6D,0x94,0x92,0x21,0x39,0x6F,0x4F,0xFC,0x3E,0xCC,0xD3,0xD1,0x92}; + GetRoleGrantsForPrincipalRequest(const GetRoleGrantsForPrincipalRequest&); + GetRoleGrantsForPrincipalRequest& operator=(const GetRoleGrantsForPrincipalRequest&); GetRoleGrantsForPrincipalRequest() : principal_name(), principal_type((PrincipalType::type)0) { } - virtual ~GetRoleGrantsForPrincipalRequest() throw() {} - + virtual ~GetRoleGrantsForPrincipalRequest() throw(); std::string principal_name; PrincipalType::type principal_type; - void __set_principal_name(const std::string& val) { - principal_name = val; - } + void __set_principal_name(const std::string& val); - void __set_principal_type(const PrincipalType::type val) { - principal_type = val; - } + void __set_principal_type(const PrincipalType::type val); bool operator == (const GetRoleGrantsForPrincipalRequest & rhs) const { @@ -937,6 +1092,7 @@ class GetRoleGrantsForPrincipalRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalRequest& obj); }; void swap(GetRoleGrantsForPrincipalRequest &a, GetRoleGrantsForPrincipalRequest &b); @@ -948,16 +1104,15 @@ class GetRoleGrantsForPrincipalResponse { static const char* ascii_fingerprint; // = "5926B4B3541A62E17663820C7E3BE690"; static const uint8_t binary_fingerprint[16]; // = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90}; + GetRoleGrantsForPrincipalResponse(const GetRoleGrantsForPrincipalResponse&); + GetRoleGrantsForPrincipalResponse& operator=(const GetRoleGrantsForPrincipalResponse&); GetRoleGrantsForPrincipalResponse() { } - virtual ~GetRoleGrantsForPrincipalResponse() throw() {} - + virtual ~GetRoleGrantsForPrincipalResponse() throw(); std::vector principalGrants; - void __set_principalGrants(const std::vector & val) { - principalGrants = val; - } + void __set_principalGrants(const std::vector & val); bool operator == (const GetRoleGrantsForPrincipalResponse & rhs) const { @@ -974,6 +1129,7 @@ class GetRoleGrantsForPrincipalResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalResponse& obj); }; void swap(GetRoleGrantsForPrincipalResponse &a, GetRoleGrantsForPrincipalResponse &b); @@ -985,16 +1141,15 @@ class GetPrincipalsInRoleRequest { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + GetPrincipalsInRoleRequest(const GetPrincipalsInRoleRequest&); + GetPrincipalsInRoleRequest& operator=(const GetPrincipalsInRoleRequest&); GetPrincipalsInRoleRequest() : roleName() { } - virtual ~GetPrincipalsInRoleRequest() throw() {} - + virtual ~GetPrincipalsInRoleRequest() throw(); std::string roleName; - void __set_roleName(const std::string& val) { - roleName = val; - } + void __set_roleName(const std::string& val); bool operator == (const GetPrincipalsInRoleRequest & rhs) const { @@ -1011,6 +1166,7 @@ class GetPrincipalsInRoleRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleRequest& obj); }; void swap(GetPrincipalsInRoleRequest &a, GetPrincipalsInRoleRequest &b); @@ -1022,16 +1178,15 @@ class GetPrincipalsInRoleResponse { static const char* ascii_fingerprint; // = "5926B4B3541A62E17663820C7E3BE690"; static const uint8_t binary_fingerprint[16]; // = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90}; + GetPrincipalsInRoleResponse(const GetPrincipalsInRoleResponse&); + GetPrincipalsInRoleResponse& operator=(const GetPrincipalsInRoleResponse&); GetPrincipalsInRoleResponse() { } - virtual ~GetPrincipalsInRoleResponse() throw() {} - + virtual ~GetPrincipalsInRoleResponse() throw(); std::vector principalGrants; - void __set_principalGrants(const std::vector & val) { - principalGrants = val; - } + void __set_principalGrants(const std::vector & val); bool operator == (const GetPrincipalsInRoleResponse & rhs) const { @@ -1048,19 +1203,20 @@ class GetPrincipalsInRoleResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleResponse& obj); }; void swap(GetPrincipalsInRoleResponse &a, GetPrincipalsInRoleResponse &b); typedef struct _GrantRevokeRoleRequest__isset { _GrantRevokeRoleRequest__isset() : requestType(false), roleName(false), principalName(false), principalType(false), grantor(false), grantorType(false), grantOption(false) {} - bool requestType; - bool roleName; - bool principalName; - bool principalType; - bool grantor; - bool grantorType; - bool grantOption; + bool requestType :1; + bool roleName :1; + bool principalName :1; + bool principalType :1; + bool grantor :1; + bool grantorType :1; + bool grantOption :1; } _GrantRevokeRoleRequest__isset; class GrantRevokeRoleRequest { @@ -1069,11 +1225,12 @@ class GrantRevokeRoleRequest { static const char* ascii_fingerprint; // = "907DEA796F2BA7AF76DC2566E75FAEE7"; static const uint8_t binary_fingerprint[16]; // = {0x90,0x7D,0xEA,0x79,0x6F,0x2B,0xA7,0xAF,0x76,0xDC,0x25,0x66,0xE7,0x5F,0xAE,0xE7}; + GrantRevokeRoleRequest(const GrantRevokeRoleRequest&); + GrantRevokeRoleRequest& operator=(const GrantRevokeRoleRequest&); GrantRevokeRoleRequest() : requestType((GrantRevokeType::type)0), roleName(), principalName(), principalType((PrincipalType::type)0), grantor(), grantorType((PrincipalType::type)0), grantOption(0) { } - virtual ~GrantRevokeRoleRequest() throw() {} - + virtual ~GrantRevokeRoleRequest() throw(); GrantRevokeType::type requestType; std::string roleName; std::string principalName; @@ -1084,36 +1241,19 @@ class GrantRevokeRoleRequest { _GrantRevokeRoleRequest__isset __isset; - void __set_requestType(const GrantRevokeType::type val) { - requestType = val; - } + void __set_requestType(const GrantRevokeType::type val); - void __set_roleName(const std::string& val) { - roleName = val; - } + void __set_roleName(const std::string& val); - void __set_principalName(const std::string& val) { - principalName = val; - } + void __set_principalName(const std::string& val); - void __set_principalType(const PrincipalType::type val) { - principalType = val; - } + void __set_principalType(const PrincipalType::type val); - void __set_grantor(const std::string& val) { - grantor = val; - __isset.grantor = true; - } + void __set_grantor(const std::string& val); - void __set_grantorType(const PrincipalType::type val) { - grantorType = val; - __isset.grantorType = true; - } + void __set_grantorType(const PrincipalType::type val); - void __set_grantOption(const bool val) { - grantOption = val; - __isset.grantOption = true; - } + void __set_grantOption(const bool val); bool operator == (const GrantRevokeRoleRequest & rhs) const { @@ -1148,13 +1288,14 @@ class GrantRevokeRoleRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleRequest& obj); }; void swap(GrantRevokeRoleRequest &a, GrantRevokeRoleRequest &b); typedef struct _GrantRevokeRoleResponse__isset { _GrantRevokeRoleResponse__isset() : success(false) {} - bool success; + bool success :1; } _GrantRevokeRoleResponse__isset; class GrantRevokeRoleResponse { @@ -1163,19 +1304,17 @@ class GrantRevokeRoleResponse { static const char* ascii_fingerprint; // = "BF054652DEF86253C2BEE7D947F167DD"; static const uint8_t binary_fingerprint[16]; // = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; + GrantRevokeRoleResponse(const GrantRevokeRoleResponse&); + GrantRevokeRoleResponse& operator=(const GrantRevokeRoleResponse&); GrantRevokeRoleResponse() : success(0) { } - virtual ~GrantRevokeRoleResponse() throw() {} - + virtual ~GrantRevokeRoleResponse() throw(); bool success; _GrantRevokeRoleResponse__isset __isset; - void __set_success(const bool val) { - success = val; - __isset.success = true; - } + void __set_success(const bool val); bool operator == (const GrantRevokeRoleResponse & rhs) const { @@ -1194,19 +1333,20 @@ class GrantRevokeRoleResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleResponse& obj); }; void swap(GrantRevokeRoleResponse &a, GrantRevokeRoleResponse &b); typedef struct _Database__isset { _Database__isset() : name(false), description(false), locationUri(false), parameters(false), privileges(false), ownerName(false), ownerType(false) {} - bool name; - bool description; - bool locationUri; - bool parameters; - bool privileges; - bool ownerName; - bool ownerType; + bool name :1; + bool description :1; + bool locationUri :1; + bool parameters :1; + bool privileges :1; + bool ownerName :1; + bool ownerType :1; } _Database__isset; class Database { @@ -1215,11 +1355,12 @@ class Database { static const char* ascii_fingerprint; // = "553495CAE243A1C583D5C3DD990AED53"; static const uint8_t binary_fingerprint[16]; // = {0x55,0x34,0x95,0xCA,0xE2,0x43,0xA1,0xC5,0x83,0xD5,0xC3,0xDD,0x99,0x0A,0xED,0x53}; + Database(const Database&); + Database& operator=(const Database&); Database() : name(), description(), locationUri(), ownerName(), ownerType((PrincipalType::type)0) { } - virtual ~Database() throw() {} - + virtual ~Database() throw(); std::string name; std::string description; std::string locationUri; @@ -1230,36 +1371,19 @@ class Database { _Database__isset __isset; - void __set_name(const std::string& val) { - name = val; - } + void __set_name(const std::string& val); - void __set_description(const std::string& val) { - description = val; - } + void __set_description(const std::string& val); - void __set_locationUri(const std::string& val) { - locationUri = val; - } + void __set_locationUri(const std::string& val); - void __set_parameters(const std::map & val) { - parameters = val; - } + void __set_parameters(const std::map & val); - void __set_privileges(const PrincipalPrivilegeSet& val) { - privileges = val; - __isset.privileges = true; - } + void __set_privileges(const PrincipalPrivilegeSet& val); - void __set_ownerName(const std::string& val) { - ownerName = val; - __isset.ownerName = true; - } + void __set_ownerName(const std::string& val); - void __set_ownerType(const PrincipalType::type val) { - ownerType = val; - __isset.ownerType = true; - } + void __set_ownerType(const PrincipalType::type val); bool operator == (const Database & rhs) const { @@ -1294,15 +1418,16 @@ class Database { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Database& obj); }; void swap(Database &a, Database &b); typedef struct _SerDeInfo__isset { _SerDeInfo__isset() : name(false), serializationLib(false), parameters(false) {} - bool name; - bool serializationLib; - bool parameters; + bool name :1; + bool serializationLib :1; + bool parameters :1; } _SerDeInfo__isset; class SerDeInfo { @@ -1311,28 +1436,23 @@ class SerDeInfo { static const char* ascii_fingerprint; // = "B1021C32A35A2AEFCD2F57A5424159A7"; static const uint8_t binary_fingerprint[16]; // = {0xB1,0x02,0x1C,0x32,0xA3,0x5A,0x2A,0xEF,0xCD,0x2F,0x57,0xA5,0x42,0x41,0x59,0xA7}; + SerDeInfo(const SerDeInfo&); + SerDeInfo& operator=(const SerDeInfo&); SerDeInfo() : name(), serializationLib() { } - virtual ~SerDeInfo() throw() {} - + virtual ~SerDeInfo() throw(); std::string name; std::string serializationLib; std::map parameters; _SerDeInfo__isset __isset; - void __set_name(const std::string& val) { - name = val; - } + void __set_name(const std::string& val); - void __set_serializationLib(const std::string& val) { - serializationLib = val; - } + void __set_serializationLib(const std::string& val); - void __set_parameters(const std::map & val) { - parameters = val; - } + void __set_parameters(const std::map & val); bool operator == (const SerDeInfo & rhs) const { @@ -1353,14 +1473,15 @@ class SerDeInfo { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const SerDeInfo& obj); }; void swap(SerDeInfo &a, SerDeInfo &b); typedef struct _Order__isset { _Order__isset() : col(false), order(false) {} - bool col; - bool order; + bool col :1; + bool order :1; } _Order__isset; class Order { @@ -1369,23 +1490,20 @@ class Order { static const char* ascii_fingerprint; // = "EEBC915CE44901401D881E6091423036"; static const uint8_t binary_fingerprint[16]; // = {0xEE,0xBC,0x91,0x5C,0xE4,0x49,0x01,0x40,0x1D,0x88,0x1E,0x60,0x91,0x42,0x30,0x36}; + Order(const Order&); + Order& operator=(const Order&); Order() : col(), order(0) { } - virtual ~Order() throw() {} - + virtual ~Order() throw(); std::string col; int32_t order; _Order__isset __isset; - void __set_col(const std::string& val) { - col = val; - } + void __set_col(const std::string& val); - void __set_order(const int32_t val) { - order = val; - } + void __set_order(const int32_t val); bool operator == (const Order & rhs) const { @@ -1404,15 +1522,16 @@ class Order { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Order& obj); }; void swap(Order &a, Order &b); typedef struct _SkewedInfo__isset { _SkewedInfo__isset() : skewedColNames(false), skewedColValues(false), skewedColValueLocationMaps(false) {} - bool skewedColNames; - bool skewedColValues; - bool skewedColValueLocationMaps; + bool skewedColNames :1; + bool skewedColValues :1; + bool skewedColValueLocationMaps :1; } _SkewedInfo__isset; class SkewedInfo { @@ -1421,28 +1540,23 @@ class SkewedInfo { static const char* ascii_fingerprint; // = "4BF2ED84BC3C3EB297A2AE2FA8427EB1"; static const uint8_t binary_fingerprint[16]; // = {0x4B,0xF2,0xED,0x84,0xBC,0x3C,0x3E,0xB2,0x97,0xA2,0xAE,0x2F,0xA8,0x42,0x7E,0xB1}; + SkewedInfo(const SkewedInfo&); + SkewedInfo& operator=(const SkewedInfo&); SkewedInfo() { } - virtual ~SkewedInfo() throw() {} - + virtual ~SkewedInfo() throw(); std::vector skewedColNames; std::vector > skewedColValues; std::map , std::string> skewedColValueLocationMaps; _SkewedInfo__isset __isset; - void __set_skewedColNames(const std::vector & val) { - skewedColNames = val; - } + void __set_skewedColNames(const std::vector & val); - void __set_skewedColValues(const std::vector > & val) { - skewedColValues = val; - } + void __set_skewedColValues(const std::vector > & val); - void __set_skewedColValueLocationMaps(const std::map , std::string> & val) { - skewedColValueLocationMaps = val; - } + void __set_skewedColValueLocationMaps(const std::map , std::string> & val); bool operator == (const SkewedInfo & rhs) const { @@ -1463,24 +1577,25 @@ class SkewedInfo { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const SkewedInfo& obj); }; void swap(SkewedInfo &a, SkewedInfo &b); typedef struct _StorageDescriptor__isset { _StorageDescriptor__isset() : cols(false), location(false), inputFormat(false), outputFormat(false), compressed(false), numBuckets(false), serdeInfo(false), bucketCols(false), sortCols(false), parameters(false), skewedInfo(false), storedAsSubDirectories(false) {} - bool cols; - bool location; - bool inputFormat; - bool outputFormat; - bool compressed; - bool numBuckets; - bool serdeInfo; - bool bucketCols; - bool sortCols; - bool parameters; - bool skewedInfo; - bool storedAsSubDirectories; + bool cols :1; + bool location :1; + bool inputFormat :1; + bool outputFormat :1; + bool compressed :1; + bool numBuckets :1; + bool serdeInfo :1; + bool bucketCols :1; + bool sortCols :1; + bool parameters :1; + bool skewedInfo :1; + bool storedAsSubDirectories :1; } _StorageDescriptor__isset; class StorageDescriptor { @@ -1489,11 +1604,12 @@ class StorageDescriptor { static const char* ascii_fingerprint; // = "CA8C9AA5FE4C32643757D8639CEF0CD7"; static const uint8_t binary_fingerprint[16]; // = {0xCA,0x8C,0x9A,0xA5,0xFE,0x4C,0x32,0x64,0x37,0x57,0xD8,0x63,0x9C,0xEF,0x0C,0xD7}; + StorageDescriptor(const StorageDescriptor&); + StorageDescriptor& operator=(const StorageDescriptor&); StorageDescriptor() : location(), inputFormat(), outputFormat(), compressed(0), numBuckets(0), storedAsSubDirectories(0) { } - virtual ~StorageDescriptor() throw() {} - + virtual ~StorageDescriptor() throw(); std::vector cols; std::string location; std::string inputFormat; @@ -1509,55 +1625,29 @@ class StorageDescriptor { _StorageDescriptor__isset __isset; - void __set_cols(const std::vector & val) { - cols = val; - } + void __set_cols(const std::vector & val); - void __set_location(const std::string& val) { - location = val; - } + void __set_location(const std::string& val); - void __set_inputFormat(const std::string& val) { - inputFormat = val; - } + void __set_inputFormat(const std::string& val); - void __set_outputFormat(const std::string& val) { - outputFormat = val; - } + void __set_outputFormat(const std::string& val); - void __set_compressed(const bool val) { - compressed = val; - } + void __set_compressed(const bool val); - void __set_numBuckets(const int32_t val) { - numBuckets = val; - } + void __set_numBuckets(const int32_t val); - void __set_serdeInfo(const SerDeInfo& val) { - serdeInfo = val; - } + void __set_serdeInfo(const SerDeInfo& val); - void __set_bucketCols(const std::vector & val) { - bucketCols = val; - } + void __set_bucketCols(const std::vector & val); - void __set_sortCols(const std::vector & val) { - sortCols = val; - } + void __set_sortCols(const std::vector & val); - void __set_parameters(const std::map & val) { - parameters = val; - } + void __set_parameters(const std::map & val); - void __set_skewedInfo(const SkewedInfo& val) { - skewedInfo = val; - __isset.skewedInfo = true; - } + void __set_skewedInfo(const SkewedInfo& val); - void __set_storedAsSubDirectories(const bool val) { - storedAsSubDirectories = val; - __isset.storedAsSubDirectories = true; - } + void __set_storedAsSubDirectories(const bool val); bool operator == (const StorageDescriptor & rhs) const { @@ -1600,26 +1690,27 @@ class StorageDescriptor { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj); }; void swap(StorageDescriptor &a, StorageDescriptor &b); typedef struct _Table__isset { _Table__isset() : tableName(false), dbName(false), owner(false), createTime(false), lastAccessTime(false), retention(false), sd(false), partitionKeys(false), parameters(false), viewOriginalText(false), viewExpandedText(false), tableType(false), privileges(false), temporary(true) {} - bool tableName; - bool dbName; - bool owner; - bool createTime; - bool lastAccessTime; - bool retention; - bool sd; - bool partitionKeys; - bool parameters; - bool viewOriginalText; - bool viewExpandedText; - bool tableType; - bool privileges; - bool temporary; + bool tableName :1; + bool dbName :1; + bool owner :1; + bool createTime :1; + bool lastAccessTime :1; + bool retention :1; + bool sd :1; + bool partitionKeys :1; + bool parameters :1; + bool viewOriginalText :1; + bool viewExpandedText :1; + bool tableType :1; + bool privileges :1; + bool temporary :1; } _Table__isset; class Table { @@ -1628,11 +1719,12 @@ class Table { static const char* ascii_fingerprint; // = "29EFB2A5970EF572039E5D94CC78AA85"; static const uint8_t binary_fingerprint[16]; // = {0x29,0xEF,0xB2,0xA5,0x97,0x0E,0xF5,0x72,0x03,0x9E,0x5D,0x94,0xCC,0x78,0xAA,0x85}; + Table(const Table&); + Table& operator=(const Table&); Table() : tableName(), dbName(), owner(), createTime(0), lastAccessTime(0), retention(0), viewOriginalText(), viewExpandedText(), tableType(), temporary(false) { } - virtual ~Table() throw() {} - + virtual ~Table() throw(); std::string tableName; std::string dbName; std::string owner; @@ -1650,63 +1742,33 @@ class Table { _Table__isset __isset; - void __set_tableName(const std::string& val) { - tableName = val; - } + void __set_tableName(const std::string& val); - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_owner(const std::string& val) { - owner = val; - } + void __set_owner(const std::string& val); - void __set_createTime(const int32_t val) { - createTime = val; - } + void __set_createTime(const int32_t val); - void __set_lastAccessTime(const int32_t val) { - lastAccessTime = val; - } + void __set_lastAccessTime(const int32_t val); - void __set_retention(const int32_t val) { - retention = val; - } + void __set_retention(const int32_t val); - void __set_sd(const StorageDescriptor& val) { - sd = val; - } + void __set_sd(const StorageDescriptor& val); - void __set_partitionKeys(const std::vector & val) { - partitionKeys = val; - } + void __set_partitionKeys(const std::vector & val); - void __set_parameters(const std::map & val) { - parameters = val; - } + void __set_parameters(const std::map & val); - void __set_viewOriginalText(const std::string& val) { - viewOriginalText = val; - } + void __set_viewOriginalText(const std::string& val); - void __set_viewExpandedText(const std::string& val) { - viewExpandedText = val; - } + void __set_viewExpandedText(const std::string& val); - void __set_tableType(const std::string& val) { - tableType = val; - } + void __set_tableType(const std::string& val); - void __set_privileges(const PrincipalPrivilegeSet& val) { - privileges = val; - __isset.privileges = true; - } + void __set_privileges(const PrincipalPrivilegeSet& val); - void __set_temporary(const bool val) { - temporary = val; - __isset.temporary = true; - } + void __set_temporary(const bool val); bool operator == (const Table & rhs) const { @@ -1753,20 +1815,21 @@ class Table { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Table& obj); }; void swap(Table &a, Table &b); typedef struct _Partition__isset { _Partition__isset() : values(false), dbName(false), tableName(false), createTime(false), lastAccessTime(false), sd(false), parameters(false), privileges(false) {} - bool values; - bool dbName; - bool tableName; - bool createTime; - bool lastAccessTime; - bool sd; - bool parameters; - bool privileges; + bool values :1; + bool dbName :1; + bool tableName :1; + bool createTime :1; + bool lastAccessTime :1; + bool sd :1; + bool parameters :1; + bool privileges :1; } _Partition__isset; class Partition { @@ -1775,11 +1838,12 @@ class Partition { static const char* ascii_fingerprint; // = "31A52241B88A426C34087FE38343FF51"; static const uint8_t binary_fingerprint[16]; // = {0x31,0xA5,0x22,0x41,0xB8,0x8A,0x42,0x6C,0x34,0x08,0x7F,0xE3,0x83,0x43,0xFF,0x51}; + Partition(const Partition&); + Partition& operator=(const Partition&); Partition() : dbName(), tableName(), createTime(0), lastAccessTime(0) { } - virtual ~Partition() throw() {} - + virtual ~Partition() throw(); std::vector values; std::string dbName; std::string tableName; @@ -1791,38 +1855,21 @@ class Partition { _Partition__isset __isset; - void __set_values(const std::vector & val) { - values = val; - } + void __set_values(const std::vector & val); - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_tableName(const std::string& val) { - tableName = val; - } + void __set_tableName(const std::string& val); - void __set_createTime(const int32_t val) { - createTime = val; - } + void __set_createTime(const int32_t val); - void __set_lastAccessTime(const int32_t val) { - lastAccessTime = val; - } + void __set_lastAccessTime(const int32_t val); - void __set_sd(const StorageDescriptor& val) { - sd = val; - } + void __set_sd(const StorageDescriptor& val); - void __set_parameters(const std::map & val) { - parameters = val; - } + void __set_parameters(const std::map & val); - void __set_privileges(const PrincipalPrivilegeSet& val) { - privileges = val; - __isset.privileges = true; - } + void __set_privileges(const PrincipalPrivilegeSet& val); bool operator == (const Partition & rhs) const { @@ -1855,18 +1902,19 @@ class Partition { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Partition& obj); }; void swap(Partition &a, Partition &b); typedef struct _PartitionWithoutSD__isset { _PartitionWithoutSD__isset() : values(false), createTime(false), lastAccessTime(false), relativePath(false), parameters(false), privileges(false) {} - bool values; - bool createTime; - bool lastAccessTime; - bool relativePath; - bool parameters; - bool privileges; + bool values :1; + bool createTime :1; + bool lastAccessTime :1; + bool relativePath :1; + bool parameters :1; + bool privileges :1; } _PartitionWithoutSD__isset; class PartitionWithoutSD { @@ -1875,11 +1923,12 @@ class PartitionWithoutSD { static const char* ascii_fingerprint; // = "D79FA44499888D0E50B5625E0C536DEA"; static const uint8_t binary_fingerprint[16]; // = {0xD7,0x9F,0xA4,0x44,0x99,0x88,0x8D,0x0E,0x50,0xB5,0x62,0x5E,0x0C,0x53,0x6D,0xEA}; + PartitionWithoutSD(const PartitionWithoutSD&); + PartitionWithoutSD& operator=(const PartitionWithoutSD&); PartitionWithoutSD() : createTime(0), lastAccessTime(0), relativePath() { } - virtual ~PartitionWithoutSD() throw() {} - + virtual ~PartitionWithoutSD() throw(); std::vector values; int32_t createTime; int32_t lastAccessTime; @@ -1889,30 +1938,17 @@ class PartitionWithoutSD { _PartitionWithoutSD__isset __isset; - void __set_values(const std::vector & val) { - values = val; - } + void __set_values(const std::vector & val); - void __set_createTime(const int32_t val) { - createTime = val; - } + void __set_createTime(const int32_t val); - void __set_lastAccessTime(const int32_t val) { - lastAccessTime = val; - } + void __set_lastAccessTime(const int32_t val); - void __set_relativePath(const std::string& val) { - relativePath = val; - } + void __set_relativePath(const std::string& val); - void __set_parameters(const std::map & val) { - parameters = val; - } + void __set_parameters(const std::map & val); - void __set_privileges(const PrincipalPrivilegeSet& val) { - privileges = val; - __isset.privileges = true; - } + void __set_privileges(const PrincipalPrivilegeSet& val); bool operator == (const PartitionWithoutSD & rhs) const { @@ -1941,14 +1977,15 @@ class PartitionWithoutSD { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PartitionWithoutSD& obj); }; void swap(PartitionWithoutSD &a, PartitionWithoutSD &b); typedef struct _PartitionSpecWithSharedSD__isset { _PartitionSpecWithSharedSD__isset() : partitions(false), sd(false) {} - bool partitions; - bool sd; + bool partitions :1; + bool sd :1; } _PartitionSpecWithSharedSD__isset; class PartitionSpecWithSharedSD { @@ -1957,23 +1994,20 @@ class PartitionSpecWithSharedSD { static const char* ascii_fingerprint; // = "7BEE9305B42DCD083FF06BEE6DDC61CF"; static const uint8_t binary_fingerprint[16]; // = {0x7B,0xEE,0x93,0x05,0xB4,0x2D,0xCD,0x08,0x3F,0xF0,0x6B,0xEE,0x6D,0xDC,0x61,0xCF}; + PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD&); + PartitionSpecWithSharedSD& operator=(const PartitionSpecWithSharedSD&); PartitionSpecWithSharedSD() { } - virtual ~PartitionSpecWithSharedSD() throw() {} - + virtual ~PartitionSpecWithSharedSD() throw(); std::vector partitions; StorageDescriptor sd; _PartitionSpecWithSharedSD__isset __isset; - void __set_partitions(const std::vector & val) { - partitions = val; - } + void __set_partitions(const std::vector & val); - void __set_sd(const StorageDescriptor& val) { - sd = val; - } + void __set_sd(const StorageDescriptor& val); bool operator == (const PartitionSpecWithSharedSD & rhs) const { @@ -1992,13 +2026,14 @@ class PartitionSpecWithSharedSD { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PartitionSpecWithSharedSD& obj); }; void swap(PartitionSpecWithSharedSD &a, PartitionSpecWithSharedSD &b); typedef struct _PartitionListComposingSpec__isset { _PartitionListComposingSpec__isset() : partitions(false) {} - bool partitions; + bool partitions :1; } _PartitionListComposingSpec__isset; class PartitionListComposingSpec { @@ -2007,18 +2042,17 @@ class PartitionListComposingSpec { static const char* ascii_fingerprint; // = "A048235CB9A257C8A74E3691BEFE0674"; static const uint8_t binary_fingerprint[16]; // = {0xA0,0x48,0x23,0x5C,0xB9,0xA2,0x57,0xC8,0xA7,0x4E,0x36,0x91,0xBE,0xFE,0x06,0x74}; + PartitionListComposingSpec(const PartitionListComposingSpec&); + PartitionListComposingSpec& operator=(const PartitionListComposingSpec&); PartitionListComposingSpec() { } - virtual ~PartitionListComposingSpec() throw() {} - + virtual ~PartitionListComposingSpec() throw(); std::vector partitions; _PartitionListComposingSpec__isset __isset; - void __set_partitions(const std::vector & val) { - partitions = val; - } + void __set_partitions(const std::vector & val); bool operator == (const PartitionListComposingSpec & rhs) const { @@ -2035,17 +2069,18 @@ class PartitionListComposingSpec { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PartitionListComposingSpec& obj); }; void swap(PartitionListComposingSpec &a, PartitionListComposingSpec &b); typedef struct _PartitionSpec__isset { _PartitionSpec__isset() : dbName(false), tableName(false), rootPath(false), sharedSDPartitionSpec(false), partitionList(false) {} - bool dbName; - bool tableName; - bool rootPath; - bool sharedSDPartitionSpec; - bool partitionList; + bool dbName :1; + bool tableName :1; + bool rootPath :1; + bool sharedSDPartitionSpec :1; + bool partitionList :1; } _PartitionSpec__isset; class PartitionSpec { @@ -2054,11 +2089,12 @@ class PartitionSpec { static const char* ascii_fingerprint; // = "C3F548C24D072CF6422F25096143E3E8"; static const uint8_t binary_fingerprint[16]; // = {0xC3,0xF5,0x48,0xC2,0x4D,0x07,0x2C,0xF6,0x42,0x2F,0x25,0x09,0x61,0x43,0xE3,0xE8}; + PartitionSpec(const PartitionSpec&); + PartitionSpec& operator=(const PartitionSpec&); PartitionSpec() : dbName(), tableName(), rootPath() { } - virtual ~PartitionSpec() throw() {} - + virtual ~PartitionSpec() throw(); std::string dbName; std::string tableName; std::string rootPath; @@ -2067,27 +2103,15 @@ class PartitionSpec { _PartitionSpec__isset __isset; - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_tableName(const std::string& val) { - tableName = val; - } + void __set_tableName(const std::string& val); - void __set_rootPath(const std::string& val) { - rootPath = val; - } + void __set_rootPath(const std::string& val); - void __set_sharedSDPartitionSpec(const PartitionSpecWithSharedSD& val) { - sharedSDPartitionSpec = val; - __isset.sharedSDPartitionSpec = true; - } + void __set_sharedSDPartitionSpec(const PartitionSpecWithSharedSD& val); - void __set_partitionList(const PartitionListComposingSpec& val) { - partitionList = val; - __isset.partitionList = true; - } + void __set_partitionList(const PartitionListComposingSpec& val); bool operator == (const PartitionSpec & rhs) const { @@ -2116,22 +2140,23 @@ class PartitionSpec { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PartitionSpec& obj); }; void swap(PartitionSpec &a, PartitionSpec &b); typedef struct _Index__isset { _Index__isset() : indexName(false), indexHandlerClass(false), dbName(false), origTableName(false), createTime(false), lastAccessTime(false), indexTableName(false), sd(false), parameters(false), deferredRebuild(false) {} - bool indexName; - bool indexHandlerClass; - bool dbName; - bool origTableName; - bool createTime; - bool lastAccessTime; - bool indexTableName; - bool sd; - bool parameters; - bool deferredRebuild; + bool indexName :1; + bool indexHandlerClass :1; + bool dbName :1; + bool origTableName :1; + bool createTime :1; + bool lastAccessTime :1; + bool indexTableName :1; + bool sd :1; + bool parameters :1; + bool deferredRebuild :1; } _Index__isset; class Index { @@ -2140,11 +2165,12 @@ class Index { static const char* ascii_fingerprint; // = "09EEF655216AC81802850988D6C470A6"; static const uint8_t binary_fingerprint[16]; // = {0x09,0xEE,0xF6,0x55,0x21,0x6A,0xC8,0x18,0x02,0x85,0x09,0x88,0xD6,0xC4,0x70,0xA6}; + Index(const Index&); + Index& operator=(const Index&); Index() : indexName(), indexHandlerClass(), dbName(), origTableName(), createTime(0), lastAccessTime(0), indexTableName(), deferredRebuild(0) { } - virtual ~Index() throw() {} - + virtual ~Index() throw(); std::string indexName; std::string indexHandlerClass; std::string dbName; @@ -2158,45 +2184,25 @@ class Index { _Index__isset __isset; - void __set_indexName(const std::string& val) { - indexName = val; - } + void __set_indexName(const std::string& val); - void __set_indexHandlerClass(const std::string& val) { - indexHandlerClass = val; - } + void __set_indexHandlerClass(const std::string& val); - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_origTableName(const std::string& val) { - origTableName = val; - } + void __set_origTableName(const std::string& val); - void __set_createTime(const int32_t val) { - createTime = val; - } + void __set_createTime(const int32_t val); - void __set_lastAccessTime(const int32_t val) { - lastAccessTime = val; - } + void __set_lastAccessTime(const int32_t val); - void __set_indexTableName(const std::string& val) { - indexTableName = val; - } + void __set_indexTableName(const std::string& val); - void __set_sd(const StorageDescriptor& val) { - sd = val; - } + void __set_sd(const StorageDescriptor& val); - void __set_parameters(const std::map & val) { - parameters = val; - } + void __set_parameters(const std::map & val); - void __set_deferredRebuild(const bool val) { - deferredRebuild = val; - } + void __set_deferredRebuild(const bool val); bool operator == (const Index & rhs) const { @@ -2231,6 +2237,7 @@ class Index { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Index& obj); }; void swap(Index &a, Index &b); @@ -2242,26 +2249,21 @@ class BooleanColumnStatsData { static const char* ascii_fingerprint; // = "EA2D65F1E0BB78760205682082304B41"; static const uint8_t binary_fingerprint[16]; // = {0xEA,0x2D,0x65,0xF1,0xE0,0xBB,0x78,0x76,0x02,0x05,0x68,0x20,0x82,0x30,0x4B,0x41}; + BooleanColumnStatsData(const BooleanColumnStatsData&); + BooleanColumnStatsData& operator=(const BooleanColumnStatsData&); BooleanColumnStatsData() : numTrues(0), numFalses(0), numNulls(0) { } - virtual ~BooleanColumnStatsData() throw() {} - + virtual ~BooleanColumnStatsData() throw(); int64_t numTrues; int64_t numFalses; int64_t numNulls; - void __set_numTrues(const int64_t val) { - numTrues = val; - } + void __set_numTrues(const int64_t val); - void __set_numFalses(const int64_t val) { - numFalses = val; - } + void __set_numFalses(const int64_t val); - void __set_numNulls(const int64_t val) { - numNulls = val; - } + void __set_numNulls(const int64_t val); bool operator == (const BooleanColumnStatsData & rhs) const { @@ -2282,14 +2284,15 @@ class BooleanColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const BooleanColumnStatsData& obj); }; void swap(BooleanColumnStatsData &a, BooleanColumnStatsData &b); typedef struct _DoubleColumnStatsData__isset { _DoubleColumnStatsData__isset() : lowValue(false), highValue(false) {} - bool lowValue; - bool highValue; + bool lowValue :1; + bool highValue :1; } _DoubleColumnStatsData__isset; class DoubleColumnStatsData { @@ -2298,11 +2301,12 @@ class DoubleColumnStatsData { static const char* ascii_fingerprint; // = "DA7C011321D74C48396AA002E61A0CBB"; static const uint8_t binary_fingerprint[16]; // = {0xDA,0x7C,0x01,0x13,0x21,0xD7,0x4C,0x48,0x39,0x6A,0xA0,0x02,0xE6,0x1A,0x0C,0xBB}; + DoubleColumnStatsData(const DoubleColumnStatsData&); + DoubleColumnStatsData& operator=(const DoubleColumnStatsData&); DoubleColumnStatsData() : lowValue(0), highValue(0), numNulls(0), numDVs(0) { } - virtual ~DoubleColumnStatsData() throw() {} - + virtual ~DoubleColumnStatsData() throw(); double lowValue; double highValue; int64_t numNulls; @@ -2310,23 +2314,13 @@ class DoubleColumnStatsData { _DoubleColumnStatsData__isset __isset; - void __set_lowValue(const double val) { - lowValue = val; - __isset.lowValue = true; - } + void __set_lowValue(const double val); - void __set_highValue(const double val) { - highValue = val; - __isset.highValue = true; - } + void __set_highValue(const double val); - void __set_numNulls(const int64_t val) { - numNulls = val; - } + void __set_numNulls(const int64_t val); - void __set_numDVs(const int64_t val) { - numDVs = val; - } + void __set_numDVs(const int64_t val); bool operator == (const DoubleColumnStatsData & rhs) const { @@ -2353,14 +2347,15 @@ class DoubleColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const DoubleColumnStatsData& obj); }; void swap(DoubleColumnStatsData &a, DoubleColumnStatsData &b); typedef struct _LongColumnStatsData__isset { _LongColumnStatsData__isset() : lowValue(false), highValue(false) {} - bool lowValue; - bool highValue; + bool lowValue :1; + bool highValue :1; } _LongColumnStatsData__isset; class LongColumnStatsData { @@ -2369,11 +2364,12 @@ class LongColumnStatsData { static const char* ascii_fingerprint; // = "E685FC220B24E3B8B93604790DCB9AEA"; static const uint8_t binary_fingerprint[16]; // = {0xE6,0x85,0xFC,0x22,0x0B,0x24,0xE3,0xB8,0xB9,0x36,0x04,0x79,0x0D,0xCB,0x9A,0xEA}; + LongColumnStatsData(const LongColumnStatsData&); + LongColumnStatsData& operator=(const LongColumnStatsData&); LongColumnStatsData() : lowValue(0), highValue(0), numNulls(0), numDVs(0) { } - virtual ~LongColumnStatsData() throw() {} - + virtual ~LongColumnStatsData() throw(); int64_t lowValue; int64_t highValue; int64_t numNulls; @@ -2381,23 +2377,13 @@ class LongColumnStatsData { _LongColumnStatsData__isset __isset; - void __set_lowValue(const int64_t val) { - lowValue = val; - __isset.lowValue = true; - } + void __set_lowValue(const int64_t val); - void __set_highValue(const int64_t val) { - highValue = val; - __isset.highValue = true; - } + void __set_highValue(const int64_t val); - void __set_numNulls(const int64_t val) { - numNulls = val; - } + void __set_numNulls(const int64_t val); - void __set_numDVs(const int64_t val) { - numDVs = val; - } + void __set_numDVs(const int64_t val); bool operator == (const LongColumnStatsData & rhs) const { @@ -2424,6 +2410,7 @@ class LongColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const LongColumnStatsData& obj); }; void swap(LongColumnStatsData &a, LongColumnStatsData &b); @@ -2435,31 +2422,24 @@ class StringColumnStatsData { static const char* ascii_fingerprint; // = "D017B08C3DF12C3AB98788B2E67DAAB3"; static const uint8_t binary_fingerprint[16]; // = {0xD0,0x17,0xB0,0x8C,0x3D,0xF1,0x2C,0x3A,0xB9,0x87,0x88,0xB2,0xE6,0x7D,0xAA,0xB3}; + StringColumnStatsData(const StringColumnStatsData&); + StringColumnStatsData& operator=(const StringColumnStatsData&); StringColumnStatsData() : maxColLen(0), avgColLen(0), numNulls(0), numDVs(0) { } - virtual ~StringColumnStatsData() throw() {} - + virtual ~StringColumnStatsData() throw(); int64_t maxColLen; double avgColLen; int64_t numNulls; int64_t numDVs; - void __set_maxColLen(const int64_t val) { - maxColLen = val; - } + void __set_maxColLen(const int64_t val); - void __set_avgColLen(const double val) { - avgColLen = val; - } + void __set_avgColLen(const double val); - void __set_numNulls(const int64_t val) { - numNulls = val; - } + void __set_numNulls(const int64_t val); - void __set_numDVs(const int64_t val) { - numDVs = val; - } + void __set_numDVs(const int64_t val); bool operator == (const StringColumnStatsData & rhs) const { @@ -2482,6 +2462,7 @@ class StringColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const StringColumnStatsData& obj); }; void swap(StringColumnStatsData &a, StringColumnStatsData &b); @@ -2493,26 +2474,21 @@ class BinaryColumnStatsData { static const char* ascii_fingerprint; // = "22B0CB67183FCDB945892B9974518D06"; static const uint8_t binary_fingerprint[16]; // = {0x22,0xB0,0xCB,0x67,0x18,0x3F,0xCD,0xB9,0x45,0x89,0x2B,0x99,0x74,0x51,0x8D,0x06}; + BinaryColumnStatsData(const BinaryColumnStatsData&); + BinaryColumnStatsData& operator=(const BinaryColumnStatsData&); BinaryColumnStatsData() : maxColLen(0), avgColLen(0), numNulls(0) { } - virtual ~BinaryColumnStatsData() throw() {} - + virtual ~BinaryColumnStatsData() throw(); int64_t maxColLen; double avgColLen; int64_t numNulls; - void __set_maxColLen(const int64_t val) { - maxColLen = val; - } + void __set_maxColLen(const int64_t val); - void __set_avgColLen(const double val) { - avgColLen = val; - } + void __set_avgColLen(const double val); - void __set_numNulls(const int64_t val) { - numNulls = val; - } + void __set_numNulls(const int64_t val); bool operator == (const BinaryColumnStatsData & rhs) const { @@ -2533,6 +2509,7 @@ class BinaryColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const BinaryColumnStatsData& obj); }; void swap(BinaryColumnStatsData &a, BinaryColumnStatsData &b); @@ -2544,21 +2521,18 @@ class Decimal { static const char* ascii_fingerprint; // = "C4DDF6759F9B17C5C380806CE743DE8E"; static const uint8_t binary_fingerprint[16]; // = {0xC4,0xDD,0xF6,0x75,0x9F,0x9B,0x17,0xC5,0xC3,0x80,0x80,0x6C,0xE7,0x43,0xDE,0x8E}; + Decimal(const Decimal&); + Decimal& operator=(const Decimal&); Decimal() : unscaled(), scale(0) { } - virtual ~Decimal() throw() {} - + virtual ~Decimal() throw(); std::string unscaled; int16_t scale; - void __set_unscaled(const std::string& val) { - unscaled = val; - } + void __set_unscaled(const std::string& val); - void __set_scale(const int16_t val) { - scale = val; - } + void __set_scale(const int16_t val); bool operator == (const Decimal & rhs) const { @@ -2577,14 +2551,15 @@ class Decimal { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Decimal& obj); }; void swap(Decimal &a, Decimal &b); typedef struct _DecimalColumnStatsData__isset { _DecimalColumnStatsData__isset() : lowValue(false), highValue(false) {} - bool lowValue; - bool highValue; + bool lowValue :1; + bool highValue :1; } _DecimalColumnStatsData__isset; class DecimalColumnStatsData { @@ -2593,11 +2568,12 @@ class DecimalColumnStatsData { static const char* ascii_fingerprint; // = "B6D47E7A28922BFA93FE05E9F1B04748"; static const uint8_t binary_fingerprint[16]; // = {0xB6,0xD4,0x7E,0x7A,0x28,0x92,0x2B,0xFA,0x93,0xFE,0x05,0xE9,0xF1,0xB0,0x47,0x48}; + DecimalColumnStatsData(const DecimalColumnStatsData&); + DecimalColumnStatsData& operator=(const DecimalColumnStatsData&); DecimalColumnStatsData() : numNulls(0), numDVs(0) { } - virtual ~DecimalColumnStatsData() throw() {} - + virtual ~DecimalColumnStatsData() throw(); Decimal lowValue; Decimal highValue; int64_t numNulls; @@ -2605,23 +2581,13 @@ class DecimalColumnStatsData { _DecimalColumnStatsData__isset __isset; - void __set_lowValue(const Decimal& val) { - lowValue = val; - __isset.lowValue = true; - } + void __set_lowValue(const Decimal& val); - void __set_highValue(const Decimal& val) { - highValue = val; - __isset.highValue = true; - } + void __set_highValue(const Decimal& val); - void __set_numNulls(const int64_t val) { - numNulls = val; - } + void __set_numNulls(const int64_t val); - void __set_numDVs(const int64_t val) { - numDVs = val; - } + void __set_numDVs(const int64_t val); bool operator == (const DecimalColumnStatsData & rhs) const { @@ -2648,6 +2614,7 @@ class DecimalColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const DecimalColumnStatsData& obj); }; void swap(DecimalColumnStatsData &a, DecimalColumnStatsData &b); @@ -2659,16 +2626,15 @@ class Date { static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; + Date(const Date&); + Date& operator=(const Date&); Date() : daysSinceEpoch(0) { } - virtual ~Date() throw() {} - + virtual ~Date() throw(); int64_t daysSinceEpoch; - void __set_daysSinceEpoch(const int64_t val) { - daysSinceEpoch = val; - } + void __set_daysSinceEpoch(const int64_t val); bool operator == (const Date & rhs) const { @@ -2685,14 +2651,15 @@ class Date { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Date& obj); }; void swap(Date &a, Date &b); typedef struct _DateColumnStatsData__isset { _DateColumnStatsData__isset() : lowValue(false), highValue(false) {} - bool lowValue; - bool highValue; + bool lowValue :1; + bool highValue :1; } _DateColumnStatsData__isset; class DateColumnStatsData { @@ -2701,11 +2668,12 @@ class DateColumnStatsData { static const char* ascii_fingerprint; // = "D0719F3BBA8248297BB5287552897F59"; static const uint8_t binary_fingerprint[16]; // = {0xD0,0x71,0x9F,0x3B,0xBA,0x82,0x48,0x29,0x7B,0xB5,0x28,0x75,0x52,0x89,0x7F,0x59}; + DateColumnStatsData(const DateColumnStatsData&); + DateColumnStatsData& operator=(const DateColumnStatsData&); DateColumnStatsData() : numNulls(0), numDVs(0) { } - virtual ~DateColumnStatsData() throw() {} - + virtual ~DateColumnStatsData() throw(); Date lowValue; Date highValue; int64_t numNulls; @@ -2713,23 +2681,13 @@ class DateColumnStatsData { _DateColumnStatsData__isset __isset; - void __set_lowValue(const Date& val) { - lowValue = val; - __isset.lowValue = true; - } + void __set_lowValue(const Date& val); - void __set_highValue(const Date& val) { - highValue = val; - __isset.highValue = true; - } + void __set_highValue(const Date& val); - void __set_numNulls(const int64_t val) { - numNulls = val; - } + void __set_numNulls(const int64_t val); - void __set_numDVs(const int64_t val) { - numDVs = val; - } + void __set_numDVs(const int64_t val); bool operator == (const DateColumnStatsData & rhs) const { @@ -2756,19 +2714,20 @@ class DateColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const DateColumnStatsData& obj); }; void swap(DateColumnStatsData &a, DateColumnStatsData &b); typedef struct _ColumnStatisticsData__isset { _ColumnStatisticsData__isset() : booleanStats(false), longStats(false), doubleStats(false), stringStats(false), binaryStats(false), decimalStats(false), dateStats(false) {} - bool booleanStats; - bool longStats; - bool doubleStats; - bool stringStats; - bool binaryStats; - bool decimalStats; - bool dateStats; + bool booleanStats :1; + bool longStats :1; + bool doubleStats :1; + bool stringStats :1; + bool binaryStats :1; + bool decimalStats :1; + bool dateStats :1; } _ColumnStatisticsData__isset; class ColumnStatisticsData { @@ -2777,11 +2736,12 @@ class ColumnStatisticsData { static const char* ascii_fingerprint; // = "15E449CA15A23E37F2D54C31ACA52106"; static const uint8_t binary_fingerprint[16]; // = {0x15,0xE4,0x49,0xCA,0x15,0xA2,0x3E,0x37,0xF2,0xD5,0x4C,0x31,0xAC,0xA5,0x21,0x06}; + ColumnStatisticsData(const ColumnStatisticsData&); + ColumnStatisticsData& operator=(const ColumnStatisticsData&); ColumnStatisticsData() { } - virtual ~ColumnStatisticsData() throw() {} - + virtual ~ColumnStatisticsData() throw(); BooleanColumnStatsData booleanStats; LongColumnStatsData longStats; DoubleColumnStatsData doubleStats; @@ -2792,33 +2752,19 @@ class ColumnStatisticsData { _ColumnStatisticsData__isset __isset; - void __set_booleanStats(const BooleanColumnStatsData& val) { - booleanStats = val; - } + void __set_booleanStats(const BooleanColumnStatsData& val); - void __set_longStats(const LongColumnStatsData& val) { - longStats = val; - } + void __set_longStats(const LongColumnStatsData& val); - void __set_doubleStats(const DoubleColumnStatsData& val) { - doubleStats = val; - } + void __set_doubleStats(const DoubleColumnStatsData& val); - void __set_stringStats(const StringColumnStatsData& val) { - stringStats = val; - } + void __set_stringStats(const StringColumnStatsData& val); - void __set_binaryStats(const BinaryColumnStatsData& val) { - binaryStats = val; - } + void __set_binaryStats(const BinaryColumnStatsData& val); - void __set_decimalStats(const DecimalColumnStatsData& val) { - decimalStats = val; - } + void __set_decimalStats(const DecimalColumnStatsData& val); - void __set_dateStats(const DateColumnStatsData& val) { - dateStats = val; - } + void __set_dateStats(const DateColumnStatsData& val); bool operator == (const ColumnStatisticsData & rhs) const { @@ -2847,6 +2793,7 @@ class ColumnStatisticsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ColumnStatisticsData& obj); }; void swap(ColumnStatisticsData &a, ColumnStatisticsData &b); @@ -2858,26 +2805,21 @@ class ColumnStatisticsObj { static const char* ascii_fingerprint; // = "A82BA819C9FFEDDEBC0D50F6F4E46534"; static const uint8_t binary_fingerprint[16]; // = {0xA8,0x2B,0xA8,0x19,0xC9,0xFF,0xED,0xDE,0xBC,0x0D,0x50,0xF6,0xF4,0xE4,0x65,0x34}; + ColumnStatisticsObj(const ColumnStatisticsObj&); + ColumnStatisticsObj& operator=(const ColumnStatisticsObj&); ColumnStatisticsObj() : colName(), colType() { } - virtual ~ColumnStatisticsObj() throw() {} - + virtual ~ColumnStatisticsObj() throw(); std::string colName; std::string colType; ColumnStatisticsData statsData; - void __set_colName(const std::string& val) { - colName = val; - } + void __set_colName(const std::string& val); - void __set_colType(const std::string& val) { - colType = val; - } + void __set_colType(const std::string& val); - void __set_statsData(const ColumnStatisticsData& val) { - statsData = val; - } + void __set_statsData(const ColumnStatisticsData& val); bool operator == (const ColumnStatisticsObj & rhs) const { @@ -2898,14 +2840,15 @@ class ColumnStatisticsObj { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ColumnStatisticsObj& obj); }; void swap(ColumnStatisticsObj &a, ColumnStatisticsObj &b); typedef struct _ColumnStatisticsDesc__isset { _ColumnStatisticsDesc__isset() : partName(false), lastAnalyzed(false) {} - bool partName; - bool lastAnalyzed; + bool partName :1; + bool lastAnalyzed :1; } _ColumnStatisticsDesc__isset; class ColumnStatisticsDesc { @@ -2914,11 +2857,12 @@ class ColumnStatisticsDesc { static const char* ascii_fingerprint; // = "261759FF6F8FAB53F941453007FE18CB"; static const uint8_t binary_fingerprint[16]; // = {0x26,0x17,0x59,0xFF,0x6F,0x8F,0xAB,0x53,0xF9,0x41,0x45,0x30,0x07,0xFE,0x18,0xCB}; + ColumnStatisticsDesc(const ColumnStatisticsDesc&); + ColumnStatisticsDesc& operator=(const ColumnStatisticsDesc&); ColumnStatisticsDesc() : isTblLevel(0), dbName(), tableName(), partName(), lastAnalyzed(0) { } - virtual ~ColumnStatisticsDesc() throw() {} - + virtual ~ColumnStatisticsDesc() throw(); bool isTblLevel; std::string dbName; std::string tableName; @@ -2927,27 +2871,15 @@ class ColumnStatisticsDesc { _ColumnStatisticsDesc__isset __isset; - void __set_isTblLevel(const bool val) { - isTblLevel = val; - } + void __set_isTblLevel(const bool val); - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_tableName(const std::string& val) { - tableName = val; - } + void __set_tableName(const std::string& val); - void __set_partName(const std::string& val) { - partName = val; - __isset.partName = true; - } + void __set_partName(const std::string& val); - void __set_lastAnalyzed(const int64_t val) { - lastAnalyzed = val; - __isset.lastAnalyzed = true; - } + void __set_lastAnalyzed(const int64_t val); bool operator == (const ColumnStatisticsDesc & rhs) const { @@ -2976,6 +2908,7 @@ class ColumnStatisticsDesc { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ColumnStatisticsDesc& obj); }; void swap(ColumnStatisticsDesc &a, ColumnStatisticsDesc &b); @@ -2987,21 +2920,18 @@ class ColumnStatistics { static const char* ascii_fingerprint; // = "8A64D0A67FFD3A372726A320B3913D5A"; static const uint8_t binary_fingerprint[16]; // = {0x8A,0x64,0xD0,0xA6,0x7F,0xFD,0x3A,0x37,0x27,0x26,0xA3,0x20,0xB3,0x91,0x3D,0x5A}; + ColumnStatistics(const ColumnStatistics&); + ColumnStatistics& operator=(const ColumnStatistics&); ColumnStatistics() { } - virtual ~ColumnStatistics() throw() {} - + virtual ~ColumnStatistics() throw(); ColumnStatisticsDesc statsDesc; std::vector statsObj; - void __set_statsDesc(const ColumnStatisticsDesc& val) { - statsDesc = val; - } + void __set_statsDesc(const ColumnStatisticsDesc& val); - void __set_statsObj(const std::vector & val) { - statsObj = val; - } + void __set_statsObj(const std::vector & val); bool operator == (const ColumnStatistics & rhs) const { @@ -3020,6 +2950,7 @@ class ColumnStatistics { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ColumnStatistics& obj); }; void swap(ColumnStatistics &a, ColumnStatistics &b); @@ -3031,21 +2962,18 @@ class AggrStats { static const char* ascii_fingerprint; // = "1FC765A3AB2954591C14B0D946778213"; static const uint8_t binary_fingerprint[16]; // = {0x1F,0xC7,0x65,0xA3,0xAB,0x29,0x54,0x59,0x1C,0x14,0xB0,0xD9,0x46,0x77,0x82,0x13}; + AggrStats(const AggrStats&); + AggrStats& operator=(const AggrStats&); AggrStats() : partsFound(0) { } - virtual ~AggrStats() throw() {} - + virtual ~AggrStats() throw(); std::vector colStats; int64_t partsFound; - void __set_colStats(const std::vector & val) { - colStats = val; - } + void __set_colStats(const std::vector & val); - void __set_partsFound(const int64_t val) { - partsFound = val; - } + void __set_partsFound(const int64_t val); bool operator == (const AggrStats & rhs) const { @@ -3064,6 +2992,7 @@ class AggrStats { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const AggrStats& obj); }; void swap(AggrStats &a, AggrStats &b); @@ -3075,16 +3004,15 @@ class SetPartitionsStatsRequest { static const char* ascii_fingerprint; // = "8BCBF2CE9E942D0FB7D8F4ED57D8DC27"; static const uint8_t binary_fingerprint[16]; // = {0x8B,0xCB,0xF2,0xCE,0x9E,0x94,0x2D,0x0F,0xB7,0xD8,0xF4,0xED,0x57,0xD8,0xDC,0x27}; + SetPartitionsStatsRequest(const SetPartitionsStatsRequest&); + SetPartitionsStatsRequest& operator=(const SetPartitionsStatsRequest&); SetPartitionsStatsRequest() { } - virtual ~SetPartitionsStatsRequest() throw() {} - + virtual ~SetPartitionsStatsRequest() throw(); std::vector colStats; - void __set_colStats(const std::vector & val) { - colStats = val; - } + void __set_colStats(const std::vector & val); bool operator == (const SetPartitionsStatsRequest & rhs) const { @@ -3101,14 +3029,15 @@ class SetPartitionsStatsRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const SetPartitionsStatsRequest& obj); }; void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b); typedef struct _Schema__isset { _Schema__isset() : fieldSchemas(false), properties(false) {} - bool fieldSchemas; - bool properties; + bool fieldSchemas :1; + bool properties :1; } _Schema__isset; class Schema { @@ -3117,23 +3046,20 @@ class Schema { static const char* ascii_fingerprint; // = "5CFEE46C975F4E2368D905109B8E3B5B"; static const uint8_t binary_fingerprint[16]; // = {0x5C,0xFE,0xE4,0x6C,0x97,0x5F,0x4E,0x23,0x68,0xD9,0x05,0x10,0x9B,0x8E,0x3B,0x5B}; + Schema(const Schema&); + Schema& operator=(const Schema&); Schema() { } - virtual ~Schema() throw() {} - + virtual ~Schema() throw(); std::vector fieldSchemas; std::map properties; _Schema__isset __isset; - void __set_fieldSchemas(const std::vector & val) { - fieldSchemas = val; - } + void __set_fieldSchemas(const std::vector & val); - void __set_properties(const std::map & val) { - properties = val; - } + void __set_properties(const std::map & val); bool operator == (const Schema & rhs) const { @@ -3152,13 +3078,14 @@ class Schema { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Schema& obj); }; void swap(Schema &a, Schema &b); typedef struct _EnvironmentContext__isset { _EnvironmentContext__isset() : properties(false) {} - bool properties; + bool properties :1; } _EnvironmentContext__isset; class EnvironmentContext { @@ -3167,18 +3094,17 @@ class EnvironmentContext { static const char* ascii_fingerprint; // = "5EA2D527ECA3BA20C77AFC023EE8C05F"; static const uint8_t binary_fingerprint[16]; // = {0x5E,0xA2,0xD5,0x27,0xEC,0xA3,0xBA,0x20,0xC7,0x7A,0xFC,0x02,0x3E,0xE8,0xC0,0x5F}; + EnvironmentContext(const EnvironmentContext&); + EnvironmentContext& operator=(const EnvironmentContext&); EnvironmentContext() { } - virtual ~EnvironmentContext() throw() {} - + virtual ~EnvironmentContext() throw(); std::map properties; _EnvironmentContext__isset __isset; - void __set_properties(const std::map & val) { - properties = val; - } + void __set_properties(const std::map & val); bool operator == (const EnvironmentContext & rhs) const { @@ -3195,6 +3121,7 @@ class EnvironmentContext { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const EnvironmentContext& obj); }; void swap(EnvironmentContext &a, EnvironmentContext &b); @@ -3206,21 +3133,18 @@ class PartitionsByExprResult { static const char* ascii_fingerprint; // = "40B789CC91B508FE36600A14E3F80425"; static const uint8_t binary_fingerprint[16]; // = {0x40,0xB7,0x89,0xCC,0x91,0xB5,0x08,0xFE,0x36,0x60,0x0A,0x14,0xE3,0xF8,0x04,0x25}; + PartitionsByExprResult(const PartitionsByExprResult&); + PartitionsByExprResult& operator=(const PartitionsByExprResult&); PartitionsByExprResult() : hasUnknownPartitions(0) { } - virtual ~PartitionsByExprResult() throw() {} - + virtual ~PartitionsByExprResult() throw(); std::vector partitions; bool hasUnknownPartitions; - void __set_partitions(const std::vector & val) { - partitions = val; - } + void __set_partitions(const std::vector & val); - void __set_hasUnknownPartitions(const bool val) { - hasUnknownPartitions = val; - } + void __set_hasUnknownPartitions(const bool val); bool operator == (const PartitionsByExprResult & rhs) const { @@ -3239,14 +3163,15 @@ class PartitionsByExprResult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PartitionsByExprResult& obj); }; void swap(PartitionsByExprResult &a, PartitionsByExprResult &b); typedef struct _PartitionsByExprRequest__isset { _PartitionsByExprRequest__isset() : defaultPartitionName(false), maxParts(true) {} - bool defaultPartitionName; - bool maxParts; + bool defaultPartitionName :1; + bool maxParts :1; } _PartitionsByExprRequest__isset; class PartitionsByExprRequest { @@ -3255,11 +3180,12 @@ class PartitionsByExprRequest { static const char* ascii_fingerprint; // = "835944417A026FE6ABD0DF5A35BF52C5"; static const uint8_t binary_fingerprint[16]; // = {0x83,0x59,0x44,0x41,0x7A,0x02,0x6F,0xE6,0xAB,0xD0,0xDF,0x5A,0x35,0xBF,0x52,0xC5}; + PartitionsByExprRequest(const PartitionsByExprRequest&); + PartitionsByExprRequest& operator=(const PartitionsByExprRequest&); PartitionsByExprRequest() : dbName(), tblName(), expr(), defaultPartitionName(), maxParts(-1) { } - virtual ~PartitionsByExprRequest() throw() {} - + virtual ~PartitionsByExprRequest() throw(); std::string dbName; std::string tblName; std::string expr; @@ -3268,27 +3194,15 @@ class PartitionsByExprRequest { _PartitionsByExprRequest__isset __isset; - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_tblName(const std::string& val) { - tblName = val; - } + void __set_tblName(const std::string& val); - void __set_expr(const std::string& val) { - expr = val; - } + void __set_expr(const std::string& val); - void __set_defaultPartitionName(const std::string& val) { - defaultPartitionName = val; - __isset.defaultPartitionName = true; - } + void __set_defaultPartitionName(const std::string& val); - void __set_maxParts(const int16_t val) { - maxParts = val; - __isset.maxParts = true; - } + void __set_maxParts(const int16_t val); bool operator == (const PartitionsByExprRequest & rhs) const { @@ -3317,6 +3231,7 @@ class PartitionsByExprRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PartitionsByExprRequest& obj); }; void swap(PartitionsByExprRequest &a, PartitionsByExprRequest &b); @@ -3328,16 +3243,15 @@ class TableStatsResult { static const char* ascii_fingerprint; // = "2E398BAC949C93A194F1A19CA5074FF8"; static const uint8_t binary_fingerprint[16]; // = {0x2E,0x39,0x8B,0xAC,0x94,0x9C,0x93,0xA1,0x94,0xF1,0xA1,0x9C,0xA5,0x07,0x4F,0xF8}; + TableStatsResult(const TableStatsResult&); + TableStatsResult& operator=(const TableStatsResult&); TableStatsResult() { } - virtual ~TableStatsResult() throw() {} - + virtual ~TableStatsResult() throw(); std::vector tableStats; - void __set_tableStats(const std::vector & val) { - tableStats = val; - } + void __set_tableStats(const std::vector & val); bool operator == (const TableStatsResult & rhs) const { @@ -3354,6 +3268,7 @@ class TableStatsResult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TableStatsResult& obj); }; void swap(TableStatsResult &a, TableStatsResult &b); @@ -3365,16 +3280,15 @@ class PartitionsStatsResult { static const char* ascii_fingerprint; // = "DD38B4AA7D02E288659AA12CBAAEF33B"; static const uint8_t binary_fingerprint[16]; // = {0xDD,0x38,0xB4,0xAA,0x7D,0x02,0xE2,0x88,0x65,0x9A,0xA1,0x2C,0xBA,0xAE,0xF3,0x3B}; + PartitionsStatsResult(const PartitionsStatsResult&); + PartitionsStatsResult& operator=(const PartitionsStatsResult&); PartitionsStatsResult() { } - virtual ~PartitionsStatsResult() throw() {} - + virtual ~PartitionsStatsResult() throw(); std::map > partStats; - void __set_partStats(const std::map > & val) { - partStats = val; - } + void __set_partStats(const std::map > & val); bool operator == (const PartitionsStatsResult & rhs) const { @@ -3391,6 +3305,7 @@ class PartitionsStatsResult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PartitionsStatsResult& obj); }; void swap(PartitionsStatsResult &a, PartitionsStatsResult &b); @@ -3402,26 +3317,21 @@ class TableStatsRequest { static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; + TableStatsRequest(const TableStatsRequest&); + TableStatsRequest& operator=(const TableStatsRequest&); TableStatsRequest() : dbName(), tblName() { } - virtual ~TableStatsRequest() throw() {} - + virtual ~TableStatsRequest() throw(); std::string dbName; std::string tblName; std::vector colNames; - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_tblName(const std::string& val) { - tblName = val; - } + void __set_tblName(const std::string& val); - void __set_colNames(const std::vector & val) { - colNames = val; - } + void __set_colNames(const std::vector & val); bool operator == (const TableStatsRequest & rhs) const { @@ -3442,6 +3352,7 @@ class TableStatsRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TableStatsRequest& obj); }; void swap(TableStatsRequest &a, TableStatsRequest &b); @@ -3453,31 +3364,24 @@ class PartitionsStatsRequest { static const char* ascii_fingerprint; // = "5F51D90BC323BCE4B704B7D98EDA0BD4"; static const uint8_t binary_fingerprint[16]; // = {0x5F,0x51,0xD9,0x0B,0xC3,0x23,0xBC,0xE4,0xB7,0x04,0xB7,0xD9,0x8E,0xDA,0x0B,0xD4}; + PartitionsStatsRequest(const PartitionsStatsRequest&); + PartitionsStatsRequest& operator=(const PartitionsStatsRequest&); PartitionsStatsRequest() : dbName(), tblName() { } - virtual ~PartitionsStatsRequest() throw() {} - + virtual ~PartitionsStatsRequest() throw(); std::string dbName; std::string tblName; std::vector colNames; std::vector partNames; - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_tblName(const std::string& val) { - tblName = val; - } + void __set_tblName(const std::string& val); - void __set_colNames(const std::vector & val) { - colNames = val; - } + void __set_colNames(const std::vector & val); - void __set_partNames(const std::vector & val) { - partNames = val; - } + void __set_partNames(const std::vector & val); bool operator == (const PartitionsStatsRequest & rhs) const { @@ -3500,13 +3404,14 @@ class PartitionsStatsRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PartitionsStatsRequest& obj); }; void swap(PartitionsStatsRequest &a, PartitionsStatsRequest &b); typedef struct _AddPartitionsResult__isset { _AddPartitionsResult__isset() : partitions(false) {} - bool partitions; + bool partitions :1; } _AddPartitionsResult__isset; class AddPartitionsResult { @@ -3515,19 +3420,17 @@ class AddPartitionsResult { static const char* ascii_fingerprint; // = "5A689D0823E7BFBB60C799BA60065C31"; static const uint8_t binary_fingerprint[16]; // = {0x5A,0x68,0x9D,0x08,0x23,0xE7,0xBF,0xBB,0x60,0xC7,0x99,0xBA,0x60,0x06,0x5C,0x31}; + AddPartitionsResult(const AddPartitionsResult&); + AddPartitionsResult& operator=(const AddPartitionsResult&); AddPartitionsResult() { } - virtual ~AddPartitionsResult() throw() {} - + virtual ~AddPartitionsResult() throw(); std::vector partitions; _AddPartitionsResult__isset __isset; - void __set_partitions(const std::vector & val) { - partitions = val; - __isset.partitions = true; - } + void __set_partitions(const std::vector & val); bool operator == (const AddPartitionsResult & rhs) const { @@ -3546,13 +3449,14 @@ class AddPartitionsResult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const AddPartitionsResult& obj); }; void swap(AddPartitionsResult &a, AddPartitionsResult &b); typedef struct _AddPartitionsRequest__isset { _AddPartitionsRequest__isset() : needResult(true) {} - bool needResult; + bool needResult :1; } _AddPartitionsRequest__isset; class AddPartitionsRequest { @@ -3561,11 +3465,12 @@ class AddPartitionsRequest { static const char* ascii_fingerprint; // = "94F938D035892CF6873DEDB99358F069"; static const uint8_t binary_fingerprint[16]; // = {0x94,0xF9,0x38,0xD0,0x35,0x89,0x2C,0xF6,0x87,0x3D,0xED,0xB9,0x93,0x58,0xF0,0x69}; + AddPartitionsRequest(const AddPartitionsRequest&); + AddPartitionsRequest& operator=(const AddPartitionsRequest&); AddPartitionsRequest() : dbName(), tblName(), ifNotExists(0), needResult(true) { } - virtual ~AddPartitionsRequest() throw() {} - + virtual ~AddPartitionsRequest() throw(); std::string dbName; std::string tblName; std::vector parts; @@ -3574,26 +3479,15 @@ class AddPartitionsRequest { _AddPartitionsRequest__isset __isset; - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_tblName(const std::string& val) { - tblName = val; - } + void __set_tblName(const std::string& val); - void __set_parts(const std::vector & val) { - parts = val; - } + void __set_parts(const std::vector & val); - void __set_ifNotExists(const bool val) { - ifNotExists = val; - } + void __set_ifNotExists(const bool val); - void __set_needResult(const bool val) { - needResult = val; - __isset.needResult = true; - } + void __set_needResult(const bool val); bool operator == (const AddPartitionsRequest & rhs) const { @@ -3620,13 +3514,14 @@ class AddPartitionsRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const AddPartitionsRequest& obj); }; void swap(AddPartitionsRequest &a, AddPartitionsRequest &b); typedef struct _DropPartitionsResult__isset { _DropPartitionsResult__isset() : partitions(false) {} - bool partitions; + bool partitions :1; } _DropPartitionsResult__isset; class DropPartitionsResult { @@ -3635,19 +3530,17 @@ class DropPartitionsResult { static const char* ascii_fingerprint; // = "5A689D0823E7BFBB60C799BA60065C31"; static const uint8_t binary_fingerprint[16]; // = {0x5A,0x68,0x9D,0x08,0x23,0xE7,0xBF,0xBB,0x60,0xC7,0x99,0xBA,0x60,0x06,0x5C,0x31}; + DropPartitionsResult(const DropPartitionsResult&); + DropPartitionsResult& operator=(const DropPartitionsResult&); DropPartitionsResult() { } - virtual ~DropPartitionsResult() throw() {} - + virtual ~DropPartitionsResult() throw(); std::vector partitions; _DropPartitionsResult__isset __isset; - void __set_partitions(const std::vector & val) { - partitions = val; - __isset.partitions = true; - } + void __set_partitions(const std::vector & val); bool operator == (const DropPartitionsResult & rhs) const { @@ -3666,13 +3559,14 @@ class DropPartitionsResult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const DropPartitionsResult& obj); }; void swap(DropPartitionsResult &a, DropPartitionsResult &b); typedef struct _DropPartitionsExpr__isset { _DropPartitionsExpr__isset() : partArchiveLevel(false) {} - bool partArchiveLevel; + bool partArchiveLevel :1; } _DropPartitionsExpr__isset; class DropPartitionsExpr { @@ -3681,24 +3575,20 @@ class DropPartitionsExpr { static const char* ascii_fingerprint; // = "18B162B1D15D8D46509D3911A9F1C2AA"; static const uint8_t binary_fingerprint[16]; // = {0x18,0xB1,0x62,0xB1,0xD1,0x5D,0x8D,0x46,0x50,0x9D,0x39,0x11,0xA9,0xF1,0xC2,0xAA}; + DropPartitionsExpr(const DropPartitionsExpr&); + DropPartitionsExpr& operator=(const DropPartitionsExpr&); DropPartitionsExpr() : expr(), partArchiveLevel(0) { } - virtual ~DropPartitionsExpr() throw() {} - + virtual ~DropPartitionsExpr() throw(); std::string expr; int32_t partArchiveLevel; _DropPartitionsExpr__isset __isset; - void __set_expr(const std::string& val) { - expr = val; - } + void __set_expr(const std::string& val); - void __set_partArchiveLevel(const int32_t val) { - partArchiveLevel = val; - __isset.partArchiveLevel = true; - } + void __set_partArchiveLevel(const int32_t val); bool operator == (const DropPartitionsExpr & rhs) const { @@ -3719,14 +3609,15 @@ class DropPartitionsExpr { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const DropPartitionsExpr& obj); }; void swap(DropPartitionsExpr &a, DropPartitionsExpr &b); typedef struct _RequestPartsSpec__isset { _RequestPartsSpec__isset() : names(false), exprs(false) {} - bool names; - bool exprs; + bool names :1; + bool exprs :1; } _RequestPartsSpec__isset; class RequestPartsSpec { @@ -3735,23 +3626,20 @@ class RequestPartsSpec { static const char* ascii_fingerprint; // = "864492ECAB27996CD222AACDA10C292E"; static const uint8_t binary_fingerprint[16]; // = {0x86,0x44,0x92,0xEC,0xAB,0x27,0x99,0x6C,0xD2,0x22,0xAA,0xCD,0xA1,0x0C,0x29,0x2E}; + RequestPartsSpec(const RequestPartsSpec&); + RequestPartsSpec& operator=(const RequestPartsSpec&); RequestPartsSpec() { } - virtual ~RequestPartsSpec() throw() {} - + virtual ~RequestPartsSpec() throw(); std::vector names; std::vector exprs; _RequestPartsSpec__isset __isset; - void __set_names(const std::vector & val) { - names = val; - } + void __set_names(const std::vector & val); - void __set_exprs(const std::vector & val) { - exprs = val; - } + void __set_exprs(const std::vector & val); bool operator == (const RequestPartsSpec & rhs) const { @@ -3770,17 +3658,18 @@ class RequestPartsSpec { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const RequestPartsSpec& obj); }; void swap(RequestPartsSpec &a, RequestPartsSpec &b); typedef struct _DropPartitionsRequest__isset { _DropPartitionsRequest__isset() : deleteData(false), ifExists(true), ignoreProtection(false), environmentContext(false), needResult(true) {} - bool deleteData; - bool ifExists; - bool ignoreProtection; - bool environmentContext; - bool needResult; + bool deleteData :1; + bool ifExists :1; + bool ignoreProtection :1; + bool environmentContext :1; + bool needResult :1; } _DropPartitionsRequest__isset; class DropPartitionsRequest { @@ -3789,11 +3678,12 @@ class DropPartitionsRequest { static const char* ascii_fingerprint; // = "EB263FBA01215C480A9A24C11D69E672"; static const uint8_t binary_fingerprint[16]; // = {0xEB,0x26,0x3F,0xBA,0x01,0x21,0x5C,0x48,0x0A,0x9A,0x24,0xC1,0x1D,0x69,0xE6,0x72}; + DropPartitionsRequest(const DropPartitionsRequest&); + DropPartitionsRequest& operator=(const DropPartitionsRequest&); DropPartitionsRequest() : dbName(), tblName(), deleteData(0), ifExists(true), ignoreProtection(0), needResult(true) { } - virtual ~DropPartitionsRequest() throw() {} - + virtual ~DropPartitionsRequest() throw(); std::string dbName; std::string tblName; RequestPartsSpec parts; @@ -3805,42 +3695,21 @@ class DropPartitionsRequest { _DropPartitionsRequest__isset __isset; - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_tblName(const std::string& val) { - tblName = val; - } + void __set_tblName(const std::string& val); - void __set_parts(const RequestPartsSpec& val) { - parts = val; - } + void __set_parts(const RequestPartsSpec& val); - void __set_deleteData(const bool val) { - deleteData = val; - __isset.deleteData = true; - } + void __set_deleteData(const bool val); - void __set_ifExists(const bool val) { - ifExists = val; - __isset.ifExists = true; - } + void __set_ifExists(const bool val); - void __set_ignoreProtection(const bool val) { - ignoreProtection = val; - __isset.ignoreProtection = true; - } + void __set_ignoreProtection(const bool val); - void __set_environmentContext(const EnvironmentContext& val) { - environmentContext = val; - __isset.environmentContext = true; - } + void __set_environmentContext(const EnvironmentContext& val); - void __set_needResult(const bool val) { - needResult = val; - __isset.needResult = true; - } + void __set_needResult(const bool val); bool operator == (const DropPartitionsRequest & rhs) const { @@ -3881,14 +3750,15 @@ class DropPartitionsRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const DropPartitionsRequest& obj); }; void swap(DropPartitionsRequest &a, DropPartitionsRequest &b); typedef struct _ResourceUri__isset { _ResourceUri__isset() : resourceType(false), uri(false) {} - bool resourceType; - bool uri; + bool resourceType :1; + bool uri :1; } _ResourceUri__isset; class ResourceUri { @@ -3897,23 +3767,20 @@ class ResourceUri { static const char* ascii_fingerprint; // = "19B5240589E680301A7E32DF3971EFBE"; static const uint8_t binary_fingerprint[16]; // = {0x19,0xB5,0x24,0x05,0x89,0xE6,0x80,0x30,0x1A,0x7E,0x32,0xDF,0x39,0x71,0xEF,0xBE}; + ResourceUri(const ResourceUri&); + ResourceUri& operator=(const ResourceUri&); ResourceUri() : resourceType((ResourceType::type)0), uri() { } - virtual ~ResourceUri() throw() {} - + virtual ~ResourceUri() throw(); ResourceType::type resourceType; std::string uri; _ResourceUri__isset __isset; - void __set_resourceType(const ResourceType::type val) { - resourceType = val; - } + void __set_resourceType(const ResourceType::type val); - void __set_uri(const std::string& val) { - uri = val; - } + void __set_uri(const std::string& val); bool operator == (const ResourceUri & rhs) const { @@ -3932,20 +3799,21 @@ class ResourceUri { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ResourceUri& obj); }; void swap(ResourceUri &a, ResourceUri &b); typedef struct _Function__isset { _Function__isset() : functionName(false), dbName(false), className(false), ownerName(false), ownerType(false), createTime(false), functionType(false), resourceUris(false) {} - bool functionName; - bool dbName; - bool className; - bool ownerName; - bool ownerType; - bool createTime; - bool functionType; - bool resourceUris; + bool functionName :1; + bool dbName :1; + bool className :1; + bool ownerName :1; + bool ownerType :1; + bool createTime :1; + bool functionType :1; + bool resourceUris :1; } _Function__isset; class Function { @@ -3954,11 +3822,12 @@ class Function { static const char* ascii_fingerprint; // = "72279C515E70F888568542F97616ADB8"; static const uint8_t binary_fingerprint[16]; // = {0x72,0x27,0x9C,0x51,0x5E,0x70,0xF8,0x88,0x56,0x85,0x42,0xF9,0x76,0x16,0xAD,0xB8}; + Function(const Function&); + Function& operator=(const Function&); Function() : functionName(), dbName(), className(), ownerName(), ownerType((PrincipalType::type)0), createTime(0), functionType((FunctionType::type)0) { } - virtual ~Function() throw() {} - + virtual ~Function() throw(); std::string functionName; std::string dbName; std::string className; @@ -3970,37 +3839,21 @@ class Function { _Function__isset __isset; - void __set_functionName(const std::string& val) { - functionName = val; - } + void __set_functionName(const std::string& val); - void __set_dbName(const std::string& val) { - dbName = val; - } + void __set_dbName(const std::string& val); - void __set_className(const std::string& val) { - className = val; - } + void __set_className(const std::string& val); - void __set_ownerName(const std::string& val) { - ownerName = val; - } + void __set_ownerName(const std::string& val); - void __set_ownerType(const PrincipalType::type val) { - ownerType = val; - } + void __set_ownerType(const PrincipalType::type val); - void __set_createTime(const int32_t val) { - createTime = val; - } + void __set_createTime(const int32_t val); - void __set_functionType(const FunctionType::type val) { - functionType = val; - } + void __set_functionType(const FunctionType::type val); - void __set_resourceUris(const std::vector & val) { - resourceUris = val; - } + void __set_resourceUris(const std::vector & val); bool operator == (const Function & rhs) const { @@ -4031,6 +3884,7 @@ class Function { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Function& obj); }; void swap(Function &a, Function &b); @@ -4042,31 +3896,24 @@ class TxnInfo { static const char* ascii_fingerprint; // = "6C5C0773A901CCA3BE9D085B3B47A767"; static const uint8_t binary_fingerprint[16]; // = {0x6C,0x5C,0x07,0x73,0xA9,0x01,0xCC,0xA3,0xBE,0x9D,0x08,0x5B,0x3B,0x47,0xA7,0x67}; + TxnInfo(const TxnInfo&); + TxnInfo& operator=(const TxnInfo&); TxnInfo() : id(0), state((TxnState::type)0), user(), hostname() { } - virtual ~TxnInfo() throw() {} - + virtual ~TxnInfo() throw(); int64_t id; TxnState::type state; std::string user; std::string hostname; - void __set_id(const int64_t val) { - id = val; - } + void __set_id(const int64_t val); - void __set_state(const TxnState::type val) { - state = val; - } + void __set_state(const TxnState::type val); - void __set_user(const std::string& val) { - user = val; - } + void __set_user(const std::string& val); - void __set_hostname(const std::string& val) { - hostname = val; - } + void __set_hostname(const std::string& val); bool operator == (const TxnInfo & rhs) const { @@ -4089,6 +3936,7 @@ class TxnInfo { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TxnInfo& obj); }; void swap(TxnInfo &a, TxnInfo &b); @@ -4100,21 +3948,18 @@ class GetOpenTxnsInfoResponse { static const char* ascii_fingerprint; // = "CCF769BBD33005B61F2079A6665E3B9C"; static const uint8_t binary_fingerprint[16]; // = {0xCC,0xF7,0x69,0xBB,0xD3,0x30,0x05,0xB6,0x1F,0x20,0x79,0xA6,0x66,0x5E,0x3B,0x9C}; + GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse&); + GetOpenTxnsInfoResponse& operator=(const GetOpenTxnsInfoResponse&); GetOpenTxnsInfoResponse() : txn_high_water_mark(0) { } - virtual ~GetOpenTxnsInfoResponse() throw() {} - + virtual ~GetOpenTxnsInfoResponse() throw(); int64_t txn_high_water_mark; std::vector open_txns; - void __set_txn_high_water_mark(const int64_t val) { - txn_high_water_mark = val; - } + void __set_txn_high_water_mark(const int64_t val); - void __set_open_txns(const std::vector & val) { - open_txns = val; - } + void __set_open_txns(const std::vector & val); bool operator == (const GetOpenTxnsInfoResponse & rhs) const { @@ -4133,6 +3978,7 @@ class GetOpenTxnsInfoResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const GetOpenTxnsInfoResponse& obj); }; void swap(GetOpenTxnsInfoResponse &a, GetOpenTxnsInfoResponse &b); @@ -4144,21 +3990,18 @@ class GetOpenTxnsResponse { static const char* ascii_fingerprint; // = "590531FF1BE8611678B255374F6109EE"; static const uint8_t binary_fingerprint[16]; // = {0x59,0x05,0x31,0xFF,0x1B,0xE8,0x61,0x16,0x78,0xB2,0x55,0x37,0x4F,0x61,0x09,0xEE}; + GetOpenTxnsResponse(const GetOpenTxnsResponse&); + GetOpenTxnsResponse& operator=(const GetOpenTxnsResponse&); GetOpenTxnsResponse() : txn_high_water_mark(0) { } - virtual ~GetOpenTxnsResponse() throw() {} - + virtual ~GetOpenTxnsResponse() throw(); int64_t txn_high_water_mark; std::set open_txns; - void __set_txn_high_water_mark(const int64_t val) { - txn_high_water_mark = val; - } + void __set_txn_high_water_mark(const int64_t val); - void __set_open_txns(const std::set & val) { - open_txns = val; - } + void __set_open_txns(const std::set & val); bool operator == (const GetOpenTxnsResponse & rhs) const { @@ -4177,6 +4020,7 @@ class GetOpenTxnsResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const GetOpenTxnsResponse& obj); }; void swap(GetOpenTxnsResponse &a, GetOpenTxnsResponse &b); @@ -4188,26 +4032,21 @@ class OpenTxnRequest { static const char* ascii_fingerprint; // = "3368C2F81F2FEF71F11EDACDB2A3ECEF"; static const uint8_t binary_fingerprint[16]; // = {0x33,0x68,0xC2,0xF8,0x1F,0x2F,0xEF,0x71,0xF1,0x1E,0xDA,0xCD,0xB2,0xA3,0xEC,0xEF}; + OpenTxnRequest(const OpenTxnRequest&); + OpenTxnRequest& operator=(const OpenTxnRequest&); OpenTxnRequest() : num_txns(0), user(), hostname() { } - virtual ~OpenTxnRequest() throw() {} - + virtual ~OpenTxnRequest() throw(); int32_t num_txns; std::string user; std::string hostname; - void __set_num_txns(const int32_t val) { - num_txns = val; - } + void __set_num_txns(const int32_t val); - void __set_user(const std::string& val) { - user = val; - } + void __set_user(const std::string& val); - void __set_hostname(const std::string& val) { - hostname = val; - } + void __set_hostname(const std::string& val); bool operator == (const OpenTxnRequest & rhs) const { @@ -4228,6 +4067,7 @@ class OpenTxnRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const OpenTxnRequest& obj); }; void swap(OpenTxnRequest &a, OpenTxnRequest &b); @@ -4239,16 +4079,15 @@ class OpenTxnsResponse { static const char* ascii_fingerprint; // = "E49D7D1A9013CC81CD0F69D631EF82E4"; static const uint8_t binary_fingerprint[16]; // = {0xE4,0x9D,0x7D,0x1A,0x90,0x13,0xCC,0x81,0xCD,0x0F,0x69,0xD6,0x31,0xEF,0x82,0xE4}; + OpenTxnsResponse(const OpenTxnsResponse&); + OpenTxnsResponse& operator=(const OpenTxnsResponse&); OpenTxnsResponse() { } - virtual ~OpenTxnsResponse() throw() {} - + virtual ~OpenTxnsResponse() throw(); std::vector txn_ids; - void __set_txn_ids(const std::vector & val) { - txn_ids = val; - } + void __set_txn_ids(const std::vector & val); bool operator == (const OpenTxnsResponse & rhs) const { @@ -4265,6 +4104,7 @@ class OpenTxnsResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const OpenTxnsResponse& obj); }; void swap(OpenTxnsResponse &a, OpenTxnsResponse &b); @@ -4276,16 +4116,15 @@ class AbortTxnRequest { static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; + AbortTxnRequest(const AbortTxnRequest&); + AbortTxnRequest& operator=(const AbortTxnRequest&); AbortTxnRequest() : txnid(0) { } - virtual ~AbortTxnRequest() throw() {} - + virtual ~AbortTxnRequest() throw(); int64_t txnid; - void __set_txnid(const int64_t val) { - txnid = val; - } + void __set_txnid(const int64_t val); bool operator == (const AbortTxnRequest & rhs) const { @@ -4302,6 +4141,7 @@ class AbortTxnRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const AbortTxnRequest& obj); }; void swap(AbortTxnRequest &a, AbortTxnRequest &b); @@ -4313,16 +4153,15 @@ class CommitTxnRequest { static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; + CommitTxnRequest(const CommitTxnRequest&); + CommitTxnRequest& operator=(const CommitTxnRequest&); CommitTxnRequest() : txnid(0) { } - virtual ~CommitTxnRequest() throw() {} - + virtual ~CommitTxnRequest() throw(); int64_t txnid; - void __set_txnid(const int64_t val) { - txnid = val; - } + void __set_txnid(const int64_t val); bool operator == (const CommitTxnRequest & rhs) const { @@ -4339,14 +4178,15 @@ class CommitTxnRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj); }; void swap(CommitTxnRequest &a, CommitTxnRequest &b); typedef struct _LockComponent__isset { _LockComponent__isset() : tablename(false), partitionname(false) {} - bool tablename; - bool partitionname; + bool tablename :1; + bool partitionname :1; } _LockComponent__isset; class LockComponent { @@ -4355,11 +4195,12 @@ class LockComponent { static const char* ascii_fingerprint; // = "38B02531B0840AC9C72904A4649FD15F"; static const uint8_t binary_fingerprint[16]; // = {0x38,0xB0,0x25,0x31,0xB0,0x84,0x0A,0xC9,0xC7,0x29,0x04,0xA4,0x64,0x9F,0xD1,0x5F}; + LockComponent(const LockComponent&); + LockComponent& operator=(const LockComponent&); LockComponent() : type((LockType::type)0), level((LockLevel::type)0), dbname(), tablename(), partitionname() { } - virtual ~LockComponent() throw() {} - + virtual ~LockComponent() throw(); LockType::type type; LockLevel::type level; std::string dbname; @@ -4368,27 +4209,15 @@ class LockComponent { _LockComponent__isset __isset; - void __set_type(const LockType::type val) { - type = val; - } + void __set_type(const LockType::type val); - void __set_level(const LockLevel::type val) { - level = val; - } + void __set_level(const LockLevel::type val); - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_tablename(const std::string& val) { - tablename = val; - __isset.tablename = true; - } + void __set_tablename(const std::string& val); - void __set_partitionname(const std::string& val) { - partitionname = val; - __isset.partitionname = true; - } + void __set_partitionname(const std::string& val); bool operator == (const LockComponent & rhs) const { @@ -4417,13 +4246,14 @@ class LockComponent { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const LockComponent& obj); }; void swap(LockComponent &a, LockComponent &b); typedef struct _LockRequest__isset { _LockRequest__isset() : txnid(false) {} - bool txnid; + bool txnid :1; } _LockRequest__isset; class LockRequest { @@ -4432,11 +4262,12 @@ class LockRequest { static const char* ascii_fingerprint; // = "46BC5ED7196BC16CB216AD5CC67C6930"; static const uint8_t binary_fingerprint[16]; // = {0x46,0xBC,0x5E,0xD7,0x19,0x6B,0xC1,0x6C,0xB2,0x16,0xAD,0x5C,0xC6,0x7C,0x69,0x30}; + LockRequest(const LockRequest&); + LockRequest& operator=(const LockRequest&); LockRequest() : txnid(0), user(), hostname() { } - virtual ~LockRequest() throw() {} - + virtual ~LockRequest() throw(); std::vector component; int64_t txnid; std::string user; @@ -4444,22 +4275,13 @@ class LockRequest { _LockRequest__isset __isset; - void __set_component(const std::vector & val) { - component = val; - } + void __set_component(const std::vector & val); - void __set_txnid(const int64_t val) { - txnid = val; - __isset.txnid = true; - } + void __set_txnid(const int64_t val); - void __set_user(const std::string& val) { - user = val; - } + void __set_user(const std::string& val); - void __set_hostname(const std::string& val) { - hostname = val; - } + void __set_hostname(const std::string& val); bool operator == (const LockRequest & rhs) const { @@ -4484,6 +4306,7 @@ class LockRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const LockRequest& obj); }; void swap(LockRequest &a, LockRequest &b); @@ -4495,21 +4318,18 @@ class LockResponse { static const char* ascii_fingerprint; // = "DFA40D9D2884599F3D1E7A57578F1384"; static const uint8_t binary_fingerprint[16]; // = {0xDF,0xA4,0x0D,0x9D,0x28,0x84,0x59,0x9F,0x3D,0x1E,0x7A,0x57,0x57,0x8F,0x13,0x84}; + LockResponse(const LockResponse&); + LockResponse& operator=(const LockResponse&); LockResponse() : lockid(0), state((LockState::type)0) { } - virtual ~LockResponse() throw() {} - + virtual ~LockResponse() throw(); int64_t lockid; LockState::type state; - void __set_lockid(const int64_t val) { - lockid = val; - } + void __set_lockid(const int64_t val); - void __set_state(const LockState::type val) { - state = val; - } + void __set_state(const LockState::type val); bool operator == (const LockResponse & rhs) const { @@ -4528,6 +4348,7 @@ class LockResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const LockResponse& obj); }; void swap(LockResponse &a, LockResponse &b); @@ -4539,16 +4360,15 @@ class CheckLockRequest { static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; + CheckLockRequest(const CheckLockRequest&); + CheckLockRequest& operator=(const CheckLockRequest&); CheckLockRequest() : lockid(0) { } - virtual ~CheckLockRequest() throw() {} - + virtual ~CheckLockRequest() throw(); int64_t lockid; - void __set_lockid(const int64_t val) { - lockid = val; - } + void __set_lockid(const int64_t val); bool operator == (const CheckLockRequest & rhs) const { @@ -4565,6 +4385,7 @@ class CheckLockRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const CheckLockRequest& obj); }; void swap(CheckLockRequest &a, CheckLockRequest &b); @@ -4576,16 +4397,15 @@ class UnlockRequest { static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; + UnlockRequest(const UnlockRequest&); + UnlockRequest& operator=(const UnlockRequest&); UnlockRequest() : lockid(0) { } - virtual ~UnlockRequest() throw() {} - + virtual ~UnlockRequest() throw(); int64_t lockid; - void __set_lockid(const int64_t val) { - lockid = val; - } + void __set_lockid(const int64_t val); bool operator == (const UnlockRequest & rhs) const { @@ -4602,6 +4422,7 @@ class UnlockRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const UnlockRequest& obj); }; void swap(UnlockRequest &a, UnlockRequest &b); @@ -4613,11 +4434,12 @@ class ShowLocksRequest { static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + ShowLocksRequest(const ShowLocksRequest&); + ShowLocksRequest& operator=(const ShowLocksRequest&); ShowLocksRequest() { } - virtual ~ShowLocksRequest() throw() {} - + virtual ~ShowLocksRequest() throw(); bool operator == (const ShowLocksRequest & /* rhs */) const { @@ -4632,16 +4454,17 @@ class ShowLocksRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ShowLocksRequest& obj); }; void swap(ShowLocksRequest &a, ShowLocksRequest &b); typedef struct _ShowLocksResponseElement__isset { _ShowLocksResponseElement__isset() : tablename(false), partname(false), txnid(false), acquiredat(false) {} - bool tablename; - bool partname; - bool txnid; - bool acquiredat; + bool tablename :1; + bool partname :1; + bool txnid :1; + bool acquiredat :1; } _ShowLocksResponseElement__isset; class ShowLocksResponseElement { @@ -4650,11 +4473,12 @@ class ShowLocksResponseElement { static const char* ascii_fingerprint; // = "5AD11F0E0EF1EE0A7C08B00FEFCFF24F"; static const uint8_t binary_fingerprint[16]; // = {0x5A,0xD1,0x1F,0x0E,0x0E,0xF1,0xEE,0x0A,0x7C,0x08,0xB0,0x0F,0xEF,0xCF,0xF2,0x4F}; + ShowLocksResponseElement(const ShowLocksResponseElement&); + ShowLocksResponseElement& operator=(const ShowLocksResponseElement&); ShowLocksResponseElement() : lockid(0), dbname(), tablename(), partname(), state((LockState::type)0), type((LockType::type)0), txnid(0), lastheartbeat(0), acquiredat(0), user(), hostname() { } - virtual ~ShowLocksResponseElement() throw() {} - + virtual ~ShowLocksResponseElement() throw(); int64_t lockid; std::string dbname; std::string tablename; @@ -4669,53 +4493,27 @@ class ShowLocksResponseElement { _ShowLocksResponseElement__isset __isset; - void __set_lockid(const int64_t val) { - lockid = val; - } + void __set_lockid(const int64_t val); - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_tablename(const std::string& val) { - tablename = val; - __isset.tablename = true; - } + void __set_tablename(const std::string& val); - void __set_partname(const std::string& val) { - partname = val; - __isset.partname = true; - } + void __set_partname(const std::string& val); - void __set_state(const LockState::type val) { - state = val; - } + void __set_state(const LockState::type val); - void __set_type(const LockType::type val) { - type = val; - } + void __set_type(const LockType::type val); - void __set_txnid(const int64_t val) { - txnid = val; - __isset.txnid = true; - } + void __set_txnid(const int64_t val); - void __set_lastheartbeat(const int64_t val) { - lastheartbeat = val; - } + void __set_lastheartbeat(const int64_t val); - void __set_acquiredat(const int64_t val) { - acquiredat = val; - __isset.acquiredat = true; - } + void __set_acquiredat(const int64_t val); - void __set_user(const std::string& val) { - user = val; - } + void __set_user(const std::string& val); - void __set_hostname(const std::string& val) { - hostname = val; - } + void __set_hostname(const std::string& val); bool operator == (const ShowLocksResponseElement & rhs) const { @@ -4760,13 +4558,14 @@ class ShowLocksResponseElement { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ShowLocksResponseElement& obj); }; void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b); typedef struct _ShowLocksResponse__isset { _ShowLocksResponse__isset() : locks(false) {} - bool locks; + bool locks :1; } _ShowLocksResponse__isset; class ShowLocksResponse { @@ -4775,18 +4574,17 @@ class ShowLocksResponse { static const char* ascii_fingerprint; // = "BD598AA60FE941361FB54C43973C011F"; static const uint8_t binary_fingerprint[16]; // = {0xBD,0x59,0x8A,0xA6,0x0F,0xE9,0x41,0x36,0x1F,0xB5,0x4C,0x43,0x97,0x3C,0x01,0x1F}; + ShowLocksResponse(const ShowLocksResponse&); + ShowLocksResponse& operator=(const ShowLocksResponse&); ShowLocksResponse() { } - virtual ~ShowLocksResponse() throw() {} - + virtual ~ShowLocksResponse() throw(); std::vector locks; _ShowLocksResponse__isset __isset; - void __set_locks(const std::vector & val) { - locks = val; - } + void __set_locks(const std::vector & val); bool operator == (const ShowLocksResponse & rhs) const { @@ -4803,14 +4601,15 @@ class ShowLocksResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ShowLocksResponse& obj); }; void swap(ShowLocksResponse &a, ShowLocksResponse &b); typedef struct _HeartbeatRequest__isset { _HeartbeatRequest__isset() : lockid(false), txnid(false) {} - bool lockid; - bool txnid; + bool lockid :1; + bool txnid :1; } _HeartbeatRequest__isset; class HeartbeatRequest { @@ -4819,25 +4618,20 @@ class HeartbeatRequest { static const char* ascii_fingerprint; // = "0354D07C94CB8542872CA1277008860A"; static const uint8_t binary_fingerprint[16]; // = {0x03,0x54,0xD0,0x7C,0x94,0xCB,0x85,0x42,0x87,0x2C,0xA1,0x27,0x70,0x08,0x86,0x0A}; + HeartbeatRequest(const HeartbeatRequest&); + HeartbeatRequest& operator=(const HeartbeatRequest&); HeartbeatRequest() : lockid(0), txnid(0) { } - virtual ~HeartbeatRequest() throw() {} - + virtual ~HeartbeatRequest() throw(); int64_t lockid; int64_t txnid; _HeartbeatRequest__isset __isset; - void __set_lockid(const int64_t val) { - lockid = val; - __isset.lockid = true; - } + void __set_lockid(const int64_t val); - void __set_txnid(const int64_t val) { - txnid = val; - __isset.txnid = true; - } + void __set_txnid(const int64_t val); bool operator == (const HeartbeatRequest & rhs) const { @@ -4860,6 +4654,7 @@ class HeartbeatRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const HeartbeatRequest& obj); }; void swap(HeartbeatRequest &a, HeartbeatRequest &b); @@ -4871,21 +4666,18 @@ class HeartbeatTxnRangeRequest { static const char* ascii_fingerprint; // = "F33135321253DAEB67B0E79E416CA831"; static const uint8_t binary_fingerprint[16]; // = {0xF3,0x31,0x35,0x32,0x12,0x53,0xDA,0xEB,0x67,0xB0,0xE7,0x9E,0x41,0x6C,0xA8,0x31}; + HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest&); + HeartbeatTxnRangeRequest& operator=(const HeartbeatTxnRangeRequest&); HeartbeatTxnRangeRequest() : min(0), max(0) { } - virtual ~HeartbeatTxnRangeRequest() throw() {} - + virtual ~HeartbeatTxnRangeRequest() throw(); int64_t min; int64_t max; - void __set_min(const int64_t val) { - min = val; - } + void __set_min(const int64_t val); - void __set_max(const int64_t val) { - max = val; - } + void __set_max(const int64_t val); bool operator == (const HeartbeatTxnRangeRequest & rhs) const { @@ -4904,6 +4696,7 @@ class HeartbeatTxnRangeRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeRequest& obj); }; void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b); @@ -4915,21 +4708,18 @@ class HeartbeatTxnRangeResponse { static const char* ascii_fingerprint; // = "33E49A70BD5C04262A0F407E3656E3CF"; static const uint8_t binary_fingerprint[16]; // = {0x33,0xE4,0x9A,0x70,0xBD,0x5C,0x04,0x26,0x2A,0x0F,0x40,0x7E,0x36,0x56,0xE3,0xCF}; + HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse&); + HeartbeatTxnRangeResponse& operator=(const HeartbeatTxnRangeResponse&); HeartbeatTxnRangeResponse() { } - virtual ~HeartbeatTxnRangeResponse() throw() {} - + virtual ~HeartbeatTxnRangeResponse() throw(); std::set aborted; std::set nosuch; - void __set_aborted(const std::set & val) { - aborted = val; - } + void __set_aborted(const std::set & val); - void __set_nosuch(const std::set & val) { - nosuch = val; - } + void __set_nosuch(const std::set & val); bool operator == (const HeartbeatTxnRangeResponse & rhs) const { @@ -4948,14 +4738,15 @@ class HeartbeatTxnRangeResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeResponse& obj); }; void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b); typedef struct _CompactionRequest__isset { _CompactionRequest__isset() : partitionname(false), runas(false) {} - bool partitionname; - bool runas; + bool partitionname :1; + bool runas :1; } _CompactionRequest__isset; class CompactionRequest { @@ -4964,11 +4755,12 @@ class CompactionRequest { static const char* ascii_fingerprint; // = "899FD1F339D8318D628687CC2CE2864B"; static const uint8_t binary_fingerprint[16]; // = {0x89,0x9F,0xD1,0xF3,0x39,0xD8,0x31,0x8D,0x62,0x86,0x87,0xCC,0x2C,0xE2,0x86,0x4B}; + CompactionRequest(const CompactionRequest&); + CompactionRequest& operator=(const CompactionRequest&); CompactionRequest() : dbname(), tablename(), partitionname(), type((CompactionType::type)0), runas() { } - virtual ~CompactionRequest() throw() {} - + virtual ~CompactionRequest() throw(); std::string dbname; std::string tablename; std::string partitionname; @@ -4977,27 +4769,15 @@ class CompactionRequest { _CompactionRequest__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_tablename(const std::string& val) { - tablename = val; - } + void __set_tablename(const std::string& val); - void __set_partitionname(const std::string& val) { - partitionname = val; - __isset.partitionname = true; - } + void __set_partitionname(const std::string& val); - void __set_type(const CompactionType::type val) { - type = val; - } + void __set_type(const CompactionType::type val); - void __set_runas(const std::string& val) { - runas = val; - __isset.runas = true; - } + void __set_runas(const std::string& val); bool operator == (const CompactionRequest & rhs) const { @@ -5026,6 +4806,7 @@ class CompactionRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const CompactionRequest& obj); }; void swap(CompactionRequest &a, CompactionRequest &b); @@ -5037,11 +4818,12 @@ class ShowCompactRequest { static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + ShowCompactRequest(const ShowCompactRequest&); + ShowCompactRequest& operator=(const ShowCompactRequest&); ShowCompactRequest() { } - virtual ~ShowCompactRequest() throw() {} - + virtual ~ShowCompactRequest() throw(); bool operator == (const ShowCompactRequest & /* rhs */) const { @@ -5056,16 +4838,17 @@ class ShowCompactRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ShowCompactRequest& obj); }; void swap(ShowCompactRequest &a, ShowCompactRequest &b); typedef struct _ShowCompactResponseElement__isset { _ShowCompactResponseElement__isset() : partitionname(false), workerid(false), start(false), runAs(false) {} - bool partitionname; - bool workerid; - bool start; - bool runAs; + bool partitionname :1; + bool workerid :1; + bool start :1; + bool runAs :1; } _ShowCompactResponseElement__isset; class ShowCompactResponseElement { @@ -5074,11 +4857,12 @@ class ShowCompactResponseElement { static const char* ascii_fingerprint; // = "2F338C265DC4FD82DD13F4966FE43F13"; static const uint8_t binary_fingerprint[16]; // = {0x2F,0x33,0x8C,0x26,0x5D,0xC4,0xFD,0x82,0xDD,0x13,0xF4,0x96,0x6F,0xE4,0x3F,0x13}; + ShowCompactResponseElement(const ShowCompactResponseElement&); + ShowCompactResponseElement& operator=(const ShowCompactResponseElement&); ShowCompactResponseElement() : dbname(), tablename(), partitionname(), type((CompactionType::type)0), state(), workerid(), start(0), runAs() { } - virtual ~ShowCompactResponseElement() throw() {} - + virtual ~ShowCompactResponseElement() throw(); std::string dbname; std::string tablename; std::string partitionname; @@ -5090,41 +4874,21 @@ class ShowCompactResponseElement { _ShowCompactResponseElement__isset __isset; - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_tablename(const std::string& val) { - tablename = val; - } + void __set_tablename(const std::string& val); - void __set_partitionname(const std::string& val) { - partitionname = val; - __isset.partitionname = true; - } + void __set_partitionname(const std::string& val); - void __set_type(const CompactionType::type val) { - type = val; - } + void __set_type(const CompactionType::type val); - void __set_state(const std::string& val) { - state = val; - } + void __set_state(const std::string& val); - void __set_workerid(const std::string& val) { - workerid = val; - __isset.workerid = true; - } + void __set_workerid(const std::string& val); - void __set_start(const int64_t val) { - start = val; - __isset.start = true; - } + void __set_start(const int64_t val); - void __set_runAs(const std::string& val) { - runAs = val; - __isset.runAs = true; - } + void __set_runAs(const std::string& val); bool operator == (const ShowCompactResponseElement & rhs) const { @@ -5163,6 +4927,7 @@ class ShowCompactResponseElement { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ShowCompactResponseElement& obj); }; void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b); @@ -5174,16 +4939,15 @@ class ShowCompactResponse { static const char* ascii_fingerprint; // = "915B7B8DB8966D65769C0F98707BBAE3"; static const uint8_t binary_fingerprint[16]; // = {0x91,0x5B,0x7B,0x8D,0xB8,0x96,0x6D,0x65,0x76,0x9C,0x0F,0x98,0x70,0x7B,0xBA,0xE3}; + ShowCompactResponse(const ShowCompactResponse&); + ShowCompactResponse& operator=(const ShowCompactResponse&); ShowCompactResponse() { } - virtual ~ShowCompactResponse() throw() {} - + virtual ~ShowCompactResponse() throw(); std::vector compacts; - void __set_compacts(const std::vector & val) { - compacts = val; - } + void __set_compacts(const std::vector & val); bool operator == (const ShowCompactResponse & rhs) const { @@ -5200,6 +4964,7 @@ class ShowCompactResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ShowCompactResponse& obj); }; void swap(ShowCompactResponse &a, ShowCompactResponse &b); @@ -5211,31 +4976,24 @@ class AddDynamicPartitions { static const char* ascii_fingerprint; // = "A53A2B050DCCFE6A2158480A24E33898"; static const uint8_t binary_fingerprint[16]; // = {0xA5,0x3A,0x2B,0x05,0x0D,0xCC,0xFE,0x6A,0x21,0x58,0x48,0x0A,0x24,0xE3,0x38,0x98}; + AddDynamicPartitions(const AddDynamicPartitions&); + AddDynamicPartitions& operator=(const AddDynamicPartitions&); AddDynamicPartitions() : txnid(0), dbname(), tablename() { } - virtual ~AddDynamicPartitions() throw() {} - + virtual ~AddDynamicPartitions() throw(); int64_t txnid; std::string dbname; std::string tablename; std::vector partitionnames; - void __set_txnid(const int64_t val) { - txnid = val; - } + void __set_txnid(const int64_t val); - void __set_dbname(const std::string& val) { - dbname = val; - } + void __set_dbname(const std::string& val); - void __set_tablename(const std::string& val) { - tablename = val; - } + void __set_tablename(const std::string& val); - void __set_partitionnames(const std::vector & val) { - partitionnames = val; - } + void __set_partitionnames(const std::vector & val); bool operator == (const AddDynamicPartitions & rhs) const { @@ -5258,13 +5016,14 @@ class AddDynamicPartitions { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const AddDynamicPartitions& obj); }; void swap(AddDynamicPartitions &a, AddDynamicPartitions &b); typedef struct _NotificationEventRequest__isset { _NotificationEventRequest__isset() : maxEvents(false) {} - bool maxEvents; + bool maxEvents :1; } _NotificationEventRequest__isset; class NotificationEventRequest { @@ -5273,24 +5032,20 @@ class NotificationEventRequest { static const char* ascii_fingerprint; // = "6E578DA8AB10EED824A75534350EBAEF"; static const uint8_t binary_fingerprint[16]; // = {0x6E,0x57,0x8D,0xA8,0xAB,0x10,0xEE,0xD8,0x24,0xA7,0x55,0x34,0x35,0x0E,0xBA,0xEF}; + NotificationEventRequest(const NotificationEventRequest&); + NotificationEventRequest& operator=(const NotificationEventRequest&); NotificationEventRequest() : lastEvent(0), maxEvents(0) { } - virtual ~NotificationEventRequest() throw() {} - + virtual ~NotificationEventRequest() throw(); int64_t lastEvent; int32_t maxEvents; _NotificationEventRequest__isset __isset; - void __set_lastEvent(const int64_t val) { - lastEvent = val; - } + void __set_lastEvent(const int64_t val); - void __set_maxEvents(const int32_t val) { - maxEvents = val; - __isset.maxEvents = true; - } + void __set_maxEvents(const int32_t val); bool operator == (const NotificationEventRequest & rhs) const { @@ -5311,14 +5066,15 @@ class NotificationEventRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const NotificationEventRequest& obj); }; void swap(NotificationEventRequest &a, NotificationEventRequest &b); typedef struct _NotificationEvent__isset { _NotificationEvent__isset() : dbName(false), tableName(false) {} - bool dbName; - bool tableName; + bool dbName :1; + bool tableName :1; } _NotificationEvent__isset; class NotificationEvent { @@ -5327,11 +5083,12 @@ class NotificationEvent { static const char* ascii_fingerprint; // = "ACAF0036D9999F3A389F490F5E22D369"; static const uint8_t binary_fingerprint[16]; // = {0xAC,0xAF,0x00,0x36,0xD9,0x99,0x9F,0x3A,0x38,0x9F,0x49,0x0F,0x5E,0x22,0xD3,0x69}; + NotificationEvent(const NotificationEvent&); + NotificationEvent& operator=(const NotificationEvent&); NotificationEvent() : eventId(0), eventTime(0), eventType(), dbName(), tableName(), message() { } - virtual ~NotificationEvent() throw() {} - + virtual ~NotificationEvent() throw(); int64_t eventId; int32_t eventTime; std::string eventType; @@ -5341,31 +5098,17 @@ class NotificationEvent { _NotificationEvent__isset __isset; - void __set_eventId(const int64_t val) { - eventId = val; - } + void __set_eventId(const int64_t val); - void __set_eventTime(const int32_t val) { - eventTime = val; - } + void __set_eventTime(const int32_t val); - void __set_eventType(const std::string& val) { - eventType = val; - } + void __set_eventType(const std::string& val); - void __set_dbName(const std::string& val) { - dbName = val; - __isset.dbName = true; - } + void __set_dbName(const std::string& val); - void __set_tableName(const std::string& val) { - tableName = val; - __isset.tableName = true; - } + void __set_tableName(const std::string& val); - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const NotificationEvent & rhs) const { @@ -5396,6 +5139,7 @@ class NotificationEvent { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const NotificationEvent& obj); }; void swap(NotificationEvent &a, NotificationEvent &b); @@ -5407,16 +5151,15 @@ class NotificationEventResponse { static const char* ascii_fingerprint; // = "EE3DB23399639114BCD1782A0FB01818"; static const uint8_t binary_fingerprint[16]; // = {0xEE,0x3D,0xB2,0x33,0x99,0x63,0x91,0x14,0xBC,0xD1,0x78,0x2A,0x0F,0xB0,0x18,0x18}; + NotificationEventResponse(const NotificationEventResponse&); + NotificationEventResponse& operator=(const NotificationEventResponse&); NotificationEventResponse() { } - virtual ~NotificationEventResponse() throw() {} - + virtual ~NotificationEventResponse() throw(); std::vector events; - void __set_events(const std::vector & val) { - events = val; - } + void __set_events(const std::vector & val); bool operator == (const NotificationEventResponse & rhs) const { @@ -5433,6 +5176,7 @@ class NotificationEventResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const NotificationEventResponse& obj); }; void swap(NotificationEventResponse &a, NotificationEventResponse &b); @@ -5444,16 +5188,15 @@ class CurrentNotificationEventId { static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; + CurrentNotificationEventId(const CurrentNotificationEventId&); + CurrentNotificationEventId& operator=(const CurrentNotificationEventId&); CurrentNotificationEventId() : eventId(0) { } - virtual ~CurrentNotificationEventId() throw() {} - + virtual ~CurrentNotificationEventId() throw(); int64_t eventId; - void __set_eventId(const int64_t val) { - eventId = val; - } + void __set_eventId(const int64_t val); bool operator == (const CurrentNotificationEventId & rhs) const { @@ -5470,6 +5213,7 @@ class CurrentNotificationEventId { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const CurrentNotificationEventId& obj); }; void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b); @@ -5481,16 +5225,15 @@ class InsertEventRequestData { static const char* ascii_fingerprint; // = "ACE4F644F0FDD289DDC4EE5B83BC13C0"; static const uint8_t binary_fingerprint[16]; // = {0xAC,0xE4,0xF6,0x44,0xF0,0xFD,0xD2,0x89,0xDD,0xC4,0xEE,0x5B,0x83,0xBC,0x13,0xC0}; + InsertEventRequestData(const InsertEventRequestData&); + InsertEventRequestData& operator=(const InsertEventRequestData&); InsertEventRequestData() { } - virtual ~InsertEventRequestData() throw() {} - + virtual ~InsertEventRequestData() throw(); std::vector filesAdded; - void __set_filesAdded(const std::vector & val) { - filesAdded = val; - } + void __set_filesAdded(const std::vector & val); bool operator == (const InsertEventRequestData & rhs) const { @@ -5507,13 +5250,14 @@ class InsertEventRequestData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const InsertEventRequestData& obj); }; void swap(InsertEventRequestData &a, InsertEventRequestData &b); typedef struct _FireEventRequestData__isset { _FireEventRequestData__isset() : insertData(false) {} - bool insertData; + bool insertData :1; } _FireEventRequestData__isset; class FireEventRequestData { @@ -5522,18 +5266,17 @@ class FireEventRequestData { static const char* ascii_fingerprint; // = "187E754B26707EE32451E6A27FB672CE"; static const uint8_t binary_fingerprint[16]; // = {0x18,0x7E,0x75,0x4B,0x26,0x70,0x7E,0xE3,0x24,0x51,0xE6,0xA2,0x7F,0xB6,0x72,0xCE}; + FireEventRequestData(const FireEventRequestData&); + FireEventRequestData& operator=(const FireEventRequestData&); FireEventRequestData() { } - virtual ~FireEventRequestData() throw() {} - + virtual ~FireEventRequestData() throw(); InsertEventRequestData insertData; _FireEventRequestData__isset __isset; - void __set_insertData(const InsertEventRequestData& val) { - insertData = val; - } + void __set_insertData(const InsertEventRequestData& val); bool operator == (const FireEventRequestData & rhs) const { @@ -5550,15 +5293,16 @@ class FireEventRequestData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const FireEventRequestData& obj); }; void swap(FireEventRequestData &a, FireEventRequestData &b); typedef struct _FireEventRequest__isset { _FireEventRequest__isset() : dbName(false), tableName(false), partitionVals(false) {} - bool dbName; - bool tableName; - bool partitionVals; + bool dbName :1; + bool tableName :1; + bool partitionVals :1; } _FireEventRequest__isset; class FireEventRequest { @@ -5567,11 +5311,12 @@ class FireEventRequest { static const char* ascii_fingerprint; // = "1BA3A7F00159254072C3979B1429B50B"; static const uint8_t binary_fingerprint[16]; // = {0x1B,0xA3,0xA7,0xF0,0x01,0x59,0x25,0x40,0x72,0xC3,0x97,0x9B,0x14,0x29,0xB5,0x0B}; + FireEventRequest(const FireEventRequest&); + FireEventRequest& operator=(const FireEventRequest&); FireEventRequest() : successful(0), dbName(), tableName() { } - virtual ~FireEventRequest() throw() {} - + virtual ~FireEventRequest() throw(); bool successful; FireEventRequestData data; std::string dbName; @@ -5580,28 +5325,15 @@ class FireEventRequest { _FireEventRequest__isset __isset; - void __set_successful(const bool val) { - successful = val; - } + void __set_successful(const bool val); - void __set_data(const FireEventRequestData& val) { - data = val; - } + void __set_data(const FireEventRequestData& val); - void __set_dbName(const std::string& val) { - dbName = val; - __isset.dbName = true; - } + void __set_dbName(const std::string& val); - void __set_tableName(const std::string& val) { - tableName = val; - __isset.tableName = true; - } + void __set_tableName(const std::string& val); - void __set_partitionVals(const std::vector & val) { - partitionVals = val; - __isset.partitionVals = true; - } + void __set_partitionVals(const std::vector & val); bool operator == (const FireEventRequest & rhs) const { @@ -5632,6 +5364,7 @@ class FireEventRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const FireEventRequest& obj); }; void swap(FireEventRequest &a, FireEventRequest &b); @@ -5643,11 +5376,12 @@ class FireEventResponse { static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + FireEventResponse(const FireEventResponse&); + FireEventResponse& operator=(const FireEventResponse&); FireEventResponse() { } - virtual ~FireEventResponse() throw() {} - + virtual ~FireEventResponse() throw(); bool operator == (const FireEventResponse & /* rhs */) const { @@ -5662,13 +5396,59 @@ class FireEventResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const FireEventResponse& obj); }; void swap(FireEventResponse &a, FireEventResponse &b); +typedef struct _GetAllFunctionsResponse__isset { + _GetAllFunctionsResponse__isset() : functions(false) {} + bool functions :1; +} _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(const GetAllFunctionsResponse&); + GetAllFunctionsResponse& operator=(const GetAllFunctionsResponse&); + GetAllFunctionsResponse() { + } + + virtual ~GetAllFunctionsResponse() throw(); + std::vector functions; + + _GetAllFunctionsResponse__isset __isset; + + void __set_functions(const std::vector & val); + + 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; + + friend std::ostream& operator<<(std::ostream& out, const GetAllFunctionsResponse& obj); +}; + +void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b); + typedef struct _MetaException__isset { _MetaException__isset() : message(false) {} - bool message; + bool message :1; } _MetaException__isset; class MetaException : public ::apache::thrift::TException { @@ -5677,18 +5457,17 @@ class MetaException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + MetaException(const MetaException&); + MetaException& operator=(const MetaException&); MetaException() : message() { } - virtual ~MetaException() throw() {} - + virtual ~MetaException() throw(); std::string message; _MetaException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const MetaException & rhs) const { @@ -5705,13 +5484,14 @@ class MetaException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const MetaException& obj); }; void swap(MetaException &a, MetaException &b); typedef struct _UnknownTableException__isset { _UnknownTableException__isset() : message(false) {} - bool message; + bool message :1; } _UnknownTableException__isset; class UnknownTableException : public ::apache::thrift::TException { @@ -5720,18 +5500,17 @@ class UnknownTableException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + UnknownTableException(const UnknownTableException&); + UnknownTableException& operator=(const UnknownTableException&); UnknownTableException() : message() { } - virtual ~UnknownTableException() throw() {} - + virtual ~UnknownTableException() throw(); std::string message; _UnknownTableException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const UnknownTableException & rhs) const { @@ -5748,13 +5527,14 @@ class UnknownTableException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const UnknownTableException& obj); }; void swap(UnknownTableException &a, UnknownTableException &b); typedef struct _UnknownDBException__isset { _UnknownDBException__isset() : message(false) {} - bool message; + bool message :1; } _UnknownDBException__isset; class UnknownDBException : public ::apache::thrift::TException { @@ -5763,18 +5543,17 @@ class UnknownDBException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + UnknownDBException(const UnknownDBException&); + UnknownDBException& operator=(const UnknownDBException&); UnknownDBException() : message() { } - virtual ~UnknownDBException() throw() {} - + virtual ~UnknownDBException() throw(); std::string message; _UnknownDBException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const UnknownDBException & rhs) const { @@ -5791,13 +5570,14 @@ class UnknownDBException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const UnknownDBException& obj); }; void swap(UnknownDBException &a, UnknownDBException &b); typedef struct _AlreadyExistsException__isset { _AlreadyExistsException__isset() : message(false) {} - bool message; + bool message :1; } _AlreadyExistsException__isset; class AlreadyExistsException : public ::apache::thrift::TException { @@ -5806,18 +5586,17 @@ class AlreadyExistsException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + AlreadyExistsException(const AlreadyExistsException&); + AlreadyExistsException& operator=(const AlreadyExistsException&); AlreadyExistsException() : message() { } - virtual ~AlreadyExistsException() throw() {} - + virtual ~AlreadyExistsException() throw(); std::string message; _AlreadyExistsException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const AlreadyExistsException & rhs) const { @@ -5834,13 +5613,14 @@ class AlreadyExistsException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const AlreadyExistsException& obj); }; void swap(AlreadyExistsException &a, AlreadyExistsException &b); typedef struct _InvalidPartitionException__isset { _InvalidPartitionException__isset() : message(false) {} - bool message; + bool message :1; } _InvalidPartitionException__isset; class InvalidPartitionException : public ::apache::thrift::TException { @@ -5849,18 +5629,17 @@ class InvalidPartitionException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + InvalidPartitionException(const InvalidPartitionException&); + InvalidPartitionException& operator=(const InvalidPartitionException&); InvalidPartitionException() : message() { } - virtual ~InvalidPartitionException() throw() {} - + virtual ~InvalidPartitionException() throw(); std::string message; _InvalidPartitionException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const InvalidPartitionException & rhs) const { @@ -5877,13 +5656,14 @@ class InvalidPartitionException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const InvalidPartitionException& obj); }; void swap(InvalidPartitionException &a, InvalidPartitionException &b); typedef struct _UnknownPartitionException__isset { _UnknownPartitionException__isset() : message(false) {} - bool message; + bool message :1; } _UnknownPartitionException__isset; class UnknownPartitionException : public ::apache::thrift::TException { @@ -5892,18 +5672,17 @@ class UnknownPartitionException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + UnknownPartitionException(const UnknownPartitionException&); + UnknownPartitionException& operator=(const UnknownPartitionException&); UnknownPartitionException() : message() { } - virtual ~UnknownPartitionException() throw() {} - + virtual ~UnknownPartitionException() throw(); std::string message; _UnknownPartitionException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const UnknownPartitionException & rhs) const { @@ -5920,13 +5699,14 @@ class UnknownPartitionException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const UnknownPartitionException& obj); }; void swap(UnknownPartitionException &a, UnknownPartitionException &b); typedef struct _InvalidObjectException__isset { _InvalidObjectException__isset() : message(false) {} - bool message; + bool message :1; } _InvalidObjectException__isset; class InvalidObjectException : public ::apache::thrift::TException { @@ -5935,18 +5715,17 @@ class InvalidObjectException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + InvalidObjectException(const InvalidObjectException&); + InvalidObjectException& operator=(const InvalidObjectException&); InvalidObjectException() : message() { } - virtual ~InvalidObjectException() throw() {} - + virtual ~InvalidObjectException() throw(); std::string message; _InvalidObjectException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const InvalidObjectException & rhs) const { @@ -5963,13 +5742,14 @@ class InvalidObjectException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const InvalidObjectException& obj); }; void swap(InvalidObjectException &a, InvalidObjectException &b); typedef struct _NoSuchObjectException__isset { _NoSuchObjectException__isset() : message(false) {} - bool message; + bool message :1; } _NoSuchObjectException__isset; class NoSuchObjectException : public ::apache::thrift::TException { @@ -5978,18 +5758,17 @@ class NoSuchObjectException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + NoSuchObjectException(const NoSuchObjectException&); + NoSuchObjectException& operator=(const NoSuchObjectException&); NoSuchObjectException() : message() { } - virtual ~NoSuchObjectException() throw() {} - + virtual ~NoSuchObjectException() throw(); std::string message; _NoSuchObjectException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const NoSuchObjectException & rhs) const { @@ -6006,13 +5785,14 @@ class NoSuchObjectException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const NoSuchObjectException& obj); }; void swap(NoSuchObjectException &a, NoSuchObjectException &b); typedef struct _IndexAlreadyExistsException__isset { _IndexAlreadyExistsException__isset() : message(false) {} - bool message; + bool message :1; } _IndexAlreadyExistsException__isset; class IndexAlreadyExistsException : public ::apache::thrift::TException { @@ -6021,18 +5801,17 @@ class IndexAlreadyExistsException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + IndexAlreadyExistsException(const IndexAlreadyExistsException&); + IndexAlreadyExistsException& operator=(const IndexAlreadyExistsException&); IndexAlreadyExistsException() : message() { } - virtual ~IndexAlreadyExistsException() throw() {} - + virtual ~IndexAlreadyExistsException() throw(); std::string message; _IndexAlreadyExistsException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const IndexAlreadyExistsException & rhs) const { @@ -6049,13 +5828,14 @@ class IndexAlreadyExistsException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const IndexAlreadyExistsException& obj); }; void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b); typedef struct _InvalidOperationException__isset { _InvalidOperationException__isset() : message(false) {} - bool message; + bool message :1; } _InvalidOperationException__isset; class InvalidOperationException : public ::apache::thrift::TException { @@ -6064,18 +5844,17 @@ class InvalidOperationException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + InvalidOperationException(const InvalidOperationException&); + InvalidOperationException& operator=(const InvalidOperationException&); InvalidOperationException() : message() { } - virtual ~InvalidOperationException() throw() {} - + virtual ~InvalidOperationException() throw(); std::string message; _InvalidOperationException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const InvalidOperationException & rhs) const { @@ -6092,13 +5871,14 @@ class InvalidOperationException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const InvalidOperationException& obj); }; void swap(InvalidOperationException &a, InvalidOperationException &b); typedef struct _ConfigValSecurityException__isset { _ConfigValSecurityException__isset() : message(false) {} - bool message; + bool message :1; } _ConfigValSecurityException__isset; class ConfigValSecurityException : public ::apache::thrift::TException { @@ -6107,18 +5887,17 @@ class ConfigValSecurityException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + ConfigValSecurityException(const ConfigValSecurityException&); + ConfigValSecurityException& operator=(const ConfigValSecurityException&); ConfigValSecurityException() : message() { } - virtual ~ConfigValSecurityException() throw() {} - + virtual ~ConfigValSecurityException() throw(); std::string message; _ConfigValSecurityException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const ConfigValSecurityException & rhs) const { @@ -6135,13 +5914,14 @@ class ConfigValSecurityException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ConfigValSecurityException& obj); }; void swap(ConfigValSecurityException &a, ConfigValSecurityException &b); typedef struct _InvalidInputException__isset { _InvalidInputException__isset() : message(false) {} - bool message; + bool message :1; } _InvalidInputException__isset; class InvalidInputException : public ::apache::thrift::TException { @@ -6150,18 +5930,17 @@ class InvalidInputException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + InvalidInputException(const InvalidInputException&); + InvalidInputException& operator=(const InvalidInputException&); InvalidInputException() : message() { } - virtual ~InvalidInputException() throw() {} - + virtual ~InvalidInputException() throw(); std::string message; _InvalidInputException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const InvalidInputException & rhs) const { @@ -6178,13 +5957,14 @@ class InvalidInputException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const InvalidInputException& obj); }; void swap(InvalidInputException &a, InvalidInputException &b); typedef struct _NoSuchTxnException__isset { _NoSuchTxnException__isset() : message(false) {} - bool message; + bool message :1; } _NoSuchTxnException__isset; class NoSuchTxnException : public ::apache::thrift::TException { @@ -6193,18 +5973,17 @@ class NoSuchTxnException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + NoSuchTxnException(const NoSuchTxnException&); + NoSuchTxnException& operator=(const NoSuchTxnException&); NoSuchTxnException() : message() { } - virtual ~NoSuchTxnException() throw() {} - + virtual ~NoSuchTxnException() throw(); std::string message; _NoSuchTxnException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const NoSuchTxnException & rhs) const { @@ -6221,13 +6000,14 @@ class NoSuchTxnException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const NoSuchTxnException& obj); }; void swap(NoSuchTxnException &a, NoSuchTxnException &b); typedef struct _TxnAbortedException__isset { _TxnAbortedException__isset() : message(false) {} - bool message; + bool message :1; } _TxnAbortedException__isset; class TxnAbortedException : public ::apache::thrift::TException { @@ -6236,18 +6016,17 @@ class TxnAbortedException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + TxnAbortedException(const TxnAbortedException&); + TxnAbortedException& operator=(const TxnAbortedException&); TxnAbortedException() : message() { } - virtual ~TxnAbortedException() throw() {} - + virtual ~TxnAbortedException() throw(); std::string message; _TxnAbortedException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const TxnAbortedException & rhs) const { @@ -6264,13 +6043,14 @@ class TxnAbortedException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TxnAbortedException& obj); }; void swap(TxnAbortedException &a, TxnAbortedException &b); typedef struct _TxnOpenException__isset { _TxnOpenException__isset() : message(false) {} - bool message; + bool message :1; } _TxnOpenException__isset; class TxnOpenException : public ::apache::thrift::TException { @@ -6279,18 +6059,17 @@ class TxnOpenException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + TxnOpenException(const TxnOpenException&); + TxnOpenException& operator=(const TxnOpenException&); TxnOpenException() : message() { } - virtual ~TxnOpenException() throw() {} - + virtual ~TxnOpenException() throw(); std::string message; _TxnOpenException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const TxnOpenException & rhs) const { @@ -6307,13 +6086,14 @@ class TxnOpenException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TxnOpenException& obj); }; void swap(TxnOpenException &a, TxnOpenException &b); typedef struct _NoSuchLockException__isset { _NoSuchLockException__isset() : message(false) {} - bool message; + bool message :1; } _NoSuchLockException__isset; class NoSuchLockException : public ::apache::thrift::TException { @@ -6322,18 +6102,17 @@ class NoSuchLockException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + NoSuchLockException(const NoSuchLockException&); + NoSuchLockException& operator=(const NoSuchLockException&); NoSuchLockException() : message() { } - virtual ~NoSuchLockException() throw() {} - + virtual ~NoSuchLockException() throw(); std::string message; _NoSuchLockException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); bool operator == (const NoSuchLockException & rhs) const { @@ -6350,6 +6129,7 @@ class NoSuchLockException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const NoSuchLockException& obj); }; void swap(NoSuchLockException &a, NoSuchLockException &b); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java index 5d44585..a8870ac 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class AbortTxnRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class AbortTxnRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AbortTxnRequest"); private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)1); @@ -227,30 +231,30 @@ public boolean equals(AbortTxnRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_txnid = true; - builder.append(present_txnid); + list.add(present_txnid); if (present_txnid) - builder.append(txnid); + list.add(txnid); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(AbortTxnRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - AbortTxnRequest typedOther = (AbortTxnRequest)other; - lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(typedOther.isSetTxnid()); + lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(other.isSetTxnid()); if (lastComparison != 0) { return lastComparison; } if (isSetTxnid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, typedOther.txnid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, other.txnid); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index afb2b79..9bad1aa 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class AddDynamicPartitions implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class AddDynamicPartitions implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AddDynamicPartitions"); private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)1); @@ -166,10 +170,7 @@ public AddDynamicPartitions(AddDynamicPartitions other) { this.tablename = other.tablename; } if (other.isSetPartitionnames()) { - List __this__partitionnames = new ArrayList(); - for (String other_element : other.partitionnames) { - __this__partitionnames.add(other_element); - } + List __this__partitionnames = new ArrayList(other.partitionnames); this.partitionnames = __this__partitionnames; } } @@ -421,75 +422,75 @@ public boolean equals(AddDynamicPartitions that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_txnid = true; - builder.append(present_txnid); + list.add(present_txnid); if (present_txnid) - builder.append(txnid); + list.add(txnid); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_tablename = true && (isSetTablename()); - builder.append(present_tablename); + list.add(present_tablename); if (present_tablename) - builder.append(tablename); + list.add(tablename); boolean present_partitionnames = true && (isSetPartitionnames()); - builder.append(present_partitionnames); + list.add(present_partitionnames); if (present_partitionnames) - builder.append(partitionnames); + list.add(partitionnames); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(AddDynamicPartitions other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - AddDynamicPartitions typedOther = (AddDynamicPartitions)other; - lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(typedOther.isSetTxnid()); + lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(other.isSetTxnid()); if (lastComparison != 0) { return lastComparison; } if (isSetTxnid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, typedOther.txnid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, other.txnid); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTablename()).compareTo(typedOther.isSetTablename()); + lastComparison = Boolean.valueOf(isSetTablename()).compareTo(other.isSetTablename()); if (lastComparison != 0) { return lastComparison; } if (isSetTablename()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, typedOther.tablename); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, other.tablename); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartitionnames()).compareTo(typedOther.isSetPartitionnames()); + lastComparison = Boolean.valueOf(isSetPartitionnames()).compareTo(other.isSetPartitionnames()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitionnames()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionnames, typedOther.partitionnames); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionnames, other.partitionnames); if (lastComparison != 0) { return lastComparison; } @@ -631,11 +632,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition { org.apache.thrift.protocol.TList _list492 = iprot.readListBegin(); struct.partitionnames = new ArrayList(_list492.size); - for (int _i493 = 0; _i493 < _list492.size; ++_i493) + String _elem493; + for (int _i494 = 0; _i494 < _list492.size; ++_i494) { - String _elem494; // optional - _elem494 = iprot.readString(); - struct.partitionnames.add(_elem494); + _elem493 = iprot.readString(); + struct.partitionnames.add(_elem493); } iprot.readListEnd(); } @@ -723,11 +724,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions { org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.partitionnames = new ArrayList(_list497.size); - for (int _i498 = 0; _i498 < _list497.size; ++_i498) + String _elem498; + for (int _i499 = 0; _i499 < _list497.size; ++_i499) { - String _elem499; // optional - _elem499 = iprot.readString(); - struct.partitionnames.add(_elem499); + _elem498 = iprot.readString(); + struct.partitionnames.add(_elem498); } } struct.setPartitionnamesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java index 7bb72ba..2e8e894 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class AddPartitionsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class AddPartitionsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AddPartitionsRequest"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -126,7 +130,7 @@ public String getFieldName() { private static final int __IFNOTEXISTS_ISSET_ID = 0; private static final int __NEEDRESULT_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.NEED_RESULT}; + private static final _Fields optionals[] = {_Fields.NEED_RESULT}; 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); @@ -176,7 +180,7 @@ public AddPartitionsRequest(AddPartitionsRequest other) { this.tblName = other.tblName; } if (other.isSetParts()) { - List __this__parts = new ArrayList(); + List __this__parts = new ArrayList(other.parts.size()); for (Partition other_element : other.parts) { __this__parts.add(new Partition(other_element)); } @@ -479,90 +483,90 @@ public boolean equals(AddPartitionsRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_tblName = true && (isSetTblName()); - builder.append(present_tblName); + list.add(present_tblName); if (present_tblName) - builder.append(tblName); + list.add(tblName); boolean present_parts = true && (isSetParts()); - builder.append(present_parts); + list.add(present_parts); if (present_parts) - builder.append(parts); + list.add(parts); boolean present_ifNotExists = true; - builder.append(present_ifNotExists); + list.add(present_ifNotExists); if (present_ifNotExists) - builder.append(ifNotExists); + list.add(ifNotExists); boolean present_needResult = true && (isSetNeedResult()); - builder.append(present_needResult); + list.add(present_needResult); if (present_needResult) - builder.append(needResult); + list.add(needResult); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(AddPartitionsRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - AddPartitionsRequest typedOther = (AddPartitionsRequest)other; - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTblName()).compareTo(typedOther.isSetTblName()); + lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName()); if (lastComparison != 0) { return lastComparison; } if (isSetTblName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, typedOther.tblName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetParts()).compareTo(typedOther.isSetParts()); + lastComparison = Boolean.valueOf(isSetParts()).compareTo(other.isSetParts()); if (lastComparison != 0) { return lastComparison; } if (isSetParts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parts, typedOther.parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parts, other.parts); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIfNotExists()).compareTo(typedOther.isSetIfNotExists()); + lastComparison = Boolean.valueOf(isSetIfNotExists()).compareTo(other.isSetIfNotExists()); if (lastComparison != 0) { return lastComparison; } if (isSetIfNotExists()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ifNotExists, typedOther.ifNotExists); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ifNotExists, other.ifNotExists); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNeedResult()).compareTo(typedOther.isSetNeedResult()); + lastComparison = Boolean.valueOf(isSetNeedResult()).compareTo(other.isSetNeedResult()); if (lastComparison != 0) { return lastComparison; } if (isSetNeedResult()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.needResult, typedOther.needResult); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.needResult, other.needResult); if (lastComparison != 0) { return lastComparison; } @@ -702,12 +706,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsReques { org.apache.thrift.protocol.TList _list388 = iprot.readListBegin(); struct.parts = new ArrayList(_list388.size); - for (int _i389 = 0; _i389 < _list388.size; ++_i389) + Partition _elem389; + for (int _i390 = 0; _i390 < _list388.size; ++_i390) { - Partition _elem390; // optional - _elem390 = new Partition(); - _elem390.read(iprot); - struct.parts.add(_elem390); + _elem389 = new Partition(); + _elem389.read(iprot); + struct.parts.add(_elem389); } iprot.readListEnd(); } @@ -822,12 +826,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsRequest { org.apache.thrift.protocol.TList _list393 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.parts = new ArrayList(_list393.size); - for (int _i394 = 0; _i394 < _list393.size; ++_i394) + Partition _elem394; + for (int _i395 = 0; _i395 < _list393.size; ++_i395) { - Partition _elem395; // optional - _elem395 = new Partition(); - _elem395.read(iprot); - struct.parts.add(_elem395); + _elem394 = new Partition(); + _elem394.read(iprot); + struct.parts.add(_elem394); } } struct.setPartsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java index 875e04a..591111e 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class AddPartitionsResult implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class AddPartitionsResult implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AddPartitionsResult"); private static final org.apache.thrift.protocol.TField PARTITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("partitions", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -103,7 +107,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.PARTITIONS}; + private static final _Fields optionals[] = {_Fields.PARTITIONS}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -122,7 +126,7 @@ public AddPartitionsResult() { */ public AddPartitionsResult(AddPartitionsResult other) { if (other.isSetPartitions()) { - List __this__partitions = new ArrayList(); + List __this__partitions = new ArrayList(other.partitions.size()); for (Partition other_element : other.partitions) { __this__partitions.add(new Partition(other_element)); } @@ -239,30 +243,30 @@ public boolean equals(AddPartitionsResult that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_partitions = true && (isSetPartitions()); - builder.append(present_partitions); + list.add(present_partitions); if (present_partitions) - builder.append(partitions); + list.add(partitions); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(AddPartitionsResult other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - AddPartitionsResult typedOther = (AddPartitionsResult)other; - lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(typedOther.isSetPartitions()); + lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(other.isSetPartitions()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, typedOther.partitions); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, other.partitions); if (lastComparison != 0) { return lastComparison; } @@ -344,12 +348,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsResult { org.apache.thrift.protocol.TList _list380 = iprot.readListBegin(); struct.partitions = new ArrayList(_list380.size); - for (int _i381 = 0; _i381 < _list380.size; ++_i381) + Partition _elem381; + for (int _i382 = 0; _i382 < _list380.size; ++_i382) { - Partition _elem382; // optional - _elem382 = new Partition(); - _elem382.read(iprot); - struct.partitions.add(_elem382); + _elem381 = new Partition(); + _elem381.read(iprot); + struct.partitions.add(_elem381); } iprot.readListEnd(); } @@ -426,12 +430,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult { org.apache.thrift.protocol.TList _list385 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.partitions = new ArrayList(_list385.size); - for (int _i386 = 0; _i386 < _list385.size; ++_i386) + Partition _elem386; + for (int _i387 = 0; _i387 < _list385.size; ++_i387) { - Partition _elem387; // optional - _elem387 = new Partition(); - _elem387.read(iprot); - struct.partitions.add(_elem387); + _elem386 = new Partition(); + _elem386.read(iprot); + struct.partitions.add(_elem386); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java index 0e1dbcb..eb8889f 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class AggrStats implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class AggrStats implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AggrStats"); private static final org.apache.thrift.protocol.TField COL_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("colStats", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -141,7 +145,7 @@ public AggrStats( public AggrStats(AggrStats other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetColStats()) { - List __this__colStats = new ArrayList(); + List __this__colStats = new ArrayList(other.colStats.size()); for (ColumnStatisticsObj other_element : other.colStats) { __this__colStats.add(new ColumnStatisticsObj(other_element)); } @@ -305,45 +309,45 @@ public boolean equals(AggrStats that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_colStats = true && (isSetColStats()); - builder.append(present_colStats); + list.add(present_colStats); if (present_colStats) - builder.append(colStats); + list.add(colStats); boolean present_partsFound = true; - builder.append(present_partsFound); + list.add(present_partsFound); if (present_partsFound) - builder.append(partsFound); + list.add(partsFound); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(AggrStats other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - AggrStats typedOther = (AggrStats)other; - lastComparison = Boolean.valueOf(isSetColStats()).compareTo(typedOther.isSetColStats()); + lastComparison = Boolean.valueOf(isSetColStats()).compareTo(other.isSetColStats()); if (lastComparison != 0) { return lastComparison; } if (isSetColStats()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colStats, typedOther.colStats); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colStats, other.colStats); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartsFound()).compareTo(typedOther.isSetPartsFound()); + lastComparison = Boolean.valueOf(isSetPartsFound()).compareTo(other.isSetPartsFound()); if (lastComparison != 0) { return lastComparison; } if (isSetPartsFound()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partsFound, typedOther.partsFound); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partsFound, other.partsFound); if (lastComparison != 0) { return lastComparison; } @@ -437,12 +441,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AggrStats struct) t { org.apache.thrift.protocol.TList _list278 = iprot.readListBegin(); struct.colStats = new ArrayList(_list278.size); - for (int _i279 = 0; _i279 < _list278.size; ++_i279) + ColumnStatisticsObj _elem279; + for (int _i280 = 0; _i280 < _list278.size; ++_i280) { - ColumnStatisticsObj _elem280; // optional - _elem280 = new ColumnStatisticsObj(); - _elem280.read(iprot); - struct.colStats.add(_elem280); + _elem279 = new ColumnStatisticsObj(); + _elem279.read(iprot); + struct.colStats.add(_elem279); } iprot.readListEnd(); } @@ -520,12 +524,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) th { org.apache.thrift.protocol.TList _list283 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.colStats = new ArrayList(_list283.size); - for (int _i284 = 0; _i284 < _list283.size; ++_i284) + ColumnStatisticsObj _elem284; + for (int _i285 = 0; _i285 < _list283.size; ++_i285) { - ColumnStatisticsObj _elem285; // optional - _elem285 = new ColumnStatisticsObj(); - _elem285.read(iprot); - struct.colStats.add(_elem285); + _elem284 = new ColumnStatisticsObj(); + _elem284.read(iprot); + struct.colStats.add(_elem284); } } struct.setColStatsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java index 2a5e58f..c5bc208 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class AlreadyExistsException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class AlreadyExistsException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AlreadyExistsException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(AlreadyExistsException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(AlreadyExistsException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - AlreadyExistsException typedOther = (AlreadyExistsException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java index 1516b25..374cd9a 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class BinaryColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class BinaryColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BinaryColumnStatsData"); private static final org.apache.thrift.protocol.TField MAX_COL_LEN_FIELD_DESC = new org.apache.thrift.protocol.TField("maxColLen", org.apache.thrift.protocol.TType.I64, (short)1); @@ -343,60 +347,60 @@ public boolean equals(BinaryColumnStatsData that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_maxColLen = true; - builder.append(present_maxColLen); + list.add(present_maxColLen); if (present_maxColLen) - builder.append(maxColLen); + list.add(maxColLen); boolean present_avgColLen = true; - builder.append(present_avgColLen); + list.add(present_avgColLen); if (present_avgColLen) - builder.append(avgColLen); + list.add(avgColLen); boolean present_numNulls = true; - builder.append(present_numNulls); + list.add(present_numNulls); if (present_numNulls) - builder.append(numNulls); + list.add(numNulls); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(BinaryColumnStatsData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - BinaryColumnStatsData typedOther = (BinaryColumnStatsData)other; - lastComparison = Boolean.valueOf(isSetMaxColLen()).compareTo(typedOther.isSetMaxColLen()); + lastComparison = Boolean.valueOf(isSetMaxColLen()).compareTo(other.isSetMaxColLen()); if (lastComparison != 0) { return lastComparison; } if (isSetMaxColLen()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxColLen, typedOther.maxColLen); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxColLen, other.maxColLen); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetAvgColLen()).compareTo(typedOther.isSetAvgColLen()); + lastComparison = Boolean.valueOf(isSetAvgColLen()).compareTo(other.isSetAvgColLen()); if (lastComparison != 0) { return lastComparison; } if (isSetAvgColLen()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.avgColLen, typedOther.avgColLen); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.avgColLen, other.avgColLen); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(typedOther.isSetNumNulls()); + lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(other.isSetNumNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNumNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, typedOther.numNulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, other.numNulls); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java index 9ef9c0f..0f7c12c 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class BooleanColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class BooleanColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BooleanColumnStatsData"); private static final org.apache.thrift.protocol.TField NUM_TRUES_FIELD_DESC = new org.apache.thrift.protocol.TField("numTrues", org.apache.thrift.protocol.TType.I64, (short)1); @@ -343,60 +347,60 @@ public boolean equals(BooleanColumnStatsData that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_numTrues = true; - builder.append(present_numTrues); + list.add(present_numTrues); if (present_numTrues) - builder.append(numTrues); + list.add(numTrues); boolean present_numFalses = true; - builder.append(present_numFalses); + list.add(present_numFalses); if (present_numFalses) - builder.append(numFalses); + list.add(numFalses); boolean present_numNulls = true; - builder.append(present_numNulls); + list.add(present_numNulls); if (present_numNulls) - builder.append(numNulls); + list.add(numNulls); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(BooleanColumnStatsData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - BooleanColumnStatsData typedOther = (BooleanColumnStatsData)other; - lastComparison = Boolean.valueOf(isSetNumTrues()).compareTo(typedOther.isSetNumTrues()); + lastComparison = Boolean.valueOf(isSetNumTrues()).compareTo(other.isSetNumTrues()); if (lastComparison != 0) { return lastComparison; } if (isSetNumTrues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numTrues, typedOther.numTrues); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numTrues, other.numTrues); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumFalses()).compareTo(typedOther.isSetNumFalses()); + lastComparison = Boolean.valueOf(isSetNumFalses()).compareTo(other.isSetNumFalses()); if (lastComparison != 0) { return lastComparison; } if (isSetNumFalses()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numFalses, typedOther.numFalses); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numFalses, other.numFalses); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(typedOther.isSetNumNulls()); + lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(other.isSetNumNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNumNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, typedOther.numNulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, other.numNulls); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java index ae34203..d2722e0 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class CheckLockRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class CheckLockRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CheckLockRequest"); private static final org.apache.thrift.protocol.TField LOCKID_FIELD_DESC = new org.apache.thrift.protocol.TField("lockid", org.apache.thrift.protocol.TType.I64, (short)1); @@ -227,30 +231,30 @@ public boolean equals(CheckLockRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_lockid = true; - builder.append(present_lockid); + list.add(present_lockid); if (present_lockid) - builder.append(lockid); + list.add(lockid); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CheckLockRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CheckLockRequest typedOther = (CheckLockRequest)other; - lastComparison = Boolean.valueOf(isSetLockid()).compareTo(typedOther.isSetLockid()); + lastComparison = Boolean.valueOf(isSetLockid()).compareTo(other.isSetLockid()); if (lastComparison != 0) { return lastComparison; } if (isSetLockid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, typedOther.lockid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, other.lockid); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java index b34619f..b438f62 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ColumnStatistics implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ColumnStatistics implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnStatistics"); private static final org.apache.thrift.protocol.TField STATS_DESC_FIELD_DESC = new org.apache.thrift.protocol.TField("statsDesc", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -140,7 +144,7 @@ public ColumnStatistics(ColumnStatistics other) { this.statsDesc = new ColumnStatisticsDesc(other.statsDesc); } if (other.isSetStatsObj()) { - List __this__statsObj = new ArrayList(); + List __this__statsObj = new ArrayList(other.statsObj.size()); for (ColumnStatisticsObj other_element : other.statsObj) { __this__statsObj.add(new ColumnStatisticsObj(other_element)); } @@ -303,45 +307,45 @@ public boolean equals(ColumnStatistics that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_statsDesc = true && (isSetStatsDesc()); - builder.append(present_statsDesc); + list.add(present_statsDesc); if (present_statsDesc) - builder.append(statsDesc); + list.add(statsDesc); boolean present_statsObj = true && (isSetStatsObj()); - builder.append(present_statsObj); + list.add(present_statsObj); if (present_statsObj) - builder.append(statsObj); + list.add(statsObj); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ColumnStatistics other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ColumnStatistics typedOther = (ColumnStatistics)other; - lastComparison = Boolean.valueOf(isSetStatsDesc()).compareTo(typedOther.isSetStatsDesc()); + lastComparison = Boolean.valueOf(isSetStatsDesc()).compareTo(other.isSetStatsDesc()); if (lastComparison != 0) { return lastComparison; } if (isSetStatsDesc()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsDesc, typedOther.statsDesc); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsDesc, other.statsDesc); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStatsObj()).compareTo(typedOther.isSetStatsObj()); + lastComparison = Boolean.valueOf(isSetStatsObj()).compareTo(other.isSetStatsObj()); if (lastComparison != 0) { return lastComparison; } if (isSetStatsObj()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsObj, typedOther.statsObj); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsObj, other.statsObj); if (lastComparison != 0) { return lastComparison; } @@ -449,12 +453,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ColumnStatistics st { org.apache.thrift.protocol.TList _list270 = iprot.readListBegin(); struct.statsObj = new ArrayList(_list270.size); - for (int _i271 = 0; _i271 < _list270.size; ++_i271) + ColumnStatisticsObj _elem271; + for (int _i272 = 0; _i272 < _list270.size; ++_i272) { - ColumnStatisticsObj _elem272; // optional - _elem272 = new ColumnStatisticsObj(); - _elem272.read(iprot); - struct.statsObj.add(_elem272); + _elem271 = new ColumnStatisticsObj(); + _elem271.read(iprot); + struct.statsObj.add(_elem271); } iprot.readListEnd(); } @@ -529,12 +533,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics str { org.apache.thrift.protocol.TList _list275 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.statsObj = new ArrayList(_list275.size); - for (int _i276 = 0; _i276 < _list275.size; ++_i276) + ColumnStatisticsObj _elem276; + for (int _i277 = 0; _i277 < _list275.size; ++_i277) { - ColumnStatisticsObj _elem277; // optional - _elem277 = new ColumnStatisticsObj(); - _elem277.read(iprot); - struct.statsObj.add(_elem277); + _elem276 = new ColumnStatisticsObj(); + _elem276.read(iprot); + struct.statsObj.add(_elem276); } } struct.setStatsObjIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java index 58177e5..6558add 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class ColumnStatisticsData extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnStatisticsData"); private static final org.apache.thrift.protocol.TField BOOLEAN_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("booleanStats", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -318,6 +321,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } } @@ -636,19 +640,19 @@ public int compareTo(ColumnStatisticsData other) { @Override public int hashCode() { - HashCodeBuilder hcb = new HashCodeBuilder(); - hcb.append(this.getClass().getName()); + List list = new ArrayList(); + list.add(this.getClass().getName()); org.apache.thrift.TFieldIdEnum setField = getSetField(); if (setField != null) { - hcb.append(setField.getThriftFieldId()); + list.add(setField.getThriftFieldId()); Object value = getFieldValue(); if (value instanceof org.apache.thrift.TEnum) { - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue()); + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue()); } else { - hcb.append(value); + list.add(value); } } - return hcb.toHashCode(); + return list.hashCode(); } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java index e951d04..3c756fb 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ColumnStatisticsDesc implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ColumnStatisticsDesc implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnStatisticsDesc"); private static final org.apache.thrift.protocol.TField IS_TBL_LEVEL_FIELD_DESC = new org.apache.thrift.protocol.TField("isTblLevel", org.apache.thrift.protocol.TType.BOOL, (short)1); @@ -126,7 +130,7 @@ public String getFieldName() { private static final int __ISTBLLEVEL_ISSET_ID = 0; private static final int __LASTANALYZED_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.PART_NAME,_Fields.LAST_ANALYZED}; + private static final _Fields optionals[] = {_Fields.PART_NAME,_Fields.LAST_ANALYZED}; 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); @@ -455,90 +459,90 @@ public boolean equals(ColumnStatisticsDesc that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_isTblLevel = true; - builder.append(present_isTblLevel); + list.add(present_isTblLevel); if (present_isTblLevel) - builder.append(isTblLevel); + list.add(isTblLevel); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_tableName = true && (isSetTableName()); - builder.append(present_tableName); + list.add(present_tableName); if (present_tableName) - builder.append(tableName); + list.add(tableName); boolean present_partName = true && (isSetPartName()); - builder.append(present_partName); + list.add(present_partName); if (present_partName) - builder.append(partName); + list.add(partName); boolean present_lastAnalyzed = true && (isSetLastAnalyzed()); - builder.append(present_lastAnalyzed); + list.add(present_lastAnalyzed); if (present_lastAnalyzed) - builder.append(lastAnalyzed); + list.add(lastAnalyzed); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ColumnStatisticsDesc other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ColumnStatisticsDesc typedOther = (ColumnStatisticsDesc)other; - lastComparison = Boolean.valueOf(isSetIsTblLevel()).compareTo(typedOther.isSetIsTblLevel()); + lastComparison = Boolean.valueOf(isSetIsTblLevel()).compareTo(other.isSetIsTblLevel()); if (lastComparison != 0) { return lastComparison; } if (isSetIsTblLevel()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isTblLevel, typedOther.isTblLevel); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isTblLevel, other.isTblLevel); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); + lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartName()).compareTo(typedOther.isSetPartName()); + lastComparison = Boolean.valueOf(isSetPartName()).compareTo(other.isSetPartName()); if (lastComparison != 0) { return lastComparison; } if (isSetPartName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partName, typedOther.partName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partName, other.partName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLastAnalyzed()).compareTo(typedOther.isSetLastAnalyzed()); + lastComparison = Boolean.valueOf(isSetLastAnalyzed()).compareTo(other.isSetLastAnalyzed()); if (lastComparison != 0) { return lastComparison; } if (isSetLastAnalyzed()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAnalyzed, typedOther.lastAnalyzed); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAnalyzed, other.lastAnalyzed); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java index f1257fd..4a31114 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ColumnStatisticsObj implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ColumnStatisticsObj implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ColumnStatisticsObj"); private static final org.apache.thrift.protocol.TField COL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("colName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -341,60 +345,60 @@ public boolean equals(ColumnStatisticsObj that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_colName = true && (isSetColName()); - builder.append(present_colName); + list.add(present_colName); if (present_colName) - builder.append(colName); + list.add(colName); boolean present_colType = true && (isSetColType()); - builder.append(present_colType); + list.add(present_colType); if (present_colType) - builder.append(colType); + list.add(colType); boolean present_statsData = true && (isSetStatsData()); - builder.append(present_statsData); + list.add(present_statsData); if (present_statsData) - builder.append(statsData); + list.add(statsData); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ColumnStatisticsObj other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ColumnStatisticsObj typedOther = (ColumnStatisticsObj)other; - lastComparison = Boolean.valueOf(isSetColName()).compareTo(typedOther.isSetColName()); + lastComparison = Boolean.valueOf(isSetColName()).compareTo(other.isSetColName()); if (lastComparison != 0) { return lastComparison; } if (isSetColName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colName, typedOther.colName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colName, other.colName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetColType()).compareTo(typedOther.isSetColType()); + lastComparison = Boolean.valueOf(isSetColType()).compareTo(other.isSetColType()); if (lastComparison != 0) { return lastComparison; } if (isSetColType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colType, typedOther.colType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colType, other.colType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStatsData()).compareTo(typedOther.isSetStatsData()); + lastComparison = Boolean.valueOf(isSetStatsData()).compareTo(other.isSetStatsData()); if (lastComparison != 0) { return lastComparison; } if (isSetStatsData()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsData, typedOther.statsData); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statsData, other.statsData); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java index aeb2421..beba201 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class CommitTxnRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class CommitTxnRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CommitTxnRequest"); private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)1); @@ -227,30 +231,30 @@ public boolean equals(CommitTxnRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_txnid = true; - builder.append(present_txnid); + list.add(present_txnid); if (present_txnid) - builder.append(txnid); + list.add(txnid); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CommitTxnRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CommitTxnRequest typedOther = (CommitTxnRequest)other; - lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(typedOther.isSetTxnid()); + lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(other.isSetTxnid()); if (lastComparison != 0) { return lastComparison; } if (isSetTxnid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, typedOther.txnid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, other.txnid); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java index 939c15a..da4982c 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class CompactionRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class CompactionRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CompactionRequest"); private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -127,7 +131,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.PARTITIONNAME,_Fields.RUNAS}; + private static final _Fields optionals[] = {_Fields.PARTITIONNAME,_Fields.RUNAS}; 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); @@ -466,90 +470,90 @@ public boolean equals(CompactionRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_tablename = true && (isSetTablename()); - builder.append(present_tablename); + list.add(present_tablename); if (present_tablename) - builder.append(tablename); + list.add(tablename); boolean present_partitionname = true && (isSetPartitionname()); - builder.append(present_partitionname); + list.add(present_partitionname); if (present_partitionname) - builder.append(partitionname); + list.add(partitionname); boolean present_type = true && (isSetType()); - builder.append(present_type); + list.add(present_type); if (present_type) - builder.append(type.getValue()); + list.add(type.getValue()); boolean present_runas = true && (isSetRunas()); - builder.append(present_runas); + list.add(present_runas); if (present_runas) - builder.append(runas); + list.add(runas); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CompactionRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CompactionRequest typedOther = (CompactionRequest)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTablename()).compareTo(typedOther.isSetTablename()); + lastComparison = Boolean.valueOf(isSetTablename()).compareTo(other.isSetTablename()); if (lastComparison != 0) { return lastComparison; } if (isSetTablename()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, typedOther.tablename); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, other.tablename); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartitionname()).compareTo(typedOther.isSetPartitionname()); + lastComparison = Boolean.valueOf(isSetPartitionname()).compareTo(other.isSetPartitionname()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitionname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionname, typedOther.partitionname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionname, other.partitionname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType()); + lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType()); if (lastComparison != 0) { return lastComparison; } if (isSetType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRunas()).compareTo(typedOther.isSetRunas()); + lastComparison = Boolean.valueOf(isSetRunas()).compareTo(other.isSetRunas()); if (lastComparison != 0) { return lastComparison; } if (isSetRunas()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.runas, typedOther.runas); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.runas, other.runas); if (lastComparison != 0) { return lastComparison; } @@ -698,7 +702,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CompactionRequest s break; case 4: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.type = CompactionType.findByValue(iprot.readI32()); + struct.type = org.apache.hadoop.hive.metastore.api.CompactionType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -797,7 +801,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CompactionRequest st struct.setDbnameIsSet(true); struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); - struct.type = CompactionType.findByValue(iprot.readI32()); + struct.type = org.apache.hadoop.hive.metastore.api.CompactionType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java index e4ecbcc..09474ee 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java index bdcf21d..d6d6b4a 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ConfigValSecurityException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ConfigValSecurityException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ConfigValSecurityException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(ConfigValSecurityException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ConfigValSecurityException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ConfigValSecurityException typedOther = (ConfigValSecurityException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java index 8b8e5c4..b443676 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class CurrentNotificationEventId implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class CurrentNotificationEventId implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CurrentNotificationEventId"); private static final org.apache.thrift.protocol.TField EVENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("eventId", org.apache.thrift.protocol.TType.I64, (short)1); @@ -227,30 +231,30 @@ public boolean equals(CurrentNotificationEventId that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_eventId = true; - builder.append(present_eventId); + list.add(present_eventId); if (present_eventId) - builder.append(eventId); + list.add(eventId); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CurrentNotificationEventId other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CurrentNotificationEventId typedOther = (CurrentNotificationEventId)other; - lastComparison = Boolean.valueOf(isSetEventId()).compareTo(typedOther.isSetEventId()); + lastComparison = Boolean.valueOf(isSetEventId()).compareTo(other.isSetEventId()); if (lastComparison != 0) { return lastComparison; } if (isSetEventId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventId, typedOther.eventId); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventId, other.eventId); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java index c3c531d..78d71c2 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Database implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Database implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Database"); private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -137,7 +141,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.PRIVILEGES,_Fields.OWNER_NAME,_Fields.OWNER_TYPE}; + private static final _Fields optionals[] = {_Fields.PRIVILEGES,_Fields.OWNER_NAME,_Fields.OWNER_TYPE}; 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); @@ -191,18 +195,7 @@ public Database(Database other) { this.locationUri = other.locationUri; } if (other.isSetParameters()) { - Map __this__parameters = new HashMap(); - for (Map.Entry other_element : other.parameters.entrySet()) { - - 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_value = other_element_value; - - __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); - } + Map __this__parameters = new HashMap(other.parameters); this.parameters = __this__parameters; } if (other.isSetPrivileges()) { @@ -605,120 +598,120 @@ public boolean equals(Database that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_name = true && (isSetName()); - builder.append(present_name); + list.add(present_name); if (present_name) - builder.append(name); + list.add(name); boolean present_description = true && (isSetDescription()); - builder.append(present_description); + list.add(present_description); if (present_description) - builder.append(description); + list.add(description); boolean present_locationUri = true && (isSetLocationUri()); - builder.append(present_locationUri); + list.add(present_locationUri); if (present_locationUri) - builder.append(locationUri); + list.add(locationUri); boolean present_parameters = true && (isSetParameters()); - builder.append(present_parameters); + list.add(present_parameters); if (present_parameters) - builder.append(parameters); + list.add(parameters); boolean present_privileges = true && (isSetPrivileges()); - builder.append(present_privileges); + list.add(present_privileges); if (present_privileges) - builder.append(privileges); + list.add(privileges); boolean present_ownerName = true && (isSetOwnerName()); - builder.append(present_ownerName); + list.add(present_ownerName); if (present_ownerName) - builder.append(ownerName); + list.add(ownerName); boolean present_ownerType = true && (isSetOwnerType()); - builder.append(present_ownerType); + list.add(present_ownerType); if (present_ownerType) - builder.append(ownerType.getValue()); + list.add(ownerType.getValue()); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Database other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Database typedOther = (Database)other; - lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDescription()).compareTo(typedOther.isSetDescription()); + lastComparison = Boolean.valueOf(isSetDescription()).compareTo(other.isSetDescription()); if (lastComparison != 0) { return lastComparison; } if (isSetDescription()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, typedOther.description); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, other.description); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLocationUri()).compareTo(typedOther.isSetLocationUri()); + lastComparison = Boolean.valueOf(isSetLocationUri()).compareTo(other.isSetLocationUri()); if (lastComparison != 0) { return lastComparison; } if (isSetLocationUri()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.locationUri, typedOther.locationUri); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.locationUri, other.locationUri); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetParameters()).compareTo(typedOther.isSetParameters()); + lastComparison = Boolean.valueOf(isSetParameters()).compareTo(other.isSetParameters()); if (lastComparison != 0) { return lastComparison; } if (isSetParameters()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, typedOther.parameters); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, other.parameters); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(typedOther.isSetPrivileges()); + lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(other.isSetPrivileges()); if (lastComparison != 0) { return lastComparison; } if (isSetPrivileges()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, typedOther.privileges); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, other.privileges); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOwnerName()).compareTo(typedOther.isSetOwnerName()); + lastComparison = Boolean.valueOf(isSetOwnerName()).compareTo(other.isSetOwnerName()); if (lastComparison != 0) { return lastComparison; } if (isSetOwnerName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerName, typedOther.ownerName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerName, other.ownerName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOwnerType()).compareTo(typedOther.isSetOwnerType()); + lastComparison = Boolean.valueOf(isSetOwnerType()).compareTo(other.isSetOwnerType()); if (lastComparison != 0) { return lastComparison; } if (isSetOwnerType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerType, typedOther.ownerType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerType, other.ownerType); if (lastComparison != 0) { return lastComparison; } @@ -879,13 +872,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Database struct) th { org.apache.thrift.protocol.TMap _map94 = iprot.readMapBegin(); struct.parameters = new HashMap(2*_map94.size); - for (int _i95 = 0; _i95 < _map94.size; ++_i95) + String _key95; + String _val96; + for (int _i97 = 0; _i97 < _map94.size; ++_i97) { - String _key96; // required - String _val97; // required - _key96 = iprot.readString(); - _val97 = iprot.readString(); - struct.parameters.put(_key96, _val97); + _key95 = iprot.readString(); + _val96 = iprot.readString(); + struct.parameters.put(_key95, _val96); } iprot.readMapEnd(); } @@ -913,7 +906,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Database struct) th break; case 7: // OWNER_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.ownerType = PrincipalType.findByValue(iprot.readI32()); + struct.ownerType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setOwnerTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -1071,13 +1064,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Database struct) thr { org.apache.thrift.protocol.TMap _map100 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.parameters = new HashMap(2*_map100.size); - for (int _i101 = 0; _i101 < _map100.size; ++_i101) + String _key101; + String _val102; + for (int _i103 = 0; _i103 < _map100.size; ++_i103) { - String _key102; // required - String _val103; // required - _key102 = iprot.readString(); - _val103 = iprot.readString(); - struct.parameters.put(_key102, _val103); + _key101 = iprot.readString(); + _val102 = iprot.readString(); + struct.parameters.put(_key101, _val102); } } struct.setParametersIsSet(true); @@ -1092,7 +1085,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Database struct) thr struct.setOwnerNameIsSet(true); } if (incoming.get(6)) { - struct.ownerType = PrincipalType.findByValue(iprot.readI32()); + struct.ownerType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setOwnerTypeIsSet(true); } } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java index 3e02db5..896a3a4 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Date implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Date implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Date"); private static final org.apache.thrift.protocol.TField DAYS_SINCE_EPOCH_FIELD_DESC = new org.apache.thrift.protocol.TField("daysSinceEpoch", org.apache.thrift.protocol.TType.I64, (short)1); @@ -227,30 +231,30 @@ public boolean equals(Date that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_daysSinceEpoch = true; - builder.append(present_daysSinceEpoch); + list.add(present_daysSinceEpoch); if (present_daysSinceEpoch) - builder.append(daysSinceEpoch); + list.add(daysSinceEpoch); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Date other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Date typedOther = (Date)other; - lastComparison = Boolean.valueOf(isSetDaysSinceEpoch()).compareTo(typedOther.isSetDaysSinceEpoch()); + lastComparison = Boolean.valueOf(isSetDaysSinceEpoch()).compareTo(other.isSetDaysSinceEpoch()); if (lastComparison != 0) { return lastComparison; } if (isSetDaysSinceEpoch()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.daysSinceEpoch, typedOther.daysSinceEpoch); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.daysSinceEpoch, other.daysSinceEpoch); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java index e9a577d..56cec47 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class DateColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class DateColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DateColumnStatsData"); private static final org.apache.thrift.protocol.TField LOW_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("lowValue", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -121,7 +125,7 @@ public String getFieldName() { private static final int __NUMNULLS_ISSET_ID = 0; private static final int __NUMDVS_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.LOW_VALUE,_Fields.HIGH_VALUE}; + private static final _Fields optionals[] = {_Fields.LOW_VALUE,_Fields.HIGH_VALUE}; 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); @@ -398,75 +402,75 @@ public boolean equals(DateColumnStatsData that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_lowValue = true && (isSetLowValue()); - builder.append(present_lowValue); + list.add(present_lowValue); if (present_lowValue) - builder.append(lowValue); + list.add(lowValue); boolean present_highValue = true && (isSetHighValue()); - builder.append(present_highValue); + list.add(present_highValue); if (present_highValue) - builder.append(highValue); + list.add(highValue); boolean present_numNulls = true; - builder.append(present_numNulls); + list.add(present_numNulls); if (present_numNulls) - builder.append(numNulls); + list.add(numNulls); boolean present_numDVs = true; - builder.append(present_numDVs); + list.add(present_numDVs); if (present_numDVs) - builder.append(numDVs); + list.add(numDVs); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(DateColumnStatsData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - DateColumnStatsData typedOther = (DateColumnStatsData)other; - lastComparison = Boolean.valueOf(isSetLowValue()).compareTo(typedOther.isSetLowValue()); + lastComparison = Boolean.valueOf(isSetLowValue()).compareTo(other.isSetLowValue()); if (lastComparison != 0) { return lastComparison; } if (isSetLowValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowValue, typedOther.lowValue); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowValue, other.lowValue); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHighValue()).compareTo(typedOther.isSetHighValue()); + lastComparison = Boolean.valueOf(isSetHighValue()).compareTo(other.isSetHighValue()); if (lastComparison != 0) { return lastComparison; } if (isSetHighValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.highValue, typedOther.highValue); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.highValue, other.highValue); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(typedOther.isSetNumNulls()); + lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(other.isSetNumNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNumNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, typedOther.numNulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, other.numNulls); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumDVs()).compareTo(typedOther.isSetNumDVs()); + lastComparison = Boolean.valueOf(isSetNumDVs()).compareTo(other.isSetNumDVs()); if (lastComparison != 0) { return lastComparison; } if (isSetNumDVs()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numDVs, typedOther.numDVs); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numDVs, other.numDVs); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java index ed8bb18..abcfb46 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Decimal implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Decimal implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Decimal"); private static final org.apache.thrift.protocol.TField UNSCALED_FIELD_DESC = new org.apache.thrift.protocol.TField("unscaled", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -129,7 +133,7 @@ public Decimal( short scale) { this(); - this.unscaled = unscaled; + this.unscaled = org.apache.thrift.TBaseHelper.copyBinary(unscaled); this.scale = scale; setScaleIsSet(true); } @@ -141,7 +145,6 @@ public Decimal(Decimal other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetUnscaled()) { this.unscaled = org.apache.thrift.TBaseHelper.copyBinary(other.unscaled); -; } this.scale = other.scale; } @@ -163,15 +166,15 @@ public void clear() { } public ByteBuffer bufferForUnscaled() { - return unscaled; + return org.apache.thrift.TBaseHelper.copyBinary(unscaled); } public void setUnscaled(byte[] unscaled) { - setUnscaled(unscaled == null ? (ByteBuffer)null : ByteBuffer.wrap(unscaled)); + this.unscaled = unscaled == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(unscaled, unscaled.length)); } public void setUnscaled(ByteBuffer unscaled) { - this.unscaled = unscaled; + this.unscaled = org.apache.thrift.TBaseHelper.copyBinary(unscaled); } public void unsetUnscaled() { @@ -295,45 +298,45 @@ public boolean equals(Decimal that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_unscaled = true && (isSetUnscaled()); - builder.append(present_unscaled); + list.add(present_unscaled); if (present_unscaled) - builder.append(unscaled); + list.add(unscaled); boolean present_scale = true; - builder.append(present_scale); + list.add(present_scale); if (present_scale) - builder.append(scale); + list.add(scale); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Decimal other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Decimal typedOther = (Decimal)other; - lastComparison = Boolean.valueOf(isSetUnscaled()).compareTo(typedOther.isSetUnscaled()); + lastComparison = Boolean.valueOf(isSetUnscaled()).compareTo(other.isSetUnscaled()); if (lastComparison != 0) { return lastComparison; } if (isSetUnscaled()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unscaled, typedOther.unscaled); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unscaled, other.unscaled); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetScale()).compareTo(typedOther.isSetScale()); + lastComparison = Boolean.valueOf(isSetScale()).compareTo(other.isSetScale()); if (lastComparison != 0) { return lastComparison; } if (isSetScale()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scale, typedOther.scale); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scale, other.scale); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java index 951d479..9d7e5f5 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class DecimalColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class DecimalColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DecimalColumnStatsData"); private static final org.apache.thrift.protocol.TField LOW_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("lowValue", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -121,7 +125,7 @@ public String getFieldName() { private static final int __NUMNULLS_ISSET_ID = 0; private static final int __NUMDVS_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.LOW_VALUE,_Fields.HIGH_VALUE}; + private static final _Fields optionals[] = {_Fields.LOW_VALUE,_Fields.HIGH_VALUE}; 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); @@ -398,75 +402,75 @@ public boolean equals(DecimalColumnStatsData that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_lowValue = true && (isSetLowValue()); - builder.append(present_lowValue); + list.add(present_lowValue); if (present_lowValue) - builder.append(lowValue); + list.add(lowValue); boolean present_highValue = true && (isSetHighValue()); - builder.append(present_highValue); + list.add(present_highValue); if (present_highValue) - builder.append(highValue); + list.add(highValue); boolean present_numNulls = true; - builder.append(present_numNulls); + list.add(present_numNulls); if (present_numNulls) - builder.append(numNulls); + list.add(numNulls); boolean present_numDVs = true; - builder.append(present_numDVs); + list.add(present_numDVs); if (present_numDVs) - builder.append(numDVs); + list.add(numDVs); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(DecimalColumnStatsData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - DecimalColumnStatsData typedOther = (DecimalColumnStatsData)other; - lastComparison = Boolean.valueOf(isSetLowValue()).compareTo(typedOther.isSetLowValue()); + lastComparison = Boolean.valueOf(isSetLowValue()).compareTo(other.isSetLowValue()); if (lastComparison != 0) { return lastComparison; } if (isSetLowValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowValue, typedOther.lowValue); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowValue, other.lowValue); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHighValue()).compareTo(typedOther.isSetHighValue()); + lastComparison = Boolean.valueOf(isSetHighValue()).compareTo(other.isSetHighValue()); if (lastComparison != 0) { return lastComparison; } if (isSetHighValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.highValue, typedOther.highValue); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.highValue, other.highValue); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(typedOther.isSetNumNulls()); + lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(other.isSetNumNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNumNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, typedOther.numNulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, other.numNulls); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumDVs()).compareTo(typedOther.isSetNumDVs()); + lastComparison = Boolean.valueOf(isSetNumDVs()).compareTo(other.isSetNumDVs()); if (lastComparison != 0) { return lastComparison; } if (isSetNumDVs()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numDVs, typedOther.numDVs); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numDVs, other.numDVs); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java index 4203fd8..7acc7d5 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class DoubleColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class DoubleColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DoubleColumnStatsData"); private static final org.apache.thrift.protocol.TField LOW_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("lowValue", org.apache.thrift.protocol.TType.DOUBLE, (short)1); @@ -123,7 +127,7 @@ public String getFieldName() { private static final int __NUMNULLS_ISSET_ID = 2; private static final int __NUMDVS_ISSET_ID = 3; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.LOW_VALUE,_Fields.HIGH_VALUE}; + private static final _Fields optionals[] = {_Fields.LOW_VALUE,_Fields.HIGH_VALUE}; 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); @@ -396,75 +400,75 @@ public boolean equals(DoubleColumnStatsData that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_lowValue = true && (isSetLowValue()); - builder.append(present_lowValue); + list.add(present_lowValue); if (present_lowValue) - builder.append(lowValue); + list.add(lowValue); boolean present_highValue = true && (isSetHighValue()); - builder.append(present_highValue); + list.add(present_highValue); if (present_highValue) - builder.append(highValue); + list.add(highValue); boolean present_numNulls = true; - builder.append(present_numNulls); + list.add(present_numNulls); if (present_numNulls) - builder.append(numNulls); + list.add(numNulls); boolean present_numDVs = true; - builder.append(present_numDVs); + list.add(present_numDVs); if (present_numDVs) - builder.append(numDVs); + list.add(numDVs); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(DoubleColumnStatsData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - DoubleColumnStatsData typedOther = (DoubleColumnStatsData)other; - lastComparison = Boolean.valueOf(isSetLowValue()).compareTo(typedOther.isSetLowValue()); + lastComparison = Boolean.valueOf(isSetLowValue()).compareTo(other.isSetLowValue()); if (lastComparison != 0) { return lastComparison; } if (isSetLowValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowValue, typedOther.lowValue); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowValue, other.lowValue); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHighValue()).compareTo(typedOther.isSetHighValue()); + lastComparison = Boolean.valueOf(isSetHighValue()).compareTo(other.isSetHighValue()); if (lastComparison != 0) { return lastComparison; } if (isSetHighValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.highValue, typedOther.highValue); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.highValue, other.highValue); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(typedOther.isSetNumNulls()); + lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(other.isSetNumNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNumNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, typedOther.numNulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, other.numNulls); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumDVs()).compareTo(typedOther.isSetNumDVs()); + lastComparison = Boolean.valueOf(isSetNumDVs()).compareTo(other.isSetNumDVs()); if (lastComparison != 0) { return lastComparison; } if (isSetNumDVs()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numDVs, typedOther.numDVs); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numDVs, other.numDVs); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java index 59a66f3..ca82346 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class DropPartitionsExpr implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class DropPartitionsExpr implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DropPartitionsExpr"); private static final org.apache.thrift.protocol.TField EXPR_FIELD_DESC = new org.apache.thrift.protocol.TField("expr", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -110,7 +114,7 @@ public String getFieldName() { // isset id assignments private static final int __PARTARCHIVELEVEL_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.PART_ARCHIVE_LEVEL}; + private static final _Fields optionals[] = {_Fields.PART_ARCHIVE_LEVEL}; 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); @@ -129,7 +133,7 @@ public DropPartitionsExpr( ByteBuffer expr) { this(); - this.expr = expr; + this.expr = org.apache.thrift.TBaseHelper.copyBinary(expr); } /** @@ -139,7 +143,6 @@ public DropPartitionsExpr(DropPartitionsExpr other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetExpr()) { this.expr = org.apache.thrift.TBaseHelper.copyBinary(other.expr); -; } this.partArchiveLevel = other.partArchiveLevel; } @@ -161,15 +164,15 @@ public void clear() { } public ByteBuffer bufferForExpr() { - return expr; + return org.apache.thrift.TBaseHelper.copyBinary(expr); } public void setExpr(byte[] expr) { - setExpr(expr == null ? (ByteBuffer)null : ByteBuffer.wrap(expr)); + this.expr = expr == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(expr, expr.length)); } public void setExpr(ByteBuffer expr) { - this.expr = expr; + this.expr = org.apache.thrift.TBaseHelper.copyBinary(expr); } public void unsetExpr() { @@ -293,45 +296,45 @@ public boolean equals(DropPartitionsExpr that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_expr = true && (isSetExpr()); - builder.append(present_expr); + list.add(present_expr); if (present_expr) - builder.append(expr); + list.add(expr); boolean present_partArchiveLevel = true && (isSetPartArchiveLevel()); - builder.append(present_partArchiveLevel); + list.add(present_partArchiveLevel); if (present_partArchiveLevel) - builder.append(partArchiveLevel); + list.add(partArchiveLevel); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(DropPartitionsExpr other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - DropPartitionsExpr typedOther = (DropPartitionsExpr)other; - lastComparison = Boolean.valueOf(isSetExpr()).compareTo(typedOther.isSetExpr()); + lastComparison = Boolean.valueOf(isSetExpr()).compareTo(other.isSetExpr()); if (lastComparison != 0) { return lastComparison; } if (isSetExpr()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expr, typedOther.expr); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expr, other.expr); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartArchiveLevel()).compareTo(typedOther.isSetPartArchiveLevel()); + lastComparison = Boolean.valueOf(isSetPartArchiveLevel()).compareTo(other.isSetPartArchiveLevel()); if (lastComparison != 0) { return lastComparison; } if (isSetPartArchiveLevel()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partArchiveLevel, typedOther.partArchiveLevel); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partArchiveLevel, other.partArchiveLevel); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java index 1923f38..8ec58c0 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class DropPartitionsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class DropPartitionsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DropPartitionsRequest"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -143,7 +147,7 @@ public String getFieldName() { private static final int __IGNOREPROTECTION_ISSET_ID = 2; private static final int __NEEDRESULT_ISSET_ID = 3; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.DELETE_DATA,_Fields.IF_EXISTS,_Fields.IGNORE_PROTECTION,_Fields.ENVIRONMENT_CONTEXT,_Fields.NEED_RESULT}; + private static final _Fields optionals[] = {_Fields.DELETE_DATA,_Fields.IF_EXISTS,_Fields.IGNORE_PROTECTION,_Fields.ENVIRONMENT_CONTEXT,_Fields.NEED_RESULT}; 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); @@ -624,135 +628,135 @@ public boolean equals(DropPartitionsRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_tblName = true && (isSetTblName()); - builder.append(present_tblName); + list.add(present_tblName); if (present_tblName) - builder.append(tblName); + list.add(tblName); boolean present_parts = true && (isSetParts()); - builder.append(present_parts); + list.add(present_parts); if (present_parts) - builder.append(parts); + list.add(parts); boolean present_deleteData = true && (isSetDeleteData()); - builder.append(present_deleteData); + list.add(present_deleteData); if (present_deleteData) - builder.append(deleteData); + list.add(deleteData); boolean present_ifExists = true && (isSetIfExists()); - builder.append(present_ifExists); + list.add(present_ifExists); if (present_ifExists) - builder.append(ifExists); + list.add(ifExists); boolean present_ignoreProtection = true && (isSetIgnoreProtection()); - builder.append(present_ignoreProtection); + list.add(present_ignoreProtection); if (present_ignoreProtection) - builder.append(ignoreProtection); + list.add(ignoreProtection); boolean present_environmentContext = true && (isSetEnvironmentContext()); - builder.append(present_environmentContext); + list.add(present_environmentContext); if (present_environmentContext) - builder.append(environmentContext); + list.add(environmentContext); boolean present_needResult = true && (isSetNeedResult()); - builder.append(present_needResult); + list.add(present_needResult); if (present_needResult) - builder.append(needResult); + list.add(needResult); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(DropPartitionsRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - DropPartitionsRequest typedOther = (DropPartitionsRequest)other; - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTblName()).compareTo(typedOther.isSetTblName()); + lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName()); if (lastComparison != 0) { return lastComparison; } if (isSetTblName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, typedOther.tblName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetParts()).compareTo(typedOther.isSetParts()); + lastComparison = Boolean.valueOf(isSetParts()).compareTo(other.isSetParts()); if (lastComparison != 0) { return lastComparison; } if (isSetParts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parts, typedOther.parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parts, other.parts); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(typedOther.isSetDeleteData()); + lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(other.isSetDeleteData()); if (lastComparison != 0) { return lastComparison; } if (isSetDeleteData()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, typedOther.deleteData); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, other.deleteData); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIfExists()).compareTo(typedOther.isSetIfExists()); + lastComparison = Boolean.valueOf(isSetIfExists()).compareTo(other.isSetIfExists()); if (lastComparison != 0) { return lastComparison; } if (isSetIfExists()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ifExists, typedOther.ifExists); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ifExists, other.ifExists); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIgnoreProtection()).compareTo(typedOther.isSetIgnoreProtection()); + lastComparison = Boolean.valueOf(isSetIgnoreProtection()).compareTo(other.isSetIgnoreProtection()); if (lastComparison != 0) { return lastComparison; } if (isSetIgnoreProtection()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ignoreProtection, typedOther.ignoreProtection); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ignoreProtection, other.ignoreProtection); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironmentContext()).compareTo(typedOther.isSetEnvironmentContext()); + lastComparison = Boolean.valueOf(isSetEnvironmentContext()).compareTo(other.isSetEnvironmentContext()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironmentContext()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environmentContext, typedOther.environmentContext); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environmentContext, other.environmentContext); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNeedResult()).compareTo(typedOther.isSetNeedResult()); + lastComparison = Boolean.valueOf(isSetNeedResult()).compareTo(other.isSetNeedResult()); if (lastComparison != 0) { return lastComparison; } if (isSetNeedResult()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.needResult, typedOther.needResult); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.needResult, other.needResult); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java index b7f69f2..da123bb 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class DropPartitionsResult implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class DropPartitionsResult implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("DropPartitionsResult"); private static final org.apache.thrift.protocol.TField PARTITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("partitions", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -103,7 +107,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.PARTITIONS}; + private static final _Fields optionals[] = {_Fields.PARTITIONS}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -122,7 +126,7 @@ public DropPartitionsResult() { */ public DropPartitionsResult(DropPartitionsResult other) { if (other.isSetPartitions()) { - List __this__partitions = new ArrayList(); + List __this__partitions = new ArrayList(other.partitions.size()); for (Partition other_element : other.partitions) { __this__partitions.add(new Partition(other_element)); } @@ -239,30 +243,30 @@ public boolean equals(DropPartitionsResult that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_partitions = true && (isSetPartitions()); - builder.append(present_partitions); + list.add(present_partitions); if (present_partitions) - builder.append(partitions); + list.add(partitions); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(DropPartitionsResult other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - DropPartitionsResult typedOther = (DropPartitionsResult)other; - lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(typedOther.isSetPartitions()); + lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(other.isSetPartitions()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, typedOther.partitions); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, other.partitions); if (lastComparison != 0) { return lastComparison; } @@ -344,12 +348,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, DropPartitionsResul { org.apache.thrift.protocol.TList _list396 = iprot.readListBegin(); struct.partitions = new ArrayList(_list396.size); - for (int _i397 = 0; _i397 < _list396.size; ++_i397) + Partition _elem397; + for (int _i398 = 0; _i398 < _list396.size; ++_i398) { - Partition _elem398; // optional - _elem398 = new Partition(); - _elem398.read(iprot); - struct.partitions.add(_elem398); + _elem397 = new Partition(); + _elem397.read(iprot); + struct.partitions.add(_elem397); } iprot.readListEnd(); } @@ -426,12 +430,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResult { org.apache.thrift.protocol.TList _list401 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.partitions = new ArrayList(_list401.size); - for (int _i402 = 0; _i402 < _list401.size; ++_i402) + Partition _elem402; + for (int _i403 = 0; _i403 < _list401.size; ++_i403) { - Partition _elem403; // optional - _elem403 = new Partition(); - _elem403.read(iprot); - struct.partitions.add(_elem403); + _elem402 = new Partition(); + _elem402.read(iprot); + struct.partitions.add(_elem402); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java index ab0b399..bf57074 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class EnvironmentContext implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class EnvironmentContext implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("EnvironmentContext"); private static final org.apache.thrift.protocol.TField PROPERTIES_FIELD_DESC = new org.apache.thrift.protocol.TField("properties", org.apache.thrift.protocol.TType.MAP, (short)1); @@ -129,18 +133,7 @@ public EnvironmentContext( */ public EnvironmentContext(EnvironmentContext other) { if (other.isSetProperties()) { - Map __this__properties = new HashMap(); - for (Map.Entry other_element : other.properties.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__properties_copy_key = other_element_key; - - String __this__properties_copy_value = other_element_value; - - __this__properties.put(__this__properties_copy_key, __this__properties_copy_value); - } + Map __this__properties = new HashMap(other.properties); this.properties = __this__properties; } } @@ -250,30 +243,30 @@ public boolean equals(EnvironmentContext that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_properties = true && (isSetProperties()); - builder.append(present_properties); + list.add(present_properties); if (present_properties) - builder.append(properties); + list.add(properties); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(EnvironmentContext other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - EnvironmentContext typedOther = (EnvironmentContext)other; - lastComparison = Boolean.valueOf(isSetProperties()).compareTo(typedOther.isSetProperties()); + lastComparison = Boolean.valueOf(isSetProperties()).compareTo(other.isSetProperties()); if (lastComparison != 0) { return lastComparison; } if (isSetProperties()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.properties, typedOther.properties); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.properties, other.properties); if (lastComparison != 0) { return lastComparison; } @@ -353,13 +346,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, EnvironmentContext { org.apache.thrift.protocol.TMap _map312 = iprot.readMapBegin(); struct.properties = new HashMap(2*_map312.size); - for (int _i313 = 0; _i313 < _map312.size; ++_i313) + String _key313; + String _val314; + for (int _i315 = 0; _i315 < _map312.size; ++_i315) { - String _key314; // required - String _val315; // required - _key314 = iprot.readString(); - _val315 = iprot.readString(); - struct.properties.put(_key314, _val315); + _key313 = iprot.readString(); + _val314 = iprot.readString(); + struct.properties.put(_key313, _val314); } iprot.readMapEnd(); } @@ -436,13 +429,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, EnvironmentContext s { org.apache.thrift.protocol.TMap _map318 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.properties = new HashMap(2*_map318.size); - for (int _i319 = 0; _i319 < _map318.size; ++_i319) + String _key319; + String _val320; + for (int _i321 = 0; _i321 < _map318.size; ++_i321) { - String _key320; // required - String _val321; // required - _key320 = iprot.readString(); - _val321 = iprot.readString(); - struct.properties.put(_key320, _val321); + _key319 = iprot.readString(); + _val320 = iprot.readString(); + struct.properties.put(_key319, _val320); } } struct.setPropertiesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java index 084c3ee..422b44f 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java index a993810..98c1e33 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class FieldSchema implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class FieldSchema implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FieldSchema"); private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -135,9 +139,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 +149,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 +175,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 +198,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 +221,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() { @@ -341,60 +345,60 @@ public boolean equals(FieldSchema that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_name = true && (isSetName()); - builder.append(present_name); + list.add(present_name); if (present_name) - builder.append(name); + list.add(name); boolean present_type = true && (isSetType()); - builder.append(present_type); + list.add(present_type); if (present_type) - builder.append(type); + list.add(type); boolean present_comment = true && (isSetComment()); - builder.append(present_comment); + list.add(present_comment); if (present_comment) - builder.append(comment); + list.add(comment); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(FieldSchema other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - FieldSchema typedOther = (FieldSchema)other; - lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType()); + lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType()); if (lastComparison != 0) { return lastComparison; } if (isSetType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetComment()).compareTo(typedOther.isSetComment()); + lastComparison = Boolean.valueOf(isSetComment()).compareTo(other.isSetComment()); if (lastComparison != 0) { return lastComparison; } if (isSetComment()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comment, typedOther.comment); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comment, other.comment); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index 44b83da..91e8dfa 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class FireEventRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class FireEventRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FireEventRequest"); private static final org.apache.thrift.protocol.TField SUCCESSFUL_FIELD_DESC = new org.apache.thrift.protocol.TField("successful", org.apache.thrift.protocol.TType.BOOL, (short)1); @@ -125,7 +129,7 @@ public String getFieldName() { // isset id assignments private static final int __SUCCESSFUL_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.DB_NAME,_Fields.TABLE_NAME,_Fields.PARTITION_VALS}; + private static final _Fields optionals[] = {_Fields.DB_NAME,_Fields.TABLE_NAME,_Fields.PARTITION_VALS}; 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); @@ -173,10 +177,7 @@ public FireEventRequest(FireEventRequest other) { this.tableName = other.tableName; } if (other.isSetPartitionVals()) { - List __this__partitionVals = new ArrayList(); - for (String other_element : other.partitionVals) { - __this__partitionVals.add(other_element); - } + List __this__partitionVals = new ArrayList(other.partitionVals); this.partitionVals = __this__partitionVals; } } @@ -474,90 +475,90 @@ public boolean equals(FireEventRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_successful = true; - builder.append(present_successful); + list.add(present_successful); if (present_successful) - builder.append(successful); + list.add(successful); boolean present_data = true && (isSetData()); - builder.append(present_data); + list.add(present_data); if (present_data) - builder.append(data); + list.add(data); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_tableName = true && (isSetTableName()); - builder.append(present_tableName); + list.add(present_tableName); if (present_tableName) - builder.append(tableName); + list.add(tableName); boolean present_partitionVals = true && (isSetPartitionVals()); - builder.append(present_partitionVals); + list.add(present_partitionVals); if (present_partitionVals) - builder.append(partitionVals); + list.add(partitionVals); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(FireEventRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - FireEventRequest typedOther = (FireEventRequest)other; - lastComparison = Boolean.valueOf(isSetSuccessful()).compareTo(typedOther.isSetSuccessful()); + lastComparison = Boolean.valueOf(isSetSuccessful()).compareTo(other.isSetSuccessful()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccessful()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.successful, typedOther.successful); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.successful, other.successful); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetData()).compareTo(typedOther.isSetData()); + lastComparison = Boolean.valueOf(isSetData()).compareTo(other.isSetData()); if (lastComparison != 0) { return lastComparison; } if (isSetData()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.data, typedOther.data); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.data, other.data); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); + lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartitionVals()).compareTo(typedOther.isSetPartitionVals()); + lastComparison = Boolean.valueOf(isSetPartitionVals()).compareTo(other.isSetPartitionVals()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitionVals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionVals, typedOther.partitionVals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionVals, other.partitionVals); if (lastComparison != 0) { return lastComparison; } @@ -714,11 +715,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st { org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); struct.partitionVals = new ArrayList(_list516.size); - for (int _i517 = 0; _i517 < _list516.size; ++_i517) + String _elem517; + for (int _i518 = 0; _i518 < _list516.size; ++_i518) { - String _elem518; // optional - _elem518 = iprot.readString(); - struct.partitionVals.add(_elem518); + _elem517 = iprot.readString(); + struct.partitionVals.add(_elem517); } iprot.readListEnd(); } @@ -844,11 +845,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str { org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.partitionVals = new ArrayList(_list521.size); - for (int _i522 = 0; _i522 < _list521.size; ++_i522) + String _elem522; + for (int _i523 = 0; _i523 < _list521.size; ++_i523) { - String _elem523; // optional - _elem523 = iprot.readString(); - struct.partitionVals.add(_elem523); + _elem522 = iprot.readString(); + struct.partitionVals.add(_elem522); } } struct.setPartitionValsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java index 008682e..2830496 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class FireEventRequestData extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FireEventRequestData"); private static final org.apache.thrift.protocol.TField INSERT_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("insertData", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -156,6 +159,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } } @@ -270,19 +274,19 @@ public int compareTo(FireEventRequestData other) { @Override public int hashCode() { - HashCodeBuilder hcb = new HashCodeBuilder(); - hcb.append(this.getClass().getName()); + List list = new ArrayList(); + list.add(this.getClass().getName()); org.apache.thrift.TFieldIdEnum setField = getSetField(); if (setField != null) { - hcb.append(setField.getThriftFieldId()); + list.add(setField.getThriftFieldId()); Object value = getFieldValue(); if (value instanceof org.apache.thrift.TEnum) { - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue()); + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue()); } else { - hcb.append(value); + list.add(value); } } - return hcb.toHashCode(); + return list.hashCode(); } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java index 051f411..52c3499 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class FireEventResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class FireEventResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FireEventResponse"); @@ -161,18 +165,18 @@ public boolean equals(FireEventResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(FireEventResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - FireEventResponse typedOther = (FireEventResponse)other; return 0; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java index c40e33d..b9576c2 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Function implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Function implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Function"); private static final org.apache.thrift.protocol.TField FUNCTION_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("functionName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -222,7 +226,7 @@ public Function(Function other) { this.functionType = other.functionType; } if (other.isSetResourceUris()) { - List __this__resourceUris = new ArrayList(); + List __this__resourceUris = new ArrayList(other.resourceUris.size()); for (ResourceUri other_element : other.resourceUris) { __this__resourceUris.add(new ResourceUri(other_element)); } @@ -677,135 +681,135 @@ public boolean equals(Function that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_functionName = true && (isSetFunctionName()); - builder.append(present_functionName); + list.add(present_functionName); if (present_functionName) - builder.append(functionName); + list.add(functionName); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_className = true && (isSetClassName()); - builder.append(present_className); + list.add(present_className); if (present_className) - builder.append(className); + list.add(className); boolean present_ownerName = true && (isSetOwnerName()); - builder.append(present_ownerName); + list.add(present_ownerName); if (present_ownerName) - builder.append(ownerName); + list.add(ownerName); boolean present_ownerType = true && (isSetOwnerType()); - builder.append(present_ownerType); + list.add(present_ownerType); if (present_ownerType) - builder.append(ownerType.getValue()); + list.add(ownerType.getValue()); boolean present_createTime = true; - builder.append(present_createTime); + list.add(present_createTime); if (present_createTime) - builder.append(createTime); + list.add(createTime); boolean present_functionType = true && (isSetFunctionType()); - builder.append(present_functionType); + list.add(present_functionType); if (present_functionType) - builder.append(functionType.getValue()); + list.add(functionType.getValue()); boolean present_resourceUris = true && (isSetResourceUris()); - builder.append(present_resourceUris); + list.add(present_resourceUris); if (present_resourceUris) - builder.append(resourceUris); + list.add(resourceUris); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Function other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Function typedOther = (Function)other; - lastComparison = Boolean.valueOf(isSetFunctionName()).compareTo(typedOther.isSetFunctionName()); + lastComparison = Boolean.valueOf(isSetFunctionName()).compareTo(other.isSetFunctionName()); if (lastComparison != 0) { return lastComparison; } if (isSetFunctionName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.functionName, typedOther.functionName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.functionName, other.functionName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetClassName()).compareTo(typedOther.isSetClassName()); + lastComparison = Boolean.valueOf(isSetClassName()).compareTo(other.isSetClassName()); if (lastComparison != 0) { return lastComparison; } if (isSetClassName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.className, typedOther.className); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.className, other.className); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOwnerName()).compareTo(typedOther.isSetOwnerName()); + lastComparison = Boolean.valueOf(isSetOwnerName()).compareTo(other.isSetOwnerName()); if (lastComparison != 0) { return lastComparison; } if (isSetOwnerName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerName, typedOther.ownerName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerName, other.ownerName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOwnerType()).compareTo(typedOther.isSetOwnerType()); + lastComparison = Boolean.valueOf(isSetOwnerType()).compareTo(other.isSetOwnerType()); if (lastComparison != 0) { return lastComparison; } if (isSetOwnerType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerType, typedOther.ownerType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerType, other.ownerType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(typedOther.isSetCreateTime()); + lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(other.isSetCreateTime()); if (lastComparison != 0) { return lastComparison; } if (isSetCreateTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, typedOther.createTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, other.createTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetFunctionType()).compareTo(typedOther.isSetFunctionType()); + lastComparison = Boolean.valueOf(isSetFunctionType()).compareTo(other.isSetFunctionType()); if (lastComparison != 0) { return lastComparison; } if (isSetFunctionType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.functionType, typedOther.functionType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.functionType, other.functionType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetResourceUris()).compareTo(typedOther.isSetResourceUris()); + lastComparison = Boolean.valueOf(isSetResourceUris()).compareTo(other.isSetResourceUris()); if (lastComparison != 0) { return lastComparison; } if (isSetResourceUris()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceUris, typedOther.resourceUris); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceUris, other.resourceUris); if (lastComparison != 0) { return lastComparison; } @@ -968,7 +972,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Function struct) th break; case 5: // OWNER_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.ownerType = PrincipalType.findByValue(iprot.readI32()); + struct.ownerType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setOwnerTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -984,7 +988,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Function struct) th break; case 7: // FUNCTION_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.functionType = FunctionType.findByValue(iprot.readI32()); + struct.functionType = org.apache.hadoop.hive.metastore.api.FunctionType.findByValue(iprot.readI32()); struct.setFunctionTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -995,12 +999,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Function struct) th { org.apache.thrift.protocol.TList _list420 = iprot.readListBegin(); struct.resourceUris = new ArrayList(_list420.size); - for (int _i421 = 0; _i421 < _list420.size; ++_i421) + ResourceUri _elem421; + for (int _i422 = 0; _i422 < _list420.size; ++_i422) { - ResourceUri _elem422; // optional - _elem422 = new ResourceUri(); - _elem422.read(iprot); - struct.resourceUris.add(_elem422); + _elem421 = new ResourceUri(); + _elem421.read(iprot); + struct.resourceUris.add(_elem421); } iprot.readListEnd(); } @@ -1163,7 +1167,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Function struct) thr struct.setOwnerNameIsSet(true); } if (incoming.get(4)) { - struct.ownerType = PrincipalType.findByValue(iprot.readI32()); + struct.ownerType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setOwnerTypeIsSet(true); } if (incoming.get(5)) { @@ -1171,19 +1175,19 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Function struct) thr struct.setCreateTimeIsSet(true); } if (incoming.get(6)) { - struct.functionType = FunctionType.findByValue(iprot.readI32()); + struct.functionType = org.apache.hadoop.hive.metastore.api.FunctionType.findByValue(iprot.readI32()); struct.setFunctionTypeIsSet(true); } if (incoming.get(7)) { { org.apache.thrift.protocol.TList _list425 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.resourceUris = new ArrayList(_list425.size); - for (int _i426 = 0; _i426 < _list425.size; ++_i426) + ResourceUri _elem426; + for (int _i427 = 0; _i427 < _list425.size; ++_i427) { - ResourceUri _elem427; // optional - _elem427 = new ResourceUri(); - _elem427.read(iprot); - struct.resourceUris.add(_elem427); + _elem426 = new ResourceUri(); + _elem426.read(iprot); + struct.resourceUris.add(_elem426); } } struct.setResourceUrisIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java index 8f5b9b1..6958566 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java new file mode 100644 index 0000000..2adf189 --- /dev/null +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java @@ -0,0 +1,447 @@ +/** + * Autogenerated by Thrift Compiler (0.9.2) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; + +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import javax.annotation.Generated; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class GetAllFunctionsResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetAllFunctionsResponse"); + + private static final org.apache.thrift.protocol.TField FUNCTIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("functions", org.apache.thrift.protocol.TType.LIST, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new GetAllFunctionsResponseStandardSchemeFactory()); + schemes.put(TupleScheme.class, new GetAllFunctionsResponseTupleSchemeFactory()); + } + + private List functions; // optional + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + FUNCTIONS((short)1, "functions"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // FUNCTIONS + return FUNCTIONS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final _Fields optionals[] = {_Fields.FUNCTIONS}; + 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.FUNCTIONS, new org.apache.thrift.meta_data.FieldMetaData("functions", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Function.class)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(GetAllFunctionsResponse.class, metaDataMap); + } + + public GetAllFunctionsResponse() { + } + + /** + * Performs a deep copy on other. + */ + public GetAllFunctionsResponse(GetAllFunctionsResponse other) { + if (other.isSetFunctions()) { + List __this__functions = new ArrayList(other.functions.size()); + for (Function other_element : other.functions) { + __this__functions.add(new Function(other_element)); + } + this.functions = __this__functions; + } + } + + public GetAllFunctionsResponse deepCopy() { + return new GetAllFunctionsResponse(this); + } + + @Override + public void clear() { + this.functions = null; + } + + public int getFunctionsSize() { + return (this.functions == null) ? 0 : this.functions.size(); + } + + public java.util.Iterator getFunctionsIterator() { + return (this.functions == null) ? null : this.functions.iterator(); + } + + public void addToFunctions(Function elem) { + if (this.functions == null) { + this.functions = new ArrayList(); + } + this.functions.add(elem); + } + + public List getFunctions() { + return this.functions; + } + + public void setFunctions(List functions) { + this.functions = functions; + } + + public void unsetFunctions() { + this.functions = null; + } + + /** Returns true if field functions is set (has been assigned a value) and false otherwise */ + public boolean isSetFunctions() { + return this.functions != null; + } + + public void setFunctionsIsSet(boolean value) { + if (!value) { + this.functions = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case FUNCTIONS: + if (value == null) { + unsetFunctions(); + } else { + setFunctions((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case FUNCTIONS: + return getFunctions(); + + } + 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 FUNCTIONS: + return isSetFunctions(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof GetAllFunctionsResponse) + return this.equals((GetAllFunctionsResponse)that); + return false; + } + + public boolean equals(GetAllFunctionsResponse that) { + if (that == null) + return false; + + boolean this_present_functions = true && this.isSetFunctions(); + boolean that_present_functions = true && that.isSetFunctions(); + if (this_present_functions || that_present_functions) { + if (!(this_present_functions && that_present_functions)) + return false; + if (!this.functions.equals(that.functions)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_functions = true && (isSetFunctions()); + list.add(present_functions); + if (present_functions) + list.add(functions); + + return list.hashCode(); + } + + @Override + public int compareTo(GetAllFunctionsResponse other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetFunctions()).compareTo(other.isSetFunctions()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetFunctions()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.functions, other.functions); + 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("GetAllFunctionsResponse("); + boolean first = true; + + if (isSetFunctions()) { + sb.append("functions:"); + if (this.functions == null) { + sb.append("null"); + } else { + sb.append(this.functions); + } + first = false; + } + 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 GetAllFunctionsResponseStandardSchemeFactory implements SchemeFactory { + public GetAllFunctionsResponseStandardScheme getScheme() { + return new GetAllFunctionsResponseStandardScheme(); + } + } + + private static class GetAllFunctionsResponseStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, GetAllFunctionsResponse 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: // FUNCTIONS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); + struct.functions = new ArrayList(_list524.size); + Function _elem525; + for (int _i526 = 0; _i526 < _list524.size; ++_i526) + { + _elem525 = new Function(); + _elem525.read(iprot); + struct.functions.add(_elem525); + } + iprot.readListEnd(); + } + struct.setFunctionsIsSet(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, GetAllFunctionsResponse struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.functions != null) { + if (struct.isSetFunctions()) { + oprot.writeFieldBegin(FUNCTIONS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.functions.size())); + for (Function _iter527 : struct.functions) + { + _iter527.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class GetAllFunctionsResponseTupleSchemeFactory implements SchemeFactory { + public GetAllFunctionsResponseTupleScheme getScheme() { + return new GetAllFunctionsResponseTupleScheme(); + } + } + + private static class GetAllFunctionsResponseTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsResponse struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetFunctions()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetFunctions()) { + { + oprot.writeI32(struct.functions.size()); + for (Function _iter528 : struct.functions) + { + _iter528.write(oprot); + } + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsResponse struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list529.size); + Function _elem530; + for (int _i531 = 0; _i531 < _list529.size; ++_i531) + { + _elem530 = new Function(); + _elem530.read(iprot); + struct.functions.add(_elem530); + } + } + struct.setFunctionsIsSet(true); + } + } + } + +} + diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java index 9fe8d82..84a3c58 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class GetOpenTxnsInfoResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class GetOpenTxnsInfoResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetOpenTxnsInfoResponse"); private static final org.apache.thrift.protocol.TField TXN_HIGH_WATER_MARK_FIELD_DESC = new org.apache.thrift.protocol.TField("txn_high_water_mark", org.apache.thrift.protocol.TType.I64, (short)1); @@ -142,7 +146,7 @@ public GetOpenTxnsInfoResponse(GetOpenTxnsInfoResponse other) { __isset_bitfield = other.__isset_bitfield; this.txn_high_water_mark = other.txn_high_water_mark; if (other.isSetOpen_txns()) { - List __this__open_txns = new ArrayList(); + List __this__open_txns = new ArrayList(other.open_txns.size()); for (TxnInfo other_element : other.open_txns) { __this__open_txns.add(new TxnInfo(other_element)); } @@ -305,45 +309,45 @@ public boolean equals(GetOpenTxnsInfoResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_txn_high_water_mark = true; - builder.append(present_txn_high_water_mark); + list.add(present_txn_high_water_mark); if (present_txn_high_water_mark) - builder.append(txn_high_water_mark); + list.add(txn_high_water_mark); boolean present_open_txns = true && (isSetOpen_txns()); - builder.append(present_open_txns); + list.add(present_open_txns); if (present_open_txns) - builder.append(open_txns); + list.add(open_txns); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetOpenTxnsInfoResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetOpenTxnsInfoResponse typedOther = (GetOpenTxnsInfoResponse)other; - lastComparison = Boolean.valueOf(isSetTxn_high_water_mark()).compareTo(typedOther.isSetTxn_high_water_mark()); + lastComparison = Boolean.valueOf(isSetTxn_high_water_mark()).compareTo(other.isSetTxn_high_water_mark()); if (lastComparison != 0) { return lastComparison; } if (isSetTxn_high_water_mark()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txn_high_water_mark, typedOther.txn_high_water_mark); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txn_high_water_mark, other.txn_high_water_mark); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOpen_txns()).compareTo(typedOther.isSetOpen_txns()); + lastComparison = Boolean.valueOf(isSetOpen_txns()).compareTo(other.isSetOpen_txns()); if (lastComparison != 0) { return lastComparison; } if (isSetOpen_txns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.open_txns, typedOther.open_txns); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.open_txns, other.open_txns); if (lastComparison != 0) { return lastComparison; } @@ -445,12 +449,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsInfoResp { org.apache.thrift.protocol.TList _list428 = iprot.readListBegin(); struct.open_txns = new ArrayList(_list428.size); - for (int _i429 = 0; _i429 < _list428.size; ++_i429) + TxnInfo _elem429; + for (int _i430 = 0; _i430 < _list428.size; ++_i430) { - TxnInfo _elem430; // optional - _elem430 = new TxnInfo(); - _elem430.read(iprot); - struct.open_txns.add(_elem430); + _elem429 = new TxnInfo(); + _elem429.read(iprot); + struct.open_txns.add(_elem429); } iprot.readListEnd(); } @@ -522,12 +526,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsInfoRespo { org.apache.thrift.protocol.TList _list433 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.open_txns = new ArrayList(_list433.size); - for (int _i434 = 0; _i434 < _list433.size; ++_i434) + TxnInfo _elem434; + for (int _i435 = 0; _i435 < _list433.size; ++_i435) { - TxnInfo _elem435; // optional - _elem435 = new TxnInfo(); - _elem435.read(iprot); - struct.open_txns.add(_elem435); + _elem434 = new TxnInfo(); + _elem434.read(iprot); + struct.open_txns.add(_elem434); } } struct.setOpen_txnsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java index 917ecea..8cce87a 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class GetOpenTxnsResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class GetOpenTxnsResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetOpenTxnsResponse"); private static final org.apache.thrift.protocol.TField TXN_HIGH_WATER_MARK_FIELD_DESC = new org.apache.thrift.protocol.TField("txn_high_water_mark", org.apache.thrift.protocol.TType.I64, (short)1); @@ -142,10 +146,7 @@ public GetOpenTxnsResponse(GetOpenTxnsResponse other) { __isset_bitfield = other.__isset_bitfield; this.txn_high_water_mark = other.txn_high_water_mark; if (other.isSetOpen_txns()) { - Set __this__open_txns = new HashSet(); - for (Long other_element : other.open_txns) { - __this__open_txns.add(other_element); - } + Set __this__open_txns = new HashSet(other.open_txns); this.open_txns = __this__open_txns; } } @@ -305,45 +306,45 @@ public boolean equals(GetOpenTxnsResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_txn_high_water_mark = true; - builder.append(present_txn_high_water_mark); + list.add(present_txn_high_water_mark); if (present_txn_high_water_mark) - builder.append(txn_high_water_mark); + list.add(txn_high_water_mark); boolean present_open_txns = true && (isSetOpen_txns()); - builder.append(present_open_txns); + list.add(present_open_txns); if (present_open_txns) - builder.append(open_txns); + list.add(open_txns); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetOpenTxnsResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetOpenTxnsResponse typedOther = (GetOpenTxnsResponse)other; - lastComparison = Boolean.valueOf(isSetTxn_high_water_mark()).compareTo(typedOther.isSetTxn_high_water_mark()); + lastComparison = Boolean.valueOf(isSetTxn_high_water_mark()).compareTo(other.isSetTxn_high_water_mark()); if (lastComparison != 0) { return lastComparison; } if (isSetTxn_high_water_mark()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txn_high_water_mark, typedOther.txn_high_water_mark); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txn_high_water_mark, other.txn_high_water_mark); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOpen_txns()).compareTo(typedOther.isSetOpen_txns()); + lastComparison = Boolean.valueOf(isSetOpen_txns()).compareTo(other.isSetOpen_txns()); if (lastComparison != 0) { return lastComparison; } if (isSetOpen_txns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.open_txns, typedOther.open_txns); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.open_txns, other.open_txns); if (lastComparison != 0) { return lastComparison; } @@ -445,11 +446,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsResponse { org.apache.thrift.protocol.TSet _set436 = iprot.readSetBegin(); struct.open_txns = new HashSet(2*_set436.size); - for (int _i437 = 0; _i437 < _set436.size; ++_i437) + long _elem437; + for (int _i438 = 0; _i438 < _set436.size; ++_i438) { - long _elem438; // optional - _elem438 = iprot.readI64(); - struct.open_txns.add(_elem438); + _elem437 = iprot.readI64(); + struct.open_txns.add(_elem437); } iprot.readSetEnd(); } @@ -521,11 +522,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse { org.apache.thrift.protocol.TSet _set441 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.open_txns = new HashSet(2*_set441.size); - for (int _i442 = 0; _i442 < _set441.size; ++_i442) + long _elem442; + for (int _i443 = 0; _i443 < _set441.size; ++_i443) { - long _elem443; // optional - _elem443 = iprot.readI64(); - struct.open_txns.add(_elem443); + _elem442 = iprot.readI64(); + struct.open_txns.add(_elem442); } } struct.setOpen_txnsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java index 565eba9..0bc672b 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class GetPrincipalsInRoleRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class GetPrincipalsInRoleRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetPrincipalsInRoleRequest"); private static final org.apache.thrift.protocol.TField ROLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("roleName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(GetPrincipalsInRoleRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_roleName = true && (isSetRoleName()); - builder.append(present_roleName); + list.add(present_roleName); if (present_roleName) - builder.append(roleName); + list.add(roleName); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetPrincipalsInRoleRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetPrincipalsInRoleRequest typedOther = (GetPrincipalsInRoleRequest)other; - lastComparison = Boolean.valueOf(isSetRoleName()).compareTo(typedOther.isSetRoleName()); + lastComparison = Boolean.valueOf(isSetRoleName()).compareTo(other.isSetRoleName()); if (lastComparison != 0) { return lastComparison; } if (isSetRoleName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.roleName, typedOther.roleName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.roleName, other.roleName); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java index 3ef6224..3533930 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class GetPrincipalsInRoleResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class GetPrincipalsInRoleResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetPrincipalsInRoleResponse"); private static final org.apache.thrift.protocol.TField PRINCIPAL_GRANTS_FIELD_DESC = new org.apache.thrift.protocol.TField("principalGrants", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public GetPrincipalsInRoleResponse( */ public GetPrincipalsInRoleResponse(GetPrincipalsInRoleResponse other) { if (other.isSetPrincipalGrants()) { - List __this__principalGrants = new ArrayList(); + List __this__principalGrants = new ArrayList(other.principalGrants.size()); for (RolePrincipalGrant other_element : other.principalGrants) { __this__principalGrants.add(new RolePrincipalGrant(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(GetPrincipalsInRoleResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_principalGrants = true && (isSetPrincipalGrants()); - builder.append(present_principalGrants); + list.add(present_principalGrants); if (present_principalGrants) - builder.append(principalGrants); + list.add(principalGrants); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetPrincipalsInRoleResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetPrincipalsInRoleResponse typedOther = (GetPrincipalsInRoleResponse)other; - lastComparison = Boolean.valueOf(isSetPrincipalGrants()).compareTo(typedOther.isSetPrincipalGrants()); + lastComparison = Boolean.valueOf(isSetPrincipalGrants()).compareTo(other.isSetPrincipalGrants()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipalGrants()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalGrants, typedOther.principalGrants); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalGrants, other.principalGrants); if (lastComparison != 0) { return lastComparison; } @@ -352,12 +356,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPrincipalsInRole { org.apache.thrift.protocol.TList _list86 = iprot.readListBegin(); struct.principalGrants = new ArrayList(_list86.size); - for (int _i87 = 0; _i87 < _list86.size; ++_i87) + RolePrincipalGrant _elem87; + for (int _i88 = 0; _i88 < _list86.size; ++_i88) { - RolePrincipalGrant _elem88; // optional - _elem88 = new RolePrincipalGrant(); - _elem88.read(iprot); - struct.principalGrants.add(_elem88); + _elem87 = new RolePrincipalGrant(); + _elem87.read(iprot); + struct.principalGrants.add(_elem87); } iprot.readListEnd(); } @@ -423,12 +427,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleR { org.apache.thrift.protocol.TList _list91 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.principalGrants = new ArrayList(_list91.size); - for (int _i92 = 0; _i92 < _list91.size; ++_i92) + RolePrincipalGrant _elem92; + for (int _i93 = 0; _i93 < _list91.size; ++_i93) { - RolePrincipalGrant _elem93; // optional - _elem93 = new RolePrincipalGrant(); - _elem93.read(iprot); - struct.principalGrants.add(_elem93); + _elem92 = new RolePrincipalGrant(); + _elem92.read(iprot); + struct.principalGrants.add(_elem92); } } struct.setPrincipalGrantsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java index 84b73c3..5c57bab 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class GetRoleGrantsForPrincipalRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class GetRoleGrantsForPrincipalRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetRoleGrantsForPrincipalRequest"); private static final org.apache.thrift.protocol.TField PRINCIPAL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("principal_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -295,45 +299,45 @@ public boolean equals(GetRoleGrantsForPrincipalRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_principal_name = true && (isSetPrincipal_name()); - builder.append(present_principal_name); + list.add(present_principal_name); if (present_principal_name) - builder.append(principal_name); + list.add(principal_name); boolean present_principal_type = true && (isSetPrincipal_type()); - builder.append(present_principal_type); + list.add(present_principal_type); if (present_principal_type) - builder.append(principal_type.getValue()); + list.add(principal_type.getValue()); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetRoleGrantsForPrincipalRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetRoleGrantsForPrincipalRequest typedOther = (GetRoleGrantsForPrincipalRequest)other; - lastComparison = Boolean.valueOf(isSetPrincipal_name()).compareTo(typedOther.isSetPrincipal_name()); + lastComparison = Boolean.valueOf(isSetPrincipal_name()).compareTo(other.isSetPrincipal_name()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_name, typedOther.principal_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_name, other.principal_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipal_type()).compareTo(typedOther.isSetPrincipal_type()); + lastComparison = Boolean.valueOf(isSetPrincipal_type()).compareTo(other.isSetPrincipal_type()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal_type()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_type, typedOther.principal_type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_type, other.principal_type); if (lastComparison != 0) { return lastComparison; } @@ -434,7 +438,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetRoleGrantsForPri break; case 2: // PRINCIPAL_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.principal_type = PrincipalType.findByValue(iprot.readI32()); + struct.principal_type = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipal_typeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -489,7 +493,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrin TTupleProtocol iprot = (TTupleProtocol) prot; struct.principal_name = iprot.readString(); struct.setPrincipal_nameIsSet(true); - struct.principal_type = PrincipalType.findByValue(iprot.readI32()); + struct.principal_type = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipal_typeIsSet(true); } } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java index 3ddc1ac..31c764b 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class GetRoleGrantsForPrincipalResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class GetRoleGrantsForPrincipalResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetRoleGrantsForPrincipalResponse"); private static final org.apache.thrift.protocol.TField PRINCIPAL_GRANTS_FIELD_DESC = new org.apache.thrift.protocol.TField("principalGrants", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public GetRoleGrantsForPrincipalResponse( */ public GetRoleGrantsForPrincipalResponse(GetRoleGrantsForPrincipalResponse other) { if (other.isSetPrincipalGrants()) { - List __this__principalGrants = new ArrayList(); + List __this__principalGrants = new ArrayList(other.principalGrants.size()); for (RolePrincipalGrant other_element : other.principalGrants) { __this__principalGrants.add(new RolePrincipalGrant(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(GetRoleGrantsForPrincipalResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_principalGrants = true && (isSetPrincipalGrants()); - builder.append(present_principalGrants); + list.add(present_principalGrants); if (present_principalGrants) - builder.append(principalGrants); + list.add(principalGrants); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetRoleGrantsForPrincipalResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetRoleGrantsForPrincipalResponse typedOther = (GetRoleGrantsForPrincipalResponse)other; - lastComparison = Boolean.valueOf(isSetPrincipalGrants()).compareTo(typedOther.isSetPrincipalGrants()); + lastComparison = Boolean.valueOf(isSetPrincipalGrants()).compareTo(other.isSetPrincipalGrants()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipalGrants()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalGrants, typedOther.principalGrants); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalGrants, other.principalGrants); if (lastComparison != 0) { return lastComparison; } @@ -352,12 +356,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetRoleGrantsForPri { org.apache.thrift.protocol.TList _list78 = iprot.readListBegin(); struct.principalGrants = new ArrayList(_list78.size); - for (int _i79 = 0; _i79 < _list78.size; ++_i79) + RolePrincipalGrant _elem79; + for (int _i80 = 0; _i80 < _list78.size; ++_i80) { - RolePrincipalGrant _elem80; // optional - _elem80 = new RolePrincipalGrant(); - _elem80.read(iprot); - struct.principalGrants.add(_elem80); + _elem79 = new RolePrincipalGrant(); + _elem79.read(iprot); + struct.principalGrants.add(_elem79); } iprot.readListEnd(); } @@ -423,12 +427,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrin { org.apache.thrift.protocol.TList _list83 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.principalGrants = new ArrayList(_list83.size); - for (int _i84 = 0; _i84 < _list83.size; ++_i84) + RolePrincipalGrant _elem84; + for (int _i85 = 0; _i85 < _list83.size; ++_i85) { - RolePrincipalGrant _elem85; // optional - _elem85 = new RolePrincipalGrant(); - _elem85.read(iprot); - struct.principalGrants.add(_elem85); + _elem84 = new RolePrincipalGrant(); + _elem84.read(iprot); + struct.principalGrants.add(_elem84); } } struct.setPrincipalGrantsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java index 29ce977..6dc5e43 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class GrantRevokePrivilegeRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class GrantRevokePrivilegeRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GrantRevokePrivilegeRequest"); private static final org.apache.thrift.protocol.TField REQUEST_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("requestType", org.apache.thrift.protocol.TType.I32, (short)1); @@ -119,7 +123,7 @@ public String getFieldName() { // isset id assignments private static final int __REVOKEGRANTOPTION_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.REVOKE_GRANT_OPTION}; + private static final _Fields optionals[] = {_Fields.REVOKE_GRANT_OPTION}; 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); @@ -353,60 +357,60 @@ public boolean equals(GrantRevokePrivilegeRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_requestType = true && (isSetRequestType()); - builder.append(present_requestType); + list.add(present_requestType); if (present_requestType) - builder.append(requestType.getValue()); + list.add(requestType.getValue()); boolean present_privileges = true && (isSetPrivileges()); - builder.append(present_privileges); + list.add(present_privileges); if (present_privileges) - builder.append(privileges); + list.add(privileges); boolean present_revokeGrantOption = true && (isSetRevokeGrantOption()); - builder.append(present_revokeGrantOption); + list.add(present_revokeGrantOption); if (present_revokeGrantOption) - builder.append(revokeGrantOption); + list.add(revokeGrantOption); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GrantRevokePrivilegeRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GrantRevokePrivilegeRequest typedOther = (GrantRevokePrivilegeRequest)other; - lastComparison = Boolean.valueOf(isSetRequestType()).compareTo(typedOther.isSetRequestType()); + lastComparison = Boolean.valueOf(isSetRequestType()).compareTo(other.isSetRequestType()); if (lastComparison != 0) { return lastComparison; } if (isSetRequestType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.requestType, typedOther.requestType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.requestType, other.requestType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(typedOther.isSetPrivileges()); + lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(other.isSetPrivileges()); if (lastComparison != 0) { return lastComparison; } if (isSetPrivileges()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, typedOther.privileges); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, other.privileges); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRevokeGrantOption()).compareTo(typedOther.isSetRevokeGrantOption()); + lastComparison = Boolean.valueOf(isSetRevokeGrantOption()).compareTo(other.isSetRevokeGrantOption()); if (lastComparison != 0) { return lastComparison; } if (isSetRevokeGrantOption()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.revokeGrantOption, typedOther.revokeGrantOption); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.revokeGrantOption, other.revokeGrantOption); if (lastComparison != 0) { return lastComparison; } @@ -502,7 +506,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GrantRevokePrivileg switch (schemeField.id) { case 1: // REQUEST_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.requestType = GrantRevokeType.findByValue(iprot.readI32()); + struct.requestType = org.apache.hadoop.hive.metastore.api.GrantRevokeType.findByValue(iprot.readI32()); struct.setRequestTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -597,7 +601,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GrantRevokePrivilege TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.requestType = GrantRevokeType.findByValue(iprot.readI32()); + struct.requestType = org.apache.hadoop.hive.metastore.api.GrantRevokeType.findByValue(iprot.readI32()); struct.setRequestTypeIsSet(true); } if (incoming.get(1)) { diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java index f86bf9f..23bfdd7 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class GrantRevokePrivilegeResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class GrantRevokePrivilegeResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GrantRevokePrivilegeResponse"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)1); @@ -105,7 +109,7 @@ public String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.SUCCESS}; + private static final _Fields optionals[] = {_Fields.SUCCESS}; 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); @@ -220,30 +224,30 @@ public boolean equals(GrantRevokePrivilegeResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GrantRevokePrivilegeResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GrantRevokePrivilegeResponse typedOther = (GrantRevokePrivilegeResponse)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java index db17aef..92b5d2e 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class GrantRevokeRoleRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class GrantRevokeRoleRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GrantRevokeRoleRequest"); private static final org.apache.thrift.protocol.TField REQUEST_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("requestType", org.apache.thrift.protocol.TType.I32, (short)1); @@ -147,7 +151,7 @@ public String getFieldName() { // isset id assignments private static final int __GRANTOPTION_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.GRANTOR,_Fields.GRANTOR_TYPE,_Fields.GRANT_OPTION}; + private static final _Fields optionals[] = {_Fields.GRANTOR,_Fields.GRANTOR_TYPE,_Fields.GRANT_OPTION}; 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); @@ -605,120 +609,120 @@ public boolean equals(GrantRevokeRoleRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_requestType = true && (isSetRequestType()); - builder.append(present_requestType); + list.add(present_requestType); if (present_requestType) - builder.append(requestType.getValue()); + list.add(requestType.getValue()); boolean present_roleName = true && (isSetRoleName()); - builder.append(present_roleName); + list.add(present_roleName); if (present_roleName) - builder.append(roleName); + list.add(roleName); boolean present_principalName = true && (isSetPrincipalName()); - builder.append(present_principalName); + list.add(present_principalName); if (present_principalName) - builder.append(principalName); + list.add(principalName); boolean present_principalType = true && (isSetPrincipalType()); - builder.append(present_principalType); + list.add(present_principalType); if (present_principalType) - builder.append(principalType.getValue()); + list.add(principalType.getValue()); boolean present_grantor = true && (isSetGrantor()); - builder.append(present_grantor); + list.add(present_grantor); if (present_grantor) - builder.append(grantor); + list.add(grantor); boolean present_grantorType = true && (isSetGrantorType()); - builder.append(present_grantorType); + list.add(present_grantorType); if (present_grantorType) - builder.append(grantorType.getValue()); + list.add(grantorType.getValue()); boolean present_grantOption = true && (isSetGrantOption()); - builder.append(present_grantOption); + list.add(present_grantOption); if (present_grantOption) - builder.append(grantOption); + list.add(grantOption); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GrantRevokeRoleRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GrantRevokeRoleRequest typedOther = (GrantRevokeRoleRequest)other; - lastComparison = Boolean.valueOf(isSetRequestType()).compareTo(typedOther.isSetRequestType()); + lastComparison = Boolean.valueOf(isSetRequestType()).compareTo(other.isSetRequestType()); if (lastComparison != 0) { return lastComparison; } if (isSetRequestType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.requestType, typedOther.requestType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.requestType, other.requestType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRoleName()).compareTo(typedOther.isSetRoleName()); + lastComparison = Boolean.valueOf(isSetRoleName()).compareTo(other.isSetRoleName()); if (lastComparison != 0) { return lastComparison; } if (isSetRoleName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.roleName, typedOther.roleName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.roleName, other.roleName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipalName()).compareTo(typedOther.isSetPrincipalName()); + lastComparison = Boolean.valueOf(isSetPrincipalName()).compareTo(other.isSetPrincipalName()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipalName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalName, typedOther.principalName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalName, other.principalName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipalType()).compareTo(typedOther.isSetPrincipalType()); + lastComparison = Boolean.valueOf(isSetPrincipalType()).compareTo(other.isSetPrincipalType()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipalType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalType, typedOther.principalType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalType, other.principalType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantor()).compareTo(typedOther.isSetGrantor()); + lastComparison = Boolean.valueOf(isSetGrantor()).compareTo(other.isSetGrantor()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantor()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantor, typedOther.grantor); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantor, other.grantor); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantorType()).compareTo(typedOther.isSetGrantorType()); + lastComparison = Boolean.valueOf(isSetGrantorType()).compareTo(other.isSetGrantorType()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantorType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantorType, typedOther.grantorType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantorType, other.grantorType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(typedOther.isSetGrantOption()); + lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(other.isSetGrantOption()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantOption()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, typedOther.grantOption); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, other.grantOption); if (lastComparison != 0) { return lastComparison; } @@ -847,7 +851,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GrantRevokeRoleRequ switch (schemeField.id) { case 1: // REQUEST_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.requestType = GrantRevokeType.findByValue(iprot.readI32()); + struct.requestType = org.apache.hadoop.hive.metastore.api.GrantRevokeType.findByValue(iprot.readI32()); struct.setRequestTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -871,7 +875,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GrantRevokeRoleRequ break; case 4: // PRINCIPAL_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.principalType = PrincipalType.findByValue(iprot.readI32()); + struct.principalType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipalTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -887,7 +891,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GrantRevokeRoleRequ break; case 6: // GRANTOR_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.grantorType = PrincipalType.findByValue(iprot.readI32()); + struct.grantorType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setGrantorTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -1021,7 +1025,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GrantRevokeRoleReque TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(7); if (incoming.get(0)) { - struct.requestType = GrantRevokeType.findByValue(iprot.readI32()); + struct.requestType = org.apache.hadoop.hive.metastore.api.GrantRevokeType.findByValue(iprot.readI32()); struct.setRequestTypeIsSet(true); } if (incoming.get(1)) { @@ -1033,7 +1037,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GrantRevokeRoleReque struct.setPrincipalNameIsSet(true); } if (incoming.get(3)) { - struct.principalType = PrincipalType.findByValue(iprot.readI32()); + struct.principalType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipalTypeIsSet(true); } if (incoming.get(4)) { @@ -1041,7 +1045,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GrantRevokeRoleReque struct.setGrantorIsSet(true); } if (incoming.get(5)) { - struct.grantorType = PrincipalType.findByValue(iprot.readI32()); + struct.grantorType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setGrantorTypeIsSet(true); } if (incoming.get(6)) { diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java index b9acbb5..901b619 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class GrantRevokeRoleResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class GrantRevokeRoleResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GrantRevokeRoleResponse"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)1); @@ -105,7 +109,7 @@ public String getFieldName() { // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.SUCCESS}; + private static final _Fields optionals[] = {_Fields.SUCCESS}; 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); @@ -220,30 +224,30 @@ public boolean equals(GrantRevokeRoleResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GrantRevokeRoleResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GrantRevokeRoleResponse typedOther = (GrantRevokeRoleResponse)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java index c949637..f7b4587 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java index 04439b9..d2bf1c2 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class HeartbeatRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class HeartbeatRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HeartbeatRequest"); private static final org.apache.thrift.protocol.TField LOCKID_FIELD_DESC = new org.apache.thrift.protocol.TField("lockid", org.apache.thrift.protocol.TType.I64, (short)1); @@ -111,7 +115,7 @@ public String getFieldName() { private static final int __LOCKID_ISSET_ID = 0; private static final int __TXNID_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.LOCKID,_Fields.TXNID}; + private static final _Fields optionals[] = {_Fields.LOCKID,_Fields.TXNID}; 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); @@ -275,45 +279,45 @@ public boolean equals(HeartbeatRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_lockid = true && (isSetLockid()); - builder.append(present_lockid); + list.add(present_lockid); if (present_lockid) - builder.append(lockid); + list.add(lockid); boolean present_txnid = true && (isSetTxnid()); - builder.append(present_txnid); + list.add(present_txnid); if (present_txnid) - builder.append(txnid); + list.add(txnid); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(HeartbeatRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - HeartbeatRequest typedOther = (HeartbeatRequest)other; - lastComparison = Boolean.valueOf(isSetLockid()).compareTo(typedOther.isSetLockid()); + lastComparison = Boolean.valueOf(isSetLockid()).compareTo(other.isSetLockid()); if (lastComparison != 0) { return lastComparison; } if (isSetLockid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, typedOther.lockid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, other.lockid); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(typedOther.isSetTxnid()); + lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(other.isSetTxnid()); if (lastComparison != 0) { return lastComparison; } if (isSetTxnid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, typedOther.txnid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, other.txnid); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java index 062449a..95ccc14 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class HeartbeatTxnRangeRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class HeartbeatTxnRangeRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HeartbeatTxnRangeRequest"); private static final org.apache.thrift.protocol.TField MIN_FIELD_DESC = new org.apache.thrift.protocol.TField("min", org.apache.thrift.protocol.TType.I64, (short)1); @@ -285,45 +289,45 @@ public boolean equals(HeartbeatTxnRangeRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_min = true; - builder.append(present_min); + list.add(present_min); if (present_min) - builder.append(min); + list.add(min); boolean present_max = true; - builder.append(present_max); + list.add(present_max); if (present_max) - builder.append(max); + list.add(max); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(HeartbeatTxnRangeRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - HeartbeatTxnRangeRequest typedOther = (HeartbeatTxnRangeRequest)other; - lastComparison = Boolean.valueOf(isSetMin()).compareTo(typedOther.isSetMin()); + lastComparison = Boolean.valueOf(isSetMin()).compareTo(other.isSetMin()); if (lastComparison != 0) { return lastComparison; } if (isSetMin()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.min, typedOther.min); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.min, other.min); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax()).compareTo(typedOther.isSetMax()); + lastComparison = Boolean.valueOf(isSetMax()).compareTo(other.isSetMax()); if (lastComparison != 0) { return lastComparison; } if (isSetMax()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max, typedOther.max); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max, other.max); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index caf07d6..6a75814 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class HeartbeatTxnRangeResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class HeartbeatTxnRangeResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HeartbeatTxnRangeResponse"); private static final org.apache.thrift.protocol.TField ABORTED_FIELD_DESC = new org.apache.thrift.protocol.TField("aborted", org.apache.thrift.protocol.TType.SET, (short)1); @@ -138,17 +142,11 @@ public HeartbeatTxnRangeResponse( */ public HeartbeatTxnRangeResponse(HeartbeatTxnRangeResponse other) { if (other.isSetAborted()) { - Set __this__aborted = new HashSet(); - for (Long other_element : other.aborted) { - __this__aborted.add(other_element); - } + Set __this__aborted = new HashSet(other.aborted); this.aborted = __this__aborted; } if (other.isSetNosuch()) { - Set __this__nosuch = new HashSet(); - for (Long other_element : other.nosuch) { - __this__nosuch.add(other_element); - } + Set __this__nosuch = new HashSet(other.nosuch); this.nosuch = __this__nosuch; } } @@ -323,45 +321,45 @@ public boolean equals(HeartbeatTxnRangeResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_aborted = true && (isSetAborted()); - builder.append(present_aborted); + list.add(present_aborted); if (present_aborted) - builder.append(aborted); + list.add(aborted); boolean present_nosuch = true && (isSetNosuch()); - builder.append(present_nosuch); + list.add(present_nosuch); if (present_nosuch) - builder.append(nosuch); + list.add(nosuch); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(HeartbeatTxnRangeResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - HeartbeatTxnRangeResponse typedOther = (HeartbeatTxnRangeResponse)other; - lastComparison = Boolean.valueOf(isSetAborted()).compareTo(typedOther.isSetAborted()); + lastComparison = Boolean.valueOf(isSetAborted()).compareTo(other.isSetAborted()); if (lastComparison != 0) { return lastComparison; } if (isSetAborted()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aborted, typedOther.aborted); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aborted, other.aborted); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNosuch()).compareTo(typedOther.isSetNosuch()); + lastComparison = Boolean.valueOf(isSetNosuch()).compareTo(other.isSetNosuch()); if (lastComparison != 0) { return lastComparison; } if (isSetNosuch()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nosuch, typedOther.nosuch); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nosuch, other.nosuch); if (lastComparison != 0) { return lastComparison; } @@ -457,11 +455,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe { org.apache.thrift.protocol.TSet _set468 = iprot.readSetBegin(); struct.aborted = new HashSet(2*_set468.size); - for (int _i469 = 0; _i469 < _set468.size; ++_i469) + long _elem469; + for (int _i470 = 0; _i470 < _set468.size; ++_i470) { - long _elem470; // optional - _elem470 = iprot.readI64(); - struct.aborted.add(_elem470); + _elem469 = iprot.readI64(); + struct.aborted.add(_elem469); } iprot.readSetEnd(); } @@ -475,11 +473,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe { org.apache.thrift.protocol.TSet _set471 = iprot.readSetBegin(); struct.nosuch = new HashSet(2*_set471.size); - for (int _i472 = 0; _i472 < _set471.size; ++_i472) + long _elem472; + for (int _i473 = 0; _i473 < _set471.size; ++_i473) { - long _elem473; // optional - _elem473 = iprot.readI64(); - struct.nosuch.add(_elem473); + _elem472 = iprot.readI64(); + struct.nosuch.add(_elem472); } iprot.readSetEnd(); } @@ -564,22 +562,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRes { org.apache.thrift.protocol.TSet _set478 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.aborted = new HashSet(2*_set478.size); - for (int _i479 = 0; _i479 < _set478.size; ++_i479) + long _elem479; + for (int _i480 = 0; _i480 < _set478.size; ++_i480) { - long _elem480; // optional - _elem480 = iprot.readI64(); - struct.aborted.add(_elem480); + _elem479 = iprot.readI64(); + struct.aborted.add(_elem479); } } struct.setAbortedIsSet(true); { org.apache.thrift.protocol.TSet _set481 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.nosuch = new HashSet(2*_set481.size); - for (int _i482 = 0; _i482 < _set481.size; ++_i482) + long _elem482; + for (int _i483 = 0; _i483 < _set481.size; ++_i483) { - long _elem483; // optional - _elem483 = iprot.readI64(); - struct.nosuch.add(_elem483); + _elem482 = iprot.readI64(); + struct.nosuch.add(_elem482); } } struct.setNosuchIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java index bd7641d..964991a 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class HiveObjectPrivilege implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class HiveObjectPrivilege implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveObjectPrivilege"); private static final org.apache.thrift.protocol.TField HIVE_OBJECT_FIELD_DESC = new org.apache.thrift.protocol.TField("hiveObject", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -411,75 +415,75 @@ public boolean equals(HiveObjectPrivilege that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_hiveObject = true && (isSetHiveObject()); - builder.append(present_hiveObject); + list.add(present_hiveObject); if (present_hiveObject) - builder.append(hiveObject); + list.add(hiveObject); boolean present_principalName = true && (isSetPrincipalName()); - builder.append(present_principalName); + list.add(present_principalName); if (present_principalName) - builder.append(principalName); + list.add(principalName); boolean present_principalType = true && (isSetPrincipalType()); - builder.append(present_principalType); + list.add(present_principalType); if (present_principalType) - builder.append(principalType.getValue()); + list.add(principalType.getValue()); boolean present_grantInfo = true && (isSetGrantInfo()); - builder.append(present_grantInfo); + list.add(present_grantInfo); if (present_grantInfo) - builder.append(grantInfo); + list.add(grantInfo); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(HiveObjectPrivilege other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - HiveObjectPrivilege typedOther = (HiveObjectPrivilege)other; - lastComparison = Boolean.valueOf(isSetHiveObject()).compareTo(typedOther.isSetHiveObject()); + lastComparison = Boolean.valueOf(isSetHiveObject()).compareTo(other.isSetHiveObject()); if (lastComparison != 0) { return lastComparison; } if (isSetHiveObject()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hiveObject, typedOther.hiveObject); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hiveObject, other.hiveObject); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipalName()).compareTo(typedOther.isSetPrincipalName()); + lastComparison = Boolean.valueOf(isSetPrincipalName()).compareTo(other.isSetPrincipalName()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipalName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalName, typedOther.principalName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalName, other.principalName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipalType()).compareTo(typedOther.isSetPrincipalType()); + lastComparison = Boolean.valueOf(isSetPrincipalType()).compareTo(other.isSetPrincipalType()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipalType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalType, typedOther.principalType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalType, other.principalType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantInfo()).compareTo(typedOther.isSetGrantInfo()); + lastComparison = Boolean.valueOf(isSetGrantInfo()).compareTo(other.isSetGrantInfo()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantInfo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantInfo, typedOther.grantInfo); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantInfo, other.grantInfo); if (lastComparison != 0) { return lastComparison; } @@ -603,7 +607,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HiveObjectPrivilege break; case 3: // PRINCIPAL_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.principalType = PrincipalType.findByValue(iprot.readI32()); + struct.principalType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipalTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -710,7 +714,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, HiveObjectPrivilege struct.setPrincipalNameIsSet(true); } if (incoming.get(2)) { - struct.principalType = PrincipalType.findByValue(iprot.readI32()); + struct.principalType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipalTypeIsSet(true); } if (incoming.get(3)) { diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java index b22b211..1d45521 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class HiveObjectRef implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class HiveObjectRef implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveObjectRef"); private static final org.apache.thrift.protocol.TField OBJECT_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("objectType", org.apache.thrift.protocol.TType.I32, (short)1); @@ -177,10 +181,7 @@ public HiveObjectRef(HiveObjectRef other) { this.objectName = other.objectName; } if (other.isSetPartValues()) { - List __this__partValues = new ArrayList(); - for (String other_element : other.partValues) { - __this__partValues.add(other_element); - } + List __this__partValues = new ArrayList(other.partValues); this.partValues = __this__partValues; } if (other.isSetColumnName()) { @@ -489,90 +490,90 @@ public boolean equals(HiveObjectRef that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_objectType = true && (isSetObjectType()); - builder.append(present_objectType); + list.add(present_objectType); if (present_objectType) - builder.append(objectType.getValue()); + list.add(objectType.getValue()); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_objectName = true && (isSetObjectName()); - builder.append(present_objectName); + list.add(present_objectName); if (present_objectName) - builder.append(objectName); + list.add(objectName); boolean present_partValues = true && (isSetPartValues()); - builder.append(present_partValues); + list.add(present_partValues); if (present_partValues) - builder.append(partValues); + list.add(partValues); boolean present_columnName = true && (isSetColumnName()); - builder.append(present_columnName); + list.add(present_columnName); if (present_columnName) - builder.append(columnName); + list.add(columnName); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(HiveObjectRef other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - HiveObjectRef typedOther = (HiveObjectRef)other; - lastComparison = Boolean.valueOf(isSetObjectType()).compareTo(typedOther.isSetObjectType()); + lastComparison = Boolean.valueOf(isSetObjectType()).compareTo(other.isSetObjectType()); if (lastComparison != 0) { return lastComparison; } if (isSetObjectType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.objectType, typedOther.objectType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.objectType, other.objectType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetObjectName()).compareTo(typedOther.isSetObjectName()); + lastComparison = Boolean.valueOf(isSetObjectName()).compareTo(other.isSetObjectName()); if (lastComparison != 0) { return lastComparison; } if (isSetObjectName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.objectName, typedOther.objectName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.objectName, other.objectName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartValues()).compareTo(typedOther.isSetPartValues()); + lastComparison = Boolean.valueOf(isSetPartValues()).compareTo(other.isSetPartValues()); if (lastComparison != 0) { return lastComparison; } if (isSetPartValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partValues, typedOther.partValues); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partValues, other.partValues); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(typedOther.isSetColumnName()); + lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(other.isSetColumnName()); if (lastComparison != 0) { return lastComparison; } if (isSetColumnName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, typedOther.columnName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, other.columnName); if (lastComparison != 0) { return lastComparison; } @@ -681,7 +682,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HiveObjectRef struc switch (schemeField.id) { case 1: // OBJECT_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.objectType = HiveObjectType.findByValue(iprot.readI32()); + struct.objectType = org.apache.hadoop.hive.metastore.api.HiveObjectType.findByValue(iprot.readI32()); struct.setObjectTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -708,11 +709,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HiveObjectRef struc { org.apache.thrift.protocol.TList _list8 = iprot.readListBegin(); struct.partValues = new ArrayList(_list8.size); - for (int _i9 = 0; _i9 < _list8.size; ++_i9) + String _elem9; + for (int _i10 = 0; _i10 < _list8.size; ++_i10) { - String _elem10; // optional - _elem10 = iprot.readString(); - struct.partValues.add(_elem10); + _elem9 = iprot.readString(); + struct.partValues.add(_elem9); } iprot.readListEnd(); } @@ -836,7 +837,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, HiveObjectRef struct TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { - struct.objectType = HiveObjectType.findByValue(iprot.readI32()); + struct.objectType = org.apache.hadoop.hive.metastore.api.HiveObjectType.findByValue(iprot.readI32()); struct.setObjectTypeIsSet(true); } if (incoming.get(1)) { @@ -851,11 +852,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, HiveObjectRef struct { org.apache.thrift.protocol.TList _list13 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.partValues = new ArrayList(_list13.size); - for (int _i14 = 0; _i14 < _list13.size; ++_i14) + String _elem14; + for (int _i15 = 0; _i15 < _list13.size; ++_i15) { - String _elem15; // optional - _elem15 = iprot.readString(); - struct.partValues.add(_elem15); + _elem14 = iprot.readString(); + struct.partValues.add(_elem14); } } struct.setPartValuesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java index 995331e..427930f 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java index cb3a435..5ff67dc 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Index implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Index implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Index"); private static final org.apache.thrift.protocol.TField INDEX_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("indexName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -238,18 +242,7 @@ public Index(Index other) { this.sd = new StorageDescriptor(other.sd); } if (other.isSetParameters()) { - Map __this__parameters = new HashMap(); - for (Map.Entry other_element : other.parameters.entrySet()) { - - 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_value = other_element_value; - - __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); - } + Map __this__parameters = new HashMap(other.parameters); this.parameters = __this__parameters; } this.deferredRebuild = other.deferredRebuild; @@ -774,165 +767,165 @@ public boolean equals(Index that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_indexName = true && (isSetIndexName()); - builder.append(present_indexName); + list.add(present_indexName); if (present_indexName) - builder.append(indexName); + list.add(indexName); boolean present_indexHandlerClass = true && (isSetIndexHandlerClass()); - builder.append(present_indexHandlerClass); + list.add(present_indexHandlerClass); if (present_indexHandlerClass) - builder.append(indexHandlerClass); + list.add(indexHandlerClass); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_origTableName = true && (isSetOrigTableName()); - builder.append(present_origTableName); + list.add(present_origTableName); if (present_origTableName) - builder.append(origTableName); + list.add(origTableName); boolean present_createTime = true; - builder.append(present_createTime); + list.add(present_createTime); if (present_createTime) - builder.append(createTime); + list.add(createTime); boolean present_lastAccessTime = true; - builder.append(present_lastAccessTime); + list.add(present_lastAccessTime); if (present_lastAccessTime) - builder.append(lastAccessTime); + list.add(lastAccessTime); boolean present_indexTableName = true && (isSetIndexTableName()); - builder.append(present_indexTableName); + list.add(present_indexTableName); if (present_indexTableName) - builder.append(indexTableName); + list.add(indexTableName); boolean present_sd = true && (isSetSd()); - builder.append(present_sd); + list.add(present_sd); if (present_sd) - builder.append(sd); + list.add(sd); boolean present_parameters = true && (isSetParameters()); - builder.append(present_parameters); + list.add(present_parameters); if (present_parameters) - builder.append(parameters); + list.add(parameters); boolean present_deferredRebuild = true; - builder.append(present_deferredRebuild); + list.add(present_deferredRebuild); if (present_deferredRebuild) - builder.append(deferredRebuild); + list.add(deferredRebuild); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Index other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Index typedOther = (Index)other; - lastComparison = Boolean.valueOf(isSetIndexName()).compareTo(typedOther.isSetIndexName()); + lastComparison = Boolean.valueOf(isSetIndexName()).compareTo(other.isSetIndexName()); if (lastComparison != 0) { return lastComparison; } if (isSetIndexName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.indexName, typedOther.indexName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.indexName, other.indexName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIndexHandlerClass()).compareTo(typedOther.isSetIndexHandlerClass()); + lastComparison = Boolean.valueOf(isSetIndexHandlerClass()).compareTo(other.isSetIndexHandlerClass()); if (lastComparison != 0) { return lastComparison; } if (isSetIndexHandlerClass()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.indexHandlerClass, typedOther.indexHandlerClass); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.indexHandlerClass, other.indexHandlerClass); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOrigTableName()).compareTo(typedOther.isSetOrigTableName()); + lastComparison = Boolean.valueOf(isSetOrigTableName()).compareTo(other.isSetOrigTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetOrigTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.origTableName, typedOther.origTableName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.origTableName, other.origTableName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(typedOther.isSetCreateTime()); + lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(other.isSetCreateTime()); if (lastComparison != 0) { return lastComparison; } if (isSetCreateTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, typedOther.createTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, other.createTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(typedOther.isSetLastAccessTime()); + lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(other.isSetLastAccessTime()); if (lastComparison != 0) { return lastComparison; } if (isSetLastAccessTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, typedOther.lastAccessTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, other.lastAccessTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIndexTableName()).compareTo(typedOther.isSetIndexTableName()); + lastComparison = Boolean.valueOf(isSetIndexTableName()).compareTo(other.isSetIndexTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetIndexTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.indexTableName, typedOther.indexTableName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.indexTableName, other.indexTableName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSd()).compareTo(typedOther.isSetSd()); + lastComparison = Boolean.valueOf(isSetSd()).compareTo(other.isSetSd()); if (lastComparison != 0) { return lastComparison; } if (isSetSd()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, typedOther.sd); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, other.sd); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetParameters()).compareTo(typedOther.isSetParameters()); + lastComparison = Boolean.valueOf(isSetParameters()).compareTo(other.isSetParameters()); if (lastComparison != 0) { return lastComparison; } if (isSetParameters()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, typedOther.parameters); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, other.parameters); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDeferredRebuild()).compareTo(typedOther.isSetDeferredRebuild()); + lastComparison = Boolean.valueOf(isSetDeferredRebuild()).compareTo(other.isSetDeferredRebuild()); if (lastComparison != 0) { return lastComparison; } if (isSetDeferredRebuild()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deferredRebuild, typedOther.deferredRebuild); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deferredRebuild, other.deferredRebuild); if (lastComparison != 0) { return lastComparison; } @@ -1142,13 +1135,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Index struct) throw { org.apache.thrift.protocol.TMap _map260 = iprot.readMapBegin(); struct.parameters = new HashMap(2*_map260.size); - for (int _i261 = 0; _i261 < _map260.size; ++_i261) + String _key261; + String _val262; + for (int _i263 = 0; _i263 < _map260.size; ++_i263) { - String _key262; // required - String _val263; // required - _key262 = iprot.readString(); - _val263 = iprot.readString(); - struct.parameters.put(_key262, _val263); + _key261 = iprot.readString(); + _val262 = iprot.readString(); + struct.parameters.put(_key261, _val262); } iprot.readMapEnd(); } @@ -1359,13 +1352,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Index struct) throws { org.apache.thrift.protocol.TMap _map266 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.parameters = new HashMap(2*_map266.size); - for (int _i267 = 0; _i267 < _map266.size; ++_i267) + String _key267; + String _val268; + for (int _i269 = 0; _i269 < _map266.size; ++_i269) { - String _key268; // required - String _val269; // required - _key268 = iprot.readString(); - _val269 = iprot.readString(); - struct.parameters.put(_key268, _val269); + _key267 = iprot.readString(); + _val268 = iprot.readString(); + struct.parameters.put(_key267, _val268); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java index f90a65d..87f1795 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class IndexAlreadyExistsException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class IndexAlreadyExistsException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("IndexAlreadyExistsException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(IndexAlreadyExistsException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(IndexAlreadyExistsException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - IndexAlreadyExistsException typedOther = (IndexAlreadyExistsException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index c1992c0..fd9ef58 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class InsertEventRequestData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class InsertEventRequestData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InsertEventRequestData"); private static final org.apache.thrift.protocol.TField FILES_ADDED_FIELD_DESC = new org.apache.thrift.protocol.TField("filesAdded", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,10 +132,7 @@ public InsertEventRequestData( */ public InsertEventRequestData(InsertEventRequestData other) { if (other.isSetFilesAdded()) { - List __this__filesAdded = new ArrayList(); - for (String other_element : other.filesAdded) { - __this__filesAdded.add(other_element); - } + List __this__filesAdded = new ArrayList(other.filesAdded); this.filesAdded = __this__filesAdded; } } @@ -245,30 +246,30 @@ public boolean equals(InsertEventRequestData that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_filesAdded = true && (isSetFilesAdded()); - builder.append(present_filesAdded); + list.add(present_filesAdded); if (present_filesAdded) - builder.append(filesAdded); + list.add(filesAdded); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(InsertEventRequestData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - InsertEventRequestData typedOther = (InsertEventRequestData)other; - lastComparison = Boolean.valueOf(isSetFilesAdded()).compareTo(typedOther.isSetFilesAdded()); + lastComparison = Boolean.valueOf(isSetFilesAdded()).compareTo(other.isSetFilesAdded()); if (lastComparison != 0) { return lastComparison; } if (isSetFilesAdded()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filesAdded, typedOther.filesAdded); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filesAdded, other.filesAdded); if (lastComparison != 0) { return lastComparison; } @@ -352,11 +353,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD { org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); struct.filesAdded = new ArrayList(_list508.size); - for (int _i509 = 0; _i509 < _list508.size; ++_i509) + String _elem509; + for (int _i510 = 0; _i510 < _list508.size; ++_i510) { - String _elem510; // optional - _elem510 = iprot.readString(); - struct.filesAdded.add(_elem510); + _elem509 = iprot.readString(); + struct.filesAdded.add(_elem509); } iprot.readListEnd(); } @@ -422,11 +423,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestDa { org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.filesAdded = new ArrayList(_list513.size); - for (int _i514 = 0; _i514 < _list513.size; ++_i514) + String _elem514; + for (int _i515 = 0; _i515 < _list513.size; ++_i515) { - String _elem515; // optional - _elem515 = iprot.readString(); - struct.filesAdded.add(_elem515); + _elem514 = iprot.readString(); + struct.filesAdded.add(_elem514); } } struct.setFilesAddedIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java index 4b63e3f..e6c615d 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class InvalidInputException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class InvalidInputException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidInputException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(InvalidInputException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(InvalidInputException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - InvalidInputException typedOther = (InvalidInputException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java index 2f1414e..4e88429 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class InvalidObjectException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class InvalidObjectException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidObjectException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(InvalidObjectException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(InvalidObjectException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - InvalidObjectException typedOther = (InvalidObjectException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java index 9b6acb8..c84f938 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class InvalidOperationException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class InvalidOperationException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidOperationException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(InvalidOperationException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(InvalidOperationException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - InvalidOperationException typedOther = (InvalidOperationException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java index 99ffddb..0bca7d4 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class InvalidPartitionException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class InvalidPartitionException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidPartitionException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(InvalidPartitionException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(InvalidPartitionException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - InvalidPartitionException typedOther = (InvalidPartitionException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java index 59c8199..c7bd6a2 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class LockComponent implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class LockComponent implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LockComponent"); private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)1); @@ -131,7 +135,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.TABLENAME,_Fields.PARTITIONNAME}; + private static final _Fields optionals[] = {_Fields.TABLENAME,_Fields.PARTITIONNAME}; 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); @@ -478,90 +482,90 @@ public boolean equals(LockComponent that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_type = true && (isSetType()); - builder.append(present_type); + list.add(present_type); if (present_type) - builder.append(type.getValue()); + list.add(type.getValue()); boolean present_level = true && (isSetLevel()); - builder.append(present_level); + list.add(present_level); if (present_level) - builder.append(level.getValue()); + list.add(level.getValue()); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_tablename = true && (isSetTablename()); - builder.append(present_tablename); + list.add(present_tablename); if (present_tablename) - builder.append(tablename); + list.add(tablename); boolean present_partitionname = true && (isSetPartitionname()); - builder.append(present_partitionname); + list.add(present_partitionname); if (present_partitionname) - builder.append(partitionname); + list.add(partitionname); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(LockComponent other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - LockComponent typedOther = (LockComponent)other; - lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType()); + lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType()); if (lastComparison != 0) { return lastComparison; } if (isSetType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLevel()).compareTo(typedOther.isSetLevel()); + lastComparison = Boolean.valueOf(isSetLevel()).compareTo(other.isSetLevel()); if (lastComparison != 0) { return lastComparison; } if (isSetLevel()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.level, typedOther.level); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.level, other.level); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTablename()).compareTo(typedOther.isSetTablename()); + lastComparison = Boolean.valueOf(isSetTablename()).compareTo(other.isSetTablename()); if (lastComparison != 0) { return lastComparison; } if (isSetTablename()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, typedOther.tablename); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, other.tablename); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartitionname()).compareTo(typedOther.isSetPartitionname()); + lastComparison = Boolean.valueOf(isSetPartitionname()).compareTo(other.isSetPartitionname()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitionname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionname, typedOther.partitionname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionname, other.partitionname); if (lastComparison != 0) { return lastComparison; } @@ -686,7 +690,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockComponent struc switch (schemeField.id) { case 1: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.type = LockType.findByValue(iprot.readI32()); + struct.type = org.apache.hadoop.hive.metastore.api.LockType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -694,7 +698,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockComponent struc break; case 2: // LEVEL if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.level = LockLevel.findByValue(iprot.readI32()); + struct.level = org.apache.hadoop.hive.metastore.api.LockLevel.findByValue(iprot.readI32()); struct.setLevelIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -805,9 +809,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockComponent struc @Override public void read(org.apache.thrift.protocol.TProtocol prot, LockComponent struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - struct.type = LockType.findByValue(iprot.readI32()); + struct.type = org.apache.hadoop.hive.metastore.api.LockType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); - struct.level = LockLevel.findByValue(iprot.readI32()); + struct.level = org.apache.hadoop.hive.metastore.api.LockLevel.findByValue(iprot.readI32()); struct.setLevelIsSet(true); struct.dbname = iprot.readString(); struct.setDbnameIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java index ca5d30a..08840f1 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index a5d8f9b..5ebf643 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class LockRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class LockRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LockRequest"); private static final org.apache.thrift.protocol.TField COMPONENT_FIELD_DESC = new org.apache.thrift.protocol.TField("component", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -120,7 +124,7 @@ public String getFieldName() { // isset id assignments private static final int __TXNID_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.TXNID}; + private static final _Fields optionals[] = {_Fields.TXNID}; 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); @@ -157,7 +161,7 @@ public LockRequest( public LockRequest(LockRequest other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetComponent()) { - List __this__component = new ArrayList(); + List __this__component = new ArrayList(other.component.size()); for (LockComponent other_element : other.component) { __this__component.add(new LockComponent(other_element)); } @@ -419,75 +423,75 @@ public boolean equals(LockRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_component = true && (isSetComponent()); - builder.append(present_component); + list.add(present_component); if (present_component) - builder.append(component); + list.add(component); boolean present_txnid = true && (isSetTxnid()); - builder.append(present_txnid); + list.add(present_txnid); if (present_txnid) - builder.append(txnid); + list.add(txnid); boolean present_user = true && (isSetUser()); - builder.append(present_user); + list.add(present_user); if (present_user) - builder.append(user); + list.add(user); boolean present_hostname = true && (isSetHostname()); - builder.append(present_hostname); + list.add(present_hostname); if (present_hostname) - builder.append(hostname); + list.add(hostname); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(LockRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - LockRequest typedOther = (LockRequest)other; - lastComparison = Boolean.valueOf(isSetComponent()).compareTo(typedOther.isSetComponent()); + lastComparison = Boolean.valueOf(isSetComponent()).compareTo(other.isSetComponent()); if (lastComparison != 0) { return lastComparison; } if (isSetComponent()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.component, typedOther.component); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.component, other.component); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(typedOther.isSetTxnid()); + lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(other.isSetTxnid()); if (lastComparison != 0) { return lastComparison; } if (isSetTxnid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, typedOther.txnid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, other.txnid); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUser()).compareTo(typedOther.isSetUser()); + lastComparison = Boolean.valueOf(isSetUser()).compareTo(other.isSetUser()); if (lastComparison != 0) { return lastComparison; } if (isSetUser()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, typedOther.user); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, other.user); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHostname()).compareTo(typedOther.isSetHostname()); + lastComparison = Boolean.valueOf(isSetHostname()).compareTo(other.isSetHostname()); if (lastComparison != 0) { return lastComparison; } if (isSetHostname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostname, typedOther.hostname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostname, other.hostname); if (lastComparison != 0) { return lastComparison; } @@ -603,12 +607,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockRequest struct) { org.apache.thrift.protocol.TList _list452 = iprot.readListBegin(); struct.component = new ArrayList(_list452.size); - for (int _i453 = 0; _i453 < _list452.size; ++_i453) + LockComponent _elem453; + for (int _i454 = 0; _i454 < _list452.size; ++_i454) { - LockComponent _elem454; // optional - _elem454 = new LockComponent(); - _elem454.read(iprot); - struct.component.add(_elem454); + _elem453 = new LockComponent(); + _elem453.read(iprot); + struct.component.add(_elem453); } iprot.readListEnd(); } @@ -723,12 +727,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) { org.apache.thrift.protocol.TList _list457 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.component = new ArrayList(_list457.size); - for (int _i458 = 0; _i458 < _list457.size; ++_i458) + LockComponent _elem458; + for (int _i459 = 0; _i459 < _list457.size; ++_i459) { - LockComponent _elem459; // optional - _elem459 = new LockComponent(); - _elem459.read(iprot); - struct.component.add(_elem459); + _elem458 = new LockComponent(); + _elem458.read(iprot); + struct.component.add(_elem458); } } struct.setComponentIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java index c9ab465..bd338e4 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class LockResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class LockResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LockResponse"); private static final org.apache.thrift.protocol.TField LOCKID_FIELD_DESC = new org.apache.thrift.protocol.TField("lockid", org.apache.thrift.protocol.TType.I64, (short)1); @@ -297,45 +301,45 @@ public boolean equals(LockResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_lockid = true; - builder.append(present_lockid); + list.add(present_lockid); if (present_lockid) - builder.append(lockid); + list.add(lockid); boolean present_state = true && (isSetState()); - builder.append(present_state); + list.add(present_state); if (present_state) - builder.append(state.getValue()); + list.add(state.getValue()); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(LockResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - LockResponse typedOther = (LockResponse)other; - lastComparison = Boolean.valueOf(isSetLockid()).compareTo(typedOther.isSetLockid()); + lastComparison = Boolean.valueOf(isSetLockid()).compareTo(other.isSetLockid()); if (lastComparison != 0) { return lastComparison; } if (isSetLockid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, typedOther.lockid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, other.lockid); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetState()).compareTo(typedOther.isSetState()); + lastComparison = Boolean.valueOf(isSetState()).compareTo(other.isSetState()); if (lastComparison != 0) { return lastComparison; } if (isSetState()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, typedOther.state); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, other.state); if (lastComparison != 0) { return lastComparison; } @@ -434,7 +438,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockResponse struct break; case 2: // STATE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.state = LockState.findByValue(iprot.readI32()); + struct.state = org.apache.hadoop.hive.metastore.api.LockState.findByValue(iprot.readI32()); struct.setStateIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -487,7 +491,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, LockResponse struct) TTupleProtocol iprot = (TTupleProtocol) prot; struct.lockid = iprot.readI64(); struct.setLockidIsSet(true); - struct.state = LockState.findByValue(iprot.readI32()); + struct.state = org.apache.hadoop.hive.metastore.api.LockState.findByValue(iprot.readI32()); struct.setStateIsSet(true); } } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java index 57bc3c5..bce2b5a 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java index ee57883..9d60531 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java index d817d46..4ab0b80 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class LongColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class LongColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LongColumnStatsData"); private static final org.apache.thrift.protocol.TField LOW_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("lowValue", org.apache.thrift.protocol.TType.I64, (short)1); @@ -123,7 +127,7 @@ public String getFieldName() { private static final int __NUMNULLS_ISSET_ID = 2; private static final int __NUMDVS_ISSET_ID = 3; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.LOW_VALUE,_Fields.HIGH_VALUE}; + private static final _Fields optionals[] = {_Fields.LOW_VALUE,_Fields.HIGH_VALUE}; 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); @@ -396,75 +400,75 @@ public boolean equals(LongColumnStatsData that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_lowValue = true && (isSetLowValue()); - builder.append(present_lowValue); + list.add(present_lowValue); if (present_lowValue) - builder.append(lowValue); + list.add(lowValue); boolean present_highValue = true && (isSetHighValue()); - builder.append(present_highValue); + list.add(present_highValue); if (present_highValue) - builder.append(highValue); + list.add(highValue); boolean present_numNulls = true; - builder.append(present_numNulls); + list.add(present_numNulls); if (present_numNulls) - builder.append(numNulls); + list.add(numNulls); boolean present_numDVs = true; - builder.append(present_numDVs); + list.add(present_numDVs); if (present_numDVs) - builder.append(numDVs); + list.add(numDVs); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(LongColumnStatsData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - LongColumnStatsData typedOther = (LongColumnStatsData)other; - lastComparison = Boolean.valueOf(isSetLowValue()).compareTo(typedOther.isSetLowValue()); + lastComparison = Boolean.valueOf(isSetLowValue()).compareTo(other.isSetLowValue()); if (lastComparison != 0) { return lastComparison; } if (isSetLowValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowValue, typedOther.lowValue); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lowValue, other.lowValue); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHighValue()).compareTo(typedOther.isSetHighValue()); + lastComparison = Boolean.valueOf(isSetHighValue()).compareTo(other.isSetHighValue()); if (lastComparison != 0) { return lastComparison; } if (isSetHighValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.highValue, typedOther.highValue); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.highValue, other.highValue); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(typedOther.isSetNumNulls()); + lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(other.isSetNumNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNumNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, typedOther.numNulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, other.numNulls); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumDVs()).compareTo(typedOther.isSetNumDVs()); + lastComparison = Boolean.valueOf(isSetNumDVs()).compareTo(other.isSetNumDVs()); if (lastComparison != 0) { return lastComparison; } if (isSetNumDVs()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numDVs, typedOther.numDVs); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numDVs, other.numDVs); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java index 108bca9..f36bb1a 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class MetaException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class MetaException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MetaException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(MetaException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(MetaException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - MetaException typedOther = (MetaException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java index 9c8bd0b..db869b2 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class NoSuchLockException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class NoSuchLockException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NoSuchLockException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(NoSuchLockException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(NoSuchLockException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - NoSuchLockException typedOther = (NoSuchLockException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java index 305e979..1874e09 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class NoSuchObjectException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class NoSuchObjectException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NoSuchObjectException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(NoSuchObjectException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(NoSuchObjectException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - NoSuchObjectException typedOther = (NoSuchObjectException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java index 92dbb7f..421c756 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class NoSuchTxnException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class NoSuchTxnException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NoSuchTxnException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(NoSuchTxnException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(NoSuchTxnException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - NoSuchTxnException typedOther = (NoSuchTxnException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java index f196c1c..8e13353 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class NotificationEvent implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class NotificationEvent implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NotificationEvent"); private static final org.apache.thrift.protocol.TField EVENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("eventId", org.apache.thrift.protocol.TType.I64, (short)1); @@ -131,7 +135,7 @@ public String getFieldName() { private static final int __EVENTID_ISSET_ID = 0; private static final int __EVENTTIME_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.DB_NAME,_Fields.TABLE_NAME}; + private static final _Fields optionals[] = {_Fields.DB_NAME,_Fields.TABLE_NAME}; 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); @@ -514,105 +518,105 @@ public boolean equals(NotificationEvent that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_eventId = true; - builder.append(present_eventId); + list.add(present_eventId); if (present_eventId) - builder.append(eventId); + list.add(eventId); boolean present_eventTime = true; - builder.append(present_eventTime); + list.add(present_eventTime); if (present_eventTime) - builder.append(eventTime); + list.add(eventTime); boolean present_eventType = true && (isSetEventType()); - builder.append(present_eventType); + list.add(present_eventType); if (present_eventType) - builder.append(eventType); + list.add(eventType); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_tableName = true && (isSetTableName()); - builder.append(present_tableName); + list.add(present_tableName); if (present_tableName) - builder.append(tableName); + list.add(tableName); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(NotificationEvent other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - NotificationEvent typedOther = (NotificationEvent)other; - lastComparison = Boolean.valueOf(isSetEventId()).compareTo(typedOther.isSetEventId()); + lastComparison = Boolean.valueOf(isSetEventId()).compareTo(other.isSetEventId()); if (lastComparison != 0) { return lastComparison; } if (isSetEventId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventId, typedOther.eventId); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventId, other.eventId); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEventTime()).compareTo(typedOther.isSetEventTime()); + lastComparison = Boolean.valueOf(isSetEventTime()).compareTo(other.isSetEventTime()); if (lastComparison != 0) { return lastComparison; } if (isSetEventTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventTime, typedOther.eventTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventTime, other.eventTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEventType()).compareTo(typedOther.isSetEventType()); + lastComparison = Boolean.valueOf(isSetEventType()).compareTo(other.isSetEventType()); if (lastComparison != 0) { return lastComparison; } if (isSetEventType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventType, typedOther.eventType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventType, other.eventType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); + lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java index 6a8c8ab..3d0e8d1 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class NotificationEventRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class NotificationEventRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NotificationEventRequest"); private static final org.apache.thrift.protocol.TField LAST_EVENT_FIELD_DESC = new org.apache.thrift.protocol.TField("lastEvent", org.apache.thrift.protocol.TType.I64, (short)1); @@ -111,7 +115,7 @@ public String getFieldName() { private static final int __LASTEVENT_ISSET_ID = 0; private static final int __MAXEVENTS_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.MAX_EVENTS}; + private static final _Fields optionals[] = {_Fields.MAX_EVENTS}; 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); @@ -283,45 +287,45 @@ public boolean equals(NotificationEventRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_lastEvent = true; - builder.append(present_lastEvent); + list.add(present_lastEvent); if (present_lastEvent) - builder.append(lastEvent); + list.add(lastEvent); boolean present_maxEvents = true && (isSetMaxEvents()); - builder.append(present_maxEvents); + list.add(present_maxEvents); if (present_maxEvents) - builder.append(maxEvents); + list.add(maxEvents); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(NotificationEventRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - NotificationEventRequest typedOther = (NotificationEventRequest)other; - lastComparison = Boolean.valueOf(isSetLastEvent()).compareTo(typedOther.isSetLastEvent()); + lastComparison = Boolean.valueOf(isSetLastEvent()).compareTo(other.isSetLastEvent()); if (lastComparison != 0) { return lastComparison; } if (isSetLastEvent()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastEvent, typedOther.lastEvent); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastEvent, other.lastEvent); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMaxEvents()).compareTo(typedOther.isSetMaxEvents()); + lastComparison = Boolean.valueOf(isSetMaxEvents()).compareTo(other.isSetMaxEvents()); if (lastComparison != 0) { return lastComparison; } if (isSetMaxEvents()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxEvents, typedOther.maxEvents); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxEvents, other.maxEvents); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index 0123e87..50ee3c6 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class NotificationEventResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class NotificationEventResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("NotificationEventResponse"); private static final org.apache.thrift.protocol.TField EVENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("events", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public NotificationEventResponse( */ public NotificationEventResponse(NotificationEventResponse other) { if (other.isSetEvents()) { - List __this__events = new ArrayList(); + List __this__events = new ArrayList(other.events.size()); for (NotificationEvent other_element : other.events) { __this__events.add(new NotificationEvent(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(NotificationEventResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_events = true && (isSetEvents()); - builder.append(present_events); + list.add(present_events); if (present_events) - builder.append(events); + list.add(events); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(NotificationEventResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - NotificationEventResponse typedOther = (NotificationEventResponse)other; - lastComparison = Boolean.valueOf(isSetEvents()).compareTo(typedOther.isSetEvents()); + lastComparison = Boolean.valueOf(isSetEvents()).compareTo(other.isSetEvents()); if (lastComparison != 0) { return lastComparison; } if (isSetEvents()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.events, typedOther.events); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.events, other.events); if (lastComparison != 0) { return lastComparison; } @@ -352,12 +356,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe { org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); struct.events = new ArrayList(_list500.size); - for (int _i501 = 0; _i501 < _list500.size; ++_i501) + NotificationEvent _elem501; + for (int _i502 = 0; _i502 < _list500.size; ++_i502) { - NotificationEvent _elem502; // optional - _elem502 = new NotificationEvent(); - _elem502.read(iprot); - struct.events.add(_elem502); + _elem501 = new NotificationEvent(); + _elem501.read(iprot); + struct.events.add(_elem501); } iprot.readListEnd(); } @@ -423,12 +427,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventRes { org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.events = new ArrayList(_list505.size); - for (int _i506 = 0; _i506 < _list505.size; ++_i506) + NotificationEvent _elem506; + for (int _i507 = 0; _i507 < _list505.size; ++_i507) { - NotificationEvent _elem507; // optional - _elem507 = new NotificationEvent(); - _elem507.read(iprot); - struct.events.add(_elem507); + _elem506 = new NotificationEvent(); + _elem506.read(iprot); + struct.events.add(_elem506); } } struct.setEventsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java index 0d05378..aa2e02b 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class OpenTxnRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class OpenTxnRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OpenTxnRequest"); private static final org.apache.thrift.protocol.TField NUM_TXNS_FIELD_DESC = new org.apache.thrift.protocol.TField("num_txns", org.apache.thrift.protocol.TType.I32, (short)1); @@ -343,60 +347,60 @@ public boolean equals(OpenTxnRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_num_txns = true; - builder.append(present_num_txns); + list.add(present_num_txns); if (present_num_txns) - builder.append(num_txns); + list.add(num_txns); boolean present_user = true && (isSetUser()); - builder.append(present_user); + list.add(present_user); if (present_user) - builder.append(user); + list.add(user); boolean present_hostname = true && (isSetHostname()); - builder.append(present_hostname); + list.add(present_hostname); if (present_hostname) - builder.append(hostname); + list.add(hostname); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(OpenTxnRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - OpenTxnRequest typedOther = (OpenTxnRequest)other; - lastComparison = Boolean.valueOf(isSetNum_txns()).compareTo(typedOther.isSetNum_txns()); + lastComparison = Boolean.valueOf(isSetNum_txns()).compareTo(other.isSetNum_txns()); if (lastComparison != 0) { return lastComparison; } if (isSetNum_txns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.num_txns, typedOther.num_txns); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.num_txns, other.num_txns); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUser()).compareTo(typedOther.isSetUser()); + lastComparison = Boolean.valueOf(isSetUser()).compareTo(other.isSetUser()); if (lastComparison != 0) { return lastComparison; } if (isSetUser()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, typedOther.user); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, other.user); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHostname()).compareTo(typedOther.isSetHostname()); + lastComparison = Boolean.valueOf(isSetHostname()).compareTo(other.isSetHostname()); if (lastComparison != 0) { return lastComparison; } if (isSetHostname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostname, typedOther.hostname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostname, other.hostname); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java index f5efbe3..d0517fd 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class OpenTxnsResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class OpenTxnsResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OpenTxnsResponse"); private static final org.apache.thrift.protocol.TField TXN_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("txn_ids", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,10 +132,7 @@ public OpenTxnsResponse( */ public OpenTxnsResponse(OpenTxnsResponse other) { if (other.isSetTxn_ids()) { - List __this__txn_ids = new ArrayList(); - for (Long other_element : other.txn_ids) { - __this__txn_ids.add(other_element); - } + List __this__txn_ids = new ArrayList(other.txn_ids); this.txn_ids = __this__txn_ids; } } @@ -245,30 +246,30 @@ public boolean equals(OpenTxnsResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_txn_ids = true && (isSetTxn_ids()); - builder.append(present_txn_ids); + list.add(present_txn_ids); if (present_txn_ids) - builder.append(txn_ids); + list.add(txn_ids); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(OpenTxnsResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - OpenTxnsResponse typedOther = (OpenTxnsResponse)other; - lastComparison = Boolean.valueOf(isSetTxn_ids()).compareTo(typedOther.isSetTxn_ids()); + lastComparison = Boolean.valueOf(isSetTxn_ids()).compareTo(other.isSetTxn_ids()); if (lastComparison != 0) { return lastComparison; } if (isSetTxn_ids()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txn_ids, typedOther.txn_ids); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txn_ids, other.txn_ids); if (lastComparison != 0) { return lastComparison; } @@ -352,11 +353,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnsResponse st { org.apache.thrift.protocol.TList _list444 = iprot.readListBegin(); struct.txn_ids = new ArrayList(_list444.size); - for (int _i445 = 0; _i445 < _list444.size; ++_i445) + long _elem445; + for (int _i446 = 0; _i446 < _list444.size; ++_i446) { - long _elem446; // optional - _elem446 = iprot.readI64(); - struct.txn_ids.add(_elem446); + _elem445 = iprot.readI64(); + struct.txn_ids.add(_elem445); } iprot.readListEnd(); } @@ -422,11 +423,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse str { org.apache.thrift.protocol.TList _list449 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.txn_ids = new ArrayList(_list449.size); - for (int _i450 = 0; _i450 < _list449.size; ++_i450) + long _elem450; + for (int _i451 = 0; _i451 < _list449.size; ++_i451) { - long _elem451; // optional - _elem451 = iprot.readI64(); - struct.txn_ids.add(_elem451); + _elem450 = iprot.readI64(); + struct.txn_ids.add(_elem450); } } struct.setTxn_idsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java index 55d5174..13fe639 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Order implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Order implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Order"); private static final org.apache.thrift.protocol.TField COL_FIELD_DESC = new org.apache.thrift.protocol.TField("col", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -285,45 +289,45 @@ public boolean equals(Order that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_col = true && (isSetCol()); - builder.append(present_col); + list.add(present_col); if (present_col) - builder.append(col); + list.add(col); boolean present_order = true; - builder.append(present_order); + list.add(present_order); if (present_order) - builder.append(order); + list.add(order); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Order other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Order typedOther = (Order)other; - lastComparison = Boolean.valueOf(isSetCol()).compareTo(typedOther.isSetCol()); + lastComparison = Boolean.valueOf(isSetCol()).compareTo(other.isSetCol()); if (lastComparison != 0) { return lastComparison; } if (isSetCol()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col, typedOther.col); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col, other.col); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOrder()).compareTo(typedOther.isSetOrder()); + lastComparison = Boolean.valueOf(isSetOrder()).compareTo(other.isSetOrder()); if (lastComparison != 0) { return lastComparison; } if (isSetOrder()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.order, typedOther.order); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.order, other.order); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java index 7d29d09..dcc187d 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Partition implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Partition implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Partition"); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -141,7 +145,7 @@ public String getFieldName() { private static final int __CREATETIME_ISSET_ID = 0; private static final int __LASTACCESSTIME_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.PRIVILEGES}; + private static final _Fields optionals[] = {_Fields.PRIVILEGES}; 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); @@ -182,14 +186,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); } /** @@ -198,17 +202,14 @@ public Partition( public Partition(Partition other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetValues()) { - List __this__values = new ArrayList(); - for (String other_element : other.values) { - __this__values.add(other_element); - } + List __this__values = new ArrayList(other.values); 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; @@ -216,18 +217,7 @@ public Partition(Partition other) { this.sd = new StorageDescriptor(other.sd); } if (other.isSetParameters()) { - Map __this__parameters = new HashMap(); - for (Map.Entry other_element : other.parameters.entrySet()) { - - 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_value = other_element_value; - - __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); - } + Map __this__parameters = new HashMap(other.parameters); this.parameters = __this__parameters; } if (other.isSetPrivileges()) { @@ -296,7 +286,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 +309,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 +410,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() { @@ -677,135 +667,135 @@ public boolean equals(Partition that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_values = true && (isSetValues()); - builder.append(present_values); + list.add(present_values); if (present_values) - builder.append(values); + list.add(values); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_tableName = true && (isSetTableName()); - builder.append(present_tableName); + list.add(present_tableName); if (present_tableName) - builder.append(tableName); + list.add(tableName); boolean present_createTime = true; - builder.append(present_createTime); + list.add(present_createTime); if (present_createTime) - builder.append(createTime); + list.add(createTime); boolean present_lastAccessTime = true; - builder.append(present_lastAccessTime); + list.add(present_lastAccessTime); if (present_lastAccessTime) - builder.append(lastAccessTime); + list.add(lastAccessTime); boolean present_sd = true && (isSetSd()); - builder.append(present_sd); + list.add(present_sd); if (present_sd) - builder.append(sd); + list.add(sd); boolean present_parameters = true && (isSetParameters()); - builder.append(present_parameters); + list.add(present_parameters); if (present_parameters) - builder.append(parameters); + list.add(parameters); boolean present_privileges = true && (isSetPrivileges()); - builder.append(present_privileges); + list.add(present_privileges); if (present_privileges) - builder.append(privileges); + list.add(privileges); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Partition other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Partition typedOther = (Partition)other; - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues()); + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); + lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(typedOther.isSetCreateTime()); + lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(other.isSetCreateTime()); if (lastComparison != 0) { return lastComparison; } if (isSetCreateTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, typedOther.createTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, other.createTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(typedOther.isSetLastAccessTime()); + lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(other.isSetLastAccessTime()); if (lastComparison != 0) { return lastComparison; } if (isSetLastAccessTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, typedOther.lastAccessTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, other.lastAccessTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSd()).compareTo(typedOther.isSetSd()); + lastComparison = Boolean.valueOf(isSetSd()).compareTo(other.isSetSd()); if (lastComparison != 0) { return lastComparison; } if (isSetSd()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, typedOther.sd); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, other.sd); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetParameters()).compareTo(typedOther.isSetParameters()); + lastComparison = Boolean.valueOf(isSetParameters()).compareTo(other.isSetParameters()); if (lastComparison != 0) { return lastComparison; } if (isSetParameters()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, typedOther.parameters); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, other.parameters); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(typedOther.isSetPrivileges()); + lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(other.isSetPrivileges()); if (lastComparison != 0) { return lastComparison; } if (isSetPrivileges()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, typedOther.privileges); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, other.privileges); if (lastComparison != 0) { return lastComparison; } @@ -943,11 +933,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Partition struct) t { org.apache.thrift.protocol.TList _list208 = iprot.readListBegin(); struct.values = new ArrayList(_list208.size); - for (int _i209 = 0; _i209 < _list208.size; ++_i209) + String _elem209; + for (int _i210 = 0; _i210 < _list208.size; ++_i210) { - String _elem210; // optional - _elem210 = iprot.readString(); - struct.values.add(_elem210); + _elem209 = iprot.readString(); + struct.values.add(_elem209); } iprot.readListEnd(); } @@ -1002,13 +992,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Partition struct) t { org.apache.thrift.protocol.TMap _map211 = iprot.readMapBegin(); struct.parameters = new HashMap(2*_map211.size); - for (int _i212 = 0; _i212 < _map211.size; ++_i212) + String _key212; + String _val213; + for (int _i214 = 0; _i214 < _map211.size; ++_i214) { - String _key213; // required - String _val214; // required - _key213 = iprot.readString(); - _val214 = iprot.readString(); - struct.parameters.put(_key213, _val214); + _key212 = iprot.readString(); + _val213 = iprot.readString(); + struct.parameters.put(_key212, _val213); } iprot.readMapEnd(); } @@ -1182,11 +1172,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Partition struct) th { org.apache.thrift.protocol.TList _list219 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.values = new ArrayList(_list219.size); - for (int _i220 = 0; _i220 < _list219.size; ++_i220) + String _elem220; + for (int _i221 = 0; _i221 < _list219.size; ++_i221) { - String _elem221; // optional - _elem221 = iprot.readString(); - struct.values.add(_elem221); + _elem220 = iprot.readString(); + struct.values.add(_elem220); } } struct.setValuesIsSet(true); @@ -1216,13 +1206,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Partition struct) th { org.apache.thrift.protocol.TMap _map222 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.parameters = new HashMap(2*_map222.size); - for (int _i223 = 0; _i223 < _map222.size; ++_i223) + String _key223; + String _val224; + for (int _i225 = 0; _i225 < _map222.size; ++_i225) { - String _key224; // required - String _val225; // required - _key224 = iprot.readString(); - _val225 = iprot.readString(); - struct.parameters.put(_key224, _val225); + _key223 = iprot.readString(); + _val224 = iprot.readString(); + struct.parameters.put(_key223, _val224); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java index 6c75461..40bdb56 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java index bcd92b8..cba1209 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class PartitionListComposingSpec implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class PartitionListComposingSpec implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionListComposingSpec"); private static final org.apache.thrift.protocol.TField PARTITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("partitions", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public PartitionListComposingSpec( */ public PartitionListComposingSpec(PartitionListComposingSpec other) { if (other.isSetPartitions()) { - List __this__partitions = new ArrayList(); + List __this__partitions = new ArrayList(other.partitions.size()); for (Partition other_element : other.partitions) { __this__partitions.add(new Partition(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(PartitionListComposingSpec that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_partitions = true && (isSetPartitions()); - builder.append(present_partitions); + list.add(present_partitions); if (present_partitions) - builder.append(partitions); + list.add(partitions); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(PartitionListComposingSpec other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - PartitionListComposingSpec typedOther = (PartitionListComposingSpec)other; - lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(typedOther.isSetPartitions()); + lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(other.isSetPartitions()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, typedOther.partitions); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, other.partitions); if (lastComparison != 0) { return lastComparison; } @@ -348,12 +352,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionListCompos { org.apache.thrift.protocol.TList _list252 = iprot.readListBegin(); struct.partitions = new ArrayList(_list252.size); - for (int _i253 = 0; _i253 < _list252.size; ++_i253) + Partition _elem253; + for (int _i254 = 0; _i254 < _list252.size; ++_i254) { - Partition _elem254; // optional - _elem254 = new Partition(); - _elem254.read(iprot); - struct.partitions.add(_elem254); + _elem253 = new Partition(); + _elem253.read(iprot); + struct.partitions.add(_elem253); } iprot.readListEnd(); } @@ -428,12 +432,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionListComposi { org.apache.thrift.protocol.TList _list257 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.partitions = new ArrayList(_list257.size); - for (int _i258 = 0; _i258 < _list257.size; ++_i258) + Partition _elem258; + for (int _i259 = 0; _i259 < _list257.size; ++_i259) { - Partition _elem259; // optional - _elem259 = new Partition(); - _elem259.read(iprot); - struct.partitions.add(_elem259); + _elem258 = new Partition(); + _elem258.read(iprot); + struct.partitions.add(_elem258); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java index 06cc8fb..6ab34d3 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class PartitionSpec implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class PartitionSpec implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionSpec"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -123,7 +127,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.SHARED_SDPARTITION_SPEC,_Fields.PARTITION_LIST}; + private static final _Fields optionals[] = {_Fields.SHARED_SDPARTITION_SPEC,_Fields.PARTITION_LIST}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -454,90 +458,90 @@ public boolean equals(PartitionSpec that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_tableName = true && (isSetTableName()); - builder.append(present_tableName); + list.add(present_tableName); if (present_tableName) - builder.append(tableName); + list.add(tableName); boolean present_rootPath = true && (isSetRootPath()); - builder.append(present_rootPath); + list.add(present_rootPath); if (present_rootPath) - builder.append(rootPath); + list.add(rootPath); boolean present_sharedSDPartitionSpec = true && (isSetSharedSDPartitionSpec()); - builder.append(present_sharedSDPartitionSpec); + list.add(present_sharedSDPartitionSpec); if (present_sharedSDPartitionSpec) - builder.append(sharedSDPartitionSpec); + list.add(sharedSDPartitionSpec); boolean present_partitionList = true && (isSetPartitionList()); - builder.append(present_partitionList); + list.add(present_partitionList); if (present_partitionList) - builder.append(partitionList); + list.add(partitionList); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(PartitionSpec other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - PartitionSpec typedOther = (PartitionSpec)other; - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); + lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRootPath()).compareTo(typedOther.isSetRootPath()); + lastComparison = Boolean.valueOf(isSetRootPath()).compareTo(other.isSetRootPath()); if (lastComparison != 0) { return lastComparison; } if (isSetRootPath()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rootPath, typedOther.rootPath); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rootPath, other.rootPath); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSharedSDPartitionSpec()).compareTo(typedOther.isSetSharedSDPartitionSpec()); + lastComparison = Boolean.valueOf(isSetSharedSDPartitionSpec()).compareTo(other.isSetSharedSDPartitionSpec()); if (lastComparison != 0) { return lastComparison; } if (isSetSharedSDPartitionSpec()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sharedSDPartitionSpec, typedOther.sharedSDPartitionSpec); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sharedSDPartitionSpec, other.sharedSDPartitionSpec); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartitionList()).compareTo(typedOther.isSetPartitionList()); + lastComparison = Boolean.valueOf(isSetPartitionList()).compareTo(other.isSetPartitionList()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitionList()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionList, typedOther.partitionList); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionList, other.partitionList); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java index 18ab134..0a27626 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class PartitionSpecWithSharedSD implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class PartitionSpecWithSharedSD implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionSpecWithSharedSD"); private static final org.apache.thrift.protocol.TField PARTITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("partitions", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -137,7 +141,7 @@ public PartitionSpecWithSharedSD( */ public PartitionSpecWithSharedSD(PartitionSpecWithSharedSD other) { if (other.isSetPartitions()) { - List __this__partitions = new ArrayList(); + List __this__partitions = new ArrayList(other.partitions.size()); for (PartitionWithoutSD other_element : other.partitions) { __this__partitions.add(new PartitionWithoutSD(other_element)); } @@ -303,45 +307,45 @@ public boolean equals(PartitionSpecWithSharedSD that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_partitions = true && (isSetPartitions()); - builder.append(present_partitions); + list.add(present_partitions); if (present_partitions) - builder.append(partitions); + list.add(partitions); boolean present_sd = true && (isSetSd()); - builder.append(present_sd); + list.add(present_sd); if (present_sd) - builder.append(sd); + list.add(sd); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(PartitionSpecWithSharedSD other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - PartitionSpecWithSharedSD typedOther = (PartitionSpecWithSharedSD)other; - lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(typedOther.isSetPartitions()); + lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(other.isSetPartitions()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, typedOther.partitions); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, other.partitions); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSd()).compareTo(typedOther.isSetSd()); + lastComparison = Boolean.valueOf(isSetSd()).compareTo(other.isSetSd()); if (lastComparison != 0) { return lastComparison; } if (isSetSd()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, typedOther.sd); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, other.sd); if (lastComparison != 0) { return lastComparison; } @@ -432,12 +436,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionSpecWithSh { org.apache.thrift.protocol.TList _list244 = iprot.readListBegin(); struct.partitions = new ArrayList(_list244.size); - for (int _i245 = 0; _i245 < _list244.size; ++_i245) + PartitionWithoutSD _elem245; + for (int _i246 = 0; _i246 < _list244.size; ++_i246) { - PartitionWithoutSD _elem246; // optional - _elem246 = new PartitionWithoutSD(); - _elem246.read(iprot); - struct.partitions.add(_elem246); + _elem245 = new PartitionWithoutSD(); + _elem245.read(iprot); + struct.partitions.add(_elem245); } iprot.readListEnd(); } @@ -532,12 +536,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionSpecWithSha { org.apache.thrift.protocol.TList _list249 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.partitions = new ArrayList(_list249.size); - for (int _i250 = 0; _i250 < _list249.size; ++_i250) + PartitionWithoutSD _elem250; + for (int _i251 = 0; _i251 < _list249.size; ++_i251) { - PartitionWithoutSD _elem251; // optional - _elem251 = new PartitionWithoutSD(); - _elem251.read(iprot); - struct.partitions.add(_elem251); + _elem250 = new PartitionWithoutSD(); + _elem250.read(iprot); + struct.partitions.add(_elem250); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java index 193d9e9..4551632 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class PartitionWithoutSD implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class PartitionWithoutSD implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionWithoutSD"); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -131,7 +135,7 @@ public String getFieldName() { private static final int __CREATETIME_ISSET_ID = 0; private static final int __LASTACCESSTIME_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.PRIVILEGES}; + private static final _Fields optionals[] = {_Fields.PRIVILEGES}; 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); @@ -180,10 +184,7 @@ public PartitionWithoutSD( public PartitionWithoutSD(PartitionWithoutSD other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetValues()) { - List __this__values = new ArrayList(); - for (String other_element : other.values) { - __this__values.add(other_element); - } + List __this__values = new ArrayList(other.values); this.values = __this__values; } this.createTime = other.createTime; @@ -192,18 +193,7 @@ public PartitionWithoutSD(PartitionWithoutSD other) { this.relativePath = other.relativePath; } if (other.isSetParameters()) { - Map __this__parameters = new HashMap(); - for (Map.Entry other_element : other.parameters.entrySet()) { - - 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_value = other_element_value; - - __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); - } + Map __this__parameters = new HashMap(other.parameters); this.parameters = __this__parameters; } if (other.isSetPrivileges()) { @@ -561,105 +551,105 @@ public boolean equals(PartitionWithoutSD that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_values = true && (isSetValues()); - builder.append(present_values); + list.add(present_values); if (present_values) - builder.append(values); + list.add(values); boolean present_createTime = true; - builder.append(present_createTime); + list.add(present_createTime); if (present_createTime) - builder.append(createTime); + list.add(createTime); boolean present_lastAccessTime = true; - builder.append(present_lastAccessTime); + list.add(present_lastAccessTime); if (present_lastAccessTime) - builder.append(lastAccessTime); + list.add(lastAccessTime); boolean present_relativePath = true && (isSetRelativePath()); - builder.append(present_relativePath); + list.add(present_relativePath); if (present_relativePath) - builder.append(relativePath); + list.add(relativePath); boolean present_parameters = true && (isSetParameters()); - builder.append(present_parameters); + list.add(present_parameters); if (present_parameters) - builder.append(parameters); + list.add(parameters); boolean present_privileges = true && (isSetPrivileges()); - builder.append(present_privileges); + list.add(present_privileges); if (present_privileges) - builder.append(privileges); + list.add(privileges); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(PartitionWithoutSD other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - PartitionWithoutSD typedOther = (PartitionWithoutSD)other; - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues()); + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(typedOther.isSetCreateTime()); + lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(other.isSetCreateTime()); if (lastComparison != 0) { return lastComparison; } if (isSetCreateTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, typedOther.createTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, other.createTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(typedOther.isSetLastAccessTime()); + lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(other.isSetLastAccessTime()); if (lastComparison != 0) { return lastComparison; } if (isSetLastAccessTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, typedOther.lastAccessTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, other.lastAccessTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRelativePath()).compareTo(typedOther.isSetRelativePath()); + lastComparison = Boolean.valueOf(isSetRelativePath()).compareTo(other.isSetRelativePath()); if (lastComparison != 0) { return lastComparison; } if (isSetRelativePath()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.relativePath, typedOther.relativePath); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.relativePath, other.relativePath); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetParameters()).compareTo(typedOther.isSetParameters()); + lastComparison = Boolean.valueOf(isSetParameters()).compareTo(other.isSetParameters()); if (lastComparison != 0) { return lastComparison; } if (isSetParameters()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, typedOther.parameters); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, other.parameters); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(typedOther.isSetPrivileges()); + lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(other.isSetPrivileges()); if (lastComparison != 0) { return lastComparison; } if (isSetPrivileges()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, typedOther.privileges); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, other.privileges); if (lastComparison != 0) { return lastComparison; } @@ -778,11 +768,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionWithoutSD { org.apache.thrift.protocol.TList _list226 = iprot.readListBegin(); struct.values = new ArrayList(_list226.size); - for (int _i227 = 0; _i227 < _list226.size; ++_i227) + String _elem227; + for (int _i228 = 0; _i228 < _list226.size; ++_i228) { - String _elem228; // optional - _elem228 = iprot.readString(); - struct.values.add(_elem228); + _elem227 = iprot.readString(); + struct.values.add(_elem227); } iprot.readListEnd(); } @@ -820,13 +810,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionWithoutSD { org.apache.thrift.protocol.TMap _map229 = iprot.readMapBegin(); struct.parameters = new HashMap(2*_map229.size); - for (int _i230 = 0; _i230 < _map229.size; ++_i230) + String _key230; + String _val231; + for (int _i232 = 0; _i232 < _map229.size; ++_i232) { - String _key231; // required - String _val232; // required - _key231 = iprot.readString(); - _val232 = iprot.readString(); - struct.parameters.put(_key231, _val232); + _key230 = iprot.readString(); + _val231 = iprot.readString(); + struct.parameters.put(_key230, _val231); } iprot.readMapEnd(); } @@ -978,11 +968,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionWithoutSD s { org.apache.thrift.protocol.TList _list237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.values = new ArrayList(_list237.size); - for (int _i238 = 0; _i238 < _list237.size; ++_i238) + String _elem238; + for (int _i239 = 0; _i239 < _list237.size; ++_i239) { - String _elem239; // optional - _elem239 = iprot.readString(); - struct.values.add(_elem239); + _elem238 = iprot.readString(); + struct.values.add(_elem238); } } struct.setValuesIsSet(true); @@ -1003,13 +993,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionWithoutSD s { org.apache.thrift.protocol.TMap _map240 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.parameters = new HashMap(2*_map240.size); - for (int _i241 = 0; _i241 < _map240.size; ++_i241) + String _key241; + String _val242; + for (int _i243 = 0; _i243 < _map240.size; ++_i243) { - String _key242; // required - String _val243; // required - _key242 = iprot.readString(); - _val243 = iprot.readString(); - struct.parameters.put(_key242, _val243); + _key241 = iprot.readString(); + _val242 = iprot.readString(); + struct.parameters.put(_key241, _val242); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java index c6fa8a2..9a982d5 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class PartitionsByExprRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class PartitionsByExprRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionsByExprRequest"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -125,7 +129,7 @@ public String getFieldName() { // isset id assignments private static final int __MAXPARTS_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.DEFAULT_PARTITION_NAME,_Fields.MAX_PARTS}; + private static final _Fields optionals[] = {_Fields.DEFAULT_PARTITION_NAME,_Fields.MAX_PARTS}; 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); @@ -156,7 +160,7 @@ public PartitionsByExprRequest( this(); this.dbName = dbName; this.tblName = tblName; - this.expr = expr; + this.expr = org.apache.thrift.TBaseHelper.copyBinary(expr); } /** @@ -172,7 +176,6 @@ public PartitionsByExprRequest(PartitionsByExprRequest other) { } if (other.isSetExpr()) { this.expr = org.apache.thrift.TBaseHelper.copyBinary(other.expr); -; } if (other.isSetDefaultPartitionName()) { this.defaultPartitionName = other.defaultPartitionName; @@ -246,15 +249,15 @@ public void setTblNameIsSet(boolean value) { } public ByteBuffer bufferForExpr() { - return expr; + return org.apache.thrift.TBaseHelper.copyBinary(expr); } public void setExpr(byte[] expr) { - setExpr(expr == null ? (ByteBuffer)null : ByteBuffer.wrap(expr)); + this.expr = expr == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(expr, expr.length)); } public void setExpr(ByteBuffer expr) { - this.expr = expr; + this.expr = org.apache.thrift.TBaseHelper.copyBinary(expr); } public void unsetExpr() { @@ -467,90 +470,90 @@ public boolean equals(PartitionsByExprRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_tblName = true && (isSetTblName()); - builder.append(present_tblName); + list.add(present_tblName); if (present_tblName) - builder.append(tblName); + list.add(tblName); boolean present_expr = true && (isSetExpr()); - builder.append(present_expr); + list.add(present_expr); if (present_expr) - builder.append(expr); + list.add(expr); boolean present_defaultPartitionName = true && (isSetDefaultPartitionName()); - builder.append(present_defaultPartitionName); + list.add(present_defaultPartitionName); if (present_defaultPartitionName) - builder.append(defaultPartitionName); + list.add(defaultPartitionName); boolean present_maxParts = true && (isSetMaxParts()); - builder.append(present_maxParts); + list.add(present_maxParts); if (present_maxParts) - builder.append(maxParts); + list.add(maxParts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(PartitionsByExprRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - PartitionsByExprRequest typedOther = (PartitionsByExprRequest)other; - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTblName()).compareTo(typedOther.isSetTblName()); + lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName()); if (lastComparison != 0) { return lastComparison; } if (isSetTblName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, typedOther.tblName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetExpr()).compareTo(typedOther.isSetExpr()); + lastComparison = Boolean.valueOf(isSetExpr()).compareTo(other.isSetExpr()); if (lastComparison != 0) { return lastComparison; } if (isSetExpr()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expr, typedOther.expr); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expr, other.expr); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDefaultPartitionName()).compareTo(typedOther.isSetDefaultPartitionName()); + lastComparison = Boolean.valueOf(isSetDefaultPartitionName()).compareTo(other.isSetDefaultPartitionName()); if (lastComparison != 0) { return lastComparison; } if (isSetDefaultPartitionName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultPartitionName, typedOther.defaultPartitionName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultPartitionName, other.defaultPartitionName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMaxParts()).compareTo(typedOther.isSetMaxParts()); + lastComparison = Boolean.valueOf(isSetMaxParts()).compareTo(other.isSetMaxParts()); if (lastComparison != 0) { return lastComparison; } if (isSetMaxParts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxParts, typedOther.maxParts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxParts, other.maxParts); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java index 525ce0e..31013da 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class PartitionsByExprResult implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class PartitionsByExprResult implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionsByExprResult"); private static final org.apache.thrift.protocol.TField PARTITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("partitions", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -141,7 +145,7 @@ public PartitionsByExprResult( public PartitionsByExprResult(PartitionsByExprResult other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetPartitions()) { - List __this__partitions = new ArrayList(); + List __this__partitions = new ArrayList(other.partitions.size()); for (Partition other_element : other.partitions) { __this__partitions.add(new Partition(other_element)); } @@ -305,45 +309,45 @@ public boolean equals(PartitionsByExprResult that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_partitions = true && (isSetPartitions()); - builder.append(present_partitions); + list.add(present_partitions); if (present_partitions) - builder.append(partitions); + list.add(partitions); boolean present_hasUnknownPartitions = true; - builder.append(present_hasUnknownPartitions); + list.add(present_hasUnknownPartitions); if (present_hasUnknownPartitions) - builder.append(hasUnknownPartitions); + list.add(hasUnknownPartitions); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(PartitionsByExprResult other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - PartitionsByExprResult typedOther = (PartitionsByExprResult)other; - lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(typedOther.isSetPartitions()); + lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(other.isSetPartitions()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, typedOther.partitions); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, other.partitions); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHasUnknownPartitions()).compareTo(typedOther.isSetHasUnknownPartitions()); + lastComparison = Boolean.valueOf(isSetHasUnknownPartitions()).compareTo(other.isSetHasUnknownPartitions()); if (lastComparison != 0) { return lastComparison; } if (isSetHasUnknownPartitions()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasUnknownPartitions, typedOther.hasUnknownPartitions); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasUnknownPartitions, other.hasUnknownPartitions); if (lastComparison != 0) { return lastComparison; } @@ -437,12 +441,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsByExprRes { org.apache.thrift.protocol.TList _list322 = iprot.readListBegin(); struct.partitions = new ArrayList(_list322.size); - for (int _i323 = 0; _i323 < _list322.size; ++_i323) + Partition _elem323; + for (int _i324 = 0; _i324 < _list322.size; ++_i324) { - Partition _elem324; // optional - _elem324 = new Partition(); - _elem324.read(iprot); - struct.partitions.add(_elem324); + _elem323 = new Partition(); + _elem323.read(iprot); + struct.partitions.add(_elem323); } iprot.readListEnd(); } @@ -520,12 +524,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprResu { org.apache.thrift.protocol.TList _list327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.partitions = new ArrayList(_list327.size); - for (int _i328 = 0; _i328 < _list327.size; ++_i328) + Partition _elem328; + for (int _i329 = 0; _i329 < _list327.size; ++_i329) { - Partition _elem329; // optional - _elem329 = new Partition(); - _elem329.read(iprot); - struct.partitions.add(_elem329); + _elem328 = new Partition(); + _elem328.read(iprot); + struct.partitions.add(_elem328); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java index d224453..a859022 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class PartitionsStatsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class PartitionsStatsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionsStatsRequest"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -162,17 +166,11 @@ public PartitionsStatsRequest(PartitionsStatsRequest other) { this.tblName = other.tblName; } if (other.isSetColNames()) { - List __this__colNames = new ArrayList(); - for (String other_element : other.colNames) { - __this__colNames.add(other_element); - } + List __this__colNames = new ArrayList(other.colNames); this.colNames = __this__colNames; } if (other.isSetPartNames()) { - List __this__partNames = new ArrayList(); - for (String other_element : other.partNames) { - __this__partNames.add(other_element); - } + List __this__partNames = new ArrayList(other.partNames); this.partNames = __this__partNames; } } @@ -439,75 +437,75 @@ public boolean equals(PartitionsStatsRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_tblName = true && (isSetTblName()); - builder.append(present_tblName); + list.add(present_tblName); if (present_tblName) - builder.append(tblName); + list.add(tblName); boolean present_colNames = true && (isSetColNames()); - builder.append(present_colNames); + list.add(present_colNames); if (present_colNames) - builder.append(colNames); + list.add(colNames); boolean present_partNames = true && (isSetPartNames()); - builder.append(present_partNames); + list.add(present_partNames); if (present_partNames) - builder.append(partNames); + list.add(partNames); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(PartitionsStatsRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - PartitionsStatsRequest typedOther = (PartitionsStatsRequest)other; - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTblName()).compareTo(typedOther.isSetTblName()); + lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName()); if (lastComparison != 0) { return lastComparison; } if (isSetTblName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, typedOther.tblName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetColNames()).compareTo(typedOther.isSetColNames()); + lastComparison = Boolean.valueOf(isSetColNames()).compareTo(other.isSetColNames()); if (lastComparison != 0) { return lastComparison; } if (isSetColNames()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colNames, typedOther.colNames); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colNames, other.colNames); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartNames()).compareTo(typedOther.isSetPartNames()); + lastComparison = Boolean.valueOf(isSetPartNames()).compareTo(other.isSetPartNames()); if (lastComparison != 0) { return lastComparison; } if (isSetPartNames()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partNames, typedOther.partNames); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partNames, other.partNames); if (lastComparison != 0) { return lastComparison; } @@ -643,11 +641,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ { org.apache.thrift.protocol.TList _list364 = iprot.readListBegin(); struct.colNames = new ArrayList(_list364.size); - for (int _i365 = 0; _i365 < _list364.size; ++_i365) + String _elem365; + for (int _i366 = 0; _i366 < _list364.size; ++_i366) { - String _elem366; // optional - _elem366 = iprot.readString(); - struct.colNames.add(_elem366); + _elem365 = iprot.readString(); + struct.colNames.add(_elem365); } iprot.readListEnd(); } @@ -661,11 +659,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ { org.apache.thrift.protocol.TList _list367 = iprot.readListBegin(); struct.partNames = new ArrayList(_list367.size); - for (int _i368 = 0; _i368 < _list367.size; ++_i368) + String _elem368; + for (int _i369 = 0; _i369 < _list367.size; ++_i369) { - String _elem369; // optional - _elem369 = iprot.readString(); - struct.partNames.add(_elem369); + _elem368 = iprot.readString(); + struct.partNames.add(_elem368); } iprot.readListEnd(); } @@ -766,22 +764,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsReque { org.apache.thrift.protocol.TList _list374 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.colNames = new ArrayList(_list374.size); - for (int _i375 = 0; _i375 < _list374.size; ++_i375) + String _elem375; + for (int _i376 = 0; _i376 < _list374.size; ++_i376) { - String _elem376; // optional - _elem376 = iprot.readString(); - struct.colNames.add(_elem376); + _elem375 = iprot.readString(); + struct.colNames.add(_elem375); } } struct.setColNamesIsSet(true); { org.apache.thrift.protocol.TList _list377 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.partNames = new ArrayList(_list377.size); - for (int _i378 = 0; _i378 < _list377.size; ++_i378) + String _elem378; + for (int _i379 = 0; _i379 < _list377.size; ++_i379) { - String _elem379; // optional - _elem379 = iprot.readString(); - struct.partNames.add(_elem379); + _elem378 = iprot.readString(); + struct.partNames.add(_elem378); } } struct.setPartNamesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java index c9ae14e..26d94cc 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class PartitionsStatsResult implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class PartitionsStatsResult implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionsStatsResult"); private static final org.apache.thrift.protocol.TField PART_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("partStats", org.apache.thrift.protocol.TType.MAP, (short)1); @@ -130,7 +134,7 @@ public PartitionsStatsResult( */ public PartitionsStatsResult(PartitionsStatsResult other) { if (other.isSetPartStats()) { - Map> __this__partStats = new HashMap>(); + Map> __this__partStats = new HashMap>(other.partStats.size()); for (Map.Entry> other_element : other.partStats.entrySet()) { String other_element_key = other_element.getKey(); @@ -138,7 +142,7 @@ public PartitionsStatsResult(PartitionsStatsResult other) { String __this__partStats_copy_key = other_element_key; - List __this__partStats_copy_value = new ArrayList(); + List __this__partStats_copy_value = new ArrayList(other_element_value.size()); for (ColumnStatisticsObj other_element_value_element : other_element_value) { __this__partStats_copy_value.add(new ColumnStatisticsObj(other_element_value_element)); } @@ -254,30 +258,30 @@ public boolean equals(PartitionsStatsResult that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_partStats = true && (isSetPartStats()); - builder.append(present_partStats); + list.add(present_partStats); if (present_partStats) - builder.append(partStats); + list.add(partStats); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(PartitionsStatsResult other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - PartitionsStatsResult typedOther = (PartitionsStatsResult)other; - lastComparison = Boolean.valueOf(isSetPartStats()).compareTo(typedOther.isSetPartStats()); + lastComparison = Boolean.valueOf(isSetPartStats()).compareTo(other.isSetPartStats()); if (lastComparison != 0) { return lastComparison; } if (isSetPartStats()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partStats, typedOther.partStats); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partStats, other.partStats); if (lastComparison != 0) { return lastComparison; } @@ -361,24 +365,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsResu { org.apache.thrift.protocol.TMap _map338 = iprot.readMapBegin(); struct.partStats = new HashMap>(2*_map338.size); - for (int _i339 = 0; _i339 < _map338.size; ++_i339) + String _key339; + List _val340; + for (int _i341 = 0; _i341 < _map338.size; ++_i341) { - String _key340; // required - List _val341; // required - _key340 = iprot.readString(); + _key339 = iprot.readString(); { org.apache.thrift.protocol.TList _list342 = iprot.readListBegin(); - _val341 = new ArrayList(_list342.size); - for (int _i343 = 0; _i343 < _list342.size; ++_i343) + _val340 = new ArrayList(_list342.size); + ColumnStatisticsObj _elem343; + for (int _i344 = 0; _i344 < _list342.size; ++_i344) { - ColumnStatisticsObj _elem344; // optional - _elem344 = new ColumnStatisticsObj(); - _elem344.read(iprot); - _val341.add(_elem344); + _elem343 = new ColumnStatisticsObj(); + _elem343.read(iprot); + _val340.add(_elem343); } iprot.readListEnd(); } - struct.partStats.put(_key340, _val341); + struct.partStats.put(_key339, _val340); } iprot.readMapEnd(); } @@ -459,23 +463,23 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResul { org.apache.thrift.protocol.TMap _map349 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); struct.partStats = new HashMap>(2*_map349.size); - for (int _i350 = 0; _i350 < _map349.size; ++_i350) + String _key350; + List _val351; + for (int _i352 = 0; _i352 < _map349.size; ++_i352) { - String _key351; // required - List _val352; // required - _key351 = iprot.readString(); + _key350 = iprot.readString(); { org.apache.thrift.protocol.TList _list353 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val352 = new ArrayList(_list353.size); - for (int _i354 = 0; _i354 < _list353.size; ++_i354) + _val351 = new ArrayList(_list353.size); + ColumnStatisticsObj _elem354; + for (int _i355 = 0; _i355 < _list353.size; ++_i355) { - ColumnStatisticsObj _elem355; // optional - _elem355 = new ColumnStatisticsObj(); - _elem355.read(iprot); - _val352.add(_elem355); + _elem354 = new ColumnStatisticsObj(); + _elem354.read(iprot); + _val351.add(_elem354); } } - struct.partStats.put(_key351, _val352); + struct.partStats.put(_key350, _val351); } } struct.setPartStatsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java index 0c9518a..ca99410 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class PrincipalPrivilegeSet implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class PrincipalPrivilegeSet implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PrincipalPrivilegeSet"); private static final org.apache.thrift.protocol.TField USER_PRIVILEGES_FIELD_DESC = new org.apache.thrift.protocol.TField("userPrivileges", org.apache.thrift.protocol.TType.MAP, (short)1); @@ -154,7 +158,7 @@ public PrincipalPrivilegeSet( */ public PrincipalPrivilegeSet(PrincipalPrivilegeSet other) { if (other.isSetUserPrivileges()) { - Map> __this__userPrivileges = new HashMap>(); + Map> __this__userPrivileges = new HashMap>(other.userPrivileges.size()); for (Map.Entry> other_element : other.userPrivileges.entrySet()) { String other_element_key = other_element.getKey(); @@ -162,7 +166,7 @@ public PrincipalPrivilegeSet(PrincipalPrivilegeSet other) { String __this__userPrivileges_copy_key = other_element_key; - List __this__userPrivileges_copy_value = new ArrayList(); + List __this__userPrivileges_copy_value = new ArrayList(other_element_value.size()); for (PrivilegeGrantInfo other_element_value_element : other_element_value) { __this__userPrivileges_copy_value.add(new PrivilegeGrantInfo(other_element_value_element)); } @@ -172,7 +176,7 @@ public PrincipalPrivilegeSet(PrincipalPrivilegeSet other) { this.userPrivileges = __this__userPrivileges; } if (other.isSetGroupPrivileges()) { - Map> __this__groupPrivileges = new HashMap>(); + Map> __this__groupPrivileges = new HashMap>(other.groupPrivileges.size()); for (Map.Entry> other_element : other.groupPrivileges.entrySet()) { String other_element_key = other_element.getKey(); @@ -180,7 +184,7 @@ public PrincipalPrivilegeSet(PrincipalPrivilegeSet other) { String __this__groupPrivileges_copy_key = other_element_key; - List __this__groupPrivileges_copy_value = new ArrayList(); + List __this__groupPrivileges_copy_value = new ArrayList(other_element_value.size()); for (PrivilegeGrantInfo other_element_value_element : other_element_value) { __this__groupPrivileges_copy_value.add(new PrivilegeGrantInfo(other_element_value_element)); } @@ -190,7 +194,7 @@ public PrincipalPrivilegeSet(PrincipalPrivilegeSet other) { this.groupPrivileges = __this__groupPrivileges; } if (other.isSetRolePrivileges()) { - Map> __this__rolePrivileges = new HashMap>(); + Map> __this__rolePrivileges = new HashMap>(other.rolePrivileges.size()); for (Map.Entry> other_element : other.rolePrivileges.entrySet()) { String other_element_key = other_element.getKey(); @@ -198,7 +202,7 @@ public PrincipalPrivilegeSet(PrincipalPrivilegeSet other) { String __this__rolePrivileges_copy_key = other_element_key; - List __this__rolePrivileges_copy_value = new ArrayList(); + List __this__rolePrivileges_copy_value = new ArrayList(other_element_value.size()); for (PrivilegeGrantInfo other_element_value_element : other_element_value) { __this__rolePrivileges_copy_value.add(new PrivilegeGrantInfo(other_element_value_element)); } @@ -428,60 +432,60 @@ public boolean equals(PrincipalPrivilegeSet that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_userPrivileges = true && (isSetUserPrivileges()); - builder.append(present_userPrivileges); + list.add(present_userPrivileges); if (present_userPrivileges) - builder.append(userPrivileges); + list.add(userPrivileges); boolean present_groupPrivileges = true && (isSetGroupPrivileges()); - builder.append(present_groupPrivileges); + list.add(present_groupPrivileges); if (present_groupPrivileges) - builder.append(groupPrivileges); + list.add(groupPrivileges); boolean present_rolePrivileges = true && (isSetRolePrivileges()); - builder.append(present_rolePrivileges); + list.add(present_rolePrivileges); if (present_rolePrivileges) - builder.append(rolePrivileges); + list.add(rolePrivileges); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(PrincipalPrivilegeSet other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - PrincipalPrivilegeSet typedOther = (PrincipalPrivilegeSet)other; - lastComparison = Boolean.valueOf(isSetUserPrivileges()).compareTo(typedOther.isSetUserPrivileges()); + lastComparison = Boolean.valueOf(isSetUserPrivileges()).compareTo(other.isSetUserPrivileges()); if (lastComparison != 0) { return lastComparison; } if (isSetUserPrivileges()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userPrivileges, typedOther.userPrivileges); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userPrivileges, other.userPrivileges); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGroupPrivileges()).compareTo(typedOther.isSetGroupPrivileges()); + lastComparison = Boolean.valueOf(isSetGroupPrivileges()).compareTo(other.isSetGroupPrivileges()); if (lastComparison != 0) { return lastComparison; } if (isSetGroupPrivileges()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.groupPrivileges, typedOther.groupPrivileges); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.groupPrivileges, other.groupPrivileges); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRolePrivileges()).compareTo(typedOther.isSetRolePrivileges()); + lastComparison = Boolean.valueOf(isSetRolePrivileges()).compareTo(other.isSetRolePrivileges()); if (lastComparison != 0) { return lastComparison; } if (isSetRolePrivileges()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rolePrivileges, typedOther.rolePrivileges); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rolePrivileges, other.rolePrivileges); if (lastComparison != 0) { return lastComparison; } @@ -577,24 +581,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS { org.apache.thrift.protocol.TMap _map24 = iprot.readMapBegin(); struct.userPrivileges = new HashMap>(2*_map24.size); - for (int _i25 = 0; _i25 < _map24.size; ++_i25) + String _key25; + List _val26; + for (int _i27 = 0; _i27 < _map24.size; ++_i27) { - String _key26; // required - List _val27; // required - _key26 = iprot.readString(); + _key25 = iprot.readString(); { org.apache.thrift.protocol.TList _list28 = iprot.readListBegin(); - _val27 = new ArrayList(_list28.size); - for (int _i29 = 0; _i29 < _list28.size; ++_i29) + _val26 = new ArrayList(_list28.size); + PrivilegeGrantInfo _elem29; + for (int _i30 = 0; _i30 < _list28.size; ++_i30) { - PrivilegeGrantInfo _elem30; // optional - _elem30 = new PrivilegeGrantInfo(); - _elem30.read(iprot); - _val27.add(_elem30); + _elem29 = new PrivilegeGrantInfo(); + _elem29.read(iprot); + _val26.add(_elem29); } iprot.readListEnd(); } - struct.userPrivileges.put(_key26, _val27); + struct.userPrivileges.put(_key25, _val26); } iprot.readMapEnd(); } @@ -608,24 +612,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS { org.apache.thrift.protocol.TMap _map31 = iprot.readMapBegin(); struct.groupPrivileges = new HashMap>(2*_map31.size); - for (int _i32 = 0; _i32 < _map31.size; ++_i32) + String _key32; + List _val33; + for (int _i34 = 0; _i34 < _map31.size; ++_i34) { - String _key33; // required - List _val34; // required - _key33 = iprot.readString(); + _key32 = iprot.readString(); { org.apache.thrift.protocol.TList _list35 = iprot.readListBegin(); - _val34 = new ArrayList(_list35.size); - for (int _i36 = 0; _i36 < _list35.size; ++_i36) + _val33 = new ArrayList(_list35.size); + PrivilegeGrantInfo _elem36; + for (int _i37 = 0; _i37 < _list35.size; ++_i37) { - PrivilegeGrantInfo _elem37; // optional - _elem37 = new PrivilegeGrantInfo(); - _elem37.read(iprot); - _val34.add(_elem37); + _elem36 = new PrivilegeGrantInfo(); + _elem36.read(iprot); + _val33.add(_elem36); } iprot.readListEnd(); } - struct.groupPrivileges.put(_key33, _val34); + struct.groupPrivileges.put(_key32, _val33); } iprot.readMapEnd(); } @@ -639,24 +643,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS { org.apache.thrift.protocol.TMap _map38 = iprot.readMapBegin(); struct.rolePrivileges = new HashMap>(2*_map38.size); - for (int _i39 = 0; _i39 < _map38.size; ++_i39) + String _key39; + List _val40; + for (int _i41 = 0; _i41 < _map38.size; ++_i41) { - String _key40; // required - List _val41; // required - _key40 = iprot.readString(); + _key39 = iprot.readString(); { org.apache.thrift.protocol.TList _list42 = iprot.readListBegin(); - _val41 = new ArrayList(_list42.size); - for (int _i43 = 0; _i43 < _list42.size; ++_i43) + _val40 = new ArrayList(_list42.size); + PrivilegeGrantInfo _elem43; + for (int _i44 = 0; _i44 < _list42.size; ++_i44) { - PrivilegeGrantInfo _elem44; // optional - _elem44 = new PrivilegeGrantInfo(); - _elem44.read(iprot); - _val41.add(_elem44); + _elem43 = new PrivilegeGrantInfo(); + _elem43.read(iprot); + _val40.add(_elem43); } iprot.readListEnd(); } - struct.rolePrivileges.put(_key40, _val41); + struct.rolePrivileges.put(_key39, _val40); } iprot.readMapEnd(); } @@ -824,23 +828,23 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeSe { org.apache.thrift.protocol.TMap _map57 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); struct.userPrivileges = new HashMap>(2*_map57.size); - for (int _i58 = 0; _i58 < _map57.size; ++_i58) + String _key58; + List _val59; + for (int _i60 = 0; _i60 < _map57.size; ++_i60) { - String _key59; // required - List _val60; // required - _key59 = iprot.readString(); + _key58 = iprot.readString(); { org.apache.thrift.protocol.TList _list61 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val60 = new ArrayList(_list61.size); - for (int _i62 = 0; _i62 < _list61.size; ++_i62) + _val59 = new ArrayList(_list61.size); + PrivilegeGrantInfo _elem62; + for (int _i63 = 0; _i63 < _list61.size; ++_i63) { - PrivilegeGrantInfo _elem63; // optional - _elem63 = new PrivilegeGrantInfo(); - _elem63.read(iprot); - _val60.add(_elem63); + _elem62 = new PrivilegeGrantInfo(); + _elem62.read(iprot); + _val59.add(_elem62); } } - struct.userPrivileges.put(_key59, _val60); + struct.userPrivileges.put(_key58, _val59); } } struct.setUserPrivilegesIsSet(true); @@ -849,23 +853,23 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeSe { org.apache.thrift.protocol.TMap _map64 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); struct.groupPrivileges = new HashMap>(2*_map64.size); - for (int _i65 = 0; _i65 < _map64.size; ++_i65) + String _key65; + List _val66; + for (int _i67 = 0; _i67 < _map64.size; ++_i67) { - String _key66; // required - List _val67; // required - _key66 = iprot.readString(); + _key65 = iprot.readString(); { org.apache.thrift.protocol.TList _list68 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val67 = new ArrayList(_list68.size); - for (int _i69 = 0; _i69 < _list68.size; ++_i69) + _val66 = new ArrayList(_list68.size); + PrivilegeGrantInfo _elem69; + for (int _i70 = 0; _i70 < _list68.size; ++_i70) { - PrivilegeGrantInfo _elem70; // optional - _elem70 = new PrivilegeGrantInfo(); - _elem70.read(iprot); - _val67.add(_elem70); + _elem69 = new PrivilegeGrantInfo(); + _elem69.read(iprot); + _val66.add(_elem69); } } - struct.groupPrivileges.put(_key66, _val67); + struct.groupPrivileges.put(_key65, _val66); } } struct.setGroupPrivilegesIsSet(true); @@ -874,23 +878,23 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeSe { org.apache.thrift.protocol.TMap _map71 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); struct.rolePrivileges = new HashMap>(2*_map71.size); - for (int _i72 = 0; _i72 < _map71.size; ++_i72) + String _key72; + List _val73; + for (int _i74 = 0; _i74 < _map71.size; ++_i74) { - String _key73; // required - List _val74; // required - _key73 = iprot.readString(); + _key72 = iprot.readString(); { org.apache.thrift.protocol.TList _list75 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val74 = new ArrayList(_list75.size); - for (int _i76 = 0; _i76 < _list75.size; ++_i76) + _val73 = new ArrayList(_list75.size); + PrivilegeGrantInfo _elem76; + for (int _i77 = 0; _i77 < _list75.size; ++_i77) { - PrivilegeGrantInfo _elem77; // optional - _elem77 = new PrivilegeGrantInfo(); - _elem77.read(iprot); - _val74.add(_elem77); + _elem76 = new PrivilegeGrantInfo(); + _elem76.read(iprot); + _val73.add(_elem76); } } - struct.rolePrivileges.put(_key73, _val74); + struct.rolePrivileges.put(_key72, _val73); } } struct.setRolePrivilegesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java index d405d4a..65e937e 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java index 4285ed8..b69e325 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class PrivilegeBag implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class PrivilegeBag implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PrivilegeBag"); private static final org.apache.thrift.protocol.TField PRIVILEGES_FIELD_DESC = new org.apache.thrift.protocol.TField("privileges", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public PrivilegeBag( */ public PrivilegeBag(PrivilegeBag other) { if (other.isSetPrivileges()) { - List __this__privileges = new ArrayList(); + List __this__privileges = new ArrayList(other.privileges.size()); for (HiveObjectPrivilege other_element : other.privileges) { __this__privileges.add(new HiveObjectPrivilege(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(PrivilegeBag that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_privileges = true && (isSetPrivileges()); - builder.append(present_privileges); + list.add(present_privileges); if (present_privileges) - builder.append(privileges); + list.add(privileges); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(PrivilegeBag other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - PrivilegeBag typedOther = (PrivilegeBag)other; - lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(typedOther.isSetPrivileges()); + lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(other.isSetPrivileges()); if (lastComparison != 0) { return lastComparison; } if (isSetPrivileges()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, typedOther.privileges); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, other.privileges); if (lastComparison != 0) { return lastComparison; } @@ -348,12 +352,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrivilegeBag struct { org.apache.thrift.protocol.TList _list16 = iprot.readListBegin(); struct.privileges = new ArrayList(_list16.size); - for (int _i17 = 0; _i17 < _list16.size; ++_i17) + HiveObjectPrivilege _elem17; + for (int _i18 = 0; _i18 < _list16.size; ++_i18) { - HiveObjectPrivilege _elem18; // optional - _elem18 = new HiveObjectPrivilege(); - _elem18.read(iprot); - struct.privileges.add(_elem18); + _elem17 = new HiveObjectPrivilege(); + _elem17.read(iprot); + struct.privileges.add(_elem17); } iprot.readListEnd(); } @@ -428,12 +432,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrivilegeBag struct) { org.apache.thrift.protocol.TList _list21 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.privileges = new ArrayList(_list21.size); - for (int _i22 = 0; _i22 < _list21.size; ++_i22) + HiveObjectPrivilege _elem22; + for (int _i23 = 0; _i23 < _list21.size; ++_i23) { - HiveObjectPrivilege _elem23; // optional - _elem23 = new HiveObjectPrivilege(); - _elem23.read(iprot); - struct.privileges.add(_elem23); + _elem22 = new HiveObjectPrivilege(); + _elem22.read(iprot); + struct.privileges.add(_elem22); } } struct.setPrivilegesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java index 5869457..addc60c 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class PrivilegeGrantInfo implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class PrivilegeGrantInfo implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PrivilegeGrantInfo"); private static final org.apache.thrift.protocol.TField PRIVILEGE_FIELD_DESC = new org.apache.thrift.protocol.TField("privilege", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -471,90 +475,90 @@ public boolean equals(PrivilegeGrantInfo that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_privilege = true && (isSetPrivilege()); - builder.append(present_privilege); + list.add(present_privilege); if (present_privilege) - builder.append(privilege); + list.add(privilege); boolean present_createTime = true; - builder.append(present_createTime); + list.add(present_createTime); if (present_createTime) - builder.append(createTime); + list.add(createTime); boolean present_grantor = true && (isSetGrantor()); - builder.append(present_grantor); + list.add(present_grantor); if (present_grantor) - builder.append(grantor); + list.add(grantor); boolean present_grantorType = true && (isSetGrantorType()); - builder.append(present_grantorType); + list.add(present_grantorType); if (present_grantorType) - builder.append(grantorType.getValue()); + list.add(grantorType.getValue()); boolean present_grantOption = true; - builder.append(present_grantOption); + list.add(present_grantOption); if (present_grantOption) - builder.append(grantOption); + list.add(grantOption); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(PrivilegeGrantInfo other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - PrivilegeGrantInfo typedOther = (PrivilegeGrantInfo)other; - lastComparison = Boolean.valueOf(isSetPrivilege()).compareTo(typedOther.isSetPrivilege()); + lastComparison = Boolean.valueOf(isSetPrivilege()).compareTo(other.isSetPrivilege()); if (lastComparison != 0) { return lastComparison; } if (isSetPrivilege()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privilege, typedOther.privilege); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privilege, other.privilege); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(typedOther.isSetCreateTime()); + lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(other.isSetCreateTime()); if (lastComparison != 0) { return lastComparison; } if (isSetCreateTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, typedOther.createTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, other.createTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantor()).compareTo(typedOther.isSetGrantor()); + lastComparison = Boolean.valueOf(isSetGrantor()).compareTo(other.isSetGrantor()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantor()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantor, typedOther.grantor); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantor, other.grantor); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantorType()).compareTo(typedOther.isSetGrantorType()); + lastComparison = Boolean.valueOf(isSetGrantorType()).compareTo(other.isSetGrantorType()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantorType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantorType, typedOther.grantorType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantorType, other.grantorType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(typedOther.isSetGrantOption()); + lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(other.isSetGrantOption()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantOption()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, typedOther.grantOption); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, other.grantOption); if (lastComparison != 0) { return lastComparison; } @@ -681,7 +685,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrivilegeGrantInfo break; case 4: // GRANTOR_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.grantorType = PrincipalType.findByValue(iprot.readI32()); + struct.grantorType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setGrantorTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -797,7 +801,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrivilegeGrantInfo s struct.setGrantorIsSet(true); } if (incoming.get(3)) { - struct.grantorType = PrincipalType.findByValue(iprot.readI32()); + struct.grantorType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setGrantorTypeIsSet(true); } if (incoming.get(4)) { diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java index c2bb231..9207934 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class RequestPartsSpec extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RequestPartsSpec"); private static final org.apache.thrift.protocol.TField NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("names", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -167,11 +170,11 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip { org.apache.thrift.protocol.TList _list404 = iprot.readListBegin(); names = new ArrayList(_list404.size); - for (int _i405 = 0; _i405 < _list404.size; ++_i405) + String _elem405; + for (int _i406 = 0; _i406 < _list404.size; ++_i406) { - String _elem406; // optional - _elem406 = iprot.readString(); - names.add(_elem406); + _elem405 = iprot.readString(); + names.add(_elem405); } iprot.readListEnd(); } @@ -186,12 +189,12 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip { org.apache.thrift.protocol.TList _list407 = iprot.readListBegin(); exprs = new ArrayList(_list407.size); - for (int _i408 = 0; _i408 < _list407.size; ++_i408) + DropPartitionsExpr _elem408; + for (int _i409 = 0; _i409 < _list407.size; ++_i409) { - DropPartitionsExpr _elem409; // optional - _elem409 = new DropPartitionsExpr(); - _elem409.read(iprot); - exprs.add(_elem409); + _elem408 = new DropPartitionsExpr(); + _elem408.read(iprot); + exprs.add(_elem408); } iprot.readListEnd(); } @@ -204,6 +207,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } } @@ -248,11 +252,11 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot { org.apache.thrift.protocol.TList _list412 = iprot.readListBegin(); names = new ArrayList(_list412.size); - for (int _i413 = 0; _i413 < _list412.size; ++_i413) + String _elem413; + for (int _i414 = 0; _i414 < _list412.size; ++_i414) { - String _elem414; // optional - _elem414 = iprot.readString(); - names.add(_elem414); + _elem413 = iprot.readString(); + names.add(_elem413); } iprot.readListEnd(); } @@ -262,12 +266,12 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot { org.apache.thrift.protocol.TList _list415 = iprot.readListBegin(); exprs = new ArrayList(_list415.size); - for (int _i416 = 0; _i416 < _list415.size; ++_i416) + DropPartitionsExpr _elem416; + for (int _i417 = 0; _i417 < _list415.size; ++_i417) { - DropPartitionsExpr _elem417; // optional - _elem417 = new DropPartitionsExpr(); - _elem417.read(iprot); - exprs.add(_elem417); + _elem416 = new DropPartitionsExpr(); + _elem416.read(iprot); + exprs.add(_elem416); } iprot.readListEnd(); } @@ -399,19 +403,19 @@ public int compareTo(RequestPartsSpec other) { @Override public int hashCode() { - HashCodeBuilder hcb = new HashCodeBuilder(); - hcb.append(this.getClass().getName()); + List list = new ArrayList(); + list.add(this.getClass().getName()); org.apache.thrift.TFieldIdEnum setField = getSetField(); if (setField != null) { - hcb.append(setField.getThriftFieldId()); + list.add(setField.getThriftFieldId()); Object value = getFieldValue(); if (value instanceof org.apache.thrift.TEnum) { - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue()); + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue()); } else { - hcb.append(value); + list.add(value); } } - return hcb.toHashCode(); + return list.hashCode(); } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java index b8cb4f1..861a6db 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java index c230eab..46bd108 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ResourceUri implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ResourceUri implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ResourceUri"); private static final org.apache.thrift.protocol.TField RESOURCE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("resourceType", org.apache.thrift.protocol.TType.I32, (short)1); @@ -295,45 +299,45 @@ public boolean equals(ResourceUri that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_resourceType = true && (isSetResourceType()); - builder.append(present_resourceType); + list.add(present_resourceType); if (present_resourceType) - builder.append(resourceType.getValue()); + list.add(resourceType.getValue()); boolean present_uri = true && (isSetUri()); - builder.append(present_uri); + list.add(present_uri); if (present_uri) - builder.append(uri); + list.add(uri); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ResourceUri other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ResourceUri typedOther = (ResourceUri)other; - lastComparison = Boolean.valueOf(isSetResourceType()).compareTo(typedOther.isSetResourceType()); + lastComparison = Boolean.valueOf(isSetResourceType()).compareTo(other.isSetResourceType()); if (lastComparison != 0) { return lastComparison; } if (isSetResourceType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceType, typedOther.resourceType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceType, other.resourceType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUri()).compareTo(typedOther.isSetUri()); + lastComparison = Boolean.valueOf(isSetUri()).compareTo(other.isSetUri()); if (lastComparison != 0) { return lastComparison; } if (isSetUri()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.uri, typedOther.uri); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.uri, other.uri); if (lastComparison != 0) { return lastComparison; } @@ -418,7 +422,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ResourceUri struct) switch (schemeField.id) { case 1: // RESOURCE_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.resourceType = ResourceType.findByValue(iprot.readI32()); + struct.resourceType = org.apache.hadoop.hive.metastore.api.ResourceType.findByValue(iprot.readI32()); struct.setResourceTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -493,7 +497,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ResourceUri struct) TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.resourceType = ResourceType.findByValue(iprot.readI32()); + struct.resourceType = org.apache.hadoop.hive.metastore.api.ResourceType.findByValue(iprot.readI32()); struct.setResourceTypeIsSet(true); } if (incoming.get(1)) { diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java index 35fcf58..9d45679 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Role implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Role implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Role"); private static final org.apache.thrift.protocol.TField ROLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("roleName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -343,60 +347,60 @@ public boolean equals(Role that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_roleName = true && (isSetRoleName()); - builder.append(present_roleName); + list.add(present_roleName); if (present_roleName) - builder.append(roleName); + list.add(roleName); boolean present_createTime = true; - builder.append(present_createTime); + list.add(present_createTime); if (present_createTime) - builder.append(createTime); + list.add(createTime); boolean present_ownerName = true && (isSetOwnerName()); - builder.append(present_ownerName); + list.add(present_ownerName); if (present_ownerName) - builder.append(ownerName); + list.add(ownerName); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Role other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Role typedOther = (Role)other; - lastComparison = Boolean.valueOf(isSetRoleName()).compareTo(typedOther.isSetRoleName()); + lastComparison = Boolean.valueOf(isSetRoleName()).compareTo(other.isSetRoleName()); if (lastComparison != 0) { return lastComparison; } if (isSetRoleName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.roleName, typedOther.roleName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.roleName, other.roleName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(typedOther.isSetCreateTime()); + lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(other.isSetCreateTime()); if (lastComparison != 0) { return lastComparison; } if (isSetCreateTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, typedOther.createTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, other.createTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOwnerName()).compareTo(typedOther.isSetOwnerName()); + lastComparison = Boolean.valueOf(isSetOwnerName()).compareTo(other.isSetOwnerName()); if (lastComparison != 0) { return lastComparison; } if (isSetOwnerName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerName, typedOther.ownerName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ownerName, other.ownerName); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java index 8993268..3ff655e 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class RolePrincipalGrant implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class RolePrincipalGrant implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RolePrincipalGrant"); private static final org.apache.thrift.protocol.TField ROLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("roleName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -599,120 +603,120 @@ public boolean equals(RolePrincipalGrant that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_roleName = true && (isSetRoleName()); - builder.append(present_roleName); + list.add(present_roleName); if (present_roleName) - builder.append(roleName); + list.add(roleName); boolean present_principalName = true && (isSetPrincipalName()); - builder.append(present_principalName); + list.add(present_principalName); if (present_principalName) - builder.append(principalName); + list.add(principalName); boolean present_principalType = true && (isSetPrincipalType()); - builder.append(present_principalType); + list.add(present_principalType); if (present_principalType) - builder.append(principalType.getValue()); + list.add(principalType.getValue()); boolean present_grantOption = true; - builder.append(present_grantOption); + list.add(present_grantOption); if (present_grantOption) - builder.append(grantOption); + list.add(grantOption); boolean present_grantTime = true; - builder.append(present_grantTime); + list.add(present_grantTime); if (present_grantTime) - builder.append(grantTime); + list.add(grantTime); boolean present_grantorName = true && (isSetGrantorName()); - builder.append(present_grantorName); + list.add(present_grantorName); if (present_grantorName) - builder.append(grantorName); + list.add(grantorName); boolean present_grantorPrincipalType = true && (isSetGrantorPrincipalType()); - builder.append(present_grantorPrincipalType); + list.add(present_grantorPrincipalType); if (present_grantorPrincipalType) - builder.append(grantorPrincipalType.getValue()); + list.add(grantorPrincipalType.getValue()); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(RolePrincipalGrant other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - RolePrincipalGrant typedOther = (RolePrincipalGrant)other; - lastComparison = Boolean.valueOf(isSetRoleName()).compareTo(typedOther.isSetRoleName()); + lastComparison = Boolean.valueOf(isSetRoleName()).compareTo(other.isSetRoleName()); if (lastComparison != 0) { return lastComparison; } if (isSetRoleName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.roleName, typedOther.roleName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.roleName, other.roleName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipalName()).compareTo(typedOther.isSetPrincipalName()); + lastComparison = Boolean.valueOf(isSetPrincipalName()).compareTo(other.isSetPrincipalName()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipalName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalName, typedOther.principalName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalName, other.principalName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipalType()).compareTo(typedOther.isSetPrincipalType()); + lastComparison = Boolean.valueOf(isSetPrincipalType()).compareTo(other.isSetPrincipalType()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipalType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalType, typedOther.principalType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principalType, other.principalType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(typedOther.isSetGrantOption()); + lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(other.isSetGrantOption()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantOption()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, typedOther.grantOption); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, other.grantOption); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantTime()).compareTo(typedOther.isSetGrantTime()); + lastComparison = Boolean.valueOf(isSetGrantTime()).compareTo(other.isSetGrantTime()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantTime, typedOther.grantTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantTime, other.grantTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantorName()).compareTo(typedOther.isSetGrantorName()); + lastComparison = Boolean.valueOf(isSetGrantorName()).compareTo(other.isSetGrantorName()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantorName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantorName, typedOther.grantorName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantorName, other.grantorName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantorPrincipalType()).compareTo(typedOther.isSetGrantorPrincipalType()); + lastComparison = Boolean.valueOf(isSetGrantorPrincipalType()).compareTo(other.isSetGrantorPrincipalType()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantorPrincipalType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantorPrincipalType, typedOther.grantorPrincipalType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantorPrincipalType, other.grantorPrincipalType); if (lastComparison != 0) { return lastComparison; } @@ -847,7 +851,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, RolePrincipalGrant break; case 3: // PRINCIPAL_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.principalType = PrincipalType.findByValue(iprot.readI32()); + struct.principalType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipalTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -879,7 +883,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, RolePrincipalGrant break; case 7: // GRANTOR_PRINCIPAL_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.grantorPrincipalType = PrincipalType.findByValue(iprot.readI32()); + struct.grantorPrincipalType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setGrantorPrincipalTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -1005,7 +1009,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, RolePrincipalGrant s struct.setPrincipalNameIsSet(true); } if (incoming.get(2)) { - struct.principalType = PrincipalType.findByValue(iprot.readI32()); + struct.principalType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipalTypeIsSet(true); } if (incoming.get(3)) { @@ -1021,7 +1025,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, RolePrincipalGrant s struct.setGrantorNameIsSet(true); } if (incoming.get(6)) { - struct.grantorPrincipalType = PrincipalType.findByValue(iprot.readI32()); + struct.grantorPrincipalType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setGrantorPrincipalTypeIsSet(true); } } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java index 31ee943..dea4daa 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Schema implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Schema implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Schema"); private static final org.apache.thrift.protocol.TField FIELD_SCHEMAS_FIELD_DESC = new org.apache.thrift.protocol.TField("fieldSchemas", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -139,25 +143,14 @@ public Schema( */ public Schema(Schema other) { if (other.isSetFieldSchemas()) { - List __this__fieldSchemas = new ArrayList(); + List __this__fieldSchemas = new ArrayList(other.fieldSchemas.size()); for (FieldSchema other_element : other.fieldSchemas) { __this__fieldSchemas.add(new FieldSchema(other_element)); } this.fieldSchemas = __this__fieldSchemas; } if (other.isSetProperties()) { - Map __this__properties = new HashMap(); - for (Map.Entry other_element : other.properties.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__properties_copy_key = other_element_key; - - String __this__properties_copy_value = other_element_value; - - __this__properties.put(__this__properties_copy_key, __this__properties_copy_value); - } + Map __this__properties = new HashMap(other.properties); this.properties = __this__properties; } } @@ -328,45 +321,45 @@ public boolean equals(Schema that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_fieldSchemas = true && (isSetFieldSchemas()); - builder.append(present_fieldSchemas); + list.add(present_fieldSchemas); if (present_fieldSchemas) - builder.append(fieldSchemas); + list.add(fieldSchemas); boolean present_properties = true && (isSetProperties()); - builder.append(present_properties); + list.add(present_properties); if (present_properties) - builder.append(properties); + list.add(properties); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Schema other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Schema typedOther = (Schema)other; - lastComparison = Boolean.valueOf(isSetFieldSchemas()).compareTo(typedOther.isSetFieldSchemas()); + lastComparison = Boolean.valueOf(isSetFieldSchemas()).compareTo(other.isSetFieldSchemas()); if (lastComparison != 0) { return lastComparison; } if (isSetFieldSchemas()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fieldSchemas, typedOther.fieldSchemas); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fieldSchemas, other.fieldSchemas); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetProperties()).compareTo(typedOther.isSetProperties()); + lastComparison = Boolean.valueOf(isSetProperties()).compareTo(other.isSetProperties()); if (lastComparison != 0) { return lastComparison; } if (isSetProperties()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.properties, typedOther.properties); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.properties, other.properties); if (lastComparison != 0) { return lastComparison; } @@ -454,12 +447,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Schema struct) thro { org.apache.thrift.protocol.TList _list294 = iprot.readListBegin(); struct.fieldSchemas = new ArrayList(_list294.size); - for (int _i295 = 0; _i295 < _list294.size; ++_i295) + FieldSchema _elem295; + for (int _i296 = 0; _i296 < _list294.size; ++_i296) { - FieldSchema _elem296; // optional - _elem296 = new FieldSchema(); - _elem296.read(iprot); - struct.fieldSchemas.add(_elem296); + _elem295 = new FieldSchema(); + _elem295.read(iprot); + struct.fieldSchemas.add(_elem295); } iprot.readListEnd(); } @@ -473,13 +466,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Schema struct) thro { org.apache.thrift.protocol.TMap _map297 = iprot.readMapBegin(); struct.properties = new HashMap(2*_map297.size); - for (int _i298 = 0; _i298 < _map297.size; ++_i298) + String _key298; + String _val299; + for (int _i300 = 0; _i300 < _map297.size; ++_i300) { - String _key299; // required - String _val300; // required - _key299 = iprot.readString(); - _val300 = iprot.readString(); - struct.properties.put(_key299, _val300); + _key298 = iprot.readString(); + _val299 = iprot.readString(); + struct.properties.put(_key298, _val299); } iprot.readMapEnd(); } @@ -580,12 +573,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Schema struct) throw { org.apache.thrift.protocol.TList _list305 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.fieldSchemas = new ArrayList(_list305.size); - for (int _i306 = 0; _i306 < _list305.size; ++_i306) + FieldSchema _elem306; + for (int _i307 = 0; _i307 < _list305.size; ++_i307) { - FieldSchema _elem307; // optional - _elem307 = new FieldSchema(); - _elem307.read(iprot); - struct.fieldSchemas.add(_elem307); + _elem306 = new FieldSchema(); + _elem306.read(iprot); + struct.fieldSchemas.add(_elem306); } } struct.setFieldSchemasIsSet(true); @@ -594,13 +587,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Schema struct) throw { org.apache.thrift.protocol.TMap _map308 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.properties = new HashMap(2*_map308.size); - for (int _i309 = 0; _i309 < _map308.size; ++_i309) + String _key309; + String _val310; + for (int _i311 = 0; _i311 < _map308.size; ++_i311) { - String _key310; // required - String _val311; // required - _key310 = iprot.readString(); - _val311 = iprot.readString(); - struct.properties.put(_key310, _val311); + _key309 = iprot.readString(); + _val310 = iprot.readString(); + struct.properties.put(_key309, _val310); } } struct.setPropertiesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java index 24d65bb..43b7491 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class SerDeInfo implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class SerDeInfo implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SerDeInfo"); private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -137,9 +141,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,24 +151,13 @@ 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(); - for (Map.Entry other_element : other.parameters.entrySet()) { - - 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_value = other_element_value; - - __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); - } + Map __this__parameters = new HashMap(other.parameters); this.parameters = __this__parameters; } } @@ -185,7 +178,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 +201,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 +235,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() { @@ -366,60 +359,60 @@ public boolean equals(SerDeInfo that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_name = true && (isSetName()); - builder.append(present_name); + list.add(present_name); if (present_name) - builder.append(name); + list.add(name); boolean present_serializationLib = true && (isSetSerializationLib()); - builder.append(present_serializationLib); + list.add(present_serializationLib); if (present_serializationLib) - builder.append(serializationLib); + list.add(serializationLib); boolean present_parameters = true && (isSetParameters()); - builder.append(present_parameters); + list.add(present_parameters); if (present_parameters) - builder.append(parameters); + list.add(parameters); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(SerDeInfo other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - SerDeInfo typedOther = (SerDeInfo)other; - lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSerializationLib()).compareTo(typedOther.isSetSerializationLib()); + lastComparison = Boolean.valueOf(isSetSerializationLib()).compareTo(other.isSetSerializationLib()); if (lastComparison != 0) { return lastComparison; } if (isSetSerializationLib()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serializationLib, typedOther.serializationLib); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serializationLib, other.serializationLib); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetParameters()).compareTo(typedOther.isSetParameters()); + lastComparison = Boolean.valueOf(isSetParameters()).compareTo(other.isSetParameters()); if (lastComparison != 0) { return lastComparison; } if (isSetParameters()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, typedOther.parameters); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, other.parameters); if (lastComparison != 0) { return lastComparison; } @@ -531,13 +524,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SerDeInfo struct) t { org.apache.thrift.protocol.TMap _map104 = iprot.readMapBegin(); struct.parameters = new HashMap(2*_map104.size); - for (int _i105 = 0; _i105 < _map104.size; ++_i105) + String _key105; + String _val106; + for (int _i107 = 0; _i107 < _map104.size; ++_i107) { - String _key106; // required - String _val107; // required - _key106 = iprot.readString(); - _val107 = iprot.readString(); - struct.parameters.put(_key106, _val107); + _key105 = iprot.readString(); + _val106 = iprot.readString(); + struct.parameters.put(_key105, _val106); } iprot.readMapEnd(); } @@ -644,13 +637,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SerDeInfo struct) th { org.apache.thrift.protocol.TMap _map110 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.parameters = new HashMap(2*_map110.size); - for (int _i111 = 0; _i111 < _map110.size; ++_i111) + String _key111; + String _val112; + for (int _i113 = 0; _i113 < _map110.size; ++_i113) { - String _key112; // required - String _val113; // required - _key112 = iprot.readString(); - _val113 = iprot.readString(); - struct.parameters.put(_key112, _val113); + _key111 = iprot.readString(); + _val112 = iprot.readString(); + struct.parameters.put(_key111, _val112); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java index e62e410..68b9af5 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class SetPartitionsStatsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class SetPartitionsStatsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SetPartitionsStatsRequest"); private static final org.apache.thrift.protocol.TField COL_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("colStats", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public SetPartitionsStatsRequest( */ public SetPartitionsStatsRequest(SetPartitionsStatsRequest other) { if (other.isSetColStats()) { - List __this__colStats = new ArrayList(); + List __this__colStats = new ArrayList(other.colStats.size()); for (ColumnStatistics other_element : other.colStats) { __this__colStats.add(new ColumnStatistics(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(SetPartitionsStatsRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_colStats = true && (isSetColStats()); - builder.append(present_colStats); + list.add(present_colStats); if (present_colStats) - builder.append(colStats); + list.add(colStats); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(SetPartitionsStatsRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - SetPartitionsStatsRequest typedOther = (SetPartitionsStatsRequest)other; - lastComparison = Boolean.valueOf(isSetColStats()).compareTo(typedOther.isSetColStats()); + lastComparison = Boolean.valueOf(isSetColStats()).compareTo(other.isSetColStats()); if (lastComparison != 0) { return lastComparison; } if (isSetColStats()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colStats, typedOther.colStats); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colStats, other.colStats); if (lastComparison != 0) { return lastComparison; } @@ -352,12 +356,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SetPartitionsStatsR { org.apache.thrift.protocol.TList _list286 = iprot.readListBegin(); struct.colStats = new ArrayList(_list286.size); - for (int _i287 = 0; _i287 < _list286.size; ++_i287) + ColumnStatistics _elem287; + for (int _i288 = 0; _i288 < _list286.size; ++_i288) { - ColumnStatistics _elem288; // optional - _elem288 = new ColumnStatistics(); - _elem288.read(iprot); - struct.colStats.add(_elem288); + _elem287 = new ColumnStatistics(); + _elem287.read(iprot); + struct.colStats.add(_elem287); } iprot.readListEnd(); } @@ -423,12 +427,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsRe { org.apache.thrift.protocol.TList _list291 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.colStats = new ArrayList(_list291.size); - for (int _i292 = 0; _i292 < _list291.size; ++_i292) + ColumnStatistics _elem292; + for (int _i293 = 0; _i293 < _list291.size; ++_i293) { - ColumnStatistics _elem293; // optional - _elem293 = new ColumnStatistics(); - _elem293.read(iprot); - struct.colStats.add(_elem293); + _elem292 = new ColumnStatistics(); + _elem292.read(iprot); + struct.colStats.add(_elem292); } } struct.setColStatsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java index 28ad1c9..90af9b8 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ShowCompactRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ShowCompactRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowCompactRequest"); @@ -161,18 +165,18 @@ public boolean equals(ShowCompactRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ShowCompactRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ShowCompactRequest typedOther = (ShowCompactRequest)other; return 0; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index c882b7b..16c4fe4 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ShowCompactResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ShowCompactResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowCompactResponse"); private static final org.apache.thrift.protocol.TField COMPACTS_FIELD_DESC = new org.apache.thrift.protocol.TField("compacts", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public ShowCompactResponse( */ public ShowCompactResponse(ShowCompactResponse other) { if (other.isSetCompacts()) { - List __this__compacts = new ArrayList(); + List __this__compacts = new ArrayList(other.compacts.size()); for (ShowCompactResponseElement other_element : other.compacts) { __this__compacts.add(new ShowCompactResponseElement(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(ShowCompactResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_compacts = true && (isSetCompacts()); - builder.append(present_compacts); + list.add(present_compacts); if (present_compacts) - builder.append(compacts); + list.add(compacts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ShowCompactResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ShowCompactResponse typedOther = (ShowCompactResponse)other; - lastComparison = Boolean.valueOf(isSetCompacts()).compareTo(typedOther.isSetCompacts()); + lastComparison = Boolean.valueOf(isSetCompacts()).compareTo(other.isSetCompacts()); if (lastComparison != 0) { return lastComparison; } if (isSetCompacts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compacts, typedOther.compacts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compacts, other.compacts); if (lastComparison != 0) { return lastComparison; } @@ -352,12 +356,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse { org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); struct.compacts = new ArrayList(_list484.size); - for (int _i485 = 0; _i485 < _list484.size; ++_i485) + ShowCompactResponseElement _elem485; + for (int _i486 = 0; _i486 < _list484.size; ++_i486) { - ShowCompactResponseElement _elem486; // optional - _elem486 = new ShowCompactResponseElement(); - _elem486.read(iprot); - struct.compacts.add(_elem486); + _elem485 = new ShowCompactResponseElement(); + _elem485.read(iprot); + struct.compacts.add(_elem485); } iprot.readListEnd(); } @@ -423,12 +427,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse { org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.compacts = new ArrayList(_list489.size); - for (int _i490 = 0; _i490 < _list489.size; ++_i490) + ShowCompactResponseElement _elem490; + for (int _i491 = 0; _i491 < _list489.size; ++_i491) { - ShowCompactResponseElement _elem491; // optional - _elem491 = new ShowCompactResponseElement(); - _elem491.read(iprot); - struct.compacts.add(_elem491); + _elem490 = new ShowCompactResponseElement(); + _elem490.read(iprot); + struct.compacts.add(_elem490); } } struct.setCompactsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java index 365a401..68cf6d1 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ShowCompactResponseElement implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ShowCompactResponseElement implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowCompactResponseElement"); private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -144,7 +148,7 @@ public String getFieldName() { // isset id assignments private static final int __START_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.PARTITIONNAME,_Fields.WORKERID,_Fields.START,_Fields.RUN_AS}; + private static final _Fields optionals[] = {_Fields.PARTITIONNAME,_Fields.WORKERID,_Fields.START,_Fields.RUN_AS}; 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); @@ -637,135 +641,135 @@ public boolean equals(ShowCompactResponseElement that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_tablename = true && (isSetTablename()); - builder.append(present_tablename); + list.add(present_tablename); if (present_tablename) - builder.append(tablename); + list.add(tablename); boolean present_partitionname = true && (isSetPartitionname()); - builder.append(present_partitionname); + list.add(present_partitionname); if (present_partitionname) - builder.append(partitionname); + list.add(partitionname); boolean present_type = true && (isSetType()); - builder.append(present_type); + list.add(present_type); if (present_type) - builder.append(type.getValue()); + list.add(type.getValue()); boolean present_state = true && (isSetState()); - builder.append(present_state); + list.add(present_state); if (present_state) - builder.append(state); + list.add(state); boolean present_workerid = true && (isSetWorkerid()); - builder.append(present_workerid); + list.add(present_workerid); if (present_workerid) - builder.append(workerid); + list.add(workerid); boolean present_start = true && (isSetStart()); - builder.append(present_start); + list.add(present_start); if (present_start) - builder.append(start); + list.add(start); boolean present_runAs = true && (isSetRunAs()); - builder.append(present_runAs); + list.add(present_runAs); if (present_runAs) - builder.append(runAs); + list.add(runAs); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ShowCompactResponseElement other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ShowCompactResponseElement typedOther = (ShowCompactResponseElement)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTablename()).compareTo(typedOther.isSetTablename()); + lastComparison = Boolean.valueOf(isSetTablename()).compareTo(other.isSetTablename()); if (lastComparison != 0) { return lastComparison; } if (isSetTablename()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, typedOther.tablename); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, other.tablename); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartitionname()).compareTo(typedOther.isSetPartitionname()); + lastComparison = Boolean.valueOf(isSetPartitionname()).compareTo(other.isSetPartitionname()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitionname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionname, typedOther.partitionname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionname, other.partitionname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType()); + lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType()); if (lastComparison != 0) { return lastComparison; } if (isSetType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetState()).compareTo(typedOther.isSetState()); + lastComparison = Boolean.valueOf(isSetState()).compareTo(other.isSetState()); if (lastComparison != 0) { return lastComparison; } if (isSetState()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, typedOther.state); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, other.state); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetWorkerid()).compareTo(typedOther.isSetWorkerid()); + lastComparison = Boolean.valueOf(isSetWorkerid()).compareTo(other.isSetWorkerid()); if (lastComparison != 0) { return lastComparison; } if (isSetWorkerid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workerid, typedOther.workerid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.workerid, other.workerid); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()).compareTo(typedOther.isSetStart()); + lastComparison = Boolean.valueOf(isSetStart()).compareTo(other.isSetStart()); if (lastComparison != 0) { return lastComparison; } if (isSetStart()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.start, typedOther.start); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.start, other.start); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRunAs()).compareTo(typedOther.isSetRunAs()); + lastComparison = Boolean.valueOf(isSetRunAs()).compareTo(other.isSetRunAs()); if (lastComparison != 0) { return lastComparison; } if (isSetRunAs()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.runAs, typedOther.runAs); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.runAs, other.runAs); if (lastComparison != 0) { return lastComparison; } @@ -944,7 +948,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse break; case 4: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.type = CompactionType.findByValue(iprot.readI32()); + struct.type = org.apache.hadoop.hive.metastore.api.CompactionType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -1097,7 +1101,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponseE struct.setDbnameIsSet(true); struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); - struct.type = CompactionType.findByValue(iprot.readI32()); + struct.type = org.apache.hadoop.hive.metastore.api.CompactionType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); struct.state = iprot.readString(); struct.setStateIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java index 7a1fd6f..467a2f3 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ShowLocksRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ShowLocksRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowLocksRequest"); @@ -161,18 +165,18 @@ public boolean equals(ShowLocksRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ShowLocksRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ShowLocksRequest typedOther = (ShowLocksRequest)other; return 0; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index 42cfe8c..0b52c01 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ShowLocksResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ShowLocksResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowLocksResponse"); private static final org.apache.thrift.protocol.TField LOCKS_FIELD_DESC = new org.apache.thrift.protocol.TField("locks", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public ShowLocksResponse( */ public ShowLocksResponse(ShowLocksResponse other) { if (other.isSetLocks()) { - List __this__locks = new ArrayList(); + List __this__locks = new ArrayList(other.locks.size()); for (ShowLocksResponseElement other_element : other.locks) { __this__locks.add(new ShowLocksResponseElement(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(ShowLocksResponse that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_locks = true && (isSetLocks()); - builder.append(present_locks); + list.add(present_locks); if (present_locks) - builder.append(locks); + list.add(locks); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ShowLocksResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ShowLocksResponse typedOther = (ShowLocksResponse)other; - lastComparison = Boolean.valueOf(isSetLocks()).compareTo(typedOther.isSetLocks()); + lastComparison = Boolean.valueOf(isSetLocks()).compareTo(other.isSetLocks()); if (lastComparison != 0) { return lastComparison; } if (isSetLocks()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.locks, typedOther.locks); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.locks, other.locks); if (lastComparison != 0) { return lastComparison; } @@ -348,12 +352,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponse s { org.apache.thrift.protocol.TList _list460 = iprot.readListBegin(); struct.locks = new ArrayList(_list460.size); - for (int _i461 = 0; _i461 < _list460.size; ++_i461) + ShowLocksResponseElement _elem461; + for (int _i462 = 0; _i462 < _list460.size; ++_i462) { - ShowLocksResponseElement _elem462; // optional - _elem462 = new ShowLocksResponseElement(); - _elem462.read(iprot); - struct.locks.add(_elem462); + _elem461 = new ShowLocksResponseElement(); + _elem461.read(iprot); + struct.locks.add(_elem461); } iprot.readListEnd(); } @@ -428,12 +432,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse st { org.apache.thrift.protocol.TList _list465 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.locks = new ArrayList(_list465.size); - for (int _i466 = 0; _i466 < _list465.size; ++_i466) + ShowLocksResponseElement _elem466; + for (int _i467 = 0; _i467 < _list465.size; ++_i467) { - ShowLocksResponseElement _elem467; // optional - _elem467 = new ShowLocksResponseElement(); - _elem467.read(iprot); - struct.locks.add(_elem467); + _elem466 = new ShowLocksResponseElement(); + _elem466.read(iprot); + struct.locks.add(_elem466); } } struct.setLocksIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java index 2f7c24f..4fd03d8 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ShowLocksResponseElement implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ShowLocksResponseElement implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ShowLocksResponseElement"); private static final org.apache.thrift.protocol.TField LOCKID_FIELD_DESC = new org.apache.thrift.protocol.TField("lockid", org.apache.thrift.protocol.TType.I64, (short)1); @@ -166,7 +170,7 @@ public String getFieldName() { private static final int __LASTHEARTBEAT_ISSET_ID = 2; private static final int __ACQUIREDAT_ISSET_ID = 3; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.TABLENAME,_Fields.PARTNAME,_Fields.TXNID,_Fields.ACQUIREDAT}; + private static final _Fields optionals[] = {_Fields.TABLENAME,_Fields.PARTNAME,_Fields.TXNID,_Fields.ACQUIREDAT}; 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); @@ -822,180 +826,180 @@ public boolean equals(ShowLocksResponseElement that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_lockid = true; - builder.append(present_lockid); + list.add(present_lockid); if (present_lockid) - builder.append(lockid); + list.add(lockid); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_tablename = true && (isSetTablename()); - builder.append(present_tablename); + list.add(present_tablename); if (present_tablename) - builder.append(tablename); + list.add(tablename); boolean present_partname = true && (isSetPartname()); - builder.append(present_partname); + list.add(present_partname); if (present_partname) - builder.append(partname); + list.add(partname); boolean present_state = true && (isSetState()); - builder.append(present_state); + list.add(present_state); if (present_state) - builder.append(state.getValue()); + list.add(state.getValue()); boolean present_type = true && (isSetType()); - builder.append(present_type); + list.add(present_type); if (present_type) - builder.append(type.getValue()); + list.add(type.getValue()); boolean present_txnid = true && (isSetTxnid()); - builder.append(present_txnid); + list.add(present_txnid); if (present_txnid) - builder.append(txnid); + list.add(txnid); boolean present_lastheartbeat = true; - builder.append(present_lastheartbeat); + list.add(present_lastheartbeat); if (present_lastheartbeat) - builder.append(lastheartbeat); + list.add(lastheartbeat); boolean present_acquiredat = true && (isSetAcquiredat()); - builder.append(present_acquiredat); + list.add(present_acquiredat); if (present_acquiredat) - builder.append(acquiredat); + list.add(acquiredat); boolean present_user = true && (isSetUser()); - builder.append(present_user); + list.add(present_user); if (present_user) - builder.append(user); + list.add(user); boolean present_hostname = true && (isSetHostname()); - builder.append(present_hostname); + list.add(present_hostname); if (present_hostname) - builder.append(hostname); + list.add(hostname); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ShowLocksResponseElement other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ShowLocksResponseElement typedOther = (ShowLocksResponseElement)other; - lastComparison = Boolean.valueOf(isSetLockid()).compareTo(typedOther.isSetLockid()); + lastComparison = Boolean.valueOf(isSetLockid()).compareTo(other.isSetLockid()); if (lastComparison != 0) { return lastComparison; } if (isSetLockid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, typedOther.lockid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, other.lockid); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTablename()).compareTo(typedOther.isSetTablename()); + lastComparison = Boolean.valueOf(isSetTablename()).compareTo(other.isSetTablename()); if (lastComparison != 0) { return lastComparison; } if (isSetTablename()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, typedOther.tablename); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, other.tablename); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartname()).compareTo(typedOther.isSetPartname()); + lastComparison = Boolean.valueOf(isSetPartname()).compareTo(other.isSetPartname()); if (lastComparison != 0) { return lastComparison; } if (isSetPartname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partname, typedOther.partname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partname, other.partname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetState()).compareTo(typedOther.isSetState()); + lastComparison = Boolean.valueOf(isSetState()).compareTo(other.isSetState()); if (lastComparison != 0) { return lastComparison; } if (isSetState()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, typedOther.state); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, other.state); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType()); + lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType()); if (lastComparison != 0) { return lastComparison; } if (isSetType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(typedOther.isSetTxnid()); + lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(other.isSetTxnid()); if (lastComparison != 0) { return lastComparison; } if (isSetTxnid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, typedOther.txnid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, other.txnid); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLastheartbeat()).compareTo(typedOther.isSetLastheartbeat()); + lastComparison = Boolean.valueOf(isSetLastheartbeat()).compareTo(other.isSetLastheartbeat()); if (lastComparison != 0) { return lastComparison; } if (isSetLastheartbeat()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastheartbeat, typedOther.lastheartbeat); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastheartbeat, other.lastheartbeat); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetAcquiredat()).compareTo(typedOther.isSetAcquiredat()); + lastComparison = Boolean.valueOf(isSetAcquiredat()).compareTo(other.isSetAcquiredat()); if (lastComparison != 0) { return lastComparison; } if (isSetAcquiredat()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.acquiredat, typedOther.acquiredat); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.acquiredat, other.acquiredat); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUser()).compareTo(typedOther.isSetUser()); + lastComparison = Boolean.valueOf(isSetUser()).compareTo(other.isSetUser()); if (lastComparison != 0) { return lastComparison; } if (isSetUser()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, typedOther.user); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, other.user); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHostname()).compareTo(typedOther.isSetHostname()); + lastComparison = Boolean.valueOf(isSetHostname()).compareTo(other.isSetHostname()); if (lastComparison != 0) { return lastComparison; } if (isSetHostname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostname, typedOther.hostname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostname, other.hostname); if (lastComparison != 0) { return lastComparison; } @@ -1206,7 +1210,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponseEl break; case 5: // STATE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.state = LockState.findByValue(iprot.readI32()); + struct.state = org.apache.hadoop.hive.metastore.api.LockState.findByValue(iprot.readI32()); struct.setStateIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -1214,7 +1218,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponseEl break; case 6: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.type = LockType.findByValue(iprot.readI32()); + struct.type = org.apache.hadoop.hive.metastore.api.LockType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -1387,9 +1391,9 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponseEle struct.setLockidIsSet(true); struct.dbname = iprot.readString(); struct.setDbnameIsSet(true); - struct.state = LockState.findByValue(iprot.readI32()); + struct.state = org.apache.hadoop.hive.metastore.api.LockState.findByValue(iprot.readI32()); struct.setStateIsSet(true); - struct.type = LockType.findByValue(iprot.readI32()); + struct.type = org.apache.hadoop.hive.metastore.api.LockType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); struct.lastheartbeat = iprot.readI64(); struct.setLastheartbeatIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java index ab5c0ed..7aa7b1f 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class SkewedInfo implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class SkewedInfo implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SkewedInfo"); private static final org.apache.thrift.protocol.TField SKEWED_COL_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("skewedColNames", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -151,34 +155,25 @@ public SkewedInfo( */ public SkewedInfo(SkewedInfo other) { if (other.isSetSkewedColNames()) { - List __this__skewedColNames = new ArrayList(); - for (String other_element : other.skewedColNames) { - __this__skewedColNames.add(other_element); - } + List __this__skewedColNames = new ArrayList(other.skewedColNames); this.skewedColNames = __this__skewedColNames; } if (other.isSetSkewedColValues()) { - List> __this__skewedColValues = new ArrayList>(); + List> __this__skewedColValues = new ArrayList>(other.skewedColValues.size()); for (List other_element : other.skewedColValues) { - List __this__skewedColValues_copy = new ArrayList(); - for (String other_element_element : other_element) { - __this__skewedColValues_copy.add(other_element_element); - } + List __this__skewedColValues_copy = new ArrayList(other_element); __this__skewedColValues.add(__this__skewedColValues_copy); } this.skewedColValues = __this__skewedColValues; } if (other.isSetSkewedColValueLocationMaps()) { - Map,String> __this__skewedColValueLocationMaps = new HashMap,String>(); + Map,String> __this__skewedColValueLocationMaps = new HashMap,String>(other.skewedColValueLocationMaps.size()); for (Map.Entry, String> other_element : other.skewedColValueLocationMaps.entrySet()) { List other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); - List __this__skewedColValueLocationMaps_copy_key = new ArrayList(); - for (String other_element_key_element : other_element_key) { - __this__skewedColValueLocationMaps_copy_key.add(other_element_key_element); - } + List __this__skewedColValueLocationMaps_copy_key = new ArrayList(other_element_key); String __this__skewedColValueLocationMaps_copy_value = other_element_value; @@ -415,60 +410,60 @@ public boolean equals(SkewedInfo that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_skewedColNames = true && (isSetSkewedColNames()); - builder.append(present_skewedColNames); + list.add(present_skewedColNames); if (present_skewedColNames) - builder.append(skewedColNames); + list.add(skewedColNames); boolean present_skewedColValues = true && (isSetSkewedColValues()); - builder.append(present_skewedColValues); + list.add(present_skewedColValues); if (present_skewedColValues) - builder.append(skewedColValues); + list.add(skewedColValues); boolean present_skewedColValueLocationMaps = true && (isSetSkewedColValueLocationMaps()); - builder.append(present_skewedColValueLocationMaps); + list.add(present_skewedColValueLocationMaps); if (present_skewedColValueLocationMaps) - builder.append(skewedColValueLocationMaps); + list.add(skewedColValueLocationMaps); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(SkewedInfo other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - SkewedInfo typedOther = (SkewedInfo)other; - lastComparison = Boolean.valueOf(isSetSkewedColNames()).compareTo(typedOther.isSetSkewedColNames()); + lastComparison = Boolean.valueOf(isSetSkewedColNames()).compareTo(other.isSetSkewedColNames()); if (lastComparison != 0) { return lastComparison; } if (isSetSkewedColNames()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.skewedColNames, typedOther.skewedColNames); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.skewedColNames, other.skewedColNames); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSkewedColValues()).compareTo(typedOther.isSetSkewedColValues()); + lastComparison = Boolean.valueOf(isSetSkewedColValues()).compareTo(other.isSetSkewedColValues()); if (lastComparison != 0) { return lastComparison; } if (isSetSkewedColValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.skewedColValues, typedOther.skewedColValues); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.skewedColValues, other.skewedColValues); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSkewedColValueLocationMaps()).compareTo(typedOther.isSetSkewedColValueLocationMaps()); + lastComparison = Boolean.valueOf(isSetSkewedColValueLocationMaps()).compareTo(other.isSetSkewedColValueLocationMaps()); if (lastComparison != 0) { return lastComparison; } if (isSetSkewedColValueLocationMaps()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.skewedColValueLocationMaps, typedOther.skewedColValueLocationMaps); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.skewedColValueLocationMaps, other.skewedColValueLocationMaps); if (lastComparison != 0) { return lastComparison; } @@ -564,11 +559,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) { org.apache.thrift.protocol.TList _list114 = iprot.readListBegin(); struct.skewedColNames = new ArrayList(_list114.size); - for (int _i115 = 0; _i115 < _list114.size; ++_i115) + String _elem115; + for (int _i116 = 0; _i116 < _list114.size; ++_i116) { - String _elem116; // optional - _elem116 = iprot.readString(); - struct.skewedColNames.add(_elem116); + _elem115 = iprot.readString(); + struct.skewedColNames.add(_elem115); } iprot.readListEnd(); } @@ -582,21 +577,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) { org.apache.thrift.protocol.TList _list117 = iprot.readListBegin(); struct.skewedColValues = new ArrayList>(_list117.size); - for (int _i118 = 0; _i118 < _list117.size; ++_i118) + List _elem118; + for (int _i119 = 0; _i119 < _list117.size; ++_i119) { - List _elem119; // optional { org.apache.thrift.protocol.TList _list120 = iprot.readListBegin(); - _elem119 = new ArrayList(_list120.size); - for (int _i121 = 0; _i121 < _list120.size; ++_i121) + _elem118 = new ArrayList(_list120.size); + String _elem121; + for (int _i122 = 0; _i122 < _list120.size; ++_i122) { - String _elem122; // optional - _elem122 = iprot.readString(); - _elem119.add(_elem122); + _elem121 = iprot.readString(); + _elem118.add(_elem121); } iprot.readListEnd(); } - struct.skewedColValues.add(_elem119); + struct.skewedColValues.add(_elem118); } iprot.readListEnd(); } @@ -610,23 +605,23 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) { org.apache.thrift.protocol.TMap _map123 = iprot.readMapBegin(); struct.skewedColValueLocationMaps = new HashMap,String>(2*_map123.size); - for (int _i124 = 0; _i124 < _map123.size; ++_i124) + List _key124; + String _val125; + for (int _i126 = 0; _i126 < _map123.size; ++_i126) { - List _key125; // required - String _val126; // required { org.apache.thrift.protocol.TList _list127 = iprot.readListBegin(); - _key125 = new ArrayList(_list127.size); - for (int _i128 = 0; _i128 < _list127.size; ++_i128) + _key124 = new ArrayList(_list127.size); + String _elem128; + for (int _i129 = 0; _i129 < _list127.size; ++_i129) { - String _elem129; // optional - _elem129 = iprot.readString(); - _key125.add(_elem129); + _elem128 = iprot.readString(); + _key124.add(_elem128); } iprot.readListEnd(); } - _val126 = iprot.readString(); - struct.skewedColValueLocationMaps.put(_key125, _val126); + _val125 = iprot.readString(); + struct.skewedColValueLocationMaps.put(_key124, _val125); } iprot.readMapEnd(); } @@ -777,11 +772,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) t { org.apache.thrift.protocol.TList _list140 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.skewedColNames = new ArrayList(_list140.size); - for (int _i141 = 0; _i141 < _list140.size; ++_i141) + String _elem141; + for (int _i142 = 0; _i142 < _list140.size; ++_i142) { - String _elem142; // optional - _elem142 = iprot.readString(); - struct.skewedColNames.add(_elem142); + _elem141 = iprot.readString(); + struct.skewedColNames.add(_elem141); } } struct.setSkewedColNamesIsSet(true); @@ -790,20 +785,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) t { org.apache.thrift.protocol.TList _list143 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, iprot.readI32()); struct.skewedColValues = new ArrayList>(_list143.size); - for (int _i144 = 0; _i144 < _list143.size; ++_i144) + List _elem144; + for (int _i145 = 0; _i145 < _list143.size; ++_i145) { - List _elem145; // optional { 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) + _elem144 = new ArrayList(_list146.size); + String _elem147; + for (int _i148 = 0; _i148 < _list146.size; ++_i148) { - String _elem148; // optional - _elem148 = iprot.readString(); - _elem145.add(_elem148); + _elem147 = iprot.readString(); + _elem144.add(_elem147); } } - struct.skewedColValues.add(_elem145); + struct.skewedColValues.add(_elem144); } } struct.setSkewedColValuesIsSet(true); @@ -812,22 +807,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) t { org.apache.thrift.protocol.TMap _map149 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.LIST, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.skewedColValueLocationMaps = new HashMap,String>(2*_map149.size); - for (int _i150 = 0; _i150 < _map149.size; ++_i150) + List _key150; + String _val151; + for (int _i152 = 0; _i152 < _map149.size; ++_i152) { - List _key151; // required - String _val152; // required { org.apache.thrift.protocol.TList _list153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - _key151 = new ArrayList(_list153.size); - for (int _i154 = 0; _i154 < _list153.size; ++_i154) + _key150 = new ArrayList(_list153.size); + String _elem154; + for (int _i155 = 0; _i155 < _list153.size; ++_i155) { - String _elem155; // optional - _elem155 = iprot.readString(); - _key151.add(_elem155); + _elem154 = iprot.readString(); + _key150.add(_elem154); } } - _val152 = iprot.readString(); - struct.skewedColValueLocationMaps.put(_key151, _val152); + _val151 = iprot.readString(); + struct.skewedColValueLocationMaps.put(_key150, _val151); } } struct.setSkewedColValueLocationMapsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java index 813b4f0..40100cd 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class StorageDescriptor implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class StorageDescriptor implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("StorageDescriptor"); private static final org.apache.thrift.protocol.TField COLS_FIELD_DESC = new org.apache.thrift.protocol.TField("cols", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -162,7 +166,7 @@ public String getFieldName() { private static final int __NUMBUCKETS_ISSET_ID = 1; private static final int __STOREDASSUBDIRECTORIES_ISSET_ID = 2; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.SKEWED_INFO,_Fields.STORED_AS_SUB_DIRECTORIES}; + private static final _Fields optionals[] = {_Fields.SKEWED_INFO,_Fields.STORED_AS_SUB_DIRECTORIES}; 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); @@ -216,17 +220,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); } /** @@ -235,20 +239,20 @@ public StorageDescriptor( public StorageDescriptor(StorageDescriptor other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetCols()) { - List __this__cols = new ArrayList(); + List __this__cols = new ArrayList(other.cols.size()); for (FieldSchema other_element : other.cols) { __this__cols.add(new FieldSchema(other_element)); } 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; @@ -256,32 +260,18 @@ public StorageDescriptor(StorageDescriptor other) { this.serdeInfo = new SerDeInfo(other.serdeInfo); } if (other.isSetBucketCols()) { - List __this__bucketCols = new ArrayList(); - for (String other_element : other.bucketCols) { - __this__bucketCols.add(other_element); - } + List __this__bucketCols = new ArrayList(other.bucketCols); this.bucketCols = __this__bucketCols; } if (other.isSetSortCols()) { - List __this__sortCols = new ArrayList(); + List __this__sortCols = new ArrayList(other.sortCols.size()); for (Order other_element : other.sortCols) { __this__sortCols.add(new Order(other_element)); } this.sortCols = __this__sortCols; } if (other.isSetParameters()) { - Map __this__parameters = new HashMap(); - for (Map.Entry other_element : other.parameters.entrySet()) { - - 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_value = other_element_value; - - __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); - } + Map __this__parameters = new HashMap(other.parameters); this.parameters = __this__parameters; } if (other.isSetSkewedInfo()) { @@ -356,7 +346,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 +369,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 +392,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 +497,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 +569,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() { @@ -946,195 +936,195 @@ public boolean equals(StorageDescriptor that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_cols = true && (isSetCols()); - builder.append(present_cols); + list.add(present_cols); if (present_cols) - builder.append(cols); + list.add(cols); boolean present_location = true && (isSetLocation()); - builder.append(present_location); + list.add(present_location); if (present_location) - builder.append(location); + list.add(location); boolean present_inputFormat = true && (isSetInputFormat()); - builder.append(present_inputFormat); + list.add(present_inputFormat); if (present_inputFormat) - builder.append(inputFormat); + list.add(inputFormat); boolean present_outputFormat = true && (isSetOutputFormat()); - builder.append(present_outputFormat); + list.add(present_outputFormat); if (present_outputFormat) - builder.append(outputFormat); + list.add(outputFormat); boolean present_compressed = true; - builder.append(present_compressed); + list.add(present_compressed); if (present_compressed) - builder.append(compressed); + list.add(compressed); boolean present_numBuckets = true; - builder.append(present_numBuckets); + list.add(present_numBuckets); if (present_numBuckets) - builder.append(numBuckets); + list.add(numBuckets); boolean present_serdeInfo = true && (isSetSerdeInfo()); - builder.append(present_serdeInfo); + list.add(present_serdeInfo); if (present_serdeInfo) - builder.append(serdeInfo); + list.add(serdeInfo); boolean present_bucketCols = true && (isSetBucketCols()); - builder.append(present_bucketCols); + list.add(present_bucketCols); if (present_bucketCols) - builder.append(bucketCols); + list.add(bucketCols); boolean present_sortCols = true && (isSetSortCols()); - builder.append(present_sortCols); + list.add(present_sortCols); if (present_sortCols) - builder.append(sortCols); + list.add(sortCols); boolean present_parameters = true && (isSetParameters()); - builder.append(present_parameters); + list.add(present_parameters); if (present_parameters) - builder.append(parameters); + list.add(parameters); boolean present_skewedInfo = true && (isSetSkewedInfo()); - builder.append(present_skewedInfo); + list.add(present_skewedInfo); if (present_skewedInfo) - builder.append(skewedInfo); + list.add(skewedInfo); boolean present_storedAsSubDirectories = true && (isSetStoredAsSubDirectories()); - builder.append(present_storedAsSubDirectories); + list.add(present_storedAsSubDirectories); if (present_storedAsSubDirectories) - builder.append(storedAsSubDirectories); + list.add(storedAsSubDirectories); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(StorageDescriptor other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - StorageDescriptor typedOther = (StorageDescriptor)other; - lastComparison = Boolean.valueOf(isSetCols()).compareTo(typedOther.isSetCols()); + lastComparison = Boolean.valueOf(isSetCols()).compareTo(other.isSetCols()); if (lastComparison != 0) { return lastComparison; } if (isSetCols()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cols, typedOther.cols); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cols, other.cols); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLocation()).compareTo(typedOther.isSetLocation()); + lastComparison = Boolean.valueOf(isSetLocation()).compareTo(other.isSetLocation()); if (lastComparison != 0) { return lastComparison; } if (isSetLocation()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.location, typedOther.location); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.location, other.location); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetInputFormat()).compareTo(typedOther.isSetInputFormat()); + lastComparison = Boolean.valueOf(isSetInputFormat()).compareTo(other.isSetInputFormat()); if (lastComparison != 0) { return lastComparison; } if (isSetInputFormat()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.inputFormat, typedOther.inputFormat); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.inputFormat, other.inputFormat); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOutputFormat()).compareTo(typedOther.isSetOutputFormat()); + lastComparison = Boolean.valueOf(isSetOutputFormat()).compareTo(other.isSetOutputFormat()); if (lastComparison != 0) { return lastComparison; } if (isSetOutputFormat()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.outputFormat, typedOther.outputFormat); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.outputFormat, other.outputFormat); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCompressed()).compareTo(typedOther.isSetCompressed()); + lastComparison = Boolean.valueOf(isSetCompressed()).compareTo(other.isSetCompressed()); if (lastComparison != 0) { return lastComparison; } if (isSetCompressed()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compressed, typedOther.compressed); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compressed, other.compressed); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumBuckets()).compareTo(typedOther.isSetNumBuckets()); + lastComparison = Boolean.valueOf(isSetNumBuckets()).compareTo(other.isSetNumBuckets()); if (lastComparison != 0) { return lastComparison; } if (isSetNumBuckets()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numBuckets, typedOther.numBuckets); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numBuckets, other.numBuckets); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSerdeInfo()).compareTo(typedOther.isSetSerdeInfo()); + lastComparison = Boolean.valueOf(isSetSerdeInfo()).compareTo(other.isSetSerdeInfo()); if (lastComparison != 0) { return lastComparison; } if (isSetSerdeInfo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serdeInfo, typedOther.serdeInfo); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serdeInfo, other.serdeInfo); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetBucketCols()).compareTo(typedOther.isSetBucketCols()); + lastComparison = Boolean.valueOf(isSetBucketCols()).compareTo(other.isSetBucketCols()); if (lastComparison != 0) { return lastComparison; } if (isSetBucketCols()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bucketCols, typedOther.bucketCols); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bucketCols, other.bucketCols); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSortCols()).compareTo(typedOther.isSetSortCols()); + lastComparison = Boolean.valueOf(isSetSortCols()).compareTo(other.isSetSortCols()); if (lastComparison != 0) { return lastComparison; } if (isSetSortCols()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sortCols, typedOther.sortCols); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sortCols, other.sortCols); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetParameters()).compareTo(typedOther.isSetParameters()); + lastComparison = Boolean.valueOf(isSetParameters()).compareTo(other.isSetParameters()); if (lastComparison != 0) { return lastComparison; } if (isSetParameters()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, typedOther.parameters); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, other.parameters); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSkewedInfo()).compareTo(typedOther.isSetSkewedInfo()); + lastComparison = Boolean.valueOf(isSetSkewedInfo()).compareTo(other.isSetSkewedInfo()); if (lastComparison != 0) { return lastComparison; } if (isSetSkewedInfo()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.skewedInfo, typedOther.skewedInfo); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.skewedInfo, other.skewedInfo); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStoredAsSubDirectories()).compareTo(typedOther.isSetStoredAsSubDirectories()); + lastComparison = Boolean.valueOf(isSetStoredAsSubDirectories()).compareTo(other.isSetStoredAsSubDirectories()); if (lastComparison != 0) { return lastComparison; } if (isSetStoredAsSubDirectories()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storedAsSubDirectories, typedOther.storedAsSubDirectories); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storedAsSubDirectories, other.storedAsSubDirectories); if (lastComparison != 0) { return lastComparison; } @@ -1302,12 +1292,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s { org.apache.thrift.protocol.TList _list156 = iprot.readListBegin(); struct.cols = new ArrayList(_list156.size); - for (int _i157 = 0; _i157 < _list156.size; ++_i157) + FieldSchema _elem157; + for (int _i158 = 0; _i158 < _list156.size; ++_i158) { - FieldSchema _elem158; // optional - _elem158 = new FieldSchema(); - _elem158.read(iprot); - struct.cols.add(_elem158); + _elem157 = new FieldSchema(); + _elem157.read(iprot); + struct.cols.add(_elem157); } iprot.readListEnd(); } @@ -1370,11 +1360,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s { org.apache.thrift.protocol.TList _list159 = iprot.readListBegin(); struct.bucketCols = new ArrayList(_list159.size); - for (int _i160 = 0; _i160 < _list159.size; ++_i160) + String _elem160; + for (int _i161 = 0; _i161 < _list159.size; ++_i161) { - String _elem161; // optional - _elem161 = iprot.readString(); - struct.bucketCols.add(_elem161); + _elem160 = iprot.readString(); + struct.bucketCols.add(_elem160); } iprot.readListEnd(); } @@ -1388,12 +1378,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s { org.apache.thrift.protocol.TList _list162 = iprot.readListBegin(); struct.sortCols = new ArrayList(_list162.size); - for (int _i163 = 0; _i163 < _list162.size; ++_i163) + Order _elem163; + for (int _i164 = 0; _i164 < _list162.size; ++_i164) { - Order _elem164; // optional - _elem164 = new Order(); - _elem164.read(iprot); - struct.sortCols.add(_elem164); + _elem163 = new Order(); + _elem163.read(iprot); + struct.sortCols.add(_elem163); } iprot.readListEnd(); } @@ -1407,13 +1397,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s { org.apache.thrift.protocol.TMap _map165 = iprot.readMapBegin(); struct.parameters = new HashMap(2*_map165.size); - for (int _i166 = 0; _i166 < _map165.size; ++_i166) + String _key166; + String _val167; + for (int _i168 = 0; _i168 < _map165.size; ++_i168) { - String _key167; // required - String _val168; // required - _key167 = iprot.readString(); - _val168 = iprot.readString(); - struct.parameters.put(_key167, _val168); + _key166 = iprot.readString(); + _val167 = iprot.readString(); + struct.parameters.put(_key166, _val167); } iprot.readMapEnd(); } @@ -1665,12 +1655,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st { org.apache.thrift.protocol.TList _list177 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.cols = new ArrayList(_list177.size); - for (int _i178 = 0; _i178 < _list177.size; ++_i178) + FieldSchema _elem178; + for (int _i179 = 0; _i179 < _list177.size; ++_i179) { - FieldSchema _elem179; // optional - _elem179 = new FieldSchema(); - _elem179.read(iprot); - struct.cols.add(_elem179); + _elem178 = new FieldSchema(); + _elem178.read(iprot); + struct.cols.add(_elem178); } } struct.setColsIsSet(true); @@ -1704,11 +1694,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st { org.apache.thrift.protocol.TList _list180 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.bucketCols = new ArrayList(_list180.size); - for (int _i181 = 0; _i181 < _list180.size; ++_i181) + String _elem181; + for (int _i182 = 0; _i182 < _list180.size; ++_i182) { - String _elem182; // optional - _elem182 = iprot.readString(); - struct.bucketCols.add(_elem182); + _elem181 = iprot.readString(); + struct.bucketCols.add(_elem181); } } struct.setBucketColsIsSet(true); @@ -1717,12 +1707,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st { org.apache.thrift.protocol.TList _list183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.sortCols = new ArrayList(_list183.size); - for (int _i184 = 0; _i184 < _list183.size; ++_i184) + Order _elem184; + for (int _i185 = 0; _i185 < _list183.size; ++_i185) { - Order _elem185; // optional - _elem185 = new Order(); - _elem185.read(iprot); - struct.sortCols.add(_elem185); + _elem184 = new Order(); + _elem184.read(iprot); + struct.sortCols.add(_elem184); } } struct.setSortColsIsSet(true); @@ -1731,13 +1721,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st { org.apache.thrift.protocol.TMap _map186 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.parameters = new HashMap(2*_map186.size); - for (int _i187 = 0; _i187 < _map186.size; ++_i187) + String _key187; + String _val188; + for (int _i189 = 0; _i189 < _map186.size; ++_i189) { - String _key188; // required - String _val189; // required - _key188 = iprot.readString(); - _val189 = iprot.readString(); - struct.parameters.put(_key188, _val189); + _key187 = iprot.readString(); + _val188 = iprot.readString(); + struct.parameters.put(_key187, _val188); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java index db3274a..281ebb2 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class StringColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class StringColumnStatsData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("StringColumnStatsData"); private static final org.apache.thrift.protocol.TField MAX_COL_LEN_FIELD_DESC = new org.apache.thrift.protocol.TField("maxColLen", org.apache.thrift.protocol.TType.I64, (short)1); @@ -401,75 +405,75 @@ public boolean equals(StringColumnStatsData that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_maxColLen = true; - builder.append(present_maxColLen); + list.add(present_maxColLen); if (present_maxColLen) - builder.append(maxColLen); + list.add(maxColLen); boolean present_avgColLen = true; - builder.append(present_avgColLen); + list.add(present_avgColLen); if (present_avgColLen) - builder.append(avgColLen); + list.add(avgColLen); boolean present_numNulls = true; - builder.append(present_numNulls); + list.add(present_numNulls); if (present_numNulls) - builder.append(numNulls); + list.add(numNulls); boolean present_numDVs = true; - builder.append(present_numDVs); + list.add(present_numDVs); if (present_numDVs) - builder.append(numDVs); + list.add(numDVs); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(StringColumnStatsData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - StringColumnStatsData typedOther = (StringColumnStatsData)other; - lastComparison = Boolean.valueOf(isSetMaxColLen()).compareTo(typedOther.isSetMaxColLen()); + lastComparison = Boolean.valueOf(isSetMaxColLen()).compareTo(other.isSetMaxColLen()); if (lastComparison != 0) { return lastComparison; } if (isSetMaxColLen()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxColLen, typedOther.maxColLen); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxColLen, other.maxColLen); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetAvgColLen()).compareTo(typedOther.isSetAvgColLen()); + lastComparison = Boolean.valueOf(isSetAvgColLen()).compareTo(other.isSetAvgColLen()); if (lastComparison != 0) { return lastComparison; } if (isSetAvgColLen()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.avgColLen, typedOther.avgColLen); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.avgColLen, other.avgColLen); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(typedOther.isSetNumNulls()); + lastComparison = Boolean.valueOf(isSetNumNulls()).compareTo(other.isSetNumNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNumNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, typedOther.numNulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numNulls, other.numNulls); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumDVs()).compareTo(typedOther.isSetNumDVs()); + lastComparison = Boolean.valueOf(isSetNumDVs()).compareTo(other.isSetNumDVs()); if (lastComparison != 0) { return lastComparison; } if (isSetNumDVs()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numDVs, typedOther.numDVs); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numDVs, other.numDVs); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java index 484bd6a..99748bb 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Table implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Table implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable
{ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Table"); private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -173,7 +177,7 @@ public String getFieldName() { private static final int __RETENTION_ISSET_ID = 2; private static final int __TEMPORARY_ISSET_ID = 3; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.PRIVILEGES,_Fields.TEMPORARY}; + private static final _Fields optionals[] = {_Fields.PRIVILEGES,_Fields.TEMPORARY}; 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); @@ -270,25 +274,14 @@ public Table(Table other) { this.sd = new StorageDescriptor(other.sd); } if (other.isSetPartitionKeys()) { - List __this__partitionKeys = new ArrayList(); + List __this__partitionKeys = new ArrayList(other.partitionKeys.size()); for (FieldSchema other_element : other.partitionKeys) { __this__partitionKeys.add(new FieldSchema(other_element)); } this.partitionKeys = __this__partitionKeys; } if (other.isSetParameters()) { - Map __this__parameters = new HashMap(); - for (Map.Entry other_element : other.parameters.entrySet()) { - - 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_value = other_element_value; - - __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); - } + Map __this__parameters = new HashMap(other.parameters); this.parameters = __this__parameters; } if (other.isSetViewOriginalText()) { @@ -1024,225 +1017,225 @@ public boolean equals(Table that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_tableName = true && (isSetTableName()); - builder.append(present_tableName); + list.add(present_tableName); if (present_tableName) - builder.append(tableName); + list.add(tableName); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_owner = true && (isSetOwner()); - builder.append(present_owner); + list.add(present_owner); if (present_owner) - builder.append(owner); + list.add(owner); boolean present_createTime = true; - builder.append(present_createTime); + list.add(present_createTime); if (present_createTime) - builder.append(createTime); + list.add(createTime); boolean present_lastAccessTime = true; - builder.append(present_lastAccessTime); + list.add(present_lastAccessTime); if (present_lastAccessTime) - builder.append(lastAccessTime); + list.add(lastAccessTime); boolean present_retention = true; - builder.append(present_retention); + list.add(present_retention); if (present_retention) - builder.append(retention); + list.add(retention); boolean present_sd = true && (isSetSd()); - builder.append(present_sd); + list.add(present_sd); if (present_sd) - builder.append(sd); + list.add(sd); boolean present_partitionKeys = true && (isSetPartitionKeys()); - builder.append(present_partitionKeys); + list.add(present_partitionKeys); if (present_partitionKeys) - builder.append(partitionKeys); + list.add(partitionKeys); boolean present_parameters = true && (isSetParameters()); - builder.append(present_parameters); + list.add(present_parameters); if (present_parameters) - builder.append(parameters); + list.add(parameters); boolean present_viewOriginalText = true && (isSetViewOriginalText()); - builder.append(present_viewOriginalText); + list.add(present_viewOriginalText); if (present_viewOriginalText) - builder.append(viewOriginalText); + list.add(viewOriginalText); boolean present_viewExpandedText = true && (isSetViewExpandedText()); - builder.append(present_viewExpandedText); + list.add(present_viewExpandedText); if (present_viewExpandedText) - builder.append(viewExpandedText); + list.add(viewExpandedText); boolean present_tableType = true && (isSetTableType()); - builder.append(present_tableType); + list.add(present_tableType); if (present_tableType) - builder.append(tableType); + list.add(tableType); boolean present_privileges = true && (isSetPrivileges()); - builder.append(present_privileges); + list.add(present_privileges); if (present_privileges) - builder.append(privileges); + list.add(privileges); boolean present_temporary = true && (isSetTemporary()); - builder.append(present_temporary); + list.add(present_temporary); if (present_temporary) - builder.append(temporary); + list.add(temporary); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Table other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Table typedOther = (Table)other; - lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); + lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOwner()).compareTo(typedOther.isSetOwner()); + lastComparison = Boolean.valueOf(isSetOwner()).compareTo(other.isSetOwner()); if (lastComparison != 0) { return lastComparison; } if (isSetOwner()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.owner, typedOther.owner); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.owner, other.owner); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(typedOther.isSetCreateTime()); + lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(other.isSetCreateTime()); if (lastComparison != 0) { return lastComparison; } if (isSetCreateTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, typedOther.createTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, other.createTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(typedOther.isSetLastAccessTime()); + lastComparison = Boolean.valueOf(isSetLastAccessTime()).compareTo(other.isSetLastAccessTime()); if (lastComparison != 0) { return lastComparison; } if (isSetLastAccessTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, typedOther.lastAccessTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAccessTime, other.lastAccessTime); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRetention()).compareTo(typedOther.isSetRetention()); + lastComparison = Boolean.valueOf(isSetRetention()).compareTo(other.isSetRetention()); if (lastComparison != 0) { return lastComparison; } if (isSetRetention()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.retention, typedOther.retention); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.retention, other.retention); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSd()).compareTo(typedOther.isSetSd()); + lastComparison = Boolean.valueOf(isSetSd()).compareTo(other.isSetSd()); if (lastComparison != 0) { return lastComparison; } if (isSetSd()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, typedOther.sd); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, other.sd); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPartitionKeys()).compareTo(typedOther.isSetPartitionKeys()); + lastComparison = Boolean.valueOf(isSetPartitionKeys()).compareTo(other.isSetPartitionKeys()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitionKeys()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionKeys, typedOther.partitionKeys); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionKeys, other.partitionKeys); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetParameters()).compareTo(typedOther.isSetParameters()); + lastComparison = Boolean.valueOf(isSetParameters()).compareTo(other.isSetParameters()); if (lastComparison != 0) { return lastComparison; } if (isSetParameters()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, typedOther.parameters); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.parameters, other.parameters); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetViewOriginalText()).compareTo(typedOther.isSetViewOriginalText()); + lastComparison = Boolean.valueOf(isSetViewOriginalText()).compareTo(other.isSetViewOriginalText()); if (lastComparison != 0) { return lastComparison; } if (isSetViewOriginalText()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.viewOriginalText, typedOther.viewOriginalText); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.viewOriginalText, other.viewOriginalText); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetViewExpandedText()).compareTo(typedOther.isSetViewExpandedText()); + lastComparison = Boolean.valueOf(isSetViewExpandedText()).compareTo(other.isSetViewExpandedText()); if (lastComparison != 0) { return lastComparison; } if (isSetViewExpandedText()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.viewExpandedText, typedOther.viewExpandedText); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.viewExpandedText, other.viewExpandedText); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTableType()).compareTo(typedOther.isSetTableType()); + lastComparison = Boolean.valueOf(isSetTableType()).compareTo(other.isSetTableType()); if (lastComparison != 0) { return lastComparison; } if (isSetTableType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableType, typedOther.tableType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableType, other.tableType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(typedOther.isSetPrivileges()); + lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(other.isSetPrivileges()); if (lastComparison != 0) { return lastComparison; } if (isSetPrivileges()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, typedOther.privileges); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, other.privileges); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTemporary()).compareTo(typedOther.isSetTemporary()); + lastComparison = Boolean.valueOf(isSetTemporary()).compareTo(other.isSetTemporary()); if (lastComparison != 0) { return lastComparison; } if (isSetTemporary()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.temporary, typedOther.temporary); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.temporary, other.temporary); if (lastComparison != 0) { return lastComparison; } @@ -1479,12 +1472,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Table struct) throw { org.apache.thrift.protocol.TList _list190 = iprot.readListBegin(); struct.partitionKeys = new ArrayList(_list190.size); - for (int _i191 = 0; _i191 < _list190.size; ++_i191) + FieldSchema _elem191; + for (int _i192 = 0; _i192 < _list190.size; ++_i192) { - FieldSchema _elem192; // optional - _elem192 = new FieldSchema(); - _elem192.read(iprot); - struct.partitionKeys.add(_elem192); + _elem191 = new FieldSchema(); + _elem191.read(iprot); + struct.partitionKeys.add(_elem191); } iprot.readListEnd(); } @@ -1498,13 +1491,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Table struct) throw { org.apache.thrift.protocol.TMap _map193 = iprot.readMapBegin(); struct.parameters = new HashMap(2*_map193.size); - for (int _i194 = 0; _i194 < _map193.size; ++_i194) + String _key194; + String _val195; + for (int _i196 = 0; _i196 < _map193.size; ++_i196) { - String _key195; // required - String _val196; // required - _key195 = iprot.readString(); - _val196 = iprot.readString(); - struct.parameters.put(_key195, _val196); + _key194 = iprot.readString(); + _val195 = iprot.readString(); + struct.parameters.put(_key194, _val195); } iprot.readMapEnd(); } @@ -1803,12 +1796,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws { org.apache.thrift.protocol.TList _list201 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.partitionKeys = new ArrayList(_list201.size); - for (int _i202 = 0; _i202 < _list201.size; ++_i202) + FieldSchema _elem202; + for (int _i203 = 0; _i203 < _list201.size; ++_i203) { - FieldSchema _elem203; // optional - _elem203 = new FieldSchema(); - _elem203.read(iprot); - struct.partitionKeys.add(_elem203); + _elem202 = new FieldSchema(); + _elem202.read(iprot); + struct.partitionKeys.add(_elem202); } } struct.setPartitionKeysIsSet(true); @@ -1817,13 +1810,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws { org.apache.thrift.protocol.TMap _map204 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.parameters = new HashMap(2*_map204.size); - for (int _i205 = 0; _i205 < _map204.size; ++_i205) + String _key205; + String _val206; + for (int _i207 = 0; _i207 < _map204.size; ++_i207) { - String _key206; // required - String _val207; // required - _key206 = iprot.readString(); - _val207 = iprot.readString(); - struct.parameters.put(_key206, _val207); + _key205 = iprot.readString(); + _val206 = iprot.readString(); + struct.parameters.put(_key205, _val206); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java index 2073829..9ed5193 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TableStatsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TableStatsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TableStatsRequest"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -152,10 +156,7 @@ public TableStatsRequest(TableStatsRequest other) { this.tblName = other.tblName; } if (other.isSetColNames()) { - List __this__colNames = new ArrayList(); - for (String other_element : other.colNames) { - __this__colNames.add(other_element); - } + List __this__colNames = new ArrayList(other.colNames); this.colNames = __this__colNames; } } @@ -361,60 +362,60 @@ public boolean equals(TableStatsRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_tblName = true && (isSetTblName()); - builder.append(present_tblName); + list.add(present_tblName); if (present_tblName) - builder.append(tblName); + list.add(tblName); boolean present_colNames = true && (isSetColNames()); - builder.append(present_colNames); + list.add(present_colNames); if (present_colNames) - builder.append(colNames); + list.add(colNames); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TableStatsRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TableStatsRequest typedOther = (TableStatsRequest)other; - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTblName()).compareTo(typedOther.isSetTblName()); + lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName()); if (lastComparison != 0) { return lastComparison; } if (isSetTblName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, typedOther.tblName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetColNames()).compareTo(typedOther.isSetColNames()); + lastComparison = Boolean.valueOf(isSetColNames()).compareTo(other.isSetColNames()); if (lastComparison != 0) { return lastComparison; } if (isSetColNames()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colNames, typedOther.colNames); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colNames, other.colNames); if (lastComparison != 0) { return lastComparison; } @@ -538,11 +539,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsRequest s { org.apache.thrift.protocol.TList _list356 = iprot.readListBegin(); struct.colNames = new ArrayList(_list356.size); - for (int _i357 = 0; _i357 < _list356.size; ++_i357) + String _elem357; + for (int _i358 = 0; _i358 < _list356.size; ++_i358) { - String _elem358; // optional - _elem358 = iprot.readString(); - struct.colNames.add(_elem358); + _elem357 = iprot.readString(); + struct.colNames.add(_elem357); } iprot.readListEnd(); } @@ -624,11 +625,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest st { org.apache.thrift.protocol.TList _list361 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.colNames = new ArrayList(_list361.size); - for (int _i362 = 0; _i362 < _list361.size; ++_i362) + String _elem362; + for (int _i363 = 0; _i363 < _list361.size; ++_i363) { - String _elem363; // optional - _elem363 = iprot.readString(); - struct.colNames.add(_elem363); + _elem362 = iprot.readString(); + struct.colNames.add(_elem362); } } struct.setColNamesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java index 541370f..b9f4f6a 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TableStatsResult implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TableStatsResult implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TableStatsResult"); private static final org.apache.thrift.protocol.TField TABLE_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("tableStats", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public TableStatsResult( */ public TableStatsResult(TableStatsResult other) { if (other.isSetTableStats()) { - List __this__tableStats = new ArrayList(); + List __this__tableStats = new ArrayList(other.tableStats.size()); for (ColumnStatisticsObj other_element : other.tableStats) { __this__tableStats.add(new ColumnStatisticsObj(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(TableStatsResult that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_tableStats = true && (isSetTableStats()); - builder.append(present_tableStats); + list.add(present_tableStats); if (present_tableStats) - builder.append(tableStats); + list.add(tableStats); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TableStatsResult other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TableStatsResult typedOther = (TableStatsResult)other; - lastComparison = Boolean.valueOf(isSetTableStats()).compareTo(typedOther.isSetTableStats()); + lastComparison = Boolean.valueOf(isSetTableStats()).compareTo(other.isSetTableStats()); if (lastComparison != 0) { return lastComparison; } if (isSetTableStats()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableStats, typedOther.tableStats); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableStats, other.tableStats); if (lastComparison != 0) { return lastComparison; } @@ -352,12 +356,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsResult st { org.apache.thrift.protocol.TList _list330 = iprot.readListBegin(); struct.tableStats = new ArrayList(_list330.size); - for (int _i331 = 0; _i331 < _list330.size; ++_i331) + ColumnStatisticsObj _elem331; + for (int _i332 = 0; _i332 < _list330.size; ++_i332) { - ColumnStatisticsObj _elem332; // optional - _elem332 = new ColumnStatisticsObj(); - _elem332.read(iprot); - struct.tableStats.add(_elem332); + _elem331 = new ColumnStatisticsObj(); + _elem331.read(iprot); + struct.tableStats.add(_elem331); } iprot.readListEnd(); } @@ -423,12 +427,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsResult str { org.apache.thrift.protocol.TList _list335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.tableStats = new ArrayList(_list335.size); - for (int _i336 = 0; _i336 < _list335.size; ++_i336) + ColumnStatisticsObj _elem336; + for (int _i337 = 0; _i337 < _list335.size; ++_i337) { - ColumnStatisticsObj _elem337; // optional - _elem337 = new ColumnStatisticsObj(); - _elem337.read(iprot); - struct.tableStats.add(_elem337); + _elem336 = new ColumnStatisticsObj(); + _elem336.read(iprot); + struct.tableStats.add(_elem336); } } struct.setTableStatsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 5fc965b..b3ef5ca 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,12 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") public class ThriftHiveMetastore { /** @@ -214,6 +218,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; @@ -288,251 +294,253 @@ public interface AsyncIface extends com.facebook.fb303.FacebookService .AsyncIface { - public void getMetaConf(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getMetaConf(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + + public void setMetaConf(String key, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void setMetaConf(String key, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void create_database(Database database, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void create_database(Database database, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_database(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_database(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void drop_database(String name, boolean deleteData, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void drop_database(String name, boolean deleteData, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_databases(String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_databases(String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_all_databases(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_all_databases(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void alter_database(String dbname, Database db, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void alter_database(String dbname, Database db, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_type(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_type(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void create_type(Type type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void create_type(Type type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void drop_type(String type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void drop_type(String type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_type_all(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_type_all(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_fields(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_fields(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_fields_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_fields_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_schema(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_schema(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_schema_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_schema_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void create_table(Table tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void create_table(Table tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void drop_table(String dbname, String name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void drop_table(String dbname, String name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void drop_table_with_environment_context(String dbname, String name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void drop_table_with_environment_context(String dbname, String name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_tables(String db_name, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_tables(String db_name, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_all_tables(String db_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_all_tables(String db_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_table(String dbname, String tbl_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_table(String dbname, String tbl_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_table_objects_by_name(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_table_objects_by_name(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_table_names_by_filter(String dbname, String filter, short max_tables, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_table_names_by_filter(String dbname, String filter, short max_tables, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void alter_table(String dbname, String tbl_name, Table new_tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void alter_table(String dbname, String tbl_name, Table new_tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void alter_table_with_environment_context(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void alter_table_with_environment_context(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void alter_table_with_cascade(String dbname, String tbl_name, Table new_tbl, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void alter_table_with_cascade(String dbname, String tbl_name, Table new_tbl, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void add_partition(Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void add_partition(Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void add_partitions(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void add_partitions(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void add_partitions_pspec(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void add_partitions_pspec(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void append_partition(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void append_partition(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void add_partitions_req(AddPartitionsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void add_partitions_req(AddPartitionsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void append_partition_with_environment_context(String db_name, String tbl_name, List part_vals, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void append_partition_with_environment_context(String db_name, String tbl_name, List part_vals, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void append_partition_by_name(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void append_partition_by_name(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void append_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void append_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void drop_partition(String db_name, String tbl_name, List part_vals, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void drop_partition(String db_name, String tbl_name, List part_vals, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void drop_partition_with_environment_context(String db_name, String tbl_name, List part_vals, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void drop_partition_with_environment_context(String db_name, String tbl_name, List part_vals, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void drop_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void drop_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void drop_partitions_req(DropPartitionsRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void drop_partitions_req(DropPartitionsRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partition(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partition(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void exchange_partition(Map partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void exchange_partition(Map partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partition_with_auth(String db_name, String tbl_name, List part_vals, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partition_with_auth(String db_name, String tbl_name, List part_vals, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partition_by_name(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partition_by_name(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partitions(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partitions(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partitions_with_auth(String db_name, String tbl_name, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partitions_with_auth(String db_name, String tbl_name, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partitions_pspec(String db_name, String tbl_name, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partitions_pspec(String db_name, String tbl_name, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partition_names(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partition_names(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partitions_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partitions_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partitions_ps_with_auth(String db_name, String tbl_name, List part_vals, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partitions_ps_with_auth(String db_name, String tbl_name, List part_vals, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partition_names_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partition_names_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partitions_by_filter(String db_name, String tbl_name, String filter, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partitions_by_filter(String db_name, String tbl_name, String filter, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_part_specs_by_filter(String db_name, String tbl_name, String filter, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_part_specs_by_filter(String db_name, String tbl_name, String filter, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partitions_by_expr(PartitionsByExprRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partitions_by_expr(PartitionsByExprRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partitions_by_names(String db_name, String tbl_name, List names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partitions_by_names(String db_name, String tbl_name, List names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void alter_partition(String db_name, String tbl_name, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void alter_partition(String db_name, String tbl_name, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void alter_partitions(String db_name, String tbl_name, List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void alter_partitions(String db_name, String tbl_name, List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void alter_partition_with_environment_context(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void alter_partition_with_environment_context(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void rename_partition(String db_name, String tbl_name, List part_vals, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void rename_partition(String db_name, String tbl_name, List part_vals, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void partition_name_has_valid_characters(List part_vals, boolean throw_exception, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void partition_name_has_valid_characters(List part_vals, boolean throw_exception, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_config_value(String name, String defaultValue, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_config_value(String name, String defaultValue, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void partition_name_to_vals(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void partition_name_to_vals(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void partition_name_to_spec(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void partition_name_to_spec(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void markPartitionForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void markPartitionForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void isPartitionMarkedForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void isPartitionMarkedForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void add_index(Index new_index, Table index_table, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void add_index(Index new_index, Table index_table, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void alter_index(String dbname, String base_tbl_name, String idx_name, Index new_idx, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void alter_index(String dbname, String base_tbl_name, String idx_name, Index new_idx, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void drop_index_by_name(String db_name, String tbl_name, String index_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void drop_index_by_name(String db_name, String tbl_name, String index_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_index_by_name(String db_name, String tbl_name, String index_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_index_by_name(String db_name, String tbl_name, String index_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_indexes(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_indexes(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_index_names(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_index_names(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void update_table_column_statistics(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void update_table_column_statistics(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void update_partition_column_statistics(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void update_partition_column_statistics(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_table_statistics_req(TableStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_table_statistics_req(TableStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_partitions_statistics_req(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_partitions_statistics_req(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_aggr_stats_for(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_aggr_stats_for(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void set_aggr_stats_for(SetPartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void set_aggr_stats_for(SetPartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void delete_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void delete_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void delete_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void delete_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void create_function(Function func, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void create_function(Function func, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void drop_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void drop_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void alter_function(String dbName, String funcName, Function newFunc, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void alter_function(String dbName, String funcName, Function newFunc, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_functions(String dbName, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_functions(String dbName, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - 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 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; + public void drop_role(String role_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_role_names(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_role_names(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void grant_role(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void grant_role(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void revoke_role(String role_name, String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void revoke_role(String role_name, String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void list_roles(String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void list_roles(String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void grant_revoke_role(GrantRevokeRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void grant_revoke_role(GrantRevokeRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_principals_in_role(GetPrincipalsInRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_principals_in_role(GetPrincipalsInRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_privilege_set(HiveObjectRef hiveObject, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_privilege_set(HiveObjectRef hiveObject, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void list_privileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void list_privileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void grant_privileges(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void grant_privileges(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void revoke_privileges(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void revoke_privileges(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void grant_revoke_privileges(GrantRevokePrivilegeRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void grant_revoke_privileges(GrantRevokePrivilegeRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void set_ugi(String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void set_ugi(String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_delegation_token(String token_owner, String renewer_kerberos_principal_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_delegation_token(String token_owner, String renewer_kerberos_principal_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void renew_delegation_token(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void renew_delegation_token(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void cancel_delegation_token(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void cancel_delegation_token(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_open_txns(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_open_txns(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_open_txns_info(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_open_txns_info(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void open_txns(OpenTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void open_txns(OpenTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void abort_txn(AbortTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void abort_txn(AbortTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void commit_txn(CommitTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void commit_txn(CommitTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void lock(LockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void lock(LockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void check_lock(CheckLockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void check_lock(CheckLockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void unlock(UnlockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void unlock(UnlockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void show_locks(ShowLocksRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void show_locks(ShowLocksRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void heartbeat(HeartbeatRequest ids, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void heartbeat(HeartbeatRequest ids, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void heartbeat_txn_range(HeartbeatTxnRangeRequest txns, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void heartbeat_txn_range(HeartbeatTxnRangeRequest txns, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void compact(CompactionRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void compact(CompactionRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void show_compact(ShowCompactRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void show_compact(ShowCompactRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void add_dynamic_partitions(AddDynamicPartitions rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void add_dynamic_partitions(AddDynamicPartitions rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_next_notification(NotificationEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_next_notification(NotificationEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_current_notificationEventId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_current_notificationEventId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void fire_listener_event(FireEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void fire_listener_event(FireEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; } @@ -3293,6 +3301,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); @@ -4204,7 +4237,7 @@ public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, super(protocolFactory, clientManager, transport); } - public void getMetaConf(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void getMetaConf(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); getMetaConf_call method_call = new getMetaConf_call(key, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4213,7 +4246,7 @@ public void getMetaConf(String key, org.apache.thrift.async.AsyncMethodCallback< public static class getMetaConf_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - public getMetaConf_call(String key, 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 { + public getMetaConf_call(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; } @@ -4236,7 +4269,7 @@ public String getResult() throws MetaException, org.apache.thrift.TException { } } - public void setMetaConf(String key, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void setMetaConf(String key, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); setMetaConf_call method_call = new setMetaConf_call(key, value, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4246,7 +4279,7 @@ public void setMetaConf(String key, String value, org.apache.thrift.async.AsyncM public static class setMetaConf_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; private String value; - public setMetaConf_call(String key, String value, 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 { + public setMetaConf_call(String key, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; this.value = value; @@ -4271,7 +4304,7 @@ public void getResult() throws MetaException, org.apache.thrift.TException { } } - public void create_database(Database database, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void create_database(Database database, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); create_database_call method_call = new create_database_call(database, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4280,7 +4313,7 @@ public void create_database(Database database, org.apache.thrift.async.AsyncMeth public static class create_database_call extends org.apache.thrift.async.TAsyncMethodCall { private Database database; - public create_database_call(Database database, 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 { + public create_database_call(Database database, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.database = database; } @@ -4303,7 +4336,7 @@ public void getResult() throws AlreadyExistsException, InvalidObjectException, M } } - public void get_database(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_database(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_database_call method_call = new get_database_call(name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4312,7 +4345,7 @@ public void get_database(String name, org.apache.thrift.async.AsyncMethodCallbac public static class get_database_call extends org.apache.thrift.async.TAsyncMethodCall { private String name; - public get_database_call(String name, 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 { + public get_database_call(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.name = name; } @@ -4335,7 +4368,7 @@ public Database getResult() throws NoSuchObjectException, MetaException, org.apa } } - public void drop_database(String name, boolean deleteData, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void drop_database(String name, boolean deleteData, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); drop_database_call method_call = new drop_database_call(name, deleteData, cascade, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4346,7 +4379,7 @@ public void drop_database(String name, boolean deleteData, boolean cascade, org. private String name; private boolean deleteData; private boolean cascade; - public drop_database_call(String name, boolean deleteData, boolean cascade, 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 { + public drop_database_call(String name, boolean deleteData, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.name = name; this.deleteData = deleteData; @@ -4373,7 +4406,7 @@ public void getResult() throws NoSuchObjectException, InvalidOperationException, } } - public void get_databases(String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_databases(String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_databases_call method_call = new get_databases_call(pattern, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4382,7 +4415,7 @@ public void get_databases(String pattern, org.apache.thrift.async.AsyncMethodCal public static class get_databases_call extends org.apache.thrift.async.TAsyncMethodCall { private String pattern; - public get_databases_call(String pattern, 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 { + public get_databases_call(String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.pattern = pattern; } @@ -4405,7 +4438,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_all_databases(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_all_databases(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_all_databases_call method_call = new get_all_databases_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4413,7 +4446,7 @@ public void get_all_databases(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 { + public get_all_databases_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); } @@ -4434,7 +4467,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void alter_database(String dbname, Database db, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void alter_database(String dbname, Database db, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); alter_database_call method_call = new alter_database_call(dbname, db, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4444,7 +4477,7 @@ public void alter_database(String dbname, Database db, org.apache.thrift.async.A public static class alter_database_call extends org.apache.thrift.async.TAsyncMethodCall { private String dbname; private Database db; - public alter_database_call(String dbname, Database db, 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 { + public alter_database_call(String dbname, Database db, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbname = dbname; this.db = db; @@ -4469,7 +4502,7 @@ public void getResult() throws MetaException, NoSuchObjectException, org.apache. } } - public void get_type(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_type(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_type_call method_call = new get_type_call(name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4478,7 +4511,7 @@ public void get_type(String name, 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 { + public get_type_call(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.name = name; } @@ -4501,7 +4534,7 @@ public Type getResult() throws MetaException, NoSuchObjectException, org.apache. } } - public void create_type(Type type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void create_type(Type type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); create_type_call method_call = new create_type_call(type, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4510,7 +4543,7 @@ public void create_type(Type type, 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 { + public create_type_call(Type type, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.type = type; } @@ -4533,7 +4566,7 @@ public boolean getResult() throws AlreadyExistsException, InvalidObjectException } } - public void drop_type(String type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void drop_type(String type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); drop_type_call method_call = new drop_type_call(type, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4542,7 +4575,7 @@ public void drop_type(String type, 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 { + public drop_type_call(String type, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.type = type; } @@ -4565,7 +4598,7 @@ public boolean getResult() throws MetaException, NoSuchObjectException, org.apac } } - public void get_type_all(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_type_all(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_type_all_call method_call = new get_type_all_call(name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4574,7 +4607,7 @@ public void get_type_all(String name, org.apache.thrift.async.AsyncMethodCallbac public static class get_type_all_call extends org.apache.thrift.async.TAsyncMethodCall { private String name; - public get_type_all_call(String name, 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 { + public get_type_all_call(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.name = name; } @@ -4597,7 +4630,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_fields(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_fields(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_fields_call method_call = new get_fields_call(db_name, table_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4607,7 +4640,7 @@ public void get_fields(String db_name, String table_name, org.apache.thrift.asyn public static class get_fields_call extends org.apache.thrift.async.TAsyncMethodCall { private String db_name; private String table_name; - public get_fields_call(String db_name, String table_name, 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 { + public get_fields_call(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.table_name = table_name; @@ -4632,7 +4665,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_fields_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_fields_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_fields_with_environment_context_call method_call = new get_fields_with_environment_context_call(db_name, table_name, environment_context, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4643,7 +4676,7 @@ public void get_fields_with_environment_context(String db_name, String table_nam private String db_name; private String table_name; private EnvironmentContext environment_context; - public get_fields_with_environment_context_call(String db_name, String table_name, EnvironmentContext environment_context, 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 { + public get_fields_with_environment_context_call(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.table_name = table_name; @@ -4670,7 +4703,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_schema(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_schema(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_schema_call method_call = new get_schema_call(db_name, table_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4680,7 +4713,7 @@ public void get_schema(String db_name, String table_name, org.apache.thrift.asyn public static class get_schema_call extends org.apache.thrift.async.TAsyncMethodCall { private String db_name; private String table_name; - public get_schema_call(String db_name, String table_name, 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 { + public get_schema_call(String db_name, String table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.table_name = table_name; @@ -4705,7 +4738,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_schema_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_schema_with_environment_context(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_schema_with_environment_context_call method_call = new get_schema_with_environment_context_call(db_name, table_name, environment_context, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4716,7 +4749,7 @@ public void get_schema_with_environment_context(String db_name, String table_nam private String db_name; private String table_name; private EnvironmentContext environment_context; - public get_schema_with_environment_context_call(String db_name, String table_name, EnvironmentContext environment_context, 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 { + public get_schema_with_environment_context_call(String db_name, String table_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.table_name = table_name; @@ -4743,7 +4776,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void create_table(Table tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void create_table(Table tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); create_table_call method_call = new create_table_call(tbl, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4752,7 +4785,7 @@ public void create_table(Table tbl, org.apache.thrift.async.AsyncMethodCallback< public static class create_table_call extends org.apache.thrift.async.TAsyncMethodCall { private Table tbl; - public create_table_call(Table tbl, 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 { + public create_table_call(Table tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tbl = tbl; } @@ -4775,7 +4808,7 @@ public void getResult() throws AlreadyExistsException, InvalidObjectException, M } } - public void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); create_table_with_environment_context_call method_call = new create_table_with_environment_context_call(tbl, environment_context, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4785,7 +4818,7 @@ public void create_table_with_environment_context(Table tbl, EnvironmentContext public static class create_table_with_environment_context_call extends org.apache.thrift.async.TAsyncMethodCall { private Table tbl; private EnvironmentContext environment_context; - public create_table_with_environment_context_call(Table tbl, EnvironmentContext environment_context, 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 { + public create_table_with_environment_context_call(Table tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tbl = tbl; this.environment_context = environment_context; @@ -4810,7 +4843,7 @@ public void getResult() throws AlreadyExistsException, InvalidObjectException, M } } - public void drop_table(String dbname, String name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void drop_table(String dbname, String name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); drop_table_call method_call = new drop_table_call(dbname, name, deleteData, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4821,7 +4854,7 @@ public void drop_table(String dbname, String name, boolean deleteData, org.apach private String dbname; private String name; private boolean deleteData; - public drop_table_call(String dbname, String name, boolean deleteData, 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 { + public drop_table_call(String dbname, String name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbname = dbname; this.name = name; @@ -4848,7 +4881,7 @@ public void getResult() throws NoSuchObjectException, MetaException, org.apache. } } - public void drop_table_with_environment_context(String dbname, String name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void drop_table_with_environment_context(String dbname, String name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); drop_table_with_environment_context_call method_call = new drop_table_with_environment_context_call(dbname, name, deleteData, environment_context, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4860,7 +4893,7 @@ public void drop_table_with_environment_context(String dbname, String name, bool private String name; private boolean deleteData; private EnvironmentContext environment_context; - public drop_table_with_environment_context_call(String dbname, String name, boolean deleteData, EnvironmentContext environment_context, 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 { + public drop_table_with_environment_context_call(String dbname, String name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbname = dbname; this.name = name; @@ -4889,7 +4922,7 @@ public void getResult() throws NoSuchObjectException, MetaException, org.apache. } } - public void get_tables(String db_name, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_tables(String db_name, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_tables_call method_call = new get_tables_call(db_name, pattern, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4899,7 +4932,7 @@ public void get_tables(String db_name, String pattern, org.apache.thrift.async.A public static class get_tables_call extends org.apache.thrift.async.TAsyncMethodCall { private String db_name; private String pattern; - public get_tables_call(String db_name, String pattern, 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 { + public get_tables_call(String db_name, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.pattern = pattern; @@ -4924,7 +4957,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_all_tables(String db_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_all_tables(String db_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_all_tables_call method_call = new get_all_tables_call(db_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4933,7 +4966,7 @@ public void get_all_tables(String db_name, org.apache.thrift.async.AsyncMethodCa public static class get_all_tables_call extends org.apache.thrift.async.TAsyncMethodCall { private String db_name; - public get_all_tables_call(String db_name, 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 { + public get_all_tables_call(String db_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; } @@ -4956,7 +4989,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_table(String dbname, String tbl_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_table(String dbname, String tbl_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_table_call method_call = new get_table_call(dbname, tbl_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -4966,7 +4999,7 @@ public void get_table(String dbname, String tbl_name, org.apache.thrift.async.As public static class get_table_call extends org.apache.thrift.async.TAsyncMethodCall { private String dbname; private String tbl_name; - public get_table_call(String dbname, String tbl_name, 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 { + public get_table_call(String dbname, String tbl_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbname = dbname; this.tbl_name = tbl_name; @@ -4991,7 +5024,7 @@ public Table getResult() throws MetaException, NoSuchObjectException, org.apache } } - public void get_table_objects_by_name(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_table_objects_by_name(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_table_objects_by_name_call method_call = new get_table_objects_by_name_call(dbname, tbl_names, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5001,7 +5034,7 @@ public void get_table_objects_by_name(String dbname, List tbl_names, org public static class get_table_objects_by_name_call extends org.apache.thrift.async.TAsyncMethodCall { private String dbname; private List tbl_names; - public get_table_objects_by_name_call(String dbname, List tbl_names, 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 { + public get_table_objects_by_name_call(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbname = dbname; this.tbl_names = tbl_names; @@ -5026,7 +5059,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_table_names_by_filter(String dbname, String filter, short max_tables, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_table_names_by_filter(String dbname, String filter, short max_tables, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_table_names_by_filter_call method_call = new get_table_names_by_filter_call(dbname, filter, max_tables, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5037,7 +5070,7 @@ public void get_table_names_by_filter(String dbname, String filter, short max_ta private String dbname; private String filter; private short max_tables; - public get_table_names_by_filter_call(String dbname, String filter, short max_tables, 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 { + public get_table_names_by_filter_call(String dbname, String filter, short max_tables, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbname = dbname; this.filter = filter; @@ -5064,7 +5097,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void alter_table(String dbname, String tbl_name, Table new_tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void alter_table(String dbname, String tbl_name, Table new_tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); alter_table_call method_call = new alter_table_call(dbname, tbl_name, new_tbl, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5075,7 +5108,7 @@ public void alter_table(String dbname, String tbl_name, Table new_tbl, org.apach private String dbname; private String tbl_name; private Table new_tbl; - public alter_table_call(String dbname, String tbl_name, Table new_tbl, 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 { + public alter_table_call(String dbname, String tbl_name, Table new_tbl, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbname = dbname; this.tbl_name = tbl_name; @@ -5102,7 +5135,7 @@ public void getResult() throws InvalidOperationException, MetaException, org.apa } } - public void alter_table_with_environment_context(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void alter_table_with_environment_context(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); alter_table_with_environment_context_call method_call = new alter_table_with_environment_context_call(dbname, tbl_name, new_tbl, environment_context, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5114,7 +5147,7 @@ public void alter_table_with_environment_context(String dbname, String tbl_name, private String tbl_name; private Table new_tbl; private EnvironmentContext environment_context; - public alter_table_with_environment_context_call(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context, 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 { + public alter_table_with_environment_context_call(String dbname, String tbl_name, Table new_tbl, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbname = dbname; this.tbl_name = tbl_name; @@ -5143,7 +5176,7 @@ public void getResult() throws InvalidOperationException, MetaException, org.apa } } - public void alter_table_with_cascade(String dbname, String tbl_name, Table new_tbl, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void alter_table_with_cascade(String dbname, String tbl_name, Table new_tbl, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); alter_table_with_cascade_call method_call = new alter_table_with_cascade_call(dbname, tbl_name, new_tbl, cascade, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5155,7 +5188,7 @@ public void alter_table_with_cascade(String dbname, String tbl_name, Table new_t private String tbl_name; private Table new_tbl; private boolean cascade; - public alter_table_with_cascade_call(String dbname, String tbl_name, Table new_tbl, boolean cascade, 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 { + public alter_table_with_cascade_call(String dbname, String tbl_name, Table new_tbl, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbname = dbname; this.tbl_name = tbl_name; @@ -5184,7 +5217,7 @@ public void getResult() throws InvalidOperationException, MetaException, org.apa } } - public void add_partition(Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void add_partition(Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); add_partition_call method_call = new add_partition_call(new_part, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5193,7 +5226,7 @@ public void add_partition(Partition new_part, org.apache.thrift.async.AsyncMetho public static class add_partition_call extends org.apache.thrift.async.TAsyncMethodCall { private Partition new_part; - public add_partition_call(Partition new_part, 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 { + public add_partition_call(Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.new_part = new_part; } @@ -5216,7 +5249,7 @@ public Partition getResult() throws InvalidObjectException, AlreadyExistsExcepti } } - public void add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); add_partition_with_environment_context_call method_call = new add_partition_with_environment_context_call(new_part, environment_context, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5226,7 +5259,7 @@ public void add_partition_with_environment_context(Partition new_part, Environme public static class add_partition_with_environment_context_call extends org.apache.thrift.async.TAsyncMethodCall { private Partition new_part; private EnvironmentContext environment_context; - public add_partition_with_environment_context_call(Partition new_part, EnvironmentContext environment_context, 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 { + public add_partition_with_environment_context_call(Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.new_part = new_part; this.environment_context = environment_context; @@ -5251,7 +5284,7 @@ public Partition getResult() throws InvalidObjectException, AlreadyExistsExcepti } } - public void add_partitions(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void add_partitions(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); add_partitions_call method_call = new add_partitions_call(new_parts, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5260,7 +5293,7 @@ public void add_partitions(List new_parts, org.apache.thrift.async.As public static class add_partitions_call extends org.apache.thrift.async.TAsyncMethodCall { private List new_parts; - public add_partitions_call(List new_parts, 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 { + public add_partitions_call(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.new_parts = new_parts; } @@ -5283,7 +5316,7 @@ public int getResult() throws InvalidObjectException, AlreadyExistsException, Me } } - public void add_partitions_pspec(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void add_partitions_pspec(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); add_partitions_pspec_call method_call = new add_partitions_pspec_call(new_parts, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5292,7 +5325,7 @@ public void add_partitions_pspec(List new_parts, org.apache.thrif public static class add_partitions_pspec_call extends org.apache.thrift.async.TAsyncMethodCall { private List new_parts; - public add_partitions_pspec_call(List new_parts, 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 { + public add_partitions_pspec_call(List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.new_parts = new_parts; } @@ -5315,7 +5348,7 @@ public int getResult() throws InvalidObjectException, AlreadyExistsException, Me } } - public void append_partition(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void append_partition(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); append_partition_call method_call = new append_partition_call(db_name, tbl_name, part_vals, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5326,7 +5359,7 @@ public void append_partition(String db_name, String tbl_name, List part_ private String db_name; private String tbl_name; private List part_vals; - public append_partition_call(String db_name, String tbl_name, List part_vals, 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 { + public append_partition_call(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5353,7 +5386,7 @@ public Partition getResult() throws InvalidObjectException, AlreadyExistsExcepti } } - public void add_partitions_req(AddPartitionsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void add_partitions_req(AddPartitionsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); add_partitions_req_call method_call = new add_partitions_req_call(request, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5362,7 +5395,7 @@ public void add_partitions_req(AddPartitionsRequest request, org.apache.thrift.a public static class add_partitions_req_call extends org.apache.thrift.async.TAsyncMethodCall { private AddPartitionsRequest request; - public add_partitions_req_call(AddPartitionsRequest request, 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 { + public add_partitions_req_call(AddPartitionsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.request = request; } @@ -5385,7 +5418,7 @@ public AddPartitionsResult getResult() throws InvalidObjectException, AlreadyExi } } - public void append_partition_with_environment_context(String db_name, String tbl_name, List part_vals, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void append_partition_with_environment_context(String db_name, String tbl_name, List part_vals, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); append_partition_with_environment_context_call method_call = new append_partition_with_environment_context_call(db_name, tbl_name, part_vals, environment_context, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5397,7 +5430,7 @@ public void append_partition_with_environment_context(String db_name, String tbl private String tbl_name; private List part_vals; private EnvironmentContext environment_context; - public append_partition_with_environment_context_call(String db_name, String tbl_name, List part_vals, EnvironmentContext environment_context, 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 { + public append_partition_with_environment_context_call(String db_name, String tbl_name, List part_vals, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5426,7 +5459,7 @@ public Partition getResult() throws InvalidObjectException, AlreadyExistsExcepti } } - public void append_partition_by_name(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void append_partition_by_name(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); append_partition_by_name_call method_call = new append_partition_by_name_call(db_name, tbl_name, part_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5437,7 +5470,7 @@ public void append_partition_by_name(String db_name, String tbl_name, String par private String db_name; private String tbl_name; private String part_name; - public append_partition_by_name_call(String db_name, String tbl_name, String part_name, 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 { + public append_partition_by_name_call(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5464,7 +5497,7 @@ public Partition getResult() throws InvalidObjectException, AlreadyExistsExcepti } } - public void append_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void append_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); append_partition_by_name_with_environment_context_call method_call = new append_partition_by_name_with_environment_context_call(db_name, tbl_name, part_name, environment_context, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5476,7 +5509,7 @@ public void append_partition_by_name_with_environment_context(String db_name, St private String tbl_name; private String part_name; private EnvironmentContext environment_context; - public append_partition_by_name_with_environment_context_call(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context, 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 { + public append_partition_by_name_with_environment_context_call(String db_name, String tbl_name, String part_name, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5505,7 +5538,7 @@ public Partition getResult() throws InvalidObjectException, AlreadyExistsExcepti } } - public void drop_partition(String db_name, String tbl_name, List part_vals, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void drop_partition(String db_name, String tbl_name, List part_vals, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); drop_partition_call method_call = new drop_partition_call(db_name, tbl_name, part_vals, deleteData, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5517,7 +5550,7 @@ public void drop_partition(String db_name, String tbl_name, List part_va private String tbl_name; private List part_vals; private boolean deleteData; - public drop_partition_call(String db_name, String tbl_name, List part_vals, boolean deleteData, 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 { + public drop_partition_call(String db_name, String tbl_name, List part_vals, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5546,7 +5579,7 @@ public boolean getResult() throws NoSuchObjectException, MetaException, org.apac } } - public void drop_partition_with_environment_context(String db_name, String tbl_name, List part_vals, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void drop_partition_with_environment_context(String db_name, String tbl_name, List part_vals, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); drop_partition_with_environment_context_call method_call = new drop_partition_with_environment_context_call(db_name, tbl_name, part_vals, deleteData, environment_context, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5559,7 +5592,7 @@ public void drop_partition_with_environment_context(String db_name, String tbl_n private List part_vals; private boolean deleteData; private EnvironmentContext environment_context; - public drop_partition_with_environment_context_call(String db_name, String tbl_name, List part_vals, boolean deleteData, EnvironmentContext environment_context, 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 { + public drop_partition_with_environment_context_call(String db_name, String tbl_name, List part_vals, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5590,7 +5623,7 @@ public boolean getResult() throws NoSuchObjectException, MetaException, org.apac } } - public void drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); drop_partition_by_name_call method_call = new drop_partition_by_name_call(db_name, tbl_name, part_name, deleteData, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5602,7 +5635,7 @@ public void drop_partition_by_name(String db_name, String tbl_name, String part_ private String tbl_name; private String part_name; private boolean deleteData; - public drop_partition_by_name_call(String db_name, String tbl_name, String part_name, boolean deleteData, 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 { + public drop_partition_by_name_call(String db_name, String tbl_name, String part_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5631,7 +5664,7 @@ public boolean getResult() throws NoSuchObjectException, MetaException, org.apac } } - public void drop_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void drop_partition_by_name_with_environment_context(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); drop_partition_by_name_with_environment_context_call method_call = new drop_partition_by_name_with_environment_context_call(db_name, tbl_name, part_name, deleteData, environment_context, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5644,7 +5677,7 @@ public void drop_partition_by_name_with_environment_context(String db_name, Stri private String part_name; private boolean deleteData; private EnvironmentContext environment_context; - public drop_partition_by_name_with_environment_context_call(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context, 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 { + public drop_partition_by_name_with_environment_context_call(String db_name, String tbl_name, String part_name, boolean deleteData, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5675,7 +5708,7 @@ public boolean getResult() throws NoSuchObjectException, MetaException, org.apac } } - public void drop_partitions_req(DropPartitionsRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void drop_partitions_req(DropPartitionsRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); drop_partitions_req_call method_call = new drop_partitions_req_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5684,7 +5717,7 @@ public void drop_partitions_req(DropPartitionsRequest req, org.apache.thrift.asy public static class drop_partitions_req_call extends org.apache.thrift.async.TAsyncMethodCall { private DropPartitionsRequest req; - public drop_partitions_req_call(DropPartitionsRequest req, 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 { + public drop_partitions_req_call(DropPartitionsRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -5707,7 +5740,7 @@ public DropPartitionsResult getResult() throws NoSuchObjectException, MetaExcept } } - public void get_partition(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partition(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partition_call method_call = new get_partition_call(db_name, tbl_name, part_vals, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5718,7 +5751,7 @@ public void get_partition(String db_name, String tbl_name, List part_val private String db_name; private String tbl_name; private List part_vals; - public get_partition_call(String db_name, String tbl_name, List part_vals, 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 { + public get_partition_call(String db_name, String tbl_name, List part_vals, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5745,7 +5778,7 @@ public Partition getResult() throws MetaException, NoSuchObjectException, org.ap } } - public void exchange_partition(Map partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void exchange_partition(Map partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); exchange_partition_call method_call = new exchange_partition_call(partitionSpecs, source_db, source_table_name, dest_db, dest_table_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5758,7 +5791,7 @@ public void exchange_partition(Map partitionSpecs, String source_ private String source_table_name; private String dest_db; private String dest_table_name; - public exchange_partition_call(Map partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name, 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 { + public exchange_partition_call(Map partitionSpecs, String source_db, String source_table_name, String dest_db, String dest_table_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.partitionSpecs = partitionSpecs; this.source_db = source_db; @@ -5789,7 +5822,7 @@ public Partition getResult() throws MetaException, NoSuchObjectException, Invali } } - public void get_partition_with_auth(String db_name, String tbl_name, List part_vals, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partition_with_auth(String db_name, String tbl_name, List part_vals, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partition_with_auth_call method_call = new get_partition_with_auth_call(db_name, tbl_name, part_vals, user_name, group_names, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5802,7 +5835,7 @@ public void get_partition_with_auth(String db_name, String tbl_name, List part_vals; private String user_name; private List group_names; - public get_partition_with_auth_call(String db_name, String tbl_name, List part_vals, String user_name, List group_names, 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 { + public get_partition_with_auth_call(String db_name, String tbl_name, List part_vals, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5833,7 +5866,7 @@ public Partition getResult() throws MetaException, NoSuchObjectException, org.ap } } - public void get_partition_by_name(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partition_by_name(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partition_by_name_call method_call = new get_partition_by_name_call(db_name, tbl_name, part_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5844,7 +5877,7 @@ public void get_partition_by_name(String db_name, String tbl_name, String part_n private String db_name; private String tbl_name; private String part_name; - public get_partition_by_name_call(String db_name, String tbl_name, String part_name, 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 { + public get_partition_by_name_call(String db_name, String tbl_name, String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5871,7 +5904,7 @@ public Partition getResult() throws MetaException, NoSuchObjectException, org.ap } } - public void get_partitions(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partitions(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partitions_call method_call = new get_partitions_call(db_name, tbl_name, max_parts, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5882,7 +5915,7 @@ public void get_partitions(String db_name, String tbl_name, short max_parts, org private String db_name; private String tbl_name; private short max_parts; - public get_partitions_call(String db_name, String tbl_name, short max_parts, 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 { + public get_partitions_call(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5909,7 +5942,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_partitions_with_auth(String db_name, String tbl_name, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partitions_with_auth(String db_name, String tbl_name, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partitions_with_auth_call method_call = new get_partitions_with_auth_call(db_name, tbl_name, max_parts, user_name, group_names, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5922,7 +5955,7 @@ public void get_partitions_with_auth(String db_name, String tbl_name, short max_ private short max_parts; private String user_name; private List group_names; - public get_partitions_with_auth_call(String db_name, String tbl_name, short max_parts, String user_name, List group_names, 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 { + public get_partitions_with_auth_call(String db_name, String tbl_name, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5953,7 +5986,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_partitions_pspec(String db_name, String tbl_name, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partitions_pspec(String db_name, String tbl_name, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partitions_pspec_call method_call = new get_partitions_pspec_call(db_name, tbl_name, max_parts, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -5964,7 +5997,7 @@ public void get_partitions_pspec(String db_name, String tbl_name, int max_parts, private String db_name; private String tbl_name; private int max_parts; - public get_partitions_pspec_call(String db_name, String tbl_name, int max_parts, 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 { + public get_partitions_pspec_call(String db_name, String tbl_name, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -5991,7 +6024,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_partition_names(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partition_names(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partition_names_call method_call = new get_partition_names_call(db_name, tbl_name, max_parts, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6002,7 +6035,7 @@ public void get_partition_names(String db_name, String tbl_name, short max_parts private String db_name; private String tbl_name; private short max_parts; - public get_partition_names_call(String db_name, String tbl_name, short max_parts, 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 { + public get_partition_names_call(String db_name, String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6029,7 +6062,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_partitions_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partitions_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partitions_ps_call method_call = new get_partitions_ps_call(db_name, tbl_name, part_vals, max_parts, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6041,7 +6074,7 @@ public void get_partitions_ps(String db_name, String tbl_name, List part private String tbl_name; private List part_vals; private short max_parts; - public get_partitions_ps_call(String db_name, String tbl_name, List part_vals, short max_parts, 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 { + public get_partitions_ps_call(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6070,7 +6103,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_partitions_ps_with_auth(String db_name, String tbl_name, List part_vals, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partitions_ps_with_auth(String db_name, String tbl_name, List part_vals, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partitions_ps_with_auth_call method_call = new get_partitions_ps_with_auth_call(db_name, tbl_name, part_vals, max_parts, user_name, group_names, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6084,7 +6117,7 @@ public void get_partitions_ps_with_auth(String db_name, String tbl_name, List group_names; - public get_partitions_ps_with_auth_call(String db_name, String tbl_name, List part_vals, short max_parts, String user_name, List group_names, 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 { + public get_partitions_ps_with_auth_call(String db_name, String tbl_name, List part_vals, short max_parts, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6117,7 +6150,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_partition_names_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partition_names_ps(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partition_names_ps_call method_call = new get_partition_names_ps_call(db_name, tbl_name, part_vals, max_parts, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6129,7 +6162,7 @@ public void get_partition_names_ps(String db_name, String tbl_name, List private String tbl_name; private List part_vals; private short max_parts; - public get_partition_names_ps_call(String db_name, String tbl_name, List part_vals, short max_parts, 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 { + public get_partition_names_ps_call(String db_name, String tbl_name, List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6158,7 +6191,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_partitions_by_filter(String db_name, String tbl_name, String filter, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partitions_by_filter(String db_name, String tbl_name, String filter, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partitions_by_filter_call method_call = new get_partitions_by_filter_call(db_name, tbl_name, filter, max_parts, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6170,7 +6203,7 @@ public void get_partitions_by_filter(String db_name, String tbl_name, String fil private String tbl_name; private String filter; private short max_parts; - public get_partitions_by_filter_call(String db_name, String tbl_name, String filter, short max_parts, 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 { + public get_partitions_by_filter_call(String db_name, String tbl_name, String filter, short max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6199,7 +6232,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_part_specs_by_filter(String db_name, String tbl_name, String filter, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_part_specs_by_filter(String db_name, String tbl_name, String filter, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_part_specs_by_filter_call method_call = new get_part_specs_by_filter_call(db_name, tbl_name, filter, max_parts, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6211,7 +6244,7 @@ public void get_part_specs_by_filter(String db_name, String tbl_name, String fil private String tbl_name; private String filter; private int max_parts; - public get_part_specs_by_filter_call(String db_name, String tbl_name, String filter, int max_parts, 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 { + public get_part_specs_by_filter_call(String db_name, String tbl_name, String filter, int max_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6240,7 +6273,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_partitions_by_expr(PartitionsByExprRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partitions_by_expr(PartitionsByExprRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partitions_by_expr_call method_call = new get_partitions_by_expr_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6249,7 +6282,7 @@ public void get_partitions_by_expr(PartitionsByExprRequest req, org.apache.thrif public static class get_partitions_by_expr_call extends org.apache.thrift.async.TAsyncMethodCall { private PartitionsByExprRequest req; - public get_partitions_by_expr_call(PartitionsByExprRequest req, 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 { + public get_partitions_by_expr_call(PartitionsByExprRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -6272,7 +6305,7 @@ public PartitionsByExprResult getResult() throws MetaException, NoSuchObjectExce } } - public void get_partitions_by_names(String db_name, String tbl_name, List names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partitions_by_names(String db_name, String tbl_name, List names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partitions_by_names_call method_call = new get_partitions_by_names_call(db_name, tbl_name, names, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6283,7 +6316,7 @@ public void get_partitions_by_names(String db_name, String tbl_name, List names; - public get_partitions_by_names_call(String db_name, String tbl_name, List names, 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 { + public get_partitions_by_names_call(String db_name, String tbl_name, List names, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6310,7 +6343,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void alter_partition(String db_name, String tbl_name, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void alter_partition(String db_name, String tbl_name, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); alter_partition_call method_call = new alter_partition_call(db_name, tbl_name, new_part, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6321,7 +6354,7 @@ public void alter_partition(String db_name, String tbl_name, Partition new_part, private String db_name; private String tbl_name; private Partition new_part; - public alter_partition_call(String db_name, String tbl_name, Partition new_part, 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 { + public alter_partition_call(String db_name, String tbl_name, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6348,7 +6381,7 @@ public void getResult() throws InvalidOperationException, MetaException, org.apa } } - public void alter_partitions(String db_name, String tbl_name, List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void alter_partitions(String db_name, String tbl_name, List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); alter_partitions_call method_call = new alter_partitions_call(db_name, tbl_name, new_parts, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6359,7 +6392,7 @@ public void alter_partitions(String db_name, String tbl_name, List ne private String db_name; private String tbl_name; private List new_parts; - public alter_partitions_call(String db_name, String tbl_name, List new_parts, 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 { + public alter_partitions_call(String db_name, String tbl_name, List new_parts, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6386,7 +6419,7 @@ public void getResult() throws InvalidOperationException, MetaException, org.apa } } - public void alter_partition_with_environment_context(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void alter_partition_with_environment_context(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); alter_partition_with_environment_context_call method_call = new alter_partition_with_environment_context_call(db_name, tbl_name, new_part, environment_context, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6398,7 +6431,7 @@ public void alter_partition_with_environment_context(String db_name, String tbl_ private String tbl_name; private Partition new_part; private EnvironmentContext environment_context; - public alter_partition_with_environment_context_call(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context, 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 { + public alter_partition_with_environment_context_call(String db_name, String tbl_name, Partition new_part, EnvironmentContext environment_context, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6427,7 +6460,7 @@ public void getResult() throws InvalidOperationException, MetaException, org.apa } } - public void rename_partition(String db_name, String tbl_name, List part_vals, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void rename_partition(String db_name, String tbl_name, List part_vals, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); rename_partition_call method_call = new rename_partition_call(db_name, tbl_name, part_vals, new_part, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6439,7 +6472,7 @@ public void rename_partition(String db_name, String tbl_name, List part_ private String tbl_name; private List part_vals; private Partition new_part; - public rename_partition_call(String db_name, String tbl_name, List part_vals, Partition new_part, 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 { + public rename_partition_call(String db_name, String tbl_name, List part_vals, Partition new_part, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6468,7 +6501,7 @@ public void getResult() throws InvalidOperationException, MetaException, org.apa } } - public void partition_name_has_valid_characters(List part_vals, boolean throw_exception, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void partition_name_has_valid_characters(List part_vals, boolean throw_exception, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); partition_name_has_valid_characters_call method_call = new partition_name_has_valid_characters_call(part_vals, throw_exception, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6478,7 +6511,7 @@ public void partition_name_has_valid_characters(List part_vals, boolean public static class partition_name_has_valid_characters_call extends org.apache.thrift.async.TAsyncMethodCall { private List part_vals; private boolean throw_exception; - public partition_name_has_valid_characters_call(List part_vals, boolean throw_exception, 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 { + public partition_name_has_valid_characters_call(List part_vals, boolean throw_exception, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.part_vals = part_vals; this.throw_exception = throw_exception; @@ -6503,7 +6536,7 @@ public boolean getResult() throws MetaException, org.apache.thrift.TException { } } - public void get_config_value(String name, String defaultValue, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_config_value(String name, String defaultValue, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_config_value_call method_call = new get_config_value_call(name, defaultValue, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6513,7 +6546,7 @@ public void get_config_value(String name, String defaultValue, org.apache.thrift public static class get_config_value_call extends org.apache.thrift.async.TAsyncMethodCall { private String name; private String defaultValue; - public get_config_value_call(String name, String defaultValue, 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 { + public get_config_value_call(String name, String defaultValue, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.name = name; this.defaultValue = defaultValue; @@ -6538,7 +6571,7 @@ public String getResult() throws ConfigValSecurityException, org.apache.thrift.T } } - public void partition_name_to_vals(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void partition_name_to_vals(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); partition_name_to_vals_call method_call = new partition_name_to_vals_call(part_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6547,7 +6580,7 @@ public void partition_name_to_vals(String part_name, org.apache.thrift.async.Asy public static class partition_name_to_vals_call extends org.apache.thrift.async.TAsyncMethodCall { private String part_name; - public partition_name_to_vals_call(String part_name, 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 { + public partition_name_to_vals_call(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.part_name = part_name; } @@ -6570,7 +6603,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void partition_name_to_spec(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void partition_name_to_spec(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); partition_name_to_spec_call method_call = new partition_name_to_spec_call(part_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6579,7 +6612,7 @@ public void partition_name_to_spec(String part_name, org.apache.thrift.async.Asy public static class partition_name_to_spec_call extends org.apache.thrift.async.TAsyncMethodCall { private String part_name; - public partition_name_to_spec_call(String part_name, 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 { + public partition_name_to_spec_call(String part_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.part_name = part_name; } @@ -6602,7 +6635,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void markPartitionForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void markPartitionForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); markPartitionForEvent_call method_call = new markPartitionForEvent_call(db_name, tbl_name, part_vals, eventType, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6614,7 +6647,7 @@ public void markPartitionForEvent(String db_name, String tbl_name, Map part_vals; private PartitionEventType eventType; - public markPartitionForEvent_call(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, 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 { + public markPartitionForEvent_call(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6643,7 +6676,7 @@ public void getResult() throws MetaException, NoSuchObjectException, UnknownDBEx } } - public void isPartitionMarkedForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void isPartitionMarkedForEvent(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); isPartitionMarkedForEvent_call method_call = new isPartitionMarkedForEvent_call(db_name, tbl_name, part_vals, eventType, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6655,7 +6688,7 @@ public void isPartitionMarkedForEvent(String db_name, String tbl_name, Map part_vals; private PartitionEventType eventType; - public isPartitionMarkedForEvent_call(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, 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 { + public isPartitionMarkedForEvent_call(String db_name, String tbl_name, Map part_vals, PartitionEventType eventType, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6684,7 +6717,7 @@ public boolean getResult() throws MetaException, NoSuchObjectException, UnknownD } } - public void add_index(Index new_index, Table index_table, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void add_index(Index new_index, Table index_table, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); add_index_call method_call = new add_index_call(new_index, index_table, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6694,7 +6727,7 @@ public void add_index(Index new_index, Table index_table, org.apache.thrift.asyn public static class add_index_call extends org.apache.thrift.async.TAsyncMethodCall { private Index new_index; private Table index_table; - public add_index_call(Index new_index, Table index_table, 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 { + public add_index_call(Index new_index, Table index_table, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.new_index = new_index; this.index_table = index_table; @@ -6719,7 +6752,7 @@ public Index getResult() throws InvalidObjectException, AlreadyExistsException, } } - public void alter_index(String dbname, String base_tbl_name, String idx_name, Index new_idx, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void alter_index(String dbname, String base_tbl_name, String idx_name, Index new_idx, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); alter_index_call method_call = new alter_index_call(dbname, base_tbl_name, idx_name, new_idx, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6731,7 +6764,7 @@ public void alter_index(String dbname, String base_tbl_name, String idx_name, In private String base_tbl_name; private String idx_name; private Index new_idx; - public alter_index_call(String dbname, String base_tbl_name, String idx_name, Index new_idx, 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 { + public alter_index_call(String dbname, String base_tbl_name, String idx_name, Index new_idx, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbname = dbname; this.base_tbl_name = base_tbl_name; @@ -6760,7 +6793,7 @@ public void getResult() throws InvalidOperationException, MetaException, org.apa } } - public void drop_index_by_name(String db_name, String tbl_name, String index_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void drop_index_by_name(String db_name, String tbl_name, String index_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); drop_index_by_name_call method_call = new drop_index_by_name_call(db_name, tbl_name, index_name, deleteData, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6772,7 +6805,7 @@ public void drop_index_by_name(String db_name, String tbl_name, String index_nam private String tbl_name; private String index_name; private boolean deleteData; - public drop_index_by_name_call(String db_name, String tbl_name, String index_name, boolean deleteData, 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 { + public drop_index_by_name_call(String db_name, String tbl_name, String index_name, boolean deleteData, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6801,7 +6834,7 @@ public boolean getResult() throws NoSuchObjectException, MetaException, org.apac } } - public void get_index_by_name(String db_name, String tbl_name, String index_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_index_by_name(String db_name, String tbl_name, String index_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_index_by_name_call method_call = new get_index_by_name_call(db_name, tbl_name, index_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6812,7 +6845,7 @@ public void get_index_by_name(String db_name, String tbl_name, String index_name private String db_name; private String tbl_name; private String index_name; - public get_index_by_name_call(String db_name, String tbl_name, String index_name, 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 { + public get_index_by_name_call(String db_name, String tbl_name, String index_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6839,7 +6872,7 @@ public Index getResult() throws MetaException, NoSuchObjectException, org.apache } } - public void get_indexes(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_indexes(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_indexes_call method_call = new get_indexes_call(db_name, tbl_name, max_indexes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6850,7 +6883,7 @@ public void get_indexes(String db_name, String tbl_name, short max_indexes, org. private String db_name; private String tbl_name; private short max_indexes; - public get_indexes_call(String db_name, String tbl_name, short max_indexes, 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 { + public get_indexes_call(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6877,7 +6910,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_index_names(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_index_names(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_index_names_call method_call = new get_index_names_call(db_name, tbl_name, max_indexes, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6888,7 +6921,7 @@ public void get_index_names(String db_name, String tbl_name, short max_indexes, private String db_name; private String tbl_name; private short max_indexes; - public get_index_names_call(String db_name, String tbl_name, short max_indexes, 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 { + public get_index_names_call(String db_name, String tbl_name, short max_indexes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -6915,7 +6948,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void update_table_column_statistics(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void update_table_column_statistics(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); update_table_column_statistics_call method_call = new update_table_column_statistics_call(stats_obj, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6924,7 +6957,7 @@ public void update_table_column_statistics(ColumnStatistics stats_obj, org.apach public static class update_table_column_statistics_call extends org.apache.thrift.async.TAsyncMethodCall { private ColumnStatistics stats_obj; - public update_table_column_statistics_call(ColumnStatistics stats_obj, 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 { + public update_table_column_statistics_call(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.stats_obj = stats_obj; } @@ -6947,7 +6980,7 @@ public boolean getResult() throws NoSuchObjectException, InvalidObjectException, } } - public void update_partition_column_statistics(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void update_partition_column_statistics(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); update_partition_column_statistics_call method_call = new update_partition_column_statistics_call(stats_obj, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6956,7 +6989,7 @@ public void update_partition_column_statistics(ColumnStatistics stats_obj, org.a public static class update_partition_column_statistics_call extends org.apache.thrift.async.TAsyncMethodCall { private ColumnStatistics stats_obj; - public update_partition_column_statistics_call(ColumnStatistics stats_obj, 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 { + public update_partition_column_statistics_call(ColumnStatistics stats_obj, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.stats_obj = stats_obj; } @@ -6979,7 +7012,7 @@ public boolean getResult() throws NoSuchObjectException, InvalidObjectException, } } - public void get_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_table_column_statistics_call method_call = new get_table_column_statistics_call(db_name, tbl_name, col_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -6990,7 +7023,7 @@ public void get_table_column_statistics(String db_name, String tbl_name, String private String db_name; private String tbl_name; private String col_name; - public get_table_column_statistics_call(String db_name, String tbl_name, String col_name, 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 { + public get_table_column_statistics_call(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -7017,7 +7050,7 @@ public ColumnStatistics getResult() throws NoSuchObjectException, MetaException, } } - public void get_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partition_column_statistics_call method_call = new get_partition_column_statistics_call(db_name, tbl_name, part_name, col_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7029,7 +7062,7 @@ public void get_partition_column_statistics(String db_name, String tbl_name, Str private String tbl_name; private String part_name; private String col_name; - public get_partition_column_statistics_call(String db_name, String tbl_name, String part_name, String col_name, 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 { + public get_partition_column_statistics_call(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -7058,7 +7091,7 @@ public ColumnStatistics getResult() throws NoSuchObjectException, MetaException, } } - public void get_table_statistics_req(TableStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_table_statistics_req(TableStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_table_statistics_req_call method_call = new get_table_statistics_req_call(request, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7067,7 +7100,7 @@ public void get_table_statistics_req(TableStatsRequest request, org.apache.thrif public static class get_table_statistics_req_call extends org.apache.thrift.async.TAsyncMethodCall { private TableStatsRequest request; - public get_table_statistics_req_call(TableStatsRequest request, 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 { + public get_table_statistics_req_call(TableStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.request = request; } @@ -7090,7 +7123,7 @@ public TableStatsResult getResult() throws NoSuchObjectException, MetaException, } } - public void get_partitions_statistics_req(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_partitions_statistics_req(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partitions_statistics_req_call method_call = new get_partitions_statistics_req_call(request, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7099,7 +7132,7 @@ public void get_partitions_statistics_req(PartitionsStatsRequest request, org.ap public static class get_partitions_statistics_req_call extends org.apache.thrift.async.TAsyncMethodCall { private PartitionsStatsRequest request; - public get_partitions_statistics_req_call(PartitionsStatsRequest request, 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 { + public get_partitions_statistics_req_call(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.request = request; } @@ -7122,7 +7155,7 @@ public PartitionsStatsResult getResult() throws NoSuchObjectException, MetaExcep } } - public void get_aggr_stats_for(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_aggr_stats_for(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_aggr_stats_for_call method_call = new get_aggr_stats_for_call(request, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7131,7 +7164,7 @@ public void get_aggr_stats_for(PartitionsStatsRequest request, org.apache.thrift public static class get_aggr_stats_for_call extends org.apache.thrift.async.TAsyncMethodCall { private PartitionsStatsRequest request; - public get_aggr_stats_for_call(PartitionsStatsRequest request, 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 { + public get_aggr_stats_for_call(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.request = request; } @@ -7154,7 +7187,7 @@ public AggrStats getResult() throws NoSuchObjectException, MetaException, org.ap } } - public void set_aggr_stats_for(SetPartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void set_aggr_stats_for(SetPartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); set_aggr_stats_for_call method_call = new set_aggr_stats_for_call(request, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7163,7 +7196,7 @@ public void set_aggr_stats_for(SetPartitionsStatsRequest request, org.apache.thr public static class set_aggr_stats_for_call extends org.apache.thrift.async.TAsyncMethodCall { private SetPartitionsStatsRequest request; - public set_aggr_stats_for_call(SetPartitionsStatsRequest request, 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 { + public set_aggr_stats_for_call(SetPartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.request = request; } @@ -7186,7 +7219,7 @@ public boolean getResult() throws NoSuchObjectException, InvalidObjectException, } } - public void delete_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void delete_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); delete_partition_column_statistics_call method_call = new delete_partition_column_statistics_call(db_name, tbl_name, part_name, col_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7198,7 +7231,7 @@ public void delete_partition_column_statistics(String db_name, String tbl_name, private String tbl_name; private String part_name; private String col_name; - public delete_partition_column_statistics_call(String db_name, String tbl_name, String part_name, String col_name, 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 { + public delete_partition_column_statistics_call(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -7227,7 +7260,7 @@ public boolean getResult() throws NoSuchObjectException, MetaException, InvalidO } } - public void delete_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void delete_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); delete_table_column_statistics_call method_call = new delete_table_column_statistics_call(db_name, tbl_name, col_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7238,7 +7271,7 @@ public void delete_table_column_statistics(String db_name, String tbl_name, Stri private String db_name; private String tbl_name; private String col_name; - public delete_table_column_statistics_call(String db_name, String tbl_name, String col_name, 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 { + public delete_table_column_statistics_call(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.db_name = db_name; this.tbl_name = tbl_name; @@ -7265,7 +7298,7 @@ public boolean getResult() throws NoSuchObjectException, MetaException, InvalidO } } - public void create_function(Function func, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void create_function(Function func, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); create_function_call method_call = new create_function_call(func, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7274,7 +7307,7 @@ public void create_function(Function func, org.apache.thrift.async.AsyncMethodCa public static class create_function_call extends org.apache.thrift.async.TAsyncMethodCall { private Function func; - public create_function_call(Function func, 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 { + public create_function_call(Function func, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.func = func; } @@ -7297,7 +7330,7 @@ public void getResult() throws AlreadyExistsException, InvalidObjectException, M } } - public void drop_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void drop_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); drop_function_call method_call = new drop_function_call(dbName, funcName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7307,7 +7340,7 @@ public void drop_function(String dbName, String funcName, org.apache.thrift.asyn public static class drop_function_call extends org.apache.thrift.async.TAsyncMethodCall { private String dbName; private String funcName; - public drop_function_call(String dbName, String funcName, 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 { + public drop_function_call(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbName = dbName; this.funcName = funcName; @@ -7332,7 +7365,7 @@ public void getResult() throws NoSuchObjectException, MetaException, org.apache. } } - public void alter_function(String dbName, String funcName, Function newFunc, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void alter_function(String dbName, String funcName, Function newFunc, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); alter_function_call method_call = new alter_function_call(dbName, funcName, newFunc, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7343,7 +7376,7 @@ public void alter_function(String dbName, String funcName, Function newFunc, org private String dbName; private String funcName; private Function newFunc; - public alter_function_call(String dbName, String funcName, Function newFunc, 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 { + public alter_function_call(String dbName, String funcName, Function newFunc, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbName = dbName; this.funcName = funcName; @@ -7370,7 +7403,7 @@ public void getResult() throws InvalidOperationException, MetaException, org.apa } } - public void get_functions(String dbName, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_functions(String dbName, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_functions_call method_call = new get_functions_call(dbName, pattern, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7380,7 +7413,7 @@ public void get_functions(String dbName, String pattern, org.apache.thrift.async public static class get_functions_call extends org.apache.thrift.async.TAsyncMethodCall { private String dbName; private String pattern; - public get_functions_call(String dbName, String pattern, 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 { + public get_functions_call(String dbName, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbName = dbName; this.pattern = pattern; @@ -7405,7 +7438,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_function_call method_call = new get_function_call(dbName, funcName, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7415,7 +7448,7 @@ public void get_function(String dbName, String funcName, org.apache.thrift.async public static class get_function_call extends org.apache.thrift.async.TAsyncMethodCall { private String dbName; private String funcName; - public get_function_call(String dbName, String funcName, 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 { + public get_function_call(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.dbName = dbName; this.funcName = funcName; @@ -7440,7 +7473,36 @@ public Function getResult() throws MetaException, NoSuchObjectException, org.apa } } - public void create_role(Role role, 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 { + 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); this.___currentMethod = method_call; @@ -7449,7 +7511,7 @@ public void create_role(Role role, 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 { + public create_role_call(Role role, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.role = role; } @@ -7472,7 +7534,7 @@ public boolean getResult() throws MetaException, org.apache.thrift.TException { } } - public void drop_role(String role_name, 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 { checkReady(); drop_role_call method_call = new drop_role_call(role_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7481,7 +7543,7 @@ public void drop_role(String role_name, org.apache.thrift.async.AsyncMethodCallb public static class drop_role_call extends org.apache.thrift.async.TAsyncMethodCall { private String role_name; - public drop_role_call(String role_name, 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 { + public drop_role_call(String role_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.role_name = role_name; } @@ -7504,7 +7566,7 @@ public boolean getResult() throws MetaException, org.apache.thrift.TException { } } - public void get_role_names(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_role_names(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_role_names_call method_call = new get_role_names_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7512,7 +7574,7 @@ public void get_role_names(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 { + public get_role_names_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); } @@ -7533,7 +7595,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void grant_role(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void grant_role(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); grant_role_call method_call = new grant_role_call(role_name, principal_name, principal_type, grantor, grantorType, grant_option, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7547,7 +7609,7 @@ public void grant_role(String role_name, String principal_name, PrincipalType pr private String grantor; private PrincipalType grantorType; private boolean grant_option; - public grant_role_call(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option, 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 { + public grant_role_call(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.role_name = role_name; this.principal_name = principal_name; @@ -7580,7 +7642,7 @@ public boolean getResult() throws MetaException, org.apache.thrift.TException { } } - public void revoke_role(String role_name, String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void revoke_role(String role_name, String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); revoke_role_call method_call = new revoke_role_call(role_name, principal_name, principal_type, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7591,7 +7653,7 @@ public void revoke_role(String role_name, String principal_name, PrincipalType p private String role_name; private String principal_name; private PrincipalType principal_type; - public revoke_role_call(String role_name, String principal_name, PrincipalType principal_type, 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 { + public revoke_role_call(String role_name, String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.role_name = role_name; this.principal_name = principal_name; @@ -7618,7 +7680,7 @@ public boolean getResult() throws MetaException, org.apache.thrift.TException { } } - public void list_roles(String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void list_roles(String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); list_roles_call method_call = new list_roles_call(principal_name, principal_type, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7628,7 +7690,7 @@ public void list_roles(String principal_name, PrincipalType principal_type, org. public static class list_roles_call extends org.apache.thrift.async.TAsyncMethodCall { private String principal_name; private PrincipalType principal_type; - public list_roles_call(String principal_name, PrincipalType principal_type, 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 { + public list_roles_call(String principal_name, PrincipalType principal_type, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.principal_name = principal_name; this.principal_type = principal_type; @@ -7653,7 +7715,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void grant_revoke_role(GrantRevokeRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void grant_revoke_role(GrantRevokeRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); grant_revoke_role_call method_call = new grant_revoke_role_call(request, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7662,7 +7724,7 @@ public void grant_revoke_role(GrantRevokeRoleRequest request, org.apache.thrift. public static class grant_revoke_role_call extends org.apache.thrift.async.TAsyncMethodCall { private GrantRevokeRoleRequest request; - public grant_revoke_role_call(GrantRevokeRoleRequest request, 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 { + public grant_revoke_role_call(GrantRevokeRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.request = request; } @@ -7685,7 +7747,7 @@ public GrantRevokeRoleResponse getResult() throws MetaException, org.apache.thri } } - public void get_principals_in_role(GetPrincipalsInRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_principals_in_role(GetPrincipalsInRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_principals_in_role_call method_call = new get_principals_in_role_call(request, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7694,7 +7756,7 @@ public void get_principals_in_role(GetPrincipalsInRoleRequest request, org.apach public static class get_principals_in_role_call extends org.apache.thrift.async.TAsyncMethodCall { private GetPrincipalsInRoleRequest request; - public get_principals_in_role_call(GetPrincipalsInRoleRequest request, 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 { + public get_principals_in_role_call(GetPrincipalsInRoleRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.request = request; } @@ -7717,7 +7779,7 @@ public GetPrincipalsInRoleResponse getResult() throws MetaException, org.apache. } } - public void get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_role_grants_for_principal_call method_call = new get_role_grants_for_principal_call(request, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7726,7 +7788,7 @@ public void get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest reque public static class get_role_grants_for_principal_call extends org.apache.thrift.async.TAsyncMethodCall { private GetRoleGrantsForPrincipalRequest request; - public get_role_grants_for_principal_call(GetRoleGrantsForPrincipalRequest request, 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 { + public get_role_grants_for_principal_call(GetRoleGrantsForPrincipalRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.request = request; } @@ -7749,7 +7811,7 @@ public GetRoleGrantsForPrincipalResponse getResult() throws MetaException, org.a } } - public void get_privilege_set(HiveObjectRef hiveObject, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_privilege_set(HiveObjectRef hiveObject, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_privilege_set_call method_call = new get_privilege_set_call(hiveObject, user_name, group_names, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7760,7 +7822,7 @@ public void get_privilege_set(HiveObjectRef hiveObject, String user_name, List group_names; - public get_privilege_set_call(HiveObjectRef hiveObject, String user_name, List group_names, 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 { + public get_privilege_set_call(HiveObjectRef hiveObject, String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.hiveObject = hiveObject; this.user_name = user_name; @@ -7787,7 +7849,7 @@ public PrincipalPrivilegeSet getResult() throws MetaException, org.apache.thrift } } - public void list_privileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void list_privileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); list_privileges_call method_call = new list_privileges_call(principal_name, principal_type, hiveObject, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7798,7 +7860,7 @@ public void list_privileges(String principal_name, PrincipalType principal_type, private String principal_name; private PrincipalType principal_type; private HiveObjectRef hiveObject; - public list_privileges_call(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject, 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 { + public list_privileges_call(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.principal_name = principal_name; this.principal_type = principal_type; @@ -7825,7 +7887,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void grant_privileges(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void grant_privileges(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); grant_privileges_call method_call = new grant_privileges_call(privileges, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7834,7 +7896,7 @@ public void grant_privileges(PrivilegeBag privileges, org.apache.thrift.async.As public static class grant_privileges_call extends org.apache.thrift.async.TAsyncMethodCall { private PrivilegeBag privileges; - public grant_privileges_call(PrivilegeBag privileges, 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 { + public grant_privileges_call(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.privileges = privileges; } @@ -7857,7 +7919,7 @@ public boolean getResult() throws MetaException, org.apache.thrift.TException { } } - public void revoke_privileges(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void revoke_privileges(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); revoke_privileges_call method_call = new revoke_privileges_call(privileges, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7866,7 +7928,7 @@ public void revoke_privileges(PrivilegeBag privileges, org.apache.thrift.async.A public static class revoke_privileges_call extends org.apache.thrift.async.TAsyncMethodCall { private PrivilegeBag privileges; - public revoke_privileges_call(PrivilegeBag privileges, 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 { + public revoke_privileges_call(PrivilegeBag privileges, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.privileges = privileges; } @@ -7889,7 +7951,7 @@ public boolean getResult() throws MetaException, org.apache.thrift.TException { } } - public void grant_revoke_privileges(GrantRevokePrivilegeRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void grant_revoke_privileges(GrantRevokePrivilegeRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); grant_revoke_privileges_call method_call = new grant_revoke_privileges_call(request, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7898,7 +7960,7 @@ public void grant_revoke_privileges(GrantRevokePrivilegeRequest request, org.apa public static class grant_revoke_privileges_call extends org.apache.thrift.async.TAsyncMethodCall { private GrantRevokePrivilegeRequest request; - public grant_revoke_privileges_call(GrantRevokePrivilegeRequest request, 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 { + public grant_revoke_privileges_call(GrantRevokePrivilegeRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.request = request; } @@ -7921,7 +7983,7 @@ public GrantRevokePrivilegeResponse getResult() throws MetaException, org.apache } } - public void set_ugi(String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void set_ugi(String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); set_ugi_call method_call = new set_ugi_call(user_name, group_names, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7931,7 +7993,7 @@ public void set_ugi(String user_name, List group_names, org.apache.thrif public static class set_ugi_call extends org.apache.thrift.async.TAsyncMethodCall { private String user_name; private List group_names; - public set_ugi_call(String user_name, List group_names, 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 { + public set_ugi_call(String user_name, List group_names, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.user_name = user_name; this.group_names = group_names; @@ -7956,7 +8018,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void get_delegation_token(String token_owner, String renewer_kerberos_principal_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_delegation_token(String token_owner, String renewer_kerberos_principal_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_delegation_token_call method_call = new get_delegation_token_call(token_owner, renewer_kerberos_principal_name, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -7966,7 +8028,7 @@ public void get_delegation_token(String token_owner, String renewer_kerberos_pri public static class get_delegation_token_call extends org.apache.thrift.async.TAsyncMethodCall { private String token_owner; private String renewer_kerberos_principal_name; - public get_delegation_token_call(String token_owner, String renewer_kerberos_principal_name, 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 { + public get_delegation_token_call(String token_owner, String renewer_kerberos_principal_name, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.token_owner = token_owner; this.renewer_kerberos_principal_name = renewer_kerberos_principal_name; @@ -7991,7 +8053,7 @@ public String getResult() throws MetaException, org.apache.thrift.TException { } } - public void renew_delegation_token(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void renew_delegation_token(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); renew_delegation_token_call method_call = new renew_delegation_token_call(token_str_form, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8000,7 +8062,7 @@ public void renew_delegation_token(String token_str_form, org.apache.thrift.asyn public static class renew_delegation_token_call extends org.apache.thrift.async.TAsyncMethodCall { private String token_str_form; - public renew_delegation_token_call(String token_str_form, 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 { + public renew_delegation_token_call(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.token_str_form = token_str_form; } @@ -8023,7 +8085,7 @@ public long getResult() throws MetaException, org.apache.thrift.TException { } } - public void cancel_delegation_token(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void cancel_delegation_token(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); cancel_delegation_token_call method_call = new cancel_delegation_token_call(token_str_form, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8032,7 +8094,7 @@ public void cancel_delegation_token(String token_str_form, org.apache.thrift.asy public static class cancel_delegation_token_call extends org.apache.thrift.async.TAsyncMethodCall { private String token_str_form; - public cancel_delegation_token_call(String token_str_form, 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 { + public cancel_delegation_token_call(String token_str_form, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.token_str_form = token_str_form; } @@ -8055,7 +8117,7 @@ public void getResult() throws MetaException, org.apache.thrift.TException { } } - public void get_open_txns(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_open_txns(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_open_txns_call method_call = new get_open_txns_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8063,7 +8125,7 @@ public void get_open_txns(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public get_open_txns_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); } @@ -8084,7 +8146,7 @@ public GetOpenTxnsResponse getResult() throws org.apache.thrift.TException { } } - public void get_open_txns_info(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_open_txns_info(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_open_txns_info_call method_call = new get_open_txns_info_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8092,7 +8154,7 @@ public void get_open_txns_info(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 { + public get_open_txns_info_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); } @@ -8113,7 +8175,7 @@ public GetOpenTxnsInfoResponse getResult() throws org.apache.thrift.TException { } } - public void open_txns(OpenTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void open_txns(OpenTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); open_txns_call method_call = new open_txns_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8122,7 +8184,7 @@ public void open_txns(OpenTxnRequest rqst, org.apache.thrift.async.AsyncMethodCa public static class open_txns_call extends org.apache.thrift.async.TAsyncMethodCall { private OpenTxnRequest rqst; - public open_txns_call(OpenTxnRequest rqst, 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 { + public open_txns_call(OpenTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8145,7 +8207,7 @@ public OpenTxnsResponse getResult() throws org.apache.thrift.TException { } } - public void abort_txn(AbortTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void abort_txn(AbortTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); abort_txn_call method_call = new abort_txn_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8154,7 +8216,7 @@ public void abort_txn(AbortTxnRequest rqst, org.apache.thrift.async.AsyncMethodC public static class abort_txn_call extends org.apache.thrift.async.TAsyncMethodCall { private AbortTxnRequest rqst; - public abort_txn_call(AbortTxnRequest rqst, 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 { + public abort_txn_call(AbortTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8177,7 +8239,7 @@ public void getResult() throws NoSuchTxnException, org.apache.thrift.TException } } - public void commit_txn(CommitTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void commit_txn(CommitTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); commit_txn_call method_call = new commit_txn_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8186,7 +8248,7 @@ public void commit_txn(CommitTxnRequest rqst, org.apache.thrift.async.AsyncMetho public static class commit_txn_call extends org.apache.thrift.async.TAsyncMethodCall { private CommitTxnRequest rqst; - public commit_txn_call(CommitTxnRequest rqst, 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 { + public commit_txn_call(CommitTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8209,7 +8271,7 @@ public void getResult() throws NoSuchTxnException, TxnAbortedException, org.apac } } - public void lock(LockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void lock(LockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); lock_call method_call = new lock_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8218,7 +8280,7 @@ public void lock(LockRequest rqst, 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 { + public lock_call(LockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8241,7 +8303,7 @@ public LockResponse getResult() throws NoSuchTxnException, TxnAbortedException, } } - public void check_lock(CheckLockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void check_lock(CheckLockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); check_lock_call method_call = new check_lock_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8250,7 +8312,7 @@ public void check_lock(CheckLockRequest rqst, org.apache.thrift.async.AsyncMetho public static class check_lock_call extends org.apache.thrift.async.TAsyncMethodCall { private CheckLockRequest rqst; - public check_lock_call(CheckLockRequest rqst, 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 { + public check_lock_call(CheckLockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8273,7 +8335,7 @@ public LockResponse getResult() throws NoSuchTxnException, TxnAbortedException, } } - public void unlock(UnlockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void unlock(UnlockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); unlock_call method_call = new unlock_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8282,7 +8344,7 @@ public void unlock(UnlockRequest rqst, org.apache.thrift.async.AsyncMethodCallba public static class unlock_call extends org.apache.thrift.async.TAsyncMethodCall { private UnlockRequest rqst; - public unlock_call(UnlockRequest rqst, 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 { + public unlock_call(UnlockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8305,7 +8367,7 @@ public void getResult() throws NoSuchLockException, TxnOpenException, org.apache } } - public void show_locks(ShowLocksRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void show_locks(ShowLocksRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); show_locks_call method_call = new show_locks_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8314,7 +8376,7 @@ public void show_locks(ShowLocksRequest rqst, org.apache.thrift.async.AsyncMetho public static class show_locks_call extends org.apache.thrift.async.TAsyncMethodCall { private ShowLocksRequest rqst; - public show_locks_call(ShowLocksRequest rqst, 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 { + public show_locks_call(ShowLocksRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8337,7 +8399,7 @@ public ShowLocksResponse getResult() throws org.apache.thrift.TException { } } - public void heartbeat(HeartbeatRequest ids, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void heartbeat(HeartbeatRequest ids, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); heartbeat_call method_call = new heartbeat_call(ids, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8346,7 +8408,7 @@ public void heartbeat(HeartbeatRequest ids, org.apache.thrift.async.AsyncMethodC public static class heartbeat_call extends org.apache.thrift.async.TAsyncMethodCall { private HeartbeatRequest ids; - public heartbeat_call(HeartbeatRequest ids, 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 { + public heartbeat_call(HeartbeatRequest ids, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.ids = ids; } @@ -8369,7 +8431,7 @@ public void getResult() throws NoSuchLockException, NoSuchTxnException, TxnAbort } } - public void heartbeat_txn_range(HeartbeatTxnRangeRequest txns, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void heartbeat_txn_range(HeartbeatTxnRangeRequest txns, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); heartbeat_txn_range_call method_call = new heartbeat_txn_range_call(txns, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8378,7 +8440,7 @@ public void heartbeat_txn_range(HeartbeatTxnRangeRequest txns, org.apache.thrift public static class heartbeat_txn_range_call extends org.apache.thrift.async.TAsyncMethodCall { private HeartbeatTxnRangeRequest txns; - public heartbeat_txn_range_call(HeartbeatTxnRangeRequest txns, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + public heartbeat_txn_range_call(HeartbeatTxnRangeRequest txns, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.txns = txns; } @@ -8401,7 +8463,7 @@ public HeartbeatTxnRangeResponse getResult() throws org.apache.thrift.TException } } - public void compact(CompactionRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void compact(CompactionRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); compact_call method_call = new compact_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8410,7 +8472,7 @@ public void compact(CompactionRequest rqst, org.apache.thrift.async.AsyncMethodC public static class compact_call extends org.apache.thrift.async.TAsyncMethodCall { private CompactionRequest rqst; - public compact_call(CompactionRequest rqst, 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 { + public compact_call(CompactionRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8433,7 +8495,7 @@ public void getResult() throws org.apache.thrift.TException { } } - public void show_compact(ShowCompactRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void show_compact(ShowCompactRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); show_compact_call method_call = new show_compact_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8442,7 +8504,7 @@ public void show_compact(ShowCompactRequest rqst, org.apache.thrift.async.AsyncM public static class show_compact_call extends org.apache.thrift.async.TAsyncMethodCall { private ShowCompactRequest rqst; - public show_compact_call(ShowCompactRequest rqst, 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 { + public show_compact_call(ShowCompactRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8465,7 +8527,7 @@ public ShowCompactResponse getResult() throws org.apache.thrift.TException { } } - public void add_dynamic_partitions(AddDynamicPartitions rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void add_dynamic_partitions(AddDynamicPartitions rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); add_dynamic_partitions_call method_call = new add_dynamic_partitions_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8474,7 +8536,7 @@ public void add_dynamic_partitions(AddDynamicPartitions rqst, org.apache.thrift. public static class add_dynamic_partitions_call extends org.apache.thrift.async.TAsyncMethodCall { private AddDynamicPartitions rqst; - public add_dynamic_partitions_call(AddDynamicPartitions rqst, 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 { + public add_dynamic_partitions_call(AddDynamicPartitions rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8497,7 +8559,7 @@ public void getResult() throws NoSuchTxnException, TxnAbortedException, org.apac } } - public void get_next_notification(NotificationEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_next_notification(NotificationEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_next_notification_call method_call = new get_next_notification_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8506,7 +8568,7 @@ public void get_next_notification(NotificationEventRequest rqst, org.apache.thri public static class get_next_notification_call extends org.apache.thrift.async.TAsyncMethodCall { private NotificationEventRequest rqst; - public get_next_notification_call(NotificationEventRequest rqst, 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 { + public get_next_notification_call(NotificationEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8529,7 +8591,7 @@ public NotificationEventResponse getResult() throws org.apache.thrift.TException } } - public void get_current_notificationEventId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_current_notificationEventId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_current_notificationEventId_call method_call = new get_current_notificationEventId_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8537,7 +8599,7 @@ public void get_current_notificationEventId(org.apache.thrift.async.AsyncMethodC } public static class get_current_notificationEventId_call extends org.apache.thrift.async.TAsyncMethodCall { - public get_current_notificationEventId_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 { + public get_current_notificationEventId_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); } @@ -8558,7 +8620,7 @@ public CurrentNotificationEventId getResult() throws org.apache.thrift.TExceptio } } - public void fire_listener_event(FireEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void fire_listener_event(FireEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); fire_listener_event_call method_call = new fire_listener_event_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -8567,7 +8629,7 @@ public void fire_listener_event(FireEventRequest rqst, org.apache.thrift.async.A public static class fire_listener_event_call extends org.apache.thrift.async.TAsyncMethodCall { private FireEventRequest rqst; - public fire_listener_event_call(FireEventRequest rqst, 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 { + public fire_listener_event_call(FireEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.rqst = rqst; } @@ -8691,6 +8753,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"); @@ -11928,672 +12015,8471 @@ public fire_listener_event_result getResult(I iface, fire_listener_event_args ar } - public static class getMetaConf_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("getMetaConf_args"); - - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField("key", org.apache.thrift.protocol.TType.STRING, (short)1); + public static class AsyncProcessor extends com.facebook.fb303.FacebookService.AsyncProcessor { + private static final Logger LOGGER = LoggerFactory.getLogger(AsyncProcessor.class.getName()); + public AsyncProcessor(I iface) { + super(iface, getProcessMap(new HashMap>())); + } - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new getMetaConf_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new getMetaConf_argsTupleSchemeFactory()); + protected AsyncProcessor(I iface, Map> processMap) { + super(iface, getProcessMap(processMap)); } - private String key; // required + private static Map> getProcessMap(Map> processMap) { + processMap.put("getMetaConf", new getMetaConf()); + processMap.put("setMetaConf", new setMetaConf()); + processMap.put("create_database", new create_database()); + processMap.put("get_database", new get_database()); + processMap.put("drop_database", new drop_database()); + processMap.put("get_databases", new get_databases()); + processMap.put("get_all_databases", new get_all_databases()); + processMap.put("alter_database", new alter_database()); + processMap.put("get_type", new get_type()); + processMap.put("create_type", new create_type()); + processMap.put("drop_type", new drop_type()); + processMap.put("get_type_all", new get_type_all()); + processMap.put("get_fields", new get_fields()); + processMap.put("get_fields_with_environment_context", new get_fields_with_environment_context()); + processMap.put("get_schema", new get_schema()); + processMap.put("get_schema_with_environment_context", new get_schema_with_environment_context()); + processMap.put("create_table", new create_table()); + processMap.put("create_table_with_environment_context", new create_table_with_environment_context()); + processMap.put("drop_table", new drop_table()); + processMap.put("drop_table_with_environment_context", new drop_table_with_environment_context()); + processMap.put("get_tables", new get_tables()); + processMap.put("get_all_tables", new get_all_tables()); + processMap.put("get_table", new get_table()); + processMap.put("get_table_objects_by_name", new get_table_objects_by_name()); + processMap.put("get_table_names_by_filter", new get_table_names_by_filter()); + processMap.put("alter_table", new alter_table()); + processMap.put("alter_table_with_environment_context", new alter_table_with_environment_context()); + processMap.put("alter_table_with_cascade", new alter_table_with_cascade()); + processMap.put("add_partition", new add_partition()); + processMap.put("add_partition_with_environment_context", new add_partition_with_environment_context()); + processMap.put("add_partitions", new add_partitions()); + processMap.put("add_partitions_pspec", new add_partitions_pspec()); + processMap.put("append_partition", new append_partition()); + processMap.put("add_partitions_req", new add_partitions_req()); + processMap.put("append_partition_with_environment_context", new append_partition_with_environment_context()); + processMap.put("append_partition_by_name", new append_partition_by_name()); + processMap.put("append_partition_by_name_with_environment_context", new append_partition_by_name_with_environment_context()); + processMap.put("drop_partition", new drop_partition()); + processMap.put("drop_partition_with_environment_context", new drop_partition_with_environment_context()); + processMap.put("drop_partition_by_name", new drop_partition_by_name()); + processMap.put("drop_partition_by_name_with_environment_context", new drop_partition_by_name_with_environment_context()); + processMap.put("drop_partitions_req", new drop_partitions_req()); + processMap.put("get_partition", new get_partition()); + processMap.put("exchange_partition", new exchange_partition()); + processMap.put("get_partition_with_auth", new get_partition_with_auth()); + processMap.put("get_partition_by_name", new get_partition_by_name()); + processMap.put("get_partitions", new get_partitions()); + processMap.put("get_partitions_with_auth", new get_partitions_with_auth()); + processMap.put("get_partitions_pspec", new get_partitions_pspec()); + processMap.put("get_partition_names", new get_partition_names()); + processMap.put("get_partitions_ps", new get_partitions_ps()); + processMap.put("get_partitions_ps_with_auth", new get_partitions_ps_with_auth()); + processMap.put("get_partition_names_ps", new get_partition_names_ps()); + processMap.put("get_partitions_by_filter", new get_partitions_by_filter()); + processMap.put("get_part_specs_by_filter", new get_part_specs_by_filter()); + processMap.put("get_partitions_by_expr", new get_partitions_by_expr()); + processMap.put("get_partitions_by_names", new get_partitions_by_names()); + processMap.put("alter_partition", new alter_partition()); + processMap.put("alter_partitions", new alter_partitions()); + processMap.put("alter_partition_with_environment_context", new alter_partition_with_environment_context()); + processMap.put("rename_partition", new rename_partition()); + processMap.put("partition_name_has_valid_characters", new partition_name_has_valid_characters()); + processMap.put("get_config_value", new get_config_value()); + processMap.put("partition_name_to_vals", new partition_name_to_vals()); + processMap.put("partition_name_to_spec", new partition_name_to_spec()); + processMap.put("markPartitionForEvent", new markPartitionForEvent()); + processMap.put("isPartitionMarkedForEvent", new isPartitionMarkedForEvent()); + processMap.put("add_index", new add_index()); + processMap.put("alter_index", new alter_index()); + processMap.put("drop_index_by_name", new drop_index_by_name()); + processMap.put("get_index_by_name", new get_index_by_name()); + processMap.put("get_indexes", new get_indexes()); + processMap.put("get_index_names", new get_index_names()); + processMap.put("update_table_column_statistics", new update_table_column_statistics()); + processMap.put("update_partition_column_statistics", new update_partition_column_statistics()); + processMap.put("get_table_column_statistics", new get_table_column_statistics()); + processMap.put("get_partition_column_statistics", new get_partition_column_statistics()); + processMap.put("get_table_statistics_req", new get_table_statistics_req()); + processMap.put("get_partitions_statistics_req", new get_partitions_statistics_req()); + processMap.put("get_aggr_stats_for", new get_aggr_stats_for()); + processMap.put("set_aggr_stats_for", new set_aggr_stats_for()); + processMap.put("delete_partition_column_statistics", new delete_partition_column_statistics()); + processMap.put("delete_table_column_statistics", new delete_table_column_statistics()); + processMap.put("create_function", new create_function()); + processMap.put("drop_function", new drop_function()); + processMap.put("alter_function", new alter_function()); + processMap.put("get_functions", new get_functions()); + processMap.put("get_function", new get_function()); + processMap.put("get_all_functions", new get_all_functions()); + processMap.put("create_role", new create_role()); + processMap.put("drop_role", new drop_role()); + processMap.put("get_role_names", new get_role_names()); + processMap.put("grant_role", new grant_role()); + processMap.put("revoke_role", new revoke_role()); + processMap.put("list_roles", new list_roles()); + processMap.put("grant_revoke_role", new grant_revoke_role()); + processMap.put("get_principals_in_role", new get_principals_in_role()); + processMap.put("get_role_grants_for_principal", new get_role_grants_for_principal()); + processMap.put("get_privilege_set", new get_privilege_set()); + processMap.put("list_privileges", new list_privileges()); + processMap.put("grant_privileges", new grant_privileges()); + processMap.put("revoke_privileges", new revoke_privileges()); + processMap.put("grant_revoke_privileges", new grant_revoke_privileges()); + processMap.put("set_ugi", new set_ugi()); + processMap.put("get_delegation_token", new get_delegation_token()); + processMap.put("renew_delegation_token", new renew_delegation_token()); + processMap.put("cancel_delegation_token", new cancel_delegation_token()); + processMap.put("get_open_txns", new get_open_txns()); + processMap.put("get_open_txns_info", new get_open_txns_info()); + processMap.put("open_txns", new open_txns()); + processMap.put("abort_txn", new abort_txn()); + processMap.put("commit_txn", new commit_txn()); + processMap.put("lock", new lock()); + processMap.put("check_lock", new check_lock()); + processMap.put("unlock", new unlock()); + processMap.put("show_locks", new show_locks()); + processMap.put("heartbeat", new heartbeat()); + processMap.put("heartbeat_txn_range", new heartbeat_txn_range()); + processMap.put("compact", new compact()); + processMap.put("show_compact", new show_compact()); + processMap.put("add_dynamic_partitions", new add_dynamic_partitions()); + processMap.put("get_next_notification", new get_next_notification()); + processMap.put("get_current_notificationEventId", new get_current_notificationEventId()); + processMap.put("fire_listener_event", new fire_listener_event()); + return processMap; + } - /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short)1, "key"); + public static class getMetaConf extends org.apache.thrift.AsyncProcessFunction { + public getMetaConf() { + super("getMetaConf"); + } - private static final Map byName = new HashMap(); + public getMetaConf_args getEmptyArgsInstance() { + return new getMetaConf_args(); + } - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(String o) { + getMetaConf_result result = new getMetaConf_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + getMetaConf_result result = new getMetaConf_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; } - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { - switch(fieldId) { - case 1: // KEY - return KEY; - default: - return null; - } + protected boolean isOneway() { + return false; } - /** - * 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; + public void start(I iface, getMetaConf_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.getMetaConf(args.key,resultHandler); } + } - /** - * Find the _Fields constant that matches name, or null if its not found. - */ - public static _Fields findByName(String name) { - return byName.get(name); + public static class setMetaConf extends org.apache.thrift.AsyncProcessFunction { + public setMetaConf() { + super("setMetaConf"); } - private final short _thriftId; - private final String _fieldName; + public setMetaConf_args getEmptyArgsInstance() { + return new setMetaConf_args(); + } - _Fields(short thriftId, String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + setMetaConf_result result = new setMetaConf_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + setMetaConf_result result = new setMetaConf_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; } - public short getThriftFieldId() { - return _thriftId; + protected boolean isOneway() { + return false; } - public String getFieldName() { - return _fieldName; + public void start(I iface, setMetaConf_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.setMetaConf(args.key, args.value,resultHandler); } } - // 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.KEY, new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMetaConf_args.class, metaDataMap); - } + public static class create_database extends org.apache.thrift.AsyncProcessFunction { + public create_database() { + super("create_database"); + } - public getMetaConf_args() { - } + public create_database_args getEmptyArgsInstance() { + return new create_database_args(); + } - public getMetaConf_args( - String key) - { - this(); - this.key = key; - } + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + create_database_result result = new create_database_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + create_database_result result = new create_database_result(); + if (e instanceof AlreadyExistsException) { + result.o1 = (AlreadyExistsException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o2 = (InvalidObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - /** - * Performs a deep copy on other. - */ - public getMetaConf_args(getMetaConf_args other) { - if (other.isSetKey()) { - this.key = other.key; + protected boolean isOneway() { + return false; } - } - public getMetaConf_args deepCopy() { - return new getMetaConf_args(this); + public void start(I iface, create_database_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.create_database(args.database,resultHandler); + } } - @Override - public void clear() { - this.key = null; - } + public static class get_database extends org.apache.thrift.AsyncProcessFunction { + public get_database() { + super("get_database"); + } - public String getKey() { - return this.key; - } + public get_database_args getEmptyArgsInstance() { + return new get_database_args(); + } - public void setKey(String key) { - this.key = key; - } + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Database o) { + get_database_result result = new get_database_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_database_result result = new get_database_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - public void unsetKey() { - this.key = null; - } + protected boolean isOneway() { + return false; + } - /** Returns true if field key is set (has been assigned a value) and false otherwise */ - public boolean isSetKey() { - return this.key != null; + public void start(I iface, get_database_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_database(args.name,resultHandler); + } } - public void setKeyIsSet(boolean value) { - if (!value) { - this.key = null; + public static class drop_database extends org.apache.thrift.AsyncProcessFunction { + public drop_database() { + super("drop_database"); } - } - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case KEY: - if (value == null) { - unsetKey(); - } else { - setKey((String)value); - } - break; + public drop_database_args getEmptyArgsInstance() { + return new drop_database_args(); + } + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + drop_database_result result = new drop_database_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_database_result result = new drop_database_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof InvalidOperationException) { + result.o2 = (InvalidOperationException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; } - } - public Object getFieldValue(_Fields field) { - switch (field) { - case KEY: - return getKey(); + protected boolean isOneway() { + return false; + } + public void start(I iface, drop_database_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_database(args.name, args.deleteData, args.cascade,resultHandler); } - 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(); + public static class get_databases extends org.apache.thrift.AsyncProcessFunction> { + public get_databases() { + super("get_databases"); } - switch (field) { - case KEY: - return isSetKey(); + public get_databases_args getEmptyArgsInstance() { + return new get_databases_args(); } - throw new IllegalStateException(); - } - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof getMetaConf_args) - return this.equals((getMetaConf_args)that); - return false; - } + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_databases_result result = new get_databases_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_databases_result result = new get_databases_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - public boolean equals(getMetaConf_args that) { - if (that == null) + protected boolean isOneway() { return false; - - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if (this_present_key || that_present_key) { - if (!(this_present_key && that_present_key)) - return false; - if (!this.key.equals(that.key)) - return false; } - return true; + public void start(I iface, get_databases_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_databases(args.pattern,resultHandler); + } } - @Override - public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + public static class get_all_databases extends org.apache.thrift.AsyncProcessFunction> { + public get_all_databases() { + super("get_all_databases"); + } - boolean present_key = true && (isSetKey()); - builder.append(present_key); - if (present_key) - builder.append(key); + public get_all_databases_args getEmptyArgsInstance() { + return new get_all_databases_args(); + } - return builder.toHashCode(); - } + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_all_databases_result result = new get_all_databases_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_all_databases_result result = new get_all_databases_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - public int compareTo(getMetaConf_args other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); + protected boolean isOneway() { + return false; } - int lastComparison = 0; - getMetaConf_args typedOther = (getMetaConf_args)other; + public void start(I iface, get_all_databases_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_all_databases(resultHandler); + } + } - lastComparison = Boolean.valueOf(isSetKey()).compareTo(typedOther.isSetKey()); - if (lastComparison != 0) { - return lastComparison; + public static class alter_database extends org.apache.thrift.AsyncProcessFunction { + public alter_database() { + super("alter_database"); } - if (isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key, typedOther.key); - if (lastComparison != 0) { - return lastComparison; - } + + public alter_database_args getEmptyArgsInstance() { + return new alter_database_args(); } - return 0; - } - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + alter_database_result result = new alter_database_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + alter_database_result result = new alter_database_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - schemes.get(iprot.getScheme()).getScheme().read(iprot, this); - } + protected boolean isOneway() { + return false; + } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { - schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + public void start(I iface, alter_database_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.alter_database(args.dbname, args.db,resultHandler); + } } - @Override - public String toString() { - StringBuilder sb = new StringBuilder("getMetaConf_args("); - boolean first = true; + public static class get_type extends org.apache.thrift.AsyncProcessFunction { + public get_type() { + super("get_type"); + } - sb.append("key:"); - if (this.key == null) { - sb.append("null"); - } else { - sb.append(this.key); + public get_type_args getEmptyArgsInstance() { + return new get_type_args(); } - first = false; - sb.append(")"); - return sb.toString(); - } - public void validate() throws org.apache.thrift.TException { - // check for required fields - // check for sub-struct validity - } + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Type o) { + get_type_result result = new get_type_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_type_result result = new get_type_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - 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); + protected boolean isOneway() { + return false; } - } - 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); + public void start(I iface, get_type_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_type(args.name,resultHandler); } } - private static class getMetaConf_argsStandardSchemeFactory implements SchemeFactory { - public getMetaConf_argsStandardScheme getScheme() { - return new getMetaConf_argsStandardScheme(); + public static class create_type extends org.apache.thrift.AsyncProcessFunction { + public create_type() { + super("create_type"); } - } - private static class getMetaConf_argsStandardScheme extends StandardScheme { + public create_type_args getEmptyArgsInstance() { + return new create_type_args(); + } - public void read(org.apache.thrift.protocol.TProtocol iprot, getMetaConf_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: // KEY - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + create_type_result result = new create_type_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + create_type_result result = new create_type_result(); + if (e instanceof AlreadyExistsException) { + result.o1 = (AlreadyExistsException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o2 = (InvalidObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - struct.validate(); + }; } - public void write(org.apache.thrift.protocol.TProtocol oprot, getMetaConf_args struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); + protected boolean isOneway() { + return false; } + public void start(I iface, create_type_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.create_type(args.type,resultHandler); + } } - private static class getMetaConf_argsTupleSchemeFactory implements SchemeFactory { - public getMetaConf_argsTupleScheme getScheme() { - return new getMetaConf_argsTupleScheme(); + public static class drop_type extends org.apache.thrift.AsyncProcessFunction { + public drop_type() { + super("drop_type"); } - } - private static class getMetaConf_argsTupleScheme extends TupleScheme { + public drop_type_args getEmptyArgsInstance() { + return new drop_type_args(); + } - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, getMetaConf_args struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetKey()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetKey()) { - oprot.writeString(struct.key); - } + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + drop_type_result result = new drop_type_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_type_result result = new drop_type_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; } - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, getMetaConf_args struct) throws org.apache.thrift.TException { - TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } + protected boolean isOneway() { + return false; + } + + public void start(I iface, drop_type_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_type(args.type,resultHandler); } } - } + public static class get_type_all extends org.apache.thrift.AsyncProcessFunction> { + public get_type_all() { + super("get_type_all"); + } - public static class getMetaConf_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("getMetaConf_result"); + public get_type_all_args getEmptyArgsInstance() { + return new get_type_all_args(); + } - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (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); + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + get_type_all_result result = new get_type_all_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_type_all_result result = new get_type_all_result(); + if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new getMetaConf_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new getMetaConf_resultTupleSchemeFactory()); - } + protected boolean isOneway() { + return false; + } - private String success; // required - private MetaException o1; // required + public void start(I iface, get_type_all_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_type_all(args.name,resultHandler); + } + } - /** 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"); + public static class get_fields extends org.apache.thrift.AsyncProcessFunction> { + public get_fields() { + super("get_fields"); + } - private static final Map byName = new HashMap(); + public get_fields_args getEmptyArgsInstance() { + return new get_fields_args(); + } - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_fields_result result = new get_fields_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_fields_result result = new get_fields_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof UnknownTableException) { + result.o2 = (UnknownTableException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof UnknownDBException) { + result.o3 = (UnknownDBException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; } - /** - * 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; - default: - return null; - } + protected boolean isOneway() { + return false; } - /** - * 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; + public void start(I iface, get_fields_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_fields(args.db_name, args.table_name,resultHandler); } + } - /** - * Find the _Fields constant that matches name, or null if its not found. - */ - public static _Fields findByName(String name) { - return byName.get(name); + public static class get_fields_with_environment_context extends org.apache.thrift.AsyncProcessFunction> { + public get_fields_with_environment_context() { + super("get_fields_with_environment_context"); } - private final short _thriftId; - private final String _fieldName; + public get_fields_with_environment_context_args getEmptyArgsInstance() { + return new get_fields_with_environment_context_args(); + } - _Fields(short thriftId, String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_fields_with_environment_context_result result = new get_fields_with_environment_context_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_fields_with_environment_context_result result = new get_fields_with_environment_context_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof UnknownTableException) { + result.o2 = (UnknownTableException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof UnknownDBException) { + result.o3 = (UnknownDBException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; } - public short getThriftFieldId() { - return _thriftId; + protected boolean isOneway() { + return false; } - public String getFieldName() { - return _fieldName; + public void start(I iface, get_fields_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_fields_with_environment_context(args.db_name, args.table_name, args.environment_context,resultHandler); } } - // 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.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - 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))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMetaConf_result.class, metaDataMap); - } + public static class get_schema extends org.apache.thrift.AsyncProcessFunction> { + public get_schema() { + super("get_schema"); + } - public getMetaConf_result() { - } + public get_schema_args getEmptyArgsInstance() { + return new get_schema_args(); + } - public getMetaConf_result( - String success, - MetaException o1) - { - this(); - this.success = success; - this.o1 = o1; - } + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_schema_result result = new get_schema_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_schema_result result = new get_schema_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof UnknownTableException) { + result.o2 = (UnknownTableException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof UnknownDBException) { + result.o3 = (UnknownDBException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - /** - * Performs a deep copy on other. - */ - public getMetaConf_result(getMetaConf_result other) { - if (other.isSetSuccess()) { - this.success = other.success; + protected boolean isOneway() { + return false; } - if (other.isSetO1()) { - this.o1 = new MetaException(other.o1); + + public void start(I iface, get_schema_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_schema(args.db_name, args.table_name,resultHandler); } } - public getMetaConf_result deepCopy() { - return new getMetaConf_result(this); - } + public static class get_schema_with_environment_context extends org.apache.thrift.AsyncProcessFunction> { + public get_schema_with_environment_context() { + super("get_schema_with_environment_context"); + } - @Override - public void clear() { - this.success = null; - this.o1 = null; - } + public get_schema_with_environment_context_args getEmptyArgsInstance() { + return new get_schema_with_environment_context_args(); + } - public String getSuccess() { - return this.success; - } + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_schema_with_environment_context_result result = new get_schema_with_environment_context_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_schema_with_environment_context_result result = new get_schema_with_environment_context_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof UnknownTableException) { + result.o2 = (UnknownTableException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof UnknownDBException) { + result.o3 = (UnknownDBException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - public void setSuccess(String success) { - this.success = success; - } + protected boolean isOneway() { + return false; + } - public void unsetSuccess() { - this.success = null; + public void start(I iface, get_schema_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_schema_with_environment_context(args.db_name, args.table_name, args.environment_context,resultHandler); + } } - /** Returns true if field success is set (has been assigned a value) and false otherwise */ - public boolean isSetSuccess() { - return this.success != null; - } + public static class create_table extends org.apache.thrift.AsyncProcessFunction { + public create_table() { + super("create_table"); + } - public void setSuccessIsSet(boolean value) { - if (!value) { - this.success = null; + public create_table_args getEmptyArgsInstance() { + return new create_table_args(); } - } - public MetaException getO1() { - return this.o1; - } + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + create_table_result result = new create_table_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + create_table_result result = new create_table_result(); + if (e instanceof AlreadyExistsException) { + result.o1 = (AlreadyExistsException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o2 = (InvalidObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o4 = (NoSuchObjectException) e; + result.setO4IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - public void setO1(MetaException o1) { - this.o1 = o1; - } + protected boolean isOneway() { + return false; + } - public void unsetO1() { - this.o1 = null; + public void start(I iface, create_table_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.create_table(args.tbl,resultHandler); + } } - /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ - public boolean isSetO1() { - return this.o1 != null; - } + public static class create_table_with_environment_context extends org.apache.thrift.AsyncProcessFunction { + public create_table_with_environment_context() { + super("create_table_with_environment_context"); + } - public void setO1IsSet(boolean value) { - if (!value) { - this.o1 = null; + public create_table_with_environment_context_args getEmptyArgsInstance() { + return new create_table_with_environment_context_args(); } - } - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case SUCCESS: - if (value == null) { - unsetSuccess(); - } else { - setSuccess((String)value); - } - break; + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + create_table_with_environment_context_result result = new create_table_with_environment_context_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + create_table_with_environment_context_result result = new create_table_with_environment_context_result(); + if (e instanceof AlreadyExistsException) { + result.o1 = (AlreadyExistsException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o2 = (InvalidObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o4 = (NoSuchObjectException) e; + result.setO4IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - case O1: - if (value == null) { - unsetO1(); - } else { - setO1((MetaException)value); - } - break; + protected boolean isOneway() { + return false; + } + public void start(I iface, create_table_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.create_table_with_environment_context(args.tbl, args.environment_context,resultHandler); } } - public Object getFieldValue(_Fields field) { - switch (field) { - case SUCCESS: - return getSuccess(); + public static class drop_table extends org.apache.thrift.AsyncProcessFunction { + public drop_table() { + super("drop_table"); + } - case O1: - return getO1(); + public drop_table_args getEmptyArgsInstance() { + return new drop_table_args(); + } + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + drop_table_result result = new drop_table_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_table_result result = new drop_table_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; } - 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(); + protected boolean isOneway() { + return false; } - switch (field) { - case SUCCESS: - return isSetSuccess(); - case O1: - return isSetO1(); + public void start(I iface, drop_table_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_table(args.dbname, args.name, args.deleteData,resultHandler); } - throw new IllegalStateException(); } - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof getMetaConf_result) - return this.equals((getMetaConf_result)that); - return false; - } + public static class drop_table_with_environment_context extends org.apache.thrift.AsyncProcessFunction { + public drop_table_with_environment_context() { + super("drop_table_with_environment_context"); + } - public boolean equals(getMetaConf_result that) { - if (that == null) - return false; + public drop_table_with_environment_context_args getEmptyArgsInstance() { + return new drop_table_with_environment_context_args(); + } - 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; + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + drop_table_with_environment_context_result result = new drop_table_with_environment_context_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_table_with_environment_context_result result = new drop_table_with_environment_context_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; } - 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; + protected boolean isOneway() { + return false; } - return true; + public void start(I iface, drop_table_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_table_with_environment_context(args.dbname, args.name, args.deleteData, args.environment_context,resultHandler); + } } - @Override - public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + public static class get_tables extends org.apache.thrift.AsyncProcessFunction> { + public get_tables() { + super("get_tables"); + } - boolean present_success = true && (isSetSuccess()); - builder.append(present_success); - if (present_success) - builder.append(success); + public get_tables_args getEmptyArgsInstance() { + return new get_tables_args(); + } - boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); - if (present_o1) - builder.append(o1); + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_tables_result result = new get_tables_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_tables_result result = new get_tables_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } - return builder.toHashCode(); - } + protected boolean isOneway() { + return false; + } - public int compareTo(getMetaConf_result other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); + public void start(I iface, get_tables_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_tables(args.db_name, args.pattern,resultHandler); } + } - int lastComparison = 0; - getMetaConf_result typedOther = (getMetaConf_result)other; + public static class get_all_tables extends org.apache.thrift.AsyncProcessFunction> { + public get_all_tables() { + super("get_all_tables"); + } - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); - if (lastComparison != 0) { - return lastComparison; + public get_all_tables_args getEmptyArgsInstance() { + return new get_all_tables_args(); } - if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); - if (lastComparison != 0) { - return lastComparison; - } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_all_tables_result result = new get_all_tables_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_all_tables_result result = new get_all_tables_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); - if (lastComparison != 0) { - return lastComparison; + + protected boolean isOneway() { + return false; } - if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); - if (lastComparison != 0) { - return lastComparison; - } + + public void start(I iface, get_all_tables_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_all_tables(args.db_name,resultHandler); } - return 0; } - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } + public static class get_table extends org.apache.thrift.AsyncProcessFunction { + public get_table() { + super("get_table"); + } - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - schemes.get(iprot.getScheme()).getScheme().read(iprot, this); - } + public get_table_args getEmptyArgsInstance() { + return new get_table_args(); + } - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { - schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + public AsyncMethodCallback
getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback
() { + public void onComplete(Table o) { + get_table_result result = new get_table_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_table_result result = new get_table_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_table_args args, org.apache.thrift.async.AsyncMethodCallback
resultHandler) throws TException { + iface.get_table(args.dbname, args.tbl_name,resultHandler); + } + } + + public static class get_table_objects_by_name extends org.apache.thrift.AsyncProcessFunction> { + public get_table_objects_by_name() { + super("get_table_objects_by_name"); + } + + public get_table_objects_by_name_args getEmptyArgsInstance() { + return new get_table_objects_by_name_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List
o) { + get_table_objects_by_name_result result = new get_table_objects_by_name_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_table_objects_by_name_result result = new get_table_objects_by_name_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof InvalidOperationException) { + result.o2 = (InvalidOperationException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof UnknownDBException) { + result.o3 = (UnknownDBException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_table_objects_by_name_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_table_objects_by_name(args.dbname, args.tbl_names,resultHandler); + } + } + + public static class get_table_names_by_filter extends org.apache.thrift.AsyncProcessFunction> { + public get_table_names_by_filter() { + super("get_table_names_by_filter"); + } + + public get_table_names_by_filter_args getEmptyArgsInstance() { + return new get_table_names_by_filter_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_table_names_by_filter_result result = new get_table_names_by_filter_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_table_names_by_filter_result result = new get_table_names_by_filter_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof InvalidOperationException) { + result.o2 = (InvalidOperationException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof UnknownDBException) { + result.o3 = (UnknownDBException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_table_names_by_filter_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_table_names_by_filter(args.dbname, args.filter, args.max_tables,resultHandler); + } + } + + public static class alter_table extends org.apache.thrift.AsyncProcessFunction { + public alter_table() { + super("alter_table"); + } + + public alter_table_args getEmptyArgsInstance() { + return new alter_table_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + alter_table_result result = new alter_table_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + alter_table_result result = new alter_table_result(); + if (e instanceof InvalidOperationException) { + result.o1 = (InvalidOperationException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, alter_table_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.alter_table(args.dbname, args.tbl_name, args.new_tbl,resultHandler); + } + } + + public static class alter_table_with_environment_context extends org.apache.thrift.AsyncProcessFunction { + public alter_table_with_environment_context() { + super("alter_table_with_environment_context"); + } + + public alter_table_with_environment_context_args getEmptyArgsInstance() { + return new alter_table_with_environment_context_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + alter_table_with_environment_context_result result = new alter_table_with_environment_context_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + alter_table_with_environment_context_result result = new alter_table_with_environment_context_result(); + if (e instanceof InvalidOperationException) { + result.o1 = (InvalidOperationException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, alter_table_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.alter_table_with_environment_context(args.dbname, args.tbl_name, args.new_tbl, args.environment_context,resultHandler); + } + } + + public static class alter_table_with_cascade extends org.apache.thrift.AsyncProcessFunction { + public alter_table_with_cascade() { + super("alter_table_with_cascade"); + } + + public alter_table_with_cascade_args getEmptyArgsInstance() { + return new alter_table_with_cascade_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + alter_table_with_cascade_result result = new alter_table_with_cascade_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + alter_table_with_cascade_result result = new alter_table_with_cascade_result(); + if (e instanceof InvalidOperationException) { + result.o1 = (InvalidOperationException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, alter_table_with_cascade_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.alter_table_with_cascade(args.dbname, args.tbl_name, args.new_tbl, args.cascade,resultHandler); + } + } + + public static class add_partition extends org.apache.thrift.AsyncProcessFunction { + public add_partition() { + super("add_partition"); + } + + public add_partition_args getEmptyArgsInstance() { + return new add_partition_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Partition o) { + add_partition_result result = new add_partition_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + add_partition_result result = new add_partition_result(); + if (e instanceof InvalidObjectException) { + result.o1 = (InvalidObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof AlreadyExistsException) { + result.o2 = (AlreadyExistsException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, add_partition_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.add_partition(args.new_part,resultHandler); + } + } + + public static class add_partition_with_environment_context extends org.apache.thrift.AsyncProcessFunction { + public add_partition_with_environment_context() { + super("add_partition_with_environment_context"); + } + + public add_partition_with_environment_context_args getEmptyArgsInstance() { + return new add_partition_with_environment_context_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Partition o) { + add_partition_with_environment_context_result result = new add_partition_with_environment_context_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + add_partition_with_environment_context_result result = new add_partition_with_environment_context_result(); + if (e instanceof InvalidObjectException) { + result.o1 = (InvalidObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof AlreadyExistsException) { + result.o2 = (AlreadyExistsException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, add_partition_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.add_partition_with_environment_context(args.new_part, args.environment_context,resultHandler); + } + } + + public static class add_partitions extends org.apache.thrift.AsyncProcessFunction { + public add_partitions() { + super("add_partitions"); + } + + public add_partitions_args getEmptyArgsInstance() { + return new add_partitions_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Integer o) { + add_partitions_result result = new add_partitions_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + add_partitions_result result = new add_partitions_result(); + if (e instanceof InvalidObjectException) { + result.o1 = (InvalidObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof AlreadyExistsException) { + result.o2 = (AlreadyExistsException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, add_partitions_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.add_partitions(args.new_parts,resultHandler); + } + } + + public static class add_partitions_pspec extends org.apache.thrift.AsyncProcessFunction { + public add_partitions_pspec() { + super("add_partitions_pspec"); + } + + public add_partitions_pspec_args getEmptyArgsInstance() { + return new add_partitions_pspec_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Integer o) { + add_partitions_pspec_result result = new add_partitions_pspec_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + add_partitions_pspec_result result = new add_partitions_pspec_result(); + if (e instanceof InvalidObjectException) { + result.o1 = (InvalidObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof AlreadyExistsException) { + result.o2 = (AlreadyExistsException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, add_partitions_pspec_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.add_partitions_pspec(args.new_parts,resultHandler); + } + } + + public static class append_partition extends org.apache.thrift.AsyncProcessFunction { + public append_partition() { + super("append_partition"); + } + + public append_partition_args getEmptyArgsInstance() { + return new append_partition_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Partition o) { + append_partition_result result = new append_partition_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + append_partition_result result = new append_partition_result(); + if (e instanceof InvalidObjectException) { + result.o1 = (InvalidObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof AlreadyExistsException) { + result.o2 = (AlreadyExistsException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, append_partition_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.append_partition(args.db_name, args.tbl_name, args.part_vals,resultHandler); + } + } + + public static class add_partitions_req extends org.apache.thrift.AsyncProcessFunction { + public add_partitions_req() { + super("add_partitions_req"); + } + + public add_partitions_req_args getEmptyArgsInstance() { + return new add_partitions_req_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(AddPartitionsResult o) { + add_partitions_req_result result = new add_partitions_req_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + add_partitions_req_result result = new add_partitions_req_result(); + if (e instanceof InvalidObjectException) { + result.o1 = (InvalidObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof AlreadyExistsException) { + result.o2 = (AlreadyExistsException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, add_partitions_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.add_partitions_req(args.request,resultHandler); + } + } + + public static class append_partition_with_environment_context extends org.apache.thrift.AsyncProcessFunction { + public append_partition_with_environment_context() { + super("append_partition_with_environment_context"); + } + + public append_partition_with_environment_context_args getEmptyArgsInstance() { + return new append_partition_with_environment_context_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Partition o) { + append_partition_with_environment_context_result result = new append_partition_with_environment_context_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + append_partition_with_environment_context_result result = new append_partition_with_environment_context_result(); + if (e instanceof InvalidObjectException) { + result.o1 = (InvalidObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof AlreadyExistsException) { + result.o2 = (AlreadyExistsException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, append_partition_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.append_partition_with_environment_context(args.db_name, args.tbl_name, args.part_vals, args.environment_context,resultHandler); + } + } + + public static class append_partition_by_name extends org.apache.thrift.AsyncProcessFunction { + public append_partition_by_name() { + super("append_partition_by_name"); + } + + public append_partition_by_name_args getEmptyArgsInstance() { + return new append_partition_by_name_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Partition o) { + append_partition_by_name_result result = new append_partition_by_name_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + append_partition_by_name_result result = new append_partition_by_name_result(); + if (e instanceof InvalidObjectException) { + result.o1 = (InvalidObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof AlreadyExistsException) { + result.o2 = (AlreadyExistsException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, append_partition_by_name_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.append_partition_by_name(args.db_name, args.tbl_name, args.part_name,resultHandler); + } + } + + public static class append_partition_by_name_with_environment_context extends org.apache.thrift.AsyncProcessFunction { + public append_partition_by_name_with_environment_context() { + super("append_partition_by_name_with_environment_context"); + } + + public append_partition_by_name_with_environment_context_args getEmptyArgsInstance() { + return new append_partition_by_name_with_environment_context_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Partition o) { + append_partition_by_name_with_environment_context_result result = new append_partition_by_name_with_environment_context_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + append_partition_by_name_with_environment_context_result result = new append_partition_by_name_with_environment_context_result(); + if (e instanceof InvalidObjectException) { + result.o1 = (InvalidObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof AlreadyExistsException) { + result.o2 = (AlreadyExistsException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, append_partition_by_name_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.append_partition_by_name_with_environment_context(args.db_name, args.tbl_name, args.part_name, args.environment_context,resultHandler); + } + } + + public static class drop_partition extends org.apache.thrift.AsyncProcessFunction { + public drop_partition() { + super("drop_partition"); + } + + public drop_partition_args getEmptyArgsInstance() { + return new drop_partition_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + drop_partition_result result = new drop_partition_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_partition_result result = new drop_partition_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, drop_partition_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_partition(args.db_name, args.tbl_name, args.part_vals, args.deleteData,resultHandler); + } + } + + public static class drop_partition_with_environment_context extends org.apache.thrift.AsyncProcessFunction { + public drop_partition_with_environment_context() { + super("drop_partition_with_environment_context"); + } + + public drop_partition_with_environment_context_args getEmptyArgsInstance() { + return new drop_partition_with_environment_context_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + drop_partition_with_environment_context_result result = new drop_partition_with_environment_context_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_partition_with_environment_context_result result = new drop_partition_with_environment_context_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, drop_partition_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_partition_with_environment_context(args.db_name, args.tbl_name, args.part_vals, args.deleteData, args.environment_context,resultHandler); + } + } + + public static class drop_partition_by_name extends org.apache.thrift.AsyncProcessFunction { + public drop_partition_by_name() { + super("drop_partition_by_name"); + } + + public drop_partition_by_name_args getEmptyArgsInstance() { + return new drop_partition_by_name_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + drop_partition_by_name_result result = new drop_partition_by_name_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_partition_by_name_result result = new drop_partition_by_name_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, drop_partition_by_name_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_partition_by_name(args.db_name, args.tbl_name, args.part_name, args.deleteData,resultHandler); + } + } + + public static class drop_partition_by_name_with_environment_context extends org.apache.thrift.AsyncProcessFunction { + public drop_partition_by_name_with_environment_context() { + super("drop_partition_by_name_with_environment_context"); + } + + public drop_partition_by_name_with_environment_context_args getEmptyArgsInstance() { + return new drop_partition_by_name_with_environment_context_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + drop_partition_by_name_with_environment_context_result result = new drop_partition_by_name_with_environment_context_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_partition_by_name_with_environment_context_result result = new drop_partition_by_name_with_environment_context_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, drop_partition_by_name_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_partition_by_name_with_environment_context(args.db_name, args.tbl_name, args.part_name, args.deleteData, args.environment_context,resultHandler); + } + } + + public static class drop_partitions_req extends org.apache.thrift.AsyncProcessFunction { + public drop_partitions_req() { + super("drop_partitions_req"); + } + + public drop_partitions_req_args getEmptyArgsInstance() { + return new drop_partitions_req_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(DropPartitionsResult o) { + drop_partitions_req_result result = new drop_partitions_req_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_partitions_req_result result = new drop_partitions_req_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, drop_partitions_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_partitions_req(args.req,resultHandler); + } + } + + public static class get_partition extends org.apache.thrift.AsyncProcessFunction { + public get_partition() { + super("get_partition"); + } + + public get_partition_args getEmptyArgsInstance() { + return new get_partition_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Partition o) { + get_partition_result result = new get_partition_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partition_result result = new get_partition_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partition_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_partition(args.db_name, args.tbl_name, args.part_vals,resultHandler); + } + } + + public static class exchange_partition extends org.apache.thrift.AsyncProcessFunction { + public exchange_partition() { + super("exchange_partition"); + } + + public exchange_partition_args getEmptyArgsInstance() { + return new exchange_partition_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Partition o) { + exchange_partition_result result = new exchange_partition_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + exchange_partition_result result = new exchange_partition_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o3 = (InvalidObjectException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof InvalidInputException) { + result.o4 = (InvalidInputException) e; + result.setO4IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, exchange_partition_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.exchange_partition(args.partitionSpecs, args.source_db, args.source_table_name, args.dest_db, args.dest_table_name,resultHandler); + } + } + + public static class get_partition_with_auth extends org.apache.thrift.AsyncProcessFunction { + public get_partition_with_auth() { + super("get_partition_with_auth"); + } + + public get_partition_with_auth_args getEmptyArgsInstance() { + return new get_partition_with_auth_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Partition o) { + get_partition_with_auth_result result = new get_partition_with_auth_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partition_with_auth_result result = new get_partition_with_auth_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partition_with_auth_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_partition_with_auth(args.db_name, args.tbl_name, args.part_vals, args.user_name, args.group_names,resultHandler); + } + } + + public static class get_partition_by_name extends org.apache.thrift.AsyncProcessFunction { + public get_partition_by_name() { + super("get_partition_by_name"); + } + + public get_partition_by_name_args getEmptyArgsInstance() { + return new get_partition_by_name_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Partition o) { + get_partition_by_name_result result = new get_partition_by_name_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partition_by_name_result result = new get_partition_by_name_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partition_by_name_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_partition_by_name(args.db_name, args.tbl_name, args.part_name,resultHandler); + } + } + + public static class get_partitions extends org.apache.thrift.AsyncProcessFunction> { + public get_partitions() { + super("get_partitions"); + } + + public get_partitions_args getEmptyArgsInstance() { + return new get_partitions_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_partitions_result result = new get_partitions_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partitions_result result = new get_partitions_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partitions_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_partitions(args.db_name, args.tbl_name, args.max_parts,resultHandler); + } + } + + public static class get_partitions_with_auth extends org.apache.thrift.AsyncProcessFunction> { + public get_partitions_with_auth() { + super("get_partitions_with_auth"); + } + + public get_partitions_with_auth_args getEmptyArgsInstance() { + return new get_partitions_with_auth_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_partitions_with_auth_result result = new get_partitions_with_auth_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partitions_with_auth_result result = new get_partitions_with_auth_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partitions_with_auth_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_partitions_with_auth(args.db_name, args.tbl_name, args.max_parts, args.user_name, args.group_names,resultHandler); + } + } + + public static class get_partitions_pspec extends org.apache.thrift.AsyncProcessFunction> { + public get_partitions_pspec() { + super("get_partitions_pspec"); + } + + public get_partitions_pspec_args getEmptyArgsInstance() { + return new get_partitions_pspec_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_partitions_pspec_result result = new get_partitions_pspec_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partitions_pspec_result result = new get_partitions_pspec_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partitions_pspec_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_partitions_pspec(args.db_name, args.tbl_name, args.max_parts,resultHandler); + } + } + + public static class get_partition_names extends org.apache.thrift.AsyncProcessFunction> { + public get_partition_names() { + super("get_partition_names"); + } + + public get_partition_names_args getEmptyArgsInstance() { + return new get_partition_names_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_partition_names_result result = new get_partition_names_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partition_names_result result = new get_partition_names_result(); + if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partition_names_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_partition_names(args.db_name, args.tbl_name, args.max_parts,resultHandler); + } + } + + public static class get_partitions_ps extends org.apache.thrift.AsyncProcessFunction> { + public get_partitions_ps() { + super("get_partitions_ps"); + } + + public get_partitions_ps_args getEmptyArgsInstance() { + return new get_partitions_ps_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_partitions_ps_result result = new get_partitions_ps_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partitions_ps_result result = new get_partitions_ps_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partitions_ps_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_partitions_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts,resultHandler); + } + } + + public static class get_partitions_ps_with_auth extends org.apache.thrift.AsyncProcessFunction> { + public get_partitions_ps_with_auth() { + super("get_partitions_ps_with_auth"); + } + + public get_partitions_ps_with_auth_args getEmptyArgsInstance() { + return new get_partitions_ps_with_auth_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_partitions_ps_with_auth_result result = new get_partitions_ps_with_auth_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partitions_ps_with_auth_result result = new get_partitions_ps_with_auth_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partitions_ps_with_auth_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_partitions_ps_with_auth(args.db_name, args.tbl_name, args.part_vals, args.max_parts, args.user_name, args.group_names,resultHandler); + } + } + + public static class get_partition_names_ps extends org.apache.thrift.AsyncProcessFunction> { + public get_partition_names_ps() { + super("get_partition_names_ps"); + } + + public get_partition_names_ps_args getEmptyArgsInstance() { + return new get_partition_names_ps_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_partition_names_ps_result result = new get_partition_names_ps_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partition_names_ps_result result = new get_partition_names_ps_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partition_names_ps_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_partition_names_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts,resultHandler); + } + } + + public static class get_partitions_by_filter extends org.apache.thrift.AsyncProcessFunction> { + public get_partitions_by_filter() { + super("get_partitions_by_filter"); + } + + public get_partitions_by_filter_args getEmptyArgsInstance() { + return new get_partitions_by_filter_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_partitions_by_filter_result result = new get_partitions_by_filter_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partitions_by_filter_result result = new get_partitions_by_filter_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partitions_by_filter_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_partitions_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts,resultHandler); + } + } + + public static class get_part_specs_by_filter extends org.apache.thrift.AsyncProcessFunction> { + public get_part_specs_by_filter() { + super("get_part_specs_by_filter"); + } + + public get_part_specs_by_filter_args getEmptyArgsInstance() { + return new get_part_specs_by_filter_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_part_specs_by_filter_result result = new get_part_specs_by_filter_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_part_specs_by_filter_result result = new get_part_specs_by_filter_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_part_specs_by_filter_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_part_specs_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts,resultHandler); + } + } + + public static class get_partitions_by_expr extends org.apache.thrift.AsyncProcessFunction { + public get_partitions_by_expr() { + super("get_partitions_by_expr"); + } + + public get_partitions_by_expr_args getEmptyArgsInstance() { + return new get_partitions_by_expr_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(PartitionsByExprResult o) { + get_partitions_by_expr_result result = new get_partitions_by_expr_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partitions_by_expr_result result = new get_partitions_by_expr_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partitions_by_expr_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_partitions_by_expr(args.req,resultHandler); + } + } + + public static class get_partitions_by_names extends org.apache.thrift.AsyncProcessFunction> { + public get_partitions_by_names() { + super("get_partitions_by_names"); + } + + public get_partitions_by_names_args getEmptyArgsInstance() { + return new get_partitions_by_names_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_partitions_by_names_result result = new get_partitions_by_names_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partitions_by_names_result result = new get_partitions_by_names_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partitions_by_names_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_partitions_by_names(args.db_name, args.tbl_name, args.names,resultHandler); + } + } + + public static class alter_partition extends org.apache.thrift.AsyncProcessFunction { + public alter_partition() { + super("alter_partition"); + } + + public alter_partition_args getEmptyArgsInstance() { + return new alter_partition_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + alter_partition_result result = new alter_partition_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + alter_partition_result result = new alter_partition_result(); + if (e instanceof InvalidOperationException) { + result.o1 = (InvalidOperationException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, alter_partition_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.alter_partition(args.db_name, args.tbl_name, args.new_part,resultHandler); + } + } + + public static class alter_partitions extends org.apache.thrift.AsyncProcessFunction { + public alter_partitions() { + super("alter_partitions"); + } + + public alter_partitions_args getEmptyArgsInstance() { + return new alter_partitions_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + alter_partitions_result result = new alter_partitions_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + alter_partitions_result result = new alter_partitions_result(); + if (e instanceof InvalidOperationException) { + result.o1 = (InvalidOperationException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, alter_partitions_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.alter_partitions(args.db_name, args.tbl_name, args.new_parts,resultHandler); + } + } + + public static class alter_partition_with_environment_context extends org.apache.thrift.AsyncProcessFunction { + public alter_partition_with_environment_context() { + super("alter_partition_with_environment_context"); + } + + public alter_partition_with_environment_context_args getEmptyArgsInstance() { + return new alter_partition_with_environment_context_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + alter_partition_with_environment_context_result result = new alter_partition_with_environment_context_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + alter_partition_with_environment_context_result result = new alter_partition_with_environment_context_result(); + if (e instanceof InvalidOperationException) { + result.o1 = (InvalidOperationException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, alter_partition_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.alter_partition_with_environment_context(args.db_name, args.tbl_name, args.new_part, args.environment_context,resultHandler); + } + } + + public static class rename_partition extends org.apache.thrift.AsyncProcessFunction { + public rename_partition() { + super("rename_partition"); + } + + public rename_partition_args getEmptyArgsInstance() { + return new rename_partition_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + rename_partition_result result = new rename_partition_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + rename_partition_result result = new rename_partition_result(); + if (e instanceof InvalidOperationException) { + result.o1 = (InvalidOperationException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, rename_partition_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.rename_partition(args.db_name, args.tbl_name, args.part_vals, args.new_part,resultHandler); + } + } + + public static class partition_name_has_valid_characters extends org.apache.thrift.AsyncProcessFunction { + public partition_name_has_valid_characters() { + super("partition_name_has_valid_characters"); + } + + public partition_name_has_valid_characters_args getEmptyArgsInstance() { + return new partition_name_has_valid_characters_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + partition_name_has_valid_characters_result result = new partition_name_has_valid_characters_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + partition_name_has_valid_characters_result result = new partition_name_has_valid_characters_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, partition_name_has_valid_characters_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.partition_name_has_valid_characters(args.part_vals, args.throw_exception,resultHandler); + } + } + + public static class get_config_value extends org.apache.thrift.AsyncProcessFunction { + public get_config_value() { + super("get_config_value"); + } + + public get_config_value_args getEmptyArgsInstance() { + return new get_config_value_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(String o) { + get_config_value_result result = new get_config_value_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_config_value_result result = new get_config_value_result(); + if (e instanceof ConfigValSecurityException) { + result.o1 = (ConfigValSecurityException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_config_value_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_config_value(args.name, args.defaultValue,resultHandler); + } + } + + public static class partition_name_to_vals extends org.apache.thrift.AsyncProcessFunction> { + public partition_name_to_vals() { + super("partition_name_to_vals"); + } + + public partition_name_to_vals_args getEmptyArgsInstance() { + return new partition_name_to_vals_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + partition_name_to_vals_result result = new partition_name_to_vals_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + partition_name_to_vals_result result = new partition_name_to_vals_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, partition_name_to_vals_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.partition_name_to_vals(args.part_name,resultHandler); + } + } + + public static class partition_name_to_spec extends org.apache.thrift.AsyncProcessFunction> { + public partition_name_to_spec() { + super("partition_name_to_spec"); + } + + public partition_name_to_spec_args getEmptyArgsInstance() { + return new partition_name_to_spec_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + partition_name_to_spec_result result = new partition_name_to_spec_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + partition_name_to_spec_result result = new partition_name_to_spec_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, partition_name_to_spec_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.partition_name_to_spec(args.part_name,resultHandler); + } + } + + public static class markPartitionForEvent extends org.apache.thrift.AsyncProcessFunction { + public markPartitionForEvent() { + super("markPartitionForEvent"); + } + + public markPartitionForEvent_args getEmptyArgsInstance() { + return new markPartitionForEvent_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + markPartitionForEvent_result result = new markPartitionForEvent_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + markPartitionForEvent_result result = new markPartitionForEvent_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof UnknownDBException) { + result.o3 = (UnknownDBException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof UnknownTableException) { + result.o4 = (UnknownTableException) e; + result.setO4IsSet(true); + msg = result; + } + else if (e instanceof UnknownPartitionException) { + result.o5 = (UnknownPartitionException) e; + result.setO5IsSet(true); + msg = result; + } + else if (e instanceof InvalidPartitionException) { + result.o6 = (InvalidPartitionException) e; + result.setO6IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, markPartitionForEvent_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.markPartitionForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType,resultHandler); + } + } + + public static class isPartitionMarkedForEvent extends org.apache.thrift.AsyncProcessFunction { + public isPartitionMarkedForEvent() { + super("isPartitionMarkedForEvent"); + } + + public isPartitionMarkedForEvent_args getEmptyArgsInstance() { + return new isPartitionMarkedForEvent_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + isPartitionMarkedForEvent_result result = new isPartitionMarkedForEvent_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + isPartitionMarkedForEvent_result result = new isPartitionMarkedForEvent_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof UnknownDBException) { + result.o3 = (UnknownDBException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof UnknownTableException) { + result.o4 = (UnknownTableException) e; + result.setO4IsSet(true); + msg = result; + } + else if (e instanceof UnknownPartitionException) { + result.o5 = (UnknownPartitionException) e; + result.setO5IsSet(true); + msg = result; + } + else if (e instanceof InvalidPartitionException) { + result.o6 = (InvalidPartitionException) e; + result.setO6IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, isPartitionMarkedForEvent_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.isPartitionMarkedForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType,resultHandler); + } + } + + public static class add_index extends org.apache.thrift.AsyncProcessFunction { + public add_index() { + super("add_index"); + } + + public add_index_args getEmptyArgsInstance() { + return new add_index_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Index o) { + add_index_result result = new add_index_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + add_index_result result = new add_index_result(); + if (e instanceof InvalidObjectException) { + result.o1 = (InvalidObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof AlreadyExistsException) { + result.o2 = (AlreadyExistsException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, add_index_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.add_index(args.new_index, args.index_table,resultHandler); + } + } + + public static class alter_index extends org.apache.thrift.AsyncProcessFunction { + public alter_index() { + super("alter_index"); + } + + public alter_index_args getEmptyArgsInstance() { + return new alter_index_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + alter_index_result result = new alter_index_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + alter_index_result result = new alter_index_result(); + if (e instanceof InvalidOperationException) { + result.o1 = (InvalidOperationException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, alter_index_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.alter_index(args.dbname, args.base_tbl_name, args.idx_name, args.new_idx,resultHandler); + } + } + + public static class drop_index_by_name extends org.apache.thrift.AsyncProcessFunction { + public drop_index_by_name() { + super("drop_index_by_name"); + } + + public drop_index_by_name_args getEmptyArgsInstance() { + return new drop_index_by_name_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + drop_index_by_name_result result = new drop_index_by_name_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_index_by_name_result result = new drop_index_by_name_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, drop_index_by_name_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_index_by_name(args.db_name, args.tbl_name, args.index_name, args.deleteData,resultHandler); + } + } + + public static class get_index_by_name extends org.apache.thrift.AsyncProcessFunction { + public get_index_by_name() { + super("get_index_by_name"); + } + + public get_index_by_name_args getEmptyArgsInstance() { + return new get_index_by_name_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Index o) { + get_index_by_name_result result = new get_index_by_name_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_index_by_name_result result = new get_index_by_name_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_index_by_name_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_index_by_name(args.db_name, args.tbl_name, args.index_name,resultHandler); + } + } + + public static class get_indexes extends org.apache.thrift.AsyncProcessFunction> { + public get_indexes() { + super("get_indexes"); + } + + public get_indexes_args getEmptyArgsInstance() { + return new get_indexes_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_indexes_result result = new get_indexes_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_indexes_result result = new get_indexes_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_indexes_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_indexes(args.db_name, args.tbl_name, args.max_indexes,resultHandler); + } + } + + public static class get_index_names extends org.apache.thrift.AsyncProcessFunction> { + public get_index_names() { + super("get_index_names"); + } + + public get_index_names_args getEmptyArgsInstance() { + return new get_index_names_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_index_names_result result = new get_index_names_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_index_names_result result = new get_index_names_result(); + if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_index_names_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_index_names(args.db_name, args.tbl_name, args.max_indexes,resultHandler); + } + } + + public static class update_table_column_statistics extends org.apache.thrift.AsyncProcessFunction { + public update_table_column_statistics() { + super("update_table_column_statistics"); + } + + public update_table_column_statistics_args getEmptyArgsInstance() { + return new update_table_column_statistics_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + update_table_column_statistics_result result = new update_table_column_statistics_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + update_table_column_statistics_result result = new update_table_column_statistics_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o2 = (InvalidObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof InvalidInputException) { + result.o4 = (InvalidInputException) e; + result.setO4IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, update_table_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.update_table_column_statistics(args.stats_obj,resultHandler); + } + } + + public static class update_partition_column_statistics extends org.apache.thrift.AsyncProcessFunction { + public update_partition_column_statistics() { + super("update_partition_column_statistics"); + } + + public update_partition_column_statistics_args getEmptyArgsInstance() { + return new update_partition_column_statistics_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + update_partition_column_statistics_result result = new update_partition_column_statistics_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + update_partition_column_statistics_result result = new update_partition_column_statistics_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o2 = (InvalidObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof InvalidInputException) { + result.o4 = (InvalidInputException) e; + result.setO4IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, update_partition_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.update_partition_column_statistics(args.stats_obj,resultHandler); + } + } + + public static class get_table_column_statistics extends org.apache.thrift.AsyncProcessFunction { + public get_table_column_statistics() { + super("get_table_column_statistics"); + } + + public get_table_column_statistics_args getEmptyArgsInstance() { + return new get_table_column_statistics_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(ColumnStatistics o) { + get_table_column_statistics_result result = new get_table_column_statistics_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_table_column_statistics_result result = new get_table_column_statistics_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof InvalidInputException) { + result.o3 = (InvalidInputException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o4 = (InvalidObjectException) e; + result.setO4IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_table_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_table_column_statistics(args.db_name, args.tbl_name, args.col_name,resultHandler); + } + } + + public static class get_partition_column_statistics extends org.apache.thrift.AsyncProcessFunction { + public get_partition_column_statistics() { + super("get_partition_column_statistics"); + } + + public get_partition_column_statistics_args getEmptyArgsInstance() { + return new get_partition_column_statistics_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(ColumnStatistics o) { + get_partition_column_statistics_result result = new get_partition_column_statistics_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partition_column_statistics_result result = new get_partition_column_statistics_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof InvalidInputException) { + result.o3 = (InvalidInputException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o4 = (InvalidObjectException) e; + result.setO4IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partition_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name,resultHandler); + } + } + + public static class get_table_statistics_req extends org.apache.thrift.AsyncProcessFunction { + public get_table_statistics_req() { + super("get_table_statistics_req"); + } + + public get_table_statistics_req_args getEmptyArgsInstance() { + return new get_table_statistics_req_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TableStatsResult o) { + get_table_statistics_req_result result = new get_table_statistics_req_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_table_statistics_req_result result = new get_table_statistics_req_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_table_statistics_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_table_statistics_req(args.request,resultHandler); + } + } + + public static class get_partitions_statistics_req extends org.apache.thrift.AsyncProcessFunction { + public get_partitions_statistics_req() { + super("get_partitions_statistics_req"); + } + + public get_partitions_statistics_req_args getEmptyArgsInstance() { + return new get_partitions_statistics_req_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(PartitionsStatsResult o) { + get_partitions_statistics_req_result result = new get_partitions_statistics_req_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_partitions_statistics_req_result result = new get_partitions_statistics_req_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_partitions_statistics_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_partitions_statistics_req(args.request,resultHandler); + } + } + + public static class get_aggr_stats_for extends org.apache.thrift.AsyncProcessFunction { + public get_aggr_stats_for() { + super("get_aggr_stats_for"); + } + + public get_aggr_stats_for_args getEmptyArgsInstance() { + return new get_aggr_stats_for_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(AggrStats o) { + get_aggr_stats_for_result result = new get_aggr_stats_for_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_aggr_stats_for_result result = new get_aggr_stats_for_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_aggr_stats_for_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_aggr_stats_for(args.request,resultHandler); + } + } + + public static class set_aggr_stats_for extends org.apache.thrift.AsyncProcessFunction { + public set_aggr_stats_for() { + super("set_aggr_stats_for"); + } + + public set_aggr_stats_for_args getEmptyArgsInstance() { + return new set_aggr_stats_for_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + set_aggr_stats_for_result result = new set_aggr_stats_for_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + set_aggr_stats_for_result result = new set_aggr_stats_for_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o2 = (InvalidObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof InvalidInputException) { + result.o4 = (InvalidInputException) e; + result.setO4IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, set_aggr_stats_for_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.set_aggr_stats_for(args.request,resultHandler); + } + } + + public static class delete_partition_column_statistics extends org.apache.thrift.AsyncProcessFunction { + public delete_partition_column_statistics() { + super("delete_partition_column_statistics"); + } + + public delete_partition_column_statistics_args getEmptyArgsInstance() { + return new delete_partition_column_statistics_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + delete_partition_column_statistics_result result = new delete_partition_column_statistics_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + delete_partition_column_statistics_result result = new delete_partition_column_statistics_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o3 = (InvalidObjectException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof InvalidInputException) { + result.o4 = (InvalidInputException) e; + result.setO4IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, delete_partition_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.delete_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name,resultHandler); + } + } + + public static class delete_table_column_statistics extends org.apache.thrift.AsyncProcessFunction { + public delete_table_column_statistics() { + super("delete_table_column_statistics"); + } + + public delete_table_column_statistics_args getEmptyArgsInstance() { + return new delete_table_column_statistics_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + delete_table_column_statistics_result result = new delete_table_column_statistics_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + delete_table_column_statistics_result result = new delete_table_column_statistics_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o3 = (InvalidObjectException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof InvalidInputException) { + result.o4 = (InvalidInputException) e; + result.setO4IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, delete_table_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.delete_table_column_statistics(args.db_name, args.tbl_name, args.col_name,resultHandler); + } + } + + public static class create_function extends org.apache.thrift.AsyncProcessFunction { + public create_function() { + super("create_function"); + } + + public create_function_args getEmptyArgsInstance() { + return new create_function_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + create_function_result result = new create_function_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + create_function_result result = new create_function_result(); + if (e instanceof AlreadyExistsException) { + result.o1 = (AlreadyExistsException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof InvalidObjectException) { + result.o2 = (InvalidObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o4 = (NoSuchObjectException) e; + result.setO4IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, create_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.create_function(args.func,resultHandler); + } + } + + public static class drop_function extends org.apache.thrift.AsyncProcessFunction { + public drop_function() { + super("drop_function"); + } + + public drop_function_args getEmptyArgsInstance() { + return new drop_function_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + drop_function_result result = new drop_function_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_function_result result = new drop_function_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, drop_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_function(args.dbName, args.funcName,resultHandler); + } + } + + public static class alter_function extends org.apache.thrift.AsyncProcessFunction { + public alter_function() { + super("alter_function"); + } + + public alter_function_args getEmptyArgsInstance() { + return new alter_function_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + alter_function_result result = new alter_function_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + alter_function_result result = new alter_function_result(); + if (e instanceof InvalidOperationException) { + result.o1 = (InvalidOperationException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, alter_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.alter_function(args.dbName, args.funcName, args.newFunc,resultHandler); + } + } + + public static class get_functions extends org.apache.thrift.AsyncProcessFunction> { + public get_functions() { + super("get_functions"); + } + + public get_functions_args getEmptyArgsInstance() { + return new get_functions_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_functions_result result = new get_functions_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_functions_result result = new get_functions_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_functions_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_functions(args.dbName, args.pattern,resultHandler); + } + } + + public static class get_function extends org.apache.thrift.AsyncProcessFunction { + public get_function() { + super("get_function"); + } + + public get_function_args getEmptyArgsInstance() { + return new get_function_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Function o) { + get_function_result result = new get_function_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_function_result result = new get_function_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_function(args.dbName, args.funcName,resultHandler); + } + } + + public static class get_all_functions extends org.apache.thrift.AsyncProcessFunction { + public get_all_functions() { + super("get_all_functions"); + } + + public get_all_functions_args getEmptyArgsInstance() { + return new get_all_functions_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(GetAllFunctionsResponse o) { + get_all_functions_result result = new get_all_functions_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_all_functions_result result = new get_all_functions_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_all_functions_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_all_functions(resultHandler); + } + } + + public static class create_role extends org.apache.thrift.AsyncProcessFunction { + public create_role() { + super("create_role"); + } + + public create_role_args getEmptyArgsInstance() { + return new create_role_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + create_role_result result = new create_role_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + create_role_result result = new create_role_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, create_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.create_role(args.role,resultHandler); + } + } + + public static class drop_role extends org.apache.thrift.AsyncProcessFunction { + public drop_role() { + super("drop_role"); + } + + public drop_role_args getEmptyArgsInstance() { + return new drop_role_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + drop_role_result result = new drop_role_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + drop_role_result result = new drop_role_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, drop_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.drop_role(args.role_name,resultHandler); + } + } + + public static class get_role_names extends org.apache.thrift.AsyncProcessFunction> { + public get_role_names() { + super("get_role_names"); + } + + public get_role_names_args getEmptyArgsInstance() { + return new get_role_names_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_role_names_result result = new get_role_names_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_role_names_result result = new get_role_names_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_role_names_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_role_names(resultHandler); + } + } + + public static class grant_role extends org.apache.thrift.AsyncProcessFunction { + public grant_role() { + super("grant_role"); + } + + public grant_role_args getEmptyArgsInstance() { + return new grant_role_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + grant_role_result result = new grant_role_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + grant_role_result result = new grant_role_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, grant_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.grant_role(args.role_name, args.principal_name, args.principal_type, args.grantor, args.grantorType, args.grant_option,resultHandler); + } + } + + public static class revoke_role extends org.apache.thrift.AsyncProcessFunction { + public revoke_role() { + super("revoke_role"); + } + + public revoke_role_args getEmptyArgsInstance() { + return new revoke_role_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + revoke_role_result result = new revoke_role_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + revoke_role_result result = new revoke_role_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, revoke_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.revoke_role(args.role_name, args.principal_name, args.principal_type,resultHandler); + } + } + + public static class list_roles extends org.apache.thrift.AsyncProcessFunction> { + public list_roles() { + super("list_roles"); + } + + public list_roles_args getEmptyArgsInstance() { + return new list_roles_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + list_roles_result result = new list_roles_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + list_roles_result result = new list_roles_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, list_roles_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.list_roles(args.principal_name, args.principal_type,resultHandler); + } + } + + public static class grant_revoke_role extends org.apache.thrift.AsyncProcessFunction { + public grant_revoke_role() { + super("grant_revoke_role"); + } + + public grant_revoke_role_args getEmptyArgsInstance() { + return new grant_revoke_role_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(GrantRevokeRoleResponse o) { + grant_revoke_role_result result = new grant_revoke_role_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + grant_revoke_role_result result = new grant_revoke_role_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, grant_revoke_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.grant_revoke_role(args.request,resultHandler); + } + } + + public static class get_principals_in_role extends org.apache.thrift.AsyncProcessFunction { + public get_principals_in_role() { + super("get_principals_in_role"); + } + + public get_principals_in_role_args getEmptyArgsInstance() { + return new get_principals_in_role_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(GetPrincipalsInRoleResponse o) { + get_principals_in_role_result result = new get_principals_in_role_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_principals_in_role_result result = new get_principals_in_role_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_principals_in_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_principals_in_role(args.request,resultHandler); + } + } + + public static class get_role_grants_for_principal extends org.apache.thrift.AsyncProcessFunction { + public get_role_grants_for_principal() { + super("get_role_grants_for_principal"); + } + + public get_role_grants_for_principal_args getEmptyArgsInstance() { + return new get_role_grants_for_principal_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(GetRoleGrantsForPrincipalResponse o) { + get_role_grants_for_principal_result result = new get_role_grants_for_principal_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_role_grants_for_principal_result result = new get_role_grants_for_principal_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_role_grants_for_principal_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_role_grants_for_principal(args.request,resultHandler); + } + } + + public static class get_privilege_set extends org.apache.thrift.AsyncProcessFunction { + public get_privilege_set() { + super("get_privilege_set"); + } + + public get_privilege_set_args getEmptyArgsInstance() { + return new get_privilege_set_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(PrincipalPrivilegeSet o) { + get_privilege_set_result result = new get_privilege_set_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_privilege_set_result result = new get_privilege_set_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_privilege_set_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_privilege_set(args.hiveObject, args.user_name, args.group_names,resultHandler); + } + } + + public static class list_privileges extends org.apache.thrift.AsyncProcessFunction> { + public list_privileges() { + super("list_privileges"); + } + + public list_privileges_args getEmptyArgsInstance() { + return new list_privileges_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + list_privileges_result result = new list_privileges_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + list_privileges_result result = new list_privileges_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, list_privileges_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.list_privileges(args.principal_name, args.principal_type, args.hiveObject,resultHandler); + } + } + + public static class grant_privileges extends org.apache.thrift.AsyncProcessFunction { + public grant_privileges() { + super("grant_privileges"); + } + + public grant_privileges_args getEmptyArgsInstance() { + return new grant_privileges_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + grant_privileges_result result = new grant_privileges_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + grant_privileges_result result = new grant_privileges_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, grant_privileges_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.grant_privileges(args.privileges,resultHandler); + } + } + + public static class revoke_privileges extends org.apache.thrift.AsyncProcessFunction { + public revoke_privileges() { + super("revoke_privileges"); + } + + public revoke_privileges_args getEmptyArgsInstance() { + return new revoke_privileges_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + revoke_privileges_result result = new revoke_privileges_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + revoke_privileges_result result = new revoke_privileges_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, revoke_privileges_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.revoke_privileges(args.privileges,resultHandler); + } + } + + public static class grant_revoke_privileges extends org.apache.thrift.AsyncProcessFunction { + public grant_revoke_privileges() { + super("grant_revoke_privileges"); + } + + public grant_revoke_privileges_args getEmptyArgsInstance() { + return new grant_revoke_privileges_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(GrantRevokePrivilegeResponse o) { + grant_revoke_privileges_result result = new grant_revoke_privileges_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + grant_revoke_privileges_result result = new grant_revoke_privileges_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, grant_revoke_privileges_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.grant_revoke_privileges(args.request,resultHandler); + } + } + + public static class set_ugi extends org.apache.thrift.AsyncProcessFunction> { + public set_ugi() { + super("set_ugi"); + } + + public set_ugi_args getEmptyArgsInstance() { + return new set_ugi_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + set_ugi_result result = new set_ugi_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + set_ugi_result result = new set_ugi_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, set_ugi_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.set_ugi(args.user_name, args.group_names,resultHandler); + } + } + + public static class get_delegation_token extends org.apache.thrift.AsyncProcessFunction { + public get_delegation_token() { + super("get_delegation_token"); + } + + public get_delegation_token_args getEmptyArgsInstance() { + return new get_delegation_token_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(String o) { + get_delegation_token_result result = new get_delegation_token_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_delegation_token_result result = new get_delegation_token_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_delegation_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_delegation_token(args.token_owner, args.renewer_kerberos_principal_name,resultHandler); + } + } + + public static class renew_delegation_token extends org.apache.thrift.AsyncProcessFunction { + public renew_delegation_token() { + super("renew_delegation_token"); + } + + public renew_delegation_token_args getEmptyArgsInstance() { + return new renew_delegation_token_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + renew_delegation_token_result result = new renew_delegation_token_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + renew_delegation_token_result result = new renew_delegation_token_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, renew_delegation_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.renew_delegation_token(args.token_str_form,resultHandler); + } + } + + public static class cancel_delegation_token extends org.apache.thrift.AsyncProcessFunction { + public cancel_delegation_token() { + super("cancel_delegation_token"); + } + + public cancel_delegation_token_args getEmptyArgsInstance() { + return new cancel_delegation_token_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + cancel_delegation_token_result result = new cancel_delegation_token_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + cancel_delegation_token_result result = new cancel_delegation_token_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, cancel_delegation_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.cancel_delegation_token(args.token_str_form,resultHandler); + } + } + + public static class get_open_txns extends org.apache.thrift.AsyncProcessFunction { + public get_open_txns() { + super("get_open_txns"); + } + + public get_open_txns_args getEmptyArgsInstance() { + return new get_open_txns_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(GetOpenTxnsResponse o) { + get_open_txns_result result = new get_open_txns_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_open_txns_result result = new get_open_txns_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_open_txns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_open_txns(resultHandler); + } + } + + public static class get_open_txns_info extends org.apache.thrift.AsyncProcessFunction { + public get_open_txns_info() { + super("get_open_txns_info"); + } + + public get_open_txns_info_args getEmptyArgsInstance() { + return new get_open_txns_info_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(GetOpenTxnsInfoResponse o) { + get_open_txns_info_result result = new get_open_txns_info_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_open_txns_info_result result = new get_open_txns_info_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_open_txns_info_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_open_txns_info(resultHandler); + } + } + + public static class open_txns extends org.apache.thrift.AsyncProcessFunction { + public open_txns() { + super("open_txns"); + } + + public open_txns_args getEmptyArgsInstance() { + return new open_txns_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(OpenTxnsResponse o) { + open_txns_result result = new open_txns_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + open_txns_result result = new open_txns_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, open_txns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.open_txns(args.rqst,resultHandler); + } + } + + public static class abort_txn extends org.apache.thrift.AsyncProcessFunction { + public abort_txn() { + super("abort_txn"); + } + + public abort_txn_args getEmptyArgsInstance() { + return new abort_txn_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + abort_txn_result result = new abort_txn_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + abort_txn_result result = new abort_txn_result(); + if (e instanceof NoSuchTxnException) { + result.o1 = (NoSuchTxnException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, abort_txn_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.abort_txn(args.rqst,resultHandler); + } + } + + public static class commit_txn extends org.apache.thrift.AsyncProcessFunction { + public commit_txn() { + super("commit_txn"); + } + + public commit_txn_args getEmptyArgsInstance() { + return new commit_txn_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + commit_txn_result result = new commit_txn_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + commit_txn_result result = new commit_txn_result(); + if (e instanceof NoSuchTxnException) { + result.o1 = (NoSuchTxnException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof TxnAbortedException) { + result.o2 = (TxnAbortedException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, commit_txn_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.commit_txn(args.rqst,resultHandler); + } + } + + public static class lock extends org.apache.thrift.AsyncProcessFunction { + public lock() { + super("lock"); + } + + public lock_args getEmptyArgsInstance() { + return new lock_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(LockResponse o) { + lock_result result = new lock_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + lock_result result = new lock_result(); + if (e instanceof NoSuchTxnException) { + result.o1 = (NoSuchTxnException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof TxnAbortedException) { + result.o2 = (TxnAbortedException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, lock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.lock(args.rqst,resultHandler); + } + } + + public static class check_lock extends org.apache.thrift.AsyncProcessFunction { + public check_lock() { + super("check_lock"); + } + + public check_lock_args getEmptyArgsInstance() { + return new check_lock_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(LockResponse o) { + check_lock_result result = new check_lock_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + check_lock_result result = new check_lock_result(); + if (e instanceof NoSuchTxnException) { + result.o1 = (NoSuchTxnException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof TxnAbortedException) { + result.o2 = (TxnAbortedException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof NoSuchLockException) { + result.o3 = (NoSuchLockException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, check_lock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.check_lock(args.rqst,resultHandler); + } + } + + public static class unlock extends org.apache.thrift.AsyncProcessFunction { + public unlock() { + super("unlock"); + } + + public unlock_args getEmptyArgsInstance() { + return new unlock_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + unlock_result result = new unlock_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + unlock_result result = new unlock_result(); + if (e instanceof NoSuchLockException) { + result.o1 = (NoSuchLockException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof TxnOpenException) { + result.o2 = (TxnOpenException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, unlock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.unlock(args.rqst,resultHandler); + } + } + + public static class show_locks extends org.apache.thrift.AsyncProcessFunction { + public show_locks() { + super("show_locks"); + } + + public show_locks_args getEmptyArgsInstance() { + return new show_locks_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(ShowLocksResponse o) { + show_locks_result result = new show_locks_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + show_locks_result result = new show_locks_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, show_locks_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.show_locks(args.rqst,resultHandler); + } + } + + public static class heartbeat extends org.apache.thrift.AsyncProcessFunction { + public heartbeat() { + super("heartbeat"); + } + + public heartbeat_args getEmptyArgsInstance() { + return new heartbeat_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + heartbeat_result result = new heartbeat_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + heartbeat_result result = new heartbeat_result(); + if (e instanceof NoSuchLockException) { + result.o1 = (NoSuchLockException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchTxnException) { + result.o2 = (NoSuchTxnException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof TxnAbortedException) { + result.o3 = (TxnAbortedException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, heartbeat_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.heartbeat(args.ids,resultHandler); + } + } + + public static class heartbeat_txn_range extends org.apache.thrift.AsyncProcessFunction { + public heartbeat_txn_range() { + super("heartbeat_txn_range"); + } + + public heartbeat_txn_range_args getEmptyArgsInstance() { + return new heartbeat_txn_range_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(HeartbeatTxnRangeResponse o) { + heartbeat_txn_range_result result = new heartbeat_txn_range_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + heartbeat_txn_range_result result = new heartbeat_txn_range_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, heartbeat_txn_range_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.heartbeat_txn_range(args.txns,resultHandler); + } + } + + public static class compact extends org.apache.thrift.AsyncProcessFunction { + public compact() { + super("compact"); + } + + public compact_args getEmptyArgsInstance() { + return new compact_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + compact_result result = new compact_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + compact_result result = new compact_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, compact_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.compact(args.rqst,resultHandler); + } + } + + public static class show_compact extends org.apache.thrift.AsyncProcessFunction { + public show_compact() { + super("show_compact"); + } + + public show_compact_args getEmptyArgsInstance() { + return new show_compact_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(ShowCompactResponse o) { + show_compact_result result = new show_compact_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + show_compact_result result = new show_compact_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, show_compact_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.show_compact(args.rqst,resultHandler); + } + } + + public static class add_dynamic_partitions extends org.apache.thrift.AsyncProcessFunction { + public add_dynamic_partitions() { + super("add_dynamic_partitions"); + } + + public add_dynamic_partitions_args getEmptyArgsInstance() { + return new add_dynamic_partitions_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + add_dynamic_partitions_result result = new add_dynamic_partitions_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + add_dynamic_partitions_result result = new add_dynamic_partitions_result(); + if (e instanceof NoSuchTxnException) { + result.o1 = (NoSuchTxnException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof TxnAbortedException) { + result.o2 = (TxnAbortedException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, add_dynamic_partitions_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.add_dynamic_partitions(args.rqst,resultHandler); + } + } + + public static class get_next_notification extends org.apache.thrift.AsyncProcessFunction { + public get_next_notification() { + super("get_next_notification"); + } + + public get_next_notification_args getEmptyArgsInstance() { + return new get_next_notification_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(NotificationEventResponse o) { + get_next_notification_result result = new get_next_notification_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_next_notification_result result = new get_next_notification_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_next_notification_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_next_notification(args.rqst,resultHandler); + } + } + + public static class get_current_notificationEventId extends org.apache.thrift.AsyncProcessFunction { + public get_current_notificationEventId() { + super("get_current_notificationEventId"); + } + + public get_current_notificationEventId_args getEmptyArgsInstance() { + return new get_current_notificationEventId_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(CurrentNotificationEventId o) { + get_current_notificationEventId_result result = new get_current_notificationEventId_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_current_notificationEventId_result result = new get_current_notificationEventId_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_current_notificationEventId_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_current_notificationEventId(resultHandler); + } + } + + public static class fire_listener_event extends org.apache.thrift.AsyncProcessFunction { + public fire_listener_event() { + super("fire_listener_event"); + } + + public fire_listener_event_args getEmptyArgsInstance() { + return new fire_listener_event_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(FireEventResponse o) { + fire_listener_event_result result = new fire_listener_event_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + fire_listener_event_result result = new fire_listener_event_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, fire_listener_event_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.fire_listener_event(args.rqst,resultHandler); + } + } + + } + + public static class getMetaConf_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMetaConf_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField("key", org.apache.thrift.protocol.TType.STRING, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new getMetaConf_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getMetaConf_argsTupleSchemeFactory()); + } + + private String key; // 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 { + KEY((short)1, "key"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // KEY + return KEY; + 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.KEY, new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMetaConf_args.class, metaDataMap); + } + + public getMetaConf_args() { + } + + public getMetaConf_args( + String key) + { + this(); + this.key = key; + } + + /** + * Performs a deep copy on other. + */ + public getMetaConf_args(getMetaConf_args other) { + if (other.isSetKey()) { + this.key = other.key; + } + } + + public getMetaConf_args deepCopy() { + return new getMetaConf_args(this); + } + + @Override + public void clear() { + this.key = null; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + + public void unsetKey() { + this.key = null; + } + + /** Returns true if field key is set (has been assigned a value) and false otherwise */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if (!value) { + this.key = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if (value == null) { + unsetKey(); + } else { + setKey((String)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + } + 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 KEY: + return isSetKey(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof getMetaConf_args) + return this.equals((getMetaConf_args)that); + return false; + } + + public boolean equals(getMetaConf_args that) { + if (that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if (this_present_key || that_present_key) { + if (!(this_present_key && that_present_key)) + return false; + if (!this.key.equals(that.key)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if (present_key) + list.add(key); + + return list.hashCode(); + } + + @Override + public int compareTo(getMetaConf_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()).compareTo(other.isSetKey()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key, other.key); + 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("getMetaConf_args("); + boolean first = true; + + sb.append("key:"); + if (this.key == null) { + sb.append("null"); + } else { + sb.append(this.key); + } + first = false; + 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 getMetaConf_argsStandardSchemeFactory implements SchemeFactory { + public getMetaConf_argsStandardScheme getScheme() { + return new getMetaConf_argsStandardScheme(); + } + } + + private static class getMetaConf_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, getMetaConf_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: // KEY + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(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, getMetaConf_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class getMetaConf_argsTupleSchemeFactory implements SchemeFactory { + public getMetaConf_argsTupleScheme getScheme() { + return new getMetaConf_argsTupleScheme(); + } + } + + private static class getMetaConf_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, getMetaConf_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetKey()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetKey()) { + oprot.writeString(struct.key); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, getMetaConf_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + } + } + + } + + public static class getMetaConf_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMetaConf_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (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 Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new getMetaConf_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getMetaConf_resultTupleSchemeFactory()); + } + + private String success; // required + private MetaException o1; // 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"); + + 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; + 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.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + 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))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMetaConf_result.class, metaDataMap); + } + + public getMetaConf_result() { + } + + public getMetaConf_result( + String success, + MetaException o1) + { + this(); + this.success = success; + this.o1 = o1; + } + + /** + * Performs a deep copy on other. + */ + public getMetaConf_result(getMetaConf_result other) { + if (other.isSetSuccess()) { + this.success = other.success; + } + if (other.isSetO1()) { + this.o1 = new MetaException(other.o1); + } + } + + public getMetaConf_result deepCopy() { + return new getMetaConf_result(this); + } + + @Override + public void clear() { + this.success = null; + this.o1 = null; + } + + public String getSuccess() { + return this.success; + } + + public void setSuccess(String 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 void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((String)value); + } + break; + + case O1: + if (value == null) { + unsetO1(); + } else { + setO1((MetaException)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case O1: + return getO1(); + + } + 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(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof getMetaConf_result) + return this.equals((getMetaConf_result)that); + return false; + } + + public boolean equals(getMetaConf_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; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_o1 = true && (isSetO1()); + list.add(present_o1); + if (present_o1) + list.add(o1); + + return list.hashCode(); + } + + @Override + public int compareTo(getMetaConf_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); + 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 @@ -12750,7 +20636,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getMetaConf_result s } - public static class setMetaConf_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class setMetaConf_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setMetaConf_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField("key", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -13002,45 +20888,45 @@ public boolean equals(setMetaConf_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_key = true && (isSetKey()); - builder.append(present_key); + list.add(present_key); if (present_key) - builder.append(key); + list.add(key); boolean present_value = true && (isSetValue()); - builder.append(present_value); + list.add(present_value); if (present_value) - builder.append(value); + list.add(value); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(setMetaConf_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - setMetaConf_args typedOther = (setMetaConf_args)other; - lastComparison = Boolean.valueOf(isSetKey()).compareTo(typedOther.isSetKey()); + lastComparison = Boolean.valueOf(isSetKey()).compareTo(other.isSetKey()); if (lastComparison != 0) { return lastComparison; } if (isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key, typedOther.key); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key, other.key); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue()); + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); if (lastComparison != 0) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } @@ -13212,7 +21098,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, setMetaConf_args str } - public static class setMetaConf_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class setMetaConf_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setMetaConf_result"); 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); @@ -13406,30 +21292,30 @@ public boolean equals(setMetaConf_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(setMetaConf_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - setMetaConf_result typedOther = (setMetaConf_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -13572,7 +21458,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, setMetaConf_result s } - public static class create_database_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class create_database_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_database_args"); private static final org.apache.thrift.protocol.TField DATABASE_FIELD_DESC = new org.apache.thrift.protocol.TField("database", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -13766,30 +21652,30 @@ public boolean equals(create_database_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_database = true && (isSetDatabase()); - builder.append(present_database); + list.add(present_database); if (present_database) - builder.append(database); + list.add(database); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(create_database_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_database_args typedOther = (create_database_args)other; - lastComparison = Boolean.valueOf(isSetDatabase()).compareTo(typedOther.isSetDatabase()); + lastComparison = Boolean.valueOf(isSetDatabase()).compareTo(other.isSetDatabase()); if (lastComparison != 0) { return lastComparison; } if (isSetDatabase()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.database, typedOther.database); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.database, other.database); if (lastComparison != 0) { return lastComparison; } @@ -13935,7 +21821,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_database_args } - public static class create_database_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class create_database_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_database_result"); 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); @@ -14245,60 +22131,60 @@ public boolean equals(create_database_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(create_database_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_database_result typedOther = (create_database_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -14507,7 +22393,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_database_resu } - public static class get_database_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_database_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_database_args"); private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -14701,30 +22587,30 @@ public boolean equals(get_database_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_name = true && (isSetName()); - builder.append(present_name); + list.add(present_name); if (present_name) - builder.append(name); + list.add(name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_database_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_database_args typedOther = (get_database_args)other; - lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } @@ -14865,7 +22751,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_database_args st } - public static class get_database_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_database_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_database_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); @@ -15175,60 +23061,60 @@ public boolean equals(get_database_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_database_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_database_result typedOther = (get_database_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -15440,7 +23326,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_database_result } - public static class drop_database_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_database_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_database_args"); private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -15752,60 +23638,60 @@ public boolean equals(drop_database_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_name = true && (isSetName()); - builder.append(present_name); + list.add(present_name); if (present_name) - builder.append(name); + list.add(name); boolean present_deleteData = true; - builder.append(present_deleteData); + list.add(present_deleteData); if (present_deleteData) - builder.append(deleteData); + list.add(deleteData); boolean present_cascade = true; - builder.append(present_cascade); + list.add(present_cascade); if (present_cascade) - builder.append(cascade); + list.add(cascade); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_database_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_database_args typedOther = (drop_database_args)other; - lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(typedOther.isSetDeleteData()); + lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(other.isSetDeleteData()); if (lastComparison != 0) { return lastComparison; } if (isSetDeleteData()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, typedOther.deleteData); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, other.deleteData); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCascade()).compareTo(typedOther.isSetCascade()); + lastComparison = Boolean.valueOf(isSetCascade()).compareTo(other.isSetCascade()); if (lastComparison != 0) { return lastComparison; } if (isSetCascade()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cascade, typedOther.cascade); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cascade, other.cascade); if (lastComparison != 0) { return lastComparison; } @@ -15998,7 +23884,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_database_args s } - public static class drop_database_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_database_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_database_result"); 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); @@ -16308,60 +24194,60 @@ public boolean equals(drop_database_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_database_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_database_result typedOther = (drop_database_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -16434,884 +24320,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class drop_database_resultStandardSchemeFactory implements SchemeFactory { - public drop_database_resultStandardScheme getScheme() { - return new drop_database_resultStandardScheme(); - } - } - - private static class drop_database_resultStandardScheme extends StandardScheme { - - public void read(org.apache.thrift.protocol.TProtocol iprot, drop_database_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 1: // O1 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new NoSuchObjectException(); - 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 InvalidOperationException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // O3 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new MetaException(); - struct.o3.read(iprot); - struct.setO3IsSet(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, drop_database_result struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - 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(); - } - if (struct.o3 != null) { - oprot.writeFieldBegin(O3_FIELD_DESC); - struct.o3.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - } - - private static class drop_database_resultTupleSchemeFactory implements SchemeFactory { - public drop_database_resultTupleScheme getScheme() { - return new drop_database_resultTupleScheme(); - } - } - - private static class drop_database_resultTupleScheme extends TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, drop_database_result struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetO1()) { - optionals.set(0); - } - if (struct.isSetO2()) { - optionals.set(1); - } - if (struct.isSetO3()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); - if (struct.isSetO1()) { - struct.o1.write(oprot); - } - if (struct.isSetO2()) { - struct.o2.write(oprot); - } - if (struct.isSetO3()) { - struct.o3.write(oprot); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, drop_database_result struct) throws org.apache.thrift.TException { - TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.o1 = new NoSuchObjectException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); - } - if (incoming.get(1)) { - struct.o2 = new InvalidOperationException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } - if (incoming.get(2)) { - struct.o3 = new MetaException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); - } - } - } - - } - - public static class get_databases_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_databases_args"); - - private static final org.apache.thrift.protocol.TField PATTERN_FIELD_DESC = new org.apache.thrift.protocol.TField("pattern", org.apache.thrift.protocol.TType.STRING, (short)1); - - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new get_databases_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_databases_argsTupleSchemeFactory()); - } - - private String pattern; // 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 { - PATTERN((short)1, "pattern"); - - private static final Map byName = new HashMap(); - - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { - switch(fieldId) { - case 1: // PATTERN - return PATTERN; - 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.PATTERN, new org.apache.thrift.meta_data.FieldMetaData("pattern", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_databases_args.class, metaDataMap); - } - - public get_databases_args() { - } - - public get_databases_args( - String pattern) - { - this(); - this.pattern = pattern; - } - - /** - * Performs a deep copy on other. - */ - public get_databases_args(get_databases_args other) { - if (other.isSetPattern()) { - this.pattern = other.pattern; - } - } - - public get_databases_args deepCopy() { - return new get_databases_args(this); - } - - @Override - public void clear() { - this.pattern = null; - } - - public String getPattern() { - return this.pattern; - } - - public void setPattern(String pattern) { - this.pattern = pattern; - } - - public void unsetPattern() { - this.pattern = null; - } - - /** Returns true if field pattern is set (has been assigned a value) and false otherwise */ - public boolean isSetPattern() { - return this.pattern != null; - } - - public void setPatternIsSet(boolean value) { - if (!value) { - this.pattern = null; - } - } - - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case PATTERN: - if (value == null) { - unsetPattern(); - } else { - setPattern((String)value); - } - break; - - } - } - - public Object getFieldValue(_Fields field) { - switch (field) { - case PATTERN: - return getPattern(); - - } - 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 PATTERN: - return isSetPattern(); - } - throw new IllegalStateException(); - } - - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof get_databases_args) - return this.equals((get_databases_args)that); - return false; - } - - public boolean equals(get_databases_args that) { - if (that == null) - return false; - - boolean this_present_pattern = true && this.isSetPattern(); - boolean that_present_pattern = true && that.isSetPattern(); - if (this_present_pattern || that_present_pattern) { - if (!(this_present_pattern && that_present_pattern)) - return false; - if (!this.pattern.equals(that.pattern)) - return false; - } - - return true; - } - - @Override - public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); - - boolean present_pattern = true && (isSetPattern()); - builder.append(present_pattern); - if (present_pattern) - builder.append(pattern); - - return builder.toHashCode(); - } - - public int compareTo(get_databases_args other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - get_databases_args typedOther = (get_databases_args)other; - - lastComparison = Boolean.valueOf(isSetPattern()).compareTo(typedOther.isSetPattern()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetPattern()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pattern, typedOther.pattern); - 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_databases_args("); - boolean first = true; - - sb.append("pattern:"); - if (this.pattern == null) { - sb.append("null"); - } else { - sb.append(this.pattern); - } - first = false; - 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_databases_argsStandardSchemeFactory implements SchemeFactory { - public get_databases_argsStandardScheme getScheme() { - return new get_databases_argsStandardScheme(); - } - } - - private static class get_databases_argsStandardScheme extends StandardScheme { - - public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_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: // PATTERN - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.pattern = iprot.readString(); - struct.setPatternIsSet(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_databases_args struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.pattern != null) { - oprot.writeFieldBegin(PATTERN_FIELD_DESC); - oprot.writeString(struct.pattern); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - } - - private static class get_databases_argsTupleSchemeFactory implements SchemeFactory { - public get_databases_argsTupleScheme getScheme() { - return new get_databases_argsTupleScheme(); - } - } - - private static class get_databases_argsTupleScheme extends TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_args struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetPattern()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetPattern()) { - oprot.writeString(struct.pattern); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_args struct) throws org.apache.thrift.TException { - TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.pattern = iprot.readString(); - struct.setPatternIsSet(true); - } - } - } - - } - - public static class get_databases_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_databases_result"); - - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (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 Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new get_databases_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_databases_resultTupleSchemeFactory()); - } - - private List success; // required - private MetaException o1; // 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"); - - 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; - 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.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); - 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))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_databases_result.class, metaDataMap); - } - - public get_databases_result() { - } - - public get_databases_result( - List success, - MetaException o1) - { - this(); - this.success = success; - this.o1 = o1; - } - - /** - * Performs a deep copy on other. - */ - public get_databases_result(get_databases_result other) { - if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } - this.success = __this__success; - } - if (other.isSetO1()) { - this.o1 = new MetaException(other.o1); - } - } - - public get_databases_result deepCopy() { - return new get_databases_result(this); - } - - @Override - public void clear() { - this.success = null; - this.o1 = null; - } - - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { - if (this.success == null) { - this.success = new ArrayList(); - } - this.success.add(elem); - } - - public List getSuccess() { - return this.success; - } - - public void setSuccess(List 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 void setFieldValue(_Fields field, Object value) { - switch (field) { - case SUCCESS: - if (value == null) { - unsetSuccess(); - } else { - setSuccess((List)value); - } - break; - - case O1: - if (value == null) { - unsetO1(); - } else { - setO1((MetaException)value); - } - break; - - } - } - - public Object getFieldValue(_Fields field) { - switch (field) { - case SUCCESS: - return getSuccess(); - - case O1: - return getO1(); - - } - 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(); - } - throw new IllegalStateException(); - } - - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof get_databases_result) - return this.equals((get_databases_result)that); - return false; - } - - public boolean equals(get_databases_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; - } - - 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); - - return builder.toHashCode(); - } - - public int compareTo(get_databases_result other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - get_databases_result typedOther = (get_databases_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; - } - } - 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_databases_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; - 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_databases_resultStandardSchemeFactory implements SchemeFactory { - public get_databases_resultStandardScheme getScheme() { - return new get_databases_resultStandardScheme(); + private static class drop_database_resultStandardSchemeFactory implements SchemeFactory { + public drop_database_resultStandardScheme getScheme() { + return new drop_database_resultStandardScheme(); } } - private static class get_databases_resultStandardScheme extends StandardScheme { + private static class drop_database_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, drop_database_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -17321,29 +24338,29 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_resul break; } switch (schemeField.id) { - 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) - { - String _elem526; // optional - _elem526 = iprot.readString(); - struct.success.add(_elem526); - } - iprot.readListEnd(); - } - struct.setSuccessIsSet(true); + case 1: // O1 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o1 = new NoSuchObjectException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 1: // O1 + case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new MetaException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); + struct.o2 = new InvalidOperationException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // O3 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o3 = new MetaException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -17357,107 +24374,104 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_resul struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, drop_database_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.success != null) { - 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) - { - oprot.writeString(_iter527); - } - oprot.writeListEnd(); - } - 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(); + } + if (struct.o3 != null) { + oprot.writeFieldBegin(O3_FIELD_DESC); + struct.o3.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_databases_resultTupleSchemeFactory implements SchemeFactory { - public get_databases_resultTupleScheme getScheme() { - return new get_databases_resultTupleScheme(); + private static class drop_database_resultTupleSchemeFactory implements SchemeFactory { + public drop_database_resultTupleScheme getScheme() { + return new drop_database_resultTupleScheme(); } } - private static class get_databases_resultTupleScheme extends TupleScheme { + private static class drop_database_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, drop_database_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetSuccess()) { + if (struct.isSetO1()) { optionals.set(0); } - if (struct.isSetO1()) { + if (struct.isSetO2()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); - if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (String _iter528 : struct.success) - { - oprot.writeString(_iter528); - } - } + if (struct.isSetO3()) { + optionals.set(2); } + oprot.writeBitSet(optionals, 3); if (struct.isSetO1()) { struct.o1.write(oprot); } + if (struct.isSetO2()) { + struct.o2.write(oprot); + } + if (struct.isSetO3()) { + struct.o3.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, drop_database_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(3); 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) - { - String _elem531; // optional - _elem531 = iprot.readString(); - struct.success.add(_elem531); - } - } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.o1 = new MetaException(); + struct.o1 = new NoSuchObjectException(); struct.o1.read(iprot); struct.setO1IsSet(true); } + if (incoming.get(1)) { + struct.o2 = new InvalidOperationException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } + if (incoming.get(2)) { + struct.o3 = new MetaException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } } } } - public static class get_all_databases_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_databases_args"); + public static class get_databases_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_databases_args"); + private static final org.apache.thrift.protocol.TField PATTERN_FIELD_DESC = new org.apache.thrift.protocol.TField("pattern", org.apache.thrift.protocol.TType.STRING, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_all_databases_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_all_databases_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_databases_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_databases_argsTupleSchemeFactory()); } + private String pattern; // 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 { -; + PATTERN((short)1, "pattern"); private static final Map byName = new HashMap(); @@ -17472,6 +24486,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { + case 1: // PATTERN + return PATTERN; default: return null; } @@ -17510,37 +24526,86 @@ 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.PATTERN, new org.apache.thrift.meta_data.FieldMetaData("pattern", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_all_databases_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_databases_args.class, metaDataMap); } - public get_all_databases_args() { + public get_databases_args() { + } + + public get_databases_args( + String pattern) + { + this(); + this.pattern = pattern; } /** * Performs a deep copy on other. */ - public get_all_databases_args(get_all_databases_args other) { + public get_databases_args(get_databases_args other) { + if (other.isSetPattern()) { + this.pattern = other.pattern; + } } - public get_all_databases_args deepCopy() { - return new get_all_databases_args(this); + public get_databases_args deepCopy() { + return new get_databases_args(this); } @Override public void clear() { + this.pattern = null; + } + + public String getPattern() { + return this.pattern; + } + + public void setPattern(String pattern) { + this.pattern = pattern; + } + + public void unsetPattern() { + this.pattern = null; + } + + /** Returns true if field pattern is set (has been assigned a value) and false otherwise */ + public boolean isSetPattern() { + return this.pattern != null; + } + + public void setPatternIsSet(boolean value) { + if (!value) { + this.pattern = null; + } } public void setFieldValue(_Fields field, Object value) { switch (field) { + case PATTERN: + if (value == null) { + unsetPattern(); + } else { + setPattern((String)value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { + case PATTERN: + return getPattern(); + } throw new IllegalStateException(); } @@ -17552,6 +24617,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case PATTERN: + return isSetPattern(); } throw new IllegalStateException(); } @@ -17560,33 +24627,57 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_all_databases_args) - return this.equals((get_all_databases_args)that); + if (that instanceof get_databases_args) + return this.equals((get_databases_args)that); return false; } - public boolean equals(get_all_databases_args that) { + public boolean equals(get_databases_args that) { if (that == null) return false; + boolean this_present_pattern = true && this.isSetPattern(); + boolean that_present_pattern = true && that.isSetPattern(); + if (this_present_pattern || that_present_pattern) { + if (!(this_present_pattern && that_present_pattern)) + return false; + if (!this.pattern.equals(that.pattern)) + return false; + } + return true; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); + + boolean present_pattern = true && (isSetPattern()); + list.add(present_pattern); + if (present_pattern) + list.add(pattern); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_all_databases_args other) { + @Override + public int compareTo(get_databases_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_all_databases_args typedOther = (get_all_databases_args)other; + lastComparison = Boolean.valueOf(isSetPattern()).compareTo(other.isSetPattern()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPattern()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pattern, other.pattern); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -17604,9 +24695,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_all_databases_args("); + StringBuilder sb = new StringBuilder("get_databases_args("); boolean first = true; + sb.append("pattern:"); + if (this.pattern == null) { + sb.append("null"); + } else { + sb.append(this.pattern); + } + first = false; sb.append(")"); return sb.toString(); } @@ -17632,15 +24730,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_all_databases_argsStandardSchemeFactory implements SchemeFactory { - public get_all_databases_argsStandardScheme getScheme() { - return new get_all_databases_argsStandardScheme(); + private static class get_databases_argsStandardSchemeFactory implements SchemeFactory { + public get_databases_argsStandardScheme getScheme() { + return new get_databases_argsStandardScheme(); } } - private static class get_all_databases_argsStandardScheme extends StandardScheme { + private static class get_databases_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -17650,6 +24748,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_a break; } switch (schemeField.id) { + case 1: // PATTERN + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.pattern = iprot.readString(); + struct.setPatternIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -17659,47 +24765,65 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_a struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if (struct.pattern != null) { + oprot.writeFieldBegin(PATTERN_FIELD_DESC); + oprot.writeString(struct.pattern); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_all_databases_argsTupleSchemeFactory implements SchemeFactory { - public get_all_databases_argsTupleScheme getScheme() { - return new get_all_databases_argsTupleScheme(); + private static class get_databases_argsTupleSchemeFactory implements SchemeFactory { + public get_databases_argsTupleScheme getScheme() { + return new get_databases_argsTupleScheme(); } } - private static class get_all_databases_argsTupleScheme extends TupleScheme { + private static class get_databases_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetPattern()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetPattern()) { + oprot.writeString(struct.pattern); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.pattern = iprot.readString(); + struct.setPatternIsSet(true); + } } } } - public static class get_all_databases_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_databases_result"); + public static class get_databases_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_databases_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (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 Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_all_databases_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_all_databases_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_databases_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_databases_resultTupleSchemeFactory()); } private List success; // required @@ -17776,13 +24900,13 @@ public String getFieldName() { 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))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_all_databases_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_databases_result.class, metaDataMap); } - public get_all_databases_result() { + public get_databases_result() { } - public get_all_databases_result( + public get_databases_result( List success, MetaException o1) { @@ -17794,12 +24918,9 @@ public get_all_databases_result( /** * Performs a deep copy on other. */ - public get_all_databases_result(get_all_databases_result other) { + public get_databases_result(get_databases_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } if (other.isSetO1()) { @@ -17807,8 +24928,8 @@ public get_all_databases_result(get_all_databases_result other) { } } - public get_all_databases_result deepCopy() { - return new get_all_databases_result(this); + public get_databases_result deepCopy() { + return new get_databases_result(this); } @Override @@ -17930,12 +25051,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_all_databases_result) - return this.equals((get_all_databases_result)that); + if (that instanceof get_databases_result) + return this.equals((get_databases_result)that); return false; } - public boolean equals(get_all_databases_result that) { + public boolean equals(get_databases_result that) { if (that == null) return false; @@ -17962,45 +25083,45 @@ public boolean equals(get_all_databases_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_all_databases_result other) { + @Override + public int compareTo(get_databases_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_all_databases_result typedOther = (get_all_databases_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -18022,7 +25143,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_all_databases_result("); + StringBuilder sb = new StringBuilder("get_databases_result("); boolean first = true; sb.append("success:"); @@ -18065,15 +25186,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_all_databases_resultStandardSchemeFactory implements SchemeFactory { - public get_all_databases_resultStandardScheme getScheme() { - return new get_all_databases_resultStandardScheme(); + private static class get_databases_resultStandardSchemeFactory implements SchemeFactory { + public get_databases_resultStandardScheme getScheme() { + return new get_databases_resultStandardScheme(); } } - private static class get_all_databases_resultStandardScheme extends StandardScheme { + private static class get_databases_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -18088,11 +25209,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_r { org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); struct.success = new ArrayList(_list532.size); - for (int _i533 = 0; _i533 < _list532.size; ++_i533) + String _elem533; + for (int _i534 = 0; _i534 < _list532.size; ++_i534) { - String _elem534; // optional - _elem534 = iprot.readString(); - struct.success.add(_elem534); + _elem533 = iprot.readString(); + struct.success.add(_elem533); } iprot.readListEnd(); } @@ -18119,7 +25240,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_r struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -18146,16 +25267,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_ } - private static class get_all_databases_resultTupleSchemeFactory implements SchemeFactory { - public get_all_databases_resultTupleScheme getScheme() { - return new get_all_databases_resultTupleScheme(); + private static class get_databases_resultTupleSchemeFactory implements SchemeFactory { + public get_databases_resultTupleScheme getScheme() { + return new get_databases_resultTupleScheme(); } } - private static class get_all_databases_resultTupleScheme extends TupleScheme { + private static class get_databases_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -18180,18 +25301,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; 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) + String _elem538; + for (int _i539 = 0; _i539 < _list537.size; ++_i539) { - String _elem539; // optional - _elem539 = iprot.readString(); - struct.success.add(_elem539); + _elem538 = iprot.readString(); + struct.success.add(_elem538); } } struct.setSuccessIsSet(true); @@ -18206,7 +25327,766 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_re } - public static class alter_database_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_all_databases_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_all_databases_args"); + + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_all_databases_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_all_databases_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_databases_args.class, metaDataMap); + } + + public get_all_databases_args() { + } + + /** + * Performs a deep copy on other. + */ + public get_all_databases_args(get_all_databases_args other) { + } + + public get_all_databases_args deepCopy() { + return new get_all_databases_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_databases_args) + return this.equals((get_all_databases_args)that); + return false; + } + + public boolean equals(get_all_databases_args that) { + if (that == null) + return false; + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + return list.hashCode(); + } + + @Override + public int compareTo(get_all_databases_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + 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_databases_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_databases_argsStandardSchemeFactory implements SchemeFactory { + public get_all_databases_argsStandardScheme getScheme() { + return new get_all_databases_argsStandardScheme(); + } + } + + private static class get_all_databases_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_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) { + 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_all_databases_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_all_databases_argsTupleSchemeFactory implements SchemeFactory { + public get_all_databases_argsTupleScheme getScheme() { + return new get_all_databases_argsTupleScheme(); + } + } + + private static class get_all_databases_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + } + } + + } + + public static class get_all_databases_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_all_databases_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (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 Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_all_databases_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_all_databases_resultTupleSchemeFactory()); + } + + private List success; // required + private MetaException o1; // 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"); + + 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; + 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.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + 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))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_all_databases_result.class, metaDataMap); + } + + public get_all_databases_result() { + } + + public get_all_databases_result( + List success, + MetaException o1) + { + this(); + this.success = success; + this.o1 = o1; + } + + /** + * Performs a deep copy on other. + */ + public get_all_databases_result(get_all_databases_result other) { + if (other.isSetSuccess()) { + List __this__success = new ArrayList(other.success); + this.success = __this__success; + } + if (other.isSetO1()) { + this.o1 = new MetaException(other.o1); + } + } + + public get_all_databases_result deepCopy() { + return new get_all_databases_result(this); + } + + @Override + public void clear() { + this.success = null; + this.o1 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if (this.success == null) { + this.success = new ArrayList(); + } + this.success.add(elem); + } + + public List getSuccess() { + return this.success; + } + + public void setSuccess(List 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 void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((List)value); + } + break; + + case O1: + if (value == null) { + unsetO1(); + } else { + setO1((MetaException)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case O1: + return getO1(); + + } + 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(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_all_databases_result) + return this.equals((get_all_databases_result)that); + return false; + } + + public boolean equals(get_all_databases_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; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_o1 = true && (isSetO1()); + list.add(present_o1); + if (present_o1) + list.add(o1); + + return list.hashCode(); + } + + @Override + public int compareTo(get_all_databases_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); + 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_all_databases_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; + 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_databases_resultStandardSchemeFactory implements SchemeFactory { + public get_all_databases_resultStandardScheme getScheme() { + return new get_all_databases_resultStandardScheme(); + } + } + + private static class get_all_databases_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_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.LIST) { + { + org.apache.thrift.protocol.TList _list540 = iprot.readListBegin(); + struct.success = new ArrayList(_list540.size); + String _elem541; + for (int _i542 = 0; _i542 < _list540.size; ++_i542) + { + _elem541 = iprot.readString(); + struct.success.add(_elem541); + } + iprot.readListEnd(); + } + 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; + 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_all_databases_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (String _iter543 : struct.success) + { + oprot.writeString(_iter543); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_all_databases_resultTupleSchemeFactory implements SchemeFactory { + public get_all_databases_resultTupleScheme getScheme() { + return new get_all_databases_resultTupleScheme(); + } + } + + private static class get_all_databases_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_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); + } + oprot.writeBitSet(optionals, 2); + if (struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter544 : struct.success) + { + oprot.writeString(_iter544); + } + } + } + if (struct.isSetO1()) { + struct.o1.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + { + 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); + String _elem546; + for (int _i547 = 0; _i547 < _list545.size; ++_i547) + { + _elem546 = iprot.readString(); + struct.success.add(_elem546); + } + } + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } + } + } + + } + + public static class alter_database_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_database_args"); private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -18458,45 +26338,45 @@ public boolean equals(alter_database_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_db = true && (isSetDb()); - builder.append(present_db); + list.add(present_db); if (present_db) - builder.append(db); + list.add(db); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_database_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_database_args typedOther = (alter_database_args)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDb()).compareTo(typedOther.isSetDb()); + lastComparison = Boolean.valueOf(isSetDb()).compareTo(other.isSetDb()); if (lastComparison != 0) { return lastComparison; } if (isSetDb()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db, typedOther.db); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db, other.db); if (lastComparison != 0) { return lastComparison; } @@ -18673,7 +26553,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_database_args } - public static class alter_database_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_database_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_database_result"); 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); @@ -18925,45 +26805,45 @@ public boolean equals(alter_database_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_database_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_database_result typedOther = (alter_database_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -19139,7 +27019,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_database_resul } - public static class get_type_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_type_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_type_args"); private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -19333,30 +27213,30 @@ public boolean equals(get_type_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_name = true && (isSetName()); - builder.append(present_name); + list.add(present_name); if (present_name) - builder.append(name); + list.add(name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_type_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_type_args typedOther = (get_type_args)other; - lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } @@ -19497,7 +27377,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_args struct } - public static class get_type_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_type_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_type_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); @@ -19807,60 +27687,60 @@ public boolean equals(get_type_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_type_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_type_result typedOther = (get_type_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -20072,7 +27952,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_result stru } - public static class create_type_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class create_type_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_type_args"); private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -20266,30 +28146,30 @@ public boolean equals(create_type_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_type = true && (isSetType()); - builder.append(present_type); + list.add(present_type); if (present_type) - builder.append(type); + list.add(type); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(create_type_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_type_args typedOther = (create_type_args)other; - lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType()); + lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType()); if (lastComparison != 0) { return lastComparison; } if (isSetType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type); if (lastComparison != 0) { return lastComparison; } @@ -20435,7 +28315,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_type_args str } - public static class create_type_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class create_type_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_type_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -20805,75 +28685,75 @@ public boolean equals(create_type_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(create_type_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_type_result typedOther = (create_type_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -21111,7 +28991,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_type_result s } - public static class drop_type_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_type_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_type_args"); private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -21305,30 +29185,30 @@ public boolean equals(drop_type_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_type = true && (isSetType()); - builder.append(present_type); + list.add(present_type); if (present_type) - builder.append(type); + list.add(type); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_type_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_type_args typedOther = (drop_type_args)other; - lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType()); + lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType()); if (lastComparison != 0) { return lastComparison; } if (isSetType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type); if (lastComparison != 0) { return lastComparison; } @@ -21469,7 +29349,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_type_args struc } - public static class drop_type_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_type_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_type_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -21781,60 +29661,60 @@ public boolean equals(drop_type_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_type_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_type_result typedOther = (drop_type_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -22039,7 +29919,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_type_result str } - public static class get_type_all_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_type_all_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_type_all_args"); private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -22233,30 +30113,30 @@ public boolean equals(get_type_all_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_name = true && (isSetName()); - builder.append(present_name); + list.add(present_name); if (present_name) - builder.append(name); + list.add(name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_type_all_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_type_all_args typedOther = (get_type_all_args)other; - lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } @@ -22397,7 +30277,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_all_args st } - public static class get_type_all_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_type_all_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_type_all_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0); @@ -22504,7 +30384,7 @@ public get_type_all_result( */ public get_type_all_result(get_type_all_result other) { if (other.isSetSuccess()) { - Map __this__success = new HashMap(); + Map __this__success = new HashMap(other.success.size()); for (Map.Entry other_element : other.success.entrySet()) { String other_element_key = other_element.getKey(); @@ -22674,45 +30554,45 @@ public boolean equals(get_type_all_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_type_all_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_type_all_result typedOther = (get_type_all_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -22798,16 +30678,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); + String _key549; + Type _val550; + for (int _i551 = 0; _i551 < _map548.size; ++_i551) { - String _key542; // required - Type _val543; // required - _key542 = iprot.readString(); - _val543 = new Type(); - _val543.read(iprot); - struct.success.put(_key542, _val543); + _key549 = iprot.readString(); + _val550 = new Type(); + _val550.read(iprot); + struct.success.put(_key549, _val550); } iprot.readMapEnd(); } @@ -22842,10 +30722,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 +30764,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 +30782,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); + String _key555; + Type _val556; + for (int _i557 = 0; _i557 < _map554.size; ++_i557) { - String _key548; // required - Type _val549; // required - _key548 = iprot.readString(); - _val549 = new Type(); - _val549.read(iprot); - struct.success.put(_key548, _val549); + _key555 = iprot.readString(); + _val556 = new Type(); + _val556.read(iprot); + struct.success.put(_key555, _val556); } } struct.setSuccessIsSet(true); @@ -22926,7 +30806,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_all_result } - public static class get_fields_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_fields_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_fields_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -23178,45 +31058,45 @@ public boolean equals(get_fields_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_table_name = true && (isSetTable_name()); - builder.append(present_table_name); + list.add(present_table_name); if (present_table_name) - builder.append(table_name); + list.add(table_name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_fields_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_fields_args typedOther = (get_fields_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTable_name()).compareTo(typedOther.isSetTable_name()); + lastComparison = Boolean.valueOf(isSetTable_name()).compareTo(other.isSetTable_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTable_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table_name, typedOther.table_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table_name, other.table_name); if (lastComparison != 0) { return lastComparison; } @@ -23388,7 +31268,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_args stru } - public static class get_fields_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_fields_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_fields_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -23512,7 +31392,7 @@ public get_fields_result( */ public get_fields_result(get_fields_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (FieldSchema other_element : other.success) { __this__success.add(new FieldSchema(other_element)); } @@ -23776,75 +31656,75 @@ public boolean equals(get_fields_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_fields_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_fields_result typedOther = (get_fields_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -23946,14 +31826,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); + FieldSchema _elem559; + for (int _i560 = 0; _i560 < _list558.size; ++_i560) { - FieldSchema _elem552; // optional - _elem552 = new FieldSchema(); - _elem552.read(iprot); - struct.success.add(_elem552); + _elem559 = new FieldSchema(); + _elem559.read(iprot); + struct.success.add(_elem559); } iprot.readListEnd(); } @@ -24006,9 +31886,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 +31943,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 +31966,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); + FieldSchema _elem564; + for (int _i565 = 0; _i565 < _list563.size; ++_i565) { - FieldSchema _elem557; // optional - _elem557 = new FieldSchema(); - _elem557.read(iprot); - struct.success.add(_elem557); + _elem564 = new FieldSchema(); + _elem564.read(iprot); + struct.success.add(_elem564); } } struct.setSuccessIsSet(true); @@ -24118,7 +31998,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_result st } - public static class get_fields_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_fields_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_fields_with_environment_context_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -24428,60 +32308,60 @@ public boolean equals(get_fields_with_environment_context_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_table_name = true && (isSetTable_name()); - builder.append(present_table_name); + list.add(present_table_name); if (present_table_name) - builder.append(table_name); + list.add(table_name); boolean present_environment_context = true && (isSetEnvironment_context()); - builder.append(present_environment_context); + list.add(present_environment_context); if (present_environment_context) - builder.append(environment_context); + list.add(environment_context); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_fields_with_environment_context_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_fields_with_environment_context_args typedOther = (get_fields_with_environment_context_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTable_name()).compareTo(typedOther.isSetTable_name()); + lastComparison = Boolean.valueOf(isSetTable_name()).compareTo(other.isSetTable_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTable_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table_name, typedOther.table_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table_name, other.table_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(typedOther.isSetEnvironment_context()); + lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(other.isSetEnvironment_context()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironment_context()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, typedOther.environment_context); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, other.environment_context); if (lastComparison != 0) { return lastComparison; } @@ -24689,7 +32569,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_with_envi } - public static class get_fields_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_fields_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_fields_with_environment_context_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -24813,7 +32693,7 @@ public get_fields_with_environment_context_result( */ public get_fields_with_environment_context_result(get_fields_with_environment_context_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (FieldSchema other_element : other.success) { __this__success.add(new FieldSchema(other_element)); } @@ -25077,75 +32957,75 @@ public boolean equals(get_fields_with_environment_context_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_fields_with_environment_context_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_fields_with_environment_context_result typedOther = (get_fields_with_environment_context_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -25247,14 +33127,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); + FieldSchema _elem567; + for (int _i568 = 0; _i568 < _list566.size; ++_i568) { - FieldSchema _elem560; // optional - _elem560 = new FieldSchema(); - _elem560.read(iprot); - struct.success.add(_elem560); + _elem567 = new FieldSchema(); + _elem567.read(iprot); + struct.success.add(_elem567); } iprot.readListEnd(); } @@ -25307,9 +33187,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 +33244,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 +33267,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); + FieldSchema _elem572; + for (int _i573 = 0; _i573 < _list571.size; ++_i573) { - FieldSchema _elem565; // optional - _elem565 = new FieldSchema(); - _elem565.read(iprot); - struct.success.add(_elem565); + _elem572 = new FieldSchema(); + _elem572.read(iprot); + struct.success.add(_elem572); } } struct.setSuccessIsSet(true); @@ -25419,7 +33299,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_with_envi } - public static class get_schema_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_schema_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_schema_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -25671,45 +33551,45 @@ public boolean equals(get_schema_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_table_name = true && (isSetTable_name()); - builder.append(present_table_name); + list.add(present_table_name); if (present_table_name) - builder.append(table_name); + list.add(table_name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_schema_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_schema_args typedOther = (get_schema_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTable_name()).compareTo(typedOther.isSetTable_name()); + lastComparison = Boolean.valueOf(isSetTable_name()).compareTo(other.isSetTable_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTable_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table_name, typedOther.table_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table_name, other.table_name); if (lastComparison != 0) { return lastComparison; } @@ -25881,7 +33761,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_args stru } - public static class get_schema_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_schema_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_schema_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -26005,7 +33885,7 @@ public get_schema_result( */ public get_schema_result(get_schema_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (FieldSchema other_element : other.success) { __this__success.add(new FieldSchema(other_element)); } @@ -26269,75 +34149,75 @@ public boolean equals(get_schema_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_schema_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_schema_result typedOther = (get_schema_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -26439,14 +34319,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); + FieldSchema _elem575; + for (int _i576 = 0; _i576 < _list574.size; ++_i576) { - FieldSchema _elem568; // optional - _elem568 = new FieldSchema(); - _elem568.read(iprot); - struct.success.add(_elem568); + _elem575 = new FieldSchema(); + _elem575.read(iprot); + struct.success.add(_elem575); } iprot.readListEnd(); } @@ -26499,9 +34379,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 +34436,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 +34459,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); + FieldSchema _elem580; + for (int _i581 = 0; _i581 < _list579.size; ++_i581) { - FieldSchema _elem573; // optional - _elem573 = new FieldSchema(); - _elem573.read(iprot); - struct.success.add(_elem573); + _elem580 = new FieldSchema(); + _elem580.read(iprot); + struct.success.add(_elem580); } } struct.setSuccessIsSet(true); @@ -26611,7 +34491,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_result st } - public static class get_schema_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_schema_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_schema_with_environment_context_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -26921,60 +34801,60 @@ public boolean equals(get_schema_with_environment_context_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_table_name = true && (isSetTable_name()); - builder.append(present_table_name); + list.add(present_table_name); if (present_table_name) - builder.append(table_name); + list.add(table_name); boolean present_environment_context = true && (isSetEnvironment_context()); - builder.append(present_environment_context); + list.add(present_environment_context); if (present_environment_context) - builder.append(environment_context); + list.add(environment_context); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_schema_with_environment_context_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_schema_with_environment_context_args typedOther = (get_schema_with_environment_context_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTable_name()).compareTo(typedOther.isSetTable_name()); + lastComparison = Boolean.valueOf(isSetTable_name()).compareTo(other.isSetTable_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTable_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table_name, typedOther.table_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table_name, other.table_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(typedOther.isSetEnvironment_context()); + lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(other.isSetEnvironment_context()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironment_context()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, typedOther.environment_context); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, other.environment_context); if (lastComparison != 0) { return lastComparison; } @@ -27182,7 +35062,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_with_envi } - public static class get_schema_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_schema_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_schema_with_environment_context_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -27306,7 +35186,7 @@ public get_schema_with_environment_context_result( */ public get_schema_with_environment_context_result(get_schema_with_environment_context_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (FieldSchema other_element : other.success) { __this__success.add(new FieldSchema(other_element)); } @@ -27570,75 +35450,75 @@ public boolean equals(get_schema_with_environment_context_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_schema_with_environment_context_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_schema_with_environment_context_result typedOther = (get_schema_with_environment_context_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -27740,14 +35620,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); + FieldSchema _elem583; + for (int _i584 = 0; _i584 < _list582.size; ++_i584) { - FieldSchema _elem576; // optional - _elem576 = new FieldSchema(); - _elem576.read(iprot); - struct.success.add(_elem576); + _elem583 = new FieldSchema(); + _elem583.read(iprot); + struct.success.add(_elem583); } iprot.readListEnd(); } @@ -27800,9 +35680,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 +35737,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 +35760,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); + FieldSchema _elem588; + for (int _i589 = 0; _i589 < _list587.size; ++_i589) { - FieldSchema _elem581; // optional - _elem581 = new FieldSchema(); - _elem581.read(iprot); - struct.success.add(_elem581); + _elem588 = new FieldSchema(); + _elem588.read(iprot); + struct.success.add(_elem588); } } struct.setSuccessIsSet(true); @@ -27912,7 +35792,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_with_envi } - public static class create_table_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class create_table_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_table_args"); private static final org.apache.thrift.protocol.TField TBL_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -28106,30 +35986,30 @@ public boolean equals(create_table_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_tbl = true && (isSetTbl()); - builder.append(present_tbl); + list.add(present_tbl); if (present_tbl) - builder.append(tbl); + list.add(tbl); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(create_table_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_table_args typedOther = (create_table_args)other; - lastComparison = Boolean.valueOf(isSetTbl()).compareTo(typedOther.isSetTbl()); + lastComparison = Boolean.valueOf(isSetTbl()).compareTo(other.isSetTbl()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl, typedOther.tbl); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl, other.tbl); if (lastComparison != 0) { return lastComparison; } @@ -28275,7 +36155,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_args st } - public static class create_table_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class create_table_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_table_result"); 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); @@ -28643,75 +36523,75 @@ public boolean equals(create_table_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); + list.add(present_o4); if (present_o4) - builder.append(o4); + list.add(o4); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(create_table_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_table_result typedOther = (create_table_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); if (lastComparison != 0) { return lastComparison; } if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } @@ -28953,7 +36833,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_result } - public static class create_table_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class create_table_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_table_with_environment_context_args"); private static final org.apache.thrift.protocol.TField TBL_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -29205,45 +37085,45 @@ public boolean equals(create_table_with_environment_context_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_tbl = true && (isSetTbl()); - builder.append(present_tbl); + list.add(present_tbl); if (present_tbl) - builder.append(tbl); + list.add(tbl); boolean present_environment_context = true && (isSetEnvironment_context()); - builder.append(present_environment_context); + list.add(present_environment_context); if (present_environment_context) - builder.append(environment_context); + list.add(environment_context); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(create_table_with_environment_context_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_table_with_environment_context_args typedOther = (create_table_with_environment_context_args)other; - lastComparison = Boolean.valueOf(isSetTbl()).compareTo(typedOther.isSetTbl()); + lastComparison = Boolean.valueOf(isSetTbl()).compareTo(other.isSetTbl()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl, typedOther.tbl); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl, other.tbl); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(typedOther.isSetEnvironment_context()); + lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(other.isSetEnvironment_context()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironment_context()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, typedOther.environment_context); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, other.environment_context); if (lastComparison != 0) { return lastComparison; } @@ -29425,7 +37305,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_en } - public static class create_table_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class create_table_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_table_with_environment_context_result"); 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); @@ -29793,75 +37673,75 @@ public boolean equals(create_table_with_environment_context_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); + list.add(present_o4); if (present_o4) - builder.append(o4); + list.add(o4); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(create_table_with_environment_context_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_table_with_environment_context_result typedOther = (create_table_with_environment_context_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); if (lastComparison != 0) { return lastComparison; } if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } @@ -30103,7 +37983,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_en } - public static class drop_table_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_table_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_table_args"); private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -30415,60 +38295,60 @@ public boolean equals(drop_table_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_name = true && (isSetName()); - builder.append(present_name); + list.add(present_name); if (present_name) - builder.append(name); + list.add(name); boolean present_deleteData = true; - builder.append(present_deleteData); + list.add(present_deleteData); if (present_deleteData) - builder.append(deleteData); + list.add(deleteData); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_table_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_table_args typedOther = (drop_table_args)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(typedOther.isSetDeleteData()); + lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(other.isSetDeleteData()); if (lastComparison != 0) { return lastComparison; } if (isSetDeleteData()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, typedOther.deleteData); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, other.deleteData); if (lastComparison != 0) { return lastComparison; } @@ -30667,7 +38547,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_table_args stru } - public static class drop_table_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_table_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_table_result"); 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); @@ -30919,45 +38799,45 @@ public boolean equals(drop_table_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_table_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_table_result typedOther = (drop_table_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -31133,7 +39013,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_table_result st } - public static class drop_table_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_table_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_table_with_environment_context_args"); private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -31503,75 +39383,75 @@ public boolean equals(drop_table_with_environment_context_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_name = true && (isSetName()); - builder.append(present_name); + list.add(present_name); if (present_name) - builder.append(name); + list.add(name); boolean present_deleteData = true; - builder.append(present_deleteData); + list.add(present_deleteData); if (present_deleteData) - builder.append(deleteData); + list.add(deleteData); boolean present_environment_context = true && (isSetEnvironment_context()); - builder.append(present_environment_context); + list.add(present_environment_context); if (present_environment_context) - builder.append(environment_context); + list.add(environment_context); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_table_with_environment_context_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_table_with_environment_context_args typedOther = (drop_table_with_environment_context_args)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(typedOther.isSetDeleteData()); + lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(other.isSetDeleteData()); if (lastComparison != 0) { return lastComparison; } if (isSetDeleteData()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, typedOther.deleteData); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, other.deleteData); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(typedOther.isSetEnvironment_context()); + lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(other.isSetEnvironment_context()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironment_context()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, typedOther.environment_context); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, other.environment_context); if (lastComparison != 0) { return lastComparison; } @@ -31806,7 +39686,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_table_with_envi } - public static class drop_table_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_table_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_table_with_environment_context_result"); 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); @@ -32058,45 +39938,45 @@ public boolean equals(drop_table_with_environment_context_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_table_with_environment_context_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_table_with_environment_context_result typedOther = (drop_table_with_environment_context_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -32272,7 +40152,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_table_with_envi } - public static class get_tables_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_tables_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_tables_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -32524,45 +40404,45 @@ public boolean equals(get_tables_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_pattern = true && (isSetPattern()); - builder.append(present_pattern); + list.add(present_pattern); if (present_pattern) - builder.append(pattern); + list.add(pattern); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_tables_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_tables_args typedOther = (get_tables_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPattern()).compareTo(typedOther.isSetPattern()); + lastComparison = Boolean.valueOf(isSetPattern()).compareTo(other.isSetPattern()); if (lastComparison != 0) { return lastComparison; } if (isSetPattern()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pattern, typedOther.pattern); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pattern, other.pattern); if (lastComparison != 0) { return lastComparison; } @@ -32734,7 +40614,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_args stru } - public static class get_tables_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_tables_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_tables_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -32840,10 +40720,7 @@ public get_tables_result( */ public get_tables_result(get_tables_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } if (other.isSetO1()) { @@ -33006,45 +40883,45 @@ public boolean equals(get_tables_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_tables_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_tables_result typedOther = (get_tables_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -33130,13 +41007,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); + String _elem591; + for (int _i592 = 0; _i592 < _list590.size; ++_i592) { - String _elem584; // optional - _elem584 = iprot.readString(); - struct.success.add(_elem584); + _elem591 = iprot.readString(); + struct.success.add(_elem591); } iprot.readListEnd(); } @@ -33171,9 +41048,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 +41089,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 +41106,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); + String _elem596; + for (int _i597 = 0; _i597 < _list595.size; ++_i597) { - String _elem589; // optional - _elem589 = iprot.readString(); - struct.success.add(_elem589); + _elem596 = iprot.readString(); + struct.success.add(_elem596); } } struct.setSuccessIsSet(true); @@ -33250,7 +41127,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result st } - public static class get_all_tables_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_all_tables_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_all_tables_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -33444,30 +41321,30 @@ public boolean equals(get_all_tables_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_all_tables_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_all_tables_args typedOther = (get_all_tables_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } @@ -33608,7 +41485,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_args } - public static class get_all_tables_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_all_tables_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_all_tables_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -33714,10 +41591,7 @@ public get_all_tables_result( */ public get_all_tables_result(get_all_tables_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } if (other.isSetO1()) { @@ -33880,45 +41754,45 @@ public boolean equals(get_all_tables_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_all_tables_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_all_tables_result typedOther = (get_all_tables_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -34004,13 +41878,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); + String _elem599; + for (int _i600 = 0; _i600 < _list598.size; ++_i600) { - String _elem592; // optional - _elem592 = iprot.readString(); - struct.success.add(_elem592); + _elem599 = iprot.readString(); + struct.success.add(_elem599); } iprot.readListEnd(); } @@ -34045,9 +41919,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 +41960,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 +41977,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); + String _elem604; + for (int _i605 = 0; _i605 < _list603.size; ++_i605) { - String _elem597; // optional - _elem597 = iprot.readString(); - struct.success.add(_elem597); + _elem604 = iprot.readString(); + struct.success.add(_elem604); } } struct.setSuccessIsSet(true); @@ -34124,7 +41998,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resul } - public static class get_table_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_table_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_args"); private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -34376,45 +42250,45 @@ public boolean equals(get_table_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_table_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_table_args typedOther = (get_table_args)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } @@ -34586,7 +42460,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_args struc } - public static class get_table_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_table_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_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); @@ -34896,60 +42770,60 @@ public boolean equals(get_table_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_table_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_table_result typedOther = (get_table_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -35161,7 +43035,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_result str } - public static class get_table_objects_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_table_objects_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_objects_by_name_args"); private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -35270,10 +43144,7 @@ public get_table_objects_by_name_args(get_table_objects_by_name_args other) { this.dbname = other.dbname; } if (other.isSetTbl_names()) { - List __this__tbl_names = new ArrayList(); - for (String other_element : other.tbl_names) { - __this__tbl_names.add(other_element); - } + List __this__tbl_names = new ArrayList(other.tbl_names); this.tbl_names = __this__tbl_names; } } @@ -35433,45 +43304,45 @@ public boolean equals(get_table_objects_by_name_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_tbl_names = true && (isSetTbl_names()); - builder.append(present_tbl_names); + list.add(present_tbl_names); if (present_tbl_names) - builder.append(tbl_names); + list.add(tbl_names); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_table_objects_by_name_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_table_objects_by_name_args typedOther = (get_table_objects_by_name_args)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_names()).compareTo(typedOther.isSetTbl_names()); + lastComparison = Boolean.valueOf(isSetTbl_names()).compareTo(other.isSetTbl_names()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_names, typedOther.tbl_names); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_names, other.tbl_names); if (lastComparison != 0) { return lastComparison; } @@ -35565,13 +43436,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); + String _elem607; + for (int _i608 = 0; _i608 < _list606.size; ++_i608) { - String _elem600; // optional - _elem600 = iprot.readString(); - struct.tbl_names.add(_elem600); + _elem607 = iprot.readString(); + struct.tbl_names.add(_elem607); } iprot.readListEnd(); } @@ -35602,9 +43473,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 +43512,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 +43530,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); + String _elem612; + for (int _i613 = 0; _i613 < _list611.size; ++_i613) { - String _elem605; // optional - _elem605 = iprot.readString(); - struct.tbl_names.add(_elem605); + _elem612 = iprot.readString(); + struct.tbl_names.add(_elem612); } } struct.setTbl_namesIsSet(true); @@ -35675,7 +43546,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } - public static class get_table_objects_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_table_objects_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_objects_by_name_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -35799,7 +43670,7 @@ public get_table_objects_by_name_result( */ public get_table_objects_by_name_result(get_table_objects_by_name_result other) { if (other.isSetSuccess()) { - List
__this__success = new ArrayList
(); + List
__this__success = new ArrayList
(other.success.size()); for (Table other_element : other.success) { __this__success.add(new Table(other_element)); } @@ -36063,75 +43934,75 @@ public boolean equals(get_table_objects_by_name_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_table_objects_by_name_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_table_objects_by_name_result typedOther = (get_table_objects_by_name_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -36233,14 +44104,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); + Table _elem615; + for (int _i616 = 0; _i616 < _list614.size; ++_i616) { - Table _elem608; // optional - _elem608 = new Table(); - _elem608.read(iprot); - struct.success.add(_elem608); + _elem615 = new Table(); + _elem615.read(iprot); + struct.success.add(_elem615); } iprot.readListEnd(); } @@ -36293,9 +44164,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 +44221,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 +44244,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); + Table _elem620; + for (int _i621 = 0; _i621 < _list619.size; ++_i621) { - Table _elem613; // optional - _elem613 = new Table(); - _elem613.read(iprot); - struct.success.add(_elem613); + _elem620 = new Table(); + _elem620.read(iprot); + struct.success.add(_elem620); } } struct.setSuccessIsSet(true); @@ -36405,7 +44276,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } - public static class get_table_names_by_filter_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_table_names_by_filter_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_names_by_filter_args"); private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -36719,60 +44590,60 @@ public boolean equals(get_table_names_by_filter_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_filter = true && (isSetFilter()); - builder.append(present_filter); + list.add(present_filter); if (present_filter) - builder.append(filter); + list.add(filter); boolean present_max_tables = true; - builder.append(present_max_tables); + list.add(present_max_tables); if (present_max_tables) - builder.append(max_tables); + list.add(max_tables); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_table_names_by_filter_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_table_names_by_filter_args typedOther = (get_table_names_by_filter_args)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetFilter()).compareTo(typedOther.isSetFilter()); + lastComparison = Boolean.valueOf(isSetFilter()).compareTo(other.isSetFilter()); if (lastComparison != 0) { return lastComparison; } if (isSetFilter()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, typedOther.filter); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, other.filter); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax_tables()).compareTo(typedOther.isSetMax_tables()); + lastComparison = Boolean.valueOf(isSetMax_tables()).compareTo(other.isSetMax_tables()); if (lastComparison != 0) { return lastComparison; } if (isSetMax_tables()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_tables, typedOther.max_tables); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_tables, other.max_tables); if (lastComparison != 0) { return lastComparison; } @@ -36971,7 +44842,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f } - public static class get_table_names_by_filter_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_table_names_by_filter_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_names_by_filter_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -37095,10 +44966,7 @@ public get_table_names_by_filter_result( */ public get_table_names_by_filter_result(get_table_names_by_filter_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } if (other.isSetO1()) { @@ -37359,75 +45227,75 @@ public boolean equals(get_table_names_by_filter_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_table_names_by_filter_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_table_names_by_filter_result typedOther = (get_table_names_by_filter_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -37529,13 +45397,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); + String _elem623; + for (int _i624 = 0; _i624 < _list622.size; ++_i624) { - String _elem616; // optional - _elem616 = iprot.readString(); - struct.success.add(_elem616); + _elem623 = iprot.readString(); + struct.success.add(_elem623); } iprot.readListEnd(); } @@ -37588,9 +45456,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 +45513,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 +45536,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); + String _elem628; + for (int _i629 = 0; _i629 < _list627.size; ++_i629) { - String _elem621; // optional - _elem621 = iprot.readString(); - struct.success.add(_elem621); + _elem628 = iprot.readString(); + struct.success.add(_elem628); } } struct.setSuccessIsSet(true); @@ -37699,7 +45567,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f } - public static class alter_table_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_table_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_table_args"); private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -38009,60 +45877,60 @@ public boolean equals(alter_table_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_new_tbl = true && (isSetNew_tbl()); - builder.append(present_new_tbl); + list.add(present_new_tbl); if (present_new_tbl) - builder.append(new_tbl); + list.add(new_tbl); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_table_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_table_args typedOther = (alter_table_args)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNew_tbl()).compareTo(typedOther.isSetNew_tbl()); + lastComparison = Boolean.valueOf(isSetNew_tbl()).compareTo(other.isSetNew_tbl()); if (lastComparison != 0) { return lastComparison; } if (isSetNew_tbl()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_tbl, typedOther.new_tbl); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_tbl, other.new_tbl); if (lastComparison != 0) { return lastComparison; } @@ -38270,7 +46138,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_table_args str } - public static class alter_table_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_table_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_table_result"); 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); @@ -38522,45 +46390,45 @@ public boolean equals(alter_table_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_table_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_table_result typedOther = (alter_table_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -38736,7 +46604,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_table_result s } - public static class alter_table_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_table_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_table_with_environment_context_args"); private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -39104,75 +46972,75 @@ public boolean equals(alter_table_with_environment_context_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_new_tbl = true && (isSetNew_tbl()); - builder.append(present_new_tbl); + list.add(present_new_tbl); if (present_new_tbl) - builder.append(new_tbl); + list.add(new_tbl); boolean present_environment_context = true && (isSetEnvironment_context()); - builder.append(present_environment_context); + list.add(present_environment_context); if (present_environment_context) - builder.append(environment_context); + list.add(environment_context); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_table_with_environment_context_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_table_with_environment_context_args typedOther = (alter_table_with_environment_context_args)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNew_tbl()).compareTo(typedOther.isSetNew_tbl()); + lastComparison = Boolean.valueOf(isSetNew_tbl()).compareTo(other.isSetNew_tbl()); if (lastComparison != 0) { return lastComparison; } if (isSetNew_tbl()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_tbl, typedOther.new_tbl); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_tbl, other.new_tbl); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(typedOther.isSetEnvironment_context()); + lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(other.isSetEnvironment_context()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironment_context()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, typedOther.environment_context); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, other.environment_context); if (lastComparison != 0) { return lastComparison; } @@ -39416,7 +47284,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_table_with_env } - public static class alter_table_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_table_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_table_with_environment_context_result"); 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); @@ -39668,45 +47536,45 @@ public boolean equals(alter_table_with_environment_context_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_table_with_environment_context_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_table_with_environment_context_result typedOther = (alter_table_with_environment_context_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -39882,7 +47750,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_table_with_env } - public static class alter_table_with_cascade_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_table_with_cascade_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_table_with_cascade_args"); private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -40252,75 +48120,75 @@ public boolean equals(alter_table_with_cascade_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); + list.add(present_dbname); if (present_dbname) - builder.append(dbname); + list.add(dbname); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_new_tbl = true && (isSetNew_tbl()); - builder.append(present_new_tbl); + list.add(present_new_tbl); if (present_new_tbl) - builder.append(new_tbl); + list.add(new_tbl); boolean present_cascade = true; - builder.append(present_cascade); + list.add(present_cascade); if (present_cascade) - builder.append(cascade); + list.add(cascade); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_table_with_cascade_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_table_with_cascade_args typedOther = (alter_table_with_cascade_args)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNew_tbl()).compareTo(typedOther.isSetNew_tbl()); + lastComparison = Boolean.valueOf(isSetNew_tbl()).compareTo(other.isSetNew_tbl()); if (lastComparison != 0) { return lastComparison; } if (isSetNew_tbl()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_tbl, typedOther.new_tbl); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_tbl, other.new_tbl); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCascade()).compareTo(typedOther.isSetCascade()); + lastComparison = Boolean.valueOf(isSetCascade()).compareTo(other.isSetCascade()); if (lastComparison != 0) { return lastComparison; } if (isSetCascade()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cascade, typedOther.cascade); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cascade, other.cascade); if (lastComparison != 0) { return lastComparison; } @@ -40555,7 +48423,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_table_with_cas } - public static class alter_table_with_cascade_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_table_with_cascade_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_table_with_cascade_result"); 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); @@ -40807,45 +48675,45 @@ public boolean equals(alter_table_with_cascade_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_table_with_cascade_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_table_with_cascade_result typedOther = (alter_table_with_cascade_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -41021,7 +48889,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_table_with_cas } - public static class add_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_partition_args"); private static final org.apache.thrift.protocol.TField NEW_PART_FIELD_DESC = new org.apache.thrift.protocol.TField("new_part", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -41215,30 +49083,30 @@ public boolean equals(add_partition_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_new_part = true && (isSetNew_part()); - builder.append(present_new_part); + list.add(present_new_part); if (present_new_part) - builder.append(new_part); + list.add(new_part); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_partition_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_partition_args typedOther = (add_partition_args)other; - lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(typedOther.isSetNew_part()); + lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(other.isSetNew_part()); if (lastComparison != 0) { return lastComparison; } if (isSetNew_part()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, typedOther.new_part); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, other.new_part); if (lastComparison != 0) { return lastComparison; } @@ -41384,7 +49252,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partition_args s } - public static class add_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_partition_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); @@ -41752,75 +49620,75 @@ public boolean equals(add_partition_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_partition_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_partition_result typedOther = (add_partition_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -42065,7 +49933,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partition_result } - public static class add_partition_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_partition_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_partition_with_environment_context_args"); private static final org.apache.thrift.protocol.TField NEW_PART_FIELD_DESC = new org.apache.thrift.protocol.TField("new_part", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -42317,45 +50185,45 @@ public boolean equals(add_partition_with_environment_context_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_new_part = true && (isSetNew_part()); - builder.append(present_new_part); + list.add(present_new_part); if (present_new_part) - builder.append(new_part); + list.add(new_part); boolean present_environment_context = true && (isSetEnvironment_context()); - builder.append(present_environment_context); + list.add(present_environment_context); if (present_environment_context) - builder.append(environment_context); + list.add(environment_context); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_partition_with_environment_context_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_partition_with_environment_context_args typedOther = (add_partition_with_environment_context_args)other; - lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(typedOther.isSetNew_part()); + lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(other.isSetNew_part()); if (lastComparison != 0) { return lastComparison; } if (isSetNew_part()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, typedOther.new_part); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, other.new_part); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(typedOther.isSetEnvironment_context()); + lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(other.isSetEnvironment_context()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironment_context()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, typedOther.environment_context); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, other.environment_context); if (lastComparison != 0) { return lastComparison; } @@ -42537,7 +50405,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partition_with_e } - public static class add_partition_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_partition_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_partition_with_environment_context_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); @@ -42905,75 +50773,75 @@ public boolean equals(add_partition_with_environment_context_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_partition_with_environment_context_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_partition_with_environment_context_result typedOther = (add_partition_with_environment_context_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -43218,7 +51086,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partition_with_e } - public static class add_partitions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_partitions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_partitions_args"); private static final org.apache.thrift.protocol.TField NEW_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("new_parts", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -43315,7 +51183,7 @@ public add_partitions_args( */ public add_partitions_args(add_partitions_args other) { if (other.isSetNew_parts()) { - List __this__new_parts = new ArrayList(); + List __this__new_parts = new ArrayList(other.new_parts.size()); for (Partition other_element : other.new_parts) { __this__new_parts.add(new Partition(other_element)); } @@ -43432,30 +51300,30 @@ public boolean equals(add_partitions_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_new_parts = true && (isSetNew_parts()); - builder.append(present_new_parts); + list.add(present_new_parts); if (present_new_parts) - builder.append(new_parts); + list.add(new_parts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_partitions_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_partitions_args typedOther = (add_partitions_args)other; - lastComparison = Boolean.valueOf(isSetNew_parts()).compareTo(typedOther.isSetNew_parts()); + lastComparison = Boolean.valueOf(isSetNew_parts()).compareTo(other.isSetNew_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetNew_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_parts, typedOther.new_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_parts, other.new_parts); if (lastComparison != 0) { return lastComparison; } @@ -43533,14 +51401,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); + Partition _elem631; + for (int _i632 = 0; _i632 < _list630.size; ++_i632) { - Partition _elem624; // optional - _elem624 = new Partition(); - _elem624.read(iprot); - struct.new_parts.add(_elem624); + _elem631 = new Partition(); + _elem631.read(iprot); + struct.new_parts.add(_elem631); } iprot.readListEnd(); } @@ -43566,9 +51434,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 +51467,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 +51481,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); + Partition _elem636; + for (int _i637 = 0; _i637 < _list635.size; ++_i637) { - Partition _elem629; // optional - _elem629 = new Partition(); - _elem629.read(iprot); - struct.new_parts.add(_elem629); + _elem636 = new Partition(); + _elem636.read(iprot); + struct.new_parts.add(_elem636); } } struct.setNew_partsIsSet(true); @@ -43630,7 +51498,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_args } - public static class add_partitions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_partitions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_partitions_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0); @@ -44000,75 +51868,75 @@ public boolean equals(add_partitions_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_partitions_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_partitions_result typedOther = (add_partitions_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -44306,7 +52174,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_resul } - public static class add_partitions_pspec_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_partitions_pspec_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_partitions_pspec_args"); private static final org.apache.thrift.protocol.TField NEW_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("new_parts", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -44403,7 +52271,7 @@ public add_partitions_pspec_args( */ public add_partitions_pspec_args(add_partitions_pspec_args other) { if (other.isSetNew_parts()) { - List __this__new_parts = new ArrayList(); + List __this__new_parts = new ArrayList(other.new_parts.size()); for (PartitionSpec other_element : other.new_parts) { __this__new_parts.add(new PartitionSpec(other_element)); } @@ -44520,30 +52388,30 @@ public boolean equals(add_partitions_pspec_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_new_parts = true && (isSetNew_parts()); - builder.append(present_new_parts); + list.add(present_new_parts); if (present_new_parts) - builder.append(new_parts); + list.add(new_parts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_partitions_pspec_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_partitions_pspec_args typedOther = (add_partitions_pspec_args)other; - lastComparison = Boolean.valueOf(isSetNew_parts()).compareTo(typedOther.isSetNew_parts()); + lastComparison = Boolean.valueOf(isSetNew_parts()).compareTo(other.isSetNew_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetNew_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_parts, typedOther.new_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_parts, other.new_parts); if (lastComparison != 0) { return lastComparison; } @@ -44621,14 +52489,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); + PartitionSpec _elem639; + for (int _i640 = 0; _i640 < _list638.size; ++_i640) { - PartitionSpec _elem632; // optional - _elem632 = new PartitionSpec(); - _elem632.read(iprot); - struct.new_parts.add(_elem632); + _elem639 = new PartitionSpec(); + _elem639.read(iprot); + struct.new_parts.add(_elem639); } iprot.readListEnd(); } @@ -44654,9 +52522,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 +52555,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 +52569,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); + PartitionSpec _elem644; + for (int _i645 = 0; _i645 < _list643.size; ++_i645) { - PartitionSpec _elem637; // optional - _elem637 = new PartitionSpec(); - _elem637.read(iprot); - struct.new_parts.add(_elem637); + _elem644 = new PartitionSpec(); + _elem644.read(iprot); + struct.new_parts.add(_elem644); } } struct.setNew_partsIsSet(true); @@ -44718,7 +52586,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspec } - public static class add_partitions_pspec_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_partitions_pspec_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_partitions_pspec_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I32, (short)0); @@ -45088,75 +52956,75 @@ public boolean equals(add_partitions_pspec_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_partitions_pspec_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_partitions_pspec_result typedOther = (add_partitions_pspec_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -45394,7 +53262,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspec } - public static class append_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class append_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("append_partition_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -45515,10 +53383,7 @@ public append_partition_args(append_partition_args other) { this.tbl_name = other.tbl_name; } if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(); - for (String other_element : other.part_vals) { - __this__part_vals.add(other_element); - } + List __this__part_vals = new ArrayList(other.part_vals); this.part_vals = __this__part_vals; } } @@ -45724,60 +53589,60 @@ public boolean equals(append_partition_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(append_partition_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - append_partition_args typedOther = (append_partition_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } @@ -45887,13 +53752,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); + String _elem647; + for (int _i648 = 0; _i648 < _list646.size; ++_i648) { - String _elem640; // optional - _elem640 = iprot.readString(); - struct.part_vals.add(_elem640); + _elem647 = iprot.readString(); + struct.part_vals.add(_elem647); } iprot.readListEnd(); } @@ -45929,9 +53794,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 +53839,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 +53861,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); + String _elem652; + for (int _i653 = 0; _i653 < _list651.size; ++_i653) { - String _elem645; // optional - _elem645 = iprot.readString(); - struct.part_vals.add(_elem645); + _elem652 = iprot.readString(); + struct.part_vals.add(_elem652); } } struct.setPart_valsIsSet(true); @@ -46012,7 +53877,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } - public static class append_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class append_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("append_partition_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); @@ -46380,75 +54245,75 @@ public boolean equals(append_partition_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(append_partition_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - append_partition_result typedOther = (append_partition_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -46693,7 +54558,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_res } - public static class add_partitions_req_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_partitions_req_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_partitions_req_args"); private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -46887,30 +54752,30 @@ public boolean equals(add_partitions_req_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_request = true && (isSetRequest()); - builder.append(present_request); + list.add(present_request); if (present_request) - builder.append(request); + list.add(request); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_partitions_req_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_partitions_req_args typedOther = (add_partitions_req_args)other; - lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(other.isSetRequest()); if (lastComparison != 0) { return lastComparison; } if (isSetRequest()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, typedOther.request); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, other.request); if (lastComparison != 0) { return lastComparison; } @@ -47056,7 +54921,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_req_a } - public static class add_partitions_req_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_partitions_req_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_partitions_req_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); @@ -47424,75 +55289,75 @@ public boolean equals(add_partitions_req_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_partitions_req_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_partitions_req_result typedOther = (add_partitions_req_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -47737,7 +55602,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_req_r } - public static class append_partition_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class append_partition_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("append_partition_with_environment_context_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -47867,10 +55732,7 @@ public append_partition_with_environment_context_args(append_partition_with_envi this.tbl_name = other.tbl_name; } if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(); - for (String other_element : other.part_vals) { - __this__part_vals.add(other_element); - } + List __this__part_vals = new ArrayList(other.part_vals); this.part_vals = __this__part_vals; } if (other.isSetEnvironment_context()) { @@ -48125,75 +55987,75 @@ public boolean equals(append_partition_with_environment_context_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); boolean present_environment_context = true && (isSetEnvironment_context()); - builder.append(present_environment_context); + list.add(present_environment_context); if (present_environment_context) - builder.append(environment_context); + list.add(environment_context); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(append_partition_with_environment_context_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - append_partition_with_environment_context_args typedOther = (append_partition_with_environment_context_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(typedOther.isSetEnvironment_context()); + lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(other.isSetEnvironment_context()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironment_context()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, typedOther.environment_context); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, other.environment_context); if (lastComparison != 0) { return lastComparison; } @@ -48314,13 +56176,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); + String _elem655; + for (int _i656 = 0; _i656 < _list654.size; ++_i656) { - String _elem648; // optional - _elem648 = iprot.readString(); - struct.part_vals.add(_elem648); + _elem655 = iprot.readString(); + struct.part_vals.add(_elem655); } iprot.readListEnd(); } @@ -48365,9 +56227,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 +56280,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 +56305,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); + String _elem660; + for (int _i661 = 0; _i661 < _list659.size; ++_i661) { - String _elem653; // optional - _elem653 = iprot.readString(); - struct.part_vals.add(_elem653); + _elem660 = iprot.readString(); + struct.part_vals.add(_elem660); } } struct.setPart_valsIsSet(true); @@ -48464,7 +56326,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } - public static class append_partition_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class append_partition_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("append_partition_with_environment_context_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); @@ -48832,75 +56694,75 @@ public boolean equals(append_partition_with_environment_context_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(append_partition_with_environment_context_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - append_partition_with_environment_context_result typedOther = (append_partition_with_environment_context_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -49145,7 +57007,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } - public static class append_partition_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class append_partition_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("append_partition_by_name_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -49455,60 +57317,60 @@ public boolean equals(append_partition_by_name_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_name = true && (isSetPart_name()); - builder.append(present_part_name); + list.add(present_part_name); if (present_part_name) - builder.append(part_name); + list.add(part_name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(append_partition_by_name_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - append_partition_by_name_args typedOther = (append_partition_by_name_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(typedOther.isSetPart_name()); + lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(other.isSetPart_name()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, typedOther.part_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, other.part_name); if (lastComparison != 0) { return lastComparison; } @@ -49711,7 +57573,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_by_ } - public static class append_partition_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class append_partition_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("append_partition_by_name_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); @@ -50079,75 +57941,75 @@ public boolean equals(append_partition_by_name_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(append_partition_by_name_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - append_partition_by_name_result typedOther = (append_partition_by_name_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -50392,7 +58254,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_by_ } - public static class append_partition_by_name_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class append_partition_by_name_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("append_partition_by_name_with_environment_context_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -50760,75 +58622,75 @@ public boolean equals(append_partition_by_name_with_environment_context_args tha @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_name = true && (isSetPart_name()); - builder.append(present_part_name); + list.add(present_part_name); if (present_part_name) - builder.append(part_name); + list.add(part_name); boolean present_environment_context = true && (isSetEnvironment_context()); - builder.append(present_environment_context); + list.add(present_environment_context); if (present_environment_context) - builder.append(environment_context); + list.add(environment_context); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(append_partition_by_name_with_environment_context_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - append_partition_by_name_with_environment_context_args typedOther = (append_partition_by_name_with_environment_context_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(typedOther.isSetPart_name()); + lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(other.isSetPart_name()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, typedOther.part_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, other.part_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(typedOther.isSetEnvironment_context()); + lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(other.isSetEnvironment_context()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironment_context()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, typedOther.environment_context); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, other.environment_context); if (lastComparison != 0) { return lastComparison; } @@ -51067,7 +58929,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_by_ } - public static class append_partition_by_name_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class append_partition_by_name_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("append_partition_by_name_with_environment_context_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); @@ -51435,75 +59297,75 @@ public boolean equals(append_partition_by_name_with_environment_context_result t @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(append_partition_by_name_with_environment_context_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - append_partition_by_name_with_environment_context_result typedOther = (append_partition_by_name_with_environment_context_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -51748,7 +59610,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_by_ } - public static class drop_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_partition_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -51882,10 +59744,7 @@ public drop_partition_args(drop_partition_args other) { this.tbl_name = other.tbl_name; } if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(); - for (String other_element : other.part_vals) { - __this__part_vals.add(other_element); - } + List __this__part_vals = new ArrayList(other.part_vals); this.part_vals = __this__part_vals; } this.deleteData = other.deleteData; @@ -52138,75 +59997,75 @@ public boolean equals(drop_partition_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); boolean present_deleteData = true; - builder.append(present_deleteData); + list.add(present_deleteData); if (present_deleteData) - builder.append(deleteData); + list.add(deleteData); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_partition_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_partition_args typedOther = (drop_partition_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(typedOther.isSetDeleteData()); + lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(other.isSetDeleteData()); if (lastComparison != 0) { return lastComparison; } if (isSetDeleteData()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, typedOther.deleteData); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, other.deleteData); if (lastComparison != 0) { return lastComparison; } @@ -52322,13 +60181,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); + String _elem663; + for (int _i664 = 0; _i664 < _list662.size; ++_i664) { - String _elem656; // optional - _elem656 = iprot.readString(); - struct.part_vals.add(_elem656); + _elem663 = iprot.readString(); + struct.part_vals.add(_elem663); } iprot.readListEnd(); } @@ -52372,9 +60231,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 +60282,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 +60307,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); + String _elem668; + for (int _i669 = 0; _i669 < _list667.size; ++_i669) { - String _elem661; // optional - _elem661 = iprot.readString(); - struct.part_vals.add(_elem661); + _elem668 = iprot.readString(); + struct.part_vals.add(_elem668); } } struct.setPart_valsIsSet(true); @@ -52468,7 +60327,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } - public static class drop_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_partition_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -52780,60 +60639,60 @@ public boolean equals(drop_partition_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_partition_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_partition_result typedOther = (drop_partition_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -53038,7 +60897,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_resul } - public static class drop_partition_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_partition_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_partition_with_environment_context_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -53181,10 +61040,7 @@ public drop_partition_with_environment_context_args(drop_partition_with_environm this.tbl_name = other.tbl_name; } if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(); - for (String other_element : other.part_vals) { - __this__part_vals.add(other_element); - } + List __this__part_vals = new ArrayList(other.part_vals); this.part_vals = __this__part_vals; } this.deleteData = other.deleteData; @@ -53486,90 +61342,90 @@ public boolean equals(drop_partition_with_environment_context_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); boolean present_deleteData = true; - builder.append(present_deleteData); + list.add(present_deleteData); if (present_deleteData) - builder.append(deleteData); + list.add(deleteData); boolean present_environment_context = true && (isSetEnvironment_context()); - builder.append(present_environment_context); + list.add(present_environment_context); if (present_environment_context) - builder.append(environment_context); + list.add(environment_context); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_partition_with_environment_context_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_partition_with_environment_context_args typedOther = (drop_partition_with_environment_context_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(typedOther.isSetDeleteData()); + lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(other.isSetDeleteData()); if (lastComparison != 0) { return lastComparison; } if (isSetDeleteData()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, typedOther.deleteData); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, other.deleteData); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(typedOther.isSetEnvironment_context()); + lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(other.isSetEnvironment_context()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironment_context()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, typedOther.environment_context); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, other.environment_context); if (lastComparison != 0) { return lastComparison; } @@ -53696,13 +61552,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); + String _elem671; + for (int _i672 = 0; _i672 < _list670.size; ++_i672) { - String _elem664; // optional - _elem664 = iprot.readString(); - struct.part_vals.add(_elem664); + _elem671 = iprot.readString(); + struct.part_vals.add(_elem671); } iprot.readListEnd(); } @@ -53755,9 +61611,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 +61670,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 +61698,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); + String _elem676; + for (int _i677 = 0; _i677 < _list675.size; ++_i677) { - String _elem669; // optional - _elem669 = iprot.readString(); - struct.part_vals.add(_elem669); + _elem676 = iprot.readString(); + struct.part_vals.add(_elem676); } } struct.setPart_valsIsSet(true); @@ -53867,7 +61723,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } - public static class drop_partition_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_partition_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_partition_with_environment_context_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -54179,60 +62035,60 @@ public boolean equals(drop_partition_with_environment_context_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_partition_with_environment_context_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_partition_with_environment_context_result typedOther = (drop_partition_with_environment_context_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -54437,7 +62293,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } - public static class drop_partition_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_partition_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_partition_by_name_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -54807,75 +62663,75 @@ public boolean equals(drop_partition_by_name_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_name = true && (isSetPart_name()); - builder.append(present_part_name); + list.add(present_part_name); if (present_part_name) - builder.append(part_name); + list.add(part_name); boolean present_deleteData = true; - builder.append(present_deleteData); + list.add(present_deleteData); if (present_deleteData) - builder.append(deleteData); + list.add(deleteData); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_partition_by_name_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_partition_by_name_args typedOther = (drop_partition_by_name_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(typedOther.isSetPart_name()); + lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(other.isSetPart_name()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, typedOther.part_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, other.part_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(typedOther.isSetDeleteData()); + lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(other.isSetDeleteData()); if (lastComparison != 0) { return lastComparison; } if (isSetDeleteData()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, typedOther.deleteData); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, other.deleteData); if (lastComparison != 0) { return lastComparison; } @@ -55105,7 +62961,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_by_na } - public static class drop_partition_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_partition_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_partition_by_name_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -55417,60 +63273,60 @@ public boolean equals(drop_partition_by_name_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_partition_by_name_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_partition_by_name_result typedOther = (drop_partition_by_name_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -55675,7 +63531,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_by_na } - public static class drop_partition_by_name_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_partition_by_name_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_partition_by_name_with_environment_context_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -56103,90 +63959,90 @@ public boolean equals(drop_partition_by_name_with_environment_context_args that) @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_name = true && (isSetPart_name()); - builder.append(present_part_name); + list.add(present_part_name); if (present_part_name) - builder.append(part_name); + list.add(part_name); boolean present_deleteData = true; - builder.append(present_deleteData); + list.add(present_deleteData); if (present_deleteData) - builder.append(deleteData); + list.add(deleteData); boolean present_environment_context = true && (isSetEnvironment_context()); - builder.append(present_environment_context); + list.add(present_environment_context); if (present_environment_context) - builder.append(environment_context); + list.add(environment_context); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_partition_by_name_with_environment_context_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_partition_by_name_with_environment_context_args typedOther = (drop_partition_by_name_with_environment_context_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(typedOther.isSetPart_name()); + lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(other.isSetPart_name()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, typedOther.part_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, other.part_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(typedOther.isSetDeleteData()); + lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(other.isSetDeleteData()); if (lastComparison != 0) { return lastComparison; } if (isSetDeleteData()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, typedOther.deleteData); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, other.deleteData); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(typedOther.isSetEnvironment_context()); + lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(other.isSetEnvironment_context()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironment_context()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, typedOther.environment_context); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, other.environment_context); if (lastComparison != 0) { return lastComparison; } @@ -56452,7 +64308,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_by_na } - public static class drop_partition_by_name_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_partition_by_name_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_partition_by_name_with_environment_context_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -56764,60 +64620,60 @@ public boolean equals(drop_partition_by_name_with_environment_context_result tha @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_partition_by_name_with_environment_context_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_partition_by_name_with_environment_context_result typedOther = (drop_partition_by_name_with_environment_context_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -57022,7 +64878,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_by_na } - public static class drop_partitions_req_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_partitions_req_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_partitions_req_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -57216,30 +65072,30 @@ public boolean equals(drop_partitions_req_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_partitions_req_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_partitions_req_args typedOther = (drop_partitions_req_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -57385,7 +65241,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partitions_req_ } - public static class drop_partitions_req_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_partitions_req_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_partitions_req_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); @@ -57695,60 +65551,60 @@ public boolean equals(drop_partitions_req_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_partitions_req_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_partitions_req_result typedOther = (drop_partitions_req_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -57960,7 +65816,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partitions_req_ } - public static class get_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -58081,10 +65937,7 @@ public get_partition_args(get_partition_args other) { this.tbl_name = other.tbl_name; } if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(); - for (String other_element : other.part_vals) { - __this__part_vals.add(other_element); - } + List __this__part_vals = new ArrayList(other.part_vals); this.part_vals = __this__part_vals; } } @@ -58290,60 +66143,60 @@ public boolean equals(get_partition_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partition_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_args typedOther = (get_partition_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } @@ -58453,13 +66306,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); + String _elem679; + for (int _i680 = 0; _i680 < _list678.size; ++_i680) { - String _elem672; // optional - _elem672 = iprot.readString(); - struct.part_vals.add(_elem672); + _elem679 = iprot.readString(); + struct.part_vals.add(_elem679); } iprot.readListEnd(); } @@ -58495,9 +66348,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 +66393,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 +66415,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); + String _elem684; + for (int _i685 = 0; _i685 < _list683.size; ++_i685) { - String _elem677; // optional - _elem677 = iprot.readString(); - struct.part_vals.add(_elem677); + _elem684 = iprot.readString(); + struct.part_vals.add(_elem684); } } struct.setPart_valsIsSet(true); @@ -58578,7 +66431,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } - public static class get_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_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); @@ -58888,60 +66741,60 @@ public boolean equals(get_partition_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partition_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_result typedOther = (get_partition_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -59153,7 +67006,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_result } - public static class exchange_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class exchange_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("exchange_partition_args"); private static final org.apache.thrift.protocol.TField PARTITION_SPECS_FIELD_DESC = new org.apache.thrift.protocol.TField("partitionSpecs", org.apache.thrift.protocol.TType.MAP, (short)1); @@ -59287,18 +67140,7 @@ public exchange_partition_args( */ public exchange_partition_args(exchange_partition_args other) { if (other.isSetPartitionSpecs()) { - Map __this__partitionSpecs = new HashMap(); - for (Map.Entry other_element : other.partitionSpecs.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__partitionSpecs_copy_key = other_element_key; - - String __this__partitionSpecs_copy_value = other_element_value; - - __this__partitionSpecs.put(__this__partitionSpecs_copy_key, __this__partitionSpecs_copy_value); - } + Map __this__partitionSpecs = new HashMap(other.partitionSpecs); this.partitionSpecs = __this__partitionSpecs; } if (other.isSetSource_db()) { @@ -59604,90 +67446,90 @@ public boolean equals(exchange_partition_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_partitionSpecs = true && (isSetPartitionSpecs()); - builder.append(present_partitionSpecs); + list.add(present_partitionSpecs); if (present_partitionSpecs) - builder.append(partitionSpecs); + list.add(partitionSpecs); boolean present_source_db = true && (isSetSource_db()); - builder.append(present_source_db); + list.add(present_source_db); if (present_source_db) - builder.append(source_db); + list.add(source_db); boolean present_source_table_name = true && (isSetSource_table_name()); - builder.append(present_source_table_name); + list.add(present_source_table_name); if (present_source_table_name) - builder.append(source_table_name); + list.add(source_table_name); boolean present_dest_db = true && (isSetDest_db()); - builder.append(present_dest_db); + list.add(present_dest_db); if (present_dest_db) - builder.append(dest_db); + list.add(dest_db); boolean present_dest_table_name = true && (isSetDest_table_name()); - builder.append(present_dest_table_name); + list.add(present_dest_table_name); if (present_dest_table_name) - builder.append(dest_table_name); + list.add(dest_table_name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(exchange_partition_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - exchange_partition_args typedOther = (exchange_partition_args)other; - lastComparison = Boolean.valueOf(isSetPartitionSpecs()).compareTo(typedOther.isSetPartitionSpecs()); + lastComparison = Boolean.valueOf(isSetPartitionSpecs()).compareTo(other.isSetPartitionSpecs()); if (lastComparison != 0) { return lastComparison; } if (isSetPartitionSpecs()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionSpecs, typedOther.partitionSpecs); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitionSpecs, other.partitionSpecs); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSource_db()).compareTo(typedOther.isSetSource_db()); + lastComparison = Boolean.valueOf(isSetSource_db()).compareTo(other.isSetSource_db()); if (lastComparison != 0) { return lastComparison; } if (isSetSource_db()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source_db, typedOther.source_db); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source_db, other.source_db); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSource_table_name()).compareTo(typedOther.isSetSource_table_name()); + lastComparison = Boolean.valueOf(isSetSource_table_name()).compareTo(other.isSetSource_table_name()); if (lastComparison != 0) { return lastComparison; } if (isSetSource_table_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source_table_name, typedOther.source_table_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source_table_name, other.source_table_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDest_db()).compareTo(typedOther.isSetDest_db()); + lastComparison = Boolean.valueOf(isSetDest_db()).compareTo(other.isSetDest_db()); if (lastComparison != 0) { return lastComparison; } if (isSetDest_db()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dest_db, typedOther.dest_db); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dest_db, other.dest_db); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDest_table_name()).compareTo(typedOther.isSetDest_table_name()); + lastComparison = Boolean.valueOf(isSetDest_table_name()).compareTo(other.isSetDest_table_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDest_table_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dest_table_name, typedOther.dest_table_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dest_table_name, other.dest_table_name); if (lastComparison != 0) { return lastComparison; } @@ -59797,15 +67639,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); + String _key687; + String _val688; + for (int _i689 = 0; _i689 < _map686.size; ++_i689) { - String _key680; // required - String _val681; // required - _key680 = iprot.readString(); - _val681 = iprot.readString(); - struct.partitionSpecs.put(_key680, _val681); + _key687 = iprot.readString(); + _val688 = iprot.readString(); + struct.partitionSpecs.put(_key687, _val688); } iprot.readMapEnd(); } @@ -59863,10 +67705,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 +67771,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 +67798,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); + String _key693; + String _val694; + for (int _i695 = 0; _i695 < _map692.size; ++_i695) { - String _key686; // required - String _val687; // required - _key686 = iprot.readString(); - _val687 = iprot.readString(); - struct.partitionSpecs.put(_key686, _val687); + _key693 = iprot.readString(); + _val694 = iprot.readString(); + struct.partitionSpecs.put(_key693, _val694); } } struct.setPartitionSpecsIsSet(true); @@ -59990,7 +67832,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_a } - public static class exchange_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class exchange_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("exchange_partition_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); @@ -60416,90 +68258,90 @@ public boolean equals(exchange_partition_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); + list.add(present_o4); if (present_o4) - builder.append(o4); + list.add(o4); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(exchange_partition_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - exchange_partition_result typedOther = (exchange_partition_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); if (lastComparison != 0) { return lastComparison; } if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } @@ -60777,7 +68619,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_r } - public static class get_partition_with_auth_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partition_with_auth_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_with_auth_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -60917,20 +68759,14 @@ public get_partition_with_auth_args(get_partition_with_auth_args other) { this.tbl_name = other.tbl_name; } if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(); - for (String other_element : other.part_vals) { - __this__part_vals.add(other_element); - } + List __this__part_vals = new ArrayList(other.part_vals); this.part_vals = __this__part_vals; } if (other.isSetUser_name()) { this.user_name = other.user_name; } if (other.isSetGroup_names()) { - List __this__group_names = new ArrayList(); - for (String other_element : other.group_names) { - __this__group_names.add(other_element); - } + List __this__group_names = new ArrayList(other.group_names); this.group_names = __this__group_names; } } @@ -61243,90 +69079,90 @@ public boolean equals(get_partition_with_auth_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); boolean present_user_name = true && (isSetUser_name()); - builder.append(present_user_name); + list.add(present_user_name); if (present_user_name) - builder.append(user_name); + list.add(user_name); boolean present_group_names = true && (isSetGroup_names()); - builder.append(present_group_names); + list.add(present_group_names); if (present_group_names) - builder.append(group_names); + list.add(group_names); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partition_with_auth_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_with_auth_args typedOther = (get_partition_with_auth_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(typedOther.isSetUser_name()); + lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(other.isSetUser_name()); if (lastComparison != 0) { return lastComparison; } if (isSetUser_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, typedOther.user_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, other.user_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(typedOther.isSetGroup_names()); + lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(other.isSetGroup_names()); if (lastComparison != 0) { return lastComparison; } if (isSetGroup_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, typedOther.group_names); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, other.group_names); if (lastComparison != 0) { return lastComparison; } @@ -61452,13 +69288,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); + String _elem697; + for (int _i698 = 0; _i698 < _list696.size; ++_i698) { - String _elem690; // optional - _elem690 = iprot.readString(); - struct.part_vals.add(_elem690); + _elem697 = iprot.readString(); + struct.part_vals.add(_elem697); } iprot.readListEnd(); } @@ -61478,13 +69314,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); + String _elem700; + for (int _i701 = 0; _i701 < _list699.size; ++_i701) { - String _elem693; // optional - _elem693 = iprot.readString(); - struct.group_names.add(_elem693); + _elem700 = iprot.readString(); + struct.group_names.add(_elem700); } iprot.readListEnd(); } @@ -61520,9 +69356,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 +69373,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 +69424,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 +69436,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 +69458,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); + String _elem707; + for (int _i708 = 0; _i708 < _list706.size; ++_i708) { - String _elem700; // optional - _elem700 = iprot.readString(); - struct.part_vals.add(_elem700); + _elem707 = iprot.readString(); + struct.part_vals.add(_elem707); } } struct.setPart_valsIsSet(true); @@ -61639,13 +69475,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); + String _elem710; + for (int _i711 = 0; _i711 < _list709.size; ++_i711) { - String _elem703; // optional - _elem703 = iprot.readString(); - struct.group_names.add(_elem703); + _elem710 = iprot.readString(); + struct.group_names.add(_elem710); } } struct.setGroup_namesIsSet(true); @@ -61655,7 +69491,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } - public static class get_partition_with_auth_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partition_with_auth_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_with_auth_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); @@ -61965,60 +69801,60 @@ public boolean equals(get_partition_with_auth_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partition_with_auth_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_with_auth_result typedOther = (get_partition_with_auth_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -62230,7 +70066,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } - public static class get_partition_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partition_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_by_name_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -62540,60 +70376,60 @@ public boolean equals(get_partition_by_name_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_name = true && (isSetPart_name()); - builder.append(present_part_name); + list.add(present_part_name); if (present_part_name) - builder.append(part_name); + list.add(part_name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partition_by_name_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_by_name_args typedOther = (get_partition_by_name_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(typedOther.isSetPart_name()); + lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(other.isSetPart_name()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, typedOther.part_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, other.part_name); if (lastComparison != 0) { return lastComparison; } @@ -62796,7 +70632,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_by_nam } - public static class get_partition_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partition_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_by_name_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); @@ -63106,60 +70942,60 @@ public boolean equals(get_partition_by_name_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partition_by_name_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_by_name_result typedOther = (get_partition_by_name_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -63371,7 +71207,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_by_nam } - public static class get_partitions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -63685,60 +71521,60 @@ public boolean equals(get_partitions_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_max_parts = true; - builder.append(present_max_parts); + list.add(present_max_parts); if (present_max_parts) - builder.append(max_parts); + list.add(max_parts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_args typedOther = (get_partitions_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(typedOther.isSetMax_parts()); + lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(other.isSetMax_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetMax_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, typedOther.max_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); if (lastComparison != 0) { return lastComparison; } @@ -63937,7 +71773,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_args } - public static class get_partitions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -64052,7 +71888,7 @@ public get_partitions_result( */ public get_partitions_result(get_partitions_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (Partition other_element : other.success) { __this__success.add(new Partition(other_element)); } @@ -64267,60 +72103,60 @@ public boolean equals(get_partitions_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_result typedOther = (get_partitions_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -64414,14 +72250,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); + Partition _elem713; + for (int _i714 = 0; _i714 < _list712.size; ++_i714) { - Partition _elem706; // optional - _elem706 = new Partition(); - _elem706.read(iprot); - struct.success.add(_elem706); + _elem713 = new Partition(); + _elem713.read(iprot); + struct.success.add(_elem713); } iprot.readListEnd(); } @@ -64465,9 +72301,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 +72350,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 +72370,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); + Partition _elem718; + for (int _i719 = 0; _i719 < _list717.size; ++_i719) { - Partition _elem711; // optional - _elem711 = new Partition(); - _elem711.read(iprot); - struct.success.add(_elem711); + _elem718 = new Partition(); + _elem718.read(iprot); + struct.success.add(_elem718); } } struct.setSuccessIsSet(true); @@ -64561,7 +72397,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul } - public static class get_partitions_with_auth_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_with_auth_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_with_auth_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -64710,10 +72546,7 @@ public get_partitions_with_auth_args(get_partitions_with_auth_args other) { this.user_name = other.user_name; } if (other.isSetGroup_names()) { - List __this__group_names = new ArrayList(); - for (String other_element : other.group_names) { - __this__group_names.add(other_element); - } + List __this__group_names = new ArrayList(other.group_names); this.group_names = __this__group_names; } } @@ -65011,90 +72844,90 @@ public boolean equals(get_partitions_with_auth_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_max_parts = true; - builder.append(present_max_parts); + list.add(present_max_parts); if (present_max_parts) - builder.append(max_parts); + list.add(max_parts); boolean present_user_name = true && (isSetUser_name()); - builder.append(present_user_name); + list.add(present_user_name); if (present_user_name) - builder.append(user_name); + list.add(user_name); boolean present_group_names = true && (isSetGroup_names()); - builder.append(present_group_names); + list.add(present_group_names); if (present_group_names) - builder.append(group_names); + list.add(group_names); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_with_auth_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_with_auth_args typedOther = (get_partitions_with_auth_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(typedOther.isSetMax_parts()); + lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(other.isSetMax_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetMax_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, typedOther.max_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(typedOther.isSetUser_name()); + lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(other.isSetUser_name()); if (lastComparison != 0) { return lastComparison; } if (isSetUser_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, typedOther.user_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, other.user_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(typedOther.isSetGroup_names()); + lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(other.isSetGroup_names()); if (lastComparison != 0) { return lastComparison; } if (isSetGroup_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, typedOther.group_names); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, other.group_names); if (lastComparison != 0) { return lastComparison; } @@ -65234,13 +73067,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); + String _elem721; + for (int _i722 = 0; _i722 < _list720.size; ++_i722) { - String _elem714; // optional - _elem714 = iprot.readString(); - struct.group_names.add(_elem714); + _elem721 = iprot.readString(); + struct.group_names.add(_elem721); } iprot.readListEnd(); } @@ -65284,9 +73117,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 +73174,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 +73204,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); + String _elem726; + for (int _i727 = 0; _i727 < _list725.size; ++_i727) { - String _elem719; // optional - _elem719 = iprot.readString(); - struct.group_names.add(_elem719); + _elem726 = iprot.readString(); + struct.group_names.add(_elem726); } } struct.setGroup_namesIsSet(true); @@ -65387,7 +73220,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } - public static class get_partitions_with_auth_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_with_auth_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_with_auth_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -65502,7 +73335,7 @@ public get_partitions_with_auth_result( */ public get_partitions_with_auth_result(get_partitions_with_auth_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (Partition other_element : other.success) { __this__success.add(new Partition(other_element)); } @@ -65717,60 +73550,60 @@ public boolean equals(get_partitions_with_auth_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_with_auth_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_with_auth_result typedOther = (get_partitions_with_auth_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -65864,14 +73697,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); + Partition _elem729; + for (int _i730 = 0; _i730 < _list728.size; ++_i730) { - Partition _elem722; // optional - _elem722 = new Partition(); - _elem722.read(iprot); - struct.success.add(_elem722); + _elem729 = new Partition(); + _elem729.read(iprot); + struct.success.add(_elem729); } iprot.readListEnd(); } @@ -65915,9 +73748,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 +73797,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 +73817,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); + Partition _elem734; + for (int _i735 = 0; _i735 < _list733.size; ++_i735) { - Partition _elem727; // optional - _elem727 = new Partition(); - _elem727.read(iprot); - struct.success.add(_elem727); + _elem734 = new Partition(); + _elem734.read(iprot); + struct.success.add(_elem734); } } struct.setSuccessIsSet(true); @@ -66011,7 +73844,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } - public static class get_partitions_pspec_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_pspec_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_pspec_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -66325,60 +74158,60 @@ public boolean equals(get_partitions_pspec_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_max_parts = true; - builder.append(present_max_parts); + list.add(present_max_parts); if (present_max_parts) - builder.append(max_parts); + list.add(max_parts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_pspec_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_pspec_args typedOther = (get_partitions_pspec_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(typedOther.isSetMax_parts()); + lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(other.isSetMax_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetMax_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, typedOther.max_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); if (lastComparison != 0) { return lastComparison; } @@ -66577,7 +74410,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec } - public static class get_partitions_pspec_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_pspec_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_pspec_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -66692,7 +74525,7 @@ public get_partitions_pspec_result( */ public get_partitions_pspec_result(get_partitions_pspec_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (PartitionSpec other_element : other.success) { __this__success.add(new PartitionSpec(other_element)); } @@ -66907,60 +74740,60 @@ public boolean equals(get_partitions_pspec_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_pspec_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_pspec_result typedOther = (get_partitions_pspec_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -67054,14 +74887,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); + PartitionSpec _elem737; + for (int _i738 = 0; _i738 < _list736.size; ++_i738) { - PartitionSpec _elem730; // optional - _elem730 = new PartitionSpec(); - _elem730.read(iprot); - struct.success.add(_elem730); + _elem737 = new PartitionSpec(); + _elem737.read(iprot); + struct.success.add(_elem737); } iprot.readListEnd(); } @@ -67105,9 +74938,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 +74987,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 +75007,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); + PartitionSpec _elem742; + for (int _i743 = 0; _i743 < _list741.size; ++_i743) { - PartitionSpec _elem735; // optional - _elem735 = new PartitionSpec(); - _elem735.read(iprot); - struct.success.add(_elem735); + _elem742 = new PartitionSpec(); + _elem742.read(iprot); + struct.success.add(_elem742); } } struct.setSuccessIsSet(true); @@ -67201,7 +75034,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec } - public static class get_partition_names_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partition_names_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_names_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -67515,60 +75348,60 @@ public boolean equals(get_partition_names_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_max_parts = true; - builder.append(present_max_parts); + list.add(present_max_parts); if (present_max_parts) - builder.append(max_parts); + list.add(max_parts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partition_names_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_names_args typedOther = (get_partition_names_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(typedOther.isSetMax_parts()); + lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(other.isSetMax_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetMax_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, typedOther.max_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); if (lastComparison != 0) { return lastComparison; } @@ -67767,7 +75600,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } - public static class get_partition_names_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partition_names_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_names_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -67873,10 +75706,7 @@ public get_partition_names_result( */ public get_partition_names_result(get_partition_names_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } if (other.isSetO2()) { @@ -68039,45 +75869,45 @@ public boolean equals(get_partition_names_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partition_names_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_names_result typedOther = (get_partition_names_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -68163,13 +75993,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); + String _elem745; + for (int _i746 = 0; _i746 < _list744.size; ++_i746) { - String _elem738; // optional - _elem738 = iprot.readString(); - struct.success.add(_elem738); + _elem745 = iprot.readString(); + struct.success.add(_elem745); } iprot.readListEnd(); } @@ -68204,9 +76034,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 +76075,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 +76092,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); + String _elem750; + for (int _i751 = 0; _i751 < _list749.size; ++_i751) { - String _elem743; // optional - _elem743 = iprot.readString(); - struct.success.add(_elem743); + _elem750 = iprot.readString(); + struct.success.add(_elem750); } } struct.setSuccessIsSet(true); @@ -68283,7 +76113,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } - public static class get_partitions_ps_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_ps_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_ps_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -68419,10 +76249,7 @@ public get_partitions_ps_args(get_partitions_ps_args other) { this.tbl_name = other.tbl_name; } if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(); - for (String other_element : other.part_vals) { - __this__part_vals.add(other_element); - } + List __this__part_vals = new ArrayList(other.part_vals); this.part_vals = __this__part_vals; } this.max_parts = other.max_parts; @@ -68675,75 +76502,75 @@ public boolean equals(get_partitions_ps_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); boolean present_max_parts = true; - builder.append(present_max_parts); + list.add(present_max_parts); if (present_max_parts) - builder.append(max_parts); + list.add(max_parts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_ps_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_ps_args typedOther = (get_partitions_ps_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(typedOther.isSetMax_parts()); + lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(other.isSetMax_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetMax_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, typedOther.max_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); if (lastComparison != 0) { return lastComparison; } @@ -68859,13 +76686,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); + String _elem753; + for (int _i754 = 0; _i754 < _list752.size; ++_i754) { - String _elem746; // optional - _elem746 = iprot.readString(); - struct.part_vals.add(_elem746); + _elem753 = iprot.readString(); + struct.part_vals.add(_elem753); } iprot.readListEnd(); } @@ -68909,9 +76736,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 +76787,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 +76812,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); + String _elem758; + for (int _i759 = 0; _i759 < _list757.size; ++_i759) { - String _elem751; // optional - _elem751 = iprot.readString(); - struct.part_vals.add(_elem751); + _elem758 = iprot.readString(); + struct.part_vals.add(_elem758); } } struct.setPart_valsIsSet(true); @@ -69005,7 +76832,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } - public static class get_partitions_ps_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_ps_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_ps_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -69120,7 +76947,7 @@ public get_partitions_ps_result( */ public get_partitions_ps_result(get_partitions_ps_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (Partition other_element : other.success) { __this__success.add(new Partition(other_element)); } @@ -69335,60 +77162,60 @@ public boolean equals(get_partitions_ps_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_ps_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_ps_result typedOther = (get_partitions_ps_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -69482,14 +77309,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); + Partition _elem761; + for (int _i762 = 0; _i762 < _list760.size; ++_i762) { - Partition _elem754; // optional - _elem754 = new Partition(); - _elem754.read(iprot); - struct.success.add(_elem754); + _elem761 = new Partition(); + _elem761.read(iprot); + struct.success.add(_elem761); } iprot.readListEnd(); } @@ -69533,9 +77360,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 +77409,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 +77429,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); + Partition _elem766; + for (int _i767 = 0; _i767 < _list765.size; ++_i767) { - Partition _elem759; // optional - _elem759 = new Partition(); - _elem759.read(iprot); - struct.success.add(_elem759); + _elem766 = new Partition(); + _elem766.read(iprot); + struct.success.add(_elem766); } } struct.setSuccessIsSet(true); @@ -69629,7 +77456,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re } - public static class get_partitions_ps_with_auth_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_ps_with_auth_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_ps_with_auth_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -69784,10 +77611,7 @@ public get_partitions_ps_with_auth_args(get_partitions_ps_with_auth_args other) this.tbl_name = other.tbl_name; } if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(); - for (String other_element : other.part_vals) { - __this__part_vals.add(other_element); - } + List __this__part_vals = new ArrayList(other.part_vals); this.part_vals = __this__part_vals; } this.max_parts = other.max_parts; @@ -69795,10 +77619,7 @@ public get_partitions_ps_with_auth_args(get_partitions_ps_with_auth_args other) this.user_name = other.user_name; } if (other.isSetGroup_names()) { - List __this__group_names = new ArrayList(); - for (String other_element : other.group_names) { - __this__group_names.add(other_element); - } + List __this__group_names = new ArrayList(other.group_names); this.group_names = __this__group_names; } } @@ -70157,105 +77978,105 @@ public boolean equals(get_partitions_ps_with_auth_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); boolean present_max_parts = true; - builder.append(present_max_parts); + list.add(present_max_parts); if (present_max_parts) - builder.append(max_parts); + list.add(max_parts); boolean present_user_name = true && (isSetUser_name()); - builder.append(present_user_name); + list.add(present_user_name); if (present_user_name) - builder.append(user_name); + list.add(user_name); boolean present_group_names = true && (isSetGroup_names()); - builder.append(present_group_names); + list.add(present_group_names); if (present_group_names) - builder.append(group_names); + list.add(group_names); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_ps_with_auth_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_ps_with_auth_args typedOther = (get_partitions_ps_with_auth_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(typedOther.isSetMax_parts()); + lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(other.isSetMax_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetMax_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, typedOther.max_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(typedOther.isSetUser_name()); + lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(other.isSetUser_name()); if (lastComparison != 0) { return lastComparison; } if (isSetUser_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, typedOther.user_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, other.user_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(typedOther.isSetGroup_names()); + lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(other.isSetGroup_names()); if (lastComparison != 0) { return lastComparison; } if (isSetGroup_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, typedOther.group_names); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, other.group_names); if (lastComparison != 0) { return lastComparison; } @@ -70387,13 +78208,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); + String _elem769; + for (int _i770 = 0; _i770 < _list768.size; ++_i770) { - String _elem762; // optional - _elem762 = iprot.readString(); - struct.part_vals.add(_elem762); + _elem769 = iprot.readString(); + struct.part_vals.add(_elem769); } iprot.readListEnd(); } @@ -70421,13 +78242,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); + String _elem772; + for (int _i773 = 0; _i773 < _list771.size; ++_i773) { - String _elem765; // optional - _elem765 = iprot.readString(); - struct.group_names.add(_elem765); + _elem772 = iprot.readString(); + struct.group_names.add(_elem772); } iprot.readListEnd(); } @@ -70463,9 +78284,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 +78304,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 +78358,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 +78373,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 +78395,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); + String _elem779; + for (int _i780 = 0; _i780 < _list778.size; ++_i780) { - String _elem772; // optional - _elem772 = iprot.readString(); - struct.part_vals.add(_elem772); + _elem779 = iprot.readString(); + struct.part_vals.add(_elem779); } } struct.setPart_valsIsSet(true); @@ -70595,13 +78416,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); + String _elem782; + for (int _i783 = 0; _i783 < _list781.size; ++_i783) { - String _elem775; // optional - _elem775 = iprot.readString(); - struct.group_names.add(_elem775); + _elem782 = iprot.readString(); + struct.group_names.add(_elem782); } } struct.setGroup_namesIsSet(true); @@ -70611,7 +78432,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } - public static class get_partitions_ps_with_auth_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_ps_with_auth_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_ps_with_auth_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -70726,7 +78547,7 @@ public get_partitions_ps_with_auth_result( */ public get_partitions_ps_with_auth_result(get_partitions_ps_with_auth_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (Partition other_element : other.success) { __this__success.add(new Partition(other_element)); } @@ -70941,60 +78762,60 @@ public boolean equals(get_partitions_ps_with_auth_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_ps_with_auth_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_ps_with_auth_result typedOther = (get_partitions_ps_with_auth_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -71088,14 +78909,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); + Partition _elem785; + for (int _i786 = 0; _i786 < _list784.size; ++_i786) { - Partition _elem778; // optional - _elem778 = new Partition(); - _elem778.read(iprot); - struct.success.add(_elem778); + _elem785 = new Partition(); + _elem785.read(iprot); + struct.success.add(_elem785); } iprot.readListEnd(); } @@ -71139,9 +78960,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 +79009,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 +79029,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); + Partition _elem790; + for (int _i791 = 0; _i791 < _list789.size; ++_i791) { - Partition _elem783; // optional - _elem783 = new Partition(); - _elem783.read(iprot); - struct.success.add(_elem783); + _elem790 = new Partition(); + _elem790.read(iprot); + struct.success.add(_elem790); } } struct.setSuccessIsSet(true); @@ -71235,7 +79056,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } - public static class get_partition_names_ps_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partition_names_ps_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_names_ps_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -71371,10 +79192,7 @@ public get_partition_names_ps_args(get_partition_names_ps_args other) { this.tbl_name = other.tbl_name; } if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(); - for (String other_element : other.part_vals) { - __this__part_vals.add(other_element); - } + List __this__part_vals = new ArrayList(other.part_vals); this.part_vals = __this__part_vals; } this.max_parts = other.max_parts; @@ -71627,75 +79445,75 @@ public boolean equals(get_partition_names_ps_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); boolean present_max_parts = true; - builder.append(present_max_parts); + list.add(present_max_parts); if (present_max_parts) - builder.append(max_parts); + list.add(max_parts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partition_names_ps_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_names_ps_args typedOther = (get_partition_names_ps_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(typedOther.isSetMax_parts()); + lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(other.isSetMax_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetMax_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, typedOther.max_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); if (lastComparison != 0) { return lastComparison; } @@ -71811,13 +79629,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); + String _elem793; + for (int _i794 = 0; _i794 < _list792.size; ++_i794) { - String _elem786; // optional - _elem786 = iprot.readString(); - struct.part_vals.add(_elem786); + _elem793 = iprot.readString(); + struct.part_vals.add(_elem793); } iprot.readListEnd(); } @@ -71861,9 +79679,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 +79730,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 +79755,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); + String _elem798; + for (int _i799 = 0; _i799 < _list797.size; ++_i799) { - String _elem791; // optional - _elem791 = iprot.readString(); - struct.part_vals.add(_elem791); + _elem798 = iprot.readString(); + struct.part_vals.add(_elem798); } } struct.setPart_valsIsSet(true); @@ -71957,7 +79775,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } - public static class get_partition_names_ps_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partition_names_ps_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_names_ps_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -72072,10 +79890,7 @@ public get_partition_names_ps_result( */ public get_partition_names_ps_result(get_partition_names_ps_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } if (other.isSetO1()) { @@ -72287,60 +80102,60 @@ public boolean equals(get_partition_names_ps_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partition_names_ps_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_names_ps_result typedOther = (get_partition_names_ps_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -72434,13 +80249,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); + String _elem801; + for (int _i802 = 0; _i802 < _list800.size; ++_i802) { - String _elem794; // optional - _elem794 = iprot.readString(); - struct.success.add(_elem794); + _elem801 = iprot.readString(); + struct.success.add(_elem801); } iprot.readListEnd(); } @@ -72484,9 +80299,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 +80348,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 +80368,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); + String _elem806; + for (int _i807 = 0; _i807 < _list805.size; ++_i807) { - String _elem799; // optional - _elem799 = iprot.readString(); - struct.success.add(_elem799); + _elem806 = iprot.readString(); + struct.success.add(_elem806); } } struct.setSuccessIsSet(true); @@ -72579,7 +80394,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } - public static class get_partitions_by_filter_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_by_filter_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_filter_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -72951,75 +80766,75 @@ public boolean equals(get_partitions_by_filter_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_filter = true && (isSetFilter()); - builder.append(present_filter); + list.add(present_filter); if (present_filter) - builder.append(filter); + list.add(filter); boolean present_max_parts = true; - builder.append(present_max_parts); + list.add(present_max_parts); if (present_max_parts) - builder.append(max_parts); + list.add(max_parts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_by_filter_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_by_filter_args typedOther = (get_partitions_by_filter_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetFilter()).compareTo(typedOther.isSetFilter()); + lastComparison = Boolean.valueOf(isSetFilter()).compareTo(other.isSetFilter()); if (lastComparison != 0) { return lastComparison; } if (isSetFilter()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, typedOther.filter); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, other.filter); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(typedOther.isSetMax_parts()); + lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(other.isSetMax_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetMax_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, typedOther.max_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); if (lastComparison != 0) { return lastComparison; } @@ -73249,7 +81064,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi } - public static class get_partitions_by_filter_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_by_filter_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_filter_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -73364,7 +81179,7 @@ public get_partitions_by_filter_result( */ public get_partitions_by_filter_result(get_partitions_by_filter_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (Partition other_element : other.success) { __this__success.add(new Partition(other_element)); } @@ -73579,60 +81394,60 @@ public boolean equals(get_partitions_by_filter_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_by_filter_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_by_filter_result typedOther = (get_partitions_by_filter_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -73726,14 +81541,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); + Partition _elem809; + for (int _i810 = 0; _i810 < _list808.size; ++_i810) { - Partition _elem802; // optional - _elem802 = new Partition(); - _elem802.read(iprot); - struct.success.add(_elem802); + _elem809 = new Partition(); + _elem809.read(iprot); + struct.success.add(_elem809); } iprot.readListEnd(); } @@ -73777,9 +81592,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 +81641,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 +81661,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); + Partition _elem814; + for (int _i815 = 0; _i815 < _list813.size; ++_i815) { - Partition _elem807; // optional - _elem807 = new Partition(); - _elem807.read(iprot); - struct.success.add(_elem807); + _elem814 = new Partition(); + _elem814.read(iprot); + struct.success.add(_elem814); } } struct.setSuccessIsSet(true); @@ -73873,7 +81688,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi } - public static class get_part_specs_by_filter_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_part_specs_by_filter_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_part_specs_by_filter_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -74245,75 +82060,75 @@ public boolean equals(get_part_specs_by_filter_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_filter = true && (isSetFilter()); - builder.append(present_filter); + list.add(present_filter); if (present_filter) - builder.append(filter); + list.add(filter); boolean present_max_parts = true; - builder.append(present_max_parts); + list.add(present_max_parts); if (present_max_parts) - builder.append(max_parts); + list.add(max_parts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_part_specs_by_filter_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_part_specs_by_filter_args typedOther = (get_part_specs_by_filter_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetFilter()).compareTo(typedOther.isSetFilter()); + lastComparison = Boolean.valueOf(isSetFilter()).compareTo(other.isSetFilter()); if (lastComparison != 0) { return lastComparison; } if (isSetFilter()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, typedOther.filter); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filter, other.filter); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(typedOther.isSetMax_parts()); + lastComparison = Boolean.valueOf(isSetMax_parts()).compareTo(other.isSetMax_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetMax_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, typedOther.max_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_parts, other.max_parts); if (lastComparison != 0) { return lastComparison; } @@ -74543,7 +82358,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi } - public static class get_part_specs_by_filter_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_part_specs_by_filter_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_part_specs_by_filter_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -74658,7 +82473,7 @@ public get_part_specs_by_filter_result( */ public get_part_specs_by_filter_result(get_part_specs_by_filter_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (PartitionSpec other_element : other.success) { __this__success.add(new PartitionSpec(other_element)); } @@ -74873,60 +82688,60 @@ public boolean equals(get_part_specs_by_filter_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_part_specs_by_filter_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_part_specs_by_filter_result typedOther = (get_part_specs_by_filter_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -75020,14 +82835,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); + PartitionSpec _elem817; + for (int _i818 = 0; _i818 < _list816.size; ++_i818) { - PartitionSpec _elem810; // optional - _elem810 = new PartitionSpec(); - _elem810.read(iprot); - struct.success.add(_elem810); + _elem817 = new PartitionSpec(); + _elem817.read(iprot); + struct.success.add(_elem817); } iprot.readListEnd(); } @@ -75071,9 +82886,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 +82935,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 +82955,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); + PartitionSpec _elem822; + for (int _i823 = 0; _i823 < _list821.size; ++_i823) { - PartitionSpec _elem815; // optional - _elem815 = new PartitionSpec(); - _elem815.read(iprot); - struct.success.add(_elem815); + _elem822 = new PartitionSpec(); + _elem822.read(iprot); + struct.success.add(_elem822); } } struct.setSuccessIsSet(true); @@ -75167,7 +82982,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi } - public static class get_partitions_by_expr_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_by_expr_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_expr_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -75361,30 +83176,30 @@ public boolean equals(get_partitions_by_expr_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_by_expr_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_by_expr_args typedOther = (get_partitions_by_expr_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -75530,7 +83345,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_ex } - public static class get_partitions_by_expr_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_by_expr_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_expr_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); @@ -75840,60 +83655,60 @@ public boolean equals(get_partitions_by_expr_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_by_expr_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_by_expr_result typedOther = (get_partitions_by_expr_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -76105,7 +83920,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_ex } - public static class get_partitions_by_names_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_by_names_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_names_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -76226,10 +84041,7 @@ public get_partitions_by_names_args(get_partitions_by_names_args other) { this.tbl_name = other.tbl_name; } if (other.isSetNames()) { - List __this__names = new ArrayList(); - for (String other_element : other.names) { - __this__names.add(other_element); - } + List __this__names = new ArrayList(other.names); this.names = __this__names; } } @@ -76435,60 +84247,60 @@ public boolean equals(get_partitions_by_names_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_names = true && (isSetNames()); - builder.append(present_names); + list.add(present_names); if (present_names) - builder.append(names); + list.add(names); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_by_names_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_by_names_args typedOther = (get_partitions_by_names_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNames()).compareTo(typedOther.isSetNames()); + lastComparison = Boolean.valueOf(isSetNames()).compareTo(other.isSetNames()); if (lastComparison != 0) { return lastComparison; } if (isSetNames()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.names, typedOther.names); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.names, other.names); if (lastComparison != 0) { return lastComparison; } @@ -76598,13 +84410,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); + String _elem825; + for (int _i826 = 0; _i826 < _list824.size; ++_i826) { - String _elem818; // optional - _elem818 = iprot.readString(); - struct.names.add(_elem818); + _elem825 = iprot.readString(); + struct.names.add(_elem825); } iprot.readListEnd(); } @@ -76640,9 +84452,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 +84497,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 +84519,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); + String _elem830; + for (int _i831 = 0; _i831 < _list829.size; ++_i831) { - String _elem823; // optional - _elem823 = iprot.readString(); - struct.names.add(_elem823); + _elem830 = iprot.readString(); + struct.names.add(_elem830); } } struct.setNamesIsSet(true); @@ -76723,7 +84535,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } - public static class get_partitions_by_names_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_partitions_by_names_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_by_names_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -76838,7 +84650,7 @@ public get_partitions_by_names_result( */ public get_partitions_by_names_result(get_partitions_by_names_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (Partition other_element : other.success) { __this__success.add(new Partition(other_element)); } @@ -77053,60 +84865,60 @@ public boolean equals(get_partitions_by_names_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_partitions_by_names_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_by_names_result typedOther = (get_partitions_by_names_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -77200,14 +85012,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); + Partition _elem833; + for (int _i834 = 0; _i834 < _list832.size; ++_i834) { - Partition _elem826; // optional - _elem826 = new Partition(); - _elem826.read(iprot); - struct.success.add(_elem826); + _elem833 = new Partition(); + _elem833.read(iprot); + struct.success.add(_elem833); } iprot.readListEnd(); } @@ -77251,9 +85063,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 +85112,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 +85132,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); + Partition _elem838; + for (int _i839 = 0; _i839 < _list837.size; ++_i839) { - Partition _elem831; // optional - _elem831 = new Partition(); - _elem831.read(iprot); - struct.success.add(_elem831); + _elem838 = new Partition(); + _elem838.read(iprot); + struct.success.add(_elem838); } } struct.setSuccessIsSet(true); @@ -77347,7 +85159,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } - public static class alter_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_partition_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -77657,60 +85469,60 @@ public boolean equals(alter_partition_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_new_part = true && (isSetNew_part()); - builder.append(present_new_part); + list.add(present_new_part); if (present_new_part) - builder.append(new_part); + list.add(new_part); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_partition_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_partition_args typedOther = (alter_partition_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(typedOther.isSetNew_part()); + lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(other.isSetNew_part()); if (lastComparison != 0) { return lastComparison; } if (isSetNew_part()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, typedOther.new_part); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, other.new_part); if (lastComparison != 0) { return lastComparison; } @@ -77918,7 +85730,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partition_args } - public static class alter_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_partition_result"); 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); @@ -78170,45 +85982,45 @@ public boolean equals(alter_partition_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_partition_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_partition_result typedOther = (alter_partition_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -78384,7 +86196,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partition_resu } - public static class alter_partitions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_partitions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_partitions_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -78505,7 +86317,7 @@ public alter_partitions_args(alter_partitions_args other) { this.tbl_name = other.tbl_name; } if (other.isSetNew_parts()) { - List __this__new_parts = new ArrayList(); + List __this__new_parts = new ArrayList(other.new_parts.size()); for (Partition other_element : other.new_parts) { __this__new_parts.add(new Partition(other_element)); } @@ -78714,60 +86526,60 @@ public boolean equals(alter_partitions_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_new_parts = true && (isSetNew_parts()); - builder.append(present_new_parts); + list.add(present_new_parts); if (present_new_parts) - builder.append(new_parts); + list.add(new_parts); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_partitions_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_partitions_args typedOther = (alter_partitions_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNew_parts()).compareTo(typedOther.isSetNew_parts()); + lastComparison = Boolean.valueOf(isSetNew_parts()).compareTo(other.isSetNew_parts()); if (lastComparison != 0) { return lastComparison; } if (isSetNew_parts()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_parts, typedOther.new_parts); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_parts, other.new_parts); if (lastComparison != 0) { return lastComparison; } @@ -78877,14 +86689,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); + Partition _elem841; + for (int _i842 = 0; _i842 < _list840.size; ++_i842) { - Partition _elem834; // optional - _elem834 = new Partition(); - _elem834.read(iprot); - struct.new_parts.add(_elem834); + _elem841 = new Partition(); + _elem841.read(iprot); + struct.new_parts.add(_elem841); } iprot.readListEnd(); } @@ -78920,9 +86732,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 +86777,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 +86799,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); + Partition _elem846; + for (int _i847 = 0; _i847 < _list845.size; ++_i847) { - Partition _elem839; // optional - _elem839 = new Partition(); - _elem839.read(iprot); - struct.new_parts.add(_elem839); + _elem846 = new Partition(); + _elem846.read(iprot); + struct.new_parts.add(_elem846); } } struct.setNew_partsIsSet(true); @@ -79004,7 +86816,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } - public static class alter_partitions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_partitions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_partitions_result"); 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); @@ -79256,45 +87068,45 @@ public boolean equals(alter_partitions_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_partitions_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_partitions_result typedOther = (alter_partitions_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -79470,7 +87282,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_res } - public static class alter_partition_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_partition_with_environment_context_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_partition_with_environment_context_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -79838,75 +87650,75 @@ public boolean equals(alter_partition_with_environment_context_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_new_part = true && (isSetNew_part()); - builder.append(present_new_part); + list.add(present_new_part); if (present_new_part) - builder.append(new_part); + list.add(new_part); boolean present_environment_context = true && (isSetEnvironment_context()); - builder.append(present_environment_context); + list.add(present_environment_context); if (present_environment_context) - builder.append(environment_context); + list.add(environment_context); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_partition_with_environment_context_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_partition_with_environment_context_args typedOther = (alter_partition_with_environment_context_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(typedOther.isSetNew_part()); + lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(other.isSetNew_part()); if (lastComparison != 0) { return lastComparison; } if (isSetNew_part()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, typedOther.new_part); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, other.new_part); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(typedOther.isSetEnvironment_context()); + lastComparison = Boolean.valueOf(isSetEnvironment_context()).compareTo(other.isSetEnvironment_context()); if (lastComparison != 0) { return lastComparison; } if (isSetEnvironment_context()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, typedOther.environment_context); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.environment_context, other.environment_context); if (lastComparison != 0) { return lastComparison; } @@ -80150,7 +87962,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partition_with } - public static class alter_partition_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class alter_partition_with_environment_context_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_partition_with_environment_context_result"); 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); @@ -80402,45 +88214,45 @@ public boolean equals(alter_partition_with_environment_context_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(alter_partition_with_environment_context_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_partition_with_environment_context_result typedOther = (alter_partition_with_environment_context_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -80616,7 +88428,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partition_with } - public static class rename_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class rename_partition_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("rename_partition_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -80746,10 +88558,7 @@ public rename_partition_args(rename_partition_args other) { this.tbl_name = other.tbl_name; } if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(); - for (String other_element : other.part_vals) { - __this__part_vals.add(other_element); - } + List __this__part_vals = new ArrayList(other.part_vals); this.part_vals = __this__part_vals; } if (other.isSetNew_part()) { @@ -81004,75 +88813,75 @@ public boolean equals(rename_partition_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); boolean present_new_part = true && (isSetNew_part()); - builder.append(present_new_part); + list.add(present_new_part); if (present_new_part) - builder.append(new_part); + list.add(new_part); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(rename_partition_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - rename_partition_args typedOther = (rename_partition_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(typedOther.isSetNew_part()); + lastComparison = Boolean.valueOf(isSetNew_part()).compareTo(other.isSetNew_part()); if (lastComparison != 0) { return lastComparison; } if (isSetNew_part()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, typedOther.new_part); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_part, other.new_part); if (lastComparison != 0) { return lastComparison; } @@ -81193,13 +89002,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); + String _elem849; + for (int _i850 = 0; _i850 < _list848.size; ++_i850) { - String _elem842; // optional - _elem842 = iprot.readString(); - struct.part_vals.add(_elem842); + _elem849 = iprot.readString(); + struct.part_vals.add(_elem849); } iprot.readListEnd(); } @@ -81244,9 +89053,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 +89106,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 +89131,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); + String _elem854; + for (int _i855 = 0; _i855 < _list853.size; ++_i855) { - String _elem847; // optional - _elem847 = iprot.readString(); - struct.part_vals.add(_elem847); + _elem854 = iprot.readString(); + struct.part_vals.add(_elem854); } } struct.setPart_valsIsSet(true); @@ -81343,7 +89152,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } - public static class rename_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class rename_partition_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("rename_partition_result"); 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); @@ -81595,45 +89404,45 @@ public boolean equals(rename_partition_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(rename_partition_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - rename_partition_result typedOther = (rename_partition_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -81809,7 +89618,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_res } - public static class partition_name_has_valid_characters_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class partition_name_has_valid_characters_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("partition_name_has_valid_characters_args"); private static final org.apache.thrift.protocol.TField PART_VALS_FIELD_DESC = new org.apache.thrift.protocol.TField("part_vals", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -81919,10 +89728,7 @@ public partition_name_has_valid_characters_args( public partition_name_has_valid_characters_args(partition_name_has_valid_characters_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetPart_vals()) { - List __this__part_vals = new ArrayList(); - for (String other_element : other.part_vals) { - __this__part_vals.add(other_element); - } + List __this__part_vals = new ArrayList(other.part_vals); this.part_vals = __this__part_vals; } this.throw_exception = other.throw_exception; @@ -82083,45 +89889,45 @@ public boolean equals(partition_name_has_valid_characters_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); boolean present_throw_exception = true; - builder.append(present_throw_exception); + list.add(present_throw_exception); if (present_throw_exception) - builder.append(throw_exception); + list.add(throw_exception); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(partition_name_has_valid_characters_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - partition_name_has_valid_characters_args typedOther = (partition_name_has_valid_characters_args)other; - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetThrow_exception()).compareTo(typedOther.isSetThrow_exception()); + lastComparison = Boolean.valueOf(isSetThrow_exception()).compareTo(other.isSetThrow_exception()); if (lastComparison != 0) { return lastComparison; } if (isSetThrow_exception()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.throw_exception, typedOther.throw_exception); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.throw_exception, other.throw_exception); if (lastComparison != 0) { return lastComparison; } @@ -82205,13 +90011,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); + String _elem857; + for (int _i858 = 0; _i858 < _list856.size; ++_i858) { - String _elem850; // optional - _elem850 = iprot.readString(); - struct.part_vals.add(_elem850); + _elem857 = iprot.readString(); + struct.part_vals.add(_elem857); } iprot.readListEnd(); } @@ -82245,9 +90051,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 +90090,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 +90107,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); + String _elem862; + for (int _i863 = 0; _i863 < _list861.size; ++_i863) { - String _elem855; // optional - _elem855 = iprot.readString(); - struct.part_vals.add(_elem855); + _elem862 = iprot.readString(); + struct.part_vals.add(_elem862); } } struct.setPart_valsIsSet(true); @@ -82321,7 +90127,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v } - public static class partition_name_has_valid_characters_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class partition_name_has_valid_characters_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("partition_name_has_valid_characters_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -82497,7 +90303,931 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Boolean)value); + setSuccess((Boolean)value); + } + break; + + case O1: + if (value == null) { + unsetO1(); + } else { + setO1((MetaException)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return Boolean.valueOf(isSuccess()); + + case O1: + return getO1(); + + } + 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(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof partition_name_has_valid_characters_result) + return this.equals((partition_name_has_valid_characters_result)that); + return false; + } + + public boolean equals(partition_name_has_valid_characters_result that) { + if (that == null) + return false; + + boolean this_present_success = true; + boolean that_present_success = true; + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (this.success != 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; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true; + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_o1 = true && (isSetO1()); + list.add(present_o1); + if (present_o1) + list.add(o1); + + return list.hashCode(); + } + + @Override + public int compareTo(partition_name_has_valid_characters_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); + 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("partition_name_has_valid_characters_result("); + boolean first = true; + + sb.append("success:"); + 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; + 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 { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class partition_name_has_valid_characters_resultStandardSchemeFactory implements SchemeFactory { + public partition_name_has_valid_characters_resultStandardScheme getScheme() { + return new partition_name_has_valid_characters_resultStandardScheme(); + } + } + + private static class partition_name_has_valid_characters_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_valid_characters_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.BOOL) { + struct.success = iprot.readBool(); + 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; + 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, partition_name_has_valid_characters_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class partition_name_has_valid_characters_resultTupleSchemeFactory implements SchemeFactory { + public partition_name_has_valid_characters_resultTupleScheme getScheme() { + return new partition_name_has_valid_characters_resultTupleScheme(); + } + } + + private static class partition_name_has_valid_characters_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_valid_characters_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); + } + oprot.writeBitSet(optionals, 2); + if (struct.isSetSuccess()) { + oprot.writeBool(struct.success); + } + if (struct.isSetO1()) { + struct.o1.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_valid_characters_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } + } + } + + } + + public static class get_config_value_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_config_value_args"); + + private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField DEFAULT_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultValue", org.apache.thrift.protocol.TType.STRING, (short)2); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_config_value_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_config_value_argsTupleSchemeFactory()); + } + + private String name; // required + private String defaultValue; // 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 { + NAME((short)1, "name"), + DEFAULT_VALUE((short)2, "defaultValue"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // NAME + return NAME; + case 2: // DEFAULT_VALUE + return DEFAULT_VALUE; + 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.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.DEFAULT_VALUE, new org.apache.thrift.meta_data.FieldMetaData("defaultValue", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_config_value_args.class, metaDataMap); + } + + public get_config_value_args() { + } + + public get_config_value_args( + String name, + String defaultValue) + { + this(); + this.name = name; + this.defaultValue = defaultValue; + } + + /** + * Performs a deep copy on other. + */ + public get_config_value_args(get_config_value_args other) { + if (other.isSetName()) { + this.name = other.name; + } + if (other.isSetDefaultValue()) { + this.defaultValue = other.defaultValue; + } + } + + public get_config_value_args deepCopy() { + return new get_config_value_args(this); + } + + @Override + public void clear() { + this.name = null; + this.defaultValue = null; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public void unsetName() { + this.name = null; + } + + /** Returns true if field name is set (has been assigned a value) and false otherwise */ + public boolean isSetName() { + return this.name != null; + } + + public void setNameIsSet(boolean value) { + if (!value) { + this.name = null; + } + } + + public String getDefaultValue() { + return this.defaultValue; + } + + public void setDefaultValue(String defaultValue) { + this.defaultValue = defaultValue; + } + + public void unsetDefaultValue() { + this.defaultValue = null; + } + + /** Returns true if field defaultValue is set (has been assigned a value) and false otherwise */ + public boolean isSetDefaultValue() { + return this.defaultValue != null; + } + + public void setDefaultValueIsSet(boolean value) { + if (!value) { + this.defaultValue = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case NAME: + if (value == null) { + unsetName(); + } else { + setName((String)value); + } + break; + + case DEFAULT_VALUE: + if (value == null) { + unsetDefaultValue(); + } else { + setDefaultValue((String)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case NAME: + return getName(); + + case DEFAULT_VALUE: + return getDefaultValue(); + + } + 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 NAME: + return isSetName(); + case DEFAULT_VALUE: + return isSetDefaultValue(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_config_value_args) + return this.equals((get_config_value_args)that); + return false; + } + + public boolean equals(get_config_value_args that) { + if (that == null) + return false; + + boolean this_present_name = true && this.isSetName(); + boolean that_present_name = true && that.isSetName(); + if (this_present_name || that_present_name) { + if (!(this_present_name && that_present_name)) + return false; + if (!this.name.equals(that.name)) + return false; + } + + boolean this_present_defaultValue = true && this.isSetDefaultValue(); + boolean that_present_defaultValue = true && that.isSetDefaultValue(); + if (this_present_defaultValue || that_present_defaultValue) { + if (!(this_present_defaultValue && that_present_defaultValue)) + return false; + if (!this.defaultValue.equals(that.defaultValue)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_name = true && (isSetName()); + list.add(present_name); + if (present_name) + list.add(name); + + boolean present_defaultValue = true && (isSetDefaultValue()); + list.add(present_defaultValue); + if (present_defaultValue) + list.add(defaultValue); + + return list.hashCode(); + } + + @Override + public int compareTo(get_config_value_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetDefaultValue()).compareTo(other.isSetDefaultValue()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetDefaultValue()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultValue, other.defaultValue); + 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_config_value_args("); + boolean first = true; + + sb.append("name:"); + if (this.name == null) { + sb.append("null"); + } else { + sb.append(this.name); + } + first = false; + if (!first) sb.append(", "); + sb.append("defaultValue:"); + if (this.defaultValue == null) { + sb.append("null"); + } else { + sb.append(this.defaultValue); + } + first = false; + 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_config_value_argsStandardSchemeFactory implements SchemeFactory { + public get_config_value_argsStandardScheme getScheme() { + return new get_config_value_argsStandardScheme(); + } + } + + private static class get_config_value_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_config_value_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: // NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // DEFAULT_VALUE + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.defaultValue = iprot.readString(); + struct.setDefaultValueIsSet(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_config_value_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.name != null) { + oprot.writeFieldBegin(NAME_FIELD_DESC); + oprot.writeString(struct.name); + oprot.writeFieldEnd(); + } + if (struct.defaultValue != null) { + oprot.writeFieldBegin(DEFAULT_VALUE_FIELD_DESC); + oprot.writeString(struct.defaultValue); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_config_value_argsTupleSchemeFactory implements SchemeFactory { + public get_config_value_argsTupleScheme getScheme() { + return new get_config_value_argsTupleScheme(); + } + } + + private static class get_config_value_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_config_value_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetName()) { + optionals.set(0); + } + if (struct.isSetDefaultValue()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); + if (struct.isSetName()) { + oprot.writeString(struct.name); + } + if (struct.isSetDefaultValue()) { + oprot.writeString(struct.defaultValue); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_config_value_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.name = iprot.readString(); + struct.setNameIsSet(true); + } + if (incoming.get(1)) { + struct.defaultValue = iprot.readString(); + struct.setDefaultValueIsSet(true); + } + } + } + + } + + public static class get_config_value_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_config_value_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (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 Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_config_value_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_config_value_resultTupleSchemeFactory()); + } + + private String success; // required + private ConfigValSecurityException o1; // 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"); + + 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; + 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.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + 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))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_config_value_result.class, metaDataMap); + } + + public get_config_value_result() { + } + + public get_config_value_result( + String success, + ConfigValSecurityException o1) + { + this(); + this.success = success; + this.o1 = o1; + } + + /** + * Performs a deep copy on other. + */ + public get_config_value_result(get_config_value_result other) { + if (other.isSetSuccess()) { + this.success = other.success; + } + if (other.isSetO1()) { + this.o1 = new ConfigValSecurityException(other.o1); + } + } + + public get_config_value_result deepCopy() { + return new get_config_value_result(this); + } + + @Override + public void clear() { + this.success = null; + this.o1 = null; + } + + public String getSuccess() { + return this.success; + } + + public void setSuccess(String 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 ConfigValSecurityException getO1() { + return this.o1; + } + + public void setO1(ConfigValSecurityException 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 void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((String)value); } break; @@ -82505,7 +91235,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO1(); } else { - setO1((MetaException)value); + setO1((ConfigValSecurityException)value); } break; @@ -82515,7 +91245,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return getSuccess(); case O1: return getO1(); @@ -82543,21 +91273,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof partition_name_has_valid_characters_result) - return this.equals((partition_name_has_valid_characters_result)that); + if (that instanceof get_config_value_result) + return this.equals((get_config_value_result)that); return false; } - public boolean equals(partition_name_has_valid_characters_result that) { + public boolean equals(get_config_value_result that) { if (that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + 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 != that.success) + if (!this.success.equals(that.success)) return false; } @@ -82575,45 +91305,45 @@ public boolean equals(partition_name_has_valid_characters_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_success = true; - builder.append(present_success); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(partition_name_has_valid_characters_result other) { + @Override + public int compareTo(get_config_value_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - partition_name_has_valid_characters_result typedOther = (partition_name_has_valid_characters_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -82635,11 +91365,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("partition_name_has_valid_characters_result("); + StringBuilder sb = new StringBuilder("get_config_value_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } first = false; if (!first) sb.append(", "); sb.append("o1:"); @@ -82668,23 +91402,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class partition_name_has_valid_characters_resultStandardSchemeFactory implements SchemeFactory { - public partition_name_has_valid_characters_resultStandardScheme getScheme() { - return new partition_name_has_valid_characters_resultStandardScheme(); + private static class get_config_value_resultStandardSchemeFactory implements SchemeFactory { + public get_config_value_resultStandardScheme getScheme() { + return new get_config_value_resultStandardScheme(); } } - private static class partition_name_has_valid_characters_resultStandardScheme extends StandardScheme { + private static class get_config_value_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_valid_characters_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_config_value_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -82695,8 +91427,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_ } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.success = iprot.readString(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -82704,7 +91436,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_ break; case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new MetaException(); + struct.o1 = new ConfigValSecurityException(); struct.o1.read(iprot); struct.setO1IsSet(true); } else { @@ -82720,13 +91452,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has_valid_characters_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_config_value_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.isSetSuccess()) { + if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + oprot.writeString(struct.success); oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -82740,16 +91472,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has } - private static class partition_name_has_valid_characters_resultTupleSchemeFactory implements SchemeFactory { - public partition_name_has_valid_characters_resultTupleScheme getScheme() { - return new partition_name_has_valid_characters_resultTupleScheme(); + private static class get_config_value_resultTupleSchemeFactory implements SchemeFactory { + public get_config_value_resultTupleScheme getScheme() { + return new get_config_value_resultTupleScheme(); } } - private static class partition_name_has_valid_characters_resultTupleScheme extends TupleScheme { + private static class get_config_value_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_valid_characters_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_config_value_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -82760,7 +91492,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ } oprot.writeBitSet(optionals, 2); if (struct.isSetSuccess()) { - oprot.writeBool(struct.success); + oprot.writeString(struct.success); } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -82768,15 +91500,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_valid_characters_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_config_value_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.success = iprot.readBool(); + struct.success = iprot.readString(); struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o1 = new MetaException(); + struct.o1 = new ConfigValSecurityException(); struct.o1.read(iprot); struct.setO1IsSet(true); } @@ -82785,25 +91517,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v } - public static class get_config_value_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_config_value_args"); + public static class partition_name_to_vals_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("partition_name_to_vals_args"); - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField DEFAULT_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultValue", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField PART_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("part_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_config_value_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_config_value_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new partition_name_to_vals_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new partition_name_to_vals_argsTupleSchemeFactory()); } - private String name; // required - private String defaultValue; // required + private String part_name; // 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 { - NAME((short)1, "name"), - DEFAULT_VALUE((short)2, "defaultValue"); + PART_NAME((short)1, "part_name"); private static final Map byName = new HashMap(); @@ -82818,10 +91547,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // NAME - return NAME; - case 2: // DEFAULT_VALUE - return DEFAULT_VALUE; + case 1: // PART_NAME + return PART_NAME; default: return null; } @@ -82865,109 +91592,70 @@ public String getFieldName() { 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.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.DEFAULT_VALUE, new org.apache.thrift.meta_data.FieldMetaData("defaultValue", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.PART_NAME, new org.apache.thrift.meta_data.FieldMetaData("part_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_config_value_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(partition_name_to_vals_args.class, metaDataMap); } - public get_config_value_args() { + public partition_name_to_vals_args() { } - public get_config_value_args( - String name, - String defaultValue) + public partition_name_to_vals_args( + String part_name) { this(); - this.name = name; - this.defaultValue = defaultValue; + this.part_name = part_name; } /** * Performs a deep copy on other. */ - public get_config_value_args(get_config_value_args other) { - if (other.isSetName()) { - this.name = other.name; - } - if (other.isSetDefaultValue()) { - this.defaultValue = other.defaultValue; + public partition_name_to_vals_args(partition_name_to_vals_args other) { + if (other.isSetPart_name()) { + this.part_name = other.part_name; } } - public get_config_value_args deepCopy() { - return new get_config_value_args(this); + public partition_name_to_vals_args deepCopy() { + return new partition_name_to_vals_args(this); } @Override public void clear() { - this.name = null; - this.defaultValue = null; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public void unsetName() { - this.name = null; - } - - /** Returns true if field name is set (has been assigned a value) and false otherwise */ - public boolean isSetName() { - return this.name != null; - } - - public void setNameIsSet(boolean value) { - if (!value) { - this.name = null; - } + this.part_name = null; } - public String getDefaultValue() { - return this.defaultValue; + public String getPart_name() { + return this.part_name; } - public void setDefaultValue(String defaultValue) { - this.defaultValue = defaultValue; + public void setPart_name(String part_name) { + this.part_name = part_name; } - public void unsetDefaultValue() { - this.defaultValue = null; + public void unsetPart_name() { + this.part_name = null; } - /** Returns true if field defaultValue is set (has been assigned a value) and false otherwise */ - public boolean isSetDefaultValue() { - return this.defaultValue != null; + /** Returns true if field part_name is set (has been assigned a value) and false otherwise */ + public boolean isSetPart_name() { + return this.part_name != null; } - public void setDefaultValueIsSet(boolean value) { + public void setPart_nameIsSet(boolean value) { if (!value) { - this.defaultValue = null; + this.part_name = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case NAME: - if (value == null) { - unsetName(); - } else { - setName((String)value); - } - break; - - case DEFAULT_VALUE: + case PART_NAME: if (value == null) { - unsetDefaultValue(); + unsetPart_name(); } else { - setDefaultValue((String)value); + setPart_name((String)value); } break; @@ -82976,11 +91664,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case NAME: - return getName(); - - case DEFAULT_VALUE: - return getDefaultValue(); + case PART_NAME: + return getPart_name(); } throw new IllegalStateException(); @@ -82993,10 +91678,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case NAME: - return isSetName(); - case DEFAULT_VALUE: - return isSetDefaultValue(); + case PART_NAME: + return isSetPart_name(); } throw new IllegalStateException(); } @@ -83005,30 +91688,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_config_value_args) - return this.equals((get_config_value_args)that); + if (that instanceof partition_name_to_vals_args) + return this.equals((partition_name_to_vals_args)that); return false; } - public boolean equals(get_config_value_args that) { + public boolean equals(partition_name_to_vals_args that) { if (that == null) return false; - boolean this_present_name = true && this.isSetName(); - boolean that_present_name = true && that.isSetName(); - if (this_present_name || that_present_name) { - if (!(this_present_name && that_present_name)) - return false; - if (!this.name.equals(that.name)) - return false; - } - - boolean this_present_defaultValue = true && this.isSetDefaultValue(); - boolean that_present_defaultValue = true && that.isSetDefaultValue(); - if (this_present_defaultValue || that_present_defaultValue) { - if (!(this_present_defaultValue && that_present_defaultValue)) + boolean this_present_part_name = true && this.isSetPart_name(); + boolean that_present_part_name = true && that.isSetPart_name(); + if (this_present_part_name || that_present_part_name) { + if (!(this_present_part_name && that_present_part_name)) return false; - if (!this.defaultValue.equals(that.defaultValue)) + if (!this.part_name.equals(that.part_name)) return false; } @@ -83037,45 +91711,30 @@ public boolean equals(get_config_value_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_name = true && (isSetName()); - builder.append(present_name); - if (present_name) - builder.append(name); - - boolean present_defaultValue = true && (isSetDefaultValue()); - builder.append(present_defaultValue); - if (present_defaultValue) - builder.append(defaultValue); + boolean present_part_name = true && (isSetPart_name()); + list.add(present_part_name); + if (present_part_name) + list.add(part_name); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_config_value_args other) { + @Override + public int compareTo(partition_name_to_vals_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_config_value_args typedOther = (get_config_value_args)other; - lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetDefaultValue()).compareTo(typedOther.isSetDefaultValue()); + lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(other.isSetPart_name()); if (lastComparison != 0) { return lastComparison; } - if (isSetDefaultValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultValue, typedOther.defaultValue); + if (isSetPart_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, other.part_name); if (lastComparison != 0) { return lastComparison; } @@ -83097,22 +91756,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_config_value_args("); + StringBuilder sb = new StringBuilder("partition_name_to_vals_args("); boolean first = true; - sb.append("name:"); - if (this.name == null) { - sb.append("null"); - } else { - sb.append(this.name); - } - first = false; - if (!first) sb.append(", "); - sb.append("defaultValue:"); - if (this.defaultValue == null) { + sb.append("part_name:"); + if (this.part_name == null) { sb.append("null"); } else { - sb.append(this.defaultValue); + sb.append(this.part_name); } first = false; sb.append(")"); @@ -83140,15 +91791,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_config_value_argsStandardSchemeFactory implements SchemeFactory { - public get_config_value_argsStandardScheme getScheme() { - return new get_config_value_argsStandardScheme(); + private static class partition_name_to_vals_argsStandardSchemeFactory implements SchemeFactory { + public partition_name_to_vals_argsStandardScheme getScheme() { + return new partition_name_to_vals_argsStandardScheme(); } } - private static class get_config_value_argsStandardScheme extends StandardScheme { + private static class partition_name_to_vals_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_config_value_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_vals_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -83158,18 +91809,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_config_value_ar break; } switch (schemeField.id) { - case 1: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // DEFAULT_VALUE + case 1: // PART_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.defaultValue = iprot.readString(); - struct.setDefaultValueIsSet(true); + struct.part_name = iprot.readString(); + struct.setPart_nameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -83183,18 +91826,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_config_value_ar struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_config_value_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_vals_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.name != null) { - oprot.writeFieldBegin(NAME_FIELD_DESC); - oprot.writeString(struct.name); - oprot.writeFieldEnd(); - } - if (struct.defaultValue != null) { - oprot.writeFieldBegin(DEFAULT_VALUE_FIELD_DESC); - oprot.writeString(struct.defaultValue); + if (struct.part_name != null) { + oprot.writeFieldBegin(PART_NAME_FIELD_DESC); + oprot.writeString(struct.part_name); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -83203,64 +91841,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_config_value_a } - private static class get_config_value_argsTupleSchemeFactory implements SchemeFactory { - public get_config_value_argsTupleScheme getScheme() { - return new get_config_value_argsTupleScheme(); + private static class partition_name_to_vals_argsTupleSchemeFactory implements SchemeFactory { + public partition_name_to_vals_argsTupleScheme getScheme() { + return new partition_name_to_vals_argsTupleScheme(); } } - private static class get_config_value_argsTupleScheme extends TupleScheme { + private static class partition_name_to_vals_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_config_value_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_vals_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetName()) { + if (struct.isSetPart_name()) { optionals.set(0); } - if (struct.isSetDefaultValue()) { - optionals.set(1); - } - oprot.writeBitSet(optionals, 2); - if (struct.isSetName()) { - oprot.writeString(struct.name); - } - if (struct.isSetDefaultValue()) { - oprot.writeString(struct.defaultValue); + oprot.writeBitSet(optionals, 1); + if (struct.isSetPart_name()) { + oprot.writeString(struct.part_name); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_config_value_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_vals_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } - if (incoming.get(1)) { - struct.defaultValue = iprot.readString(); - struct.setDefaultValueIsSet(true); + struct.part_name = iprot.readString(); + struct.setPart_nameIsSet(true); } } } } - public static class get_config_value_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_config_value_result"); + public static class partition_name_to_vals_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("partition_name_to_vals_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (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 Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_config_value_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_config_value_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new partition_name_to_vals_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new partition_name_to_vals_resultTupleSchemeFactory()); } - private String success; // required - private ConfigValSecurityException o1; // required + private List success; // required + private MetaException o1; // 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 { @@ -83328,19 +91956,20 @@ 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.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); 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))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_config_value_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(partition_name_to_vals_result.class, metaDataMap); } - public get_config_value_result() { + public partition_name_to_vals_result() { } - public get_config_value_result( - String success, - ConfigValSecurityException o1) + public partition_name_to_vals_result( + List success, + MetaException o1) { this(); this.success = success; @@ -83350,17 +91979,18 @@ public get_config_value_result( /** * Performs a deep copy on other. */ - public get_config_value_result(get_config_value_result other) { + public partition_name_to_vals_result(partition_name_to_vals_result other) { if (other.isSetSuccess()) { - this.success = other.success; + List __this__success = new ArrayList(other.success); + this.success = __this__success; } if (other.isSetO1()) { - this.o1 = new ConfigValSecurityException(other.o1); + this.o1 = new MetaException(other.o1); } } - public get_config_value_result deepCopy() { - return new get_config_value_result(this); + public partition_name_to_vals_result deepCopy() { + return new partition_name_to_vals_result(this); } @Override @@ -83369,11 +91999,26 @@ public void clear() { this.o1 = null; } - public String getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if (this.success == null) { + this.success = new ArrayList(); + } + this.success.add(elem); + } + + public List getSuccess() { return this.success; } - public void setSuccess(String success) { + public void setSuccess(List success) { this.success = success; } @@ -83392,11 +92037,11 @@ public void setSuccessIsSet(boolean value) { } } - public ConfigValSecurityException getO1() { + public MetaException getO1() { return this.o1; } - public void setO1(ConfigValSecurityException o1) { + public void setO1(MetaException o1) { this.o1 = o1; } @@ -83421,7 +92066,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((String)value); + setSuccess((List)value); } break; @@ -83429,7 +92074,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO1(); } else { - setO1((ConfigValSecurityException)value); + setO1((MetaException)value); } break; @@ -83467,12 +92112,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_config_value_result) - return this.equals((get_config_value_result)that); + if (that instanceof partition_name_to_vals_result) + return this.equals((partition_name_to_vals_result)that); return false; } - public boolean equals(get_config_value_result that) { + public boolean equals(partition_name_to_vals_result that) { if (that == null) return false; @@ -83499,45 +92144,45 @@ public boolean equals(get_config_value_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_config_value_result other) { + @Override + public int compareTo(partition_name_to_vals_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_config_value_result typedOther = (get_config_value_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -83559,7 +92204,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_config_value_result("); + StringBuilder sb = new StringBuilder("partition_name_to_vals_result("); boolean first = true; sb.append("success:"); @@ -83602,15 +92247,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_config_value_resultStandardSchemeFactory implements SchemeFactory { - public get_config_value_resultStandardScheme getScheme() { - return new get_config_value_resultStandardScheme(); + private static class partition_name_to_vals_resultStandardSchemeFactory implements SchemeFactory { + public partition_name_to_vals_resultStandardScheme getScheme() { + return new partition_name_to_vals_resultStandardScheme(); } } - private static class get_config_value_resultStandardScheme extends StandardScheme { + private static class partition_name_to_vals_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_config_value_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_vals_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -83621,8 +92266,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_config_value_re } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.success = iprot.readString(); + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.success = new ArrayList(_list864.size); + String _elem865; + for (int _i866 = 0; _i866 < _list864.size; ++_i866) + { + _elem865 = iprot.readString(); + struct.success.add(_elem865); + } + iprot.readListEnd(); + } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -83630,7 +92285,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_config_value_re break; case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new ConfigValSecurityException(); + struct.o1 = new MetaException(); struct.o1.read(iprot); struct.setO1IsSet(true); } else { @@ -83646,13 +92301,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_config_value_re struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_config_value_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_vals_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeString(struct.success); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (String _iter867 : struct.success) + { + oprot.writeString(_iter867); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -83666,16 +92328,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_config_value_r } - private static class get_config_value_resultTupleSchemeFactory implements SchemeFactory { - public get_config_value_resultTupleScheme getScheme() { - return new get_config_value_resultTupleScheme(); + private static class partition_name_to_vals_resultTupleSchemeFactory implements SchemeFactory { + public partition_name_to_vals_resultTupleScheme getScheme() { + return new partition_name_to_vals_resultTupleScheme(); } } - private static class get_config_value_resultTupleScheme extends TupleScheme { + private static class partition_name_to_vals_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_config_value_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_vals_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -83686,7 +92348,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_config_value_re } oprot.writeBitSet(optionals, 2); if (struct.isSetSuccess()) { - oprot.writeString(struct.success); + { + oprot.writeI32(struct.success.size()); + for (String _iter868 : struct.success) + { + oprot.writeString(_iter868); + } + } } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -83694,15 +92362,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_config_value_re } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_config_value_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_vals_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.success = iprot.readString(); + { + 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); + String _elem870; + for (int _i871 = 0; _i871 < _list869.size; ++_i871) + { + _elem870 = iprot.readString(); + struct.success.add(_elem870); + } + } struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o1 = new ConfigValSecurityException(); + struct.o1 = new MetaException(); struct.o1.read(iprot); struct.setO1IsSet(true); } @@ -83711,15 +92388,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_config_value_res } - public static class partition_name_to_vals_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("partition_name_to_vals_args"); + public static class partition_name_to_spec_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("partition_name_to_spec_args"); private static final org.apache.thrift.protocol.TField PART_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("part_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new partition_name_to_vals_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new partition_name_to_vals_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new partition_name_to_spec_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new partition_name_to_spec_argsTupleSchemeFactory()); } private String part_name; // required @@ -83789,13 +92466,13 @@ public String getFieldName() { tmpMap.put(_Fields.PART_NAME, new org.apache.thrift.meta_data.FieldMetaData("part_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(partition_name_to_vals_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(partition_name_to_spec_args.class, metaDataMap); } - public partition_name_to_vals_args() { + public partition_name_to_spec_args() { } - public partition_name_to_vals_args( + public partition_name_to_spec_args( String part_name) { this(); @@ -83805,14 +92482,14 @@ public partition_name_to_vals_args( /** * Performs a deep copy on other. */ - public partition_name_to_vals_args(partition_name_to_vals_args other) { + public partition_name_to_spec_args(partition_name_to_spec_args other) { if (other.isSetPart_name()) { this.part_name = other.part_name; } } - public partition_name_to_vals_args deepCopy() { - return new partition_name_to_vals_args(this); + public partition_name_to_spec_args deepCopy() { + return new partition_name_to_spec_args(this); } @Override @@ -83882,12 +92559,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof partition_name_to_vals_args) - return this.equals((partition_name_to_vals_args)that); + if (that instanceof partition_name_to_spec_args) + return this.equals((partition_name_to_spec_args)that); return false; } - public boolean equals(partition_name_to_vals_args that) { + public boolean equals(partition_name_to_spec_args that) { if (that == null) return false; @@ -83905,30 +92582,30 @@ public boolean equals(partition_name_to_vals_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_part_name = true && (isSetPart_name()); - builder.append(present_part_name); + list.add(present_part_name); if (present_part_name) - builder.append(part_name); + list.add(part_name); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(partition_name_to_vals_args other) { + @Override + public int compareTo(partition_name_to_spec_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - partition_name_to_vals_args typedOther = (partition_name_to_vals_args)other; - lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(typedOther.isSetPart_name()); + lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(other.isSetPart_name()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, typedOther.part_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, other.part_name); if (lastComparison != 0) { return lastComparison; } @@ -83950,7 +92627,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("partition_name_to_vals_args("); + StringBuilder sb = new StringBuilder("partition_name_to_spec_args("); boolean first = true; sb.append("part_name:"); @@ -83985,15 +92662,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class partition_name_to_vals_argsStandardSchemeFactory implements SchemeFactory { - public partition_name_to_vals_argsStandardScheme getScheme() { - return new partition_name_to_vals_argsStandardScheme(); + private static class partition_name_to_spec_argsStandardSchemeFactory implements SchemeFactory { + public partition_name_to_spec_argsStandardScheme getScheme() { + return new partition_name_to_spec_argsStandardScheme(); } } - private static class partition_name_to_vals_argsStandardScheme extends StandardScheme { + private static class partition_name_to_spec_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_vals_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_spec_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -84020,7 +92697,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_vals_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_spec_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -84035,16 +92712,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ } - private static class partition_name_to_vals_argsTupleSchemeFactory implements SchemeFactory { - public partition_name_to_vals_argsTupleScheme getScheme() { - return new partition_name_to_vals_argsTupleScheme(); + private static class partition_name_to_spec_argsTupleSchemeFactory implements SchemeFactory { + public partition_name_to_spec_argsTupleScheme getScheme() { + return new partition_name_to_spec_argsTupleScheme(); } } - private static class partition_name_to_vals_argsTupleScheme extends TupleScheme { + private static class partition_name_to_spec_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_vals_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_spec_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetPart_name()) { @@ -84057,7 +92734,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_vals_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_spec_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { @@ -84069,19 +92746,19 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va } - public static class partition_name_to_vals_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("partition_name_to_vals_result"); + public static class partition_name_to_spec_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("partition_name_to_spec_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (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 Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new partition_name_to_vals_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new partition_name_to_vals_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new partition_name_to_spec_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new partition_name_to_spec_resultTupleSchemeFactory()); } - private List success; // required + private Map success; // required private MetaException o1; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @@ -84150,19 +92827,20 @@ 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.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); 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))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(partition_name_to_vals_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(partition_name_to_spec_result.class, metaDataMap); } - public partition_name_to_vals_result() { + public partition_name_to_spec_result() { } - public partition_name_to_vals_result( - List success, + public partition_name_to_spec_result( + Map success, MetaException o1) { this(); @@ -84173,12 +92851,9 @@ public partition_name_to_vals_result( /** * Performs a deep copy on other. */ - public partition_name_to_vals_result(partition_name_to_vals_result other) { + public partition_name_to_spec_result(partition_name_to_spec_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } + Map __this__success = new HashMap(other.success); this.success = __this__success; } if (other.isSetO1()) { @@ -84186,8 +92861,8 @@ public partition_name_to_vals_result(partition_name_to_vals_result other) { } } - public partition_name_to_vals_result deepCopy() { - return new partition_name_to_vals_result(this); + public partition_name_to_spec_result deepCopy() { + return new partition_name_to_spec_result(this); } @Override @@ -84200,22 +92875,18 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { + public void putToSuccess(String key, String val) { if (this.success == null) { - this.success = new ArrayList(); + this.success = new HashMap(); } - this.success.add(elem); + this.success.put(key, val); } - public List getSuccess() { + public Map getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(Map success) { this.success = success; } @@ -84263,7 +92934,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((Map)value); } break; @@ -84309,12 +92980,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof partition_name_to_vals_result) - return this.equals((partition_name_to_vals_result)that); + if (that instanceof partition_name_to_spec_result) + return this.equals((partition_name_to_spec_result)that); return false; } - public boolean equals(partition_name_to_vals_result that) { + public boolean equals(partition_name_to_spec_result that) { if (that == null) return false; @@ -84341,45 +93012,45 @@ public boolean equals(partition_name_to_vals_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(partition_name_to_vals_result other) { + @Override + public int compareTo(partition_name_to_spec_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - partition_name_to_vals_result typedOther = (partition_name_to_vals_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -84401,7 +93072,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("partition_name_to_vals_result("); + StringBuilder sb = new StringBuilder("partition_name_to_spec_result("); boolean first = true; sb.append("success:"); @@ -84444,15 +93115,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class partition_name_to_vals_resultStandardSchemeFactory implements SchemeFactory { - public partition_name_to_vals_resultStandardScheme getScheme() { - return new partition_name_to_vals_resultStandardScheme(); + private static class partition_name_to_spec_resultStandardSchemeFactory implements SchemeFactory { + public partition_name_to_spec_resultStandardScheme getScheme() { + return new partition_name_to_spec_resultStandardScheme(); } } - private static class partition_name_to_vals_resultStandardScheme extends StandardScheme { + private static class partition_name_to_spec_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_vals_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_spec_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -84463,17 +93134,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - 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.TMap _map872 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map872.size); + String _key873; + String _val874; + for (int _i875 = 0; _i875 < _map872.size; ++_i875) { - String _elem858; // optional - _elem858 = iprot.readString(); - struct.success.add(_elem858); + _key873 = iprot.readString(); + _val874 = iprot.readString(); + struct.success.put(_key873, _val874); } - iprot.readListEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } else { @@ -84498,19 +93171,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_vals_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_spec_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { 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) + 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 _iter876 : struct.success.entrySet()) { - oprot.writeString(_iter859); + oprot.writeString(_iter876.getKey()); + oprot.writeString(_iter876.getValue()); } - oprot.writeListEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -84525,16 +93199,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ } - private static class partition_name_to_vals_resultTupleSchemeFactory implements SchemeFactory { - public partition_name_to_vals_resultTupleScheme getScheme() { - return new partition_name_to_vals_resultTupleScheme(); + private static class partition_name_to_spec_resultTupleSchemeFactory implements SchemeFactory { + public partition_name_to_spec_resultTupleScheme getScheme() { + return new partition_name_to_spec_resultTupleScheme(); } } - private static class partition_name_to_vals_resultTupleScheme extends TupleScheme { + private static class partition_name_to_spec_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_vals_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_spec_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -84547,9 +93221,10 @@ 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 (Map.Entry _iter877 : struct.success.entrySet()) { - oprot.writeString(_iter860); + oprot.writeString(_iter877.getKey()); + oprot.writeString(_iter877.getValue()); } } } @@ -84559,18 +93234,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_vals_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_spec_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; 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.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); + String _key879; + String _val880; + for (int _i881 = 0; _i881 < _map878.size; ++_i881) { - String _elem863; // optional - _elem863 = iprot.readString(); - struct.success.add(_elem863); + _key879 = iprot.readString(); + _val880 = iprot.readString(); + struct.success.put(_key879, _val880); } } struct.setSuccessIsSet(true); @@ -84585,22 +93262,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va } - public static class partition_name_to_spec_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("partition_name_to_spec_args"); + public static class markPartitionForEvent_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markPartitionForEvent_args"); - private static final org.apache.thrift.protocol.TField PART_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("part_name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField PART_VALS_FIELD_DESC = new org.apache.thrift.protocol.TField("part_vals", org.apache.thrift.protocol.TType.MAP, (short)3); + private static final org.apache.thrift.protocol.TField EVENT_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("eventType", org.apache.thrift.protocol.TType.I32, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new partition_name_to_spec_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new partition_name_to_spec_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new markPartitionForEvent_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new markPartitionForEvent_argsTupleSchemeFactory()); } - private String part_name; // required + private String db_name; // required + private String tbl_name; // required + private Map part_vals; // required + private PartitionEventType eventType; // 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 { - PART_NAME((short)1, "part_name"); + DB_NAME((short)1, "db_name"), + TBL_NAME((short)2, "tbl_name"), + PART_VALS((short)3, "part_vals"), + /** + * + * @see PartitionEventType + */ + EVENT_TYPE((short)4, "eventType"); private static final Map byName = new HashMap(); @@ -84615,8 +93305,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // PART_NAME - return PART_NAME; + case 1: // DB_NAME + return DB_NAME; + case 2: // TBL_NAME + return TBL_NAME; + case 3: // PART_VALS + return PART_VALS; + case 4: // EVENT_TYPE + return EVENT_TYPE; default: return null; } @@ -84660,70 +93356,209 @@ public String getFieldName() { 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.PART_NAME, new org.apache.thrift.meta_data.FieldMetaData("part_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PART_VALS, new org.apache.thrift.meta_data.FieldMetaData("part_vals", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EVENT_TYPE, new org.apache.thrift.meta_data.FieldMetaData("eventType", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, PartitionEventType.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(partition_name_to_spec_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markPartitionForEvent_args.class, metaDataMap); } - public partition_name_to_spec_args() { + public markPartitionForEvent_args() { } - public partition_name_to_spec_args( - String part_name) + public markPartitionForEvent_args( + String db_name, + String tbl_name, + Map part_vals, + PartitionEventType eventType) { this(); - this.part_name = part_name; + this.db_name = db_name; + this.tbl_name = tbl_name; + this.part_vals = part_vals; + this.eventType = eventType; } /** * Performs a deep copy on other. */ - public partition_name_to_spec_args(partition_name_to_spec_args other) { - if (other.isSetPart_name()) { - this.part_name = other.part_name; + public markPartitionForEvent_args(markPartitionForEvent_args other) { + if (other.isSetDb_name()) { + this.db_name = other.db_name; + } + if (other.isSetTbl_name()) { + this.tbl_name = other.tbl_name; + } + if (other.isSetPart_vals()) { + Map __this__part_vals = new HashMap(other.part_vals); + this.part_vals = __this__part_vals; + } + if (other.isSetEventType()) { + this.eventType = other.eventType; } } - public partition_name_to_spec_args deepCopy() { - return new partition_name_to_spec_args(this); + public markPartitionForEvent_args deepCopy() { + return new markPartitionForEvent_args(this); } @Override public void clear() { - this.part_name = null; + this.db_name = null; + this.tbl_name = null; + this.part_vals = null; + this.eventType = null; } - public String getPart_name() { - return this.part_name; + public String getDb_name() { + return this.db_name; } - public void setPart_name(String part_name) { - this.part_name = part_name; + public void setDb_name(String db_name) { + this.db_name = db_name; } - public void unsetPart_name() { - this.part_name = null; + public void unsetDb_name() { + this.db_name = null; } - /** Returns true if field part_name is set (has been assigned a value) and false otherwise */ - public boolean isSetPart_name() { - return this.part_name != null; + /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ + public boolean isSetDb_name() { + return this.db_name != null; } - public void setPart_nameIsSet(boolean value) { + public void setDb_nameIsSet(boolean value) { if (!value) { - this.part_name = null; + this.db_name = null; + } + } + + public String getTbl_name() { + return this.tbl_name; + } + + public void setTbl_name(String tbl_name) { + this.tbl_name = tbl_name; + } + + public void unsetTbl_name() { + this.tbl_name = null; + } + + /** Returns true if field tbl_name is set (has been assigned a value) and false otherwise */ + public boolean isSetTbl_name() { + return this.tbl_name != null; + } + + public void setTbl_nameIsSet(boolean value) { + if (!value) { + this.tbl_name = null; + } + } + + public int getPart_valsSize() { + return (this.part_vals == null) ? 0 : this.part_vals.size(); + } + + public void putToPart_vals(String key, String val) { + if (this.part_vals == null) { + this.part_vals = new HashMap(); + } + this.part_vals.put(key, val); + } + + public Map getPart_vals() { + return this.part_vals; + } + + public void setPart_vals(Map part_vals) { + this.part_vals = part_vals; + } + + public void unsetPart_vals() { + this.part_vals = null; + } + + /** Returns true if field part_vals is set (has been assigned a value) and false otherwise */ + public boolean isSetPart_vals() { + return this.part_vals != null; + } + + public void setPart_valsIsSet(boolean value) { + if (!value) { + this.part_vals = null; + } + } + + /** + * + * @see PartitionEventType + */ + public PartitionEventType getEventType() { + return this.eventType; + } + + /** + * + * @see PartitionEventType + */ + public void setEventType(PartitionEventType eventType) { + this.eventType = eventType; + } + + public void unsetEventType() { + this.eventType = null; + } + + /** Returns true if field eventType is set (has been assigned a value) and false otherwise */ + public boolean isSetEventType() { + return this.eventType != null; + } + + public void setEventTypeIsSet(boolean value) { + if (!value) { + this.eventType = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case PART_NAME: + case DB_NAME: if (value == null) { - unsetPart_name(); + unsetDb_name(); } else { - setPart_name((String)value); + setDb_name((String)value); + } + break; + + case TBL_NAME: + if (value == null) { + unsetTbl_name(); + } else { + setTbl_name((String)value); + } + break; + + case PART_VALS: + if (value == null) { + unsetPart_vals(); + } else { + setPart_vals((Map)value); + } + break; + + case EVENT_TYPE: + if (value == null) { + unsetEventType(); + } else { + setEventType((PartitionEventType)value); } break; @@ -84732,8 +93567,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case PART_NAME: - return getPart_name(); + case DB_NAME: + return getDb_name(); + + case TBL_NAME: + return getTbl_name(); + + case PART_VALS: + return getPart_vals(); + + case EVENT_TYPE: + return getEventType(); } throw new IllegalStateException(); @@ -84746,8 +93590,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case PART_NAME: - return isSetPart_name(); + case DB_NAME: + return isSetDb_name(); + case TBL_NAME: + return isSetTbl_name(); + case PART_VALS: + return isSetPart_vals(); + case EVENT_TYPE: + return isSetEventType(); } throw new IllegalStateException(); } @@ -84756,21 +93606,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof partition_name_to_spec_args) - return this.equals((partition_name_to_spec_args)that); + if (that instanceof markPartitionForEvent_args) + return this.equals((markPartitionForEvent_args)that); return false; } - public boolean equals(partition_name_to_spec_args that) { + public boolean equals(markPartitionForEvent_args that) { if (that == null) return false; - boolean this_present_part_name = true && this.isSetPart_name(); - boolean that_present_part_name = true && that.isSetPart_name(); - if (this_present_part_name || that_present_part_name) { - if (!(this_present_part_name && that_present_part_name)) + boolean this_present_db_name = true && this.isSetDb_name(); + boolean that_present_db_name = true && that.isSetDb_name(); + if (this_present_db_name || that_present_db_name) { + if (!(this_present_db_name && that_present_db_name)) return false; - if (!this.part_name.equals(that.part_name)) + if (!this.db_name.equals(that.db_name)) + return false; + } + + boolean this_present_tbl_name = true && this.isSetTbl_name(); + boolean that_present_tbl_name = true && that.isSetTbl_name(); + if (this_present_tbl_name || that_present_tbl_name) { + if (!(this_present_tbl_name && that_present_tbl_name)) + return false; + if (!this.tbl_name.equals(that.tbl_name)) + return false; + } + + boolean this_present_part_vals = true && this.isSetPart_vals(); + boolean that_present_part_vals = true && that.isSetPart_vals(); + if (this_present_part_vals || that_present_part_vals) { + if (!(this_present_part_vals && that_present_part_vals)) + return false; + if (!this.part_vals.equals(that.part_vals)) + return false; + } + + boolean this_present_eventType = true && this.isSetEventType(); + boolean that_present_eventType = true && that.isSetEventType(); + if (this_present_eventType || that_present_eventType) { + if (!(this_present_eventType && that_present_eventType)) + return false; + if (!this.eventType.equals(that.eventType)) return false; } @@ -84779,30 +93656,75 @@ public boolean equals(partition_name_to_spec_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_part_name = true && (isSetPart_name()); - builder.append(present_part_name); - if (present_part_name) - builder.append(part_name); + boolean present_db_name = true && (isSetDb_name()); + list.add(present_db_name); + if (present_db_name) + list.add(db_name); + + boolean present_tbl_name = true && (isSetTbl_name()); + list.add(present_tbl_name); + if (present_tbl_name) + list.add(tbl_name); + + boolean present_part_vals = true && (isSetPart_vals()); + list.add(present_part_vals); + if (present_part_vals) + list.add(part_vals); + + boolean present_eventType = true && (isSetEventType()); + list.add(present_eventType); + if (present_eventType) + list.add(eventType.getValue()); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(partition_name_to_spec_args other) { + @Override + public int compareTo(markPartitionForEvent_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - partition_name_to_spec_args typedOther = (partition_name_to_spec_args)other; - lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(typedOther.isSetPart_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } - if (isSetPart_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, typedOther.part_name); + if (isSetDb_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTbl_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPart_vals()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEventType()).compareTo(other.isSetEventType()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetEventType()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventType, other.eventType); if (lastComparison != 0) { return lastComparison; } @@ -84824,14 +93746,38 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("partition_name_to_spec_args("); + StringBuilder sb = new StringBuilder("markPartitionForEvent_args("); boolean first = true; - sb.append("part_name:"); - if (this.part_name == null) { + sb.append("db_name:"); + if (this.db_name == null) { sb.append("null"); } else { - sb.append(this.part_name); + sb.append(this.db_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("tbl_name:"); + if (this.tbl_name == null) { + sb.append("null"); + } else { + sb.append(this.tbl_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("part_vals:"); + if (this.part_vals == null) { + sb.append("null"); + } else { + sb.append(this.part_vals); + } + first = false; + if (!first) sb.append(", "); + sb.append("eventType:"); + if (this.eventType == null) { + sb.append("null"); + } else { + sb.append(this.eventType); } first = false; sb.append(")"); @@ -84859,15 +93805,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class partition_name_to_spec_argsStandardSchemeFactory implements SchemeFactory { - public partition_name_to_spec_argsStandardScheme getScheme() { - return new partition_name_to_spec_argsStandardScheme(); + private static class markPartitionForEvent_argsStandardSchemeFactory implements SchemeFactory { + public markPartitionForEvent_argsStandardScheme getScheme() { + return new markPartitionForEvent_argsStandardScheme(); } } - private static class partition_name_to_spec_argsStandardScheme extends StandardScheme { + private static class markPartitionForEvent_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_spec_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEvent_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -84877,10 +93823,46 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s break; } switch (schemeField.id) { - case 1: // PART_NAME + case 1: // DB_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.part_name = iprot.readString(); - struct.setPart_nameIsSet(true); + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TBL_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tbl_name = iprot.readString(); + struct.setTbl_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // PART_VALS + if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map882 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map882.size); + String _key883; + String _val884; + for (int _i885 = 0; _i885 < _map882.size; ++_i885) + { + _key883 = iprot.readString(); + _val884 = iprot.readString(); + struct.part_vals.put(_key883, _val884); + } + iprot.readMapEnd(); + } + struct.setPart_valsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // EVENT_TYPE + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.eventType = org.apache.hadoop.hive.metastore.api.PartitionEventType.findByValue(iprot.readI32()); + struct.setEventTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -84894,13 +93876,36 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_spec_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEvent_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.part_name != null) { - oprot.writeFieldBegin(PART_NAME_FIELD_DESC); - oprot.writeString(struct.part_name); + if (struct.db_name != null) { + oprot.writeFieldBegin(DB_NAME_FIELD_DESC); + oprot.writeString(struct.db_name); + oprot.writeFieldEnd(); + } + if (struct.tbl_name != null) { + oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); + oprot.writeString(struct.tbl_name); + oprot.writeFieldEnd(); + } + if (struct.part_vals != null) { + 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 _iter886 : struct.part_vals.entrySet()) + { + oprot.writeString(_iter886.getKey()); + oprot.writeString(_iter886.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.eventType != null) { + oprot.writeFieldBegin(EVENT_TYPE_FIELD_DESC); + oprot.writeI32(struct.eventType.getValue()); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -84909,59 +93914,119 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ } - private static class partition_name_to_spec_argsTupleSchemeFactory implements SchemeFactory { - public partition_name_to_spec_argsTupleScheme getScheme() { - return new partition_name_to_spec_argsTupleScheme(); + private static class markPartitionForEvent_argsTupleSchemeFactory implements SchemeFactory { + public markPartitionForEvent_argsTupleScheme getScheme() { + return new markPartitionForEvent_argsTupleScheme(); } } - private static class partition_name_to_spec_argsTupleScheme extends TupleScheme { + private static class markPartitionForEvent_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_spec_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEvent_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetPart_name()) { + if (struct.isSetDb_name()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); - if (struct.isSetPart_name()) { - oprot.writeString(struct.part_name); + if (struct.isSetTbl_name()) { + optionals.set(1); + } + if (struct.isSetPart_vals()) { + optionals.set(2); + } + if (struct.isSetEventType()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if (struct.isSetDb_name()) { + oprot.writeString(struct.db_name); + } + if (struct.isSetTbl_name()) { + oprot.writeString(struct.tbl_name); + } + if (struct.isSetPart_vals()) { + { + oprot.writeI32(struct.part_vals.size()); + for (Map.Entry _iter887 : struct.part_vals.entrySet()) + { + oprot.writeString(_iter887.getKey()); + oprot.writeString(_iter887.getValue()); + } + } + } + if (struct.isSetEventType()) { + oprot.writeI32(struct.eventType.getValue()); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_spec_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEvent_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { - struct.part_name = iprot.readString(); - struct.setPart_nameIsSet(true); + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); + } + if (incoming.get(1)) { + struct.tbl_name = iprot.readString(); + struct.setTbl_nameIsSet(true); + } + if (incoming.get(2)) { + { + 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); + String _key889; + String _val890; + for (int _i891 = 0; _i891 < _map888.size; ++_i891) + { + _key889 = iprot.readString(); + _val890 = iprot.readString(); + struct.part_vals.put(_key889, _val890); + } + } + struct.setPart_valsIsSet(true); + } + if (incoming.get(3)) { + struct.eventType = org.apache.hadoop.hive.metastore.api.PartitionEventType.findByValue(iprot.readI32()); + struct.setEventTypeIsSet(true); } } } } - public static class partition_name_to_spec_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("partition_name_to_spec_result"); + public static class markPartitionForEvent_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markPartitionForEvent_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); + private static final org.apache.thrift.protocol.TField O4_FIELD_DESC = new org.apache.thrift.protocol.TField("o4", org.apache.thrift.protocol.TType.STRUCT, (short)4); + private static final org.apache.thrift.protocol.TField O5_FIELD_DESC = new org.apache.thrift.protocol.TField("o5", org.apache.thrift.protocol.TType.STRUCT, (short)5); + private static final org.apache.thrift.protocol.TField O6_FIELD_DESC = new org.apache.thrift.protocol.TField("o6", org.apache.thrift.protocol.TType.STRUCT, (short)6); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new partition_name_to_spec_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new partition_name_to_spec_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new markPartitionForEvent_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new markPartitionForEvent_resultTupleSchemeFactory()); } - private Map success; // required private MetaException o1; // required + private NoSuchObjectException o2; // required + private UnknownDBException o3; // required + private UnknownTableException o4; // required + private UnknownPartitionException o5; // required + private InvalidPartitionException o6; // 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"); + O1((short)1, "o1"), + O2((short)2, "o2"), + O3((short)3, "o3"), + O4((short)4, "o4"), + O5((short)5, "o5"), + O6((short)6, "o6"); private static final Map byName = new HashMap(); @@ -84976,10 +94041,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 0: // SUCCESS - return SUCCESS; case 1: // O1 return O1; + case 2: // O2 + return O2; + case 3: // O3 + return O3; + case 4: // O4 + return O4; + case 5: // O5 + return O5; + case 6: // O6 + return O6; default: return null; } @@ -85023,134 +94096,265 @@ public String getFieldName() { 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.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); 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))); + tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.O5, new org.apache.thrift.meta_data.FieldMetaData("o5", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.O6, new org.apache.thrift.meta_data.FieldMetaData("o6", 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(partition_name_to_spec_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markPartitionForEvent_result.class, metaDataMap); } - public partition_name_to_spec_result() { + public markPartitionForEvent_result() { } - public partition_name_to_spec_result( - Map success, - MetaException o1) + public markPartitionForEvent_result( + MetaException o1, + NoSuchObjectException o2, + UnknownDBException o3, + UnknownTableException o4, + UnknownPartitionException o5, + InvalidPartitionException o6) { this(); - this.success = success; this.o1 = o1; + this.o2 = o2; + this.o3 = o3; + this.o4 = o4; + this.o5 = o5; + this.o6 = o6; } /** * Performs a deep copy on other. */ - public partition_name_to_spec_result(partition_name_to_spec_result other) { - if (other.isSetSuccess()) { - Map __this__success = new HashMap(); - for (Map.Entry other_element : other.success.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__success_copy_key = other_element_key; - - String __this__success_copy_value = other_element_value; - - __this__success.put(__this__success_copy_key, __this__success_copy_value); - } - this.success = __this__success; - } + public markPartitionForEvent_result(markPartitionForEvent_result other) { if (other.isSetO1()) { this.o1 = new MetaException(other.o1); } + if (other.isSetO2()) { + this.o2 = new NoSuchObjectException(other.o2); + } + if (other.isSetO3()) { + this.o3 = new UnknownDBException(other.o3); + } + if (other.isSetO4()) { + this.o4 = new UnknownTableException(other.o4); + } + if (other.isSetO5()) { + this.o5 = new UnknownPartitionException(other.o5); + } + if (other.isSetO6()) { + this.o6 = new InvalidPartitionException(other.o6); + } } - public partition_name_to_spec_result deepCopy() { - return new partition_name_to_spec_result(this); + public markPartitionForEvent_result deepCopy() { + return new markPartitionForEvent_result(this); } @Override public void clear() { - this.success = null; this.o1 = null; + this.o2 = null; + this.o3 = null; + this.o4 = null; + this.o5 = null; + this.o6 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); + public MetaException getO1() { + return this.o1; } - public void putToSuccess(String key, String val) { - if (this.success == null) { - this.success = new HashMap(); + 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; } - this.success.put(key, val); } - public Map getSuccess() { - return this.success; + public NoSuchObjectException getO2() { + return this.o2; } - public void setSuccess(Map success) { - this.success = success; + public void setO2(NoSuchObjectException o2) { + this.o2 = o2; } - public void unsetSuccess() { - this.success = null; + public void unsetO2() { + this.o2 = null; } - /** Returns true if field success is set (has been assigned a value) and false otherwise */ - public boolean isSetSuccess() { - return this.success != 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 setSuccessIsSet(boolean value) { + public void setO2IsSet(boolean value) { if (!value) { - this.success = null; + this.o2 = null; } } - public MetaException getO1() { - return this.o1; + public UnknownDBException getO3() { + return this.o3; } - public void setO1(MetaException o1) { - this.o1 = o1; + public void setO3(UnknownDBException o3) { + this.o3 = o3; } - public void unsetO1() { - this.o1 = null; + public void unsetO3() { + this.o3 = null; } - /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ - public boolean isSetO1() { - return this.o1 != null; + /** Returns true if field o3 is set (has been assigned a value) and false otherwise */ + public boolean isSetO3() { + return this.o3 != null; } - public void setO1IsSet(boolean value) { + public void setO3IsSet(boolean value) { if (!value) { - this.o1 = null; + this.o3 = null; + } + } + + public UnknownTableException getO4() { + return this.o4; + } + + public void setO4(UnknownTableException o4) { + this.o4 = o4; + } + + public void unsetO4() { + this.o4 = null; + } + + /** Returns true if field o4 is set (has been assigned a value) and false otherwise */ + public boolean isSetO4() { + return this.o4 != null; + } + + public void setO4IsSet(boolean value) { + if (!value) { + this.o4 = null; + } + } + + public UnknownPartitionException getO5() { + return this.o5; + } + + public void setO5(UnknownPartitionException o5) { + this.o5 = o5; + } + + public void unsetO5() { + this.o5 = null; + } + + /** Returns true if field o5 is set (has been assigned a value) and false otherwise */ + public boolean isSetO5() { + return this.o5 != null; + } + + public void setO5IsSet(boolean value) { + if (!value) { + this.o5 = null; + } + } + + public InvalidPartitionException getO6() { + return this.o6; + } + + public void setO6(InvalidPartitionException o6) { + this.o6 = o6; + } + + public void unsetO6() { + this.o6 = null; + } + + /** Returns true if field o6 is set (has been assigned a value) and false otherwise */ + public boolean isSetO6() { + return this.o6 != null; + } + + public void setO6IsSet(boolean value) { + if (!value) { + this.o6 = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case SUCCESS: + case O1: if (value == null) { - unsetSuccess(); + unsetO1(); } else { - setSuccess((Map)value); + setO1((MetaException)value); } break; - case O1: + case O2: if (value == null) { - unsetO1(); + unsetO2(); } else { - setO1((MetaException)value); + setO2((NoSuchObjectException)value); + } + break; + + case O3: + if (value == null) { + unsetO3(); + } else { + setO3((UnknownDBException)value); + } + break; + + case O4: + if (value == null) { + unsetO4(); + } else { + setO4((UnknownTableException)value); + } + break; + + case O5: + if (value == null) { + unsetO5(); + } else { + setO5((UnknownPartitionException)value); + } + break; + + case O6: + if (value == null) { + unsetO6(); + } else { + setO6((InvalidPartitionException)value); } break; @@ -85159,12 +94363,24 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case SUCCESS: - return getSuccess(); - case O1: return getO1(); + case O2: + return getO2(); + + case O3: + return getO3(); + + case O4: + return getO4(); + + case O5: + return getO5(); + + case O6: + return getO6(); + } throw new IllegalStateException(); } @@ -85176,10 +94392,18 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); case O1: return isSetO1(); + case O2: + return isSetO2(); + case O3: + return isSetO3(); + case O4: + return isSetO4(); + case O5: + return isSetO5(); + case O6: + return isSetO6(); } throw new IllegalStateException(); } @@ -85188,24 +94412,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof partition_name_to_spec_result) - return this.equals((partition_name_to_spec_result)that); + if (that instanceof markPartitionForEvent_result) + return this.equals((markPartitionForEvent_result)that); return false; } - public boolean equals(partition_name_to_spec_result that) { + public boolean equals(markPartitionForEvent_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) { @@ -85215,50 +94430,155 @@ public boolean equals(partition_name_to_spec_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; + } + + boolean this_present_o3 = true && this.isSetO3(); + boolean that_present_o3 = true && that.isSetO3(); + if (this_present_o3 || that_present_o3) { + if (!(this_present_o3 && that_present_o3)) + return false; + if (!this.o3.equals(that.o3)) + return false; + } + + boolean this_present_o4 = true && this.isSetO4(); + boolean that_present_o4 = true && that.isSetO4(); + if (this_present_o4 || that_present_o4) { + if (!(this_present_o4 && that_present_o4)) + return false; + if (!this.o4.equals(that.o4)) + return false; + } + + boolean this_present_o5 = true && this.isSetO5(); + boolean that_present_o5 = true && that.isSetO5(); + if (this_present_o5 || that_present_o5) { + if (!(this_present_o5 && that_present_o5)) + return false; + if (!this.o5.equals(that.o5)) + return false; + } + + boolean this_present_o6 = true && this.isSetO6(); + boolean that_present_o6 = true && that.isSetO6(); + if (this_present_o6 || that_present_o6) { + if (!(this_present_o6 && that_present_o6)) + return false; + if (!this.o6.equals(that.o6)) + 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); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); + + boolean present_o2 = true && (isSetO2()); + list.add(present_o2); + if (present_o2) + list.add(o2); + + boolean present_o3 = true && (isSetO3()); + list.add(present_o3); + if (present_o3) + list.add(o3); + + boolean present_o4 = true && (isSetO4()); + list.add(present_o4); + if (present_o4) + list.add(o4); + + boolean present_o5 = true && (isSetO5()); + list.add(present_o5); + if (present_o5) + list.add(o5); - return builder.toHashCode(); + boolean present_o6 = true && (isSetO6()); + list.add(present_o6); + if (present_o6) + list.add(o6); + + return list.hashCode(); } - public int compareTo(partition_name_to_spec_result other) { + @Override + public int compareTo(markPartitionForEvent_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - partition_name_to_spec_result typedOther = (partition_name_to_spec_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } - if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } - if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + if (isSetO2()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO3()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO4()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO5()).compareTo(other.isSetO5()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO5()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o5, other.o5); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO6()).compareTo(other.isSetO6()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO6()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o6, other.o6); if (lastComparison != 0) { return lastComparison; } @@ -85280,22 +94600,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("partition_name_to_spec_result("); + StringBuilder sb = new StringBuilder("markPartitionForEvent_result("); boolean first = true; - sb.append("success:"); - if (this.success == null) { + sb.append("o1:"); + if (this.o1 == null) { sb.append("null"); } else { - sb.append(this.success); + sb.append(this.o1); } first = false; if (!first) sb.append(", "); - sb.append("o1:"); - if (this.o1 == null) { + sb.append("o2:"); + if (this.o2 == null) { sb.append("null"); } else { - sb.append(this.o1); + sb.append(this.o2); + } + first = false; + if (!first) sb.append(", "); + sb.append("o3:"); + if (this.o3 == null) { + sb.append("null"); + } else { + sb.append(this.o3); + } + first = false; + if (!first) sb.append(", "); + sb.append("o4:"); + if (this.o4 == null) { + sb.append("null"); + } else { + sb.append(this.o4); + } + first = false; + if (!first) sb.append(", "); + sb.append("o5:"); + if (this.o5 == null) { + sb.append("null"); + } else { + sb.append(this.o5); + } + first = false; + if (!first) sb.append(", "); + sb.append("o6:"); + if (this.o6 == null) { + sb.append("null"); + } else { + sb.append(this.o6); } first = false; sb.append(")"); @@ -85323,15 +94675,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class partition_name_to_spec_resultStandardSchemeFactory implements SchemeFactory { - public partition_name_to_spec_resultStandardScheme getScheme() { - return new partition_name_to_spec_resultStandardScheme(); + private static class markPartitionForEvent_resultStandardSchemeFactory implements SchemeFactory { + public markPartitionForEvent_resultStandardScheme getScheme() { + return new markPartitionForEvent_resultStandardScheme(); } } - private static class partition_name_to_spec_resultStandardScheme extends StandardScheme { + private static class markPartitionForEvent_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_spec_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEvent_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -85341,26 +94693,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s break; } switch (schemeField.id) { - 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) - { - String _key866; // required - String _val867; // required - _key866 = iprot.readString(); - _val867 = iprot.readString(); - struct.success.put(_key866, _val867); - } - iprot.readMapEnd(); - } - 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(); @@ -85370,6 +94702,51 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s 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; + case 3: // O3 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o3 = new UnknownDBException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // O4 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o4 = new UnknownTableException(); + struct.o4.read(iprot); + struct.setO4IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // O5 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o5 = new UnknownPartitionException(); + struct.o5.read(iprot); + struct.setO5IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // O6 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o6 = new InvalidPartitionException(); + struct.o6.read(iprot); + struct.setO6IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -85379,99 +94756,138 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_spec_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEvent_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.success != null) { - 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()) - { - oprot.writeString(_iter868.getKey()); - oprot.writeString(_iter868.getValue()); - } - oprot.writeMapEnd(); - } - 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(); + } + if (struct.o3 != null) { + oprot.writeFieldBegin(O3_FIELD_DESC); + struct.o3.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o4 != null) { + oprot.writeFieldBegin(O4_FIELD_DESC); + struct.o4.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o5 != null) { + oprot.writeFieldBegin(O5_FIELD_DESC); + struct.o5.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o6 != null) { + oprot.writeFieldBegin(O6_FIELD_DESC); + struct.o6.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class partition_name_to_spec_resultTupleSchemeFactory implements SchemeFactory { - public partition_name_to_spec_resultTupleScheme getScheme() { - return new partition_name_to_spec_resultTupleScheme(); + private static class markPartitionForEvent_resultTupleSchemeFactory implements SchemeFactory { + public markPartitionForEvent_resultTupleScheme getScheme() { + return new markPartitionForEvent_resultTupleScheme(); } } - private static class partition_name_to_spec_resultTupleScheme extends TupleScheme { + private static class markPartitionForEvent_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_spec_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEvent_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetSuccess()) { + if (struct.isSetO1()) { optionals.set(0); } - if (struct.isSetO1()) { + if (struct.isSetO2()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); - if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry _iter869 : struct.success.entrySet()) - { - oprot.writeString(_iter869.getKey()); - oprot.writeString(_iter869.getValue()); - } - } + if (struct.isSetO3()) { + optionals.set(2); + } + if (struct.isSetO4()) { + optionals.set(3); + } + if (struct.isSetO5()) { + optionals.set(4); } + if (struct.isSetO6()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); if (struct.isSetO1()) { struct.o1.write(oprot); } + if (struct.isSetO2()) { + struct.o2.write(oprot); + } + if (struct.isSetO3()) { + struct.o3.write(oprot); + } + if (struct.isSetO4()) { + struct.o4.write(oprot); + } + if (struct.isSetO5()) { + struct.o5.write(oprot); + } + if (struct.isSetO6()) { + struct.o6.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_spec_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEvent_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(6); 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) - { - String _key872; // required - String _val873; // required - _key872 = iprot.readString(); - _val873 = iprot.readString(); - struct.success.put(_key872, _val873); - } - } - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { struct.o1 = new MetaException(); struct.o1.read(iprot); struct.setO1IsSet(true); } + if (incoming.get(1)) { + struct.o2 = new NoSuchObjectException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } + if (incoming.get(2)) { + struct.o3 = new UnknownDBException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } + if (incoming.get(3)) { + struct.o4 = new UnknownTableException(); + struct.o4.read(iprot); + struct.setO4IsSet(true); + } + if (incoming.get(4)) { + struct.o5 = new UnknownPartitionException(); + struct.o5.read(iprot); + struct.setO5IsSet(true); + } + if (incoming.get(5)) { + struct.o6 = new InvalidPartitionException(); + struct.o6.read(iprot); + struct.setO6IsSet(true); + } } } } - public static class markPartitionForEvent_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("markPartitionForEvent_args"); + public static class isPartitionMarkedForEvent_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isPartitionMarkedForEvent_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); @@ -85480,8 +94896,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new markPartitionForEvent_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new markPartitionForEvent_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new isPartitionMarkedForEvent_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new isPartitionMarkedForEvent_argsTupleSchemeFactory()); } private String db_name; // required @@ -85575,13 +94991,13 @@ public String getFieldName() { tmpMap.put(_Fields.EVENT_TYPE, new org.apache.thrift.meta_data.FieldMetaData("eventType", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, PartitionEventType.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markPartitionForEvent_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isPartitionMarkedForEvent_args.class, metaDataMap); } - public markPartitionForEvent_args() { + public isPartitionMarkedForEvent_args() { } - public markPartitionForEvent_args( + public isPartitionMarkedForEvent_args( String db_name, String tbl_name, Map part_vals, @@ -85597,7 +95013,7 @@ public markPartitionForEvent_args( /** * Performs a deep copy on other. */ - public markPartitionForEvent_args(markPartitionForEvent_args other) { + public isPartitionMarkedForEvent_args(isPartitionMarkedForEvent_args other) { if (other.isSetDb_name()) { this.db_name = other.db_name; } @@ -85605,18 +95021,7 @@ public markPartitionForEvent_args(markPartitionForEvent_args other) { this.tbl_name = other.tbl_name; } if (other.isSetPart_vals()) { - Map __this__part_vals = new HashMap(); - for (Map.Entry other_element : other.part_vals.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__part_vals_copy_key = other_element_key; - - String __this__part_vals_copy_value = other_element_value; - - __this__part_vals.put(__this__part_vals_copy_key, __this__part_vals_copy_value); - } + Map __this__part_vals = new HashMap(other.part_vals); this.part_vals = __this__part_vals; } if (other.isSetEventType()) { @@ -85624,8 +95029,8 @@ public markPartitionForEvent_args(markPartitionForEvent_args other) { } } - public markPartitionForEvent_args deepCopy() { - return new markPartitionForEvent_args(this); + public isPartitionMarkedForEvent_args deepCopy() { + return new isPartitionMarkedForEvent_args(this); } @Override @@ -85825,12 +95230,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof markPartitionForEvent_args) - return this.equals((markPartitionForEvent_args)that); + if (that instanceof isPartitionMarkedForEvent_args) + return this.equals((isPartitionMarkedForEvent_args)that); return false; } - public boolean equals(markPartitionForEvent_args that) { + public boolean equals(isPartitionMarkedForEvent_args that) { if (that == null) return false; @@ -85875,75 +95280,75 @@ public boolean equals(markPartitionForEvent_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); + list.add(present_part_vals); if (present_part_vals) - builder.append(part_vals); + list.add(part_vals); boolean present_eventType = true && (isSetEventType()); - builder.append(present_eventType); + list.add(present_eventType); if (present_eventType) - builder.append(eventType.getValue()); + list.add(eventType.getValue()); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(markPartitionForEvent_args other) { + @Override + public int compareTo(isPartitionMarkedForEvent_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - markPartitionForEvent_args typedOther = (markPartitionForEvent_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(other.isSetPart_vals()); if (lastComparison != 0) { return lastComparison; } if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, other.part_vals); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEventType()).compareTo(typedOther.isSetEventType()); + lastComparison = Boolean.valueOf(isSetEventType()).compareTo(other.isSetEventType()); if (lastComparison != 0) { return lastComparison; } if (isSetEventType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventType, typedOther.eventType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventType, other.eventType); if (lastComparison != 0) { return lastComparison; } @@ -85965,7 +95370,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("markPartitionForEvent_args("); + StringBuilder sb = new StringBuilder("isPartitionMarkedForEvent_args("); boolean first = true; sb.append("db_name:"); @@ -86024,15 +95429,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class markPartitionForEvent_argsStandardSchemeFactory implements SchemeFactory { - public markPartitionForEvent_argsStandardScheme getScheme() { - return new markPartitionForEvent_argsStandardScheme(); + private static class isPartitionMarkedForEvent_argsStandardSchemeFactory implements SchemeFactory { + public isPartitionMarkedForEvent_argsStandardScheme getScheme() { + return new isPartitionMarkedForEvent_argsStandardScheme(); } } - private static class markPartitionForEvent_argsStandardScheme extends StandardScheme { + private static class isPartitionMarkedForEvent_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEvent_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedForEvent_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -86061,15 +95466,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 _map892 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map892.size); + String _key893; + String _val894; + for (int _i895 = 0; _i895 < _map892.size; ++_i895) { - String _key876; // required - String _val877; // required - _key876 = iprot.readString(); - _val877 = iprot.readString(); - struct.part_vals.put(_key876, _val877); + _key893 = iprot.readString(); + _val894 = iprot.readString(); + struct.part_vals.put(_key893, _val894); } iprot.readMapEnd(); } @@ -86080,7 +95485,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve break; case 4: // EVENT_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.eventType = PartitionEventType.findByValue(iprot.readI32()); + struct.eventType = org.apache.hadoop.hive.metastore.api.PartitionEventType.findByValue(iprot.readI32()); struct.setEventTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -86095,7 +95500,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEvent_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedForEvent_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -86113,10 +95518,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 _iter896 : struct.part_vals.entrySet()) { - oprot.writeString(_iter878.getKey()); - oprot.writeString(_iter878.getValue()); + oprot.writeString(_iter896.getKey()); + oprot.writeString(_iter896.getValue()); } oprot.writeMapEnd(); } @@ -86133,16 +95538,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv } - private static class markPartitionForEvent_argsTupleSchemeFactory implements SchemeFactory { - public markPartitionForEvent_argsTupleScheme getScheme() { - return new markPartitionForEvent_argsTupleScheme(); + private static class isPartitionMarkedForEvent_argsTupleSchemeFactory implements SchemeFactory { + public isPartitionMarkedForEvent_argsTupleScheme getScheme() { + return new isPartitionMarkedForEvent_argsTupleScheme(); } } - private static class markPartitionForEvent_argsTupleScheme extends TupleScheme { + private static class isPartitionMarkedForEvent_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEvent_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedForEvent_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -86167,10 +95572,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 _iter897 : struct.part_vals.entrySet()) { - oprot.writeString(_iter879.getKey()); - oprot.writeString(_iter879.getValue()); + oprot.writeString(_iter897.getKey()); + oprot.writeString(_iter897.getValue()); } } } @@ -86180,7 +95585,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEvent_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedForEvent_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { @@ -86193,21 +95598,21 @@ 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 _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); + String _key899; + String _val900; + for (int _i901 = 0; _i901 < _map898.size; ++_i901) { - String _key882; // required - String _val883; // required - _key882 = iprot.readString(); - _val883 = iprot.readString(); - struct.part_vals.put(_key882, _val883); + _key899 = iprot.readString(); + _val900 = iprot.readString(); + struct.part_vals.put(_key899, _val900); } } struct.setPart_valsIsSet(true); } if (incoming.get(3)) { - struct.eventType = PartitionEventType.findByValue(iprot.readI32()); + struct.eventType = org.apache.hadoop.hive.metastore.api.PartitionEventType.findByValue(iprot.readI32()); struct.setEventTypeIsSet(true); } } @@ -86215,9 +95620,10 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } - public static class markPartitionForEvent_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("markPartitionForEvent_result"); + public static class isPartitionMarkedForEvent_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isPartitionMarkedForEvent_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); @@ -86227,10 +95633,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new markPartitionForEvent_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new markPartitionForEvent_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new isPartitionMarkedForEvent_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new isPartitionMarkedForEvent_resultTupleSchemeFactory()); } + private boolean success; // required private MetaException o1; // required private NoSuchObjectException o2; // required private UnknownDBException o3; // required @@ -86240,6 +95647,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven /** 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"), O3((short)3, "o3"), @@ -86260,6 +95668,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // O1 return O1; case 2: // O2 @@ -86312,9 +95722,13 @@ public String getFieldName() { } // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); 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, @@ -86328,13 +95742,14 @@ public String getFieldName() { tmpMap.put(_Fields.O6, new org.apache.thrift.meta_data.FieldMetaData("o6", 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(markPartitionForEvent_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isPartitionMarkedForEvent_result.class, metaDataMap); } - public markPartitionForEvent_result() { + public isPartitionMarkedForEvent_result() { } - public markPartitionForEvent_result( + public isPartitionMarkedForEvent_result( + boolean success, MetaException o1, NoSuchObjectException o2, UnknownDBException o3, @@ -86343,6 +95758,8 @@ public markPartitionForEvent_result( InvalidPartitionException o6) { this(); + this.success = success; + setSuccessIsSet(true); this.o1 = o1; this.o2 = o2; this.o3 = o3; @@ -86354,7 +95771,9 @@ public markPartitionForEvent_result( /** * Performs a deep copy on other. */ - public markPartitionForEvent_result(markPartitionForEvent_result other) { + public isPartitionMarkedForEvent_result(isPartitionMarkedForEvent_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; if (other.isSetO1()) { this.o1 = new MetaException(other.o1); } @@ -86375,12 +95794,14 @@ public markPartitionForEvent_result(markPartitionForEvent_result other) { } } - public markPartitionForEvent_result deepCopy() { - return new markPartitionForEvent_result(this); + public isPartitionMarkedForEvent_result deepCopy() { + return new isPartitionMarkedForEvent_result(this); } @Override public void clear() { + setSuccessIsSet(false); + this.success = false; this.o1 = null; this.o2 = null; this.o3 = null; @@ -86389,6 +95810,28 @@ public void clear() { this.o6 = null; } + public boolean isSuccess() { + return this.success; + } + + public void setSuccess(boolean success) { + this.success = success; + setSuccessIsSet(true); + } + + public void unsetSuccess() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + } + public MetaException getO1() { return this.o1; } @@ -86529,6 +95972,14 @@ public void setO6IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((Boolean)value); + } + break; + case O1: if (value == null) { unsetO1(); @@ -86582,6 +96033,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return Boolean.valueOf(isSuccess()); + case O1: return getO1(); @@ -86611,6 +96065,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case O1: return isSetO1(); case O2: @@ -86631,15 +96087,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof markPartitionForEvent_result) - return this.equals((markPartitionForEvent_result)that); + if (that instanceof isPartitionMarkedForEvent_result) + return this.equals((isPartitionMarkedForEvent_result)that); return false; } - public boolean equals(markPartitionForEvent_result that) { + public boolean equals(isPartitionMarkedForEvent_result that) { if (that == null) return false; + boolean this_present_success = true; + boolean that_present_success = true; + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (this.success != 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) { @@ -86699,105 +96164,120 @@ public boolean equals(markPartitionForEvent_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); + + boolean present_success = true; + list.add(present_success); + if (present_success) + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); + list.add(present_o4); if (present_o4) - builder.append(o4); + list.add(o4); boolean present_o5 = true && (isSetO5()); - builder.append(present_o5); + list.add(present_o5); if (present_o5) - builder.append(o5); + list.add(o5); boolean present_o6 = true && (isSetO6()); - builder.append(present_o6); + list.add(present_o6); if (present_o6) - builder.append(o6); + list.add(o6); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(markPartitionForEvent_result other) { + @Override + public int compareTo(isPartitionMarkedForEvent_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - markPartitionForEvent_result typedOther = (markPartitionForEvent_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); if (lastComparison != 0) { return lastComparison; } if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO5()).compareTo(typedOther.isSetO5()); + lastComparison = Boolean.valueOf(isSetO5()).compareTo(other.isSetO5()); if (lastComparison != 0) { return lastComparison; } if (isSetO5()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o5, typedOther.o5); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o5, other.o5); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO6()).compareTo(typedOther.isSetO6()); + lastComparison = Boolean.valueOf(isSetO6()).compareTo(other.isSetO6()); if (lastComparison != 0) { return lastComparison; } if (isSetO6()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o6, typedOther.o6); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o6, other.o6); if (lastComparison != 0) { return lastComparison; } @@ -86819,9 +96299,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("markPartitionForEvent_result("); + StringBuilder sb = new StringBuilder("isPartitionMarkedForEvent_result("); boolean first = true; + sb.append("success:"); + sb.append(this.success); + first = false; + if (!first) sb.append(", "); sb.append("o1:"); if (this.o1 == null) { sb.append("null"); @@ -86888,21 +96372,23 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class markPartitionForEvent_resultStandardSchemeFactory implements SchemeFactory { - public markPartitionForEvent_resultStandardScheme getScheme() { - return new markPartitionForEvent_resultStandardScheme(); + private static class isPartitionMarkedForEvent_resultStandardSchemeFactory implements SchemeFactory { + public isPartitionMarkedForEvent_resultStandardScheme getScheme() { + return new isPartitionMarkedForEvent_resultStandardScheme(); } } - private static class markPartitionForEvent_resultStandardScheme extends StandardScheme { + private static class isPartitionMarkedForEvent_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEvent_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedForEvent_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -86912,6 +96398,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve break; } switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + 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(); @@ -86975,10 +96469,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEvent_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedForEvent_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if (struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } if (struct.o1 != null) { oprot.writeFieldBegin(O1_FIELD_DESC); struct.o1.write(oprot); @@ -87015,37 +96514,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv } - private static class markPartitionForEvent_resultTupleSchemeFactory implements SchemeFactory { - public markPartitionForEvent_resultTupleScheme getScheme() { - return new markPartitionForEvent_resultTupleScheme(); + private static class isPartitionMarkedForEvent_resultTupleSchemeFactory implements SchemeFactory { + public isPartitionMarkedForEvent_resultTupleScheme getScheme() { + return new isPartitionMarkedForEvent_resultTupleScheme(); } } - private static class markPartitionForEvent_resultTupleScheme extends TupleScheme { + private static class isPartitionMarkedForEvent_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEvent_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedForEvent_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetO1()) { + if (struct.isSetSuccess()) { optionals.set(0); } - if (struct.isSetO2()) { + if (struct.isSetO1()) { optionals.set(1); } - if (struct.isSetO3()) { + if (struct.isSetO2()) { optionals.set(2); } - if (struct.isSetO4()) { + if (struct.isSetO3()) { optionals.set(3); } - if (struct.isSetO5()) { + if (struct.isSetO4()) { optionals.set(4); } - if (struct.isSetO6()) { + if (struct.isSetO5()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); + if (struct.isSetO6()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if (struct.isSetSuccess()) { + oprot.writeBool(struct.success); + } if (struct.isSetO1()) { struct.o1.write(oprot); } @@ -87067,35 +96572,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEvent_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedForEvent_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(7); if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { struct.o1 = new MetaException(); struct.o1.read(iprot); struct.setO1IsSet(true); } - if (incoming.get(1)) { + if (incoming.get(2)) { struct.o2 = new NoSuchObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } - if (incoming.get(2)) { + if (incoming.get(3)) { struct.o3 = new UnknownDBException(); struct.o3.read(iprot); struct.setO3IsSet(true); } - if (incoming.get(3)) { + if (incoming.get(4)) { struct.o4 = new UnknownTableException(); struct.o4.read(iprot); struct.setO4IsSet(true); } - if (incoming.get(4)) { + if (incoming.get(5)) { struct.o5 = new UnknownPartitionException(); struct.o5.read(iprot); struct.setO5IsSet(true); } - if (incoming.get(5)) { + if (incoming.get(6)) { struct.o6 = new InvalidPartitionException(); struct.o6.read(iprot); struct.setO6IsSet(true); @@ -87105,35 +96614,25 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } - public static class isPartitionMarkedForEvent_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("isPartitionMarkedForEvent_args"); + public static class add_index_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_index_args"); - private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField PART_VALS_FIELD_DESC = new org.apache.thrift.protocol.TField("part_vals", org.apache.thrift.protocol.TType.MAP, (short)3); - private static final org.apache.thrift.protocol.TField EVENT_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("eventType", org.apache.thrift.protocol.TType.I32, (short)4); + private static final org.apache.thrift.protocol.TField NEW_INDEX_FIELD_DESC = new org.apache.thrift.protocol.TField("new_index", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField INDEX_TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("index_table", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new isPartitionMarkedForEvent_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new isPartitionMarkedForEvent_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new add_index_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new add_index_argsTupleSchemeFactory()); } - private String db_name; // required - private String tbl_name; // required - private Map part_vals; // required - private PartitionEventType eventType; // required + private Index new_index; // required + private Table index_table; // 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 { - DB_NAME((short)1, "db_name"), - TBL_NAME((short)2, "tbl_name"), - PART_VALS((short)3, "part_vals"), - /** - * - * @see PartitionEventType - */ - EVENT_TYPE((short)4, "eventType"); + NEW_INDEX((short)1, "new_index"), + INDEX_TABLE((short)2, "index_table"); private static final Map byName = new HashMap(); @@ -87148,14 +96647,10 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DB_NAME - return DB_NAME; - case 2: // TBL_NAME - return TBL_NAME; - case 3: // PART_VALS - return PART_VALS; - case 4: // EVENT_TYPE - return EVENT_TYPE; + case 1: // NEW_INDEX + return NEW_INDEX; + case 2: // INDEX_TABLE + return INDEX_TABLE; default: return null; } @@ -87199,220 +96694,109 @@ public String getFieldName() { 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.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.PART_VALS, new org.apache.thrift.meta_data.FieldMetaData("part_vals", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.EVENT_TYPE, new org.apache.thrift.meta_data.FieldMetaData("eventType", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, PartitionEventType.class))); + tmpMap.put(_Fields.NEW_INDEX, new org.apache.thrift.meta_data.FieldMetaData("new_index", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Index.class))); + tmpMap.put(_Fields.INDEX_TABLE, new org.apache.thrift.meta_data.FieldMetaData("index_table", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Table.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isPartitionMarkedForEvent_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(add_index_args.class, metaDataMap); } - public isPartitionMarkedForEvent_args() { + public add_index_args() { } - public isPartitionMarkedForEvent_args( - String db_name, - String tbl_name, - Map part_vals, - PartitionEventType eventType) + public add_index_args( + Index new_index, + Table index_table) { this(); - this.db_name = db_name; - this.tbl_name = tbl_name; - this.part_vals = part_vals; - this.eventType = eventType; + this.new_index = new_index; + this.index_table = index_table; } /** * Performs a deep copy on other. */ - public isPartitionMarkedForEvent_args(isPartitionMarkedForEvent_args other) { - if (other.isSetDb_name()) { - this.db_name = other.db_name; - } - if (other.isSetTbl_name()) { - this.tbl_name = other.tbl_name; - } - if (other.isSetPart_vals()) { - Map __this__part_vals = new HashMap(); - for (Map.Entry other_element : other.part_vals.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__part_vals_copy_key = other_element_key; - - String __this__part_vals_copy_value = other_element_value; - - __this__part_vals.put(__this__part_vals_copy_key, __this__part_vals_copy_value); - } - this.part_vals = __this__part_vals; + public add_index_args(add_index_args other) { + if (other.isSetNew_index()) { + this.new_index = new Index(other.new_index); } - if (other.isSetEventType()) { - this.eventType = other.eventType; + if (other.isSetIndex_table()) { + this.index_table = new Table(other.index_table); } } - public isPartitionMarkedForEvent_args deepCopy() { - return new isPartitionMarkedForEvent_args(this); + public add_index_args deepCopy() { + return new add_index_args(this); } @Override public void clear() { - this.db_name = null; - this.tbl_name = null; - this.part_vals = null; - this.eventType = null; - } - - public String getDb_name() { - return this.db_name; - } - - public void setDb_name(String db_name) { - this.db_name = db_name; - } - - public void unsetDb_name() { - this.db_name = null; - } - - /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ - public boolean isSetDb_name() { - return this.db_name != null; - } - - public void setDb_nameIsSet(boolean value) { - if (!value) { - this.db_name = null; - } - } - - public String getTbl_name() { - return this.tbl_name; - } - - public void setTbl_name(String tbl_name) { - this.tbl_name = tbl_name; - } - - public void unsetTbl_name() { - this.tbl_name = null; - } - - /** Returns true if field tbl_name is set (has been assigned a value) and false otherwise */ - public boolean isSetTbl_name() { - return this.tbl_name != null; - } - - public void setTbl_nameIsSet(boolean value) { - if (!value) { - this.tbl_name = null; - } - } - - public int getPart_valsSize() { - return (this.part_vals == null) ? 0 : this.part_vals.size(); - } - - public void putToPart_vals(String key, String val) { - if (this.part_vals == null) { - this.part_vals = new HashMap(); - } - this.part_vals.put(key, val); + this.new_index = null; + this.index_table = null; } - public Map getPart_vals() { - return this.part_vals; + public Index getNew_index() { + return this.new_index; } - public void setPart_vals(Map part_vals) { - this.part_vals = part_vals; + public void setNew_index(Index new_index) { + this.new_index = new_index; } - public void unsetPart_vals() { - this.part_vals = null; + public void unsetNew_index() { + this.new_index = null; } - /** Returns true if field part_vals is set (has been assigned a value) and false otherwise */ - public boolean isSetPart_vals() { - return this.part_vals != null; + /** Returns true if field new_index is set (has been assigned a value) and false otherwise */ + public boolean isSetNew_index() { + return this.new_index != null; } - public void setPart_valsIsSet(boolean value) { + public void setNew_indexIsSet(boolean value) { if (!value) { - this.part_vals = null; + this.new_index = null; } } - /** - * - * @see PartitionEventType - */ - public PartitionEventType getEventType() { - return this.eventType; + public Table getIndex_table() { + return this.index_table; } - /** - * - * @see PartitionEventType - */ - public void setEventType(PartitionEventType eventType) { - this.eventType = eventType; + public void setIndex_table(Table index_table) { + this.index_table = index_table; } - public void unsetEventType() { - this.eventType = null; + public void unsetIndex_table() { + this.index_table = null; } - /** Returns true if field eventType is set (has been assigned a value) and false otherwise */ - public boolean isSetEventType() { - return this.eventType != null; + /** Returns true if field index_table is set (has been assigned a value) and false otherwise */ + public boolean isSetIndex_table() { + return this.index_table != null; } - public void setEventTypeIsSet(boolean value) { + public void setIndex_tableIsSet(boolean value) { if (!value) { - this.eventType = null; + this.index_table = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case DB_NAME: - if (value == null) { - unsetDb_name(); - } else { - setDb_name((String)value); - } - break; - - case TBL_NAME: - if (value == null) { - unsetTbl_name(); - } else { - setTbl_name((String)value); - } - break; - - case PART_VALS: + case NEW_INDEX: if (value == null) { - unsetPart_vals(); + unsetNew_index(); } else { - setPart_vals((Map)value); + setNew_index((Index)value); } break; - case EVENT_TYPE: + case INDEX_TABLE: if (value == null) { - unsetEventType(); + unsetIndex_table(); } else { - setEventType((PartitionEventType)value); + setIndex_table((Table)value); } break; @@ -87421,17 +96805,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case DB_NAME: - return getDb_name(); - - case TBL_NAME: - return getTbl_name(); - - case PART_VALS: - return getPart_vals(); + case NEW_INDEX: + return getNew_index(); - case EVENT_TYPE: - return getEventType(); + case INDEX_TABLE: + return getIndex_table(); } throw new IllegalStateException(); @@ -87444,14 +96822,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case DB_NAME: - return isSetDb_name(); - case TBL_NAME: - return isSetTbl_name(); - case PART_VALS: - return isSetPart_vals(); - case EVENT_TYPE: - return isSetEventType(); + case NEW_INDEX: + return isSetNew_index(); + case INDEX_TABLE: + return isSetIndex_table(); } throw new IllegalStateException(); } @@ -87460,48 +96834,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof isPartitionMarkedForEvent_args) - return this.equals((isPartitionMarkedForEvent_args)that); + if (that instanceof add_index_args) + return this.equals((add_index_args)that); return false; } - public boolean equals(isPartitionMarkedForEvent_args that) { + public boolean equals(add_index_args that) { if (that == null) return false; - boolean this_present_db_name = true && this.isSetDb_name(); - boolean that_present_db_name = true && that.isSetDb_name(); - if (this_present_db_name || that_present_db_name) { - if (!(this_present_db_name && that_present_db_name)) - return false; - if (!this.db_name.equals(that.db_name)) - return false; - } - - boolean this_present_tbl_name = true && this.isSetTbl_name(); - boolean that_present_tbl_name = true && that.isSetTbl_name(); - if (this_present_tbl_name || that_present_tbl_name) { - if (!(this_present_tbl_name && that_present_tbl_name)) - return false; - if (!this.tbl_name.equals(that.tbl_name)) - return false; - } - - boolean this_present_part_vals = true && this.isSetPart_vals(); - boolean that_present_part_vals = true && that.isSetPart_vals(); - if (this_present_part_vals || that_present_part_vals) { - if (!(this_present_part_vals && that_present_part_vals)) + boolean this_present_new_index = true && this.isSetNew_index(); + boolean that_present_new_index = true && that.isSetNew_index(); + if (this_present_new_index || that_present_new_index) { + if (!(this_present_new_index && that_present_new_index)) return false; - if (!this.part_vals.equals(that.part_vals)) + if (!this.new_index.equals(that.new_index)) return false; } - boolean this_present_eventType = true && this.isSetEventType(); - boolean that_present_eventType = true && that.isSetEventType(); - if (this_present_eventType || that_present_eventType) { - if (!(this_present_eventType && that_present_eventType)) + boolean this_present_index_table = true && this.isSetIndex_table(); + boolean that_present_index_table = true && that.isSetIndex_table(); + if (this_present_index_table || that_present_index_table) { + if (!(this_present_index_table && that_present_index_table)) return false; - if (!this.eventType.equals(that.eventType)) + if (!this.index_table.equals(that.index_table)) return false; } @@ -87510,75 +96866,45 @@ public boolean equals(isPartitionMarkedForEvent_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); - - boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); - if (present_db_name) - builder.append(db_name); - - boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); - if (present_tbl_name) - builder.append(tbl_name); + List list = new ArrayList(); - boolean present_part_vals = true && (isSetPart_vals()); - builder.append(present_part_vals); - if (present_part_vals) - builder.append(part_vals); + boolean present_new_index = true && (isSetNew_index()); + list.add(present_new_index); + if (present_new_index) + list.add(new_index); - boolean present_eventType = true && (isSetEventType()); - builder.append(present_eventType); - if (present_eventType) - builder.append(eventType.getValue()); + boolean present_index_table = true && (isSetIndex_table()); + list.add(present_index_table); + if (present_index_table) + list.add(index_table); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(isPartitionMarkedForEvent_args other) { + @Override + public int compareTo(add_index_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - isPartitionMarkedForEvent_args typedOther = (isPartitionMarkedForEvent_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetPart_vals()).compareTo(typedOther.isSetPart_vals()); + lastComparison = Boolean.valueOf(isSetNew_index()).compareTo(other.isSetNew_index()); if (lastComparison != 0) { return lastComparison; } - if (isSetPart_vals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_vals, typedOther.part_vals); + if (isSetNew_index()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_index, other.new_index); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEventType()).compareTo(typedOther.isSetEventType()); + lastComparison = Boolean.valueOf(isSetIndex_table()).compareTo(other.isSetIndex_table()); if (lastComparison != 0) { return lastComparison; } - if (isSetEventType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventType, typedOther.eventType); + if (isSetIndex_table()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.index_table, other.index_table); if (lastComparison != 0) { return lastComparison; } @@ -87600,38 +96926,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("isPartitionMarkedForEvent_args("); + StringBuilder sb = new StringBuilder("add_index_args("); boolean first = true; - sb.append("db_name:"); - if (this.db_name == null) { - sb.append("null"); - } else { - sb.append(this.db_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("tbl_name:"); - if (this.tbl_name == null) { - sb.append("null"); - } else { - sb.append(this.tbl_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("part_vals:"); - if (this.part_vals == null) { + sb.append("new_index:"); + if (this.new_index == null) { sb.append("null"); } else { - sb.append(this.part_vals); + sb.append(this.new_index); } first = false; if (!first) sb.append(", "); - sb.append("eventType:"); - if (this.eventType == null) { + sb.append("index_table:"); + if (this.index_table == null) { sb.append("null"); } else { - sb.append(this.eventType); + sb.append(this.index_table); } first = false; sb.append(")"); @@ -87641,6 +96951,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (new_index != null) { + new_index.validate(); + } + if (index_table != null) { + index_table.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -87659,15 +96975,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class isPartitionMarkedForEvent_argsStandardSchemeFactory implements SchemeFactory { - public isPartitionMarkedForEvent_argsStandardScheme getScheme() { - return new isPartitionMarkedForEvent_argsStandardScheme(); + private static class add_index_argsStandardSchemeFactory implements SchemeFactory { + public add_index_argsStandardScheme getScheme() { + return new add_index_argsStandardScheme(); } } - private static class isPartitionMarkedForEvent_argsStandardScheme extends StandardScheme { + private static class add_index_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedForEvent_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, add_index_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -87677,46 +96993,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo break; } switch (schemeField.id) { - case 1: // DB_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TBL_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - 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) - { - String _key886; // required - String _val887; // required - _key886 = iprot.readString(); - _val887 = iprot.readString(); - struct.part_vals.put(_key886, _val887); - } - iprot.readMapEnd(); - } - struct.setPart_valsIsSet(true); + case 1: // NEW_INDEX + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.new_index = new Index(); + struct.new_index.read(iprot); + struct.setNew_indexIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // EVENT_TYPE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.eventType = PartitionEventType.findByValue(iprot.readI32()); - struct.setEventTypeIsSet(true); + case 2: // INDEX_TABLE + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.index_table = new Table(); + struct.index_table.read(iprot); + struct.setIndex_tableIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -87730,36 +97020,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedForEvent_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, add_index_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.db_name != null) { - oprot.writeFieldBegin(DB_NAME_FIELD_DESC); - oprot.writeString(struct.db_name); - oprot.writeFieldEnd(); - } - if (struct.tbl_name != null) { - oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); - oprot.writeString(struct.tbl_name); - oprot.writeFieldEnd(); - } - if (struct.part_vals != null) { - 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()) - { - oprot.writeString(_iter888.getKey()); - oprot.writeString(_iter888.getValue()); - } - oprot.writeMapEnd(); - } + if (struct.new_index != null) { + oprot.writeFieldBegin(NEW_INDEX_FIELD_DESC); + struct.new_index.write(oprot); oprot.writeFieldEnd(); } - if (struct.eventType != null) { - oprot.writeFieldBegin(EVENT_TYPE_FIELD_DESC); - oprot.writeI32(struct.eventType.getValue()); + if (struct.index_table != null) { + oprot.writeFieldBegin(INDEX_TABLE_FIELD_DESC); + struct.index_table.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -87768,122 +97040,77 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF } - private static class isPartitionMarkedForEvent_argsTupleSchemeFactory implements SchemeFactory { - public isPartitionMarkedForEvent_argsTupleScheme getScheme() { - return new isPartitionMarkedForEvent_argsTupleScheme(); + private static class add_index_argsTupleSchemeFactory implements SchemeFactory { + public add_index_argsTupleScheme getScheme() { + return new add_index_argsTupleScheme(); } } - private static class isPartitionMarkedForEvent_argsTupleScheme extends TupleScheme { + private static class add_index_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedForEvent_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, add_index_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetDb_name()) { + if (struct.isSetNew_index()) { optionals.set(0); } - if (struct.isSetTbl_name()) { + if (struct.isSetIndex_table()) { optionals.set(1); } - if (struct.isSetPart_vals()) { - optionals.set(2); - } - if (struct.isSetEventType()) { - optionals.set(3); - } - oprot.writeBitSet(optionals, 4); - if (struct.isSetDb_name()) { - oprot.writeString(struct.db_name); - } - if (struct.isSetTbl_name()) { - oprot.writeString(struct.tbl_name); - } - if (struct.isSetPart_vals()) { - { - oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter889 : struct.part_vals.entrySet()) - { - oprot.writeString(_iter889.getKey()); - oprot.writeString(_iter889.getValue()); - } - } + oprot.writeBitSet(optionals, 2); + if (struct.isSetNew_index()) { + struct.new_index.write(oprot); } - if (struct.isSetEventType()) { - oprot.writeI32(struct.eventType.getValue()); + if (struct.isSetIndex_table()) { + struct.index_table.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedForEvent_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, add_index_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); + struct.new_index = new Index(); + struct.new_index.read(iprot); + struct.setNew_indexIsSet(true); } if (incoming.get(1)) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); - } - 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) - { - String _key892; // required - String _val893; // required - _key892 = iprot.readString(); - _val893 = iprot.readString(); - struct.part_vals.put(_key892, _val893); - } - } - struct.setPart_valsIsSet(true); - } - if (incoming.get(3)) { - struct.eventType = PartitionEventType.findByValue(iprot.readI32()); - struct.setEventTypeIsSet(true); + struct.index_table = new Table(); + struct.index_table.read(iprot); + struct.setIndex_tableIsSet(true); } } } } - public static class isPartitionMarkedForEvent_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("isPartitionMarkedForEvent_result"); + public static class add_index_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_index_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); + 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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); - private static final org.apache.thrift.protocol.TField O4_FIELD_DESC = new org.apache.thrift.protocol.TField("o4", org.apache.thrift.protocol.TType.STRUCT, (short)4); - private static final org.apache.thrift.protocol.TField O5_FIELD_DESC = new org.apache.thrift.protocol.TField("o5", org.apache.thrift.protocol.TType.STRUCT, (short)5); - private static final org.apache.thrift.protocol.TField O6_FIELD_DESC = new org.apache.thrift.protocol.TField("o6", org.apache.thrift.protocol.TType.STRUCT, (short)6); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new isPartitionMarkedForEvent_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new isPartitionMarkedForEvent_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new add_index_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new add_index_resultTupleSchemeFactory()); } - private boolean success; // required - private MetaException o1; // required - private NoSuchObjectException o2; // required - private UnknownDBException o3; // required - private UnknownTableException o4; // required - private UnknownPartitionException o5; // required - private InvalidPartitionException o6; // required + private Index success; // required + private InvalidObjectException o1; // required + private AlreadyExistsException o2; // required + private MetaException o3; // 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"), - O3((short)3, "o3"), - O4((short)4, "o4"), - O5((short)5, "o5"), - O6((short)6, "o6"); + O3((short)3, "o3"); private static final Map byName = new HashMap(); @@ -87906,12 +97133,6 @@ public static _Fields findByThriftId(int fieldId) { return O2; case 3: // O3 return O3; - case 4: // O4 - return O4; - case 5: // O5 - return O5; - case 6: // O6 - return O6; default: return null; } @@ -87952,121 +97173,95 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Index.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))); tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.O5, new org.apache.thrift.meta_data.FieldMetaData("o5", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.O6, new org.apache.thrift.meta_data.FieldMetaData("o6", 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(isPartitionMarkedForEvent_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(add_index_result.class, metaDataMap); } - public isPartitionMarkedForEvent_result() { + public add_index_result() { } - public isPartitionMarkedForEvent_result( - boolean success, - MetaException o1, - NoSuchObjectException o2, - UnknownDBException o3, - UnknownTableException o4, - UnknownPartitionException o5, - InvalidPartitionException o6) + public add_index_result( + Index success, + InvalidObjectException o1, + AlreadyExistsException o2, + MetaException o3) { this(); this.success = success; - setSuccessIsSet(true); this.o1 = o1; this.o2 = o2; this.o3 = o3; - this.o4 = o4; - this.o5 = o5; - this.o6 = o6; } /** * Performs a deep copy on other. */ - public isPartitionMarkedForEvent_result(isPartitionMarkedForEvent_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public add_index_result(add_index_result other) { + if (other.isSetSuccess()) { + this.success = new Index(other.success); + } if (other.isSetO1()) { - this.o1 = new MetaException(other.o1); + this.o1 = new InvalidObjectException(other.o1); } if (other.isSetO2()) { - this.o2 = new NoSuchObjectException(other.o2); + this.o2 = new AlreadyExistsException(other.o2); } if (other.isSetO3()) { - this.o3 = new UnknownDBException(other.o3); - } - if (other.isSetO4()) { - this.o4 = new UnknownTableException(other.o4); - } - if (other.isSetO5()) { - this.o5 = new UnknownPartitionException(other.o5); - } - if (other.isSetO6()) { - this.o6 = new InvalidPartitionException(other.o6); + this.o3 = new MetaException(other.o3); } } - public isPartitionMarkedForEvent_result deepCopy() { - return new isPartitionMarkedForEvent_result(this); + public add_index_result deepCopy() { + return new add_index_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; this.o1 = null; this.o2 = null; this.o3 = null; - this.o4 = null; - this.o5 = null; - this.o6 = null; } - public boolean isSuccess() { + public Index getSuccess() { return this.success; } - public void setSuccess(boolean success) { + public void setSuccess(Index success) { this.success = success; - setSuccessIsSet(true); } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + this.success = null; } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + if (!value) { + this.success = null; + } } - public MetaException getO1() { + public InvalidObjectException getO1() { return this.o1; } - public void setO1(MetaException o1) { + public void setO1(InvalidObjectException o1) { this.o1 = o1; } @@ -88085,11 +97280,11 @@ public void setO1IsSet(boolean value) { } } - public NoSuchObjectException getO2() { + public AlreadyExistsException getO2() { return this.o2; } - public void setO2(NoSuchObjectException o2) { + public void setO2(AlreadyExistsException o2) { this.o2 = o2; } @@ -88108,11 +97303,11 @@ public void setO2IsSet(boolean value) { } } - public UnknownDBException getO3() { + public MetaException getO3() { return this.o3; } - public void setO3(UnknownDBException o3) { + public void setO3(MetaException o3) { this.o3 = o3; } @@ -88131,82 +97326,13 @@ public void setO3IsSet(boolean value) { } } - public UnknownTableException getO4() { - return this.o4; - } - - public void setO4(UnknownTableException o4) { - this.o4 = o4; - } - - public void unsetO4() { - this.o4 = null; - } - - /** Returns true if field o4 is set (has been assigned a value) and false otherwise */ - public boolean isSetO4() { - return this.o4 != null; - } - - public void setO4IsSet(boolean value) { - if (!value) { - this.o4 = null; - } - } - - public UnknownPartitionException getO5() { - return this.o5; - } - - public void setO5(UnknownPartitionException o5) { - this.o5 = o5; - } - - public void unsetO5() { - this.o5 = null; - } - - /** Returns true if field o5 is set (has been assigned a value) and false otherwise */ - public boolean isSetO5() { - return this.o5 != null; - } - - public void setO5IsSet(boolean value) { - if (!value) { - this.o5 = null; - } - } - - public InvalidPartitionException getO6() { - return this.o6; - } - - public void setO6(InvalidPartitionException o6) { - this.o6 = o6; - } - - public void unsetO6() { - this.o6 = null; - } - - /** Returns true if field o6 is set (has been assigned a value) and false otherwise */ - public boolean isSetO6() { - return this.o6 != null; - } - - public void setO6IsSet(boolean value) { - if (!value) { - this.o6 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { - setSuccess((Boolean)value); + setSuccess((Index)value); } break; @@ -88214,7 +97340,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO1(); } else { - setO1((MetaException)value); + setO1((InvalidObjectException)value); } break; @@ -88222,7 +97348,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((NoSuchObjectException)value); + setO2((AlreadyExistsException)value); } break; @@ -88230,31 +97356,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO3(); } else { - setO3((UnknownDBException)value); - } - break; - - case O4: - if (value == null) { - unsetO4(); - } else { - setO4((UnknownTableException)value); - } - break; - - case O5: - if (value == null) { - unsetO5(); - } else { - setO5((UnknownPartitionException)value); - } - break; - - case O6: - if (value == null) { - unsetO6(); - } else { - setO6((InvalidPartitionException)value); + setO3((MetaException)value); } break; @@ -88264,7 +97366,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return getSuccess(); case O1: return getO1(); @@ -88275,15 +97377,6 @@ public Object getFieldValue(_Fields field) { case O3: return getO3(); - case O4: - return getO4(); - - case O5: - return getO5(); - - case O6: - return getO6(); - } throw new IllegalStateException(); } @@ -88303,12 +97396,6 @@ public boolean isSet(_Fields field) { return isSetO2(); case O3: return isSetO3(); - case O4: - return isSetO4(); - case O5: - return isSetO5(); - case O6: - return isSetO6(); } throw new IllegalStateException(); } @@ -88317,21 +97404,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof isPartitionMarkedForEvent_result) - return this.equals((isPartitionMarkedForEvent_result)that); + if (that instanceof add_index_result) + return this.equals((add_index_result)that); return false; } - public boolean equals(isPartitionMarkedForEvent_result that) { + public boolean equals(add_index_result that) { if (that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + 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 != that.success) + if (!this.success.equals(that.success)) return false; } @@ -88362,152 +97449,80 @@ public boolean equals(isPartitionMarkedForEvent_result that) { return false; } - boolean this_present_o4 = true && this.isSetO4(); - boolean that_present_o4 = true && that.isSetO4(); - if (this_present_o4 || that_present_o4) { - if (!(this_present_o4 && that_present_o4)) - return false; - if (!this.o4.equals(that.o4)) - return false; - } - - boolean this_present_o5 = true && this.isSetO5(); - boolean that_present_o5 = true && that.isSetO5(); - if (this_present_o5 || that_present_o5) { - if (!(this_present_o5 && that_present_o5)) - return false; - if (!this.o5.equals(that.o5)) - return false; - } - - boolean this_present_o6 = true && this.isSetO6(); - boolean that_present_o6 = true && that.isSetO6(); - if (this_present_o6 || that_present_o6) { - if (!(this_present_o6 && that_present_o6)) - return false; - if (!this.o6.equals(that.o6)) - return false; - } - return true; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_success = true; - builder.append(present_success); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); - - boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); - if (present_o4) - builder.append(o4); - - boolean present_o5 = true && (isSetO5()); - builder.append(present_o5); - if (present_o5) - builder.append(o5); - - boolean present_o6 = true && (isSetO6()); - builder.append(present_o6); - if (present_o6) - builder.append(o6); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(isPartitionMarkedForEvent_result other) { + @Override + public int compareTo(add_index_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - isPartitionMarkedForEvent_result typedOther = (isPartitionMarkedForEvent_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO5()).compareTo(typedOther.isSetO5()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO5()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o5, typedOther.o5); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO6()).compareTo(typedOther.isSetO6()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO6()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o6, typedOther.o6); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -88529,11 +97544,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("isPartitionMarkedForEvent_result("); + StringBuilder sb = new StringBuilder("add_index_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } first = false; if (!first) sb.append(", "); sb.append("o1:"); @@ -88559,30 +97578,6 @@ public String toString() { sb.append(this.o3); } first = false; - if (!first) sb.append(", "); - sb.append("o4:"); - if (this.o4 == null) { - sb.append("null"); - } else { - sb.append(this.o4); - } - first = false; - if (!first) sb.append(", "); - sb.append("o5:"); - if (this.o5 == null) { - sb.append("null"); - } else { - sb.append(this.o5); - } - first = false; - if (!first) sb.append(", "); - sb.append("o6:"); - if (this.o6 == null) { - sb.append("null"); - } else { - sb.append(this.o6); - } - first = false; sb.append(")"); return sb.toString(); } @@ -88590,6 +97585,9 @@ public String 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 { @@ -88602,23 +97600,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class isPartitionMarkedForEvent_resultStandardSchemeFactory implements SchemeFactory { - public isPartitionMarkedForEvent_resultStandardScheme getScheme() { - return new isPartitionMarkedForEvent_resultStandardScheme(); + private static class add_index_resultStandardSchemeFactory implements SchemeFactory { + public add_index_resultStandardScheme getScheme() { + return new add_index_resultStandardScheme(); } } - private static class isPartitionMarkedForEvent_resultStandardScheme extends StandardScheme { + private static class add_index_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedForEvent_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, add_index_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -88629,8 +97625,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new Index(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -88638,7 +97635,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo break; case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new MetaException(); + struct.o1 = new InvalidObjectException(); struct.o1.read(iprot); struct.setO1IsSet(true); } else { @@ -88647,7 +97644,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new NoSuchObjectException(); + struct.o2 = new AlreadyExistsException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { @@ -88656,40 +97653,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo break; case 3: // O3 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new UnknownDBException(); + struct.o3 = new MetaException(); struct.o3.read(iprot); struct.setO3IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // O4 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o4 = new UnknownTableException(); - struct.o4.read(iprot); - struct.setO4IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // O5 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o5 = new UnknownPartitionException(); - struct.o5.read(iprot); - struct.setO5IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // O6 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o6 = new InvalidPartitionException(); - struct.o6.read(iprot); - struct.setO6IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -88699,13 +97669,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedForEvent_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, add_index_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.isSetSuccess()) { + if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + struct.success.write(oprot); oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -88723,37 +97693,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF struct.o3.write(oprot); oprot.writeFieldEnd(); } - if (struct.o4 != null) { - oprot.writeFieldBegin(O4_FIELD_DESC); - struct.o4.write(oprot); - oprot.writeFieldEnd(); - } - if (struct.o5 != null) { - oprot.writeFieldBegin(O5_FIELD_DESC); - struct.o5.write(oprot); - oprot.writeFieldEnd(); - } - if (struct.o6 != null) { - oprot.writeFieldBegin(O6_FIELD_DESC); - struct.o6.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class isPartitionMarkedForEvent_resultTupleSchemeFactory implements SchemeFactory { - public isPartitionMarkedForEvent_resultTupleScheme getScheme() { - return new isPartitionMarkedForEvent_resultTupleScheme(); + private static class add_index_resultTupleSchemeFactory implements SchemeFactory { + public add_index_resultTupleScheme getScheme() { + return new add_index_resultTupleScheme(); } } - private static class isPartitionMarkedForEvent_resultTupleScheme extends TupleScheme { + private static class add_index_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedForEvent_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, add_index_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -88768,18 +97723,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetO3()) { optionals.set(3); } - if (struct.isSetO4()) { - optionals.set(4); - } - if (struct.isSetO5()) { - optionals.set(5); - } - if (struct.isSetO6()) { - optionals.set(6); - } - oprot.writeBitSet(optionals, 7); + oprot.writeBitSet(optionals, 4); if (struct.isSetSuccess()) { - oprot.writeBool(struct.success); + struct.success.write(oprot); } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -88790,79 +97736,62 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetO3()) { struct.o3.write(oprot); } - if (struct.isSetO4()) { - struct.o4.write(oprot); - } - if (struct.isSetO5()) { - struct.o5.write(oprot); - } - if (struct.isSetO6()) { - struct.o6.write(oprot); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedForEvent_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, add_index_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(7); + BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { - struct.success = iprot.readBool(); + struct.success = new Index(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o1 = new MetaException(); + struct.o1 = new InvalidObjectException(); struct.o1.read(iprot); struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new NoSuchObjectException(); + struct.o2 = new AlreadyExistsException(); struct.o2.read(iprot); struct.setO2IsSet(true); } if (incoming.get(3)) { - struct.o3 = new UnknownDBException(); + struct.o3 = new MetaException(); struct.o3.read(iprot); struct.setO3IsSet(true); } - if (incoming.get(4)) { - struct.o4 = new UnknownTableException(); - struct.o4.read(iprot); - struct.setO4IsSet(true); - } - if (incoming.get(5)) { - struct.o5 = new UnknownPartitionException(); - struct.o5.read(iprot); - struct.setO5IsSet(true); - } - if (incoming.get(6)) { - struct.o6 = new InvalidPartitionException(); - struct.o6.read(iprot); - struct.setO6IsSet(true); - } } } } - public static class add_index_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("add_index_args"); + public static class alter_index_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_index_args"); - private static final org.apache.thrift.protocol.TField NEW_INDEX_FIELD_DESC = new org.apache.thrift.protocol.TField("new_index", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField INDEX_TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("index_table", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField BASE_TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("base_tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField IDX_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("idx_name", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField NEW_IDX_FIELD_DESC = new org.apache.thrift.protocol.TField("new_idx", org.apache.thrift.protocol.TType.STRUCT, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new add_index_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new add_index_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new alter_index_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new alter_index_argsTupleSchemeFactory()); } - private Index new_index; // required - private Table index_table; // required + private String dbname; // required + private String base_tbl_name; // required + private String idx_name; // required + private Index new_idx; // 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 { - NEW_INDEX((short)1, "new_index"), - INDEX_TABLE((short)2, "index_table"); + DBNAME((short)1, "dbname"), + BASE_TBL_NAME((short)2, "base_tbl_name"), + IDX_NAME((short)3, "idx_name"), + NEW_IDX((short)4, "new_idx"); private static final Map byName = new HashMap(); @@ -88877,10 +97806,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // NEW_INDEX - return NEW_INDEX; - case 2: // INDEX_TABLE - return INDEX_TABLE; + case 1: // DBNAME + return DBNAME; + case 2: // BASE_TBL_NAME + return BASE_TBL_NAME; + case 3: // IDX_NAME + return IDX_NAME; + case 4: // NEW_IDX + return NEW_IDX; default: return null; } @@ -88924,109 +97857,187 @@ public String getFieldName() { 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.NEW_INDEX, new org.apache.thrift.meta_data.FieldMetaData("new_index", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.DBNAME, new org.apache.thrift.meta_data.FieldMetaData("dbname", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.BASE_TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("base_tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.IDX_NAME, new org.apache.thrift.meta_data.FieldMetaData("idx_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.NEW_IDX, new org.apache.thrift.meta_data.FieldMetaData("new_idx", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Index.class))); - tmpMap.put(_Fields.INDEX_TABLE, new org.apache.thrift.meta_data.FieldMetaData("index_table", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Table.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(add_index_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(alter_index_args.class, metaDataMap); } - public add_index_args() { + public alter_index_args() { } - public add_index_args( - Index new_index, - Table index_table) + public alter_index_args( + String dbname, + String base_tbl_name, + String idx_name, + Index new_idx) { this(); - this.new_index = new_index; - this.index_table = index_table; + this.dbname = dbname; + this.base_tbl_name = base_tbl_name; + this.idx_name = idx_name; + this.new_idx = new_idx; } /** * Performs a deep copy on other. */ - public add_index_args(add_index_args other) { - if (other.isSetNew_index()) { - this.new_index = new Index(other.new_index); + public alter_index_args(alter_index_args other) { + if (other.isSetDbname()) { + this.dbname = other.dbname; } - if (other.isSetIndex_table()) { - this.index_table = new Table(other.index_table); + if (other.isSetBase_tbl_name()) { + this.base_tbl_name = other.base_tbl_name; + } + if (other.isSetIdx_name()) { + this.idx_name = other.idx_name; + } + if (other.isSetNew_idx()) { + this.new_idx = new Index(other.new_idx); } } - public add_index_args deepCopy() { - return new add_index_args(this); + public alter_index_args deepCopy() { + return new alter_index_args(this); } @Override public void clear() { - this.new_index = null; - this.index_table = null; + this.dbname = null; + this.base_tbl_name = null; + this.idx_name = null; + this.new_idx = null; } - public Index getNew_index() { - return this.new_index; + public String getDbname() { + return this.dbname; } - public void setNew_index(Index new_index) { - this.new_index = new_index; + public void setDbname(String dbname) { + this.dbname = dbname; } - public void unsetNew_index() { - this.new_index = null; + public void unsetDbname() { + this.dbname = null; } - /** Returns true if field new_index is set (has been assigned a value) and false otherwise */ - public boolean isSetNew_index() { - return this.new_index != null; + /** Returns true if field dbname is set (has been assigned a value) and false otherwise */ + public boolean isSetDbname() { + return this.dbname != null; } - public void setNew_indexIsSet(boolean value) { + public void setDbnameIsSet(boolean value) { if (!value) { - this.new_index = null; + this.dbname = null; } } - public Table getIndex_table() { - return this.index_table; + public String getBase_tbl_name() { + return this.base_tbl_name; } - public void setIndex_table(Table index_table) { - this.index_table = index_table; + public void setBase_tbl_name(String base_tbl_name) { + this.base_tbl_name = base_tbl_name; } - public void unsetIndex_table() { - this.index_table = null; + public void unsetBase_tbl_name() { + this.base_tbl_name = null; } - /** Returns true if field index_table is set (has been assigned a value) and false otherwise */ - public boolean isSetIndex_table() { - return this.index_table != null; + /** Returns true if field base_tbl_name is set (has been assigned a value) and false otherwise */ + public boolean isSetBase_tbl_name() { + return this.base_tbl_name != null; } - public void setIndex_tableIsSet(boolean value) { + public void setBase_tbl_nameIsSet(boolean value) { if (!value) { - this.index_table = null; + this.base_tbl_name = null; + } + } + + public String getIdx_name() { + return this.idx_name; + } + + public void setIdx_name(String idx_name) { + this.idx_name = idx_name; + } + + public void unsetIdx_name() { + this.idx_name = null; + } + + /** Returns true if field idx_name is set (has been assigned a value) and false otherwise */ + public boolean isSetIdx_name() { + return this.idx_name != null; + } + + public void setIdx_nameIsSet(boolean value) { + if (!value) { + this.idx_name = null; + } + } + + public Index getNew_idx() { + return this.new_idx; + } + + public void setNew_idx(Index new_idx) { + this.new_idx = new_idx; + } + + public void unsetNew_idx() { + this.new_idx = null; + } + + /** Returns true if field new_idx is set (has been assigned a value) and false otherwise */ + public boolean isSetNew_idx() { + return this.new_idx != null; + } + + public void setNew_idxIsSet(boolean value) { + if (!value) { + this.new_idx = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case NEW_INDEX: + case DBNAME: if (value == null) { - unsetNew_index(); + unsetDbname(); } else { - setNew_index((Index)value); + setDbname((String)value); } break; - case INDEX_TABLE: + case BASE_TBL_NAME: if (value == null) { - unsetIndex_table(); + unsetBase_tbl_name(); } else { - setIndex_table((Table)value); + setBase_tbl_name((String)value); + } + break; + + case IDX_NAME: + if (value == null) { + unsetIdx_name(); + } else { + setIdx_name((String)value); + } + break; + + case NEW_IDX: + if (value == null) { + unsetNew_idx(); + } else { + setNew_idx((Index)value); } break; @@ -89035,11 +98046,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case NEW_INDEX: - return getNew_index(); + case DBNAME: + return getDbname(); - case INDEX_TABLE: - return getIndex_table(); + case BASE_TBL_NAME: + return getBase_tbl_name(); + + case IDX_NAME: + return getIdx_name(); + + case NEW_IDX: + return getNew_idx(); } throw new IllegalStateException(); @@ -89052,10 +98069,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case NEW_INDEX: - return isSetNew_index(); - case INDEX_TABLE: - return isSetIndex_table(); + case DBNAME: + return isSetDbname(); + case BASE_TBL_NAME: + return isSetBase_tbl_name(); + case IDX_NAME: + return isSetIdx_name(); + case NEW_IDX: + return isSetNew_idx(); } throw new IllegalStateException(); } @@ -89064,30 +98085,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof add_index_args) - return this.equals((add_index_args)that); + if (that instanceof alter_index_args) + return this.equals((alter_index_args)that); return false; } - public boolean equals(add_index_args that) { + public boolean equals(alter_index_args that) { if (that == null) return false; - boolean this_present_new_index = true && this.isSetNew_index(); - boolean that_present_new_index = true && that.isSetNew_index(); - if (this_present_new_index || that_present_new_index) { - if (!(this_present_new_index && that_present_new_index)) + boolean this_present_dbname = true && this.isSetDbname(); + boolean that_present_dbname = true && that.isSetDbname(); + if (this_present_dbname || that_present_dbname) { + if (!(this_present_dbname && that_present_dbname)) + return false; + if (!this.dbname.equals(that.dbname)) + return false; + } + + boolean this_present_base_tbl_name = true && this.isSetBase_tbl_name(); + boolean that_present_base_tbl_name = true && that.isSetBase_tbl_name(); + if (this_present_base_tbl_name || that_present_base_tbl_name) { + if (!(this_present_base_tbl_name && that_present_base_tbl_name)) + return false; + if (!this.base_tbl_name.equals(that.base_tbl_name)) + return false; + } + + boolean this_present_idx_name = true && this.isSetIdx_name(); + boolean that_present_idx_name = true && that.isSetIdx_name(); + if (this_present_idx_name || that_present_idx_name) { + if (!(this_present_idx_name && that_present_idx_name)) return false; - if (!this.new_index.equals(that.new_index)) + if (!this.idx_name.equals(that.idx_name)) return false; } - boolean this_present_index_table = true && this.isSetIndex_table(); - boolean that_present_index_table = true && that.isSetIndex_table(); - if (this_present_index_table || that_present_index_table) { - if (!(this_present_index_table && that_present_index_table)) + boolean this_present_new_idx = true && this.isSetNew_idx(); + boolean that_present_new_idx = true && that.isSetNew_idx(); + if (this_present_new_idx || that_present_new_idx) { + if (!(this_present_new_idx && that_present_new_idx)) return false; - if (!this.index_table.equals(that.index_table)) + if (!this.new_idx.equals(that.new_idx)) return false; } @@ -89096,45 +98135,75 @@ public boolean equals(add_index_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_new_index = true && (isSetNew_index()); - builder.append(present_new_index); - if (present_new_index) - builder.append(new_index); + boolean present_dbname = true && (isSetDbname()); + list.add(present_dbname); + if (present_dbname) + list.add(dbname); - boolean present_index_table = true && (isSetIndex_table()); - builder.append(present_index_table); - if (present_index_table) - builder.append(index_table); + boolean present_base_tbl_name = true && (isSetBase_tbl_name()); + list.add(present_base_tbl_name); + if (present_base_tbl_name) + list.add(base_tbl_name); + + boolean present_idx_name = true && (isSetIdx_name()); + list.add(present_idx_name); + if (present_idx_name) + list.add(idx_name); + + boolean present_new_idx = true && (isSetNew_idx()); + list.add(present_new_idx); + if (present_new_idx) + list.add(new_idx); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(add_index_args other) { + @Override + public int compareTo(alter_index_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_index_args typedOther = (add_index_args)other; - lastComparison = Boolean.valueOf(isSetNew_index()).compareTo(typedOther.isSetNew_index()); + lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); if (lastComparison != 0) { return lastComparison; } - if (isSetNew_index()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_index, typedOther.new_index); + if (isSetDbname()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIndex_table()).compareTo(typedOther.isSetIndex_table()); + lastComparison = Boolean.valueOf(isSetBase_tbl_name()).compareTo(other.isSetBase_tbl_name()); if (lastComparison != 0) { return lastComparison; } - if (isSetIndex_table()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.index_table, typedOther.index_table); + if (isSetBase_tbl_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.base_tbl_name, other.base_tbl_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetIdx_name()).compareTo(other.isSetIdx_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetIdx_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.idx_name, other.idx_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetNew_idx()).compareTo(other.isSetNew_idx()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetNew_idx()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_idx, other.new_idx); if (lastComparison != 0) { return lastComparison; } @@ -89156,22 +98225,38 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("add_index_args("); + StringBuilder sb = new StringBuilder("alter_index_args("); boolean first = true; - sb.append("new_index:"); - if (this.new_index == null) { + sb.append("dbname:"); + if (this.dbname == null) { sb.append("null"); } else { - sb.append(this.new_index); + sb.append(this.dbname); } first = false; if (!first) sb.append(", "); - sb.append("index_table:"); - if (this.index_table == null) { + sb.append("base_tbl_name:"); + if (this.base_tbl_name == null) { sb.append("null"); } else { - sb.append(this.index_table); + sb.append(this.base_tbl_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("idx_name:"); + if (this.idx_name == null) { + sb.append("null"); + } else { + sb.append(this.idx_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("new_idx:"); + if (this.new_idx == null) { + sb.append("null"); + } else { + sb.append(this.new_idx); } first = false; sb.append(")"); @@ -89181,11 +98266,8 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if (new_index != null) { - new_index.validate(); - } - if (index_table != null) { - index_table.validate(); + if (new_idx != null) { + new_idx.validate(); } } @@ -89205,15 +98287,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class add_index_argsStandardSchemeFactory implements SchemeFactory { - public add_index_argsStandardScheme getScheme() { - return new add_index_argsStandardScheme(); + private static class alter_index_argsStandardSchemeFactory implements SchemeFactory { + public alter_index_argsStandardScheme getScheme() { + return new alter_index_argsStandardScheme(); } } - private static class add_index_argsStandardScheme extends StandardScheme { + private static class alter_index_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, add_index_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, alter_index_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -89223,20 +98305,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_index_args stru break; } switch (schemeField.id) { - case 1: // NEW_INDEX - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.new_index = new Index(); - struct.new_index.read(iprot); - struct.setNew_indexIsSet(true); + case 1: // DBNAME + 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: // INDEX_TABLE + case 2: // BASE_TBL_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.base_tbl_name = iprot.readString(); + struct.setBase_tbl_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // IDX_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.idx_name = iprot.readString(); + struct.setIdx_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // NEW_IDX if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.index_table = new Table(); - struct.index_table.read(iprot); - struct.setIndex_tableIsSet(true); + struct.new_idx = new Index(); + struct.new_idx.read(iprot); + struct.setNew_idxIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -89250,18 +98347,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_index_args stru struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, add_index_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, alter_index_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.new_index != null) { - oprot.writeFieldBegin(NEW_INDEX_FIELD_DESC); - struct.new_index.write(oprot); + if (struct.dbname != null) { + oprot.writeFieldBegin(DBNAME_FIELD_DESC); + oprot.writeString(struct.dbname); oprot.writeFieldEnd(); } - if (struct.index_table != null) { - oprot.writeFieldBegin(INDEX_TABLE_FIELD_DESC); - struct.index_table.write(oprot); + if (struct.base_tbl_name != null) { + oprot.writeFieldBegin(BASE_TBL_NAME_FIELD_DESC); + oprot.writeString(struct.base_tbl_name); + oprot.writeFieldEnd(); + } + if (struct.idx_name != null) { + oprot.writeFieldBegin(IDX_NAME_FIELD_DESC); + oprot.writeString(struct.idx_name); + oprot.writeFieldEnd(); + } + if (struct.new_idx != null) { + oprot.writeFieldBegin(NEW_IDX_FIELD_DESC); + struct.new_idx.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -89270,77 +98377,90 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_index_args str } - private static class add_index_argsTupleSchemeFactory implements SchemeFactory { - public add_index_argsTupleScheme getScheme() { - return new add_index_argsTupleScheme(); + private static class alter_index_argsTupleSchemeFactory implements SchemeFactory { + public alter_index_argsTupleScheme getScheme() { + return new alter_index_argsTupleScheme(); } } - private static class add_index_argsTupleScheme extends TupleScheme { + private static class alter_index_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, add_index_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, alter_index_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetNew_index()) { + if (struct.isSetDbname()) { optionals.set(0); } - if (struct.isSetIndex_table()) { + if (struct.isSetBase_tbl_name()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); - if (struct.isSetNew_index()) { - struct.new_index.write(oprot); + if (struct.isSetIdx_name()) { + optionals.set(2); } - if (struct.isSetIndex_table()) { - struct.index_table.write(oprot); + if (struct.isSetNew_idx()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if (struct.isSetDbname()) { + oprot.writeString(struct.dbname); + } + if (struct.isSetBase_tbl_name()) { + oprot.writeString(struct.base_tbl_name); + } + if (struct.isSetIdx_name()) { + oprot.writeString(struct.idx_name); + } + if (struct.isSetNew_idx()) { + struct.new_idx.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, add_index_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, alter_index_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { - struct.new_index = new Index(); - struct.new_index.read(iprot); - struct.setNew_indexIsSet(true); + struct.dbname = iprot.readString(); + struct.setDbnameIsSet(true); } if (incoming.get(1)) { - struct.index_table = new Table(); - struct.index_table.read(iprot); - struct.setIndex_tableIsSet(true); + struct.base_tbl_name = iprot.readString(); + struct.setBase_tbl_nameIsSet(true); + } + if (incoming.get(2)) { + struct.idx_name = iprot.readString(); + struct.setIdx_nameIsSet(true); + } + if (incoming.get(3)) { + struct.new_idx = new Index(); + struct.new_idx.read(iprot); + struct.setNew_idxIsSet(true); } } } } - public static class add_index_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("add_index_result"); + public static class alter_index_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_index_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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new add_index_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new add_index_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new alter_index_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new alter_index_resultTupleSchemeFactory()); } - private Index success; // required - private InvalidObjectException o1; // required - private AlreadyExistsException o2; // required - private MetaException o3; // required + private InvalidOperationException o1; // required + private MetaException 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"), - O3((short)3, "o3"); + O2((short)2, "o2"); private static final Map byName = new HashMap(); @@ -89355,14 +98475,10 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_index_args struc */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 0: // SUCCESS - return SUCCESS; case 1: // O1 return O1; case 2: // O2 return O2; - case 3: // O3 - return O3; default: return null; } @@ -89406,92 +98522,53 @@ public String getFieldName() { 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, Index.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))); - tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", 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(add_index_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(alter_index_result.class, metaDataMap); } - public add_index_result() { + public alter_index_result() { } - public add_index_result( - Index success, - InvalidObjectException o1, - AlreadyExistsException o2, - MetaException o3) + public alter_index_result( + InvalidOperationException o1, + MetaException o2) { this(); - this.success = success; this.o1 = o1; this.o2 = o2; - this.o3 = o3; } /** * Performs a deep copy on other. */ - public add_index_result(add_index_result other) { - if (other.isSetSuccess()) { - this.success = new Index(other.success); - } + public alter_index_result(alter_index_result other) { if (other.isSetO1()) { - this.o1 = new InvalidObjectException(other.o1); + this.o1 = new InvalidOperationException(other.o1); } if (other.isSetO2()) { - this.o2 = new AlreadyExistsException(other.o2); - } - if (other.isSetO3()) { - this.o3 = new MetaException(other.o3); + this.o2 = new MetaException(other.o2); } } - public add_index_result deepCopy() { - return new add_index_result(this); + public alter_index_result deepCopy() { + return new alter_index_result(this); } @Override public void clear() { - this.success = null; this.o1 = null; this.o2 = null; - this.o3 = null; - } - - public Index getSuccess() { - return this.success; - } - - public void setSuccess(Index 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 InvalidObjectException getO1() { + public InvalidOperationException getO1() { return this.o1; } - public void setO1(InvalidObjectException o1) { + public void setO1(InvalidOperationException o1) { this.o1 = o1; } @@ -89510,11 +98587,11 @@ public void setO1IsSet(boolean value) { } } - public AlreadyExistsException getO2() { + public MetaException getO2() { return this.o2; } - public void setO2(AlreadyExistsException o2) { + public void setO2(MetaException o2) { this.o2 = o2; } @@ -89533,44 +98610,13 @@ public void setO2IsSet(boolean value) { } } - public MetaException getO3() { - return this.o3; - } - - public void setO3(MetaException o3) { - this.o3 = o3; - } - - public void unsetO3() { - this.o3 = null; - } - - /** Returns true if field o3 is set (has been assigned a value) and false otherwise */ - public boolean isSetO3() { - return this.o3 != null; - } - - public void setO3IsSet(boolean value) { - if (!value) { - this.o3 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { - case SUCCESS: - if (value == null) { - unsetSuccess(); - } else { - setSuccess((Index)value); - } - break; - case O1: if (value == null) { unsetO1(); } else { - setO1((InvalidObjectException)value); + setO1((InvalidOperationException)value); } break; @@ -89578,15 +98624,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((AlreadyExistsException)value); - } - break; - - case O3: - if (value == null) { - unsetO3(); - } else { - setO3((MetaException)value); + setO2((MetaException)value); } break; @@ -89595,18 +98633,12 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case SUCCESS: - return getSuccess(); - case O1: return getO1(); case O2: return getO2(); - case O3: - return getO3(); - } throw new IllegalStateException(); } @@ -89618,14 +98650,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); case O1: return isSetO1(); case O2: return isSetO2(); - case O3: - return isSetO3(); } throw new IllegalStateException(); } @@ -89634,24 +98662,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof add_index_result) - return this.equals((add_index_result)that); + if (that instanceof alter_index_result) + return this.equals((alter_index_result)that); return false; } - public boolean equals(add_index_result that) { + public boolean equals(alter_index_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) { @@ -89670,89 +98689,50 @@ public boolean equals(add_index_result that) { return false; } - boolean this_present_o3 = true && this.isSetO3(); - boolean that_present_o3 = true && that.isSetO3(); - if (this_present_o3 || that_present_o3) { - if (!(this_present_o3 && that_present_o3)) - return false; - if (!this.o3.equals(that.o3)) - 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); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); - if (present_o3) - builder.append(o3); - - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(add_index_result other) { + @Override + public int compareTo(alter_index_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_index_result typedOther = (add_index_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()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -89774,17 +98754,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("add_index_result("); + StringBuilder sb = new StringBuilder("alter_index_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"); @@ -89800,14 +98772,6 @@ public String toString() { sb.append(this.o2); } first = false; - if (!first) sb.append(", "); - sb.append("o3:"); - if (this.o3 == null) { - sb.append("null"); - } else { - sb.append(this.o3); - } - first = false; sb.append(")"); return sb.toString(); } @@ -89815,9 +98779,6 @@ public String 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 { @@ -89836,15 +98797,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class add_index_resultStandardSchemeFactory implements SchemeFactory { - public add_index_resultStandardScheme getScheme() { - return new add_index_resultStandardScheme(); + private static class alter_index_resultStandardSchemeFactory implements SchemeFactory { + public alter_index_resultStandardScheme getScheme() { + return new alter_index_resultStandardScheme(); } } - private static class add_index_resultStandardScheme extends StandardScheme { + private static class alter_index_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, add_index_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, alter_index_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -89854,18 +98815,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_index_result st break; } switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new Index(); - 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 InvalidObjectException(); + struct.o1 = new InvalidOperationException(); struct.o1.read(iprot); struct.setO1IsSet(true); } else { @@ -89874,22 +98826,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_index_result st break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new AlreadyExistsException(); + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // O3 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new MetaException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -89899,15 +98842,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_index_result st struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, add_index_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, alter_index_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); @@ -89918,110 +98856,83 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_index_result s struct.o2.write(oprot); oprot.writeFieldEnd(); } - if (struct.o3 != null) { - oprot.writeFieldBegin(O3_FIELD_DESC); - struct.o3.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class add_index_resultTupleSchemeFactory implements SchemeFactory { - public add_index_resultTupleScheme getScheme() { - return new add_index_resultTupleScheme(); + private static class alter_index_resultTupleSchemeFactory implements SchemeFactory { + public alter_index_resultTupleScheme getScheme() { + return new alter_index_resultTupleScheme(); } } - private static class add_index_resultTupleScheme extends TupleScheme { + private static class alter_index_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, add_index_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, alter_index_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); + optionals.set(0); } if (struct.isSetO2()) { - optionals.set(2); - } - if (struct.isSetO3()) { - optionals.set(3); - } - oprot.writeBitSet(optionals, 4); - if (struct.isSetSuccess()) { - struct.success.write(oprot); + optionals.set(1); } + oprot.writeBitSet(optionals, 2); if (struct.isSetO1()) { struct.o1.write(oprot); } if (struct.isSetO2()) { struct.o2.write(oprot); } - if (struct.isSetO3()) { - struct.o3.write(oprot); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, add_index_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, alter_index_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.success = new Index(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.o1 = new InvalidObjectException(); + struct.o1 = new InvalidOperationException(); struct.o1.read(iprot); struct.setO1IsSet(true); } - if (incoming.get(2)) { - struct.o2 = new AlreadyExistsException(); + if (incoming.get(1)) { + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } - if (incoming.get(3)) { - struct.o3 = new MetaException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); - } } } } - public static class alter_index_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("alter_index_args"); + public static class drop_index_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_index_by_name_args"); - private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField BASE_TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("base_tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField IDX_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("idx_name", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField NEW_IDX_FIELD_DESC = new org.apache.thrift.protocol.TField("new_idx", org.apache.thrift.protocol.TType.STRUCT, (short)4); + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField INDEX_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("index_name", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField DELETE_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("deleteData", org.apache.thrift.protocol.TType.BOOL, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new alter_index_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new alter_index_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new drop_index_by_name_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new drop_index_by_name_argsTupleSchemeFactory()); } - private String dbname; // required - private String base_tbl_name; // required - private String idx_name; // required - private Index new_idx; // required + private String db_name; // required + private String tbl_name; // required + private String index_name; // required + private boolean deleteData; // 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 { - DBNAME((short)1, "dbname"), - BASE_TBL_NAME((short)2, "base_tbl_name"), - IDX_NAME((short)3, "idx_name"), - NEW_IDX((short)4, "new_idx"); + DB_NAME((short)1, "db_name"), + TBL_NAME((short)2, "tbl_name"), + INDEX_NAME((short)3, "index_name"), + DELETE_DATA((short)4, "deleteData"); private static final Map byName = new HashMap(); @@ -90036,14 +98947,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_index_result str */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DBNAME - return DBNAME; - case 2: // BASE_TBL_NAME - return BASE_TBL_NAME; - case 3: // IDX_NAME - return IDX_NAME; - case 4: // NEW_IDX - return NEW_IDX; + case 1: // DB_NAME + return DB_NAME; + case 2: // TBL_NAME + return TBL_NAME; + case 3: // INDEX_NAME + return INDEX_NAME; + case 4: // DELETE_DATA + return DELETE_DATA; default: return null; } @@ -90084,190 +98995,192 @@ public String getFieldName() { } // isset id assignments + private static final int __DELETEDATA_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DBNAME, new org.apache.thrift.meta_data.FieldMetaData("dbname", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.BASE_TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("base_tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.IDX_NAME, new org.apache.thrift.meta_data.FieldMetaData("idx_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.INDEX_NAME, new org.apache.thrift.meta_data.FieldMetaData("index_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.NEW_IDX, new org.apache.thrift.meta_data.FieldMetaData("new_idx", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Index.class))); + tmpMap.put(_Fields.DELETE_DATA, new org.apache.thrift.meta_data.FieldMetaData("deleteData", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(alter_index_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(drop_index_by_name_args.class, metaDataMap); } - public alter_index_args() { + public drop_index_by_name_args() { } - public alter_index_args( - String dbname, - String base_tbl_name, - String idx_name, - Index new_idx) + public drop_index_by_name_args( + String db_name, + String tbl_name, + String index_name, + boolean deleteData) { this(); - this.dbname = dbname; - this.base_tbl_name = base_tbl_name; - this.idx_name = idx_name; - this.new_idx = new_idx; + this.db_name = db_name; + this.tbl_name = tbl_name; + this.index_name = index_name; + this.deleteData = deleteData; + setDeleteDataIsSet(true); } /** * Performs a deep copy on other. */ - public alter_index_args(alter_index_args other) { - if (other.isSetDbname()) { - this.dbname = other.dbname; - } - if (other.isSetBase_tbl_name()) { - this.base_tbl_name = other.base_tbl_name; + public drop_index_by_name_args(drop_index_by_name_args other) { + __isset_bitfield = other.__isset_bitfield; + if (other.isSetDb_name()) { + this.db_name = other.db_name; } - if (other.isSetIdx_name()) { - this.idx_name = other.idx_name; + if (other.isSetTbl_name()) { + this.tbl_name = other.tbl_name; } - if (other.isSetNew_idx()) { - this.new_idx = new Index(other.new_idx); + if (other.isSetIndex_name()) { + this.index_name = other.index_name; } + this.deleteData = other.deleteData; } - public alter_index_args deepCopy() { - return new alter_index_args(this); + public drop_index_by_name_args deepCopy() { + return new drop_index_by_name_args(this); } @Override public void clear() { - this.dbname = null; - this.base_tbl_name = null; - this.idx_name = null; - this.new_idx = null; + this.db_name = null; + this.tbl_name = null; + this.index_name = null; + setDeleteDataIsSet(false); + this.deleteData = false; } - public String getDbname() { - return this.dbname; + public String getDb_name() { + return this.db_name; } - public void setDbname(String dbname) { - this.dbname = dbname; + public void setDb_name(String db_name) { + this.db_name = db_name; } - public void unsetDbname() { - this.dbname = null; + public void unsetDb_name() { + this.db_name = null; } - /** Returns true if field dbname is set (has been assigned a value) and false otherwise */ - public boolean isSetDbname() { - return this.dbname != null; + /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ + public boolean isSetDb_name() { + return this.db_name != null; } - public void setDbnameIsSet(boolean value) { + public void setDb_nameIsSet(boolean value) { if (!value) { - this.dbname = null; + this.db_name = null; } } - public String getBase_tbl_name() { - return this.base_tbl_name; + public String getTbl_name() { + return this.tbl_name; } - public void setBase_tbl_name(String base_tbl_name) { - this.base_tbl_name = base_tbl_name; + public void setTbl_name(String tbl_name) { + this.tbl_name = tbl_name; } - public void unsetBase_tbl_name() { - this.base_tbl_name = null; + public void unsetTbl_name() { + this.tbl_name = null; } - /** Returns true if field base_tbl_name is set (has been assigned a value) and false otherwise */ - public boolean isSetBase_tbl_name() { - return this.base_tbl_name != null; + /** Returns true if field tbl_name is set (has been assigned a value) and false otherwise */ + public boolean isSetTbl_name() { + return this.tbl_name != null; } - public void setBase_tbl_nameIsSet(boolean value) { + public void setTbl_nameIsSet(boolean value) { if (!value) { - this.base_tbl_name = null; + this.tbl_name = null; } } - public String getIdx_name() { - return this.idx_name; + public String getIndex_name() { + return this.index_name; } - public void setIdx_name(String idx_name) { - this.idx_name = idx_name; + public void setIndex_name(String index_name) { + this.index_name = index_name; } - public void unsetIdx_name() { - this.idx_name = null; + public void unsetIndex_name() { + this.index_name = null; } - /** Returns true if field idx_name is set (has been assigned a value) and false otherwise */ - public boolean isSetIdx_name() { - return this.idx_name != null; + /** Returns true if field index_name is set (has been assigned a value) and false otherwise */ + public boolean isSetIndex_name() { + return this.index_name != null; } - public void setIdx_nameIsSet(boolean value) { + public void setIndex_nameIsSet(boolean value) { if (!value) { - this.idx_name = null; + this.index_name = null; } } - public Index getNew_idx() { - return this.new_idx; + public boolean isDeleteData() { + return this.deleteData; } - public void setNew_idx(Index new_idx) { - this.new_idx = new_idx; + public void setDeleteData(boolean deleteData) { + this.deleteData = deleteData; + setDeleteDataIsSet(true); } - public void unsetNew_idx() { - this.new_idx = null; + public void unsetDeleteData() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __DELETEDATA_ISSET_ID); } - /** Returns true if field new_idx is set (has been assigned a value) and false otherwise */ - public boolean isSetNew_idx() { - return this.new_idx != null; + /** Returns true if field deleteData is set (has been assigned a value) and false otherwise */ + public boolean isSetDeleteData() { + return EncodingUtils.testBit(__isset_bitfield, __DELETEDATA_ISSET_ID); } - public void setNew_idxIsSet(boolean value) { - if (!value) { - this.new_idx = null; - } + public void setDeleteDataIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __DELETEDATA_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { - case DBNAME: + case DB_NAME: if (value == null) { - unsetDbname(); + unsetDb_name(); } else { - setDbname((String)value); + setDb_name((String)value); } break; - case BASE_TBL_NAME: + case TBL_NAME: if (value == null) { - unsetBase_tbl_name(); + unsetTbl_name(); } else { - setBase_tbl_name((String)value); + setTbl_name((String)value); } break; - case IDX_NAME: + case INDEX_NAME: if (value == null) { - unsetIdx_name(); + unsetIndex_name(); } else { - setIdx_name((String)value); + setIndex_name((String)value); } break; - case NEW_IDX: + case DELETE_DATA: if (value == null) { - unsetNew_idx(); + unsetDeleteData(); } else { - setNew_idx((Index)value); + setDeleteData((Boolean)value); } break; @@ -90276,17 +99189,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case DBNAME: - return getDbname(); + case DB_NAME: + return getDb_name(); - case BASE_TBL_NAME: - return getBase_tbl_name(); + case TBL_NAME: + return getTbl_name(); - case IDX_NAME: - return getIdx_name(); + case INDEX_NAME: + return getIndex_name(); - case NEW_IDX: - return getNew_idx(); + case DELETE_DATA: + return Boolean.valueOf(isDeleteData()); } throw new IllegalStateException(); @@ -90299,14 +99212,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case DBNAME: - return isSetDbname(); - case BASE_TBL_NAME: - return isSetBase_tbl_name(); - case IDX_NAME: - return isSetIdx_name(); - case NEW_IDX: - return isSetNew_idx(); + case DB_NAME: + return isSetDb_name(); + case TBL_NAME: + return isSetTbl_name(); + case INDEX_NAME: + return isSetIndex_name(); + case DELETE_DATA: + return isSetDeleteData(); } throw new IllegalStateException(); } @@ -90315,48 +99228,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof alter_index_args) - return this.equals((alter_index_args)that); + if (that instanceof drop_index_by_name_args) + return this.equals((drop_index_by_name_args)that); return false; } - public boolean equals(alter_index_args that) { + public boolean equals(drop_index_by_name_args that) { if (that == null) return false; - boolean this_present_dbname = true && this.isSetDbname(); - boolean that_present_dbname = true && that.isSetDbname(); - if (this_present_dbname || that_present_dbname) { - if (!(this_present_dbname && that_present_dbname)) + boolean this_present_db_name = true && this.isSetDb_name(); + boolean that_present_db_name = true && that.isSetDb_name(); + if (this_present_db_name || that_present_db_name) { + if (!(this_present_db_name && that_present_db_name)) return false; - if (!this.dbname.equals(that.dbname)) + if (!this.db_name.equals(that.db_name)) return false; } - boolean this_present_base_tbl_name = true && this.isSetBase_tbl_name(); - boolean that_present_base_tbl_name = true && that.isSetBase_tbl_name(); - if (this_present_base_tbl_name || that_present_base_tbl_name) { - if (!(this_present_base_tbl_name && that_present_base_tbl_name)) + boolean this_present_tbl_name = true && this.isSetTbl_name(); + boolean that_present_tbl_name = true && that.isSetTbl_name(); + if (this_present_tbl_name || that_present_tbl_name) { + if (!(this_present_tbl_name && that_present_tbl_name)) return false; - if (!this.base_tbl_name.equals(that.base_tbl_name)) + if (!this.tbl_name.equals(that.tbl_name)) return false; } - boolean this_present_idx_name = true && this.isSetIdx_name(); - boolean that_present_idx_name = true && that.isSetIdx_name(); - if (this_present_idx_name || that_present_idx_name) { - if (!(this_present_idx_name && that_present_idx_name)) + boolean this_present_index_name = true && this.isSetIndex_name(); + boolean that_present_index_name = true && that.isSetIndex_name(); + if (this_present_index_name || that_present_index_name) { + if (!(this_present_index_name && that_present_index_name)) return false; - if (!this.idx_name.equals(that.idx_name)) + if (!this.index_name.equals(that.index_name)) return false; } - boolean this_present_new_idx = true && this.isSetNew_idx(); - boolean that_present_new_idx = true && that.isSetNew_idx(); - if (this_present_new_idx || that_present_new_idx) { - if (!(this_present_new_idx && that_present_new_idx)) + boolean this_present_deleteData = true; + boolean that_present_deleteData = true; + if (this_present_deleteData || that_present_deleteData) { + if (!(this_present_deleteData && that_present_deleteData)) return false; - if (!this.new_idx.equals(that.new_idx)) + if (this.deleteData != that.deleteData) return false; } @@ -90365,75 +99278,75 @@ public boolean equals(alter_index_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_dbname = true && (isSetDbname()); - builder.append(present_dbname); - if (present_dbname) - builder.append(dbname); + boolean present_db_name = true && (isSetDb_name()); + list.add(present_db_name); + if (present_db_name) + list.add(db_name); - boolean present_base_tbl_name = true && (isSetBase_tbl_name()); - builder.append(present_base_tbl_name); - if (present_base_tbl_name) - builder.append(base_tbl_name); + boolean present_tbl_name = true && (isSetTbl_name()); + list.add(present_tbl_name); + if (present_tbl_name) + list.add(tbl_name); - boolean present_idx_name = true && (isSetIdx_name()); - builder.append(present_idx_name); - if (present_idx_name) - builder.append(idx_name); + boolean present_index_name = true && (isSetIndex_name()); + list.add(present_index_name); + if (present_index_name) + list.add(index_name); - boolean present_new_idx = true && (isSetNew_idx()); - builder.append(present_new_idx); - if (present_new_idx) - builder.append(new_idx); + boolean present_deleteData = true; + list.add(present_deleteData); + if (present_deleteData) + list.add(deleteData); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(alter_index_args other) { + @Override + public int compareTo(drop_index_by_name_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_index_args typedOther = (alter_index_args)other; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(typedOther.isSetDbname()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } - if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, typedOther.dbname); + if (isSetDb_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetBase_tbl_name()).compareTo(typedOther.isSetBase_tbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } - if (isSetBase_tbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.base_tbl_name, typedOther.base_tbl_name); + if (isSetTbl_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIdx_name()).compareTo(typedOther.isSetIdx_name()); + lastComparison = Boolean.valueOf(isSetIndex_name()).compareTo(other.isSetIndex_name()); if (lastComparison != 0) { return lastComparison; } - if (isSetIdx_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.idx_name, typedOther.idx_name); + if (isSetIndex_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.index_name, other.index_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNew_idx()).compareTo(typedOther.isSetNew_idx()); + lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(other.isSetDeleteData()); if (lastComparison != 0) { return lastComparison; } - if (isSetNew_idx()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.new_idx, typedOther.new_idx); + if (isSetDeleteData()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, other.deleteData); if (lastComparison != 0) { return lastComparison; } @@ -90455,39 +99368,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("alter_index_args("); + StringBuilder sb = new StringBuilder("drop_index_by_name_args("); boolean first = true; - sb.append("dbname:"); - if (this.dbname == null) { + sb.append("db_name:"); + if (this.db_name == null) { sb.append("null"); } else { - sb.append(this.dbname); + sb.append(this.db_name); } first = false; if (!first) sb.append(", "); - sb.append("base_tbl_name:"); - if (this.base_tbl_name == null) { + sb.append("tbl_name:"); + if (this.tbl_name == null) { sb.append("null"); } else { - sb.append(this.base_tbl_name); + sb.append(this.tbl_name); } first = false; if (!first) sb.append(", "); - sb.append("idx_name:"); - if (this.idx_name == null) { + sb.append("index_name:"); + if (this.index_name == null) { sb.append("null"); } else { - sb.append(this.idx_name); + sb.append(this.index_name); } first = false; if (!first) sb.append(", "); - sb.append("new_idx:"); - if (this.new_idx == null) { - sb.append("null"); - } else { - sb.append(this.new_idx); - } + sb.append("deleteData:"); + sb.append(this.deleteData); first = false; sb.append(")"); return sb.toString(); @@ -90496,9 +99405,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if (new_idx != null) { - new_idx.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -90511,21 +99417,23 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class alter_index_argsStandardSchemeFactory implements SchemeFactory { - public alter_index_argsStandardScheme getScheme() { - return new alter_index_argsStandardScheme(); + private static class drop_index_by_name_argsStandardSchemeFactory implements SchemeFactory { + public drop_index_by_name_argsStandardScheme getScheme() { + return new drop_index_by_name_argsStandardScheme(); } } - private static class alter_index_argsStandardScheme extends StandardScheme { + private static class drop_index_by_name_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, alter_index_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, drop_index_by_name_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -90535,35 +99443,34 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_index_args st break; } switch (schemeField.id) { - case 1: // DBNAME + case 1: // DB_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.dbname = iprot.readString(); - struct.setDbnameIsSet(true); + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // BASE_TBL_NAME + case 2: // TBL_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.base_tbl_name = iprot.readString(); - struct.setBase_tbl_nameIsSet(true); + struct.tbl_name = iprot.readString(); + struct.setTbl_nameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // IDX_NAME + case 3: // INDEX_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.idx_name = iprot.readString(); - struct.setIdx_nameIsSet(true); + struct.index_name = iprot.readString(); + struct.setIndex_nameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // NEW_IDX - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.new_idx = new Index(); - struct.new_idx.read(iprot); - struct.setNew_idxIsSet(true); + case 4: // DELETE_DATA + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.deleteData = iprot.readBool(); + struct.setDeleteDataIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -90577,118 +99484,118 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_index_args st struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, alter_index_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, drop_index_by_name_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.dbname != null) { - oprot.writeFieldBegin(DBNAME_FIELD_DESC); - oprot.writeString(struct.dbname); - oprot.writeFieldEnd(); - } - if (struct.base_tbl_name != null) { - oprot.writeFieldBegin(BASE_TBL_NAME_FIELD_DESC); - oprot.writeString(struct.base_tbl_name); + if (struct.db_name != null) { + oprot.writeFieldBegin(DB_NAME_FIELD_DESC); + oprot.writeString(struct.db_name); oprot.writeFieldEnd(); } - if (struct.idx_name != null) { - oprot.writeFieldBegin(IDX_NAME_FIELD_DESC); - oprot.writeString(struct.idx_name); + if (struct.tbl_name != null) { + oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); + oprot.writeString(struct.tbl_name); oprot.writeFieldEnd(); } - if (struct.new_idx != null) { - oprot.writeFieldBegin(NEW_IDX_FIELD_DESC); - struct.new_idx.write(oprot); + if (struct.index_name != null) { + oprot.writeFieldBegin(INDEX_NAME_FIELD_DESC); + oprot.writeString(struct.index_name); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(DELETE_DATA_FIELD_DESC); + oprot.writeBool(struct.deleteData); + oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class alter_index_argsTupleSchemeFactory implements SchemeFactory { - public alter_index_argsTupleScheme getScheme() { - return new alter_index_argsTupleScheme(); + private static class drop_index_by_name_argsTupleSchemeFactory implements SchemeFactory { + public drop_index_by_name_argsTupleScheme getScheme() { + return new drop_index_by_name_argsTupleScheme(); } } - private static class alter_index_argsTupleScheme extends TupleScheme { + private static class drop_index_by_name_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, alter_index_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetDbname()) { + if (struct.isSetDb_name()) { optionals.set(0); } - if (struct.isSetBase_tbl_name()) { + if (struct.isSetTbl_name()) { optionals.set(1); } - if (struct.isSetIdx_name()) { + if (struct.isSetIndex_name()) { optionals.set(2); } - if (struct.isSetNew_idx()) { + if (struct.isSetDeleteData()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); - if (struct.isSetDbname()) { - oprot.writeString(struct.dbname); + if (struct.isSetDb_name()) { + oprot.writeString(struct.db_name); } - if (struct.isSetBase_tbl_name()) { - oprot.writeString(struct.base_tbl_name); + if (struct.isSetTbl_name()) { + oprot.writeString(struct.tbl_name); } - if (struct.isSetIdx_name()) { - oprot.writeString(struct.idx_name); + if (struct.isSetIndex_name()) { + oprot.writeString(struct.index_name); } - if (struct.isSetNew_idx()) { - struct.new_idx.write(oprot); + if (struct.isSetDeleteData()) { + oprot.writeBool(struct.deleteData); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, alter_index_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { - struct.dbname = iprot.readString(); - struct.setDbnameIsSet(true); + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); } if (incoming.get(1)) { - struct.base_tbl_name = iprot.readString(); - struct.setBase_tbl_nameIsSet(true); + struct.tbl_name = iprot.readString(); + struct.setTbl_nameIsSet(true); } if (incoming.get(2)) { - struct.idx_name = iprot.readString(); - struct.setIdx_nameIsSet(true); + struct.index_name = iprot.readString(); + struct.setIndex_nameIsSet(true); } if (incoming.get(3)) { - struct.new_idx = new Index(); - struct.new_idx.read(iprot); - struct.setNew_idxIsSet(true); + struct.deleteData = iprot.readBool(); + struct.setDeleteDataIsSet(true); } } } } - public static class alter_index_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("alter_index_result"); + public static class drop_index_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_index_by_name_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (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 alter_index_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new alter_index_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new drop_index_by_name_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new drop_index_by_name_resultTupleSchemeFactory()); } - private InvalidOperationException o1; // required + private boolean success; // required + private NoSuchObjectException o1; // required private MetaException 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"); @@ -90705,6 +99612,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_index_args str */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // O1 return O1; case 2: // O2 @@ -90749,25 +99658,32 @@ public String getFieldName() { } // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); 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(alter_index_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(drop_index_by_name_result.class, metaDataMap); } - public alter_index_result() { + public drop_index_by_name_result() { } - public alter_index_result( - InvalidOperationException o1, + public drop_index_by_name_result( + boolean success, + NoSuchObjectException o1, MetaException o2) { this(); + this.success = success; + setSuccessIsSet(true); this.o1 = o1; this.o2 = o2; } @@ -90775,30 +99691,56 @@ public alter_index_result( /** * Performs a deep copy on other. */ - public alter_index_result(alter_index_result other) { + public drop_index_by_name_result(drop_index_by_name_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; if (other.isSetO1()) { - this.o1 = new InvalidOperationException(other.o1); + this.o1 = new NoSuchObjectException(other.o1); } if (other.isSetO2()) { this.o2 = new MetaException(other.o2); } } - public alter_index_result deepCopy() { - return new alter_index_result(this); + public drop_index_by_name_result deepCopy() { + return new drop_index_by_name_result(this); } @Override public void clear() { + setSuccessIsSet(false); + this.success = false; this.o1 = null; this.o2 = null; } - public InvalidOperationException getO1() { + public boolean isSuccess() { + return this.success; + } + + public void setSuccess(boolean success) { + this.success = success; + setSuccessIsSet(true); + } + + public void unsetSuccess() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + } + + public NoSuchObjectException getO1() { return this.o1; } - public void setO1(InvalidOperationException o1) { + public void setO1(NoSuchObjectException o1) { this.o1 = o1; } @@ -90842,11 +99784,19 @@ public void setO2IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((Boolean)value); + } + break; + case O1: if (value == null) { unsetO1(); } else { - setO1((InvalidOperationException)value); + setO1((NoSuchObjectException)value); } break; @@ -90863,6 +99813,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return Boolean.valueOf(isSuccess()); + case O1: return getO1(); @@ -90880,6 +99833,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case O1: return isSetO1(); case O2: @@ -90892,15 +99847,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof alter_index_result) - return this.equals((alter_index_result)that); + if (that instanceof drop_index_by_name_result) + return this.equals((drop_index_by_name_result)that); return false; } - public boolean equals(alter_index_result that) { + public boolean equals(drop_index_by_name_result that) { if (that == null) return false; + boolean this_present_success = true; + boolean that_present_success = true; + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (this.success != 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) { @@ -90924,45 +99888,60 @@ public boolean equals(alter_index_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); + + boolean present_success = true; + list.add(present_success); + if (present_success) + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(alter_index_result other) { + @Override + public int compareTo(drop_index_by_name_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_index_result typedOther = (alter_index_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -90984,9 +99963,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("alter_index_result("); + StringBuilder sb = new StringBuilder("drop_index_by_name_result("); boolean first = true; + sb.append("success:"); + sb.append(this.success); + first = false; + if (!first) sb.append(", "); sb.append("o1:"); if (this.o1 == null) { sb.append("null"); @@ -91021,21 +100004,23 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class alter_index_resultStandardSchemeFactory implements SchemeFactory { - public alter_index_resultStandardScheme getScheme() { - return new alter_index_resultStandardScheme(); + private static class drop_index_by_name_resultStandardSchemeFactory implements SchemeFactory { + public drop_index_by_name_resultStandardScheme getScheme() { + return new drop_index_by_name_resultStandardScheme(); } } - private static class alter_index_resultStandardScheme extends StandardScheme { + private static class drop_index_by_name_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, alter_index_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, drop_index_by_name_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -91045,9 +100030,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_index_result break; } switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + 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 InvalidOperationException(); + struct.o1 = new NoSuchObjectException(); struct.o1.read(iprot); struct.setO1IsSet(true); } else { @@ -91072,10 +100065,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_index_result struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, alter_index_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, drop_index_by_name_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if (struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } if (struct.o1 != null) { oprot.writeFieldBegin(O1_FIELD_DESC); struct.o1.write(oprot); @@ -91092,25 +100090,31 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_index_result } - private static class alter_index_resultTupleSchemeFactory implements SchemeFactory { - public alter_index_resultTupleScheme getScheme() { - return new alter_index_resultTupleScheme(); + private static class drop_index_by_name_resultTupleSchemeFactory implements SchemeFactory { + public drop_index_by_name_resultTupleScheme getScheme() { + return new drop_index_by_name_resultTupleScheme(); } } - private static class alter_index_resultTupleScheme extends TupleScheme { + private static class drop_index_by_name_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, alter_index_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetO1()) { + if (struct.isSetSuccess()) { optionals.set(0); } - if (struct.isSetO2()) { + if (struct.isSetO1()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); + if (struct.isSetO2()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if (struct.isSetSuccess()) { + oprot.writeBool(struct.success); + } if (struct.isSetO1()) { struct.o1.write(oprot); } @@ -91120,15 +100124,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_index_result } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, alter_index_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.o1 = new InvalidOperationException(); + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.o1 = new NoSuchObjectException(); struct.o1.read(iprot); struct.setO1IsSet(true); } - if (incoming.get(1)) { + if (incoming.get(2)) { struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); @@ -91138,31 +100146,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_index_result s } - public static class drop_index_by_name_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("drop_index_by_name_args"); + public static class get_index_by_name_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_index_by_name_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField INDEX_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("index_name", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField DELETE_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("deleteData", org.apache.thrift.protocol.TType.BOOL, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new drop_index_by_name_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new drop_index_by_name_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_index_by_name_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_index_by_name_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required private String index_name; // required - private boolean deleteData; // 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 { DB_NAME((short)1, "db_name"), TBL_NAME((short)2, "tbl_name"), - INDEX_NAME((short)3, "index_name"), - DELETE_DATA((short)4, "deleteData"); + INDEX_NAME((short)3, "index_name"); private static final Map byName = new HashMap(); @@ -91183,8 +100188,6 @@ public static _Fields findByThriftId(int fieldId) { return TBL_NAME; case 3: // INDEX_NAME return INDEX_NAME; - case 4: // DELETE_DATA - return DELETE_DATA; default: return null; } @@ -91225,8 +100228,6 @@ public String getFieldName() { } // isset id assignments - private static final int __DELETEDATA_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -91236,34 +100237,28 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.INDEX_NAME, new org.apache.thrift.meta_data.FieldMetaData("index_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.DELETE_DATA, new org.apache.thrift.meta_data.FieldMetaData("deleteData", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(drop_index_by_name_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_index_by_name_args.class, metaDataMap); } - public drop_index_by_name_args() { + public get_index_by_name_args() { } - public drop_index_by_name_args( + public get_index_by_name_args( String db_name, String tbl_name, - String index_name, - boolean deleteData) + String index_name) { this(); this.db_name = db_name; this.tbl_name = tbl_name; this.index_name = index_name; - this.deleteData = deleteData; - setDeleteDataIsSet(true); } /** * Performs a deep copy on other. */ - public drop_index_by_name_args(drop_index_by_name_args other) { - __isset_bitfield = other.__isset_bitfield; + public get_index_by_name_args(get_index_by_name_args other) { if (other.isSetDb_name()) { this.db_name = other.db_name; } @@ -91273,11 +100268,10 @@ public drop_index_by_name_args(drop_index_by_name_args other) { if (other.isSetIndex_name()) { this.index_name = other.index_name; } - this.deleteData = other.deleteData; } - public drop_index_by_name_args deepCopy() { - return new drop_index_by_name_args(this); + public get_index_by_name_args deepCopy() { + return new get_index_by_name_args(this); } @Override @@ -91285,8 +100279,6 @@ public void clear() { this.db_name = null; this.tbl_name = null; this.index_name = null; - setDeleteDataIsSet(false); - this.deleteData = false; } public String getDb_name() { @@ -91358,28 +100350,6 @@ public void setIndex_nameIsSet(boolean value) { } } - public boolean isDeleteData() { - return this.deleteData; - } - - public void setDeleteData(boolean deleteData) { - this.deleteData = deleteData; - setDeleteDataIsSet(true); - } - - public void unsetDeleteData() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __DELETEDATA_ISSET_ID); - } - - /** Returns true if field deleteData is set (has been assigned a value) and false otherwise */ - public boolean isSetDeleteData() { - return EncodingUtils.testBit(__isset_bitfield, __DELETEDATA_ISSET_ID); - } - - public void setDeleteDataIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __DELETEDATA_ISSET_ID, value); - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case DB_NAME: @@ -91406,14 +100376,6 @@ public void setFieldValue(_Fields field, Object value) { } break; - case DELETE_DATA: - if (value == null) { - unsetDeleteData(); - } else { - setDeleteData((Boolean)value); - } - break; - } } @@ -91428,9 +100390,6 @@ public Object getFieldValue(_Fields field) { case INDEX_NAME: return getIndex_name(); - case DELETE_DATA: - return Boolean.valueOf(isDeleteData()); - } throw new IllegalStateException(); } @@ -91448,8 +100407,6 @@ public boolean isSet(_Fields field) { return isSetTbl_name(); case INDEX_NAME: return isSetIndex_name(); - case DELETE_DATA: - return isSetDeleteData(); } throw new IllegalStateException(); } @@ -91458,12 +100415,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof drop_index_by_name_args) - return this.equals((drop_index_by_name_args)that); + if (that instanceof get_index_by_name_args) + return this.equals((get_index_by_name_args)that); return false; } - public boolean equals(drop_index_by_name_args that) { + public boolean equals(get_index_by_name_args that) { if (that == null) return false; @@ -91494,89 +100451,65 @@ public boolean equals(drop_index_by_name_args that) { return false; } - boolean this_present_deleteData = true; - boolean that_present_deleteData = true; - if (this_present_deleteData || that_present_deleteData) { - if (!(this_present_deleteData && that_present_deleteData)) - return false; - if (this.deleteData != that.deleteData) - return false; - } - return true; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_index_name = true && (isSetIndex_name()); - builder.append(present_index_name); + list.add(present_index_name); if (present_index_name) - builder.append(index_name); + list.add(index_name); - boolean present_deleteData = true; - builder.append(present_deleteData); - if (present_deleteData) - builder.append(deleteData); - - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(drop_index_by_name_args other) { + @Override + public int compareTo(get_index_by_name_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_index_by_name_args typedOther = (drop_index_by_name_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIndex_name()).compareTo(typedOther.isSetIndex_name()); + lastComparison = Boolean.valueOf(isSetIndex_name()).compareTo(other.isSetIndex_name()); if (lastComparison != 0) { return lastComparison; } if (isSetIndex_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.index_name, typedOther.index_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetDeleteData()).compareTo(typedOther.isSetDeleteData()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDeleteData()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteData, typedOther.deleteData); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.index_name, other.index_name); if (lastComparison != 0) { return lastComparison; } @@ -91598,7 +100531,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("drop_index_by_name_args("); + StringBuilder sb = new StringBuilder("get_index_by_name_args("); boolean first = true; sb.append("db_name:"); @@ -91624,10 +100557,6 @@ public String toString() { sb.append(this.index_name); } first = false; - if (!first) sb.append(", "); - sb.append("deleteData:"); - sb.append(this.deleteData); - first = false; sb.append(")"); return sb.toString(); } @@ -91647,23 +100576,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class drop_index_by_name_argsStandardSchemeFactory implements SchemeFactory { - public drop_index_by_name_argsStandardScheme getScheme() { - return new drop_index_by_name_argsStandardScheme(); + private static class get_index_by_name_argsStandardSchemeFactory implements SchemeFactory { + public get_index_by_name_argsStandardScheme getScheme() { + return new get_index_by_name_argsStandardScheme(); } } - private static class drop_index_by_name_argsStandardScheme extends StandardScheme { + private static class get_index_by_name_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, drop_index_by_name_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_by_name_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -91697,14 +100624,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_index_by_name_ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // DELETE_DATA - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.deleteData = iprot.readBool(); - struct.setDeleteDataIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -91714,7 +100633,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_index_by_name_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, drop_index_by_name_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_by_name_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -91733,25 +100652,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_index_by_name oprot.writeString(struct.index_name); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(DELETE_DATA_FIELD_DESC); - oprot.writeBool(struct.deleteData); - oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class drop_index_by_name_argsTupleSchemeFactory implements SchemeFactory { - public drop_index_by_name_argsTupleScheme getScheme() { - return new drop_index_by_name_argsTupleScheme(); + private static class get_index_by_name_argsTupleSchemeFactory implements SchemeFactory { + public get_index_by_name_argsTupleScheme getScheme() { + return new get_index_by_name_argsTupleScheme(); } } - private static class drop_index_by_name_argsTupleScheme extends TupleScheme { + private static class get_index_by_name_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -91763,10 +100679,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_ if (struct.isSetIndex_name()) { optionals.set(2); } - if (struct.isSetDeleteData()) { - optionals.set(3); - } - oprot.writeBitSet(optionals, 4); + oprot.writeBitSet(optionals, 3); if (struct.isSetDb_name()) { oprot.writeString(struct.db_name); } @@ -91776,15 +100689,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_ if (struct.isSetIndex_name()) { oprot.writeString(struct.index_name); } - if (struct.isSetDeleteData()) { - oprot.writeBool(struct.deleteData); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.db_name = iprot.readString(); struct.setDb_nameIsSet(true); @@ -91797,31 +100707,27 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_a struct.index_name = iprot.readString(); struct.setIndex_nameIsSet(true); } - if (incoming.get(3)) { - struct.deleteData = iprot.readBool(); - struct.setDeleteDataIsSet(true); - } } } } - public static class drop_index_by_name_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("drop_index_by_name_result"); + public static class get_index_by_name_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_index_by_name_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); + 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 drop_index_by_name_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new drop_index_by_name_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_index_by_name_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_index_by_name_resultTupleSchemeFactory()); } - private boolean success; // required - private NoSuchObjectException o1; // required - private MetaException o2; // required + private Index 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 { @@ -91888,32 +100794,29 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Index.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(drop_index_by_name_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_index_by_name_result.class, metaDataMap); } - public drop_index_by_name_result() { + public get_index_by_name_result() { } - public drop_index_by_name_result( - boolean success, - NoSuchObjectException o1, - MetaException o2) + public get_index_by_name_result( + Index success, + MetaException o1, + NoSuchObjectException o2) { this(); this.success = success; - setSuccessIsSet(true); this.o1 = o1; this.o2 = o2; } @@ -91921,56 +100824,57 @@ public drop_index_by_name_result( /** * Performs a deep copy on other. */ - public drop_index_by_name_result(drop_index_by_name_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public get_index_by_name_result(get_index_by_name_result other) { + if (other.isSetSuccess()) { + this.success = new Index(other.success); + } if (other.isSetO1()) { - this.o1 = new NoSuchObjectException(other.o1); + this.o1 = new MetaException(other.o1); } if (other.isSetO2()) { - this.o2 = new MetaException(other.o2); + this.o2 = new NoSuchObjectException(other.o2); } } - public drop_index_by_name_result deepCopy() { - return new drop_index_by_name_result(this); + public get_index_by_name_result deepCopy() { + return new get_index_by_name_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; this.o1 = null; this.o2 = null; } - public boolean isSuccess() { + public Index getSuccess() { return this.success; } - public void setSuccess(boolean success) { + public void setSuccess(Index success) { this.success = success; - setSuccessIsSet(true); } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + this.success = null; } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + if (!value) { + this.success = null; + } } - public NoSuchObjectException getO1() { + public MetaException getO1() { return this.o1; } - public void setO1(NoSuchObjectException o1) { + public void setO1(MetaException o1) { this.o1 = o1; } @@ -91989,11 +100893,11 @@ public void setO1IsSet(boolean value) { } } - public MetaException getO2() { + public NoSuchObjectException getO2() { return this.o2; } - public void setO2(MetaException o2) { + public void setO2(NoSuchObjectException o2) { this.o2 = o2; } @@ -92018,7 +100922,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Boolean)value); + setSuccess((Index)value); } break; @@ -92026,7 +100930,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO1(); } else { - setO1((NoSuchObjectException)value); + setO1((MetaException)value); } break; @@ -92034,7 +100938,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((MetaException)value); + setO2((NoSuchObjectException)value); } break; @@ -92044,7 +100948,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return getSuccess(); case O1: return getO1(); @@ -92077,21 +100981,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof drop_index_by_name_result) - return this.equals((drop_index_by_name_result)that); + if (that instanceof get_index_by_name_result) + return this.equals((get_index_by_name_result)that); return false; } - public boolean equals(drop_index_by_name_result that) { + public boolean equals(get_index_by_name_result that) { if (that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + 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 != that.success) + if (!this.success.equals(that.success)) return false; } @@ -92118,60 +101022,60 @@ public boolean equals(drop_index_by_name_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_success = true; - builder.append(present_success); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(drop_index_by_name_result other) { + @Override + public int compareTo(get_index_by_name_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_index_by_name_result typedOther = (drop_index_by_name_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -92193,11 +101097,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("drop_index_by_name_result("); + StringBuilder sb = new StringBuilder("get_index_by_name_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } first = false; if (!first) sb.append(", "); sb.append("o1:"); @@ -92222,6 +101130,9 @@ public String 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 { @@ -92234,23 +101145,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class drop_index_by_name_resultStandardSchemeFactory implements SchemeFactory { - public drop_index_by_name_resultStandardScheme getScheme() { - return new drop_index_by_name_resultStandardScheme(); + private static class get_index_by_name_resultStandardSchemeFactory implements SchemeFactory { + public get_index_by_name_resultStandardScheme getScheme() { + return new get_index_by_name_resultStandardScheme(); } } - private static class drop_index_by_name_resultStandardScheme extends StandardScheme { + private static class get_index_by_name_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, drop_index_by_name_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_by_name_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -92261,8 +101170,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_index_by_name_ } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new Index(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -92270,7 +101180,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_index_by_name_ break; case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new NoSuchObjectException(); + struct.o1 = new MetaException(); struct.o1.read(iprot); struct.setO1IsSet(true); } else { @@ -92279,7 +101189,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_index_by_name_ break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new MetaException(); + struct.o2 = new NoSuchObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { @@ -92295,13 +101205,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_index_by_name_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, drop_index_by_name_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_by_name_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.isSetSuccess()) { + if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + struct.success.write(oprot); oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -92320,16 +101230,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_index_by_name } - private static class drop_index_by_name_resultTupleSchemeFactory implements SchemeFactory { - public drop_index_by_name_resultTupleScheme getScheme() { - return new drop_index_by_name_resultTupleScheme(); + private static class get_index_by_name_resultTupleSchemeFactory implements SchemeFactory { + public get_index_by_name_resultTupleScheme getScheme() { + return new get_index_by_name_resultTupleScheme(); } } - private static class drop_index_by_name_resultTupleScheme extends TupleScheme { + private static class get_index_by_name_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -92343,7 +101253,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_ } oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { - oprot.writeBool(struct.success); + struct.success.write(oprot); } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -92354,20 +101264,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = iprot.readBool(); + struct.success = new Index(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o1 = new NoSuchObjectException(); + struct.o1 = new MetaException(); struct.o1.read(iprot); struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new MetaException(); + struct.o2 = new NoSuchObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } @@ -92376,28 +101287,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_index_by_name_r } - public static class get_index_by_name_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_index_by_name_args"); + public static class get_indexes_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_indexes_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField INDEX_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("index_name", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField MAX_INDEXES_FIELD_DESC = new org.apache.thrift.protocol.TField("max_indexes", org.apache.thrift.protocol.TType.I16, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_index_by_name_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_index_by_name_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_indexes_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_indexes_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required - private String index_name; // required + private short max_indexes; // 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 { DB_NAME((short)1, "db_name"), TBL_NAME((short)2, "tbl_name"), - INDEX_NAME((short)3, "index_name"); + MAX_INDEXES((short)3, "max_indexes"); private static final Map byName = new HashMap(); @@ -92416,8 +101327,8 @@ public static _Fields findByThriftId(int fieldId) { return DB_NAME; case 2: // TBL_NAME return TBL_NAME; - case 3: // INDEX_NAME - return INDEX_NAME; + case 3: // MAX_INDEXES + return MAX_INDEXES; default: return null; } @@ -92458,6 +101369,8 @@ public String getFieldName() { } // isset id assignments + private static final int __MAX_INDEXES_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -92465,50 +101378,53 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.INDEX_NAME, new org.apache.thrift.meta_data.FieldMetaData("index_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.MAX_INDEXES, new org.apache.thrift.meta_data.FieldMetaData("max_indexes", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_index_by_name_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_indexes_args.class, metaDataMap); } - public get_index_by_name_args() { + public get_indexes_args() { + this.max_indexes = (short)-1; + } - public get_index_by_name_args( + public get_indexes_args( String db_name, String tbl_name, - String index_name) + short max_indexes) { this(); this.db_name = db_name; this.tbl_name = tbl_name; - this.index_name = index_name; + this.max_indexes = max_indexes; + setMax_indexesIsSet(true); } /** * Performs a deep copy on other. */ - public get_index_by_name_args(get_index_by_name_args other) { + public get_indexes_args(get_indexes_args other) { + __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; } if (other.isSetTbl_name()) { this.tbl_name = other.tbl_name; } - if (other.isSetIndex_name()) { - this.index_name = other.index_name; - } + this.max_indexes = other.max_indexes; } - public get_index_by_name_args deepCopy() { - return new get_index_by_name_args(this); + public get_indexes_args deepCopy() { + return new get_indexes_args(this); } @Override public void clear() { this.db_name = null; this.tbl_name = null; - this.index_name = null; + this.max_indexes = (short)-1; + } public String getDb_name() { @@ -92557,27 +101473,26 @@ public void setTbl_nameIsSet(boolean value) { } } - public String getIndex_name() { - return this.index_name; + public short getMax_indexes() { + return this.max_indexes; } - public void setIndex_name(String index_name) { - this.index_name = index_name; + public void setMax_indexes(short max_indexes) { + this.max_indexes = max_indexes; + setMax_indexesIsSet(true); } - public void unsetIndex_name() { - this.index_name = null; + public void unsetMax_indexes() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MAX_INDEXES_ISSET_ID); } - /** Returns true if field index_name is set (has been assigned a value) and false otherwise */ - public boolean isSetIndex_name() { - return this.index_name != null; + /** Returns true if field max_indexes is set (has been assigned a value) and false otherwise */ + public boolean isSetMax_indexes() { + return EncodingUtils.testBit(__isset_bitfield, __MAX_INDEXES_ISSET_ID); } - public void setIndex_nameIsSet(boolean value) { - if (!value) { - this.index_name = null; - } + public void setMax_indexesIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAX_INDEXES_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { @@ -92598,11 +101513,11 @@ public void setFieldValue(_Fields field, Object value) { } break; - case INDEX_NAME: + case MAX_INDEXES: if (value == null) { - unsetIndex_name(); + unsetMax_indexes(); } else { - setIndex_name((String)value); + setMax_indexes((Short)value); } break; @@ -92617,8 +101532,8 @@ public Object getFieldValue(_Fields field) { case TBL_NAME: return getTbl_name(); - case INDEX_NAME: - return getIndex_name(); + case MAX_INDEXES: + return Short.valueOf(getMax_indexes()); } throw new IllegalStateException(); @@ -92635,8 +101550,8 @@ public boolean isSet(_Fields field) { return isSetDb_name(); case TBL_NAME: return isSetTbl_name(); - case INDEX_NAME: - return isSetIndex_name(); + case MAX_INDEXES: + return isSetMax_indexes(); } throw new IllegalStateException(); } @@ -92645,12 +101560,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_index_by_name_args) - return this.equals((get_index_by_name_args)that); + if (that instanceof get_indexes_args) + return this.equals((get_indexes_args)that); return false; } - public boolean equals(get_index_by_name_args that) { + public boolean equals(get_indexes_args that) { if (that == null) return false; @@ -92672,12 +101587,12 @@ public boolean equals(get_index_by_name_args that) { return false; } - boolean this_present_index_name = true && this.isSetIndex_name(); - boolean that_present_index_name = true && that.isSetIndex_name(); - if (this_present_index_name || that_present_index_name) { - if (!(this_present_index_name && that_present_index_name)) + boolean this_present_max_indexes = true; + boolean that_present_max_indexes = true; + if (this_present_max_indexes || that_present_max_indexes) { + if (!(this_present_max_indexes && that_present_max_indexes)) return false; - if (!this.index_name.equals(that.index_name)) + if (this.max_indexes != that.max_indexes) return false; } @@ -92686,60 +101601,60 @@ public boolean equals(get_index_by_name_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); - boolean present_index_name = true && (isSetIndex_name()); - builder.append(present_index_name); - if (present_index_name) - builder.append(index_name); + boolean present_max_indexes = true; + list.add(present_max_indexes); + if (present_max_indexes) + list.add(max_indexes); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_index_by_name_args other) { + @Override + public int compareTo(get_indexes_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_index_by_name_args typedOther = (get_index_by_name_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIndex_name()).compareTo(typedOther.isSetIndex_name()); + lastComparison = Boolean.valueOf(isSetMax_indexes()).compareTo(other.isSetMax_indexes()); if (lastComparison != 0) { return lastComparison; } - if (isSetIndex_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.index_name, typedOther.index_name); + if (isSetMax_indexes()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_indexes, other.max_indexes); if (lastComparison != 0) { return lastComparison; } @@ -92761,7 +101676,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_index_by_name_args("); + StringBuilder sb = new StringBuilder("get_indexes_args("); boolean first = true; sb.append("db_name:"); @@ -92780,12 +101695,8 @@ public String toString() { } first = false; if (!first) sb.append(", "); - sb.append("index_name:"); - if (this.index_name == null) { - sb.append("null"); - } else { - sb.append(this.index_name); - } + sb.append("max_indexes:"); + sb.append(this.max_indexes); first = false; sb.append(")"); return sb.toString(); @@ -92806,21 +101717,23 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class get_index_by_name_argsStandardSchemeFactory implements SchemeFactory { - public get_index_by_name_argsStandardScheme getScheme() { - return new get_index_by_name_argsStandardScheme(); + private static class get_indexes_argsStandardSchemeFactory implements SchemeFactory { + public get_indexes_argsStandardScheme getScheme() { + return new get_indexes_argsStandardScheme(); } } - private static class get_index_by_name_argsStandardScheme extends StandardScheme { + private static class get_indexes_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_by_name_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -92846,10 +101759,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_by_name_a org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // INDEX_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.index_name = iprot.readString(); - struct.setIndex_nameIsSet(true); + case 3: // MAX_INDEXES + if (schemeField.type == org.apache.thrift.protocol.TType.I16) { + struct.max_indexes = iprot.readI16(); + struct.setMax_indexesIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -92863,7 +101776,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_by_name_a struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_by_name_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -92877,27 +101790,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_by_name_ oprot.writeString(struct.tbl_name); oprot.writeFieldEnd(); } - if (struct.index_name != null) { - oprot.writeFieldBegin(INDEX_NAME_FIELD_DESC); - oprot.writeString(struct.index_name); - oprot.writeFieldEnd(); - } + oprot.writeFieldBegin(MAX_INDEXES_FIELD_DESC); + oprot.writeI16(struct.max_indexes); + oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_index_by_name_argsTupleSchemeFactory implements SchemeFactory { - public get_index_by_name_argsTupleScheme getScheme() { - return new get_index_by_name_argsTupleScheme(); + private static class get_indexes_argsTupleSchemeFactory implements SchemeFactory { + public get_indexes_argsTupleScheme getScheme() { + return new get_indexes_argsTupleScheme(); } } - private static class get_index_by_name_argsTupleScheme extends TupleScheme { + private static class get_indexes_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -92906,7 +101817,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_a if (struct.isSetTbl_name()) { optionals.set(1); } - if (struct.isSetIndex_name()) { + if (struct.isSetMax_indexes()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); @@ -92916,13 +101827,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_a if (struct.isSetTbl_name()) { oprot.writeString(struct.tbl_name); } - if (struct.isSetIndex_name()) { - oprot.writeString(struct.index_name); + if (struct.isSetMax_indexes()) { + oprot.writeI16(struct.max_indexes); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { @@ -92934,30 +101845,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_ar struct.setTbl_nameIsSet(true); } if (incoming.get(2)) { - struct.index_name = iprot.readString(); - struct.setIndex_nameIsSet(true); + struct.max_indexes = iprot.readI16(); + struct.setMax_indexesIsSet(true); } } } } - public static class get_index_by_name_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_index_by_name_result"); + public static class get_indexes_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_indexes_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 SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (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_index_by_name_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_index_by_name_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_indexes_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_indexes_resultTupleSchemeFactory()); } - private Index success; // required - private MetaException o1; // required - private NoSuchObjectException o2; // required + private List success; // required + private NoSuchObjectException o1; // required + private MetaException 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 { @@ -93028,22 +101939,23 @@ 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, Index.class))); + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Index.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_index_by_name_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_indexes_result.class, metaDataMap); } - public get_index_by_name_result() { + public get_indexes_result() { } - public get_index_by_name_result( - Index success, - MetaException o1, - NoSuchObjectException o2) + public get_indexes_result( + List success, + NoSuchObjectException o1, + MetaException o2) { this(); this.success = success; @@ -93054,20 +101966,24 @@ public get_index_by_name_result( /** * Performs a deep copy on other. */ - public get_index_by_name_result(get_index_by_name_result other) { + public get_indexes_result(get_indexes_result other) { if (other.isSetSuccess()) { - this.success = new Index(other.success); + List __this__success = new ArrayList(other.success.size()); + for (Index other_element : other.success) { + __this__success.add(new Index(other_element)); + } + this.success = __this__success; } if (other.isSetO1()) { - this.o1 = new MetaException(other.o1); + this.o1 = new NoSuchObjectException(other.o1); } if (other.isSetO2()) { - this.o2 = new NoSuchObjectException(other.o2); + this.o2 = new MetaException(other.o2); } } - public get_index_by_name_result deepCopy() { - return new get_index_by_name_result(this); + public get_indexes_result deepCopy() { + return new get_indexes_result(this); } @Override @@ -93077,11 +101993,26 @@ public void clear() { this.o2 = null; } - public Index getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(Index elem) { + if (this.success == null) { + this.success = new ArrayList(); + } + this.success.add(elem); + } + + public List getSuccess() { return this.success; } - public void setSuccess(Index success) { + public void setSuccess(List success) { this.success = success; } @@ -93100,11 +102031,11 @@ public void setSuccessIsSet(boolean value) { } } - public MetaException getO1() { + public NoSuchObjectException getO1() { return this.o1; } - public void setO1(MetaException o1) { + public void setO1(NoSuchObjectException o1) { this.o1 = o1; } @@ -93123,11 +102054,11 @@ public void setO1IsSet(boolean value) { } } - public NoSuchObjectException getO2() { + public MetaException getO2() { return this.o2; } - public void setO2(NoSuchObjectException o2) { + public void setO2(MetaException o2) { this.o2 = o2; } @@ -93152,7 +102083,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Index)value); + setSuccess((List)value); } break; @@ -93160,7 +102091,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO1(); } else { - setO1((MetaException)value); + setO1((NoSuchObjectException)value); } break; @@ -93168,7 +102099,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((NoSuchObjectException)value); + setO2((MetaException)value); } break; @@ -93211,12 +102142,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_index_by_name_result) - return this.equals((get_index_by_name_result)that); + if (that instanceof get_indexes_result) + return this.equals((get_indexes_result)that); return false; } - public boolean equals(get_index_by_name_result that) { + public boolean equals(get_indexes_result that) { if (that == null) return false; @@ -93252,60 +102183,60 @@ public boolean equals(get_index_by_name_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_index_by_name_result other) { + @Override + public int compareTo(get_indexes_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_index_by_name_result typedOther = (get_index_by_name_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -93327,7 +102258,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_index_by_name_result("); + StringBuilder sb = new StringBuilder("get_indexes_result("); boolean first = true; sb.append("success:"); @@ -93360,9 +102291,6 @@ public String 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 { @@ -93381,15 +102309,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_index_by_name_resultStandardSchemeFactory implements SchemeFactory { - public get_index_by_name_resultStandardScheme getScheme() { - return new get_index_by_name_resultStandardScheme(); + private static class get_indexes_resultStandardSchemeFactory implements SchemeFactory { + public get_indexes_resultStandardScheme getScheme() { + return new get_indexes_resultStandardScheme(); } } - private static class get_index_by_name_resultStandardScheme extends StandardScheme { + private static class get_indexes_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_by_name_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -93400,9 +102328,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_by_name_r } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new Index(); - struct.success.read(iprot); + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list902 = iprot.readListBegin(); + struct.success = new ArrayList(_list902.size); + Index _elem903; + for (int _i904 = 0; _i904 < _list902.size; ++_i904) + { + _elem903 = new Index(); + _elem903.read(iprot); + struct.success.add(_elem903); + } + iprot.readListEnd(); + } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -93410,7 +102348,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_by_name_r break; case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new MetaException(); + struct.o1 = new NoSuchObjectException(); struct.o1.read(iprot); struct.setO1IsSet(true); } else { @@ -93419,7 +102357,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_by_name_r break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new NoSuchObjectException(); + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { @@ -93435,13 +102373,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_by_name_r struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_by_name_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_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.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); + for (Index _iter905 : struct.success) + { + _iter905.write(oprot); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -93460,16 +102405,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_by_name_ } - private static class get_index_by_name_resultTupleSchemeFactory implements SchemeFactory { - public get_index_by_name_resultTupleScheme getScheme() { - return new get_index_by_name_resultTupleScheme(); + private static class get_indexes_resultTupleSchemeFactory implements SchemeFactory { + public get_indexes_resultTupleScheme getScheme() { + return new get_indexes_resultTupleScheme(); } } - private static class get_index_by_name_resultTupleScheme extends TupleScheme { + private static class get_indexes_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -93483,7 +102428,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_r } oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { - struct.success.write(oprot); + { + oprot.writeI32(struct.success.size()); + for (Index _iter906 : struct.success) + { + _iter906.write(oprot); + } + } } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -93494,21 +102445,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_r } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new Index(); - struct.success.read(iprot); + { + 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); + Index _elem908; + for (int _i909 = 0; _i909 < _list907.size; ++_i909) + { + _elem908 = new Index(); + _elem908.read(iprot); + struct.success.add(_elem908); + } + } struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o1 = new MetaException(); + struct.o1 = new NoSuchObjectException(); struct.o1.read(iprot); struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new NoSuchObjectException(); + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } @@ -93517,8 +102477,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_re } - public static class get_indexes_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_indexes_args"); + public static class get_index_names_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_index_names_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); @@ -93526,8 +102486,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_by_name_re private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_indexes_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_indexes_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_index_names_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_index_names_argsTupleSchemeFactory()); } private String db_name; // required @@ -93611,15 +102571,15 @@ public String getFieldName() { tmpMap.put(_Fields.MAX_INDEXES, new org.apache.thrift.meta_data.FieldMetaData("max_indexes", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_indexes_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_index_names_args.class, metaDataMap); } - public get_indexes_args() { + public get_index_names_args() { this.max_indexes = (short)-1; } - public get_indexes_args( + public get_index_names_args( String db_name, String tbl_name, short max_indexes) @@ -93634,7 +102594,7 @@ public get_indexes_args( /** * Performs a deep copy on other. */ - public get_indexes_args(get_indexes_args other) { + public get_index_names_args(get_index_names_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; @@ -93645,8 +102605,8 @@ public get_indexes_args(get_indexes_args other) { this.max_indexes = other.max_indexes; } - public get_indexes_args deepCopy() { - return new get_indexes_args(this); + public get_index_names_args deepCopy() { + return new get_index_names_args(this); } @Override @@ -93790,12 +102750,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_indexes_args) - return this.equals((get_indexes_args)that); + if (that instanceof get_index_names_args) + return this.equals((get_index_names_args)that); return false; } - public boolean equals(get_indexes_args that) { + public boolean equals(get_index_names_args that) { if (that == null) return false; @@ -93831,60 +102791,60 @@ public boolean equals(get_indexes_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); boolean present_max_indexes = true; - builder.append(present_max_indexes); + list.add(present_max_indexes); if (present_max_indexes) - builder.append(max_indexes); + list.add(max_indexes); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_indexes_args other) { + @Override + public int compareTo(get_index_names_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_indexes_args typedOther = (get_indexes_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMax_indexes()).compareTo(typedOther.isSetMax_indexes()); + lastComparison = Boolean.valueOf(isSetMax_indexes()).compareTo(other.isSetMax_indexes()); if (lastComparison != 0) { return lastComparison; } if (isSetMax_indexes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_indexes, typedOther.max_indexes); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_indexes, other.max_indexes); if (lastComparison != 0) { return lastComparison; } @@ -93906,7 +102866,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_indexes_args("); + StringBuilder sb = new StringBuilder("get_index_names_args("); boolean first = true; sb.append("db_name:"); @@ -93955,15 +102915,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_indexes_argsStandardSchemeFactory implements SchemeFactory { - public get_indexes_argsStandardScheme getScheme() { - return new get_indexes_argsStandardScheme(); + private static class get_index_names_argsStandardSchemeFactory implements SchemeFactory { + public get_index_names_argsStandardScheme getScheme() { + return new get_index_names_argsStandardScheme(); } } - private static class get_indexes_argsStandardScheme extends StandardScheme { + private static class get_index_names_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -94006,7 +102966,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_args st struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -94029,16 +102989,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_args s } - private static class get_indexes_argsTupleSchemeFactory implements SchemeFactory { - public get_indexes_argsTupleScheme getScheme() { - return new get_indexes_argsTupleScheme(); + private static class get_index_names_argsTupleSchemeFactory implements SchemeFactory { + public get_index_names_argsTupleScheme getScheme() { + return new get_index_names_argsTupleScheme(); } } - private static class get_indexes_argsTupleScheme extends TupleScheme { + private static class get_index_names_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -94063,7 +103023,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_args st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { @@ -94083,28 +103043,25 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_args str } - public static class get_indexes_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_indexes_result"); + public static class get_index_names_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_index_names_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (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 org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_indexes_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_indexes_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_index_names_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_index_names_resultTupleSchemeFactory()); } - private List success; // required - private NoSuchObjectException o1; // required + private List success; // required private MetaException 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"); + O2((short)1, "o2"); private static final Map byName = new HashMap(); @@ -94121,9 +103078,7 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; - case 1: // O1 - return O1; - case 2: // O2 + case 1: // O2 return O2; default: return null; @@ -94170,56 +103125,45 @@ public String getFieldName() { 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.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Index.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))); + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); 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_indexes_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_index_names_result.class, metaDataMap); } - public get_indexes_result() { + public get_index_names_result() { } - public get_indexes_result( - List success, - NoSuchObjectException o1, + public get_index_names_result( + List success, MetaException o2) { this(); this.success = success; - this.o1 = o1; this.o2 = o2; } /** * Performs a deep copy on other. */ - public get_indexes_result(get_indexes_result other) { + public get_index_names_result(get_index_names_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (Index other_element : other.success) { - __this__success.add(new Index(other_element)); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } - if (other.isSetO1()) { - this.o1 = new NoSuchObjectException(other.o1); - } if (other.isSetO2()) { this.o2 = new MetaException(other.o2); } } - public get_indexes_result deepCopy() { - return new get_indexes_result(this); + public get_index_names_result deepCopy() { + return new get_index_names_result(this); } @Override public void clear() { this.success = null; - this.o1 = null; this.o2 = null; } @@ -94227,22 +103171,22 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { + public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } - public void addToSuccess(Index elem) { + public void addToSuccess(String elem) { if (this.success == null) { - this.success = new ArrayList(); + this.success = new ArrayList(); } this.success.add(elem); } - public List getSuccess() { + public List getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(List success) { this.success = success; } @@ -94261,29 +103205,6 @@ public void setSuccessIsSet(boolean value) { } } - public NoSuchObjectException getO1() { - return this.o1; - } - - public void setO1(NoSuchObjectException 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 MetaException getO2() { return this.o2; } @@ -94313,15 +103234,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); - } - break; - - case O1: - if (value == null) { - unsetO1(); - } else { - setO1((NoSuchObjectException)value); + setSuccess((List)value); } break; @@ -94341,9 +103254,6 @@ public Object getFieldValue(_Fields field) { case SUCCESS: return getSuccess(); - case O1: - return getO1(); - case O2: return getO2(); @@ -94360,8 +103270,6 @@ public boolean isSet(_Fields field) { switch (field) { case SUCCESS: return isSetSuccess(); - case O1: - return isSetO1(); case O2: return isSetO2(); } @@ -94372,12 +103280,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_indexes_result) - return this.equals((get_indexes_result)that); + if (that instanceof get_index_names_result) + return this.equals((get_index_names_result)that); return false; } - public boolean equals(get_indexes_result that) { + public boolean equals(get_index_names_result that) { if (that == null) return false; @@ -94390,15 +103298,6 @@ public boolean equals(get_indexes_result that) { 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) { @@ -94413,60 +103312,45 @@ public boolean equals(get_indexes_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); - - boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); - if (present_o1) - builder.append(o1); + list.add(success); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_indexes_result other) { + @Override + public int compareTo(get_index_names_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_indexes_result typedOther = (get_indexes_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.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()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -94488,7 +103372,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_indexes_result("); + StringBuilder sb = new StringBuilder("get_index_names_result("); boolean first = true; sb.append("success:"); @@ -94499,14 +103383,6 @@ public String toString() { } 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"); @@ -94539,15 +103415,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_indexes_resultStandardSchemeFactory implements SchemeFactory { - public get_indexes_resultStandardScheme getScheme() { - return new get_indexes_resultStandardScheme(); + private static class get_index_names_resultStandardSchemeFactory implements SchemeFactory { + public get_index_names_resultStandardScheme getScheme() { + return new get_index_names_resultStandardScheme(); } } - private static class get_indexes_resultStandardScheme extends StandardScheme { + private static class get_index_names_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -94560,14 +103436,13 @@ 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 _list910 = iprot.readListBegin(); + struct.success = new ArrayList(_list910.size); + String _elem911; + for (int _i912 = 0; _i912 < _list910.size; ++_i912) { - Index _elem896; // optional - _elem896 = new Index(); - _elem896.read(iprot); - struct.success.add(_elem896); + _elem911 = iprot.readString(); + struct.success.add(_elem911); } iprot.readListEnd(); } @@ -94576,16 +103451,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result 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 NoSuchObjectException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // O2 + case 1: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.o2 = new MetaException(); struct.o2.read(iprot); @@ -94603,27 +103469,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { 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) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (String _iter913 : struct.success) { - _iter897.write(oprot); + oprot.writeString(_iter913); } oprot.writeListEnd(); } 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); @@ -94635,69 +103496,57 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_result } - private static class get_indexes_resultTupleSchemeFactory implements SchemeFactory { - public get_indexes_resultTupleScheme getScheme() { - return new get_indexes_resultTupleScheme(); + private static class get_index_names_resultTupleSchemeFactory implements SchemeFactory { + public get_index_names_resultTupleScheme getScheme() { + return new get_index_names_resultTupleScheme(); } } - private static class get_indexes_resultTupleScheme extends TupleScheme { + private static class get_index_names_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_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); + optionals.set(1); } - oprot.writeBitSet(optionals, 3); + oprot.writeBitSet(optionals, 2); if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter898 : struct.success) + for (String _iter914 : struct.success) { - _iter898.write(oprot); + oprot.writeString(_iter914); } } } - 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_indexes_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_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)) { { - 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 _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list915.size); + String _elem916; + for (int _i917 = 0; _i917 < _list915.size; ++_i917) { - Index _elem901; // optional - _elem901 = new Index(); - _elem901.read(iprot); - struct.success.add(_elem901); + _elem916 = iprot.readString(); + struct.success.add(_elem916); } } struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o1 = new NoSuchObjectException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); - } - if (incoming.get(2)) { struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); @@ -94707,28 +103556,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result s } - public static class get_index_names_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_index_names_args"); + public static class update_table_column_statistics_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("update_table_column_statistics_args"); - private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField MAX_INDEXES_FIELD_DESC = new org.apache.thrift.protocol.TField("max_indexes", org.apache.thrift.protocol.TType.I16, (short)3); + private static final org.apache.thrift.protocol.TField STATS_OBJ_FIELD_DESC = new org.apache.thrift.protocol.TField("stats_obj", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_index_names_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_index_names_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new update_table_column_statistics_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new update_table_column_statistics_argsTupleSchemeFactory()); } - private String db_name; // required - private String tbl_name; // required - private short max_indexes; // required + private ColumnStatistics stats_obj; // 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 { - DB_NAME((short)1, "db_name"), - TBL_NAME((short)2, "tbl_name"), - MAX_INDEXES((short)3, "max_indexes"); + STATS_OBJ((short)1, "stats_obj"); private static final Map byName = new HashMap(); @@ -94743,12 +103586,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result s */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DB_NAME - return DB_NAME; - case 2: // TBL_NAME - return TBL_NAME; - case 3: // MAX_INDEXES - return MAX_INDEXES; + case 1: // STATS_OBJ + return STATS_OBJ; default: return null; } @@ -94789,155 +103628,73 @@ public String getFieldName() { } // isset id assignments - private static final int __MAX_INDEXES_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.MAX_INDEXES, new org.apache.thrift.meta_data.FieldMetaData("max_indexes", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); + tmpMap.put(_Fields.STATS_OBJ, new org.apache.thrift.meta_data.FieldMetaData("stats_obj", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnStatistics.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_index_names_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(update_table_column_statistics_args.class, metaDataMap); } - public get_index_names_args() { - this.max_indexes = (short)-1; - + public update_table_column_statistics_args() { } - public get_index_names_args( - String db_name, - String tbl_name, - short max_indexes) + public update_table_column_statistics_args( + ColumnStatistics stats_obj) { this(); - this.db_name = db_name; - this.tbl_name = tbl_name; - this.max_indexes = max_indexes; - setMax_indexesIsSet(true); + this.stats_obj = stats_obj; } /** * Performs a deep copy on other. */ - public get_index_names_args(get_index_names_args other) { - __isset_bitfield = other.__isset_bitfield; - if (other.isSetDb_name()) { - this.db_name = other.db_name; - } - if (other.isSetTbl_name()) { - this.tbl_name = other.tbl_name; + public update_table_column_statistics_args(update_table_column_statistics_args other) { + if (other.isSetStats_obj()) { + this.stats_obj = new ColumnStatistics(other.stats_obj); } - this.max_indexes = other.max_indexes; } - public get_index_names_args deepCopy() { - return new get_index_names_args(this); + public update_table_column_statistics_args deepCopy() { + return new update_table_column_statistics_args(this); } @Override public void clear() { - this.db_name = null; - this.tbl_name = null; - this.max_indexes = (short)-1; - - } - - public String getDb_name() { - return this.db_name; - } - - public void setDb_name(String db_name) { - this.db_name = db_name; - } - - public void unsetDb_name() { - this.db_name = null; - } - - /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ - public boolean isSetDb_name() { - return this.db_name != null; - } - - public void setDb_nameIsSet(boolean value) { - if (!value) { - this.db_name = null; - } + this.stats_obj = null; } - public String getTbl_name() { - return this.tbl_name; + public ColumnStatistics getStats_obj() { + return this.stats_obj; } - public void setTbl_name(String tbl_name) { - this.tbl_name = tbl_name; + public void setStats_obj(ColumnStatistics stats_obj) { + this.stats_obj = stats_obj; } - public void unsetTbl_name() { - this.tbl_name = null; + public void unsetStats_obj() { + this.stats_obj = null; } - /** Returns true if field tbl_name is set (has been assigned a value) and false otherwise */ - public boolean isSetTbl_name() { - return this.tbl_name != null; + /** Returns true if field stats_obj is set (has been assigned a value) and false otherwise */ + public boolean isSetStats_obj() { + return this.stats_obj != null; } - public void setTbl_nameIsSet(boolean value) { + public void setStats_objIsSet(boolean value) { if (!value) { - this.tbl_name = null; + this.stats_obj = null; } } - public short getMax_indexes() { - return this.max_indexes; - } - - public void setMax_indexes(short max_indexes) { - this.max_indexes = max_indexes; - setMax_indexesIsSet(true); - } - - public void unsetMax_indexes() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MAX_INDEXES_ISSET_ID); - } - - /** Returns true if field max_indexes is set (has been assigned a value) and false otherwise */ - public boolean isSetMax_indexes() { - return EncodingUtils.testBit(__isset_bitfield, __MAX_INDEXES_ISSET_ID); - } - - public void setMax_indexesIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAX_INDEXES_ISSET_ID, value); - } - public void setFieldValue(_Fields field, Object value) { switch (field) { - case DB_NAME: - if (value == null) { - unsetDb_name(); - } else { - setDb_name((String)value); - } - break; - - case TBL_NAME: - if (value == null) { - unsetTbl_name(); - } else { - setTbl_name((String)value); - } - break; - - case MAX_INDEXES: + case STATS_OBJ: if (value == null) { - unsetMax_indexes(); + unsetStats_obj(); } else { - setMax_indexes((Short)value); + setStats_obj((ColumnStatistics)value); } break; @@ -94946,14 +103703,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case DB_NAME: - return getDb_name(); - - case TBL_NAME: - return getTbl_name(); - - case MAX_INDEXES: - return Short.valueOf(getMax_indexes()); + case STATS_OBJ: + return getStats_obj(); } throw new IllegalStateException(); @@ -94966,12 +103717,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case DB_NAME: - return isSetDb_name(); - case TBL_NAME: - return isSetTbl_name(); - case MAX_INDEXES: - return isSetMax_indexes(); + case STATS_OBJ: + return isSetStats_obj(); } throw new IllegalStateException(); } @@ -94980,39 +103727,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_index_names_args) - return this.equals((get_index_names_args)that); + if (that instanceof update_table_column_statistics_args) + return this.equals((update_table_column_statistics_args)that); return false; } - public boolean equals(get_index_names_args that) { + public boolean equals(update_table_column_statistics_args that) { if (that == null) return false; - boolean this_present_db_name = true && this.isSetDb_name(); - boolean that_present_db_name = true && that.isSetDb_name(); - if (this_present_db_name || that_present_db_name) { - if (!(this_present_db_name && that_present_db_name)) - return false; - if (!this.db_name.equals(that.db_name)) - return false; - } - - boolean this_present_tbl_name = true && this.isSetTbl_name(); - boolean that_present_tbl_name = true && that.isSetTbl_name(); - if (this_present_tbl_name || that_present_tbl_name) { - if (!(this_present_tbl_name && that_present_tbl_name)) - return false; - if (!this.tbl_name.equals(that.tbl_name)) - return false; - } - - boolean this_present_max_indexes = true; - boolean that_present_max_indexes = true; - if (this_present_max_indexes || that_present_max_indexes) { - if (!(this_present_max_indexes && that_present_max_indexes)) + boolean this_present_stats_obj = true && this.isSetStats_obj(); + boolean that_present_stats_obj = true && that.isSetStats_obj(); + if (this_present_stats_obj || that_present_stats_obj) { + if (!(this_present_stats_obj && that_present_stats_obj)) return false; - if (this.max_indexes != that.max_indexes) + if (!this.stats_obj.equals(that.stats_obj)) return false; } @@ -95021,60 +103750,30 @@ public boolean equals(get_index_names_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); - - boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); - if (present_db_name) - builder.append(db_name); - - boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); - if (present_tbl_name) - builder.append(tbl_name); + List list = new ArrayList(); - boolean present_max_indexes = true; - builder.append(present_max_indexes); - if (present_max_indexes) - builder.append(max_indexes); + boolean present_stats_obj = true && (isSetStats_obj()); + list.add(present_stats_obj); + if (present_stats_obj) + list.add(stats_obj); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_index_names_args other) { + @Override + public int compareTo(update_table_column_statistics_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_index_names_args typedOther = (get_index_names_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetMax_indexes()).compareTo(typedOther.isSetMax_indexes()); + lastComparison = Boolean.valueOf(isSetStats_obj()).compareTo(other.isSetStats_obj()); if (lastComparison != 0) { return lastComparison; } - if (isSetMax_indexes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max_indexes, typedOther.max_indexes); + if (isSetStats_obj()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stats_obj, other.stats_obj); if (lastComparison != 0) { return lastComparison; } @@ -95096,28 +103795,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_index_names_args("); + StringBuilder sb = new StringBuilder("update_table_column_statistics_args("); boolean first = true; - sb.append("db_name:"); - if (this.db_name == null) { - sb.append("null"); - } else { - sb.append(this.db_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("tbl_name:"); - if (this.tbl_name == null) { + sb.append("stats_obj:"); + if (this.stats_obj == null) { sb.append("null"); } else { - sb.append(this.tbl_name); + sb.append(this.stats_obj); } first = false; - if (!first) sb.append(", "); - sb.append("max_indexes:"); - sb.append(this.max_indexes); - first = false; sb.append(")"); return sb.toString(); } @@ -95125,6 +103812,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (stats_obj != null) { + stats_obj.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -95137,23 +103827,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class get_index_names_argsStandardSchemeFactory implements SchemeFactory { - public get_index_names_argsStandardScheme getScheme() { - return new get_index_names_argsStandardScheme(); + private static class update_table_column_statistics_argsStandardSchemeFactory implements SchemeFactory { + public update_table_column_statistics_argsStandardScheme getScheme() { + return new update_table_column_statistics_argsStandardScheme(); } } - private static class get_index_names_argsStandardScheme extends StandardScheme { + private static class update_table_column_statistics_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, update_table_column_statistics_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -95163,26 +103851,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_arg break; } switch (schemeField.id) { - case 1: // DB_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TBL_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // MAX_INDEXES - if (schemeField.type == org.apache.thrift.protocol.TType.I16) { - struct.max_indexes = iprot.readI16(); - struct.setMax_indexesIsSet(true); + case 1: // STATS_OBJ + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.stats_obj = new ColumnStatistics(); + struct.stats_obj.read(iprot); + struct.setStats_objIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -95196,102 +103869,84 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_arg struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, update_table_column_statistics_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.db_name != null) { - oprot.writeFieldBegin(DB_NAME_FIELD_DESC); - oprot.writeString(struct.db_name); - oprot.writeFieldEnd(); - } - if (struct.tbl_name != null) { - oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); - oprot.writeString(struct.tbl_name); + if (struct.stats_obj != null) { + oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); + struct.stats_obj.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(MAX_INDEXES_FIELD_DESC); - oprot.writeI16(struct.max_indexes); - oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_index_names_argsTupleSchemeFactory implements SchemeFactory { - public get_index_names_argsTupleScheme getScheme() { - return new get_index_names_argsTupleScheme(); + private static class update_table_column_statistics_argsTupleSchemeFactory implements SchemeFactory { + public update_table_column_statistics_argsTupleScheme getScheme() { + return new update_table_column_statistics_argsTupleScheme(); } } - private static class get_index_names_argsTupleScheme extends TupleScheme { + private static class update_table_column_statistics_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, update_table_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetDb_name()) { + if (struct.isSetStats_obj()) { optionals.set(0); } - if (struct.isSetTbl_name()) { - optionals.set(1); - } - if (struct.isSetMax_indexes()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); - if (struct.isSetDb_name()) { - oprot.writeString(struct.db_name); - } - if (struct.isSetTbl_name()) { - oprot.writeString(struct.tbl_name); - } - if (struct.isSetMax_indexes()) { - oprot.writeI16(struct.max_indexes); + oprot.writeBitSet(optionals, 1); + if (struct.isSetStats_obj()) { + struct.stats_obj.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, update_table_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } - if (incoming.get(1)) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); - } - if (incoming.get(2)) { - struct.max_indexes = iprot.readI16(); - struct.setMax_indexesIsSet(true); + struct.stats_obj = new ColumnStatistics(); + struct.stats_obj.read(iprot); + struct.setStats_objIsSet(true); } } } } - public static class get_index_names_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_index_names_result"); + public static class update_table_column_statistics_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("update_table_column_statistics_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - 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)1); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); + private static final org.apache.thrift.protocol.TField O4_FIELD_DESC = new org.apache.thrift.protocol.TField("o4", org.apache.thrift.protocol.TType.STRUCT, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_index_names_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_index_names_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new update_table_column_statistics_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new update_table_column_statistics_resultTupleSchemeFactory()); } - private List success; // required - private MetaException o2; // required + private boolean success; // required + private NoSuchObjectException o1; // required + private InvalidObjectException o2; // required + private MetaException o3; // required + private InvalidInputException o4; // 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"), - O2((short)1, "o2"); + O1((short)1, "o1"), + O2((short)2, "o2"), + O3((short)3, "o3"), + O4((short)4, "o4"); private static final Map byName = new HashMap(); @@ -95308,8 +103963,14 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; - case 1: // O2 + case 1: // O1 + return O1; + case 2: // O2 return O2; + case 3: // O3 + return O3; + case 4: // O4 + return O4; default: return null; } @@ -95350,99 +104011,128 @@ public String getFieldName() { } // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + 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))); + tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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_index_names_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(update_table_column_statistics_result.class, metaDataMap); } - public get_index_names_result() { + public update_table_column_statistics_result() { } - public get_index_names_result( - List success, - MetaException o2) + public update_table_column_statistics_result( + boolean success, + NoSuchObjectException o1, + InvalidObjectException o2, + MetaException o3, + InvalidInputException o4) { this(); this.success = success; + setSuccessIsSet(true); + this.o1 = o1; this.o2 = o2; + this.o3 = o3; + this.o4 = o4; } /** * Performs a deep copy on other. */ - public get_index_names_result(get_index_names_result other) { - if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } - this.success = __this__success; + public update_table_column_statistics_result(update_table_column_statistics_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; + if (other.isSetO1()) { + this.o1 = new NoSuchObjectException(other.o1); } if (other.isSetO2()) { - this.o2 = new MetaException(other.o2); + this.o2 = new InvalidObjectException(other.o2); + } + if (other.isSetO3()) { + this.o3 = new MetaException(other.o3); + } + if (other.isSetO4()) { + this.o4 = new InvalidInputException(other.o4); } } - public get_index_names_result deepCopy() { - return new get_index_names_result(this); + public update_table_column_statistics_result deepCopy() { + return new update_table_column_statistics_result(this); } @Override public void clear() { - this.success = null; + setSuccessIsSet(false); + this.success = false; + this.o1 = null; this.o2 = null; + this.o3 = null; + this.o4 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { - if (this.success == null) { - this.success = new ArrayList(); - } - this.success.add(elem); - } - - public List getSuccess() { + public boolean isSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(boolean success) { this.success = success; + setSuccessIsSet(true); } public void unsetSuccess() { - this.success = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return this.success != null; + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + } + + public NoSuchObjectException getO1() { + return this.o1; + } + + public void setO1(NoSuchObjectException 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.success = null; + this.o1 = null; } } - public MetaException getO2() { + public InvalidObjectException getO2() { return this.o2; } - public void setO2(MetaException o2) { + public void setO2(InvalidObjectException o2) { this.o2 = o2; } @@ -95461,13 +104151,67 @@ public void setO2IsSet(boolean value) { } } + public MetaException getO3() { + return this.o3; + } + + public void setO3(MetaException o3) { + this.o3 = o3; + } + + public void unsetO3() { + this.o3 = null; + } + + /** Returns true if field o3 is set (has been assigned a value) and false otherwise */ + public boolean isSetO3() { + return this.o3 != null; + } + + public void setO3IsSet(boolean value) { + if (!value) { + this.o3 = null; + } + } + + public InvalidInputException getO4() { + return this.o4; + } + + public void setO4(InvalidInputException o4) { + this.o4 = o4; + } + + public void unsetO4() { + this.o4 = null; + } + + /** Returns true if field o4 is set (has been assigned a value) and false otherwise */ + public boolean isSetO4() { + return this.o4 != null; + } + + public void setO4IsSet(boolean value) { + if (!value) { + this.o4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((Boolean)value); + } + break; + + case O1: + if (value == null) { + unsetO1(); + } else { + setO1((NoSuchObjectException)value); } break; @@ -95475,7 +104219,23 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((MetaException)value); + setO2((InvalidObjectException)value); + } + break; + + case O3: + if (value == null) { + unsetO3(); + } else { + setO3((MetaException)value); + } + break; + + case O4: + if (value == null) { + unsetO4(); + } else { + setO4((InvalidInputException)value); } break; @@ -95485,11 +104245,20 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return getSuccess(); + return Boolean.valueOf(isSuccess()); + + case O1: + return getO1(); case O2: return getO2(); + case O3: + return getO3(); + + case O4: + return getO4(); + } throw new IllegalStateException(); } @@ -95503,8 +104272,14 @@ public boolean isSet(_Fields field) { switch (field) { case SUCCESS: return isSetSuccess(); + case O1: + return isSetO1(); case O2: return isSetO2(); + case O3: + return isSetO3(); + case O4: + return isSetO4(); } throw new IllegalStateException(); } @@ -95513,21 +104288,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_index_names_result) - return this.equals((get_index_names_result)that); + if (that instanceof update_table_column_statistics_result) + return this.equals((update_table_column_statistics_result)that); return false; } - public boolean equals(get_index_names_result that) { + public boolean equals(update_table_column_statistics_result that) { if (that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); + boolean this_present_success = true; + boolean that_present_success = true; if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; - if (!this.success.equals(that.success)) + if (this.success != 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; } @@ -95540,50 +104324,113 @@ public boolean equals(get_index_names_result that) { return false; } + boolean this_present_o3 = true && this.isSetO3(); + boolean that_present_o3 = true && that.isSetO3(); + if (this_present_o3 || that_present_o3) { + if (!(this_present_o3 && that_present_o3)) + return false; + if (!this.o3.equals(that.o3)) + return false; + } + + boolean this_present_o4 = true && this.isSetO4(); + boolean that_present_o4 = true && that.isSetO4(); + if (this_present_o4 || that_present_o4) { + if (!(this_present_o4 && that_present_o4)) + return false; + if (!this.o4.equals(that.o4)) + return false; + } + return true; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + boolean present_success = true; + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); + + boolean present_o1 = true && (isSetO1()); + list.add(present_o1); + if (present_o1) + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); + + boolean present_o3 = true && (isSetO3()); + list.add(present_o3); + if (present_o3) + list.add(o3); - return builder.toHashCode(); + boolean present_o4 = true && (isSetO4()); + list.add(present_o4); + if (present_o4) + list.add(o4); + + return list.hashCode(); } - public int compareTo(get_index_names_result other) { + @Override + public int compareTo(update_table_column_statistics_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_index_names_result typedOther = (get_index_names_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO3()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO4()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } @@ -95605,14 +104452,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_index_names_result("); + StringBuilder sb = new StringBuilder("update_table_column_statistics_result("); boolean first = true; sb.append("success:"); - if (this.success == null) { + sb.append(this.success); + first = false; + if (!first) sb.append(", "); + sb.append("o1:"); + if (this.o1 == null) { sb.append("null"); } else { - sb.append(this.success); + sb.append(this.o1); } first = false; if (!first) sb.append(", "); @@ -95623,6 +104474,22 @@ public String toString() { sb.append(this.o2); } first = false; + if (!first) sb.append(", "); + sb.append("o3:"); + if (this.o3 == null) { + sb.append("null"); + } else { + sb.append(this.o3); + } + first = false; + if (!first) sb.append(", "); + sb.append("o4:"); + if (this.o4 == null) { + sb.append("null"); + } else { + sb.append(this.o4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -95642,21 +104509,23 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class get_index_names_resultStandardSchemeFactory implements SchemeFactory { - public get_index_names_resultStandardScheme getScheme() { - return new get_index_names_resultStandardScheme(); + private static class update_table_column_statistics_resultStandardSchemeFactory implements SchemeFactory { + public update_table_column_statistics_resultStandardScheme getScheme() { + return new update_table_column_statistics_resultStandardScheme(); } } - private static class get_index_names_resultStandardScheme extends StandardScheme { + private static class update_table_column_statistics_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, update_table_column_statistics_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -95667,32 +104536,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_res } switch (schemeField.id) { 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) - { - String _elem904; // optional - _elem904 = iprot.readString(); - struct.success.add(_elem904); - } - iprot.readListEnd(); - } + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 1: // O2 + case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new MetaException(); + struct.o1 = new NoSuchObjectException(); + 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 InvalidObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 3: // O3 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o3 = new MetaException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // O4 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o4 = new InvalidInputException(); + struct.o4.read(iprot); + struct.setO4IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -95702,20 +104588,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_res struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, update_table_column_statistics_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.success != null) { + if (struct.isSetSuccess()) { 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) - { - oprot.writeString(_iter905); - } - oprot.writeListEnd(); - } + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); oprot.writeFieldEnd(); } if (struct.o2 != null) { @@ -95723,81 +104607,109 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_re struct.o2.write(oprot); oprot.writeFieldEnd(); } + if (struct.o3 != null) { + oprot.writeFieldBegin(O3_FIELD_DESC); + struct.o3.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o4 != null) { + oprot.writeFieldBegin(O4_FIELD_DESC); + struct.o4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_index_names_resultTupleSchemeFactory implements SchemeFactory { - public get_index_names_resultTupleScheme getScheme() { - return new get_index_names_resultTupleScheme(); + private static class update_table_column_statistics_resultTupleSchemeFactory implements SchemeFactory { + public update_table_column_statistics_resultTupleScheme getScheme() { + return new update_table_column_statistics_resultTupleScheme(); } } - private static class get_index_names_resultTupleScheme extends TupleScheme { + private static class update_table_column_statistics_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, update_table_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } - if (struct.isSetO2()) { + if (struct.isSetO1()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); + if (struct.isSetO2()) { + optionals.set(2); + } + if (struct.isSetO3()) { + optionals.set(3); + } + if (struct.isSetO4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (String _iter906 : struct.success) - { - oprot.writeString(_iter906); - } - } + oprot.writeBool(struct.success); + } + if (struct.isSetO1()) { + struct.o1.write(oprot); } if (struct.isSetO2()) { struct.o2.write(oprot); } + if (struct.isSetO3()) { + struct.o3.write(oprot); + } + if (struct.isSetO4()) { + struct.o4.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, update_table_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(5); 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) - { - String _elem909; // optional - _elem909 = iprot.readString(); - struct.success.add(_elem909); - } - } + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o2 = new MetaException(); + struct.o1 = new NoSuchObjectException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } + if (incoming.get(2)) { + struct.o2 = new InvalidObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } + if (incoming.get(3)) { + struct.o3 = new MetaException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } + if (incoming.get(4)) { + struct.o4 = new InvalidInputException(); + struct.o4.read(iprot); + struct.setO4IsSet(true); + } } } } - public static class update_table_column_statistics_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("update_table_column_statistics_args"); + public static class update_partition_column_statistics_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("update_partition_column_statistics_args"); private static final org.apache.thrift.protocol.TField STATS_OBJ_FIELD_DESC = new org.apache.thrift.protocol.TField("stats_obj", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new update_table_column_statistics_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new update_table_column_statistics_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new update_partition_column_statistics_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new update_partition_column_statistics_argsTupleSchemeFactory()); } private ColumnStatistics stats_obj; // required @@ -95867,13 +104779,13 @@ public String getFieldName() { tmpMap.put(_Fields.STATS_OBJ, new org.apache.thrift.meta_data.FieldMetaData("stats_obj", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnStatistics.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(update_table_column_statistics_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(update_partition_column_statistics_args.class, metaDataMap); } - public update_table_column_statistics_args() { + public update_partition_column_statistics_args() { } - public update_table_column_statistics_args( + public update_partition_column_statistics_args( ColumnStatistics stats_obj) { this(); @@ -95883,14 +104795,14 @@ public update_table_column_statistics_args( /** * Performs a deep copy on other. */ - public update_table_column_statistics_args(update_table_column_statistics_args other) { + public update_partition_column_statistics_args(update_partition_column_statistics_args other) { if (other.isSetStats_obj()) { this.stats_obj = new ColumnStatistics(other.stats_obj); } } - public update_table_column_statistics_args deepCopy() { - return new update_table_column_statistics_args(this); + public update_partition_column_statistics_args deepCopy() { + return new update_partition_column_statistics_args(this); } @Override @@ -95960,12 +104872,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof update_table_column_statistics_args) - return this.equals((update_table_column_statistics_args)that); + if (that instanceof update_partition_column_statistics_args) + return this.equals((update_partition_column_statistics_args)that); return false; } - public boolean equals(update_table_column_statistics_args that) { + public boolean equals(update_partition_column_statistics_args that) { if (that == null) return false; @@ -95983,30 +104895,30 @@ public boolean equals(update_table_column_statistics_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_stats_obj = true && (isSetStats_obj()); - builder.append(present_stats_obj); + list.add(present_stats_obj); if (present_stats_obj) - builder.append(stats_obj); + list.add(stats_obj); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(update_table_column_statistics_args other) { + @Override + public int compareTo(update_partition_column_statistics_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - update_table_column_statistics_args typedOther = (update_table_column_statistics_args)other; - lastComparison = Boolean.valueOf(isSetStats_obj()).compareTo(typedOther.isSetStats_obj()); + lastComparison = Boolean.valueOf(isSetStats_obj()).compareTo(other.isSetStats_obj()); if (lastComparison != 0) { return lastComparison; } if (isSetStats_obj()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stats_obj, typedOther.stats_obj); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stats_obj, other.stats_obj); if (lastComparison != 0) { return lastComparison; } @@ -96028,7 +104940,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("update_table_column_statistics_args("); + StringBuilder sb = new StringBuilder("update_partition_column_statistics_args("); boolean first = true; sb.append("stats_obj:"); @@ -96066,15 +104978,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class update_table_column_statistics_argsStandardSchemeFactory implements SchemeFactory { - public update_table_column_statistics_argsStandardScheme getScheme() { - return new update_table_column_statistics_argsStandardScheme(); + private static class update_partition_column_statistics_argsStandardSchemeFactory implements SchemeFactory { + public update_partition_column_statistics_argsStandardScheme getScheme() { + return new update_partition_column_statistics_argsStandardScheme(); } } - private static class update_table_column_statistics_argsStandardScheme extends StandardScheme { + private static class update_partition_column_statistics_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, update_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, update_partition_column_statistics_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -96102,7 +105014,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, update_table_column struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, update_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, update_partition_column_statistics_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -96117,16 +105029,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, update_table_colum } - private static class update_table_column_statistics_argsTupleSchemeFactory implements SchemeFactory { - public update_table_column_statistics_argsTupleScheme getScheme() { - return new update_table_column_statistics_argsTupleScheme(); + private static class update_partition_column_statistics_argsTupleSchemeFactory implements SchemeFactory { + public update_partition_column_statistics_argsTupleScheme getScheme() { + return new update_partition_column_statistics_argsTupleScheme(); } } - private static class update_table_column_statistics_argsTupleScheme extends TupleScheme { + private static class update_partition_column_statistics_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, update_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, update_partition_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetStats_obj()) { @@ -96139,7 +105051,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, update_table_column } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, update_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, update_partition_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { @@ -96152,8 +105064,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, update_table_column_ } - public static class update_table_column_statistics_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("update_table_column_statistics_result"); + public static class update_partition_column_statistics_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("update_partition_column_statistics_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (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); @@ -96163,8 +105075,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, update_table_column_ private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new update_table_column_statistics_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new update_table_column_statistics_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new update_partition_column_statistics_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new update_partition_column_statistics_resultTupleSchemeFactory()); } private boolean success; // required @@ -96260,13 +105172,13 @@ public String getFieldName() { tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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(update_table_column_statistics_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(update_partition_column_statistics_result.class, metaDataMap); } - public update_table_column_statistics_result() { + public update_partition_column_statistics_result() { } - public update_table_column_statistics_result( + public update_partition_column_statistics_result( boolean success, NoSuchObjectException o1, InvalidObjectException o2, @@ -96285,7 +105197,7 @@ public update_table_column_statistics_result( /** * Performs a deep copy on other. */ - public update_table_column_statistics_result(update_table_column_statistics_result other) { + public update_partition_column_statistics_result(update_partition_column_statistics_result other) { __isset_bitfield = other.__isset_bitfield; this.success = other.success; if (other.isSetO1()) { @@ -96302,8 +105214,8 @@ public update_table_column_statistics_result(update_table_column_statistics_resu } } - public update_table_column_statistics_result deepCopy() { - return new update_table_column_statistics_result(this); + public update_partition_column_statistics_result deepCopy() { + return new update_partition_column_statistics_result(this); } @Override @@ -96521,12 +105433,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof update_table_column_statistics_result) - return this.equals((update_table_column_statistics_result)that); + if (that instanceof update_partition_column_statistics_result) + return this.equals((update_partition_column_statistics_result)that); return false; } - public boolean equals(update_table_column_statistics_result that) { + public boolean equals(update_partition_column_statistics_result that) { if (that == null) return false; @@ -96580,90 +105492,90 @@ public boolean equals(update_table_column_statistics_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); + list.add(present_o4); if (present_o4) - builder.append(o4); + list.add(o4); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(update_table_column_statistics_result other) { + @Override + public int compareTo(update_partition_column_statistics_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - update_table_column_statistics_result typedOther = (update_table_column_statistics_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); if (lastComparison != 0) { return lastComparison; } if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } @@ -96685,7 +105597,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("update_table_column_statistics_result("); + StringBuilder sb = new StringBuilder("update_partition_column_statistics_result("); boolean first = true; sb.append("success:"); @@ -96750,15 +105662,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class update_table_column_statistics_resultStandardSchemeFactory implements SchemeFactory { - public update_table_column_statistics_resultStandardScheme getScheme() { - return new update_table_column_statistics_resultStandardScheme(); + private static class update_partition_column_statistics_resultStandardSchemeFactory implements SchemeFactory { + public update_partition_column_statistics_resultStandardScheme getScheme() { + return new update_partition_column_statistics_resultStandardScheme(); } } - private static class update_table_column_statistics_resultStandardScheme extends StandardScheme { + private static class update_partition_column_statistics_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, update_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, update_partition_column_statistics_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -96821,7 +105733,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, update_table_column struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, update_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, update_partition_column_statistics_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -96856,16 +105768,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, update_table_colum } - private static class update_table_column_statistics_resultTupleSchemeFactory implements SchemeFactory { - public update_table_column_statistics_resultTupleScheme getScheme() { - return new update_table_column_statistics_resultTupleScheme(); + private static class update_partition_column_statistics_resultTupleSchemeFactory implements SchemeFactory { + public update_partition_column_statistics_resultTupleScheme getScheme() { + return new update_partition_column_statistics_resultTupleScheme(); } } - private static class update_table_column_statistics_resultTupleScheme extends TupleScheme { + private static class update_partition_column_statistics_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, update_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, update_partition_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -96902,7 +105814,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, update_table_column } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, update_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, update_partition_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { @@ -96934,22 +105846,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, update_table_column_ } - public static class update_partition_column_statistics_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("update_partition_column_statistics_args"); + public static class get_table_column_statistics_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_column_statistics_args"); - private static final org.apache.thrift.protocol.TField STATS_OBJ_FIELD_DESC = new org.apache.thrift.protocol.TField("stats_obj", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField COL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("col_name", org.apache.thrift.protocol.TType.STRING, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new update_partition_column_statistics_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new update_partition_column_statistics_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_table_column_statistics_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_column_statistics_argsTupleSchemeFactory()); } - private ColumnStatistics stats_obj; // required + private String db_name; // required + private String tbl_name; // required + private String col_name; // 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 { - STATS_OBJ((short)1, "stats_obj"); + DB_NAME((short)1, "db_name"), + TBL_NAME((short)2, "tbl_name"), + COL_NAME((short)3, "col_name"); private static final Map byName = new HashMap(); @@ -96964,8 +105882,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, update_table_column_ */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // STATS_OBJ - return STATS_OBJ; + case 1: // DB_NAME + return DB_NAME; + case 2: // TBL_NAME + return TBL_NAME; + case 3: // COL_NAME + return COL_NAME; default: return null; } @@ -97009,70 +105931,148 @@ public String getFieldName() { 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.STATS_OBJ, new org.apache.thrift.meta_data.FieldMetaData("stats_obj", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnStatistics.class))); + tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.COL_NAME, new org.apache.thrift.meta_data.FieldMetaData("col_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(update_partition_column_statistics_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_column_statistics_args.class, metaDataMap); } - public update_partition_column_statistics_args() { + public get_table_column_statistics_args() { } - public update_partition_column_statistics_args( - ColumnStatistics stats_obj) + public get_table_column_statistics_args( + String db_name, + String tbl_name, + String col_name) { this(); - this.stats_obj = stats_obj; + this.db_name = db_name; + this.tbl_name = tbl_name; + this.col_name = col_name; } /** * Performs a deep copy on other. */ - public update_partition_column_statistics_args(update_partition_column_statistics_args other) { - if (other.isSetStats_obj()) { - this.stats_obj = new ColumnStatistics(other.stats_obj); + public get_table_column_statistics_args(get_table_column_statistics_args other) { + if (other.isSetDb_name()) { + this.db_name = other.db_name; + } + if (other.isSetTbl_name()) { + this.tbl_name = other.tbl_name; + } + if (other.isSetCol_name()) { + this.col_name = other.col_name; } } - public update_partition_column_statistics_args deepCopy() { - return new update_partition_column_statistics_args(this); + public get_table_column_statistics_args deepCopy() { + return new get_table_column_statistics_args(this); } @Override public void clear() { - this.stats_obj = null; + this.db_name = null; + this.tbl_name = null; + this.col_name = null; } - public ColumnStatistics getStats_obj() { - return this.stats_obj; + public String getDb_name() { + return this.db_name; } - public void setStats_obj(ColumnStatistics stats_obj) { - this.stats_obj = stats_obj; + public void setDb_name(String db_name) { + this.db_name = db_name; } - public void unsetStats_obj() { - this.stats_obj = null; + public void unsetDb_name() { + this.db_name = null; } - /** Returns true if field stats_obj is set (has been assigned a value) and false otherwise */ - public boolean isSetStats_obj() { - return this.stats_obj != null; + /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ + public boolean isSetDb_name() { + return this.db_name != null; } - public void setStats_objIsSet(boolean value) { + public void setDb_nameIsSet(boolean value) { if (!value) { - this.stats_obj = null; + this.db_name = null; + } + } + + public String getTbl_name() { + return this.tbl_name; + } + + public void setTbl_name(String tbl_name) { + this.tbl_name = tbl_name; + } + + public void unsetTbl_name() { + this.tbl_name = null; + } + + /** Returns true if field tbl_name is set (has been assigned a value) and false otherwise */ + public boolean isSetTbl_name() { + return this.tbl_name != null; + } + + public void setTbl_nameIsSet(boolean value) { + if (!value) { + this.tbl_name = null; + } + } + + public String getCol_name() { + return this.col_name; + } + + public void setCol_name(String col_name) { + this.col_name = col_name; + } + + public void unsetCol_name() { + this.col_name = null; + } + + /** Returns true if field col_name is set (has been assigned a value) and false otherwise */ + public boolean isSetCol_name() { + return this.col_name != null; + } + + public void setCol_nameIsSet(boolean value) { + if (!value) { + this.col_name = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case STATS_OBJ: + case DB_NAME: if (value == null) { - unsetStats_obj(); + unsetDb_name(); } else { - setStats_obj((ColumnStatistics)value); + setDb_name((String)value); + } + break; + + case TBL_NAME: + if (value == null) { + unsetTbl_name(); + } else { + setTbl_name((String)value); + } + break; + + case COL_NAME: + if (value == null) { + unsetCol_name(); + } else { + setCol_name((String)value); } break; @@ -97081,8 +106081,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case STATS_OBJ: - return getStats_obj(); + case DB_NAME: + return getDb_name(); + + case TBL_NAME: + return getTbl_name(); + + case COL_NAME: + return getCol_name(); } throw new IllegalStateException(); @@ -97095,8 +106101,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case STATS_OBJ: - return isSetStats_obj(); + case DB_NAME: + return isSetDb_name(); + case TBL_NAME: + return isSetTbl_name(); + case COL_NAME: + return isSetCol_name(); } throw new IllegalStateException(); } @@ -97105,21 +106115,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof update_partition_column_statistics_args) - return this.equals((update_partition_column_statistics_args)that); + if (that instanceof get_table_column_statistics_args) + return this.equals((get_table_column_statistics_args)that); return false; } - public boolean equals(update_partition_column_statistics_args that) { + public boolean equals(get_table_column_statistics_args that) { if (that == null) return false; - boolean this_present_stats_obj = true && this.isSetStats_obj(); - boolean that_present_stats_obj = true && that.isSetStats_obj(); - if (this_present_stats_obj || that_present_stats_obj) { - if (!(this_present_stats_obj && that_present_stats_obj)) + boolean this_present_db_name = true && this.isSetDb_name(); + boolean that_present_db_name = true && that.isSetDb_name(); + if (this_present_db_name || that_present_db_name) { + if (!(this_present_db_name && that_present_db_name)) return false; - if (!this.stats_obj.equals(that.stats_obj)) + if (!this.db_name.equals(that.db_name)) + return false; + } + + boolean this_present_tbl_name = true && this.isSetTbl_name(); + boolean that_present_tbl_name = true && that.isSetTbl_name(); + if (this_present_tbl_name || that_present_tbl_name) { + if (!(this_present_tbl_name && that_present_tbl_name)) + return false; + if (!this.tbl_name.equals(that.tbl_name)) + return false; + } + + boolean this_present_col_name = true && this.isSetCol_name(); + boolean that_present_col_name = true && that.isSetCol_name(); + if (this_present_col_name || that_present_col_name) { + if (!(this_present_col_name && that_present_col_name)) + return false; + if (!this.col_name.equals(that.col_name)) return false; } @@ -97128,30 +106156,60 @@ public boolean equals(update_partition_column_statistics_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_stats_obj = true && (isSetStats_obj()); - builder.append(present_stats_obj); - if (present_stats_obj) - builder.append(stats_obj); + boolean present_db_name = true && (isSetDb_name()); + list.add(present_db_name); + if (present_db_name) + list.add(db_name); - return builder.toHashCode(); + boolean present_tbl_name = true && (isSetTbl_name()); + list.add(present_tbl_name); + if (present_tbl_name) + list.add(tbl_name); + + boolean present_col_name = true && (isSetCol_name()); + list.add(present_col_name); + if (present_col_name) + list.add(col_name); + + return list.hashCode(); } - public int compareTo(update_partition_column_statistics_args other) { + @Override + public int compareTo(get_table_column_statistics_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - update_partition_column_statistics_args typedOther = (update_partition_column_statistics_args)other; - lastComparison = Boolean.valueOf(isSetStats_obj()).compareTo(typedOther.isSetStats_obj()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } - if (isSetStats_obj()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stats_obj, typedOther.stats_obj); + if (isSetDb_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTbl_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCol_name()).compareTo(other.isSetCol_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetCol_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col_name, other.col_name); if (lastComparison != 0) { return lastComparison; } @@ -97173,14 +106231,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("update_partition_column_statistics_args("); + StringBuilder sb = new StringBuilder("get_table_column_statistics_args("); boolean first = true; - sb.append("stats_obj:"); - if (this.stats_obj == null) { + sb.append("db_name:"); + if (this.db_name == null) { sb.append("null"); } else { - sb.append(this.stats_obj); + sb.append(this.db_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("tbl_name:"); + if (this.tbl_name == null) { + sb.append("null"); + } else { + sb.append(this.tbl_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("col_name:"); + if (this.col_name == null) { + sb.append("null"); + } else { + sb.append(this.col_name); } first = false; sb.append(")"); @@ -97190,9 +106264,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if (stats_obj != null) { - stats_obj.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -97211,15 +106282,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class update_partition_column_statistics_argsStandardSchemeFactory implements SchemeFactory { - public update_partition_column_statistics_argsStandardScheme getScheme() { - return new update_partition_column_statistics_argsStandardScheme(); + private static class get_table_column_statistics_argsStandardSchemeFactory implements SchemeFactory { + public get_table_column_statistics_argsStandardScheme getScheme() { + return new get_table_column_statistics_argsStandardScheme(); } } - private static class update_partition_column_statistics_argsStandardScheme extends StandardScheme { + private static class get_table_column_statistics_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, update_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_column_statistics_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -97229,11 +106300,26 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, update_partition_co break; } switch (schemeField.id) { - case 1: // STATS_OBJ - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.stats_obj = new ColumnStatistics(); - struct.stats_obj.read(iprot); - struct.setStats_objIsSet(true); + case 1: // DB_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TBL_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tbl_name = iprot.readString(); + struct.setTbl_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COL_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.col_name = iprot.readString(); + struct.setCol_nameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -97247,13 +106333,23 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, update_partition_co struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, update_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_column_statistics_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.stats_obj != null) { - oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); - struct.stats_obj.write(oprot); + if (struct.db_name != null) { + oprot.writeFieldBegin(DB_NAME_FIELD_DESC); + oprot.writeString(struct.db_name); + oprot.writeFieldEnd(); + } + if (struct.tbl_name != null) { + oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); + oprot.writeString(struct.tbl_name); + oprot.writeFieldEnd(); + } + if (struct.col_name != null) { + oprot.writeFieldBegin(COL_NAME_FIELD_DESC); + oprot.writeString(struct.col_name); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -97262,45 +106358,64 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, update_partition_c } - private static class update_partition_column_statistics_argsTupleSchemeFactory implements SchemeFactory { - public update_partition_column_statistics_argsTupleScheme getScheme() { - return new update_partition_column_statistics_argsTupleScheme(); + private static class get_table_column_statistics_argsTupleSchemeFactory implements SchemeFactory { + public get_table_column_statistics_argsTupleScheme getScheme() { + return new get_table_column_statistics_argsTupleScheme(); } } - private static class update_partition_column_statistics_argsTupleScheme extends TupleScheme { + private static class get_table_column_statistics_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, update_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetStats_obj()) { + if (struct.isSetDb_name()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); - if (struct.isSetStats_obj()) { - struct.stats_obj.write(oprot); + if (struct.isSetTbl_name()) { + optionals.set(1); + } + if (struct.isSetCol_name()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if (struct.isSetDb_name()) { + oprot.writeString(struct.db_name); + } + if (struct.isSetTbl_name()) { + oprot.writeString(struct.tbl_name); + } + if (struct.isSetCol_name()) { + oprot.writeString(struct.col_name); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, update_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.stats_obj = new ColumnStatistics(); - struct.stats_obj.read(iprot); - struct.setStats_objIsSet(true); + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); + } + if (incoming.get(1)) { + struct.tbl_name = iprot.readString(); + struct.setTbl_nameIsSet(true); + } + if (incoming.get(2)) { + struct.col_name = iprot.readString(); + struct.setCol_nameIsSet(true); } } } } - public static class update_partition_column_statistics_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("update_partition_column_statistics_result"); + public static class get_table_column_statistics_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_column_statistics_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); + 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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); @@ -97308,15 +106423,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, update_partition_col private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new update_partition_column_statistics_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new update_partition_column_statistics_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_table_column_statistics_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_column_statistics_resultTupleSchemeFactory()); } - private boolean success; // required + private ColumnStatistics success; // required private NoSuchObjectException o1; // required - private InvalidObjectException o2; // required - private MetaException o3; // required - private InvalidInputException o4; // required + private MetaException o2; // required + private InvalidInputException o3; // required + private InvalidObjectException o4; // 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 { @@ -97389,13 +106504,11 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnStatistics.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, @@ -97405,22 +106518,21 @@ public String getFieldName() { tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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(update_partition_column_statistics_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_column_statistics_result.class, metaDataMap); } - public update_partition_column_statistics_result() { + public get_table_column_statistics_result() { } - public update_partition_column_statistics_result( - boolean success, + public get_table_column_statistics_result( + ColumnStatistics success, NoSuchObjectException o1, - InvalidObjectException o2, - MetaException o3, - InvalidInputException o4) + MetaException o2, + InvalidInputException o3, + InvalidObjectException o4) { this(); this.success = success; - setSuccessIsSet(true); this.o1 = o1; this.o2 = o2; this.o3 = o3; @@ -97430,57 +106542,58 @@ public update_partition_column_statistics_result( /** * Performs a deep copy on other. */ - public update_partition_column_statistics_result(update_partition_column_statistics_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public get_table_column_statistics_result(get_table_column_statistics_result other) { + if (other.isSetSuccess()) { + this.success = new ColumnStatistics(other.success); + } if (other.isSetO1()) { this.o1 = new NoSuchObjectException(other.o1); } if (other.isSetO2()) { - this.o2 = new InvalidObjectException(other.o2); + this.o2 = new MetaException(other.o2); } if (other.isSetO3()) { - this.o3 = new MetaException(other.o3); + this.o3 = new InvalidInputException(other.o3); } if (other.isSetO4()) { - this.o4 = new InvalidInputException(other.o4); + this.o4 = new InvalidObjectException(other.o4); } } - public update_partition_column_statistics_result deepCopy() { - return new update_partition_column_statistics_result(this); + public get_table_column_statistics_result deepCopy() { + return new get_table_column_statistics_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; this.o1 = null; this.o2 = null; this.o3 = null; this.o4 = null; } - public boolean isSuccess() { + public ColumnStatistics getSuccess() { return this.success; } - public void setSuccess(boolean success) { + public void setSuccess(ColumnStatistics success) { this.success = success; - setSuccessIsSet(true); } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + this.success = null; } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + if (!value) { + this.success = null; + } } public NoSuchObjectException getO1() { @@ -97506,11 +106619,11 @@ public void setO1IsSet(boolean value) { } } - public InvalidObjectException getO2() { + public MetaException getO2() { return this.o2; } - public void setO2(InvalidObjectException o2) { + public void setO2(MetaException o2) { this.o2 = o2; } @@ -97529,11 +106642,11 @@ public void setO2IsSet(boolean value) { } } - public MetaException getO3() { + public InvalidInputException getO3() { return this.o3; } - public void setO3(MetaException o3) { + public void setO3(InvalidInputException o3) { this.o3 = o3; } @@ -97552,11 +106665,11 @@ public void setO3IsSet(boolean value) { } } - public InvalidInputException getO4() { + public InvalidObjectException getO4() { return this.o4; } - public void setO4(InvalidInputException o4) { + public void setO4(InvalidObjectException o4) { this.o4 = o4; } @@ -97581,7 +106694,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Boolean)value); + setSuccess((ColumnStatistics)value); } break; @@ -97597,7 +106710,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((InvalidObjectException)value); + setO2((MetaException)value); } break; @@ -97605,7 +106718,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO3(); } else { - setO3((MetaException)value); + setO3((InvalidInputException)value); } break; @@ -97613,7 +106726,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO4(); } else { - setO4((InvalidInputException)value); + setO4((InvalidObjectException)value); } break; @@ -97623,7 +106736,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return getSuccess(); case O1: return getO1(); @@ -97666,21 +106779,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof update_partition_column_statistics_result) - return this.equals((update_partition_column_statistics_result)that); + if (that instanceof get_table_column_statistics_result) + return this.equals((get_table_column_statistics_result)that); return false; } - public boolean equals(update_partition_column_statistics_result that) { + public boolean equals(get_table_column_statistics_result that) { if (that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + 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 != that.success) + if (!this.success.equals(that.success)) return false; } @@ -97725,90 +106838,90 @@ public boolean equals(update_partition_column_statistics_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_success = true; - builder.append(present_success); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); + list.add(present_o4); if (present_o4) - builder.append(o4); + list.add(o4); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(update_partition_column_statistics_result other) { + @Override + public int compareTo(get_table_column_statistics_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - update_partition_column_statistics_result typedOther = (update_partition_column_statistics_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); if (lastComparison != 0) { return lastComparison; } if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } @@ -97830,11 +106943,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("update_partition_column_statistics_result("); + StringBuilder sb = new StringBuilder("get_table_column_statistics_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } first = false; if (!first) sb.append(", "); sb.append("o1:"); @@ -97875,6 +106992,9 @@ public String 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 { @@ -97887,23 +107007,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class update_partition_column_statistics_resultStandardSchemeFactory implements SchemeFactory { - public update_partition_column_statistics_resultStandardScheme getScheme() { - return new update_partition_column_statistics_resultStandardScheme(); + private static class get_table_column_statistics_resultStandardSchemeFactory implements SchemeFactory { + public get_table_column_statistics_resultStandardScheme getScheme() { + return new get_table_column_statistics_resultStandardScheme(); } } - private static class update_partition_column_statistics_resultStandardScheme extends StandardScheme { + private static class get_table_column_statistics_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, update_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_column_statistics_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -97914,8 +107032,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, update_partition_co } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new ColumnStatistics(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -97932,7 +107051,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, update_partition_co break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new InvalidObjectException(); + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { @@ -97941,7 +107060,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, update_partition_co break; case 3: // O3 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new MetaException(); + struct.o3 = new InvalidInputException(); struct.o3.read(iprot); struct.setO3IsSet(true); } else { @@ -97950,7 +107069,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, update_partition_co break; case 4: // O4 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o4 = new InvalidInputException(); + struct.o4 = new InvalidObjectException(); struct.o4.read(iprot); struct.setO4IsSet(true); } else { @@ -97966,13 +107085,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, update_partition_co struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, update_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_column_statistics_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.isSetSuccess()) { + if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + struct.success.write(oprot); oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -98001,16 +107120,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, update_partition_c } - private static class update_partition_column_statistics_resultTupleSchemeFactory implements SchemeFactory { - public update_partition_column_statistics_resultTupleScheme getScheme() { - return new update_partition_column_statistics_resultTupleScheme(); + private static class get_table_column_statistics_resultTupleSchemeFactory implements SchemeFactory { + public get_table_column_statistics_resultTupleScheme getScheme() { + return new get_table_column_statistics_resultTupleScheme(); } } - private static class update_partition_column_statistics_resultTupleScheme extends TupleScheme { + private static class get_table_column_statistics_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, update_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -98030,7 +107149,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, update_partition_co } oprot.writeBitSet(optionals, 5); if (struct.isSetSuccess()) { - oprot.writeBool(struct.success); + struct.success.write(oprot); } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -98047,11 +107166,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, update_partition_co } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, update_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { - struct.success = iprot.readBool(); + struct.success = new ColumnStatistics(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { @@ -98060,17 +107180,17 @@ public void read(org.apache.thrift.protocol.TProtocol prot, update_partition_col struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new InvalidObjectException(); + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } if (incoming.get(3)) { - struct.o3 = new MetaException(); + struct.o3 = new InvalidInputException(); struct.o3.read(iprot); struct.setO3IsSet(true); } if (incoming.get(4)) { - struct.o4 = new InvalidInputException(); + struct.o4 = new InvalidObjectException(); struct.o4.read(iprot); struct.setO4IsSet(true); } @@ -98079,28 +107199,31 @@ public void read(org.apache.thrift.protocol.TProtocol prot, update_partition_col } - public static class get_table_column_statistics_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_table_column_statistics_args"); + public static class get_partition_column_statistics_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_column_statistics_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("col_name", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField PART_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("part_name", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField COL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("col_name", org.apache.thrift.protocol.TType.STRING, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_table_column_statistics_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_table_column_statistics_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partition_column_statistics_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_column_statistics_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required + private String part_name; // required private String col_name; // 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 { DB_NAME((short)1, "db_name"), TBL_NAME((short)2, "tbl_name"), - COL_NAME((short)3, "col_name"); + PART_NAME((short)3, "part_name"), + COL_NAME((short)4, "col_name"); private static final Map byName = new HashMap(); @@ -98119,7 +107242,9 @@ public static _Fields findByThriftId(int fieldId) { return DB_NAME; case 2: // TBL_NAME return TBL_NAME; - case 3: // COL_NAME + case 3: // PART_NAME + return PART_NAME; + case 4: // COL_NAME return COL_NAME; default: return null; @@ -98168,49 +107293,57 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PART_NAME, new org.apache.thrift.meta_data.FieldMetaData("part_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.COL_NAME, new org.apache.thrift.meta_data.FieldMetaData("col_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_column_statistics_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_column_statistics_args.class, metaDataMap); } - public get_table_column_statistics_args() { + public get_partition_column_statistics_args() { } - public get_table_column_statistics_args( + public get_partition_column_statistics_args( String db_name, String tbl_name, + String part_name, String col_name) { this(); this.db_name = db_name; this.tbl_name = tbl_name; + this.part_name = part_name; this.col_name = col_name; } /** * Performs a deep copy on other. */ - public get_table_column_statistics_args(get_table_column_statistics_args other) { + public get_partition_column_statistics_args(get_partition_column_statistics_args other) { if (other.isSetDb_name()) { this.db_name = other.db_name; } if (other.isSetTbl_name()) { this.tbl_name = other.tbl_name; } + if (other.isSetPart_name()) { + this.part_name = other.part_name; + } if (other.isSetCol_name()) { this.col_name = other.col_name; } } - public get_table_column_statistics_args deepCopy() { - return new get_table_column_statistics_args(this); + public get_partition_column_statistics_args deepCopy() { + return new get_partition_column_statistics_args(this); } @Override public void clear() { this.db_name = null; this.tbl_name = null; + this.part_name = null; this.col_name = null; } @@ -98260,6 +107393,29 @@ public void setTbl_nameIsSet(boolean value) { } } + public String getPart_name() { + return this.part_name; + } + + public void setPart_name(String part_name) { + this.part_name = part_name; + } + + public void unsetPart_name() { + this.part_name = null; + } + + /** Returns true if field part_name is set (has been assigned a value) and false otherwise */ + public boolean isSetPart_name() { + return this.part_name != null; + } + + public void setPart_nameIsSet(boolean value) { + if (!value) { + this.part_name = null; + } + } + public String getCol_name() { return this.col_name; } @@ -98301,6 +107457,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case PART_NAME: + if (value == null) { + unsetPart_name(); + } else { + setPart_name((String)value); + } + break; + case COL_NAME: if (value == null) { unsetCol_name(); @@ -98320,6 +107484,9 @@ public Object getFieldValue(_Fields field) { case TBL_NAME: return getTbl_name(); + case PART_NAME: + return getPart_name(); + case COL_NAME: return getCol_name(); @@ -98338,6 +107505,8 @@ public boolean isSet(_Fields field) { return isSetDb_name(); case TBL_NAME: return isSetTbl_name(); + case PART_NAME: + return isSetPart_name(); case COL_NAME: return isSetCol_name(); } @@ -98348,12 +107517,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_table_column_statistics_args) - return this.equals((get_table_column_statistics_args)that); + if (that instanceof get_partition_column_statistics_args) + return this.equals((get_partition_column_statistics_args)that); return false; } - public boolean equals(get_table_column_statistics_args that) { + public boolean equals(get_partition_column_statistics_args that) { if (that == null) return false; @@ -98375,6 +107544,15 @@ public boolean equals(get_table_column_statistics_args that) { return false; } + boolean this_present_part_name = true && this.isSetPart_name(); + boolean that_present_part_name = true && that.isSetPart_name(); + if (this_present_part_name || that_present_part_name) { + if (!(this_present_part_name && that_present_part_name)) + return false; + if (!this.part_name.equals(that.part_name)) + return false; + } + boolean this_present_col_name = true && this.isSetCol_name(); boolean that_present_col_name = true && that.isSetCol_name(); if (this_present_col_name || that_present_col_name) { @@ -98389,60 +107567,75 @@ public boolean equals(get_table_column_statistics_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); + list.add(tbl_name); + + boolean present_part_name = true && (isSetPart_name()); + list.add(present_part_name); + if (present_part_name) + list.add(part_name); boolean present_col_name = true && (isSetCol_name()); - builder.append(present_col_name); + list.add(present_col_name); if (present_col_name) - builder.append(col_name); + list.add(col_name); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_table_column_statistics_args other) { + @Override + public int compareTo(get_partition_column_statistics_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_table_column_statistics_args typedOther = (get_table_column_statistics_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(other.isSetPart_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPart_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, other.part_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCol_name()).compareTo(typedOther.isSetCol_name()); + lastComparison = Boolean.valueOf(isSetCol_name()).compareTo(other.isSetCol_name()); if (lastComparison != 0) { return lastComparison; } if (isSetCol_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col_name, typedOther.col_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col_name, other.col_name); if (lastComparison != 0) { return lastComparison; } @@ -98464,7 +107657,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_table_column_statistics_args("); + StringBuilder sb = new StringBuilder("get_partition_column_statistics_args("); boolean first = true; sb.append("db_name:"); @@ -98483,6 +107676,14 @@ public String toString() { } first = false; if (!first) sb.append(", "); + sb.append("part_name:"); + if (this.part_name == null) { + sb.append("null"); + } else { + sb.append(this.part_name); + } + first = false; + if (!first) sb.append(", "); sb.append("col_name:"); if (this.col_name == null) { sb.append("null"); @@ -98515,15 +107716,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_table_column_statistics_argsStandardSchemeFactory implements SchemeFactory { - public get_table_column_statistics_argsStandardScheme getScheme() { - return new get_table_column_statistics_argsStandardScheme(); + private static class get_partition_column_statistics_argsStandardSchemeFactory implements SchemeFactory { + public get_partition_column_statistics_argsStandardScheme getScheme() { + return new get_partition_column_statistics_argsStandardScheme(); } } - private static class get_table_column_statistics_argsStandardScheme extends StandardScheme { + private static class get_partition_column_statistics_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_column_statistics_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -98549,7 +107750,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_column_st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // COL_NAME + case 3: // PART_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.part_name = iprot.readString(); + struct.setPart_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // COL_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.col_name = iprot.readString(); struct.setCol_nameIsSet(true); @@ -98566,7 +107775,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_column_st struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_column_statistics_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -98580,6 +107789,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_column_s oprot.writeString(struct.tbl_name); oprot.writeFieldEnd(); } + if (struct.part_name != null) { + oprot.writeFieldBegin(PART_NAME_FIELD_DESC); + oprot.writeString(struct.part_name); + oprot.writeFieldEnd(); + } if (struct.col_name != null) { oprot.writeFieldBegin(COL_NAME_FIELD_DESC); oprot.writeString(struct.col_name); @@ -98591,16 +107805,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_column_s } - private static class get_table_column_statistics_argsTupleSchemeFactory implements SchemeFactory { - public get_table_column_statistics_argsTupleScheme getScheme() { - return new get_table_column_statistics_argsTupleScheme(); + private static class get_partition_column_statistics_argsTupleSchemeFactory implements SchemeFactory { + public get_partition_column_statistics_argsTupleScheme getScheme() { + return new get_partition_column_statistics_argsTupleScheme(); } } - private static class get_table_column_statistics_argsTupleScheme extends TupleScheme { + private static class get_partition_column_statistics_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -98609,25 +107823,31 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_column_st if (struct.isSetTbl_name()) { optionals.set(1); } - if (struct.isSetCol_name()) { + if (struct.isSetPart_name()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if (struct.isSetCol_name()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); if (struct.isSetDb_name()) { oprot.writeString(struct.db_name); } if (struct.isSetTbl_name()) { oprot.writeString(struct.tbl_name); } + if (struct.isSetPart_name()) { + oprot.writeString(struct.part_name); + } if (struct.isSetCol_name()) { oprot.writeString(struct.col_name); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.db_name = iprot.readString(); struct.setDb_nameIsSet(true); @@ -98637,6 +107857,10 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_column_sta struct.setTbl_nameIsSet(true); } if (incoming.get(2)) { + struct.part_name = iprot.readString(); + struct.setPart_nameIsSet(true); + } + if (incoming.get(3)) { struct.col_name = iprot.readString(); struct.setCol_nameIsSet(true); } @@ -98645,8 +107869,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_column_sta } - public static class get_table_column_statistics_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_table_column_statistics_result"); + public static class get_partition_column_statistics_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partition_column_statistics_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); @@ -98656,8 +107880,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_column_sta private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_table_column_statistics_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_table_column_statistics_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partition_column_statistics_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partition_column_statistics_resultTupleSchemeFactory()); } private ColumnStatistics success; // required @@ -98751,13 +107975,13 @@ public String getFieldName() { tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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_table_column_statistics_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_column_statistics_result.class, metaDataMap); } - public get_table_column_statistics_result() { + public get_partition_column_statistics_result() { } - public get_table_column_statistics_result( + public get_partition_column_statistics_result( ColumnStatistics success, NoSuchObjectException o1, MetaException o2, @@ -98775,7 +107999,7 @@ public get_table_column_statistics_result( /** * Performs a deep copy on other. */ - public get_table_column_statistics_result(get_table_column_statistics_result other) { + public get_partition_column_statistics_result(get_partition_column_statistics_result other) { if (other.isSetSuccess()) { this.success = new ColumnStatistics(other.success); } @@ -98793,8 +108017,8 @@ public get_table_column_statistics_result(get_table_column_statistics_result oth } } - public get_table_column_statistics_result deepCopy() { - return new get_table_column_statistics_result(this); + public get_partition_column_statistics_result deepCopy() { + return new get_partition_column_statistics_result(this); } @Override @@ -99012,12 +108236,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_table_column_statistics_result) - return this.equals((get_table_column_statistics_result)that); + if (that instanceof get_partition_column_statistics_result) + return this.equals((get_partition_column_statistics_result)that); return false; } - public boolean equals(get_table_column_statistics_result that) { + public boolean equals(get_partition_column_statistics_result that) { if (that == null) return false; @@ -99071,90 +108295,90 @@ public boolean equals(get_table_column_statistics_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); + list.add(present_o4); if (present_o4) - builder.append(o4); + list.add(o4); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_table_column_statistics_result other) { + @Override + public int compareTo(get_partition_column_statistics_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_table_column_statistics_result typedOther = (get_table_column_statistics_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); if (lastComparison != 0) { return lastComparison; } if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } @@ -99176,7 +108400,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_table_column_statistics_result("); + StringBuilder sb = new StringBuilder("get_partition_column_statistics_result("); boolean first = true; sb.append("success:"); @@ -99246,15 +108470,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_table_column_statistics_resultStandardSchemeFactory implements SchemeFactory { - public get_table_column_statistics_resultStandardScheme getScheme() { - return new get_table_column_statistics_resultStandardScheme(); + private static class get_partition_column_statistics_resultStandardSchemeFactory implements SchemeFactory { + public get_partition_column_statistics_resultStandardScheme getScheme() { + return new get_partition_column_statistics_resultStandardScheme(); } } - private static class get_table_column_statistics_resultStandardScheme extends StandardScheme { + private static class get_partition_column_statistics_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -99318,7 +108542,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_column_st struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -99353,16 +108577,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_column_s } - private static class get_table_column_statistics_resultTupleSchemeFactory implements SchemeFactory { - public get_table_column_statistics_resultTupleScheme getScheme() { - return new get_table_column_statistics_resultTupleScheme(); + private static class get_partition_column_statistics_resultTupleSchemeFactory implements SchemeFactory { + public get_partition_column_statistics_resultTupleScheme getScheme() { + return new get_partition_column_statistics_resultTupleScheme(); } } - private static class get_table_column_statistics_resultTupleScheme extends TupleScheme { + private static class get_partition_column_statistics_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -99399,7 +108623,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_column_st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { @@ -99432,31 +108656,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_column_sta } - public static class get_partition_column_statistics_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_partition_column_statistics_args"); + public static class get_table_statistics_req_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_statistics_req_args"); - private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField PART_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("part_name", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField COL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("col_name", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partition_column_statistics_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partition_column_statistics_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_table_statistics_req_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_statistics_req_argsTupleSchemeFactory()); } - private String db_name; // required - private String tbl_name; // required - private String part_name; // required - private String col_name; // required + private TableStatsRequest request; // 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 { - DB_NAME((short)1, "db_name"), - TBL_NAME((short)2, "tbl_name"), - PART_NAME((short)3, "part_name"), - COL_NAME((short)4, "col_name"); + REQUEST((short)1, "request"); private static final Map byName = new HashMap(); @@ -99471,14 +108686,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_column_sta */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DB_NAME - return DB_NAME; - case 2: // TBL_NAME - return TBL_NAME; - case 3: // PART_NAME - return PART_NAME; - case 4: // COL_NAME - return COL_NAME; + case 1: // REQUEST + return REQUEST; default: return null; } @@ -99522,187 +108731,70 @@ public String getFieldName() { 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.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.PART_NAME, new org.apache.thrift.meta_data.FieldMetaData("part_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.COL_NAME, new org.apache.thrift.meta_data.FieldMetaData("col_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.REQUEST, new org.apache.thrift.meta_data.FieldMetaData("request", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TableStatsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_column_statistics_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_statistics_req_args.class, metaDataMap); } - public get_partition_column_statistics_args() { + public get_table_statistics_req_args() { } - public get_partition_column_statistics_args( - String db_name, - String tbl_name, - String part_name, - String col_name) + public get_table_statistics_req_args( + TableStatsRequest request) { this(); - this.db_name = db_name; - this.tbl_name = tbl_name; - this.part_name = part_name; - this.col_name = col_name; + this.request = request; } /** * Performs a deep copy on other. */ - public get_partition_column_statistics_args(get_partition_column_statistics_args other) { - if (other.isSetDb_name()) { - this.db_name = other.db_name; - } - if (other.isSetTbl_name()) { - this.tbl_name = other.tbl_name; - } - if (other.isSetPart_name()) { - this.part_name = other.part_name; - } - if (other.isSetCol_name()) { - this.col_name = other.col_name; + public get_table_statistics_req_args(get_table_statistics_req_args other) { + if (other.isSetRequest()) { + this.request = new TableStatsRequest(other.request); } } - public get_partition_column_statistics_args deepCopy() { - return new get_partition_column_statistics_args(this); + public get_table_statistics_req_args deepCopy() { + return new get_table_statistics_req_args(this); } @Override public void clear() { - this.db_name = null; - this.tbl_name = null; - this.part_name = null; - this.col_name = null; - } - - public String getDb_name() { - return this.db_name; - } - - public void setDb_name(String db_name) { - this.db_name = db_name; - } - - public void unsetDb_name() { - this.db_name = null; - } - - /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ - public boolean isSetDb_name() { - return this.db_name != null; - } - - public void setDb_nameIsSet(boolean value) { - if (!value) { - this.db_name = null; - } - } - - public String getTbl_name() { - return this.tbl_name; - } - - public void setTbl_name(String tbl_name) { - this.tbl_name = tbl_name; - } - - public void unsetTbl_name() { - this.tbl_name = null; - } - - /** Returns true if field tbl_name is set (has been assigned a value) and false otherwise */ - public boolean isSetTbl_name() { - return this.tbl_name != null; - } - - public void setTbl_nameIsSet(boolean value) { - if (!value) { - this.tbl_name = null; - } - } - - public String getPart_name() { - return this.part_name; - } - - public void setPart_name(String part_name) { - this.part_name = part_name; - } - - public void unsetPart_name() { - this.part_name = null; - } - - /** Returns true if field part_name is set (has been assigned a value) and false otherwise */ - public boolean isSetPart_name() { - return this.part_name != null; - } - - public void setPart_nameIsSet(boolean value) { - if (!value) { - this.part_name = null; - } + this.request = null; } - public String getCol_name() { - return this.col_name; + public TableStatsRequest getRequest() { + return this.request; } - public void setCol_name(String col_name) { - this.col_name = col_name; + public void setRequest(TableStatsRequest request) { + this.request = request; } - public void unsetCol_name() { - this.col_name = null; + public void unsetRequest() { + this.request = null; } - /** Returns true if field col_name is set (has been assigned a value) and false otherwise */ - public boolean isSetCol_name() { - return this.col_name != null; + /** Returns true if field request is set (has been assigned a value) and false otherwise */ + public boolean isSetRequest() { + return this.request != null; } - public void setCol_nameIsSet(boolean value) { + public void setRequestIsSet(boolean value) { if (!value) { - this.col_name = null; + this.request = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case DB_NAME: - if (value == null) { - unsetDb_name(); - } else { - setDb_name((String)value); - } - break; - - case TBL_NAME: - if (value == null) { - unsetTbl_name(); - } else { - setTbl_name((String)value); - } - break; - - case PART_NAME: - if (value == null) { - unsetPart_name(); - } else { - setPart_name((String)value); - } - break; - - case COL_NAME: + case REQUEST: if (value == null) { - unsetCol_name(); + unsetRequest(); } else { - setCol_name((String)value); + setRequest((TableStatsRequest)value); } break; @@ -99711,17 +108803,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case DB_NAME: - return getDb_name(); - - case TBL_NAME: - return getTbl_name(); - - case PART_NAME: - return getPart_name(); - - case COL_NAME: - return getCol_name(); + case REQUEST: + return getRequest(); } throw new IllegalStateException(); @@ -99734,14 +108817,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case DB_NAME: - return isSetDb_name(); - case TBL_NAME: - return isSetTbl_name(); - case PART_NAME: - return isSetPart_name(); - case COL_NAME: - return isSetCol_name(); + case REQUEST: + return isSetRequest(); } throw new IllegalStateException(); } @@ -99750,48 +108827,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partition_column_statistics_args) - return this.equals((get_partition_column_statistics_args)that); + if (that instanceof get_table_statistics_req_args) + return this.equals((get_table_statistics_req_args)that); return false; } - public boolean equals(get_partition_column_statistics_args that) { + public boolean equals(get_table_statistics_req_args that) { if (that == null) return false; - boolean this_present_db_name = true && this.isSetDb_name(); - boolean that_present_db_name = true && that.isSetDb_name(); - if (this_present_db_name || that_present_db_name) { - if (!(this_present_db_name && that_present_db_name)) - return false; - if (!this.db_name.equals(that.db_name)) - return false; - } - - boolean this_present_tbl_name = true && this.isSetTbl_name(); - boolean that_present_tbl_name = true && that.isSetTbl_name(); - if (this_present_tbl_name || that_present_tbl_name) { - if (!(this_present_tbl_name && that_present_tbl_name)) - return false; - if (!this.tbl_name.equals(that.tbl_name)) - return false; - } - - boolean this_present_part_name = true && this.isSetPart_name(); - boolean that_present_part_name = true && that.isSetPart_name(); - if (this_present_part_name || that_present_part_name) { - if (!(this_present_part_name && that_present_part_name)) - return false; - if (!this.part_name.equals(that.part_name)) - return false; - } - - boolean this_present_col_name = true && this.isSetCol_name(); - boolean that_present_col_name = true && that.isSetCol_name(); - if (this_present_col_name || that_present_col_name) { - if (!(this_present_col_name && that_present_col_name)) + boolean this_present_request = true && this.isSetRequest(); + boolean that_present_request = true && that.isSetRequest(); + if (this_present_request || that_present_request) { + if (!(this_present_request && that_present_request)) return false; - if (!this.col_name.equals(that.col_name)) + if (!this.request.equals(that.request)) return false; } @@ -99800,75 +108850,30 @@ public boolean equals(get_partition_column_statistics_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); - - boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); - if (present_db_name) - builder.append(db_name); + List list = new ArrayList(); - boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); - if (present_tbl_name) - builder.append(tbl_name); - - boolean present_part_name = true && (isSetPart_name()); - builder.append(present_part_name); - if (present_part_name) - builder.append(part_name); - - boolean present_col_name = true && (isSetCol_name()); - builder.append(present_col_name); - if (present_col_name) - builder.append(col_name); + boolean present_request = true && (isSetRequest()); + list.add(present_request); + if (present_request) + list.add(request); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_partition_column_statistics_args other) { + @Override + public int compareTo(get_table_statistics_req_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_column_statistics_args typedOther = (get_partition_column_statistics_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(typedOther.isSetPart_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetPart_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, typedOther.part_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetCol_name()).compareTo(typedOther.isSetCol_name()); + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(other.isSetRequest()); if (lastComparison != 0) { return lastComparison; } - if (isSetCol_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col_name, typedOther.col_name); + if (isSetRequest()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, other.request); if (lastComparison != 0) { return lastComparison; } @@ -99890,38 +108895,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_column_statistics_args("); + StringBuilder sb = new StringBuilder("get_table_statistics_req_args("); boolean first = true; - sb.append("db_name:"); - if (this.db_name == null) { - sb.append("null"); - } else { - sb.append(this.db_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("tbl_name:"); - if (this.tbl_name == null) { - sb.append("null"); - } else { - sb.append(this.tbl_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("part_name:"); - if (this.part_name == null) { - sb.append("null"); - } else { - sb.append(this.part_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("col_name:"); - if (this.col_name == null) { + sb.append("request:"); + if (this.request == null) { sb.append("null"); } else { - sb.append(this.col_name); + sb.append(this.request); } first = false; sb.append(")"); @@ -99931,6 +108912,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (request != null) { + request.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -99949,15 +108933,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partition_column_statistics_argsStandardSchemeFactory implements SchemeFactory { - public get_partition_column_statistics_argsStandardScheme getScheme() { - return new get_partition_column_statistics_argsStandardScheme(); + private static class get_table_statistics_req_argsStandardSchemeFactory implements SchemeFactory { + public get_table_statistics_req_argsStandardScheme getScheme() { + return new get_table_statistics_req_argsStandardScheme(); } } - private static class get_partition_column_statistics_argsStandardScheme extends StandardScheme { + private static class get_table_statistics_req_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -99967,34 +108951,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_colum break; } switch (schemeField.id) { - case 1: // DB_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TBL_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // PART_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.part_name = iprot.readString(); - struct.setPart_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // COL_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.col_name = iprot.readString(); - struct.setCol_nameIsSet(true); + case 1: // REQUEST + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.request = new TableStatsRequest(); + struct.request.read(iprot); + struct.setRequestIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -100008,28 +108969,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_colum struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.db_name != null) { - oprot.writeFieldBegin(DB_NAME_FIELD_DESC); - oprot.writeString(struct.db_name); - oprot.writeFieldEnd(); - } - if (struct.tbl_name != null) { - oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); - oprot.writeString(struct.tbl_name); - oprot.writeFieldEnd(); - } - if (struct.part_name != null) { - oprot.writeFieldBegin(PART_NAME_FIELD_DESC); - oprot.writeString(struct.part_name); - oprot.writeFieldEnd(); - } - if (struct.col_name != null) { - oprot.writeFieldBegin(COL_NAME_FIELD_DESC); - oprot.writeString(struct.col_name); + if (struct.request != null) { + oprot.writeFieldBegin(REQUEST_FIELD_DESC); + struct.request.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -100038,98 +108984,63 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_colu } - private static class get_partition_column_statistics_argsTupleSchemeFactory implements SchemeFactory { - public get_partition_column_statistics_argsTupleScheme getScheme() { - return new get_partition_column_statistics_argsTupleScheme(); + private static class get_table_statistics_req_argsTupleSchemeFactory implements SchemeFactory { + public get_table_statistics_req_argsTupleScheme getScheme() { + return new get_table_statistics_req_argsTupleScheme(); } } - private static class get_partition_column_statistics_argsTupleScheme extends TupleScheme { + private static class get_table_statistics_req_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetDb_name()) { + if (struct.isSetRequest()) { optionals.set(0); } - if (struct.isSetTbl_name()) { - optionals.set(1); - } - if (struct.isSetPart_name()) { - optionals.set(2); - } - if (struct.isSetCol_name()) { - optionals.set(3); - } - oprot.writeBitSet(optionals, 4); - if (struct.isSetDb_name()) { - oprot.writeString(struct.db_name); - } - if (struct.isSetTbl_name()) { - oprot.writeString(struct.tbl_name); - } - if (struct.isSetPart_name()) { - oprot.writeString(struct.part_name); - } - if (struct.isSetCol_name()) { - oprot.writeString(struct.col_name); + oprot.writeBitSet(optionals, 1); + if (struct.isSetRequest()) { + struct.request.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } - if (incoming.get(1)) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); - } - if (incoming.get(2)) { - struct.part_name = iprot.readString(); - struct.setPart_nameIsSet(true); - } - if (incoming.get(3)) { - struct.col_name = iprot.readString(); - struct.setCol_nameIsSet(true); + struct.request = new TableStatsRequest(); + struct.request.read(iprot); + struct.setRequestIsSet(true); } } } } - public static class get_partition_column_statistics_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_partition_column_statistics_result"); + public static class get_table_statistics_req_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_statistics_req_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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); - private static final org.apache.thrift.protocol.TField O4_FIELD_DESC = new org.apache.thrift.protocol.TField("o4", org.apache.thrift.protocol.TType.STRUCT, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partition_column_statistics_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partition_column_statistics_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_table_statistics_req_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_statistics_req_resultTupleSchemeFactory()); } - private ColumnStatistics success; // required + private TableStatsResult success; // required private NoSuchObjectException o1; // required private MetaException o2; // required - private InvalidInputException o3; // required - private InvalidObjectException o4; // 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"), - O3((short)3, "o3"), - O4((short)4, "o4"); + O2((short)2, "o2"); private static final Map byName = new HashMap(); @@ -100150,10 +109061,6 @@ public static _Fields findByThriftId(int fieldId) { return O1; case 2: // O2 return O2; - case 3: // O3 - return O3; - case 4: // O4 - return O4; default: return null; } @@ -100198,43 +109105,35 @@ 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, ColumnStatistics.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TableStatsResult.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))); - tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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_partition_column_statistics_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_statistics_req_result.class, metaDataMap); } - public get_partition_column_statistics_result() { + public get_table_statistics_req_result() { } - public get_partition_column_statistics_result( - ColumnStatistics success, + public get_table_statistics_req_result( + TableStatsResult success, NoSuchObjectException o1, - MetaException o2, - InvalidInputException o3, - InvalidObjectException o4) + MetaException o2) { this(); this.success = success; this.o1 = o1; this.o2 = o2; - this.o3 = o3; - this.o4 = o4; } /** * Performs a deep copy on other. */ - public get_partition_column_statistics_result(get_partition_column_statistics_result other) { + public get_table_statistics_req_result(get_table_statistics_req_result other) { if (other.isSetSuccess()) { - this.success = new ColumnStatistics(other.success); + this.success = new TableStatsResult(other.success); } if (other.isSetO1()) { this.o1 = new NoSuchObjectException(other.o1); @@ -100242,16 +109141,10 @@ public get_partition_column_statistics_result(get_partition_column_statistics_re if (other.isSetO2()) { this.o2 = new MetaException(other.o2); } - if (other.isSetO3()) { - this.o3 = new InvalidInputException(other.o3); - } - if (other.isSetO4()) { - this.o4 = new InvalidObjectException(other.o4); - } } - public get_partition_column_statistics_result deepCopy() { - return new get_partition_column_statistics_result(this); + public get_table_statistics_req_result deepCopy() { + return new get_table_statistics_req_result(this); } @Override @@ -100259,15 +109152,13 @@ public void clear() { this.success = null; this.o1 = null; this.o2 = null; - this.o3 = null; - this.o4 = null; } - public ColumnStatistics getSuccess() { + public TableStatsResult getSuccess() { return this.success; } - public void setSuccess(ColumnStatistics success) { + public void setSuccess(TableStatsResult success) { this.success = success; } @@ -100332,59 +109223,13 @@ public void setO2IsSet(boolean value) { } } - public InvalidInputException getO3() { - return this.o3; - } - - public void setO3(InvalidInputException o3) { - this.o3 = o3; - } - - public void unsetO3() { - this.o3 = null; - } - - /** Returns true if field o3 is set (has been assigned a value) and false otherwise */ - public boolean isSetO3() { - return this.o3 != null; - } - - public void setO3IsSet(boolean value) { - if (!value) { - this.o3 = null; - } - } - - public InvalidObjectException getO4() { - return this.o4; - } - - public void setO4(InvalidObjectException o4) { - this.o4 = o4; - } - - public void unsetO4() { - this.o4 = null; - } - - /** Returns true if field o4 is set (has been assigned a value) and false otherwise */ - public boolean isSetO4() { - return this.o4 != null; - } - - public void setO4IsSet(boolean value) { - if (!value) { - this.o4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { - setSuccess((ColumnStatistics)value); + setSuccess((TableStatsResult)value); } break; @@ -100404,22 +109249,6 @@ public void setFieldValue(_Fields field, Object value) { } break; - case O3: - if (value == null) { - unsetO3(); - } else { - setO3((InvalidInputException)value); - } - break; - - case O4: - if (value == null) { - unsetO4(); - } else { - setO4((InvalidObjectException)value); - } - break; - } } @@ -100434,12 +109263,6 @@ public Object getFieldValue(_Fields field) { case O2: return getO2(); - case O3: - return getO3(); - - case O4: - return getO4(); - } throw new IllegalStateException(); } @@ -100457,10 +109280,6 @@ public boolean isSet(_Fields field) { return isSetO1(); case O2: return isSetO2(); - case O3: - return isSetO3(); - case O4: - return isSetO4(); } throw new IllegalStateException(); } @@ -100469,12 +109288,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partition_column_statistics_result) - return this.equals((get_partition_column_statistics_result)that); + if (that instanceof get_table_statistics_req_result) + return this.equals((get_table_statistics_req_result)that); return false; } - public boolean equals(get_partition_column_statistics_result that) { + public boolean equals(get_table_statistics_req_result that) { if (that == null) return false; @@ -100505,113 +109324,65 @@ public boolean equals(get_partition_column_statistics_result that) { return false; } - boolean this_present_o3 = true && this.isSetO3(); - boolean that_present_o3 = true && that.isSetO3(); - if (this_present_o3 || that_present_o3) { - if (!(this_present_o3 && that_present_o3)) - return false; - if (!this.o3.equals(that.o3)) - return false; - } - - boolean this_present_o4 = true && this.isSetO4(); - boolean that_present_o4 = true && that.isSetO4(); - if (this_present_o4 || that_present_o4) { - if (!(this_present_o4 && that_present_o4)) - return false; - if (!this.o4.equals(that.o4)) - return false; - } - return true; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); - - boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); - if (present_o3) - builder.append(o3); - - boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); - if (present_o4) - builder.append(o4); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_partition_column_statistics_result other) { + @Override + public int compareTo(get_table_statistics_req_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_column_statistics_result typedOther = (get_partition_column_statistics_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -100633,7 +109404,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_column_statistics_result("); + StringBuilder sb = new StringBuilder("get_table_statistics_req_result("); boolean first = true; sb.append("success:"); @@ -100659,22 +109430,6 @@ public String toString() { sb.append(this.o2); } first = false; - if (!first) sb.append(", "); - sb.append("o3:"); - if (this.o3 == null) { - sb.append("null"); - } else { - sb.append(this.o3); - } - first = false; - if (!first) sb.append(", "); - sb.append("o4:"); - if (this.o4 == null) { - sb.append("null"); - } else { - sb.append(this.o4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -100703,15 +109458,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partition_column_statistics_resultStandardSchemeFactory implements SchemeFactory { - public get_partition_column_statistics_resultStandardScheme getScheme() { - return new get_partition_column_statistics_resultStandardScheme(); + private static class get_table_statistics_req_resultStandardSchemeFactory implements SchemeFactory { + public get_table_statistics_req_resultStandardScheme getScheme() { + return new get_table_statistics_req_resultStandardScheme(); } } - private static class get_partition_column_statistics_resultStandardScheme extends StandardScheme { + private static class get_table_statistics_req_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -100723,7 +109478,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_colum switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new ColumnStatistics(); + struct.success = new TableStatsResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -100748,24 +109503,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_colum org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // O3 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new InvalidInputException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // O4 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o4 = new InvalidObjectException(); - struct.o4.read(iprot); - struct.setO4IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -100775,7 +109512,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_colum struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -100794,32 +109531,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_colu struct.o2.write(oprot); oprot.writeFieldEnd(); } - if (struct.o3 != null) { - oprot.writeFieldBegin(O3_FIELD_DESC); - struct.o3.write(oprot); - oprot.writeFieldEnd(); - } - if (struct.o4 != null) { - oprot.writeFieldBegin(O4_FIELD_DESC); - struct.o4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_partition_column_statistics_resultTupleSchemeFactory implements SchemeFactory { - public get_partition_column_statistics_resultTupleScheme getScheme() { - return new get_partition_column_statistics_resultTupleScheme(); + private static class get_table_statistics_req_resultTupleSchemeFactory implements SchemeFactory { + public get_table_statistics_req_resultTupleScheme getScheme() { + return new get_table_statistics_req_resultTupleScheme(); } } - private static class get_partition_column_statistics_resultTupleScheme extends TupleScheme { + private static class get_table_statistics_req_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -100831,13 +109558,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_colum if (struct.isSetO2()) { optionals.set(2); } - if (struct.isSetO3()) { - optionals.set(3); - } - if (struct.isSetO4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { struct.success.write(oprot); } @@ -100847,20 +109568,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_colum if (struct.isSetO2()) { struct.o2.write(oprot); } - if (struct.isSetO3()) { - struct.o3.write(oprot); - } - if (struct.isSetO4()) { - struct.o4.write(oprot); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new ColumnStatistics(); + struct.success = new TableStatsResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -100874,33 +109589,23 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_column struct.o2.read(iprot); struct.setO2IsSet(true); } - if (incoming.get(3)) { - struct.o3 = new InvalidInputException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); - } - if (incoming.get(4)) { - struct.o4 = new InvalidObjectException(); - struct.o4.read(iprot); - struct.setO4IsSet(true); - } } } } - public static class get_table_statistics_req_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_table_statistics_req_args"); + public static class get_partitions_statistics_req_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_statistics_req_args"); private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_table_statistics_req_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_table_statistics_req_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_statistics_req_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_statistics_req_argsTupleSchemeFactory()); } - private TableStatsRequest request; // required + private PartitionsStatsRequest request; // 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 { @@ -100965,16 +109670,16 @@ 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.REQUEST, new org.apache.thrift.meta_data.FieldMetaData("request", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TableStatsRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsStatsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_statistics_req_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_statistics_req_args.class, metaDataMap); } - public get_table_statistics_req_args() { + public get_partitions_statistics_req_args() { } - public get_table_statistics_req_args( - TableStatsRequest request) + public get_partitions_statistics_req_args( + PartitionsStatsRequest request) { this(); this.request = request; @@ -100983,14 +109688,14 @@ public get_table_statistics_req_args( /** * Performs a deep copy on other. */ - public get_table_statistics_req_args(get_table_statistics_req_args other) { + public get_partitions_statistics_req_args(get_partitions_statistics_req_args other) { if (other.isSetRequest()) { - this.request = new TableStatsRequest(other.request); + this.request = new PartitionsStatsRequest(other.request); } } - public get_table_statistics_req_args deepCopy() { - return new get_table_statistics_req_args(this); + public get_partitions_statistics_req_args deepCopy() { + return new get_partitions_statistics_req_args(this); } @Override @@ -100998,11 +109703,11 @@ public void clear() { this.request = null; } - public TableStatsRequest getRequest() { + public PartitionsStatsRequest getRequest() { return this.request; } - public void setRequest(TableStatsRequest request) { + public void setRequest(PartitionsStatsRequest request) { this.request = request; } @@ -101027,7 +109732,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRequest(); } else { - setRequest((TableStatsRequest)value); + setRequest((PartitionsStatsRequest)value); } break; @@ -101060,12 +109765,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_table_statistics_req_args) - return this.equals((get_table_statistics_req_args)that); + if (that instanceof get_partitions_statistics_req_args) + return this.equals((get_partitions_statistics_req_args)that); return false; } - public boolean equals(get_table_statistics_req_args that) { + public boolean equals(get_partitions_statistics_req_args that) { if (that == null) return false; @@ -101083,30 +109788,30 @@ public boolean equals(get_table_statistics_req_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_request = true && (isSetRequest()); - builder.append(present_request); + list.add(present_request); if (present_request) - builder.append(request); + list.add(request); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_table_statistics_req_args other) { + @Override + public int compareTo(get_partitions_statistics_req_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_table_statistics_req_args typedOther = (get_table_statistics_req_args)other; - lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(other.isSetRequest()); if (lastComparison != 0) { return lastComparison; } if (isSetRequest()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, typedOther.request); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, other.request); if (lastComparison != 0) { return lastComparison; } @@ -101128,7 +109833,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_table_statistics_req_args("); + StringBuilder sb = new StringBuilder("get_partitions_statistics_req_args("); boolean first = true; sb.append("request:"); @@ -101166,15 +109871,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_table_statistics_req_argsStandardSchemeFactory implements SchemeFactory { - public get_table_statistics_req_argsStandardScheme getScheme() { - return new get_table_statistics_req_argsStandardScheme(); + private static class get_partitions_statistics_req_argsStandardSchemeFactory implements SchemeFactory { + public get_partitions_statistics_req_argsStandardScheme getScheme() { + return new get_partitions_statistics_req_argsStandardScheme(); } } - private static class get_table_statistics_req_argsStandardScheme extends StandardScheme { + private static class get_partitions_statistics_req_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -101186,7 +109891,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistic switch (schemeField.id) { case 1: // REQUEST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.request = new TableStatsRequest(); + struct.request = new PartitionsStatsRequest(); struct.request.read(iprot); struct.setRequestIsSet(true); } else { @@ -101202,7 +109907,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistic struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -101217,16 +109922,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_statisti } - private static class get_table_statistics_req_argsTupleSchemeFactory implements SchemeFactory { - public get_table_statistics_req_argsTupleScheme getScheme() { - return new get_table_statistics_req_argsTupleScheme(); + private static class get_partitions_statistics_req_argsTupleSchemeFactory implements SchemeFactory { + public get_partitions_statistics_req_argsTupleScheme getScheme() { + return new get_partitions_statistics_req_argsTupleScheme(); } } - private static class get_table_statistics_req_argsTupleScheme extends TupleScheme { + private static class get_partitions_statistics_req_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRequest()) { @@ -101239,11 +109944,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistic } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.request = new TableStatsRequest(); + struct.request = new PartitionsStatsRequest(); struct.request.read(iprot); struct.setRequestIsSet(true); } @@ -101252,8 +109957,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics } - public static class get_table_statistics_req_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_table_statistics_req_result"); + public static class get_partitions_statistics_req_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_partitions_statistics_req_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); @@ -101261,11 +109966,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_table_statistics_req_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_table_statistics_req_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_statistics_req_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_statistics_req_resultTupleSchemeFactory()); } - private TableStatsResult success; // required + private PartitionsStatsResult success; // required private NoSuchObjectException o1; // required private MetaException o2; // required @@ -101338,20 +110043,20 @@ 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, TableStatsResult.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsStatsResult.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_table_statistics_req_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_statistics_req_result.class, metaDataMap); } - public get_table_statistics_req_result() { + public get_partitions_statistics_req_result() { } - public get_table_statistics_req_result( - TableStatsResult success, + public get_partitions_statistics_req_result( + PartitionsStatsResult success, NoSuchObjectException o1, MetaException o2) { @@ -101364,9 +110069,9 @@ public get_table_statistics_req_result( /** * Performs a deep copy on other. */ - public get_table_statistics_req_result(get_table_statistics_req_result other) { + public get_partitions_statistics_req_result(get_partitions_statistics_req_result other) { if (other.isSetSuccess()) { - this.success = new TableStatsResult(other.success); + this.success = new PartitionsStatsResult(other.success); } if (other.isSetO1()) { this.o1 = new NoSuchObjectException(other.o1); @@ -101376,8 +110081,8 @@ public get_table_statistics_req_result(get_table_statistics_req_result other) { } } - public get_table_statistics_req_result deepCopy() { - return new get_table_statistics_req_result(this); + public get_partitions_statistics_req_result deepCopy() { + return new get_partitions_statistics_req_result(this); } @Override @@ -101387,11 +110092,11 @@ public void clear() { this.o2 = null; } - public TableStatsResult getSuccess() { + public PartitionsStatsResult getSuccess() { return this.success; } - public void setSuccess(TableStatsResult success) { + public void setSuccess(PartitionsStatsResult success) { this.success = success; } @@ -101462,7 +110167,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((TableStatsResult)value); + setSuccess((PartitionsStatsResult)value); } break; @@ -101521,12 +110226,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_table_statistics_req_result) - return this.equals((get_table_statistics_req_result)that); + if (that instanceof get_partitions_statistics_req_result) + return this.equals((get_partitions_statistics_req_result)that); return false; } - public boolean equals(get_table_statistics_req_result that) { + public boolean equals(get_partitions_statistics_req_result that) { if (that == null) return false; @@ -101562,60 +110267,60 @@ public boolean equals(get_table_statistics_req_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_table_statistics_req_result other) { + @Override + public int compareTo(get_partitions_statistics_req_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_table_statistics_req_result typedOther = (get_table_statistics_req_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -101637,7 +110342,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_table_statistics_req_result("); + StringBuilder sb = new StringBuilder("get_partitions_statistics_req_result("); boolean first = true; sb.append("success:"); @@ -101691,15 +110396,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_table_statistics_req_resultStandardSchemeFactory implements SchemeFactory { - public get_table_statistics_req_resultStandardScheme getScheme() { - return new get_table_statistics_req_resultStandardScheme(); + private static class get_partitions_statistics_req_resultStandardSchemeFactory implements SchemeFactory { + public get_partitions_statistics_req_resultStandardScheme getScheme() { + return new get_partitions_statistics_req_resultStandardScheme(); } } - private static class get_table_statistics_req_resultStandardScheme extends StandardScheme { + private static class get_partitions_statistics_req_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -101711,7 +110416,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistic switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new TableStatsResult(); + struct.success = new PartitionsStatsResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -101745,7 +110450,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistic struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -101770,16 +110475,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_statisti } - private static class get_table_statistics_req_resultTupleSchemeFactory implements SchemeFactory { - public get_table_statistics_req_resultTupleScheme getScheme() { - return new get_table_statistics_req_resultTupleScheme(); + private static class get_partitions_statistics_req_resultTupleSchemeFactory implements SchemeFactory { + public get_partitions_statistics_req_resultTupleScheme getScheme() { + return new get_partitions_statistics_req_resultTupleScheme(); } } - private static class get_table_statistics_req_resultTupleScheme extends TupleScheme { + private static class get_partitions_statistics_req_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -101804,11 +110509,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistic } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new TableStatsResult(); + struct.success = new PartitionsStatsResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -101827,15 +110532,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics } - public static class get_partitions_statistics_req_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_partitions_statistics_req_args"); + public static class get_aggr_stats_for_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_aggr_stats_for_args"); private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_statistics_req_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_statistics_req_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_aggr_stats_for_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_aggr_stats_for_argsTupleSchemeFactory()); } private PartitionsStatsRequest request; // required @@ -101905,13 +110610,13 @@ public String getFieldName() { tmpMap.put(_Fields.REQUEST, new org.apache.thrift.meta_data.FieldMetaData("request", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsStatsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_statistics_req_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_aggr_stats_for_args.class, metaDataMap); } - public get_partitions_statistics_req_args() { + public get_aggr_stats_for_args() { } - public get_partitions_statistics_req_args( + public get_aggr_stats_for_args( PartitionsStatsRequest request) { this(); @@ -101921,14 +110626,14 @@ public get_partitions_statistics_req_args( /** * Performs a deep copy on other. */ - public get_partitions_statistics_req_args(get_partitions_statistics_req_args other) { + public get_aggr_stats_for_args(get_aggr_stats_for_args other) { if (other.isSetRequest()) { this.request = new PartitionsStatsRequest(other.request); } } - public get_partitions_statistics_req_args deepCopy() { - return new get_partitions_statistics_req_args(this); + public get_aggr_stats_for_args deepCopy() { + return new get_aggr_stats_for_args(this); } @Override @@ -101998,12 +110703,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_statistics_req_args) - return this.equals((get_partitions_statistics_req_args)that); + if (that instanceof get_aggr_stats_for_args) + return this.equals((get_aggr_stats_for_args)that); return false; } - public boolean equals(get_partitions_statistics_req_args that) { + public boolean equals(get_aggr_stats_for_args that) { if (that == null) return false; @@ -102021,30 +110726,30 @@ public boolean equals(get_partitions_statistics_req_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_request = true && (isSetRequest()); - builder.append(present_request); + list.add(present_request); if (present_request) - builder.append(request); + list.add(request); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_partitions_statistics_req_args other) { + @Override + public int compareTo(get_aggr_stats_for_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_statistics_req_args typedOther = (get_partitions_statistics_req_args)other; - lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(other.isSetRequest()); if (lastComparison != 0) { return lastComparison; } if (isSetRequest()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, typedOther.request); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, other.request); if (lastComparison != 0) { return lastComparison; } @@ -102066,7 +110771,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_statistics_req_args("); + StringBuilder sb = new StringBuilder("get_aggr_stats_for_args("); boolean first = true; sb.append("request:"); @@ -102104,15 +110809,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_statistics_req_argsStandardSchemeFactory implements SchemeFactory { - public get_partitions_statistics_req_argsStandardScheme getScheme() { - return new get_partitions_statistics_req_argsStandardScheme(); + private static class get_aggr_stats_for_argsStandardSchemeFactory implements SchemeFactory { + public get_aggr_stats_for_argsStandardScheme getScheme() { + return new get_aggr_stats_for_argsStandardScheme(); } } - private static class get_partitions_statistics_req_argsStandardScheme extends StandardScheme { + private static class get_aggr_stats_for_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -102140,7 +110845,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_stat struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -102155,16 +110860,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_sta } - private static class get_partitions_statistics_req_argsTupleSchemeFactory implements SchemeFactory { - public get_partitions_statistics_req_argsTupleScheme getScheme() { - return new get_partitions_statistics_req_argsTupleScheme(); + private static class get_aggr_stats_for_argsTupleSchemeFactory implements SchemeFactory { + public get_aggr_stats_for_argsTupleScheme getScheme() { + return new get_aggr_stats_for_argsTupleScheme(); } } - private static class get_partitions_statistics_req_argsTupleScheme extends TupleScheme { + private static class get_aggr_stats_for_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRequest()) { @@ -102177,7 +110882,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_stat } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { @@ -102190,8 +110895,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_stati } - public static class get_partitions_statistics_req_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_partitions_statistics_req_result"); + public static class get_aggr_stats_for_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_aggr_stats_for_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); @@ -102199,11 +110904,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_stati private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_statistics_req_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_statistics_req_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_aggr_stats_for_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_aggr_stats_for_resultTupleSchemeFactory()); } - private PartitionsStatsResult success; // required + private AggrStats success; // required private NoSuchObjectException o1; // required private MetaException o2; // required @@ -102276,20 +110981,20 @@ 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, PartitionsStatsResult.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AggrStats.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_partitions_statistics_req_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_aggr_stats_for_result.class, metaDataMap); } - public get_partitions_statistics_req_result() { + public get_aggr_stats_for_result() { } - public get_partitions_statistics_req_result( - PartitionsStatsResult success, + public get_aggr_stats_for_result( + AggrStats success, NoSuchObjectException o1, MetaException o2) { @@ -102302,9 +111007,9 @@ public get_partitions_statistics_req_result( /** * Performs a deep copy on other. */ - public get_partitions_statistics_req_result(get_partitions_statistics_req_result other) { + public get_aggr_stats_for_result(get_aggr_stats_for_result other) { if (other.isSetSuccess()) { - this.success = new PartitionsStatsResult(other.success); + this.success = new AggrStats(other.success); } if (other.isSetO1()) { this.o1 = new NoSuchObjectException(other.o1); @@ -102314,8 +111019,8 @@ public get_partitions_statistics_req_result(get_partitions_statistics_req_result } } - public get_partitions_statistics_req_result deepCopy() { - return new get_partitions_statistics_req_result(this); + public get_aggr_stats_for_result deepCopy() { + return new get_aggr_stats_for_result(this); } @Override @@ -102325,11 +111030,11 @@ public void clear() { this.o2 = null; } - public PartitionsStatsResult getSuccess() { + public AggrStats getSuccess() { return this.success; } - public void setSuccess(PartitionsStatsResult success) { + public void setSuccess(AggrStats success) { this.success = success; } @@ -102400,7 +111105,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((PartitionsStatsResult)value); + setSuccess((AggrStats)value); } break; @@ -102459,12 +111164,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_statistics_req_result) - return this.equals((get_partitions_statistics_req_result)that); + if (that instanceof get_aggr_stats_for_result) + return this.equals((get_aggr_stats_for_result)that); return false; } - public boolean equals(get_partitions_statistics_req_result that) { + public boolean equals(get_aggr_stats_for_result that) { if (that == null) return false; @@ -102500,60 +111205,60 @@ public boolean equals(get_partitions_statistics_req_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_partitions_statistics_req_result other) { + @Override + public int compareTo(get_aggr_stats_for_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partitions_statistics_req_result typedOther = (get_partitions_statistics_req_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -102575,7 +111280,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_statistics_req_result("); + StringBuilder sb = new StringBuilder("get_aggr_stats_for_result("); boolean first = true; sb.append("success:"); @@ -102629,15 +111334,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_statistics_req_resultStandardSchemeFactory implements SchemeFactory { - public get_partitions_statistics_req_resultStandardScheme getScheme() { - return new get_partitions_statistics_req_resultStandardScheme(); + private static class get_aggr_stats_for_resultStandardSchemeFactory implements SchemeFactory { + public get_aggr_stats_for_resultStandardScheme getScheme() { + return new get_aggr_stats_for_resultStandardScheme(); } } - private static class get_partitions_statistics_req_resultStandardScheme extends StandardScheme { + private static class get_aggr_stats_for_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -102649,7 +111354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_stat switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new PartitionsStatsResult(); + struct.success = new AggrStats(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -102683,7 +111388,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_stat struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -102708,16 +111413,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_sta } - private static class get_partitions_statistics_req_resultTupleSchemeFactory implements SchemeFactory { - public get_partitions_statistics_req_resultTupleScheme getScheme() { - return new get_partitions_statistics_req_resultTupleScheme(); + private static class get_aggr_stats_for_resultTupleSchemeFactory implements SchemeFactory { + public get_aggr_stats_for_resultTupleScheme getScheme() { + return new get_aggr_stats_for_resultTupleScheme(); } } - private static class get_partitions_statistics_req_resultTupleScheme extends TupleScheme { + private static class get_aggr_stats_for_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -102742,11 +111447,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_stat } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new PartitionsStatsResult(); + struct.success = new AggrStats(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -102765,18 +111470,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_stati } - public static class get_aggr_stats_for_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_aggr_stats_for_args"); + public static class set_aggr_stats_for_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("set_aggr_stats_for_args"); private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_aggr_stats_for_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_aggr_stats_for_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new set_aggr_stats_for_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new set_aggr_stats_for_argsTupleSchemeFactory()); } - private PartitionsStatsRequest request; // required + private SetPartitionsStatsRequest request; // 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 { @@ -102841,16 +111546,16 @@ 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.REQUEST, new org.apache.thrift.meta_data.FieldMetaData("request", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsStatsRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SetPartitionsStatsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_aggr_stats_for_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(set_aggr_stats_for_args.class, metaDataMap); } - public get_aggr_stats_for_args() { + public set_aggr_stats_for_args() { } - public get_aggr_stats_for_args( - PartitionsStatsRequest request) + public set_aggr_stats_for_args( + SetPartitionsStatsRequest request) { this(); this.request = request; @@ -102859,14 +111564,14 @@ public get_aggr_stats_for_args( /** * Performs a deep copy on other. */ - public get_aggr_stats_for_args(get_aggr_stats_for_args other) { + public set_aggr_stats_for_args(set_aggr_stats_for_args other) { if (other.isSetRequest()) { - this.request = new PartitionsStatsRequest(other.request); + this.request = new SetPartitionsStatsRequest(other.request); } } - public get_aggr_stats_for_args deepCopy() { - return new get_aggr_stats_for_args(this); + public set_aggr_stats_for_args deepCopy() { + return new set_aggr_stats_for_args(this); } @Override @@ -102874,11 +111579,11 @@ public void clear() { this.request = null; } - public PartitionsStatsRequest getRequest() { + public SetPartitionsStatsRequest getRequest() { return this.request; } - public void setRequest(PartitionsStatsRequest request) { + public void setRequest(SetPartitionsStatsRequest request) { this.request = request; } @@ -102903,7 +111608,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRequest(); } else { - setRequest((PartitionsStatsRequest)value); + setRequest((SetPartitionsStatsRequest)value); } break; @@ -102936,12 +111641,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_aggr_stats_for_args) - return this.equals((get_aggr_stats_for_args)that); + if (that instanceof set_aggr_stats_for_args) + return this.equals((set_aggr_stats_for_args)that); return false; } - public boolean equals(get_aggr_stats_for_args that) { + public boolean equals(set_aggr_stats_for_args that) { if (that == null) return false; @@ -102959,30 +111664,30 @@ public boolean equals(get_aggr_stats_for_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_request = true && (isSetRequest()); - builder.append(present_request); + list.add(present_request); if (present_request) - builder.append(request); + list.add(request); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_aggr_stats_for_args other) { + @Override + public int compareTo(set_aggr_stats_for_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_aggr_stats_for_args typedOther = (get_aggr_stats_for_args)other; - lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(other.isSetRequest()); if (lastComparison != 0) { return lastComparison; } if (isSetRequest()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, typedOther.request); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, other.request); if (lastComparison != 0) { return lastComparison; } @@ -103004,7 +111709,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_aggr_stats_for_args("); + StringBuilder sb = new StringBuilder("set_aggr_stats_for_args("); boolean first = true; sb.append("request:"); @@ -103042,15 +111747,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_aggr_stats_for_argsStandardSchemeFactory implements SchemeFactory { - public get_aggr_stats_for_argsStandardScheme getScheme() { - return new get_aggr_stats_for_argsStandardScheme(); + private static class set_aggr_stats_for_argsStandardSchemeFactory implements SchemeFactory { + public set_aggr_stats_for_argsStandardScheme getScheme() { + return new set_aggr_stats_for_argsStandardScheme(); } } - private static class get_aggr_stats_for_argsStandardScheme extends StandardScheme { + private static class set_aggr_stats_for_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, set_aggr_stats_for_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -103062,7 +111767,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_ switch (schemeField.id) { case 1: // REQUEST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.request = new PartitionsStatsRequest(); + struct.request = new SetPartitionsStatsRequest(); struct.request.read(iprot); struct.setRequestIsSet(true); } else { @@ -103078,7 +111783,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, set_aggr_stats_for_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -103093,16 +111798,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for } - private static class get_aggr_stats_for_argsTupleSchemeFactory implements SchemeFactory { - public get_aggr_stats_for_argsTupleScheme getScheme() { - return new get_aggr_stats_for_argsTupleScheme(); + private static class set_aggr_stats_for_argsTupleSchemeFactory implements SchemeFactory { + public set_aggr_stats_for_argsTupleScheme getScheme() { + return new set_aggr_stats_for_argsTupleScheme(); } } - private static class get_aggr_stats_for_argsTupleScheme extends TupleScheme { + private static class set_aggr_stats_for_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRequest()) { @@ -103115,11 +111820,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.request = new PartitionsStatsRequest(); + struct.request = new SetPartitionsStatsRequest(); struct.request.read(iprot); struct.setRequestIsSet(true); } @@ -103128,28 +111833,34 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_a } - public static class get_aggr_stats_for_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_aggr_stats_for_result"); + public static class set_aggr_stats_for_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("set_aggr_stats_for_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 SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); + private static final org.apache.thrift.protocol.TField O4_FIELD_DESC = new org.apache.thrift.protocol.TField("o4", org.apache.thrift.protocol.TType.STRUCT, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_aggr_stats_for_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_aggr_stats_for_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new set_aggr_stats_for_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new set_aggr_stats_for_resultTupleSchemeFactory()); } - private AggrStats success; // required + private boolean success; // required private NoSuchObjectException o1; // required - private MetaException o2; // required + private InvalidObjectException o2; // required + private MetaException o3; // required + private InvalidInputException o4; // 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"); + O2((short)2, "o2"), + O3((short)3, "o3"), + O4((short)4, "o4"); private static final Map byName = new HashMap(); @@ -103170,6 +111881,10 @@ public static _Fields findByThriftId(int fieldId) { return O1; case 2: // O2 return O2; + case 3: // O3 + return O3; + case 4: // O4 + return O4; default: return null; } @@ -103210,80 +111925,98 @@ public String getFieldName() { } // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.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, AggrStats.class))); + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); 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))); + tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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_aggr_stats_for_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(set_aggr_stats_for_result.class, metaDataMap); } - public get_aggr_stats_for_result() { + public set_aggr_stats_for_result() { } - public get_aggr_stats_for_result( - AggrStats success, + public set_aggr_stats_for_result( + boolean success, NoSuchObjectException o1, - MetaException o2) + InvalidObjectException o2, + MetaException o3, + InvalidInputException o4) { this(); this.success = success; + setSuccessIsSet(true); this.o1 = o1; this.o2 = o2; + this.o3 = o3; + this.o4 = o4; } /** * Performs a deep copy on other. */ - public get_aggr_stats_for_result(get_aggr_stats_for_result other) { - if (other.isSetSuccess()) { - this.success = new AggrStats(other.success); - } + public set_aggr_stats_for_result(set_aggr_stats_for_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; if (other.isSetO1()) { this.o1 = new NoSuchObjectException(other.o1); } if (other.isSetO2()) { - this.o2 = new MetaException(other.o2); + this.o2 = new InvalidObjectException(other.o2); + } + if (other.isSetO3()) { + this.o3 = new MetaException(other.o3); + } + if (other.isSetO4()) { + this.o4 = new InvalidInputException(other.o4); } } - public get_aggr_stats_for_result deepCopy() { - return new get_aggr_stats_for_result(this); + public set_aggr_stats_for_result deepCopy() { + return new set_aggr_stats_for_result(this); } @Override public void clear() { - this.success = null; + setSuccessIsSet(false); + this.success = false; this.o1 = null; this.o2 = null; + this.o3 = null; + this.o4 = null; } - public AggrStats getSuccess() { + public boolean isSuccess() { return this.success; } - public void setSuccess(AggrStats success) { + public void setSuccess(boolean success) { this.success = success; + setSuccessIsSet(true); } public void unsetSuccess() { - this.success = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return this.success != null; + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - if (!value) { - this.success = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } public NoSuchObjectException getO1() { @@ -103309,11 +112042,11 @@ public void setO1IsSet(boolean value) { } } - public MetaException getO2() { + public InvalidObjectException getO2() { return this.o2; } - public void setO2(MetaException o2) { + public void setO2(InvalidObjectException o2) { this.o2 = o2; } @@ -103332,13 +112065,59 @@ public void setO2IsSet(boolean value) { } } + public MetaException getO3() { + return this.o3; + } + + public void setO3(MetaException o3) { + this.o3 = o3; + } + + public void unsetO3() { + this.o3 = null; + } + + /** Returns true if field o3 is set (has been assigned a value) and false otherwise */ + public boolean isSetO3() { + return this.o3 != null; + } + + public void setO3IsSet(boolean value) { + if (!value) { + this.o3 = null; + } + } + + public InvalidInputException getO4() { + return this.o4; + } + + public void setO4(InvalidInputException o4) { + this.o4 = o4; + } + + public void unsetO4() { + this.o4 = null; + } + + /** Returns true if field o4 is set (has been assigned a value) and false otherwise */ + public boolean isSetO4() { + return this.o4 != null; + } + + public void setO4IsSet(boolean value) { + if (!value) { + this.o4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { - setSuccess((AggrStats)value); + setSuccess((Boolean)value); } break; @@ -103354,7 +112133,23 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((MetaException)value); + setO2((InvalidObjectException)value); + } + break; + + case O3: + if (value == null) { + unsetO3(); + } else { + setO3((MetaException)value); + } + break; + + case O4: + if (value == null) { + unsetO4(); + } else { + setO4((InvalidInputException)value); } break; @@ -103364,7 +112159,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return getSuccess(); + return Boolean.valueOf(isSuccess()); case O1: return getO1(); @@ -103372,6 +112167,12 @@ public Object getFieldValue(_Fields field) { case O2: return getO2(); + case O3: + return getO3(); + + case O4: + return getO4(); + } throw new IllegalStateException(); } @@ -103389,6 +112190,10 @@ public boolean isSet(_Fields field) { return isSetO1(); case O2: return isSetO2(); + case O3: + return isSetO3(); + case O4: + return isSetO4(); } throw new IllegalStateException(); } @@ -103397,21 +112202,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_aggr_stats_for_result) - return this.equals((get_aggr_stats_for_result)that); + if (that instanceof set_aggr_stats_for_result) + return this.equals((set_aggr_stats_for_result)that); return false; } - public boolean equals(get_aggr_stats_for_result that) { + public boolean equals(set_aggr_stats_for_result that) { if (that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); + boolean this_present_success = true; + boolean that_present_success = true; if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; - if (!this.success.equals(that.success)) + if (this.success != that.success) return false; } @@ -103433,65 +112238,113 @@ public boolean equals(get_aggr_stats_for_result that) { return false; } + boolean this_present_o3 = true && this.isSetO3(); + boolean that_present_o3 = true && that.isSetO3(); + if (this_present_o3 || that_present_o3) { + if (!(this_present_o3 && that_present_o3)) + return false; + if (!this.o3.equals(that.o3)) + return false; + } + + boolean this_present_o4 = true && this.isSetO4(); + boolean that_present_o4 = true && that.isSetO4(); + if (this_present_o4 || that_present_o4) { + if (!(this_present_o4 && that_present_o4)) + return false; + if (!this.o4.equals(that.o4)) + return false; + } + return true; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + boolean present_success = true; + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + boolean present_o3 = true && (isSetO3()); + list.add(present_o3); + if (present_o3) + list.add(o3); + + boolean present_o4 = true && (isSetO4()); + list.add(present_o4); + if (present_o4) + list.add(o4); + + return list.hashCode(); } - public int compareTo(get_aggr_stats_for_result other) { + @Override + public int compareTo(set_aggr_stats_for_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_aggr_stats_for_result typedOther = (get_aggr_stats_for_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO3()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO4()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } @@ -103513,15 +112366,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_aggr_stats_for_result("); + StringBuilder sb = new StringBuilder("set_aggr_stats_for_result("); boolean first = true; sb.append("success:"); - if (this.success == null) { - sb.append("null"); - } else { - sb.append(this.success); - } + sb.append(this.success); first = false; if (!first) sb.append(", "); sb.append("o1:"); @@ -103539,6 +112388,22 @@ public String toString() { sb.append(this.o2); } first = false; + if (!first) sb.append(", "); + sb.append("o3:"); + if (this.o3 == null) { + sb.append("null"); + } else { + sb.append(this.o3); + } + first = false; + if (!first) sb.append(", "); + sb.append("o4:"); + if (this.o4 == null) { + sb.append("null"); + } else { + sb.append(this.o4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -103546,9 +112411,6 @@ public String 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 { @@ -103561,21 +112423,23 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class get_aggr_stats_for_resultStandardSchemeFactory implements SchemeFactory { - public get_aggr_stats_for_resultStandardScheme getScheme() { - return new get_aggr_stats_for_resultStandardScheme(); + private static class set_aggr_stats_for_resultStandardSchemeFactory implements SchemeFactory { + public set_aggr_stats_for_resultStandardScheme getScheme() { + return new set_aggr_stats_for_resultStandardScheme(); } } - private static class get_aggr_stats_for_resultStandardScheme extends StandardScheme { + private static class set_aggr_stats_for_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -103586,9 +112450,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_ } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new AggrStats(); - struct.success.read(iprot); + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -103605,13 +112468,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_ break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new MetaException(); + struct.o2 = new InvalidObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 3: // O3 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o3 = new MetaException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // O4 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o4 = new InvalidInputException(); + struct.o4.read(iprot); + struct.setO4IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -103621,13 +112502,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.success != null) { + if (struct.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + oprot.writeBool(struct.success); oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -103640,22 +112521,32 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for struct.o2.write(oprot); oprot.writeFieldEnd(); } + if (struct.o3 != null) { + oprot.writeFieldBegin(O3_FIELD_DESC); + struct.o3.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o4 != null) { + oprot.writeFieldBegin(O4_FIELD_DESC); + struct.o4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_aggr_stats_for_resultTupleSchemeFactory implements SchemeFactory { - public get_aggr_stats_for_resultTupleScheme getScheme() { - return new get_aggr_stats_for_resultTupleScheme(); + private static class set_aggr_stats_for_resultTupleSchemeFactory implements SchemeFactory { + public set_aggr_stats_for_resultTupleScheme getScheme() { + return new set_aggr_stats_for_resultTupleScheme(); } } - private static class get_aggr_stats_for_resultTupleScheme extends TupleScheme { + private static class set_aggr_stats_for_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -103667,9 +112558,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_ if (struct.isSetO2()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if (struct.isSetO3()) { + optionals.set(3); + } + if (struct.isSetO4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if (struct.isSetSuccess()) { - struct.success.write(oprot); + oprot.writeBool(struct.success); } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -103677,15 +112574,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_ if (struct.isSetO2()) { struct.o2.write(oprot); } + if (struct.isSetO3()) { + struct.o3.write(oprot); + } + if (struct.isSetO4()) { + struct.o4.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { - struct.success = new AggrStats(); - struct.success.read(iprot); + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } if (incoming.get(1)) { @@ -103694,31 +112596,50 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_r struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new MetaException(); + struct.o2 = new InvalidObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } + if (incoming.get(3)) { + struct.o3 = new MetaException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } + if (incoming.get(4)) { + struct.o4 = new InvalidInputException(); + struct.o4.read(iprot); + struct.setO4IsSet(true); + } } } } - public static class set_aggr_stats_for_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("set_aggr_stats_for_args"); + public static class delete_partition_column_statistics_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("delete_partition_column_statistics_args"); - private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField PART_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("part_name", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField COL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("col_name", org.apache.thrift.protocol.TType.STRING, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new set_aggr_stats_for_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new set_aggr_stats_for_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new delete_partition_column_statistics_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new delete_partition_column_statistics_argsTupleSchemeFactory()); } - private SetPartitionsStatsRequest request; // required + private String db_name; // required + private String tbl_name; // required + private String part_name; // required + private String col_name; // 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 { - REQUEST((short)1, "request"); + DB_NAME((short)1, "db_name"), + TBL_NAME((short)2, "tbl_name"), + PART_NAME((short)3, "part_name"), + COL_NAME((short)4, "col_name"); private static final Map byName = new HashMap(); @@ -103733,8 +112654,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_r */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // REQUEST - return REQUEST; + case 1: // DB_NAME + return DB_NAME; + case 2: // TBL_NAME + return TBL_NAME; + case 3: // PART_NAME + return PART_NAME; + case 4: // COL_NAME + return COL_NAME; default: return null; } @@ -103778,70 +112705,187 @@ public String getFieldName() { 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.REQUEST, new org.apache.thrift.meta_data.FieldMetaData("request", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SetPartitionsStatsRequest.class))); + tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PART_NAME, new org.apache.thrift.meta_data.FieldMetaData("part_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.COL_NAME, new org.apache.thrift.meta_data.FieldMetaData("col_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(set_aggr_stats_for_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(delete_partition_column_statistics_args.class, metaDataMap); } - public set_aggr_stats_for_args() { + public delete_partition_column_statistics_args() { } - public set_aggr_stats_for_args( - SetPartitionsStatsRequest request) + public delete_partition_column_statistics_args( + String db_name, + String tbl_name, + String part_name, + String col_name) { this(); - this.request = request; + this.db_name = db_name; + this.tbl_name = tbl_name; + this.part_name = part_name; + this.col_name = col_name; } /** * Performs a deep copy on other. */ - public set_aggr_stats_for_args(set_aggr_stats_for_args other) { - if (other.isSetRequest()) { - this.request = new SetPartitionsStatsRequest(other.request); + public delete_partition_column_statistics_args(delete_partition_column_statistics_args other) { + if (other.isSetDb_name()) { + this.db_name = other.db_name; + } + if (other.isSetTbl_name()) { + this.tbl_name = other.tbl_name; + } + if (other.isSetPart_name()) { + this.part_name = other.part_name; + } + if (other.isSetCol_name()) { + this.col_name = other.col_name; } } - public set_aggr_stats_for_args deepCopy() { - return new set_aggr_stats_for_args(this); + public delete_partition_column_statistics_args deepCopy() { + return new delete_partition_column_statistics_args(this); } @Override public void clear() { - this.request = null; + this.db_name = null; + this.tbl_name = null; + this.part_name = null; + this.col_name = null; } - public SetPartitionsStatsRequest getRequest() { - return this.request; + public String getDb_name() { + return this.db_name; } - public void setRequest(SetPartitionsStatsRequest request) { - this.request = request; + public void setDb_name(String db_name) { + this.db_name = db_name; } - public void unsetRequest() { - this.request = null; + public void unsetDb_name() { + this.db_name = null; } - /** Returns true if field request is set (has been assigned a value) and false otherwise */ - public boolean isSetRequest() { - return this.request != null; + /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ + public boolean isSetDb_name() { + return this.db_name != null; } - public void setRequestIsSet(boolean value) { + public void setDb_nameIsSet(boolean value) { if (!value) { - this.request = null; + this.db_name = null; + } + } + + public String getTbl_name() { + return this.tbl_name; + } + + public void setTbl_name(String tbl_name) { + this.tbl_name = tbl_name; + } + + public void unsetTbl_name() { + this.tbl_name = null; + } + + /** Returns true if field tbl_name is set (has been assigned a value) and false otherwise */ + public boolean isSetTbl_name() { + return this.tbl_name != null; + } + + public void setTbl_nameIsSet(boolean value) { + if (!value) { + this.tbl_name = null; + } + } + + public String getPart_name() { + return this.part_name; + } + + public void setPart_name(String part_name) { + this.part_name = part_name; + } + + public void unsetPart_name() { + this.part_name = null; + } + + /** Returns true if field part_name is set (has been assigned a value) and false otherwise */ + public boolean isSetPart_name() { + return this.part_name != null; + } + + public void setPart_nameIsSet(boolean value) { + if (!value) { + this.part_name = null; + } + } + + public String getCol_name() { + return this.col_name; + } + + public void setCol_name(String col_name) { + this.col_name = col_name; + } + + public void unsetCol_name() { + this.col_name = null; + } + + /** Returns true if field col_name is set (has been assigned a value) and false otherwise */ + public boolean isSetCol_name() { + return this.col_name != null; + } + + public void setCol_nameIsSet(boolean value) { + if (!value) { + this.col_name = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case REQUEST: + case DB_NAME: if (value == null) { - unsetRequest(); + unsetDb_name(); } else { - setRequest((SetPartitionsStatsRequest)value); + setDb_name((String)value); + } + break; + + case TBL_NAME: + if (value == null) { + unsetTbl_name(); + } else { + setTbl_name((String)value); + } + break; + + case PART_NAME: + if (value == null) { + unsetPart_name(); + } else { + setPart_name((String)value); + } + break; + + case COL_NAME: + if (value == null) { + unsetCol_name(); + } else { + setCol_name((String)value); } break; @@ -103850,8 +112894,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case REQUEST: - return getRequest(); + case DB_NAME: + return getDb_name(); + + case TBL_NAME: + return getTbl_name(); + + case PART_NAME: + return getPart_name(); + + case COL_NAME: + return getCol_name(); } throw new IllegalStateException(); @@ -103864,8 +112917,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case REQUEST: - return isSetRequest(); + case DB_NAME: + return isSetDb_name(); + case TBL_NAME: + return isSetTbl_name(); + case PART_NAME: + return isSetPart_name(); + case COL_NAME: + return isSetCol_name(); } throw new IllegalStateException(); } @@ -103874,21 +112933,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof set_aggr_stats_for_args) - return this.equals((set_aggr_stats_for_args)that); + if (that instanceof delete_partition_column_statistics_args) + return this.equals((delete_partition_column_statistics_args)that); return false; } - public boolean equals(set_aggr_stats_for_args that) { + public boolean equals(delete_partition_column_statistics_args that) { if (that == null) return false; - boolean this_present_request = true && this.isSetRequest(); - boolean that_present_request = true && that.isSetRequest(); - if (this_present_request || that_present_request) { - if (!(this_present_request && that_present_request)) + boolean this_present_db_name = true && this.isSetDb_name(); + boolean that_present_db_name = true && that.isSetDb_name(); + if (this_present_db_name || that_present_db_name) { + if (!(this_present_db_name && that_present_db_name)) return false; - if (!this.request.equals(that.request)) + if (!this.db_name.equals(that.db_name)) + return false; + } + + boolean this_present_tbl_name = true && this.isSetTbl_name(); + boolean that_present_tbl_name = true && that.isSetTbl_name(); + if (this_present_tbl_name || that_present_tbl_name) { + if (!(this_present_tbl_name && that_present_tbl_name)) + return false; + if (!this.tbl_name.equals(that.tbl_name)) + return false; + } + + boolean this_present_part_name = true && this.isSetPart_name(); + boolean that_present_part_name = true && that.isSetPart_name(); + if (this_present_part_name || that_present_part_name) { + if (!(this_present_part_name && that_present_part_name)) + return false; + if (!this.part_name.equals(that.part_name)) + return false; + } + + boolean this_present_col_name = true && this.isSetCol_name(); + boolean that_present_col_name = true && that.isSetCol_name(); + if (this_present_col_name || that_present_col_name) { + if (!(this_present_col_name && that_present_col_name)) + return false; + if (!this.col_name.equals(that.col_name)) return false; } @@ -103897,30 +112983,75 @@ public boolean equals(set_aggr_stats_for_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_request = true && (isSetRequest()); - builder.append(present_request); - if (present_request) - builder.append(request); + boolean present_db_name = true && (isSetDb_name()); + list.add(present_db_name); + if (present_db_name) + list.add(db_name); + + boolean present_tbl_name = true && (isSetTbl_name()); + list.add(present_tbl_name); + if (present_tbl_name) + list.add(tbl_name); - return builder.toHashCode(); + boolean present_part_name = true && (isSetPart_name()); + list.add(present_part_name); + if (present_part_name) + list.add(part_name); + + boolean present_col_name = true && (isSetCol_name()); + list.add(present_col_name); + if (present_col_name) + list.add(col_name); + + return list.hashCode(); } - public int compareTo(set_aggr_stats_for_args other) { + @Override + public int compareTo(delete_partition_column_statistics_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - set_aggr_stats_for_args typedOther = (set_aggr_stats_for_args)other; - lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } - if (isSetRequest()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, typedOther.request); + if (isSetDb_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTbl_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(other.isSetPart_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPart_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, other.part_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCol_name()).compareTo(other.isSetCol_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetCol_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col_name, other.col_name); if (lastComparison != 0) { return lastComparison; } @@ -103942,14 +113073,38 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("set_aggr_stats_for_args("); + StringBuilder sb = new StringBuilder("delete_partition_column_statistics_args("); boolean first = true; - sb.append("request:"); - if (this.request == null) { + sb.append("db_name:"); + if (this.db_name == null) { sb.append("null"); } else { - sb.append(this.request); + sb.append(this.db_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("tbl_name:"); + if (this.tbl_name == null) { + sb.append("null"); + } else { + sb.append(this.tbl_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("part_name:"); + if (this.part_name == null) { + sb.append("null"); + } else { + sb.append(this.part_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("col_name:"); + if (this.col_name == null) { + sb.append("null"); + } else { + sb.append(this.col_name); } first = false; sb.append(")"); @@ -103959,9 +113114,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if (request != null) { - request.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -103980,15 +113132,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class set_aggr_stats_for_argsStandardSchemeFactory implements SchemeFactory { - public set_aggr_stats_for_argsStandardScheme getScheme() { - return new set_aggr_stats_for_argsStandardScheme(); + private static class delete_partition_column_statistics_argsStandardSchemeFactory implements SchemeFactory { + public delete_partition_column_statistics_argsStandardScheme getScheme() { + return new delete_partition_column_statistics_argsStandardScheme(); } } - private static class set_aggr_stats_for_argsStandardScheme extends StandardScheme { + private static class delete_partition_column_statistics_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, set_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, delete_partition_column_statistics_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -103998,11 +113150,34 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_aggr_stats_for_ break; } switch (schemeField.id) { - case 1: // REQUEST - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.request = new SetPartitionsStatsRequest(); - struct.request.read(iprot); - struct.setRequestIsSet(true); + case 1: // DB_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TBL_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tbl_name = iprot.readString(); + struct.setTbl_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // PART_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.part_name = iprot.readString(); + struct.setPart_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // COL_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.col_name = iprot.readString(); + struct.setCol_nameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -104016,13 +113191,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_aggr_stats_for_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, set_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, delete_partition_column_statistics_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.request != null) { - oprot.writeFieldBegin(REQUEST_FIELD_DESC); - struct.request.write(oprot); + if (struct.db_name != null) { + oprot.writeFieldBegin(DB_NAME_FIELD_DESC); + oprot.writeString(struct.db_name); + oprot.writeFieldEnd(); + } + if (struct.tbl_name != null) { + oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); + oprot.writeString(struct.tbl_name); + oprot.writeFieldEnd(); + } + if (struct.part_name != null) { + oprot.writeFieldBegin(PART_NAME_FIELD_DESC); + oprot.writeString(struct.part_name); + oprot.writeFieldEnd(); + } + if (struct.col_name != null) { + oprot.writeFieldBegin(COL_NAME_FIELD_DESC); + oprot.writeString(struct.col_name); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -104031,43 +113221,72 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_aggr_stats_for } - private static class set_aggr_stats_for_argsTupleSchemeFactory implements SchemeFactory { - public set_aggr_stats_for_argsTupleScheme getScheme() { - return new set_aggr_stats_for_argsTupleScheme(); + private static class delete_partition_column_statistics_argsTupleSchemeFactory implements SchemeFactory { + public delete_partition_column_statistics_argsTupleScheme getScheme() { + return new delete_partition_column_statistics_argsTupleScheme(); } } - private static class set_aggr_stats_for_argsTupleScheme extends TupleScheme { + private static class delete_partition_column_statistics_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, delete_partition_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetRequest()) { + if (struct.isSetDb_name()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); - if (struct.isSetRequest()) { - struct.request.write(oprot); + if (struct.isSetTbl_name()) { + optionals.set(1); + } + if (struct.isSetPart_name()) { + optionals.set(2); + } + if (struct.isSetCol_name()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if (struct.isSetDb_name()) { + oprot.writeString(struct.db_name); + } + if (struct.isSetTbl_name()) { + oprot.writeString(struct.tbl_name); + } + if (struct.isSetPart_name()) { + oprot.writeString(struct.part_name); + } + if (struct.isSetCol_name()) { + oprot.writeString(struct.col_name); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, delete_partition_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { - struct.request = new SetPartitionsStatsRequest(); - struct.request.read(iprot); - struct.setRequestIsSet(true); + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); + } + if (incoming.get(1)) { + struct.tbl_name = iprot.readString(); + struct.setTbl_nameIsSet(true); + } + if (incoming.get(2)) { + struct.part_name = iprot.readString(); + struct.setPart_nameIsSet(true); + } + if (incoming.get(3)) { + struct.col_name = iprot.readString(); + struct.setCol_nameIsSet(true); } } } } - public static class set_aggr_stats_for_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("set_aggr_stats_for_result"); + public static class delete_partition_column_statistics_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("delete_partition_column_statistics_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (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); @@ -104077,14 +113296,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_a private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new set_aggr_stats_for_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new set_aggr_stats_for_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new delete_partition_column_statistics_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new delete_partition_column_statistics_resultTupleSchemeFactory()); } private boolean success; // required private NoSuchObjectException o1; // required - private InvalidObjectException o2; // required - private MetaException o3; // required + private MetaException o2; // required + private InvalidObjectException o3; // required private InvalidInputException o4; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @@ -104174,17 +113393,17 @@ public String getFieldName() { tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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(set_aggr_stats_for_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(delete_partition_column_statistics_result.class, metaDataMap); } - public set_aggr_stats_for_result() { + public delete_partition_column_statistics_result() { } - public set_aggr_stats_for_result( + public delete_partition_column_statistics_result( boolean success, NoSuchObjectException o1, - InvalidObjectException o2, - MetaException o3, + MetaException o2, + InvalidObjectException o3, InvalidInputException o4) { this(); @@ -104199,25 +113418,25 @@ public set_aggr_stats_for_result( /** * Performs a deep copy on other. */ - public set_aggr_stats_for_result(set_aggr_stats_for_result other) { + public delete_partition_column_statistics_result(delete_partition_column_statistics_result other) { __isset_bitfield = other.__isset_bitfield; this.success = other.success; if (other.isSetO1()) { this.o1 = new NoSuchObjectException(other.o1); } if (other.isSetO2()) { - this.o2 = new InvalidObjectException(other.o2); + this.o2 = new MetaException(other.o2); } if (other.isSetO3()) { - this.o3 = new MetaException(other.o3); + this.o3 = new InvalidObjectException(other.o3); } if (other.isSetO4()) { this.o4 = new InvalidInputException(other.o4); } } - public set_aggr_stats_for_result deepCopy() { - return new set_aggr_stats_for_result(this); + public delete_partition_column_statistics_result deepCopy() { + return new delete_partition_column_statistics_result(this); } @Override @@ -104275,11 +113494,11 @@ public void setO1IsSet(boolean value) { } } - public InvalidObjectException getO2() { + public MetaException getO2() { return this.o2; } - public void setO2(InvalidObjectException o2) { + public void setO2(MetaException o2) { this.o2 = o2; } @@ -104298,11 +113517,11 @@ public void setO2IsSet(boolean value) { } } - public MetaException getO3() { + public InvalidObjectException getO3() { return this.o3; } - public void setO3(MetaException o3) { + public void setO3(InvalidObjectException o3) { this.o3 = o3; } @@ -104366,7 +113585,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((InvalidObjectException)value); + setO2((MetaException)value); } break; @@ -104374,7 +113593,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO3(); } else { - setO3((MetaException)value); + setO3((InvalidObjectException)value); } break; @@ -104435,12 +113654,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof set_aggr_stats_for_result) - return this.equals((set_aggr_stats_for_result)that); + if (that instanceof delete_partition_column_statistics_result) + return this.equals((delete_partition_column_statistics_result)that); return false; } - public boolean equals(set_aggr_stats_for_result that) { + public boolean equals(delete_partition_column_statistics_result that) { if (that == null) return false; @@ -104494,90 +113713,90 @@ public boolean equals(set_aggr_stats_for_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); + list.add(present_o4); if (present_o4) - builder.append(o4); + list.add(o4); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(set_aggr_stats_for_result other) { + @Override + public int compareTo(delete_partition_column_statistics_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - set_aggr_stats_for_result typedOther = (set_aggr_stats_for_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); if (lastComparison != 0) { return lastComparison; } if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } @@ -104599,7 +113818,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("set_aggr_stats_for_result("); + StringBuilder sb = new StringBuilder("delete_partition_column_statistics_result("); boolean first = true; sb.append("success:"); @@ -104664,15 +113883,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class set_aggr_stats_for_resultStandardSchemeFactory implements SchemeFactory { - public set_aggr_stats_for_resultStandardScheme getScheme() { - return new set_aggr_stats_for_resultStandardScheme(); + private static class delete_partition_column_statistics_resultStandardSchemeFactory implements SchemeFactory { + public delete_partition_column_statistics_resultStandardScheme getScheme() { + return new delete_partition_column_statistics_resultStandardScheme(); } } - private static class set_aggr_stats_for_resultStandardScheme extends StandardScheme { + private static class delete_partition_column_statistics_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, delete_partition_column_statistics_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -104701,7 +113920,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_aggr_stats_for_ break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new InvalidObjectException(); + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { @@ -104710,7 +113929,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_aggr_stats_for_ break; case 3: // O3 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new MetaException(); + struct.o3 = new InvalidObjectException(); struct.o3.read(iprot); struct.setO3IsSet(true); } else { @@ -104735,7 +113954,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_aggr_stats_for_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, delete_partition_column_statistics_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -104770,16 +113989,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_aggr_stats_for } - private static class set_aggr_stats_for_resultTupleSchemeFactory implements SchemeFactory { - public set_aggr_stats_for_resultTupleScheme getScheme() { - return new set_aggr_stats_for_resultTupleScheme(); + private static class delete_partition_column_statistics_resultTupleSchemeFactory implements SchemeFactory { + public delete_partition_column_statistics_resultTupleScheme getScheme() { + return new delete_partition_column_statistics_resultTupleScheme(); } } - private static class set_aggr_stats_for_resultTupleScheme extends TupleScheme { + private static class delete_partition_column_statistics_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, delete_partition_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -104816,7 +114035,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, delete_partition_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { @@ -104829,12 +114048,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_r struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new InvalidObjectException(); + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } if (incoming.get(3)) { - struct.o3 = new MetaException(); + struct.o3 = new InvalidObjectException(); struct.o3.read(iprot); struct.setO3IsSet(true); } @@ -104848,31 +114067,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_r } - public static class delete_partition_column_statistics_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("delete_partition_column_statistics_args"); + public static class delete_table_column_statistics_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("delete_table_column_statistics_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField PART_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("part_name", org.apache.thrift.protocol.TType.STRING, (short)3); - private static final org.apache.thrift.protocol.TField COL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("col_name", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField COL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("col_name", org.apache.thrift.protocol.TType.STRING, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new delete_partition_column_statistics_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new delete_partition_column_statistics_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new delete_table_column_statistics_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new delete_table_column_statistics_argsTupleSchemeFactory()); } private String db_name; // required private String tbl_name; // required - private String part_name; // required private String col_name; // 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 { DB_NAME((short)1, "db_name"), TBL_NAME((short)2, "tbl_name"), - PART_NAME((short)3, "part_name"), - COL_NAME((short)4, "col_name"); + COL_NAME((short)3, "col_name"); private static final Map byName = new HashMap(); @@ -104891,9 +114107,7 @@ public static _Fields findByThriftId(int fieldId) { return DB_NAME; case 2: // TBL_NAME return TBL_NAME; - case 3: // PART_NAME - return PART_NAME; - case 4: // COL_NAME + case 3: // COL_NAME return COL_NAME; default: return null; @@ -104942,57 +114156,49 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.PART_NAME, new org.apache.thrift.meta_data.FieldMetaData("part_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.COL_NAME, new org.apache.thrift.meta_data.FieldMetaData("col_name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(delete_partition_column_statistics_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(delete_table_column_statistics_args.class, metaDataMap); } - public delete_partition_column_statistics_args() { + public delete_table_column_statistics_args() { } - public delete_partition_column_statistics_args( + public delete_table_column_statistics_args( String db_name, String tbl_name, - String part_name, String col_name) { this(); this.db_name = db_name; this.tbl_name = tbl_name; - this.part_name = part_name; this.col_name = col_name; } /** * Performs a deep copy on other. */ - public delete_partition_column_statistics_args(delete_partition_column_statistics_args other) { + public delete_table_column_statistics_args(delete_table_column_statistics_args other) { if (other.isSetDb_name()) { this.db_name = other.db_name; } if (other.isSetTbl_name()) { this.tbl_name = other.tbl_name; } - if (other.isSetPart_name()) { - this.part_name = other.part_name; - } if (other.isSetCol_name()) { this.col_name = other.col_name; } } - public delete_partition_column_statistics_args deepCopy() { - return new delete_partition_column_statistics_args(this); + public delete_table_column_statistics_args deepCopy() { + return new delete_table_column_statistics_args(this); } @Override public void clear() { this.db_name = null; this.tbl_name = null; - this.part_name = null; this.col_name = null; } @@ -105042,29 +114248,6 @@ public void setTbl_nameIsSet(boolean value) { } } - public String getPart_name() { - return this.part_name; - } - - public void setPart_name(String part_name) { - this.part_name = part_name; - } - - public void unsetPart_name() { - this.part_name = null; - } - - /** Returns true if field part_name is set (has been assigned a value) and false otherwise */ - public boolean isSetPart_name() { - return this.part_name != null; - } - - public void setPart_nameIsSet(boolean value) { - if (!value) { - this.part_name = null; - } - } - public String getCol_name() { return this.col_name; } @@ -105106,14 +114289,6 @@ public void setFieldValue(_Fields field, Object value) { } break; - case PART_NAME: - if (value == null) { - unsetPart_name(); - } else { - setPart_name((String)value); - } - break; - case COL_NAME: if (value == null) { unsetCol_name(); @@ -105133,9 +114308,6 @@ public Object getFieldValue(_Fields field) { case TBL_NAME: return getTbl_name(); - case PART_NAME: - return getPart_name(); - case COL_NAME: return getCol_name(); @@ -105154,8 +114326,6 @@ public boolean isSet(_Fields field) { return isSetDb_name(); case TBL_NAME: return isSetTbl_name(); - case PART_NAME: - return isSetPart_name(); case COL_NAME: return isSetCol_name(); } @@ -105166,12 +114336,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof delete_partition_column_statistics_args) - return this.equals((delete_partition_column_statistics_args)that); + if (that instanceof delete_table_column_statistics_args) + return this.equals((delete_table_column_statistics_args)that); return false; } - public boolean equals(delete_partition_column_statistics_args that) { + public boolean equals(delete_table_column_statistics_args that) { if (that == null) return false; @@ -105193,15 +114363,6 @@ public boolean equals(delete_partition_column_statistics_args that) { return false; } - boolean this_present_part_name = true && this.isSetPart_name(); - boolean that_present_part_name = true && that.isSetPart_name(); - if (this_present_part_name || that_present_part_name) { - if (!(this_present_part_name && that_present_part_name)) - return false; - if (!this.part_name.equals(that.part_name)) - return false; - } - boolean this_present_col_name = true && this.isSetCol_name(); boolean that_present_col_name = true && that.isSetCol_name(); if (this_present_col_name || that_present_col_name) { @@ -105216,75 +114377,60 @@ public boolean equals(delete_partition_column_statistics_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); + list.add(present_db_name); if (present_db_name) - builder.append(db_name); + list.add(db_name); boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); + list.add(present_tbl_name); if (present_tbl_name) - builder.append(tbl_name); - - boolean present_part_name = true && (isSetPart_name()); - builder.append(present_part_name); - if (present_part_name) - builder.append(part_name); + list.add(tbl_name); boolean present_col_name = true && (isSetCol_name()); - builder.append(present_col_name); + list.add(present_col_name); if (present_col_name) - builder.append(col_name); + list.add(col_name); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(delete_partition_column_statistics_args other) { + @Override + public int compareTo(delete_table_column_statistics_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - delete_partition_column_statistics_args typedOther = (delete_partition_column_statistics_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); if (lastComparison != 0) { return lastComparison; } if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); if (lastComparison != 0) { return lastComparison; } if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPart_name()).compareTo(typedOther.isSetPart_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetPart_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.part_name, typedOther.part_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetCol_name()).compareTo(typedOther.isSetCol_name()); + lastComparison = Boolean.valueOf(isSetCol_name()).compareTo(other.isSetCol_name()); if (lastComparison != 0) { return lastComparison; } if (isSetCol_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col_name, typedOther.col_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col_name, other.col_name); if (lastComparison != 0) { return lastComparison; } @@ -105306,7 +114452,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("delete_partition_column_statistics_args("); + StringBuilder sb = new StringBuilder("delete_table_column_statistics_args("); boolean first = true; sb.append("db_name:"); @@ -105325,14 +114471,6 @@ public String toString() { } first = false; if (!first) sb.append(", "); - sb.append("part_name:"); - if (this.part_name == null) { - sb.append("null"); - } else { - sb.append(this.part_name); - } - first = false; - if (!first) sb.append(", "); sb.append("col_name:"); if (this.col_name == null) { sb.append("null"); @@ -105365,15 +114503,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class delete_partition_column_statistics_argsStandardSchemeFactory implements SchemeFactory { - public delete_partition_column_statistics_argsStandardScheme getScheme() { - return new delete_partition_column_statistics_argsStandardScheme(); + private static class delete_table_column_statistics_argsStandardSchemeFactory implements SchemeFactory { + public delete_table_column_statistics_argsStandardScheme getScheme() { + return new delete_table_column_statistics_argsStandardScheme(); } } - private static class delete_partition_column_statistics_argsStandardScheme extends StandardScheme { + private static class delete_table_column_statistics_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, delete_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, delete_table_column_statistics_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -105399,15 +114537,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, delete_partition_co org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // PART_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.part_name = iprot.readString(); - struct.setPart_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // COL_NAME + case 3: // COL_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.col_name = iprot.readString(); struct.setCol_nameIsSet(true); @@ -105424,7 +114554,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, delete_partition_co struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, delete_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, delete_table_column_statistics_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -105438,11 +114568,6 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, delete_partition_c oprot.writeString(struct.tbl_name); oprot.writeFieldEnd(); } - if (struct.part_name != null) { - oprot.writeFieldBegin(PART_NAME_FIELD_DESC); - oprot.writeString(struct.part_name); - oprot.writeFieldEnd(); - } if (struct.col_name != null) { oprot.writeFieldBegin(COL_NAME_FIELD_DESC); oprot.writeString(struct.col_name); @@ -105454,16 +114579,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, delete_partition_c } - private static class delete_partition_column_statistics_argsTupleSchemeFactory implements SchemeFactory { - public delete_partition_column_statistics_argsTupleScheme getScheme() { - return new delete_partition_column_statistics_argsTupleScheme(); + private static class delete_table_column_statistics_argsTupleSchemeFactory implements SchemeFactory { + public delete_table_column_statistics_argsTupleScheme getScheme() { + return new delete_table_column_statistics_argsTupleScheme(); } } - private static class delete_partition_column_statistics_argsTupleScheme extends TupleScheme { + private static class delete_table_column_statistics_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, delete_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, delete_table_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -105472,31 +114597,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, delete_partition_co if (struct.isSetTbl_name()) { optionals.set(1); } - if (struct.isSetPart_name()) { - optionals.set(2); - } if (struct.isSetCol_name()) { - optionals.set(3); + optionals.set(2); } - oprot.writeBitSet(optionals, 4); + oprot.writeBitSet(optionals, 3); if (struct.isSetDb_name()) { oprot.writeString(struct.db_name); } if (struct.isSetTbl_name()) { oprot.writeString(struct.tbl_name); } - if (struct.isSetPart_name()) { - oprot.writeString(struct.part_name); - } if (struct.isSetCol_name()) { oprot.writeString(struct.col_name); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, delete_partition_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, delete_table_column_statistics_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.db_name = iprot.readString(); struct.setDb_nameIsSet(true); @@ -105506,10 +114625,6 @@ public void read(org.apache.thrift.protocol.TProtocol prot, delete_partition_col struct.setTbl_nameIsSet(true); } if (incoming.get(2)) { - struct.part_name = iprot.readString(); - struct.setPart_nameIsSet(true); - } - if (incoming.get(3)) { struct.col_name = iprot.readString(); struct.setCol_nameIsSet(true); } @@ -105518,8 +114633,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, delete_partition_col } - public static class delete_partition_column_statistics_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("delete_partition_column_statistics_result"); + public static class delete_table_column_statistics_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("delete_table_column_statistics_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (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); @@ -105529,8 +114644,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, delete_partition_col private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new delete_partition_column_statistics_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new delete_partition_column_statistics_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new delete_table_column_statistics_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new delete_table_column_statistics_resultTupleSchemeFactory()); } private boolean success; // required @@ -105626,13 +114741,13 @@ public String getFieldName() { tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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(delete_partition_column_statistics_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(delete_table_column_statistics_result.class, metaDataMap); } - public delete_partition_column_statistics_result() { + public delete_table_column_statistics_result() { } - public delete_partition_column_statistics_result( + public delete_table_column_statistics_result( boolean success, NoSuchObjectException o1, MetaException o2, @@ -105651,7 +114766,7 @@ public delete_partition_column_statistics_result( /** * Performs a deep copy on other. */ - public delete_partition_column_statistics_result(delete_partition_column_statistics_result other) { + public delete_table_column_statistics_result(delete_table_column_statistics_result other) { __isset_bitfield = other.__isset_bitfield; this.success = other.success; if (other.isSetO1()) { @@ -105668,8 +114783,8 @@ public delete_partition_column_statistics_result(delete_partition_column_statist } } - public delete_partition_column_statistics_result deepCopy() { - return new delete_partition_column_statistics_result(this); + public delete_table_column_statistics_result deepCopy() { + return new delete_table_column_statistics_result(this); } @Override @@ -105887,12 +115002,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof delete_partition_column_statistics_result) - return this.equals((delete_partition_column_statistics_result)that); + if (that instanceof delete_table_column_statistics_result) + return this.equals((delete_table_column_statistics_result)that); return false; } - public boolean equals(delete_partition_column_statistics_result that) { + public boolean equals(delete_table_column_statistics_result that) { if (that == null) return false; @@ -105946,90 +115061,90 @@ public boolean equals(delete_partition_column_statistics_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); + list.add(present_o4); if (present_o4) - builder.append(o4); + list.add(o4); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(delete_partition_column_statistics_result other) { + @Override + public int compareTo(delete_table_column_statistics_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - delete_partition_column_statistics_result typedOther = (delete_partition_column_statistics_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); if (lastComparison != 0) { return lastComparison; } if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } @@ -106051,7 +115166,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("delete_partition_column_statistics_result("); + StringBuilder sb = new StringBuilder("delete_table_column_statistics_result("); boolean first = true; sb.append("success:"); @@ -106116,15 +115231,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class delete_partition_column_statistics_resultStandardSchemeFactory implements SchemeFactory { - public delete_partition_column_statistics_resultStandardScheme getScheme() { - return new delete_partition_column_statistics_resultStandardScheme(); + private static class delete_table_column_statistics_resultStandardSchemeFactory implements SchemeFactory { + public delete_table_column_statistics_resultStandardScheme getScheme() { + return new delete_table_column_statistics_resultStandardScheme(); } } - private static class delete_partition_column_statistics_resultStandardScheme extends StandardScheme { + private static class delete_table_column_statistics_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, delete_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, delete_table_column_statistics_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -106187,7 +115302,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, delete_partition_co struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, delete_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, delete_table_column_statistics_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -106222,16 +115337,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, delete_partition_c } - private static class delete_partition_column_statistics_resultTupleSchemeFactory implements SchemeFactory { - public delete_partition_column_statistics_resultTupleScheme getScheme() { - return new delete_partition_column_statistics_resultTupleScheme(); + private static class delete_table_column_statistics_resultTupleSchemeFactory implements SchemeFactory { + public delete_table_column_statistics_resultTupleScheme getScheme() { + return new delete_table_column_statistics_resultTupleScheme(); } } - private static class delete_partition_column_statistics_resultTupleScheme extends TupleScheme { + private static class delete_table_column_statistics_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, delete_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, delete_table_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -106268,7 +115383,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, delete_partition_co } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, delete_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, delete_table_column_statistics_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { @@ -106300,28 +115415,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, delete_partition_col } - public static class delete_table_column_statistics_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("delete_table_column_statistics_args"); + public static class create_function_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_function_args"); - private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField COL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("col_name", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField FUNC_FIELD_DESC = new org.apache.thrift.protocol.TField("func", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new delete_table_column_statistics_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new delete_table_column_statistics_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new create_function_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new create_function_argsTupleSchemeFactory()); } - private String db_name; // required - private String tbl_name; // required - private String col_name; // required + private Function func; // 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 { - DB_NAME((short)1, "db_name"), - TBL_NAME((short)2, "tbl_name"), - COL_NAME((short)3, "col_name"); + FUNC((short)1, "func"); private static final Map byName = new HashMap(); @@ -106336,12 +115445,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, delete_partition_col */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DB_NAME - return DB_NAME; - case 2: // TBL_NAME - return TBL_NAME; - case 3: // COL_NAME - return COL_NAME; + case 1: // FUNC + return FUNC; default: return null; } @@ -106385,148 +115490,70 @@ public String getFieldName() { 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.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tbl_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.COL_NAME, new org.apache.thrift.meta_data.FieldMetaData("col_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.FUNC, new org.apache.thrift.meta_data.FieldMetaData("func", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Function.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(delete_table_column_statistics_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(create_function_args.class, metaDataMap); } - public delete_table_column_statistics_args() { + public create_function_args() { } - public delete_table_column_statistics_args( - String db_name, - String tbl_name, - String col_name) + public create_function_args( + Function func) { this(); - this.db_name = db_name; - this.tbl_name = tbl_name; - this.col_name = col_name; + this.func = func; } /** * Performs a deep copy on other. */ - public delete_table_column_statistics_args(delete_table_column_statistics_args other) { - if (other.isSetDb_name()) { - this.db_name = other.db_name; - } - if (other.isSetTbl_name()) { - this.tbl_name = other.tbl_name; - } - if (other.isSetCol_name()) { - this.col_name = other.col_name; + public create_function_args(create_function_args other) { + if (other.isSetFunc()) { + this.func = new Function(other.func); } } - public delete_table_column_statistics_args deepCopy() { - return new delete_table_column_statistics_args(this); + public create_function_args deepCopy() { + return new create_function_args(this); } @Override public void clear() { - this.db_name = null; - this.tbl_name = null; - this.col_name = null; - } - - public String getDb_name() { - return this.db_name; - } - - public void setDb_name(String db_name) { - this.db_name = db_name; - } - - public void unsetDb_name() { - this.db_name = null; - } - - /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ - public boolean isSetDb_name() { - return this.db_name != null; - } - - public void setDb_nameIsSet(boolean value) { - if (!value) { - this.db_name = null; - } - } - - public String getTbl_name() { - return this.tbl_name; - } - - public void setTbl_name(String tbl_name) { - this.tbl_name = tbl_name; - } - - public void unsetTbl_name() { - this.tbl_name = null; - } - - /** Returns true if field tbl_name is set (has been assigned a value) and false otherwise */ - public boolean isSetTbl_name() { - return this.tbl_name != null; - } - - public void setTbl_nameIsSet(boolean value) { - if (!value) { - this.tbl_name = null; - } + this.func = null; } - public String getCol_name() { - return this.col_name; + public Function getFunc() { + return this.func; } - public void setCol_name(String col_name) { - this.col_name = col_name; + public void setFunc(Function func) { + this.func = func; } - public void unsetCol_name() { - this.col_name = null; + public void unsetFunc() { + this.func = null; } - /** Returns true if field col_name is set (has been assigned a value) and false otherwise */ - public boolean isSetCol_name() { - return this.col_name != null; + /** Returns true if field func is set (has been assigned a value) and false otherwise */ + public boolean isSetFunc() { + return this.func != null; } - public void setCol_nameIsSet(boolean value) { + public void setFuncIsSet(boolean value) { if (!value) { - this.col_name = null; + this.func = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case DB_NAME: - if (value == null) { - unsetDb_name(); - } else { - setDb_name((String)value); - } - break; - - case TBL_NAME: - if (value == null) { - unsetTbl_name(); - } else { - setTbl_name((String)value); - } - break; - - case COL_NAME: + case FUNC: if (value == null) { - unsetCol_name(); + unsetFunc(); } else { - setCol_name((String)value); + setFunc((Function)value); } break; @@ -106535,14 +115562,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case DB_NAME: - return getDb_name(); - - case TBL_NAME: - return getTbl_name(); - - case COL_NAME: - return getCol_name(); + case FUNC: + return getFunc(); } throw new IllegalStateException(); @@ -106555,12 +115576,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case DB_NAME: - return isSetDb_name(); - case TBL_NAME: - return isSetTbl_name(); - case COL_NAME: - return isSetCol_name(); + case FUNC: + return isSetFunc(); } throw new IllegalStateException(); } @@ -106569,39 +115586,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof delete_table_column_statistics_args) - return this.equals((delete_table_column_statistics_args)that); + if (that instanceof create_function_args) + return this.equals((create_function_args)that); return false; } - public boolean equals(delete_table_column_statistics_args that) { + public boolean equals(create_function_args that) { if (that == null) return false; - boolean this_present_db_name = true && this.isSetDb_name(); - boolean that_present_db_name = true && that.isSetDb_name(); - if (this_present_db_name || that_present_db_name) { - if (!(this_present_db_name && that_present_db_name)) - return false; - if (!this.db_name.equals(that.db_name)) - return false; - } - - boolean this_present_tbl_name = true && this.isSetTbl_name(); - boolean that_present_tbl_name = true && that.isSetTbl_name(); - if (this_present_tbl_name || that_present_tbl_name) { - if (!(this_present_tbl_name && that_present_tbl_name)) - return false; - if (!this.tbl_name.equals(that.tbl_name)) - return false; - } - - boolean this_present_col_name = true && this.isSetCol_name(); - boolean that_present_col_name = true && that.isSetCol_name(); - if (this_present_col_name || that_present_col_name) { - if (!(this_present_col_name && that_present_col_name)) + boolean this_present_func = true && this.isSetFunc(); + boolean that_present_func = true && that.isSetFunc(); + if (this_present_func || that_present_func) { + if (!(this_present_func && that_present_func)) return false; - if (!this.col_name.equals(that.col_name)) + if (!this.func.equals(that.func)) return false; } @@ -106610,60 +115609,30 @@ public boolean equals(delete_table_column_statistics_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_db_name = true && (isSetDb_name()); - builder.append(present_db_name); - if (present_db_name) - builder.append(db_name); - - boolean present_tbl_name = true && (isSetTbl_name()); - builder.append(present_tbl_name); - if (present_tbl_name) - builder.append(tbl_name); - - boolean present_col_name = true && (isSetCol_name()); - builder.append(present_col_name); - if (present_col_name) - builder.append(col_name); + boolean present_func = true && (isSetFunc()); + list.add(present_func); + if (present_func) + list.add(func); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(delete_table_column_statistics_args other) { + @Override + public int compareTo(create_function_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - delete_table_column_statistics_args typedOther = (delete_table_column_statistics_args)other; - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(typedOther.isSetDb_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, typedOther.db_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTbl_name()).compareTo(typedOther.isSetTbl_name()); + lastComparison = Boolean.valueOf(isSetFunc()).compareTo(other.isSetFunc()); if (lastComparison != 0) { return lastComparison; } - if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, typedOther.tbl_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetCol_name()).compareTo(typedOther.isSetCol_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetCol_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.col_name, typedOther.col_name); + if (isSetFunc()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.func, other.func); if (lastComparison != 0) { return lastComparison; } @@ -106685,30 +115654,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("delete_table_column_statistics_args("); + StringBuilder sb = new StringBuilder("create_function_args("); boolean first = true; - sb.append("db_name:"); - if (this.db_name == null) { - sb.append("null"); - } else { - sb.append(this.db_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("tbl_name:"); - if (this.tbl_name == null) { - sb.append("null"); - } else { - sb.append(this.tbl_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("col_name:"); - if (this.col_name == null) { + sb.append("func:"); + if (this.func == null) { sb.append("null"); } else { - sb.append(this.col_name); + sb.append(this.func); } first = false; sb.append(")"); @@ -106718,6 +115671,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (func != null) { + func.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -106736,15 +115692,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class delete_table_column_statistics_argsStandardSchemeFactory implements SchemeFactory { - public delete_table_column_statistics_argsStandardScheme getScheme() { - return new delete_table_column_statistics_argsStandardScheme(); + private static class create_function_argsStandardSchemeFactory implements SchemeFactory { + public create_function_argsStandardScheme getScheme() { + return new create_function_argsStandardScheme(); } } - private static class delete_table_column_statistics_argsStandardScheme extends StandardScheme { + private static class create_function_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, delete_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, create_function_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -106754,26 +115710,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, delete_table_column break; } switch (schemeField.id) { - case 1: // DB_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TBL_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // COL_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.col_name = iprot.readString(); - struct.setCol_nameIsSet(true); + case 1: // FUNC + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.func = new Function(); + struct.func.read(iprot); + struct.setFuncIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -106787,23 +115728,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, delete_table_column struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, delete_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, create_function_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.db_name != null) { - oprot.writeFieldBegin(DB_NAME_FIELD_DESC); - oprot.writeString(struct.db_name); - oprot.writeFieldEnd(); - } - if (struct.tbl_name != null) { - oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); - oprot.writeString(struct.tbl_name); - oprot.writeFieldEnd(); - } - if (struct.col_name != null) { - oprot.writeFieldBegin(COL_NAME_FIELD_DESC); - oprot.writeString(struct.col_name); + if (struct.func != null) { + oprot.writeFieldBegin(FUNC_FIELD_DESC); + struct.func.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -106812,64 +115743,44 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, delete_table_colum } - private static class delete_table_column_statistics_argsTupleSchemeFactory implements SchemeFactory { - public delete_table_column_statistics_argsTupleScheme getScheme() { - return new delete_table_column_statistics_argsTupleScheme(); + private static class create_function_argsTupleSchemeFactory implements SchemeFactory { + public create_function_argsTupleScheme getScheme() { + return new create_function_argsTupleScheme(); } } - private static class delete_table_column_statistics_argsTupleScheme extends TupleScheme { + private static class create_function_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, delete_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, create_function_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetDb_name()) { + if (struct.isSetFunc()) { optionals.set(0); } - if (struct.isSetTbl_name()) { - optionals.set(1); - } - if (struct.isSetCol_name()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); - if (struct.isSetDb_name()) { - oprot.writeString(struct.db_name); - } - if (struct.isSetTbl_name()) { - oprot.writeString(struct.tbl_name); - } - if (struct.isSetCol_name()) { - oprot.writeString(struct.col_name); + oprot.writeBitSet(optionals, 1); + if (struct.isSetFunc()) { + struct.func.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, delete_table_column_statistics_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, create_function_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } - if (incoming.get(1)) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); - } - if (incoming.get(2)) { - struct.col_name = iprot.readString(); - struct.setCol_nameIsSet(true); + struct.func = new Function(); + struct.func.read(iprot); + struct.setFuncIsSet(true); } } } } - public static class delete_table_column_statistics_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("delete_table_column_statistics_result"); + public static class create_function_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_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.BOOL, (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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); @@ -106877,19 +115788,17 @@ public void read(org.apache.thrift.protocol.TProtocol prot, delete_table_column_ private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new delete_table_column_statistics_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new delete_table_column_statistics_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new create_function_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new create_function_resultTupleSchemeFactory()); } - private boolean success; // required - private NoSuchObjectException o1; // required - private MetaException o2; // required - private InvalidObjectException o3; // required - private InvalidInputException o4; // required + private AlreadyExistsException o1; // required + private InvalidObjectException o2; // required + private MetaException o3; // required + private NoSuchObjectException o4; // 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"), O3((short)3, "o3"), @@ -106908,8 +115817,6 @@ public void read(org.apache.thrift.protocol.TProtocol prot, delete_table_column_ */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 0: // SUCCESS - return SUCCESS; case 1: // O1 return O1; case 2: // O2 @@ -106958,13 +115865,9 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); 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, @@ -106974,22 +115877,19 @@ public String getFieldName() { tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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(delete_table_column_statistics_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(create_function_result.class, metaDataMap); } - public delete_table_column_statistics_result() { + public create_function_result() { } - public delete_table_column_statistics_result( - boolean success, - NoSuchObjectException o1, - MetaException o2, - InvalidObjectException o3, - InvalidInputException o4) + public create_function_result( + AlreadyExistsException o1, + InvalidObjectException o2, + MetaException o3, + NoSuchObjectException o4) { this(); - this.success = success; - setSuccessIsSet(true); this.o1 = o1; this.o2 = o2; this.o3 = o3; @@ -106999,64 +115899,38 @@ public delete_table_column_statistics_result( /** * Performs a deep copy on other. */ - public delete_table_column_statistics_result(delete_table_column_statistics_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public create_function_result(create_function_result other) { if (other.isSetO1()) { - this.o1 = new NoSuchObjectException(other.o1); + this.o1 = new AlreadyExistsException(other.o1); } if (other.isSetO2()) { - this.o2 = new MetaException(other.o2); + this.o2 = new InvalidObjectException(other.o2); } if (other.isSetO3()) { - this.o3 = new InvalidObjectException(other.o3); + this.o3 = new MetaException(other.o3); } if (other.isSetO4()) { - this.o4 = new InvalidInputException(other.o4); + this.o4 = new NoSuchObjectException(other.o4); } } - public delete_table_column_statistics_result deepCopy() { - return new delete_table_column_statistics_result(this); + public create_function_result deepCopy() { + return new create_function_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; this.o1 = null; this.o2 = null; this.o3 = null; this.o4 = null; } - public boolean isSuccess() { - return this.success; - } - - public void setSuccess(boolean success) { - this.success = success; - setSuccessIsSet(true); - } - - public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); - } - - /** Returns true if field success is set (has been assigned a value) and false otherwise */ - public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); - } - - public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); - } - - public NoSuchObjectException getO1() { + public AlreadyExistsException getO1() { return this.o1; } - public void setO1(NoSuchObjectException o1) { + public void setO1(AlreadyExistsException o1) { this.o1 = o1; } @@ -107075,11 +115949,11 @@ public void setO1IsSet(boolean value) { } } - public MetaException getO2() { + public InvalidObjectException getO2() { return this.o2; } - public void setO2(MetaException o2) { + public void setO2(InvalidObjectException o2) { this.o2 = o2; } @@ -107098,11 +115972,11 @@ public void setO2IsSet(boolean value) { } } - public InvalidObjectException getO3() { + public MetaException getO3() { return this.o3; } - public void setO3(InvalidObjectException o3) { + public void setO3(MetaException o3) { this.o3 = o3; } @@ -107121,11 +115995,11 @@ public void setO3IsSet(boolean value) { } } - public InvalidInputException getO4() { + public NoSuchObjectException getO4() { return this.o4; } - public void setO4(InvalidInputException o4) { + public void setO4(NoSuchObjectException o4) { this.o4 = o4; } @@ -107146,19 +116020,11 @@ public void setO4IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case SUCCESS: - if (value == null) { - unsetSuccess(); - } else { - setSuccess((Boolean)value); - } - break; - case O1: if (value == null) { unsetO1(); } else { - setO1((NoSuchObjectException)value); + setO1((AlreadyExistsException)value); } break; @@ -107166,7 +116032,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((MetaException)value); + setO2((InvalidObjectException)value); } break; @@ -107174,7 +116040,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO3(); } else { - setO3((InvalidObjectException)value); + setO3((MetaException)value); } break; @@ -107182,7 +116048,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO4(); } else { - setO4((InvalidInputException)value); + setO4((NoSuchObjectException)value); } break; @@ -107191,9 +116057,6 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case SUCCESS: - return Boolean.valueOf(isSuccess()); - case O1: return getO1(); @@ -107217,8 +116080,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); case O1: return isSetO1(); case O2: @@ -107235,24 +116096,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof delete_table_column_statistics_result) - return this.equals((delete_table_column_statistics_result)that); + if (that instanceof create_function_result) + return this.equals((create_function_result)that); return false; } - public boolean equals(delete_table_column_statistics_result that) { + public boolean equals(create_function_result that) { if (that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; - if (this_present_success || that_present_success) { - if (!(this_present_success && that_present_success)) - return false; - if (this.success != 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) { @@ -107294,90 +116146,75 @@ public boolean equals(delete_table_column_statistics_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); - - boolean present_success = true; - builder.append(present_success); - if (present_success) - builder.append(success); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); + list.add(present_o4); if (present_o4) - builder.append(o4); + list.add(o4); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(delete_table_column_statistics_result other) { + @Override + public int compareTo(create_function_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - delete_table_column_statistics_result typedOther = (delete_table_column_statistics_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()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + lastComparison = Boolean.valueOf(isSetO4()).compareTo(other.isSetO4()); if (lastComparison != 0) { return lastComparison; } if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, other.o4); if (lastComparison != 0) { return lastComparison; } @@ -107399,13 +116236,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("delete_table_column_statistics_result("); + StringBuilder sb = new StringBuilder("create_function_result("); boolean first = true; - sb.append("success:"); - sb.append(this.success); - first = false; - if (!first) sb.append(", "); sb.append("o1:"); if (this.o1 == null) { sb.append("null"); @@ -107456,23 +116289,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class delete_table_column_statistics_resultStandardSchemeFactory implements SchemeFactory { - public delete_table_column_statistics_resultStandardScheme getScheme() { - return new delete_table_column_statistics_resultStandardScheme(); + private static class create_function_resultStandardSchemeFactory implements SchemeFactory { + public create_function_resultStandardScheme getScheme() { + return new create_function_resultStandardScheme(); } } - private static class delete_table_column_statistics_resultStandardScheme extends StandardScheme { + private static class create_function_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, delete_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, create_function_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -107482,17 +116313,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, delete_table_column break; } switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); - 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 NoSuchObjectException(); + struct.o1 = new AlreadyExistsException(); struct.o1.read(iprot); struct.setO1IsSet(true); } else { @@ -107501,7 +116324,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, delete_table_column break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new MetaException(); + struct.o2 = new InvalidObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { @@ -107510,7 +116333,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, delete_table_column break; case 3: // O3 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new InvalidObjectException(); + struct.o3 = new MetaException(); struct.o3.read(iprot); struct.setO3IsSet(true); } else { @@ -107519,7 +116342,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, delete_table_column break; case 4: // O4 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o4 = new InvalidInputException(); + struct.o4 = new NoSuchObjectException(); struct.o4.read(iprot); struct.setO4IsSet(true); } else { @@ -107535,15 +116358,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, delete_table_column struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, delete_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, create_function_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.isSetSuccess()) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); - oprot.writeFieldEnd(); - } if (struct.o1 != null) { oprot.writeFieldBegin(O1_FIELD_DESC); struct.o1.write(oprot); @@ -107570,37 +116388,31 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, delete_table_colum } - private static class delete_table_column_statistics_resultTupleSchemeFactory implements SchemeFactory { - public delete_table_column_statistics_resultTupleScheme getScheme() { - return new delete_table_column_statistics_resultTupleScheme(); + private static class create_function_resultTupleSchemeFactory implements SchemeFactory { + public create_function_resultTupleScheme getScheme() { + return new create_function_resultTupleScheme(); } } - private static class delete_table_column_statistics_resultTupleScheme extends TupleScheme { + private static class create_function_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, delete_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, create_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); + optionals.set(0); } if (struct.isSetO2()) { - optionals.set(2); + optionals.set(1); } if (struct.isSetO3()) { - optionals.set(3); + optionals.set(2); } if (struct.isSetO4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); - if (struct.isSetSuccess()) { - oprot.writeBool(struct.success); + optionals.set(3); } + oprot.writeBitSet(optionals, 4); if (struct.isSetO1()) { struct.o1.write(oprot); } @@ -107616,30 +116428,26 @@ public void write(org.apache.thrift.protocol.TProtocol prot, delete_table_column } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, delete_table_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, create_function_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { - struct.success = iprot.readBool(); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.o1 = new NoSuchObjectException(); + struct.o1 = new AlreadyExistsException(); struct.o1.read(iprot); struct.setO1IsSet(true); } - if (incoming.get(2)) { - struct.o2 = new MetaException(); + if (incoming.get(1)) { + struct.o2 = new InvalidObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } - if (incoming.get(3)) { - struct.o3 = new InvalidObjectException(); + if (incoming.get(2)) { + struct.o3 = new MetaException(); struct.o3.read(iprot); struct.setO3IsSet(true); } - if (incoming.get(4)) { - struct.o4 = new InvalidInputException(); + if (incoming.get(3)) { + struct.o4 = new NoSuchObjectException(); struct.o4.read(iprot); struct.setO4IsSet(true); } @@ -107648,22 +116456,25 @@ public void read(org.apache.thrift.protocol.TProtocol prot, delete_table_column_ } - public static class create_function_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("create_function_args"); + public static class drop_function_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_function_args"); - private static final org.apache.thrift.protocol.TField FUNC_FIELD_DESC = new org.apache.thrift.protocol.TField("func", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField FUNC_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("funcName", org.apache.thrift.protocol.TType.STRING, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new create_function_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new create_function_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new drop_function_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new drop_function_argsTupleSchemeFactory()); } - private Function func; // required + private String dbName; // required + private String funcName; // 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 { - FUNC((short)1, "func"); + DB_NAME((short)1, "dbName"), + FUNC_NAME((short)2, "funcName"); private static final Map byName = new HashMap(); @@ -107678,8 +116489,10 @@ public void read(org.apache.thrift.protocol.TProtocol prot, delete_table_column_ */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // FUNC - return FUNC; + case 1: // DB_NAME + return DB_NAME; + case 2: // FUNC_NAME + return FUNC_NAME; default: return null; } @@ -107723,70 +116536,109 @@ public String getFieldName() { 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.FUNC, new org.apache.thrift.meta_data.FieldMetaData("func", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Function.class))); + tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("dbName", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.FUNC_NAME, new org.apache.thrift.meta_data.FieldMetaData("funcName", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(create_function_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(drop_function_args.class, metaDataMap); } - public create_function_args() { + public drop_function_args() { } - public create_function_args( - Function func) + public drop_function_args( + String dbName, + String funcName) { this(); - this.func = func; + this.dbName = dbName; + this.funcName = funcName; } /** * Performs a deep copy on other. */ - public create_function_args(create_function_args other) { - if (other.isSetFunc()) { - this.func = new Function(other.func); + public drop_function_args(drop_function_args other) { + if (other.isSetDbName()) { + this.dbName = other.dbName; + } + if (other.isSetFuncName()) { + this.funcName = other.funcName; } } - public create_function_args deepCopy() { - return new create_function_args(this); + public drop_function_args deepCopy() { + return new drop_function_args(this); } @Override public void clear() { - this.func = null; + this.dbName = null; + this.funcName = null; } - public Function getFunc() { - return this.func; + public String getDbName() { + return this.dbName; } - public void setFunc(Function func) { - this.func = func; + public void setDbName(String dbName) { + this.dbName = dbName; } - public void unsetFunc() { - this.func = null; + public void unsetDbName() { + this.dbName = null; } - /** Returns true if field func is set (has been assigned a value) and false otherwise */ - public boolean isSetFunc() { - return this.func != null; + /** Returns true if field dbName is set (has been assigned a value) and false otherwise */ + public boolean isSetDbName() { + return this.dbName != null; } - public void setFuncIsSet(boolean value) { + public void setDbNameIsSet(boolean value) { if (!value) { - this.func = null; + this.dbName = null; + } + } + + public String getFuncName() { + return this.funcName; + } + + public void setFuncName(String funcName) { + this.funcName = funcName; + } + + public void unsetFuncName() { + this.funcName = null; + } + + /** Returns true if field funcName is set (has been assigned a value) and false otherwise */ + public boolean isSetFuncName() { + return this.funcName != null; + } + + public void setFuncNameIsSet(boolean value) { + if (!value) { + this.funcName = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case FUNC: + case DB_NAME: if (value == null) { - unsetFunc(); + unsetDbName(); } else { - setFunc((Function)value); + setDbName((String)value); + } + break; + + case FUNC_NAME: + if (value == null) { + unsetFuncName(); + } else { + setFuncName((String)value); } break; @@ -107795,8 +116647,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case FUNC: - return getFunc(); + case DB_NAME: + return getDbName(); + + case FUNC_NAME: + return getFuncName(); } throw new IllegalStateException(); @@ -107809,8 +116664,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case FUNC: - return isSetFunc(); + case DB_NAME: + return isSetDbName(); + case FUNC_NAME: + return isSetFuncName(); } throw new IllegalStateException(); } @@ -107819,21 +116676,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof create_function_args) - return this.equals((create_function_args)that); + if (that instanceof drop_function_args) + return this.equals((drop_function_args)that); return false; } - public boolean equals(create_function_args that) { + public boolean equals(drop_function_args that) { if (that == null) return false; - boolean this_present_func = true && this.isSetFunc(); - boolean that_present_func = true && that.isSetFunc(); - if (this_present_func || that_present_func) { - if (!(this_present_func && that_present_func)) + boolean this_present_dbName = true && this.isSetDbName(); + boolean that_present_dbName = true && that.isSetDbName(); + if (this_present_dbName || that_present_dbName) { + if (!(this_present_dbName && that_present_dbName)) return false; - if (!this.func.equals(that.func)) + if (!this.dbName.equals(that.dbName)) + return false; + } + + boolean this_present_funcName = true && this.isSetFuncName(); + boolean that_present_funcName = true && that.isSetFuncName(); + if (this_present_funcName || that_present_funcName) { + if (!(this_present_funcName && that_present_funcName)) + return false; + if (!this.funcName.equals(that.funcName)) return false; } @@ -107842,30 +116708,45 @@ public boolean equals(create_function_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - boolean present_func = true && (isSetFunc()); - builder.append(present_func); - if (present_func) - builder.append(func); + boolean present_dbName = true && (isSetDbName()); + list.add(present_dbName); + if (present_dbName) + list.add(dbName); - return builder.toHashCode(); + boolean present_funcName = true && (isSetFuncName()); + list.add(present_funcName); + if (present_funcName) + list.add(funcName); + + return list.hashCode(); } - public int compareTo(create_function_args other) { + @Override + public int compareTo(drop_function_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_function_args typedOther = (create_function_args)other; - lastComparison = Boolean.valueOf(isSetFunc()).compareTo(typedOther.isSetFunc()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } - if (isSetFunc()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.func, typedOther.func); + if (isSetDbName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetFuncName()).compareTo(other.isSetFuncName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetFuncName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.funcName, other.funcName); if (lastComparison != 0) { return lastComparison; } @@ -107887,14 +116768,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("create_function_args("); + StringBuilder sb = new StringBuilder("drop_function_args("); boolean first = true; - sb.append("func:"); - if (this.func == null) { + sb.append("dbName:"); + if (this.dbName == null) { sb.append("null"); } else { - sb.append(this.func); + sb.append(this.dbName); + } + first = false; + if (!first) sb.append(", "); + sb.append("funcName:"); + if (this.funcName == null) { + sb.append("null"); + } else { + sb.append(this.funcName); } first = false; sb.append(")"); @@ -107904,9 +116793,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if (func != null) { - func.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -107925,15 +116811,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class create_function_argsStandardSchemeFactory implements SchemeFactory { - public create_function_argsStandardScheme getScheme() { - return new create_function_argsStandardScheme(); + private static class drop_function_argsStandardSchemeFactory implements SchemeFactory { + public drop_function_argsStandardScheme getScheme() { + return new drop_function_argsStandardScheme(); } } - private static class create_function_argsStandardScheme extends StandardScheme { + private static class drop_function_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, create_function_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, drop_function_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -107943,11 +116829,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_function_arg break; } switch (schemeField.id) { - case 1: // FUNC - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.func = new Function(); - struct.func.read(iprot); - struct.setFuncIsSet(true); + 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); } @@ -107961,13 +116854,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_function_arg struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, create_function_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, drop_function_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.func != null) { - oprot.writeFieldBegin(FUNC_FIELD_DESC); - struct.func.write(oprot); + 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(); @@ -107976,66 +116874,69 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_function_ar } - private static class create_function_argsTupleSchemeFactory implements SchemeFactory { - public create_function_argsTupleScheme getScheme() { - return new create_function_argsTupleScheme(); + private static class drop_function_argsTupleSchemeFactory implements SchemeFactory { + public drop_function_argsTupleScheme getScheme() { + return new drop_function_argsTupleScheme(); } } - private static class create_function_argsTupleScheme extends TupleScheme { + private static class drop_function_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, create_function_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, drop_function_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetFunc()) { + if (struct.isSetDbName()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); - if (struct.isSetFunc()) { - struct.func.write(oprot); + 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, create_function_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, drop_function_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.func = new Function(); - struct.func.read(iprot); - struct.setFuncIsSet(true); + struct.dbName = iprot.readString(); + struct.setDbNameIsSet(true); + } + if (incoming.get(1)) { + struct.funcName = iprot.readString(); + struct.setFuncNameIsSet(true); } } } } - public static class create_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("create_function_result"); + public static class drop_function_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_function_result"); 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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); - private static final org.apache.thrift.protocol.TField O4_FIELD_DESC = new org.apache.thrift.protocol.TField("o4", org.apache.thrift.protocol.TType.STRUCT, (short)4); + private static final org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new create_function_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new create_function_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new drop_function_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new drop_function_resultTupleSchemeFactory()); } - private AlreadyExistsException o1; // required - private InvalidObjectException o2; // required + private NoSuchObjectException o1; // required private MetaException o3; // required - private NoSuchObjectException o4; // 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 { O1((short)1, "o1"), - O2((short)2, "o2"), - O3((short)3, "o3"), - O4((short)4, "o4"); + O3((short)2, "o3"); private static final Map byName = new HashMap(); @@ -108052,12 +116953,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // O1 return O1; - case 2: // O2 - return O2; - case 3: // O3 + case 2: // O3 return O3; - case 4: // O4 - return O4; default: return null; } @@ -108103,67 +117000,51 @@ public String getFieldName() { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.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))); tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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(create_function_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(drop_function_result.class, metaDataMap); } - public create_function_result() { + public drop_function_result() { } - public create_function_result( - AlreadyExistsException o1, - InvalidObjectException o2, - MetaException o3, - NoSuchObjectException o4) + public drop_function_result( + NoSuchObjectException o1, + MetaException o3) { this(); this.o1 = o1; - this.o2 = o2; this.o3 = o3; - this.o4 = o4; } /** * Performs a deep copy on other. */ - public create_function_result(create_function_result other) { + public drop_function_result(drop_function_result other) { if (other.isSetO1()) { - this.o1 = new AlreadyExistsException(other.o1); - } - if (other.isSetO2()) { - this.o2 = new InvalidObjectException(other.o2); + this.o1 = new NoSuchObjectException(other.o1); } if (other.isSetO3()) { this.o3 = new MetaException(other.o3); } - if (other.isSetO4()) { - this.o4 = new NoSuchObjectException(other.o4); - } } - public create_function_result deepCopy() { - return new create_function_result(this); + public drop_function_result deepCopy() { + return new drop_function_result(this); } @Override public void clear() { this.o1 = null; - this.o2 = null; this.o3 = null; - this.o4 = null; } - public AlreadyExistsException getO1() { + public NoSuchObjectException getO1() { return this.o1; } - public void setO1(AlreadyExistsException o1) { + public void setO1(NoSuchObjectException o1) { this.o1 = o1; } @@ -108182,29 +117063,6 @@ public void setO1IsSet(boolean value) { } } - public InvalidObjectException getO2() { - return this.o2; - } - - public void setO2(InvalidObjectException 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 MetaException getO3() { return this.o3; } @@ -108228,44 +117086,13 @@ public void setO3IsSet(boolean value) { } } - public NoSuchObjectException getO4() { - return this.o4; - } - - public void setO4(NoSuchObjectException o4) { - this.o4 = o4; - } - - public void unsetO4() { - this.o4 = null; - } - - /** Returns true if field o4 is set (has been assigned a value) and false otherwise */ - public boolean isSetO4() { - return this.o4 != null; - } - - public void setO4IsSet(boolean value) { - if (!value) { - this.o4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case O1: if (value == null) { unsetO1(); } else { - setO1((AlreadyExistsException)value); - } - break; - - case O2: - if (value == null) { - unsetO2(); - } else { - setO2((InvalidObjectException)value); + setO1((NoSuchObjectException)value); } break; @@ -108277,14 +117104,6 @@ public void setFieldValue(_Fields field, Object value) { } break; - case O4: - if (value == null) { - unsetO4(); - } else { - setO4((NoSuchObjectException)value); - } - break; - } } @@ -108293,15 +117112,9 @@ public Object getFieldValue(_Fields field) { case O1: return getO1(); - case O2: - return getO2(); - case O3: return getO3(); - case O4: - return getO4(); - } throw new IllegalStateException(); } @@ -108315,12 +117128,8 @@ public boolean isSet(_Fields field) { switch (field) { case O1: return isSetO1(); - case O2: - return isSetO2(); case O3: return isSetO3(); - case O4: - return isSetO4(); } throw new IllegalStateException(); } @@ -108329,12 +117138,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof create_function_result) - return this.equals((create_function_result)that); + if (that instanceof drop_function_result) + return this.equals((drop_function_result)that); return false; } - public boolean equals(create_function_result that) { + public boolean equals(drop_function_result that) { if (that == null) return false; @@ -108347,15 +117156,6 @@ public boolean equals(create_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; - } - boolean this_present_o3 = true && this.isSetO3(); boolean that_present_o3 = true && that.isSetO3(); if (this_present_o3 || that_present_o3) { @@ -108365,89 +117165,50 @@ public boolean equals(create_function_result that) { return false; } - boolean this_present_o4 = true && this.isSetO4(); - boolean that_present_o4 = true && that.isSetO4(); - if (this_present_o4 || that_present_o4) { - if (!(this_present_o4 && that_present_o4)) - return false; - if (!this.o4.equals(that.o4)) - return false; - } - return true; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); - - boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); - if (present_o2) - builder.append(o2); + list.add(o1); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); - - boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); - if (present_o4) - builder.append(o4); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(create_function_result other) { + @Override + public int compareTo(drop_function_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_function_result typedOther = (create_function_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.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; - } - } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -108469,7 +117230,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("create_function_result("); + StringBuilder sb = new StringBuilder("drop_function_result("); boolean first = true; sb.append("o1:"); @@ -108480,14 +117241,6 @@ public String toString() { } first = false; if (!first) sb.append(", "); - sb.append("o2:"); - if (this.o2 == null) { - sb.append("null"); - } else { - sb.append(this.o2); - } - first = false; - if (!first) sb.append(", "); sb.append("o3:"); if (this.o3 == null) { sb.append("null"); @@ -108495,14 +117248,6 @@ public String toString() { sb.append(this.o3); } first = false; - if (!first) sb.append(", "); - sb.append("o4:"); - if (this.o4 == null) { - sb.append("null"); - } else { - sb.append(this.o4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -108528,15 +117273,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class create_function_resultStandardSchemeFactory implements SchemeFactory { - public create_function_resultStandardScheme getScheme() { - return new create_function_resultStandardScheme(); + private static class drop_function_resultStandardSchemeFactory implements SchemeFactory { + public drop_function_resultStandardScheme getScheme() { + return new drop_function_resultStandardScheme(); } } - private static class create_function_resultStandardScheme extends StandardScheme { + private static class drop_function_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, create_function_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, drop_function_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -108548,23 +117293,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_function_res switch (schemeField.id) { case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new AlreadyExistsException(); + struct.o1 = new NoSuchObjectException(); 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 InvalidObjectException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // O3 + case 2: // O3 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.o3 = new MetaException(); struct.o3.read(iprot); @@ -108573,15 +117309,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_function_res org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // O4 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o4 = new NoSuchObjectException(); - struct.o4.read(iprot); - struct.setO4IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -108591,7 +117318,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_function_res struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, create_function_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, drop_function_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -108600,114 +117327,85 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_function_re struct.o1.write(oprot); oprot.writeFieldEnd(); } - if (struct.o2 != null) { - oprot.writeFieldBegin(O2_FIELD_DESC); - struct.o2.write(oprot); - oprot.writeFieldEnd(); - } if (struct.o3 != null) { oprot.writeFieldBegin(O3_FIELD_DESC); struct.o3.write(oprot); oprot.writeFieldEnd(); } - if (struct.o4 != null) { - oprot.writeFieldBegin(O4_FIELD_DESC); - struct.o4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class create_function_resultTupleSchemeFactory implements SchemeFactory { - public create_function_resultTupleScheme getScheme() { - return new create_function_resultTupleScheme(); + private static class drop_function_resultTupleSchemeFactory implements SchemeFactory { + public drop_function_resultTupleScheme getScheme() { + return new drop_function_resultTupleScheme(); } } - private static class create_function_resultTupleScheme extends TupleScheme { + private static class drop_function_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, create_function_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, drop_function_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetO1()) { optionals.set(0); } - if (struct.isSetO2()) { - optionals.set(1); - } if (struct.isSetO3()) { - optionals.set(2); - } - if (struct.isSetO4()) { - optionals.set(3); + optionals.set(1); } - oprot.writeBitSet(optionals, 4); + oprot.writeBitSet(optionals, 2); if (struct.isSetO1()) { struct.o1.write(oprot); } - if (struct.isSetO2()) { - struct.o2.write(oprot); - } if (struct.isSetO3()) { struct.o3.write(oprot); } - if (struct.isSetO4()) { - struct.o4.write(oprot); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, create_function_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, drop_function_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.o1 = new AlreadyExistsException(); + struct.o1 = new NoSuchObjectException(); struct.o1.read(iprot); struct.setO1IsSet(true); } if (incoming.get(1)) { - struct.o2 = new InvalidObjectException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } - if (incoming.get(2)) { struct.o3 = new MetaException(); struct.o3.read(iprot); struct.setO3IsSet(true); } - if (incoming.get(3)) { - struct.o4 = new NoSuchObjectException(); - struct.o4.read(iprot); - struct.setO4IsSet(true); - } } } } - public static class drop_function_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("drop_function_args"); + public static class alter_function_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_function_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); private static final org.apache.thrift.protocol.TField FUNC_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("funcName", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField NEW_FUNC_FIELD_DESC = new org.apache.thrift.protocol.TField("newFunc", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new drop_function_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new drop_function_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new alter_function_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new alter_function_argsTupleSchemeFactory()); } private String dbName; // required private String funcName; // required + private Function newFunc; // 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 { DB_NAME((short)1, "dbName"), - FUNC_NAME((short)2, "funcName"); + FUNC_NAME((short)2, "funcName"), + NEW_FUNC((short)3, "newFunc"); private static final Map byName = new HashMap(); @@ -108726,6 +117424,8 @@ public static _Fields findByThriftId(int fieldId) { return DB_NAME; case 2: // FUNC_NAME return FUNC_NAME; + case 3: // NEW_FUNC + return NEW_FUNC; default: return null; } @@ -108773,42 +117473,50 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.FUNC_NAME, new org.apache.thrift.meta_data.FieldMetaData("funcName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.NEW_FUNC, new org.apache.thrift.meta_data.FieldMetaData("newFunc", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Function.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(drop_function_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(alter_function_args.class, metaDataMap); } - public drop_function_args() { + public alter_function_args() { } - public drop_function_args( + public alter_function_args( String dbName, - String funcName) + String funcName, + Function newFunc) { this(); this.dbName = dbName; this.funcName = funcName; + this.newFunc = newFunc; } /** * Performs a deep copy on other. */ - public drop_function_args(drop_function_args other) { + public alter_function_args(alter_function_args other) { if (other.isSetDbName()) { this.dbName = other.dbName; } if (other.isSetFuncName()) { this.funcName = other.funcName; } + if (other.isSetNewFunc()) { + this.newFunc = new Function(other.newFunc); + } } - public drop_function_args deepCopy() { - return new drop_function_args(this); + public alter_function_args deepCopy() { + return new alter_function_args(this); } @Override public void clear() { this.dbName = null; this.funcName = null; + this.newFunc = null; } public String getDbName() { @@ -108857,6 +117565,29 @@ public void setFuncNameIsSet(boolean value) { } } + public Function getNewFunc() { + return this.newFunc; + } + + public void setNewFunc(Function newFunc) { + this.newFunc = newFunc; + } + + public void unsetNewFunc() { + this.newFunc = null; + } + + /** Returns true if field newFunc is set (has been assigned a value) and false otherwise */ + public boolean isSetNewFunc() { + return this.newFunc != null; + } + + public void setNewFuncIsSet(boolean value) { + if (!value) { + this.newFunc = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case DB_NAME: @@ -108875,6 +117606,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case NEW_FUNC: + if (value == null) { + unsetNewFunc(); + } else { + setNewFunc((Function)value); + } + break; + } } @@ -108886,6 +117625,9 @@ public Object getFieldValue(_Fields field) { case FUNC_NAME: return getFuncName(); + case NEW_FUNC: + return getNewFunc(); + } throw new IllegalStateException(); } @@ -108901,6 +117643,8 @@ public boolean isSet(_Fields field) { return isSetDbName(); case FUNC_NAME: return isSetFuncName(); + case NEW_FUNC: + return isSetNewFunc(); } throw new IllegalStateException(); } @@ -108909,12 +117653,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof drop_function_args) - return this.equals((drop_function_args)that); + if (that instanceof alter_function_args) + return this.equals((alter_function_args)that); return false; } - public boolean equals(drop_function_args that) { + public boolean equals(alter_function_args that) { if (that == null) return false; @@ -108936,50 +117680,74 @@ public boolean equals(drop_function_args that) { return false; } + boolean this_present_newFunc = true && this.isSetNewFunc(); + boolean that_present_newFunc = true && that.isSetNewFunc(); + if (this_present_newFunc || that_present_newFunc) { + if (!(this_present_newFunc && that_present_newFunc)) + return false; + if (!this.newFunc.equals(that.newFunc)) + return false; + } + return true; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); boolean present_funcName = true && (isSetFuncName()); - builder.append(present_funcName); + list.add(present_funcName); if (present_funcName) - builder.append(funcName); + list.add(funcName); - return builder.toHashCode(); + boolean present_newFunc = true && (isSetNewFunc()); + list.add(present_newFunc); + if (present_newFunc) + list.add(newFunc); + + return list.hashCode(); } - public int compareTo(drop_function_args other) { + @Override + public int compareTo(alter_function_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_function_args typedOther = (drop_function_args)other; - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetFuncName()).compareTo(typedOther.isSetFuncName()); + lastComparison = Boolean.valueOf(isSetFuncName()).compareTo(other.isSetFuncName()); if (lastComparison != 0) { return lastComparison; } if (isSetFuncName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.funcName, typedOther.funcName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.funcName, other.funcName); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetNewFunc()).compareTo(other.isSetNewFunc()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetNewFunc()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.newFunc, other.newFunc); if (lastComparison != 0) { return lastComparison; } @@ -109001,7 +117769,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("drop_function_args("); + StringBuilder sb = new StringBuilder("alter_function_args("); boolean first = true; sb.append("dbName:"); @@ -109019,6 +117787,14 @@ public String toString() { sb.append(this.funcName); } first = false; + if (!first) sb.append(", "); + sb.append("newFunc:"); + if (this.newFunc == null) { + sb.append("null"); + } else { + sb.append(this.newFunc); + } + first = false; sb.append(")"); return sb.toString(); } @@ -109026,6 +117802,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (newFunc != null) { + newFunc.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -109044,15 +117823,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class drop_function_argsStandardSchemeFactory implements SchemeFactory { - public drop_function_argsStandardScheme getScheme() { - return new drop_function_argsStandardScheme(); + private static class alter_function_argsStandardSchemeFactory implements SchemeFactory { + public alter_function_argsStandardScheme getScheme() { + return new alter_function_argsStandardScheme(); } } - private static class drop_function_argsStandardScheme extends StandardScheme { + private static class alter_function_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, drop_function_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, alter_function_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -109078,6 +117857,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_function_args org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 3: // NEW_FUNC + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.newFunc = new Function(); + struct.newFunc.read(iprot); + struct.setNewFuncIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -109087,7 +117875,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_function_args struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, drop_function_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, alter_function_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -109101,22 +117889,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_function_args oprot.writeString(struct.funcName); oprot.writeFieldEnd(); } + if (struct.newFunc != null) { + oprot.writeFieldBegin(NEW_FUNC_FIELD_DESC); + struct.newFunc.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class drop_function_argsTupleSchemeFactory implements SchemeFactory { - public drop_function_argsTupleScheme getScheme() { - return new drop_function_argsTupleScheme(); + private static class alter_function_argsTupleSchemeFactory implements SchemeFactory { + public alter_function_argsTupleScheme getScheme() { + return new alter_function_argsTupleScheme(); } } - private static class drop_function_argsTupleScheme extends TupleScheme { + private static class alter_function_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, drop_function_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, alter_function_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDbName()) { @@ -109125,19 +117918,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_function_args if (struct.isSetFuncName()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); + if (struct.isSetNewFunc()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); if (struct.isSetDbName()) { oprot.writeString(struct.dbName); } if (struct.isSetFuncName()) { oprot.writeString(struct.funcName); } + if (struct.isSetNewFunc()) { + struct.newFunc.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, drop_function_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, alter_function_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.dbName = iprot.readString(); struct.setDbNameIsSet(true); @@ -109146,30 +117945,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_function_args s struct.funcName = iprot.readString(); struct.setFuncNameIsSet(true); } + if (incoming.get(2)) { + struct.newFunc = new Function(); + struct.newFunc.read(iprot); + struct.setNewFuncIsSet(true); + } } } } - public static class drop_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("drop_function_result"); + public static class alter_function_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("alter_function_result"); 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 O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)2); + 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 drop_function_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new drop_function_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new alter_function_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new alter_function_resultTupleSchemeFactory()); } - private NoSuchObjectException o1; // required - private MetaException o3; // required + private InvalidOperationException o1; // required + private MetaException 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 { O1((short)1, "o1"), - O3((short)2, "o3"); + O2((short)2, "o2"); private static final Map byName = new HashMap(); @@ -109186,8 +117990,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // O1 return O1; - case 2: // O3 - return O3; + case 2: // O2 + return O2; default: return null; } @@ -109233,51 +118037,51 @@ public String getFieldName() { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.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.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, + 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(drop_function_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(alter_function_result.class, metaDataMap); } - public drop_function_result() { + public alter_function_result() { } - public drop_function_result( - NoSuchObjectException o1, - MetaException o3) + public alter_function_result( + InvalidOperationException o1, + MetaException o2) { this(); this.o1 = o1; - this.o3 = o3; + this.o2 = o2; } /** * Performs a deep copy on other. */ - public drop_function_result(drop_function_result other) { + public alter_function_result(alter_function_result other) { if (other.isSetO1()) { - this.o1 = new NoSuchObjectException(other.o1); + this.o1 = new InvalidOperationException(other.o1); } - if (other.isSetO3()) { - this.o3 = new MetaException(other.o3); + if (other.isSetO2()) { + this.o2 = new MetaException(other.o2); } } - public drop_function_result deepCopy() { - return new drop_function_result(this); + public alter_function_result deepCopy() { + return new alter_function_result(this); } @Override public void clear() { this.o1 = null; - this.o3 = null; + this.o2 = null; } - public NoSuchObjectException getO1() { + public InvalidOperationException getO1() { return this.o1; } - public void setO1(NoSuchObjectException o1) { + public void setO1(InvalidOperationException o1) { this.o1 = o1; } @@ -109296,26 +118100,26 @@ public void setO1IsSet(boolean value) { } } - public MetaException getO3() { - return this.o3; + public MetaException getO2() { + return this.o2; } - public void setO3(MetaException o3) { - this.o3 = o3; + public void setO2(MetaException o2) { + this.o2 = o2; } - public void unsetO3() { - this.o3 = null; + public void unsetO2() { + this.o2 = null; } - /** Returns true if field o3 is set (has been assigned a value) and false otherwise */ - public boolean isSetO3() { - return this.o3 != 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 setO3IsSet(boolean value) { + public void setO2IsSet(boolean value) { if (!value) { - this.o3 = null; + this.o2 = null; } } @@ -109325,15 +118129,15 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO1(); } else { - setO1((NoSuchObjectException)value); + setO1((InvalidOperationException)value); } break; - case O3: + case O2: if (value == null) { - unsetO3(); + unsetO2(); } else { - setO3((MetaException)value); + setO2((MetaException)value); } break; @@ -109345,8 +118149,8 @@ public Object getFieldValue(_Fields field) { case O1: return getO1(); - case O3: - return getO3(); + case O2: + return getO2(); } throw new IllegalStateException(); @@ -109361,8 +118165,8 @@ public boolean isSet(_Fields field) { switch (field) { case O1: return isSetO1(); - case O3: - return isSetO3(); + case O2: + return isSetO2(); } throw new IllegalStateException(); } @@ -109371,12 +118175,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof drop_function_result) - return this.equals((drop_function_result)that); + if (that instanceof alter_function_result) + return this.equals((alter_function_result)that); return false; } - public boolean equals(drop_function_result that) { + public boolean equals(alter_function_result that) { if (that == null) return false; @@ -109389,12 +118193,12 @@ public boolean equals(drop_function_result that) { return false; } - boolean this_present_o3 = true && this.isSetO3(); - boolean that_present_o3 = true && that.isSetO3(); - if (this_present_o3 || that_present_o3) { - if (!(this_present_o3 && that_present_o3)) + 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.o3.equals(that.o3)) + if (!this.o2.equals(that.o2)) return false; } @@ -109403,45 +118207,45 @@ public boolean equals(drop_function_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); - if (present_o3) - builder.append(o3); + boolean present_o2 = true && (isSetO2()); + list.add(present_o2); + if (present_o2) + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(drop_function_result other) { + @Override + public int compareTo(alter_function_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_function_result typedOther = (drop_function_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } - if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + if (isSetO2()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -109463,7 +118267,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("drop_function_result("); + StringBuilder sb = new StringBuilder("alter_function_result("); boolean first = true; sb.append("o1:"); @@ -109474,11 +118278,11 @@ public String toString() { } first = false; if (!first) sb.append(", "); - sb.append("o3:"); - if (this.o3 == null) { + sb.append("o2:"); + if (this.o2 == null) { sb.append("null"); } else { - sb.append(this.o3); + sb.append(this.o2); } first = false; sb.append(")"); @@ -109506,15 +118310,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class drop_function_resultStandardSchemeFactory implements SchemeFactory { - public drop_function_resultStandardScheme getScheme() { - return new drop_function_resultStandardScheme(); + private static class alter_function_resultStandardSchemeFactory implements SchemeFactory { + public alter_function_resultStandardScheme getScheme() { + return new alter_function_resultStandardScheme(); } } - private static class drop_function_resultStandardScheme extends StandardScheme { + private static class alter_function_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, drop_function_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, alter_function_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -109526,18 +118330,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_function_resul switch (schemeField.id) { case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new NoSuchObjectException(); + struct.o1 = new InvalidOperationException(); struct.o1.read(iprot); struct.setO1IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // O3 + case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new MetaException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); + struct.o2 = new MetaException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -109551,7 +118355,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_function_resul struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, drop_function_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, alter_function_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -109560,9 +118364,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_function_resu struct.o1.write(oprot); oprot.writeFieldEnd(); } - if (struct.o3 != null) { - oprot.writeFieldBegin(O3_FIELD_DESC); - struct.o3.write(oprot); + if (struct.o2 != null) { + oprot.writeFieldBegin(O2_FIELD_DESC); + struct.o2.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -109571,74 +118375,71 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_function_resu } - private static class drop_function_resultTupleSchemeFactory implements SchemeFactory { - public drop_function_resultTupleScheme getScheme() { - return new drop_function_resultTupleScheme(); + private static class alter_function_resultTupleSchemeFactory implements SchemeFactory { + public alter_function_resultTupleScheme getScheme() { + return new alter_function_resultTupleScheme(); } } - private static class drop_function_resultTupleScheme extends TupleScheme { + private static class alter_function_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, drop_function_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, alter_function_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetO1()) { optionals.set(0); } - if (struct.isSetO3()) { + if (struct.isSetO2()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetO1()) { struct.o1.write(oprot); } - if (struct.isSetO3()) { - struct.o3.write(oprot); + if (struct.isSetO2()) { + struct.o2.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, drop_function_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, alter_function_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.o1 = new NoSuchObjectException(); + struct.o1 = new InvalidOperationException(); struct.o1.read(iprot); struct.setO1IsSet(true); } if (incoming.get(1)) { - struct.o3 = new MetaException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); + struct.o2 = new MetaException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); } } } } - public static class alter_function_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("alter_function_args"); + public static class get_functions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_functions_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField FUNC_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("funcName", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField NEW_FUNC_FIELD_DESC = new org.apache.thrift.protocol.TField("newFunc", org.apache.thrift.protocol.TType.STRUCT, (short)3); + private static final org.apache.thrift.protocol.TField PATTERN_FIELD_DESC = new org.apache.thrift.protocol.TField("pattern", org.apache.thrift.protocol.TType.STRING, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new alter_function_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new alter_function_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_functions_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_functions_argsTupleSchemeFactory()); } private String dbName; // required - private String funcName; // required - private Function newFunc; // required + private String pattern; // 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 { DB_NAME((short)1, "dbName"), - FUNC_NAME((short)2, "funcName"), - NEW_FUNC((short)3, "newFunc"); + PATTERN((short)2, "pattern"); private static final Map byName = new HashMap(); @@ -109655,10 +118456,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // DB_NAME return DB_NAME; - case 2: // FUNC_NAME - return FUNC_NAME; - case 3: // NEW_FUNC - return NEW_FUNC; + case 2: // PATTERN + return PATTERN; default: return null; } @@ -109704,52 +118503,44 @@ public String getFieldName() { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("dbName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.FUNC_NAME, new org.apache.thrift.meta_data.FieldMetaData("funcName", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.PATTERN, new org.apache.thrift.meta_data.FieldMetaData("pattern", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.NEW_FUNC, new org.apache.thrift.meta_data.FieldMetaData("newFunc", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Function.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(alter_function_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_functions_args.class, metaDataMap); } - public alter_function_args() { + public get_functions_args() { } - public alter_function_args( + public get_functions_args( String dbName, - String funcName, - Function newFunc) + String pattern) { this(); this.dbName = dbName; - this.funcName = funcName; - this.newFunc = newFunc; + this.pattern = pattern; } /** * Performs a deep copy on other. */ - public alter_function_args(alter_function_args other) { + public get_functions_args(get_functions_args other) { if (other.isSetDbName()) { this.dbName = other.dbName; } - if (other.isSetFuncName()) { - this.funcName = other.funcName; - } - if (other.isSetNewFunc()) { - this.newFunc = new Function(other.newFunc); + if (other.isSetPattern()) { + this.pattern = other.pattern; } } - public alter_function_args deepCopy() { - return new alter_function_args(this); + public get_functions_args deepCopy() { + return new get_functions_args(this); } @Override public void clear() { this.dbName = null; - this.funcName = null; - this.newFunc = null; + this.pattern = null; } public String getDbName() { @@ -109775,49 +118566,26 @@ public void setDbNameIsSet(boolean value) { } } - public String getFuncName() { - return this.funcName; - } - - public void setFuncName(String funcName) { - this.funcName = funcName; - } - - public void unsetFuncName() { - this.funcName = null; - } - - /** Returns true if field funcName is set (has been assigned a value) and false otherwise */ - public boolean isSetFuncName() { - return this.funcName != null; - } - - public void setFuncNameIsSet(boolean value) { - if (!value) { - this.funcName = null; - } - } - - public Function getNewFunc() { - return this.newFunc; + public String getPattern() { + return this.pattern; } - public void setNewFunc(Function newFunc) { - this.newFunc = newFunc; + public void setPattern(String pattern) { + this.pattern = pattern; } - public void unsetNewFunc() { - this.newFunc = null; + public void unsetPattern() { + this.pattern = null; } - /** Returns true if field newFunc is set (has been assigned a value) and false otherwise */ - public boolean isSetNewFunc() { - return this.newFunc != null; + /** Returns true if field pattern is set (has been assigned a value) and false otherwise */ + public boolean isSetPattern() { + return this.pattern != null; } - public void setNewFuncIsSet(boolean value) { + public void setPatternIsSet(boolean value) { if (!value) { - this.newFunc = null; + this.pattern = null; } } @@ -109831,19 +118599,11 @@ public void setFieldValue(_Fields field, Object value) { } break; - case FUNC_NAME: - if (value == null) { - unsetFuncName(); - } else { - setFuncName((String)value); - } - break; - - case NEW_FUNC: + case PATTERN: if (value == null) { - unsetNewFunc(); + unsetPattern(); } else { - setNewFunc((Function)value); + setPattern((String)value); } break; @@ -109855,11 +118615,8 @@ public Object getFieldValue(_Fields field) { case DB_NAME: return getDbName(); - case FUNC_NAME: - return getFuncName(); - - case NEW_FUNC: - return getNewFunc(); + case PATTERN: + return getPattern(); } throw new IllegalStateException(); @@ -109874,10 +118631,8 @@ public boolean isSet(_Fields field) { switch (field) { case DB_NAME: return isSetDbName(); - case FUNC_NAME: - return isSetFuncName(); - case NEW_FUNC: - return isSetNewFunc(); + case PATTERN: + return isSetPattern(); } throw new IllegalStateException(); } @@ -109886,12 +118641,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof alter_function_args) - return this.equals((alter_function_args)that); + if (that instanceof get_functions_args) + return this.equals((get_functions_args)that); return false; } - public boolean equals(alter_function_args that) { + public boolean equals(get_functions_args that) { if (that == null) return false; @@ -109904,21 +118659,12 @@ public boolean equals(alter_function_args that) { return false; } - boolean this_present_funcName = true && this.isSetFuncName(); - boolean that_present_funcName = true && that.isSetFuncName(); - if (this_present_funcName || that_present_funcName) { - if (!(this_present_funcName && that_present_funcName)) - return false; - if (!this.funcName.equals(that.funcName)) - return false; - } - - boolean this_present_newFunc = true && this.isSetNewFunc(); - boolean that_present_newFunc = true && that.isSetNewFunc(); - if (this_present_newFunc || that_present_newFunc) { - if (!(this_present_newFunc && that_present_newFunc)) + boolean this_present_pattern = true && this.isSetPattern(); + boolean that_present_pattern = true && that.isSetPattern(); + if (this_present_pattern || that_present_pattern) { + if (!(this_present_pattern && that_present_pattern)) return false; - if (!this.newFunc.equals(that.newFunc)) + if (!this.pattern.equals(that.pattern)) return false; } @@ -109927,60 +118673,45 @@ public boolean equals(alter_function_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); - - boolean present_funcName = true && (isSetFuncName()); - builder.append(present_funcName); - if (present_funcName) - builder.append(funcName); + list.add(dbName); - boolean present_newFunc = true && (isSetNewFunc()); - builder.append(present_newFunc); - if (present_newFunc) - builder.append(newFunc); + boolean present_pattern = true && (isSetPattern()); + list.add(present_pattern); + if (present_pattern) + list.add(pattern); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(alter_function_args other) { + @Override + public int compareTo(get_functions_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_function_args typedOther = (alter_function_args)other; - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetFuncName()).compareTo(typedOther.isSetFuncName()); + lastComparison = Boolean.valueOf(isSetPattern()).compareTo(other.isSetPattern()); if (lastComparison != 0) { return lastComparison; } - if (isSetFuncName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.funcName, typedOther.funcName); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetNewFunc()).compareTo(typedOther.isSetNewFunc()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetNewFunc()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.newFunc, typedOther.newFunc); + if (isSetPattern()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pattern, other.pattern); if (lastComparison != 0) { return lastComparison; } @@ -110002,7 +118733,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("alter_function_args("); + StringBuilder sb = new StringBuilder("get_functions_args("); boolean first = true; sb.append("dbName:"); @@ -110013,19 +118744,11 @@ public String toString() { } first = false; if (!first) sb.append(", "); - sb.append("funcName:"); - if (this.funcName == null) { - sb.append("null"); - } else { - sb.append(this.funcName); - } - first = false; - if (!first) sb.append(", "); - sb.append("newFunc:"); - if (this.newFunc == null) { + sb.append("pattern:"); + if (this.pattern == null) { sb.append("null"); } else { - sb.append(this.newFunc); + sb.append(this.pattern); } first = false; sb.append(")"); @@ -110035,9 +118758,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if (newFunc != null) { - newFunc.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -110056,15 +118776,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class alter_function_argsStandardSchemeFactory implements SchemeFactory { - public alter_function_argsStandardScheme getScheme() { - return new alter_function_argsStandardScheme(); + private static class get_functions_argsStandardSchemeFactory implements SchemeFactory { + public get_functions_argsStandardScheme getScheme() { + return new get_functions_argsStandardScheme(); } } - private static class alter_function_argsStandardScheme extends StandardScheme { + private static class get_functions_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, alter_function_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -110082,19 +118802,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_function_args org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // FUNC_NAME + case 2: // PATTERN 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; - case 3: // NEW_FUNC - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.newFunc = new Function(); - struct.newFunc.read(iprot); - struct.setNewFuncIsSet(true); + struct.pattern = iprot.readString(); + struct.setPatternIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -110108,7 +118819,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_function_args struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, alter_function_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -110117,14 +118828,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_function_arg oprot.writeString(struct.dbName); oprot.writeFieldEnd(); } - if (struct.funcName != null) { - oprot.writeFieldBegin(FUNC_NAME_FIELD_DESC); - oprot.writeString(struct.funcName); - oprot.writeFieldEnd(); - } - if (struct.newFunc != null) { - oprot.writeFieldBegin(NEW_FUNC_FIELD_DESC); - struct.newFunc.write(oprot); + if (struct.pattern != null) { + oprot.writeFieldBegin(PATTERN_FIELD_DESC); + oprot.writeString(struct.pattern); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -110133,80 +118839,69 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_function_arg } - private static class alter_function_argsTupleSchemeFactory implements SchemeFactory { - public alter_function_argsTupleScheme getScheme() { - return new alter_function_argsTupleScheme(); + private static class get_functions_argsTupleSchemeFactory implements SchemeFactory { + public get_functions_argsTupleScheme getScheme() { + return new get_functions_argsTupleScheme(); } } - private static class alter_function_argsTupleScheme extends TupleScheme { + private static class get_functions_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, alter_function_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_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()) { + if (struct.isSetPattern()) { optionals.set(1); } - if (struct.isSetNewFunc()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); + oprot.writeBitSet(optionals, 2); if (struct.isSetDbName()) { oprot.writeString(struct.dbName); } - if (struct.isSetFuncName()) { - oprot.writeString(struct.funcName); - } - if (struct.isSetNewFunc()) { - struct.newFunc.write(oprot); + if (struct.isSetPattern()) { + oprot.writeString(struct.pattern); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, alter_function_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_args 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.dbName = iprot.readString(); struct.setDbNameIsSet(true); } if (incoming.get(1)) { - struct.funcName = iprot.readString(); - struct.setFuncNameIsSet(true); - } - if (incoming.get(2)) { - struct.newFunc = new Function(); - struct.newFunc.read(iprot); - struct.setNewFuncIsSet(true); + struct.pattern = iprot.readString(); + struct.setPatternIsSet(true); } } } } - public static class alter_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("alter_function_result"); + public static class get_functions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_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.LIST, (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 alter_function_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new alter_function_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_functions_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_functions_resultTupleSchemeFactory()); } - private InvalidOperationException o1; // required - private MetaException o2; // required + private List success; // required + private MetaException o1; // 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 { - O1((short)1, "o1"), - O2((short)2, "o2"); + SUCCESS((short)0, "success"), + O1((short)1, "o1"); private static final Map byName = new HashMap(); @@ -110221,10 +118916,10 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_function_args */ 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; } @@ -110268,109 +118963,126 @@ public String getFieldName() { 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.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); 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(alter_function_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_functions_result.class, metaDataMap); } - public alter_function_result() { + public get_functions_result() { } - public alter_function_result( - InvalidOperationException o1, - MetaException o2) + public get_functions_result( + List success, + MetaException o1) { this(); + this.success = success; this.o1 = o1; - this.o2 = o2; } /** * Performs a deep copy on other. */ - public alter_function_result(alter_function_result other) { - if (other.isSetO1()) { - this.o1 = new InvalidOperationException(other.o1); + public get_functions_result(get_functions_result other) { + if (other.isSetSuccess()) { + List __this__success = new ArrayList(other.success); + this.success = __this__success; } - if (other.isSetO2()) { - this.o2 = new MetaException(other.o2); + if (other.isSetO1()) { + this.o1 = new MetaException(other.o1); } } - public alter_function_result deepCopy() { - return new alter_function_result(this); + public get_functions_result deepCopy() { + return new get_functions_result(this); } @Override public void clear() { + this.success = null; this.o1 = null; - this.o2 = null; } - public InvalidOperationException getO1() { - return this.o1; + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); } - public void setO1(InvalidOperationException o1) { - this.o1 = o1; + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); } - public void unsetO1() { - this.o1 = null; + public void addToSuccess(String elem) { + if (this.success == null) { + this.success = new ArrayList(); + } + this.success.add(elem); } - /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ - public boolean isSetO1() { - return this.o1 != null; + public List getSuccess() { + return this.success; } - public void setO1IsSet(boolean value) { + public void setSuccess(List 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.o1 = null; + this.success = null; } } - public MetaException getO2() { - return this.o2; + public MetaException getO1() { + return this.o1; } - public void setO2(MetaException o2) { - this.o2 = o2; + public void setO1(MetaException o1) { + this.o1 = o1; } - public void unsetO2() { - this.o2 = null; + public void unsetO1() { + this.o1 = null; } - /** Returns true if field o2 is set (has been assigned a value) and false otherwise */ - public boolean isSetO2() { - return this.o2 != 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 setO2IsSet(boolean value) { + public void setO1IsSet(boolean value) { if (!value) { - this.o2 = null; + this.o1 = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case O1: + case SUCCESS: if (value == null) { - unsetO1(); + unsetSuccess(); } else { - setO1((InvalidOperationException)value); + setSuccess((List)value); } break; - case O2: + case O1: if (value == null) { - unsetO2(); + unsetO1(); } else { - setO2((MetaException)value); + setO1((MetaException)value); } break; @@ -110379,12 +119091,12 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case O1: return getO1(); - case O2: - return getO2(); - } throw new IllegalStateException(); } @@ -110396,10 +119108,10 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case O1: return isSetO1(); - case O2: - return isSetO2(); } throw new IllegalStateException(); } @@ -110408,15 +119120,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof alter_function_result) - return this.equals((alter_function_result)that); + if (that instanceof get_functions_result) + return this.equals((get_functions_result)that); return false; } - public boolean equals(alter_function_result that) { + public boolean equals(get_functions_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) { @@ -110426,59 +119147,50 @@ public boolean equals(alter_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; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); - - boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); - if (present_o2) - builder.append(o2); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(alter_function_result other) { + @Override + public int compareTo(get_functions_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - alter_function_result typedOther = (alter_function_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } - if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } - if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -110500,22 +119212,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("alter_function_result("); + StringBuilder sb = new StringBuilder("get_functions_result("); boolean first = true; - sb.append("o1:"); - if (this.o1 == null) { + sb.append("success:"); + if (this.success == null) { sb.append("null"); } else { - sb.append(this.o1); + sb.append(this.success); } first = false; if (!first) sb.append(", "); - sb.append("o2:"); - if (this.o2 == null) { + sb.append("o1:"); + if (this.o1 == null) { sb.append("null"); } else { - sb.append(this.o2); + sb.append(this.o1); } first = false; sb.append(")"); @@ -110543,15 +119255,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class alter_function_resultStandardSchemeFactory implements SchemeFactory { - public alter_function_resultStandardScheme getScheme() { - return new alter_function_resultStandardScheme(); + private static class get_functions_resultStandardSchemeFactory implements SchemeFactory { + public get_functions_resultStandardScheme getScheme() { + return new get_functions_resultStandardScheme(); } } - private static class alter_function_resultStandardScheme extends StandardScheme { + private static class get_functions_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, alter_function_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -110561,20 +119273,29 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_function_resu break; } switch (schemeField.id) { - case 1: // O1 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new InvalidOperationException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); + 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); + String _elem919; + for (int _i920 = 0; _i920 < _list918.size; ++_i920) + { + _elem919 = iprot.readString(); + struct.success.add(_elem919); + } + iprot.readListEnd(); + } + struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // O2 + case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new MetaException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -110588,91 +119309,112 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_function_resu struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, alter_function_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if (struct.success != null) { + 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) + { + oprot.writeString(_iter921); + } + oprot.writeListEnd(); + } + 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 alter_function_resultTupleSchemeFactory implements SchemeFactory { - public alter_function_resultTupleScheme getScheme() { - return new alter_function_resultTupleScheme(); + private static class get_functions_resultTupleSchemeFactory implements SchemeFactory { + public get_functions_resultTupleScheme getScheme() { + return new get_functions_resultTupleScheme(); } } - private static class alter_function_resultTupleScheme extends TupleScheme { + private static class get_functions_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, alter_function_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetO1()) { + if (struct.isSetSuccess()) { optionals.set(0); } - if (struct.isSetO2()) { + if (struct.isSetO1()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); + if (struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter922 : struct.success) + { + oprot.writeString(_iter922); + } + } + } if (struct.isSetO1()) { struct.o1.write(oprot); } - if (struct.isSetO2()) { - struct.o2.write(oprot); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, alter_function_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.o1 = new InvalidOperationException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); + { + 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); + String _elem924; + for (int _i925 = 0; _i925 < _list923.size; ++_i925) + { + _elem924 = iprot.readString(); + struct.success.add(_elem924); + } + } + struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o2 = new MetaException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); } } } } - public static class get_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_functions_args"); + public static class get_function_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_function_args"); private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField PATTERN_FIELD_DESC = new org.apache.thrift.protocol.TField("pattern", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField FUNC_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("funcName", org.apache.thrift.protocol.TType.STRING, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_functions_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_functions_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_function_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_function_argsTupleSchemeFactory()); } private String dbName; // required - private String pattern; // required + private String funcName; // 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 { DB_NAME((short)1, "dbName"), - PATTERN((short)2, "pattern"); + FUNC_NAME((short)2, "funcName"); private static final Map byName = new HashMap(); @@ -110689,8 +119431,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // DB_NAME return DB_NAME; - case 2: // PATTERN - return PATTERN; + case 2: // FUNC_NAME + return FUNC_NAME; default: return null; } @@ -110736,44 +119478,44 @@ public String getFieldName() { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("dbName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.PATTERN, new org.apache.thrift.meta_data.FieldMetaData("pattern", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.FUNC_NAME, new org.apache.thrift.meta_data.FieldMetaData("funcName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_functions_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_function_args.class, metaDataMap); } - public get_functions_args() { + public get_function_args() { } - public get_functions_args( + public get_function_args( String dbName, - String pattern) + String funcName) { this(); this.dbName = dbName; - this.pattern = pattern; + this.funcName = funcName; } /** * Performs a deep copy on other. */ - public get_functions_args(get_functions_args other) { + public get_function_args(get_function_args other) { if (other.isSetDbName()) { this.dbName = other.dbName; } - if (other.isSetPattern()) { - this.pattern = other.pattern; + if (other.isSetFuncName()) { + this.funcName = other.funcName; } } - public get_functions_args deepCopy() { - return new get_functions_args(this); + public get_function_args deepCopy() { + return new get_function_args(this); } @Override public void clear() { this.dbName = null; - this.pattern = null; + this.funcName = null; } public String getDbName() { @@ -110799,26 +119541,26 @@ public void setDbNameIsSet(boolean value) { } } - public String getPattern() { - return this.pattern; + public String getFuncName() { + return this.funcName; } - public void setPattern(String pattern) { - this.pattern = pattern; + public void setFuncName(String funcName) { + this.funcName = funcName; } - public void unsetPattern() { - this.pattern = null; + public void unsetFuncName() { + this.funcName = null; } - /** Returns true if field pattern is set (has been assigned a value) and false otherwise */ - public boolean isSetPattern() { - return this.pattern != null; + /** Returns true if field funcName is set (has been assigned a value) and false otherwise */ + public boolean isSetFuncName() { + return this.funcName != null; } - public void setPatternIsSet(boolean value) { + public void setFuncNameIsSet(boolean value) { if (!value) { - this.pattern = null; + this.funcName = null; } } @@ -110832,11 +119574,11 @@ public void setFieldValue(_Fields field, Object value) { } break; - case PATTERN: + case FUNC_NAME: if (value == null) { - unsetPattern(); + unsetFuncName(); } else { - setPattern((String)value); + setFuncName((String)value); } break; @@ -110848,8 +119590,8 @@ public Object getFieldValue(_Fields field) { case DB_NAME: return getDbName(); - case PATTERN: - return getPattern(); + case FUNC_NAME: + return getFuncName(); } throw new IllegalStateException(); @@ -110864,8 +119606,8 @@ public boolean isSet(_Fields field) { switch (field) { case DB_NAME: return isSetDbName(); - case PATTERN: - return isSetPattern(); + case FUNC_NAME: + return isSetFuncName(); } throw new IllegalStateException(); } @@ -110874,12 +119616,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_functions_args) - return this.equals((get_functions_args)that); + if (that instanceof get_function_args) + return this.equals((get_function_args)that); return false; } - public boolean equals(get_functions_args that) { + public boolean equals(get_function_args that) { if (that == null) return false; @@ -110892,12 +119634,12 @@ public boolean equals(get_functions_args that) { return false; } - boolean this_present_pattern = true && this.isSetPattern(); - boolean that_present_pattern = true && that.isSetPattern(); - if (this_present_pattern || that_present_pattern) { - if (!(this_present_pattern && that_present_pattern)) + boolean this_present_funcName = true && this.isSetFuncName(); + boolean that_present_funcName = true && that.isSetFuncName(); + if (this_present_funcName || that_present_funcName) { + if (!(this_present_funcName && that_present_funcName)) return false; - if (!this.pattern.equals(that.pattern)) + if (!this.funcName.equals(that.funcName)) return false; } @@ -110906,45 +119648,45 @@ public boolean equals(get_functions_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); + list.add(present_dbName); if (present_dbName) - builder.append(dbName); + list.add(dbName); - boolean present_pattern = true && (isSetPattern()); - builder.append(present_pattern); - if (present_pattern) - builder.append(pattern); + boolean present_funcName = true && (isSetFuncName()); + list.add(present_funcName); + if (present_funcName) + list.add(funcName); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_functions_args other) { + @Override + public int compareTo(get_function_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_functions_args typedOther = (get_functions_args)other; - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPattern()).compareTo(typedOther.isSetPattern()); + lastComparison = Boolean.valueOf(isSetFuncName()).compareTo(other.isSetFuncName()); if (lastComparison != 0) { return lastComparison; } - if (isSetPattern()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pattern, typedOther.pattern); + if (isSetFuncName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.funcName, other.funcName); if (lastComparison != 0) { return lastComparison; } @@ -110966,7 +119708,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_functions_args("); + StringBuilder sb = new StringBuilder("get_function_args("); boolean first = true; sb.append("dbName:"); @@ -110977,11 +119719,11 @@ public String toString() { } first = false; if (!first) sb.append(", "); - sb.append("pattern:"); - if (this.pattern == null) { + sb.append("funcName:"); + if (this.funcName == null) { sb.append("null"); } else { - sb.append(this.pattern); + sb.append(this.funcName); } first = false; sb.append(")"); @@ -111009,15 +119751,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_functions_argsStandardSchemeFactory implements SchemeFactory { - public get_functions_argsStandardScheme getScheme() { - return new get_functions_argsStandardScheme(); + private static class get_function_argsStandardSchemeFactory implements SchemeFactory { + public get_function_argsStandardScheme getScheme() { + return new get_function_argsStandardScheme(); } } - private static class get_functions_argsStandardScheme extends StandardScheme { + private static class get_function_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_args struct) throws org.apache.thrift.TException { + 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) @@ -111035,10 +119777,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_args org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // PATTERN + case 2: // FUNC_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.pattern = iprot.readString(); - struct.setPatternIsSet(true); + struct.funcName = iprot.readString(); + struct.setFuncNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -111052,7 +119794,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_args struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_function_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -111061,9 +119803,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_args oprot.writeString(struct.dbName); oprot.writeFieldEnd(); } - if (struct.pattern != null) { - oprot.writeFieldBegin(PATTERN_FIELD_DESC); - oprot.writeString(struct.pattern); + if (struct.funcName != null) { + oprot.writeFieldBegin(FUNC_NAME_FIELD_DESC); + oprot.writeString(struct.funcName); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -111072,35 +119814,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_args } - private static class get_functions_argsTupleSchemeFactory implements SchemeFactory { - public get_functions_argsTupleScheme getScheme() { - return new get_functions_argsTupleScheme(); + private static class get_function_argsTupleSchemeFactory implements SchemeFactory { + public get_function_argsTupleScheme getScheme() { + return new get_function_argsTupleScheme(); } } - private static class get_functions_argsTupleScheme extends TupleScheme { + private static class get_function_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_args struct) throws org.apache.thrift.TException { + 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.isSetPattern()) { + if (struct.isSetFuncName()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetDbName()) { oprot.writeString(struct.dbName); } - if (struct.isSetPattern()) { - oprot.writeString(struct.pattern); + if (struct.isSetFuncName()) { + oprot.writeString(struct.funcName); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_args struct) throws org.apache.thrift.TException { + 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)) { @@ -111108,33 +119850,36 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_args s struct.setDbNameIsSet(true); } if (incoming.get(1)) { - struct.pattern = iprot.readString(); - struct.setPatternIsSet(true); + struct.funcName = iprot.readString(); + struct.setFuncNameIsSet(true); } } } } - public static class get_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_functions_result"); + public static class get_function_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + 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.LIST, (short)0); + 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_functions_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_functions_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_function_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_function_resultTupleSchemeFactory()); } - private List success; // required + 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"); + O1((short)1, "o1"), + O2((short)2, "o2"); private static final Map byName = new HashMap(); @@ -111153,6 +119898,8 @@ public static _Fields findByThriftId(int fieldId) { return SUCCESS; case 1: // O1 return O1; + case 2: // O2 + return O2; default: return null; } @@ -111197,72 +119944,60 @@ 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.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + 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_functions_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_function_result.class, metaDataMap); } - public get_functions_result() { + public get_function_result() { } - public get_functions_result( - List success, - MetaException o1) + 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_functions_result(get_functions_result other) { + public get_function_result(get_function_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } - this.success = __this__success; + 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_functions_result deepCopy() { - return new get_functions_result(this); + 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 int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { - if (this.success == null) { - this.success = new ArrayList(); - } - this.success.add(elem); - } - - public List getSuccess() { + public Function getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(Function success) { this.success = success; } @@ -111304,13 +120039,36 @@ 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((List)value); + setSuccess((Function)value); } break; @@ -111322,6 +120080,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case O2: + if (value == null) { + unsetO2(); + } else { + setO2((NoSuchObjectException)value); + } + break; + } } @@ -111333,6 +120099,9 @@ public Object getFieldValue(_Fields field) { case O1: return getO1(); + case O2: + return getO2(); + } throw new IllegalStateException(); } @@ -111348,6 +120117,8 @@ public boolean isSet(_Fields field) { return isSetSuccess(); case O1: return isSetO1(); + case O2: + return isSetO2(); } throw new IllegalStateException(); } @@ -111356,12 +120127,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_functions_result) - return this.equals((get_functions_result)that); + if (that instanceof get_function_result) + return this.equals((get_function_result)that); return false; } - public boolean equals(get_functions_result that) { + public boolean equals(get_function_result that) { if (that == null) return false; @@ -111383,50 +120154,74 @@ public boolean equals(get_functions_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; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + boolean present_o2 = true && (isSetO2()); + list.add(present_o2); + if (present_o2) + list.add(o2); + + return list.hashCode(); } - public int compareTo(get_functions_result other) { + @Override + public int compareTo(get_function_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_functions_result typedOther = (get_functions_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO2()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -111448,7 +120243,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_functions_result("); + StringBuilder sb = new StringBuilder("get_function_result("); boolean first = true; sb.append("success:"); @@ -111466,6 +120261,14 @@ 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(); } @@ -111473,6 +120276,9 @@ public String 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 { @@ -111491,15 +120297,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_functions_resultStandardSchemeFactory implements SchemeFactory { - public get_functions_resultStandardScheme getScheme() { - return new get_functions_resultStandardScheme(); + private static class get_function_resultStandardSchemeFactory implements SchemeFactory { + public get_function_resultStandardScheme getScheme() { + return new get_function_resultStandardScheme(); } } - private static class get_functions_resultStandardScheme extends StandardScheme { + private static class get_function_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_result struct) throws org.apache.thrift.TException { + 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) @@ -111510,18 +120316,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul } switch (schemeField.id) { 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) - { - String _elem912; // optional - _elem912 = iprot.readString(); - struct.success.add(_elem912); - } - iprot.readListEnd(); - } + 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); @@ -111536,6 +120333,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul 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); } @@ -111545,20 +120351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_result struct) throws org.apache.thrift.TException { + 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); - { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter913 : struct.success) - { - oprot.writeString(_iter913); - } - oprot.writeListEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -111566,22 +120365,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu 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_functions_resultTupleSchemeFactory implements SchemeFactory { - public get_functions_resultTupleScheme getScheme() { - return new get_functions_resultTupleScheme(); + private static class get_function_resultTupleSchemeFactory implements SchemeFactory { + public get_function_resultTupleScheme getScheme() { + return new get_function_resultTupleScheme(); } } - private static class get_functions_resultTupleScheme extends TupleScheme { + private static class get_function_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_result struct) throws org.apache.thrift.TException { + 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()) { @@ -111590,36 +120394,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetO1()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); + if (struct.isSetO2()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (String _iter914 : struct.success) - { - oprot.writeString(_iter914); - } - } + 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_functions_result struct) throws org.apache.thrift.TException { + 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(2); + BitSet incoming = iprot.readBitSet(3); 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) - { - String _elem917; // optional - _elem917 = iprot.readString(); - struct.success.add(_elem917); - } - } + struct.success = new Function(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { @@ -111627,30 +120423,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result 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_function_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_function_args"); + public static class get_all_functions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_all_functions_args"); - private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField FUNC_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("funcName", org.apache.thrift.protocol.TType.STRING, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_function_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_function_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_all_functions_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_all_functions_argsTupleSchemeFactory()); } - private String dbName; // required - private String funcName; // 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 { - DB_NAME((short)1, "dbName"), - FUNC_NAME((short)2, "funcName"); +; private static final Map byName = new HashMap(); @@ -111665,10 +120461,6 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DB_NAME - return DB_NAME; - case 2: // FUNC_NAME - return FUNC_NAME; default: return null; } @@ -111707,128 +120499,37 @@ 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.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("dbName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.FUNC_NAME, new org.apache.thrift.meta_data.FieldMetaData("funcName", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_function_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_all_functions_args.class, metaDataMap); } - public get_function_args() { - } - - public get_function_args( - String dbName, - String funcName) - { - this(); - this.dbName = dbName; - this.funcName = funcName; + public get_all_functions_args() { } /** * Performs a deep copy on other. */ - public get_function_args(get_function_args other) { - if (other.isSetDbName()) { - this.dbName = other.dbName; - } - if (other.isSetFuncName()) { - this.funcName = other.funcName; - } + public get_all_functions_args(get_all_functions_args other) { } - public get_function_args deepCopy() { - return new get_function_args(this); + public get_all_functions_args deepCopy() { + return new get_all_functions_args(this); } @Override public void clear() { - this.dbName = null; - this.funcName = null; - } - - public String getDbName() { - return this.dbName; - } - - public void setDbName(String dbName) { - this.dbName = dbName; - } - - public void unsetDbName() { - this.dbName = null; - } - - /** Returns true if field dbName is set (has been assigned a value) and false otherwise */ - public boolean isSetDbName() { - return this.dbName != null; - } - - public void setDbNameIsSet(boolean value) { - if (!value) { - this.dbName = null; - } - } - - public String getFuncName() { - return this.funcName; - } - - public void setFuncName(String funcName) { - this.funcName = funcName; - } - - public void unsetFuncName() { - this.funcName = null; - } - - /** Returns true if field funcName is set (has been assigned a value) and false otherwise */ - public boolean isSetFuncName() { - return this.funcName != null; - } - - public void setFuncNameIsSet(boolean value) { - if (!value) { - this.funcName = null; - } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case DB_NAME: - if (value == null) { - unsetDbName(); - } else { - setDbName((String)value); - } - break; - - case FUNC_NAME: - if (value == null) { - unsetFuncName(); - } else { - setFuncName((String)value); - } - break; - } } public Object getFieldValue(_Fields field) { switch (field) { - case DB_NAME: - return getDbName(); - - case FUNC_NAME: - return getFuncName(); - } throw new IllegalStateException(); } @@ -111840,10 +120541,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case DB_NAME: - return isSetDbName(); - case FUNC_NAME: - return isSetFuncName(); } throw new IllegalStateException(); } @@ -111852,81 +120549,33 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_function_args) - return this.equals((get_function_args)that); + if (that instanceof get_all_functions_args) + return this.equals((get_all_functions_args)that); return false; } - public boolean equals(get_function_args that) { + public boolean equals(get_all_functions_args that) { if (that == null) return false; - boolean this_present_dbName = true && this.isSetDbName(); - boolean that_present_dbName = true && that.isSetDbName(); - if (this_present_dbName || that_present_dbName) { - if (!(this_present_dbName && that_present_dbName)) - return false; - if (!this.dbName.equals(that.dbName)) - return false; - } - - boolean this_present_funcName = true && this.isSetFuncName(); - boolean that_present_funcName = true && that.isSetFuncName(); - if (this_present_funcName || that_present_funcName) { - if (!(this_present_funcName && that_present_funcName)) - return false; - if (!this.funcName.equals(that.funcName)) - return false; - } - return true; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); - - boolean present_dbName = true && (isSetDbName()); - builder.append(present_dbName); - if (present_dbName) - builder.append(dbName); - - boolean present_funcName = true && (isSetFuncName()); - builder.append(present_funcName); - if (present_funcName) - builder.append(funcName); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_function_args other) { + @Override + public int compareTo(get_all_functions_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_function_args typedOther = (get_function_args)other; - lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDbName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetFuncName()).compareTo(typedOther.isSetFuncName()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetFuncName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.funcName, typedOther.funcName); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -111944,24 +120593,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_function_args("); + StringBuilder sb = new StringBuilder("get_all_functions_args("); boolean first = true; - sb.append("dbName:"); - if (this.dbName == null) { - sb.append("null"); - } else { - sb.append(this.dbName); - } - first = false; - if (!first) sb.append(", "); - sb.append("funcName:"); - if (this.funcName == null) { - sb.append("null"); - } else { - sb.append(this.funcName); - } - first = false; sb.append(")"); return sb.toString(); } @@ -111987,15 +120621,15 @@ 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_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 +120639,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 +120648,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, Comparable { + 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 +120716,6 @@ public static _Fields findByThriftId(int fieldId) { return SUCCESS; case 1: // O1 return O1; - case 2: // O2 - return O2; default: return null; } @@ -112180,60 +120760,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 +120847,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 +120865,6 @@ public void setFieldValue(_Fields field, Object value) { } break; - case O2: - if (value == null) { - unsetO2(); - } else { - setO2((NoSuchObjectException)value); - } - break; - } } @@ -112335,9 +120876,6 @@ public Object getFieldValue(_Fields field) { case O1: return getO1(); - case O2: - return getO2(); - } throw new IllegalStateException(); } @@ -112353,8 +120891,6 @@ public boolean isSet(_Fields field) { return isSetSuccess(); case O1: return isSetO1(); - case O2: - return isSetO2(); } throw new IllegalStateException(); } @@ -112363,12 +120899,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,74 +120926,50 @@ 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; } @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); - if (present_o2) - builder.append(o2); - - return builder.toHashCode(); + return list.hashCode(); } - public int compareTo(get_function_result other) { + @Override + 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; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.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); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -112479,7 +120991,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 +121009,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 +121037,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 +121057,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 +121073,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 +121082,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 +121096,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 +121120,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,17 +121143,12 @@ 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); - } } } } - public static class create_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class create_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_role_args"); private static final org.apache.thrift.protocol.TField ROLE_FIELD_DESC = new org.apache.thrift.protocol.TField("role", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -112863,30 +121342,30 @@ public boolean equals(create_role_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_role = true && (isSetRole()); - builder.append(present_role); + list.add(present_role); if (present_role) - builder.append(role); + list.add(role); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(create_role_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_role_args typedOther = (create_role_args)other; - lastComparison = Boolean.valueOf(isSetRole()).compareTo(typedOther.isSetRole()); + lastComparison = Boolean.valueOf(isSetRole()).compareTo(other.isSetRole()); if (lastComparison != 0) { return lastComparison; } if (isSetRole()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.role, typedOther.role); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.role, other.role); if (lastComparison != 0) { return lastComparison; } @@ -113032,7 +121511,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_role_args str } - public static class create_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class create_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_role_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -113286,45 +121765,45 @@ public boolean equals(create_role_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(create_role_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - create_role_result typedOther = (create_role_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -113496,7 +121975,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_role_result s } - public static class drop_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_role_args"); private static final org.apache.thrift.protocol.TField ROLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("role_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -113690,30 +122169,30 @@ public boolean equals(drop_role_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_role_name = true && (isSetRole_name()); - builder.append(present_role_name); + list.add(present_role_name); if (present_role_name) - builder.append(role_name); + list.add(role_name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_role_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_role_args typedOther = (drop_role_args)other; - lastComparison = Boolean.valueOf(isSetRole_name()).compareTo(typedOther.isSetRole_name()); + lastComparison = Boolean.valueOf(isSetRole_name()).compareTo(other.isSetRole_name()); if (lastComparison != 0) { return lastComparison; } if (isSetRole_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.role_name, typedOther.role_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.role_name, other.role_name); if (lastComparison != 0) { return lastComparison; } @@ -113854,7 +122333,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_role_args struc } - public static class drop_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class drop_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("drop_role_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -114108,45 +122587,45 @@ public boolean equals(drop_role_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(drop_role_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - drop_role_result typedOther = (drop_role_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -114318,7 +122797,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_role_result str } - public static class get_role_names_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_role_names_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_role_names_args"); @@ -114448,18 +122927,18 @@ public boolean equals(get_role_names_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_role_names_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_role_names_args typedOther = (get_role_names_args)other; return 0; } @@ -114564,7 +123043,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_args } - public static class get_role_names_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_role_names_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_role_names_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -114670,10 +123149,7 @@ public get_role_names_result( */ public get_role_names_result(get_role_names_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } if (other.isSetO1()) { @@ -114836,45 +123312,45 @@ public boolean equals(get_role_names_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_role_names_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_role_names_result typedOther = (get_role_names_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -114960,13 +123436,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); + String _elem927; + for (int _i928 = 0; _i928 < _list926.size; ++_i928) { - String _elem920; // optional - _elem920 = iprot.readString(); - struct.success.add(_elem920); + _elem927 = iprot.readString(); + struct.success.add(_elem927); } iprot.readListEnd(); } @@ -115001,9 +123477,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 +123518,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 +123535,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); + String _elem932; + for (int _i933 = 0; _i933 < _list931.size; ++_i933) { - String _elem925; // optional - _elem925 = iprot.readString(); - struct.success.add(_elem925); + _elem932 = iprot.readString(); + struct.success.add(_elem932); } } struct.setSuccessIsSet(true); @@ -115080,7 +123556,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul } - public static class grant_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class grant_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("grant_role_args"); private static final org.apache.thrift.protocol.TField ROLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("role_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -115590,105 +124066,105 @@ public boolean equals(grant_role_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_role_name = true && (isSetRole_name()); - builder.append(present_role_name); + list.add(present_role_name); if (present_role_name) - builder.append(role_name); + list.add(role_name); boolean present_principal_name = true && (isSetPrincipal_name()); - builder.append(present_principal_name); + list.add(present_principal_name); if (present_principal_name) - builder.append(principal_name); + list.add(principal_name); boolean present_principal_type = true && (isSetPrincipal_type()); - builder.append(present_principal_type); + list.add(present_principal_type); if (present_principal_type) - builder.append(principal_type.getValue()); + list.add(principal_type.getValue()); boolean present_grantor = true && (isSetGrantor()); - builder.append(present_grantor); + list.add(present_grantor); if (present_grantor) - builder.append(grantor); + list.add(grantor); boolean present_grantorType = true && (isSetGrantorType()); - builder.append(present_grantorType); + list.add(present_grantorType); if (present_grantorType) - builder.append(grantorType.getValue()); + list.add(grantorType.getValue()); boolean present_grant_option = true; - builder.append(present_grant_option); + list.add(present_grant_option); if (present_grant_option) - builder.append(grant_option); + list.add(grant_option); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(grant_role_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - grant_role_args typedOther = (grant_role_args)other; - lastComparison = Boolean.valueOf(isSetRole_name()).compareTo(typedOther.isSetRole_name()); + lastComparison = Boolean.valueOf(isSetRole_name()).compareTo(other.isSetRole_name()); if (lastComparison != 0) { return lastComparison; } if (isSetRole_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.role_name, typedOther.role_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.role_name, other.role_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipal_name()).compareTo(typedOther.isSetPrincipal_name()); + lastComparison = Boolean.valueOf(isSetPrincipal_name()).compareTo(other.isSetPrincipal_name()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_name, typedOther.principal_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_name, other.principal_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipal_type()).compareTo(typedOther.isSetPrincipal_type()); + lastComparison = Boolean.valueOf(isSetPrincipal_type()).compareTo(other.isSetPrincipal_type()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal_type()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_type, typedOther.principal_type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_type, other.principal_type); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantor()).compareTo(typedOther.isSetGrantor()); + lastComparison = Boolean.valueOf(isSetGrantor()).compareTo(other.isSetGrantor()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantor()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantor, typedOther.grantor); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantor, other.grantor); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrantorType()).compareTo(typedOther.isSetGrantorType()); + lastComparison = Boolean.valueOf(isSetGrantorType()).compareTo(other.isSetGrantorType()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantorType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantorType, typedOther.grantorType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantorType, other.grantorType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGrant_option()).compareTo(typedOther.isSetGrant_option()); + lastComparison = Boolean.valueOf(isSetGrant_option()).compareTo(other.isSetGrant_option()); if (lastComparison != 0) { return lastComparison; } if (isSetGrant_option()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grant_option, typedOther.grant_option); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grant_option, other.grant_option); if (lastComparison != 0) { return lastComparison; } @@ -115819,7 +124295,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, grant_role_args str break; case 3: // PRINCIPAL_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.principal_type = PrincipalType.findByValue(iprot.readI32()); + struct.principal_type = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipal_typeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -115835,7 +124311,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, grant_role_args str break; case 5: // GRANTOR_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.grantorType = PrincipalType.findByValue(iprot.readI32()); + struct.grantorType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setGrantorTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -115960,7 +124436,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, grant_role_args stru struct.setPrincipal_nameIsSet(true); } if (incoming.get(2)) { - struct.principal_type = PrincipalType.findByValue(iprot.readI32()); + struct.principal_type = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipal_typeIsSet(true); } if (incoming.get(3)) { @@ -115968,7 +124444,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, grant_role_args stru struct.setGrantorIsSet(true); } if (incoming.get(4)) { - struct.grantorType = PrincipalType.findByValue(iprot.readI32()); + struct.grantorType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setGrantorTypeIsSet(true); } if (incoming.get(5)) { @@ -115980,7 +124456,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, grant_role_args stru } - public static class grant_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class grant_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("grant_role_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -116234,45 +124710,45 @@ public boolean equals(grant_role_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(grant_role_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - grant_role_result typedOther = (grant_role_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -116444,7 +124920,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, grant_role_result st } - public static class revoke_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class revoke_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("revoke_role_args"); private static final org.apache.thrift.protocol.TField ROLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("role_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -116766,60 +125242,60 @@ public boolean equals(revoke_role_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_role_name = true && (isSetRole_name()); - builder.append(present_role_name); + list.add(present_role_name); if (present_role_name) - builder.append(role_name); + list.add(role_name); boolean present_principal_name = true && (isSetPrincipal_name()); - builder.append(present_principal_name); + list.add(present_principal_name); if (present_principal_name) - builder.append(principal_name); + list.add(principal_name); boolean present_principal_type = true && (isSetPrincipal_type()); - builder.append(present_principal_type); + list.add(present_principal_type); if (present_principal_type) - builder.append(principal_type.getValue()); + list.add(principal_type.getValue()); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(revoke_role_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - revoke_role_args typedOther = (revoke_role_args)other; - lastComparison = Boolean.valueOf(isSetRole_name()).compareTo(typedOther.isSetRole_name()); + lastComparison = Boolean.valueOf(isSetRole_name()).compareTo(other.isSetRole_name()); if (lastComparison != 0) { return lastComparison; } if (isSetRole_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.role_name, typedOther.role_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.role_name, other.role_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipal_name()).compareTo(typedOther.isSetPrincipal_name()); + lastComparison = Boolean.valueOf(isSetPrincipal_name()).compareTo(other.isSetPrincipal_name()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_name, typedOther.principal_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_name, other.principal_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipal_type()).compareTo(typedOther.isSetPrincipal_type()); + lastComparison = Boolean.valueOf(isSetPrincipal_type()).compareTo(other.isSetPrincipal_type()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal_type()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_type, typedOther.principal_type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_type, other.principal_type); if (lastComparison != 0) { return lastComparison; } @@ -116928,7 +125404,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, revoke_role_args st break; case 3: // PRINCIPAL_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.principal_type = PrincipalType.findByValue(iprot.readI32()); + struct.principal_type = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipal_typeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -117014,7 +125490,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, revoke_role_args str struct.setPrincipal_nameIsSet(true); } if (incoming.get(2)) { - struct.principal_type = PrincipalType.findByValue(iprot.readI32()); + struct.principal_type = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipal_typeIsSet(true); } } @@ -117022,7 +125498,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, revoke_role_args str } - public static class revoke_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class revoke_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("revoke_role_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -117276,45 +125752,45 @@ public boolean equals(revoke_role_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(revoke_role_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - revoke_role_result typedOther = (revoke_role_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -117486,7 +125962,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, revoke_role_result s } - public static class list_roles_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class list_roles_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("list_roles_args"); private static final org.apache.thrift.protocol.TField PRINCIPAL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("principal_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -117750,45 +126226,45 @@ public boolean equals(list_roles_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_principal_name = true && (isSetPrincipal_name()); - builder.append(present_principal_name); + list.add(present_principal_name); if (present_principal_name) - builder.append(principal_name); + list.add(principal_name); boolean present_principal_type = true && (isSetPrincipal_type()); - builder.append(present_principal_type); + list.add(present_principal_type); if (present_principal_type) - builder.append(principal_type.getValue()); + list.add(principal_type.getValue()); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(list_roles_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - list_roles_args typedOther = (list_roles_args)other; - lastComparison = Boolean.valueOf(isSetPrincipal_name()).compareTo(typedOther.isSetPrincipal_name()); + lastComparison = Boolean.valueOf(isSetPrincipal_name()).compareTo(other.isSetPrincipal_name()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_name, typedOther.principal_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_name, other.principal_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipal_type()).compareTo(typedOther.isSetPrincipal_type()); + lastComparison = Boolean.valueOf(isSetPrincipal_type()).compareTo(other.isSetPrincipal_type()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal_type()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_type, typedOther.principal_type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_type, other.principal_type); if (lastComparison != 0) { return lastComparison; } @@ -117881,7 +126357,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_roles_args str break; case 2: // PRINCIPAL_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.principal_type = PrincipalType.findByValue(iprot.readI32()); + struct.principal_type = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipal_typeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -117952,7 +126428,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_args stru struct.setPrincipal_nameIsSet(true); } if (incoming.get(1)) { - struct.principal_type = PrincipalType.findByValue(iprot.readI32()); + struct.principal_type = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipal_typeIsSet(true); } } @@ -117960,7 +126436,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_args stru } - public static class list_roles_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class list_roles_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("list_roles_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -118066,7 +126542,7 @@ public list_roles_result( */ public list_roles_result(list_roles_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (Role other_element : other.success) { __this__success.add(new Role(other_element)); } @@ -118232,45 +126708,45 @@ public boolean equals(list_roles_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(list_roles_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - list_roles_result typedOther = (list_roles_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -118356,14 +126832,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); + Role _elem935; + for (int _i936 = 0; _i936 < _list934.size; ++_i936) { - Role _elem928; // optional - _elem928 = new Role(); - _elem928.read(iprot); - struct.success.add(_elem928); + _elem935 = new Role(); + _elem935.read(iprot); + struct.success.add(_elem935); } iprot.readListEnd(); } @@ -118398,9 +126874,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 +126915,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 +126932,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); + Role _elem940; + for (int _i941 = 0; _i941 < _list939.size; ++_i941) { - Role _elem933; // optional - _elem933 = new Role(); - _elem933.read(iprot); - struct.success.add(_elem933); + _elem940 = new Role(); + _elem940.read(iprot); + struct.success.add(_elem940); } } struct.setSuccessIsSet(true); @@ -118478,7 +126954,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st } - public static class grant_revoke_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class grant_revoke_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("grant_revoke_role_args"); private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -118672,30 +127148,30 @@ public boolean equals(grant_revoke_role_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_request = true && (isSetRequest()); - builder.append(present_request); + list.add(present_request); if (present_request) - builder.append(request); + list.add(request); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(grant_revoke_role_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - grant_revoke_role_args typedOther = (grant_revoke_role_args)other; - lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(other.isSetRequest()); if (lastComparison != 0) { return lastComparison; } if (isSetRequest()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, typedOther.request); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, other.request); if (lastComparison != 0) { return lastComparison; } @@ -118841,7 +127317,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, grant_revoke_role_ar } - public static class grant_revoke_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class grant_revoke_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("grant_revoke_role_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); @@ -119093,45 +127569,45 @@ public boolean equals(grant_revoke_role_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(grant_revoke_role_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - grant_revoke_role_result typedOther = (grant_revoke_role_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -119310,7 +127786,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, grant_revoke_role_re } - public static class get_principals_in_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_principals_in_role_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_principals_in_role_args"); private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -119504,30 +127980,30 @@ public boolean equals(get_principals_in_role_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_request = true && (isSetRequest()); - builder.append(present_request); + list.add(present_request); if (present_request) - builder.append(request); + list.add(request); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_principals_in_role_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_principals_in_role_args typedOther = (get_principals_in_role_args)other; - lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(other.isSetRequest()); if (lastComparison != 0) { return lastComparison; } if (isSetRequest()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, typedOther.request); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, other.request); if (lastComparison != 0) { return lastComparison; } @@ -119673,7 +128149,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_principals_in_ro } - public static class get_principals_in_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_principals_in_role_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_principals_in_role_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); @@ -119925,45 +128401,45 @@ public boolean equals(get_principals_in_role_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_principals_in_role_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_principals_in_role_result typedOther = (get_principals_in_role_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -120142,7 +128618,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_principals_in_ro } - public static class get_role_grants_for_principal_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_role_grants_for_principal_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_role_grants_for_principal_args"); private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -120336,30 +128812,30 @@ public boolean equals(get_role_grants_for_principal_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_request = true && (isSetRequest()); - builder.append(present_request); + list.add(present_request); if (present_request) - builder.append(request); + list.add(request); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_role_grants_for_principal_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_role_grants_for_principal_args typedOther = (get_role_grants_for_principal_args)other; - lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(other.isSetRequest()); if (lastComparison != 0) { return lastComparison; } if (isSetRequest()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, typedOther.request); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, other.request); if (lastComparison != 0) { return lastComparison; } @@ -120505,7 +128981,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_grants_for_ } - public static class get_role_grants_for_principal_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_role_grants_for_principal_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_role_grants_for_principal_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); @@ -120757,45 +129233,45 @@ public boolean equals(get_role_grants_for_principal_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_role_grants_for_principal_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_role_grants_for_principal_result typedOther = (get_role_grants_for_principal_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -120974,7 +129450,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_grants_for_ } - public static class get_privilege_set_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_privilege_set_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_privilege_set_args"); private static final org.apache.thrift.protocol.TField HIVE_OBJECT_FIELD_DESC = new org.apache.thrift.protocol.TField("hiveObject", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -121095,10 +129571,7 @@ public get_privilege_set_args(get_privilege_set_args other) { this.user_name = other.user_name; } if (other.isSetGroup_names()) { - List __this__group_names = new ArrayList(); - for (String other_element : other.group_names) { - __this__group_names.add(other_element); - } + List __this__group_names = new ArrayList(other.group_names); this.group_names = __this__group_names; } } @@ -121304,60 +129777,60 @@ public boolean equals(get_privilege_set_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_hiveObject = true && (isSetHiveObject()); - builder.append(present_hiveObject); + list.add(present_hiveObject); if (present_hiveObject) - builder.append(hiveObject); + list.add(hiveObject); boolean present_user_name = true && (isSetUser_name()); - builder.append(present_user_name); + list.add(present_user_name); if (present_user_name) - builder.append(user_name); + list.add(user_name); boolean present_group_names = true && (isSetGroup_names()); - builder.append(present_group_names); + list.add(present_group_names); if (present_group_names) - builder.append(group_names); + list.add(group_names); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_privilege_set_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_privilege_set_args typedOther = (get_privilege_set_args)other; - lastComparison = Boolean.valueOf(isSetHiveObject()).compareTo(typedOther.isSetHiveObject()); + lastComparison = Boolean.valueOf(isSetHiveObject()).compareTo(other.isSetHiveObject()); if (lastComparison != 0) { return lastComparison; } if (isSetHiveObject()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hiveObject, typedOther.hiveObject); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hiveObject, other.hiveObject); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(typedOther.isSetUser_name()); + lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(other.isSetUser_name()); if (lastComparison != 0) { return lastComparison; } if (isSetUser_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, typedOther.user_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, other.user_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(typedOther.isSetGroup_names()); + lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(other.isSetGroup_names()); if (lastComparison != 0) { return lastComparison; } if (isSetGroup_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, typedOther.group_names); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, other.group_names); if (lastComparison != 0) { return lastComparison; } @@ -121471,13 +129944,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); + String _elem943; + for (int _i944 = 0; _i944 < _list942.size; ++_i944) { - String _elem936; // optional - _elem936 = iprot.readString(); - struct.group_names.add(_elem936); + _elem943 = iprot.readString(); + struct.group_names.add(_elem943); } iprot.readListEnd(); } @@ -121513,9 +129986,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 +130031,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 +130054,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); + String _elem948; + for (int _i949 = 0; _i949 < _list947.size; ++_i949) { - String _elem941; // optional - _elem941 = iprot.readString(); - struct.group_names.add(_elem941); + _elem948 = iprot.readString(); + struct.group_names.add(_elem948); } } struct.setGroup_namesIsSet(true); @@ -121597,7 +130070,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } - public static class get_privilege_set_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_privilege_set_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_privilege_set_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); @@ -121849,45 +130322,45 @@ public boolean equals(get_privilege_set_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_privilege_set_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_privilege_set_result typedOther = (get_privilege_set_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -122066,7 +130539,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_re } - public static class list_privileges_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class list_privileges_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("list_privileges_args"); private static final org.apache.thrift.protocol.TField PRINCIPAL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("principal_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -122388,60 +130861,60 @@ public boolean equals(list_privileges_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_principal_name = true && (isSetPrincipal_name()); - builder.append(present_principal_name); + list.add(present_principal_name); if (present_principal_name) - builder.append(principal_name); + list.add(principal_name); boolean present_principal_type = true && (isSetPrincipal_type()); - builder.append(present_principal_type); + list.add(present_principal_type); if (present_principal_type) - builder.append(principal_type.getValue()); + list.add(principal_type.getValue()); boolean present_hiveObject = true && (isSetHiveObject()); - builder.append(present_hiveObject); + list.add(present_hiveObject); if (present_hiveObject) - builder.append(hiveObject); + list.add(hiveObject); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(list_privileges_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - list_privileges_args typedOther = (list_privileges_args)other; - lastComparison = Boolean.valueOf(isSetPrincipal_name()).compareTo(typedOther.isSetPrincipal_name()); + lastComparison = Boolean.valueOf(isSetPrincipal_name()).compareTo(other.isSetPrincipal_name()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_name, typedOther.principal_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_name, other.principal_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPrincipal_type()).compareTo(typedOther.isSetPrincipal_type()); + lastComparison = Boolean.valueOf(isSetPrincipal_type()).compareTo(other.isSetPrincipal_type()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal_type()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_type, typedOther.principal_type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal_type, other.principal_type); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHiveObject()).compareTo(typedOther.isSetHiveObject()); + lastComparison = Boolean.valueOf(isSetHiveObject()).compareTo(other.isSetHiveObject()); if (lastComparison != 0) { return lastComparison; } if (isSetHiveObject()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hiveObject, typedOther.hiveObject); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hiveObject, other.hiveObject); if (lastComparison != 0) { return lastComparison; } @@ -122545,7 +131018,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_privileges_arg break; case 2: // PRINCIPAL_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.principal_type = PrincipalType.findByValue(iprot.readI32()); + struct.principal_type = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipal_typeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -122636,7 +131109,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_args struct.setPrincipal_nameIsSet(true); } if (incoming.get(1)) { - struct.principal_type = PrincipalType.findByValue(iprot.readI32()); + struct.principal_type = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setPrincipal_typeIsSet(true); } if (incoming.get(2)) { @@ -122649,7 +131122,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_args } - public static class list_privileges_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class list_privileges_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("list_privileges_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -122755,7 +131228,7 @@ public list_privileges_result( */ public list_privileges_result(list_privileges_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); + List __this__success = new ArrayList(other.success.size()); for (HiveObjectPrivilege other_element : other.success) { __this__success.add(new HiveObjectPrivilege(other_element)); } @@ -122921,45 +131394,45 @@ public boolean equals(list_privileges_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(list_privileges_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - list_privileges_result typedOther = (list_privileges_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -123045,14 +131518,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); + HiveObjectPrivilege _elem951; + for (int _i952 = 0; _i952 < _list950.size; ++_i952) { - HiveObjectPrivilege _elem944; // optional - _elem944 = new HiveObjectPrivilege(); - _elem944.read(iprot); - struct.success.add(_elem944); + _elem951 = new HiveObjectPrivilege(); + _elem951.read(iprot); + struct.success.add(_elem951); } iprot.readListEnd(); } @@ -123087,9 +131560,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 +131601,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 +131618,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); + HiveObjectPrivilege _elem956; + for (int _i957 = 0; _i957 < _list955.size; ++_i957) { - HiveObjectPrivilege _elem949; // optional - _elem949 = new HiveObjectPrivilege(); - _elem949.read(iprot); - struct.success.add(_elem949); + _elem956 = new HiveObjectPrivilege(); + _elem956.read(iprot); + struct.success.add(_elem956); } } struct.setSuccessIsSet(true); @@ -123167,7 +131640,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu } - public static class grant_privileges_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class grant_privileges_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("grant_privileges_args"); private static final org.apache.thrift.protocol.TField PRIVILEGES_FIELD_DESC = new org.apache.thrift.protocol.TField("privileges", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -123361,30 +131834,30 @@ public boolean equals(grant_privileges_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_privileges = true && (isSetPrivileges()); - builder.append(present_privileges); + list.add(present_privileges); if (present_privileges) - builder.append(privileges); + list.add(privileges); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(grant_privileges_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - grant_privileges_args typedOther = (grant_privileges_args)other; - lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(typedOther.isSetPrivileges()); + lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(other.isSetPrivileges()); if (lastComparison != 0) { return lastComparison; } if (isSetPrivileges()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, typedOther.privileges); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, other.privileges); if (lastComparison != 0) { return lastComparison; } @@ -123530,7 +132003,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, grant_privileges_arg } - public static class grant_privileges_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class grant_privileges_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("grant_privileges_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -123784,45 +132257,45 @@ public boolean equals(grant_privileges_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(grant_privileges_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - grant_privileges_result typedOther = (grant_privileges_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -123994,7 +132467,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, grant_privileges_res } - public static class revoke_privileges_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class revoke_privileges_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("revoke_privileges_args"); private static final org.apache.thrift.protocol.TField PRIVILEGES_FIELD_DESC = new org.apache.thrift.protocol.TField("privileges", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -124188,30 +132661,30 @@ public boolean equals(revoke_privileges_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_privileges = true && (isSetPrivileges()); - builder.append(present_privileges); + list.add(present_privileges); if (present_privileges) - builder.append(privileges); + list.add(privileges); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(revoke_privileges_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - revoke_privileges_args typedOther = (revoke_privileges_args)other; - lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(typedOther.isSetPrivileges()); + lastComparison = Boolean.valueOf(isSetPrivileges()).compareTo(other.isSetPrivileges()); if (lastComparison != 0) { return lastComparison; } if (isSetPrivileges()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, typedOther.privileges); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privileges, other.privileges); if (lastComparison != 0) { return lastComparison; } @@ -124357,7 +132830,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, revoke_privileges_ar } - public static class revoke_privileges_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class revoke_privileges_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("revoke_privileges_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); @@ -124611,45 +133084,45 @@ public boolean equals(revoke_privileges_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(revoke_privileges_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - revoke_privileges_result typedOther = (revoke_privileges_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -124821,7 +133294,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, revoke_privileges_re } - public static class grant_revoke_privileges_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class grant_revoke_privileges_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("grant_revoke_privileges_args"); private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -125015,30 +133488,30 @@ public boolean equals(grant_revoke_privileges_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_request = true && (isSetRequest()); - builder.append(present_request); + list.add(present_request); if (present_request) - builder.append(request); + list.add(request); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(grant_revoke_privileges_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - grant_revoke_privileges_args typedOther = (grant_revoke_privileges_args)other; - lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(other.isSetRequest()); if (lastComparison != 0) { return lastComparison; } if (isSetRequest()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, typedOther.request); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, other.request); if (lastComparison != 0) { return lastComparison; } @@ -125184,7 +133657,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, grant_revoke_privile } - public static class grant_revoke_privileges_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class grant_revoke_privileges_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("grant_revoke_privileges_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); @@ -125436,45 +133909,45 @@ public boolean equals(grant_revoke_privileges_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(grant_revoke_privileges_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - grant_revoke_privileges_result typedOther = (grant_revoke_privileges_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -125653,7 +134126,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, grant_revoke_privile } - public static class set_ugi_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class set_ugi_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("set_ugi_args"); private static final org.apache.thrift.protocol.TField USER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("user_name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -125762,10 +134235,7 @@ public set_ugi_args(set_ugi_args other) { this.user_name = other.user_name; } if (other.isSetGroup_names()) { - List __this__group_names = new ArrayList(); - for (String other_element : other.group_names) { - __this__group_names.add(other_element); - } + List __this__group_names = new ArrayList(other.group_names); this.group_names = __this__group_names; } } @@ -125925,45 +134395,45 @@ public boolean equals(set_ugi_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_user_name = true && (isSetUser_name()); - builder.append(present_user_name); + list.add(present_user_name); if (present_user_name) - builder.append(user_name); + list.add(user_name); boolean present_group_names = true && (isSetGroup_names()); - builder.append(present_group_names); + list.add(present_group_names); if (present_group_names) - builder.append(group_names); + list.add(group_names); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(set_ugi_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - set_ugi_args typedOther = (set_ugi_args)other; - lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(typedOther.isSetUser_name()); + lastComparison = Boolean.valueOf(isSetUser_name()).compareTo(other.isSetUser_name()); if (lastComparison != 0) { return lastComparison; } if (isSetUser_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, typedOther.user_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_name, other.user_name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(typedOther.isSetGroup_names()); + lastComparison = Boolean.valueOf(isSetGroup_names()).compareTo(other.isSetGroup_names()); if (lastComparison != 0) { return lastComparison; } if (isSetGroup_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, typedOther.group_names); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group_names, other.group_names); if (lastComparison != 0) { return lastComparison; } @@ -126057,13 +134527,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); + String _elem959; + for (int _i960 = 0; _i960 < _list958.size; ++_i960) { - String _elem952; // optional - _elem952 = iprot.readString(); - struct.group_names.add(_elem952); + _elem959 = iprot.readString(); + struct.group_names.add(_elem959); } iprot.readListEnd(); } @@ -126094,9 +134564,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 +134603,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 +134621,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); + String _elem964; + for (int _i965 = 0; _i965 < _list963.size; ++_i965) { - String _elem957; // optional - _elem957 = iprot.readString(); - struct.group_names.add(_elem957); + _elem964 = iprot.readString(); + struct.group_names.add(_elem964); } } struct.setGroup_namesIsSet(true); @@ -126167,7 +134637,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } - public static class set_ugi_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class set_ugi_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("set_ugi_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -126273,10 +134743,7 @@ public set_ugi_result( */ public set_ugi_result(set_ugi_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } if (other.isSetO1()) { @@ -126439,45 +134906,45 @@ public boolean equals(set_ugi_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(set_ugi_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - set_ugi_result typedOther = (set_ugi_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -126563,13 +135030,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); + String _elem967; + for (int _i968 = 0; _i968 < _list966.size; ++_i968) { - String _elem960; // optional - _elem960 = iprot.readString(); - struct.success.add(_elem960); + _elem967 = iprot.readString(); + struct.success.add(_elem967); } iprot.readListEnd(); } @@ -126604,9 +135071,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 +135112,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 +135129,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); + String _elem972; + for (int _i973 = 0; _i973 < _list971.size; ++_i973) { - String _elem965; // optional - _elem965 = iprot.readString(); - struct.success.add(_elem965); + _elem972 = iprot.readString(); + struct.success.add(_elem972); } } struct.setSuccessIsSet(true); @@ -126683,7 +135150,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc } - public static class get_delegation_token_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_delegation_token_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_delegation_token_args"); private static final org.apache.thrift.protocol.TField TOKEN_OWNER_FIELD_DESC = new org.apache.thrift.protocol.TField("token_owner", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -126935,45 +135402,45 @@ public boolean equals(get_delegation_token_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_token_owner = true && (isSetToken_owner()); - builder.append(present_token_owner); + list.add(present_token_owner); if (present_token_owner) - builder.append(token_owner); + list.add(token_owner); boolean present_renewer_kerberos_principal_name = true && (isSetRenewer_kerberos_principal_name()); - builder.append(present_renewer_kerberos_principal_name); + list.add(present_renewer_kerberos_principal_name); if (present_renewer_kerberos_principal_name) - builder.append(renewer_kerberos_principal_name); + list.add(renewer_kerberos_principal_name); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_delegation_token_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_delegation_token_args typedOther = (get_delegation_token_args)other; - lastComparison = Boolean.valueOf(isSetToken_owner()).compareTo(typedOther.isSetToken_owner()); + lastComparison = Boolean.valueOf(isSetToken_owner()).compareTo(other.isSetToken_owner()); if (lastComparison != 0) { return lastComparison; } if (isSetToken_owner()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.token_owner, typedOther.token_owner); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.token_owner, other.token_owner); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRenewer_kerberos_principal_name()).compareTo(typedOther.isSetRenewer_kerberos_principal_name()); + lastComparison = Boolean.valueOf(isSetRenewer_kerberos_principal_name()).compareTo(other.isSetRenewer_kerberos_principal_name()); if (lastComparison != 0) { return lastComparison; } if (isSetRenewer_kerberos_principal_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.renewer_kerberos_principal_name, typedOther.renewer_kerberos_principal_name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.renewer_kerberos_principal_name, other.renewer_kerberos_principal_name); if (lastComparison != 0) { return lastComparison; } @@ -127145,7 +135612,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_delegation_token } - public static class get_delegation_token_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_delegation_token_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_delegation_token_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0); @@ -127397,45 +135864,45 @@ public boolean equals(get_delegation_token_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_delegation_token_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_delegation_token_result typedOther = (get_delegation_token_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -127609,7 +136076,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_delegation_token } - public static class renew_delegation_token_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class renew_delegation_token_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("renew_delegation_token_args"); private static final org.apache.thrift.protocol.TField TOKEN_STR_FORM_FIELD_DESC = new org.apache.thrift.protocol.TField("token_str_form", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -127803,30 +136270,30 @@ public boolean equals(renew_delegation_token_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_token_str_form = true && (isSetToken_str_form()); - builder.append(present_token_str_form); + list.add(present_token_str_form); if (present_token_str_form) - builder.append(token_str_form); + list.add(token_str_form); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(renew_delegation_token_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - renew_delegation_token_args typedOther = (renew_delegation_token_args)other; - lastComparison = Boolean.valueOf(isSetToken_str_form()).compareTo(typedOther.isSetToken_str_form()); + lastComparison = Boolean.valueOf(isSetToken_str_form()).compareTo(other.isSetToken_str_form()); if (lastComparison != 0) { return lastComparison; } if (isSetToken_str_form()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.token_str_form, typedOther.token_str_form); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.token_str_form, other.token_str_form); if (lastComparison != 0) { return lastComparison; } @@ -127967,7 +136434,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, renew_delegation_tok } - public static class renew_delegation_token_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class renew_delegation_token_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("renew_delegation_token_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0); @@ -128221,45 +136688,45 @@ public boolean equals(renew_delegation_token_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true; - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(renew_delegation_token_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - renew_delegation_token_result typedOther = (renew_delegation_token_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -128431,7 +136898,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, renew_delegation_tok } - public static class cancel_delegation_token_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class cancel_delegation_token_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("cancel_delegation_token_args"); private static final org.apache.thrift.protocol.TField TOKEN_STR_FORM_FIELD_DESC = new org.apache.thrift.protocol.TField("token_str_form", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -128625,30 +137092,30 @@ public boolean equals(cancel_delegation_token_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_token_str_form = true && (isSetToken_str_form()); - builder.append(present_token_str_form); + list.add(present_token_str_form); if (present_token_str_form) - builder.append(token_str_form); + list.add(token_str_form); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(cancel_delegation_token_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - cancel_delegation_token_args typedOther = (cancel_delegation_token_args)other; - lastComparison = Boolean.valueOf(isSetToken_str_form()).compareTo(typedOther.isSetToken_str_form()); + lastComparison = Boolean.valueOf(isSetToken_str_form()).compareTo(other.isSetToken_str_form()); if (lastComparison != 0) { return lastComparison; } if (isSetToken_str_form()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.token_str_form, typedOther.token_str_form); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.token_str_form, other.token_str_form); if (lastComparison != 0) { return lastComparison; } @@ -128789,7 +137256,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, cancel_delegation_to } - public static class cancel_delegation_token_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class cancel_delegation_token_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("cancel_delegation_token_result"); 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); @@ -128983,30 +137450,30 @@ public boolean equals(cancel_delegation_token_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(cancel_delegation_token_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - cancel_delegation_token_result typedOther = (cancel_delegation_token_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -129149,7 +137616,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, cancel_delegation_to } - public static class get_open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_args"); @@ -129279,18 +137746,18 @@ public boolean equals(get_open_txns_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_open_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_open_txns_args typedOther = (get_open_txns_args)other; return 0; } @@ -129395,7 +137862,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args s } - public static class get_open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_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); @@ -129589,30 +138056,30 @@ public boolean equals(get_open_txns_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_open_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_open_txns_result typedOther = (get_open_txns_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -129758,7 +138225,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result } - public static class get_open_txns_info_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_open_txns_info_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_info_args"); @@ -129888,18 +138355,18 @@ public boolean equals(get_open_txns_info_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_open_txns_info_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_open_txns_info_args typedOther = (get_open_txns_info_args)other; return 0; } @@ -130004,7 +138471,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_a } - public static class get_open_txns_info_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_open_txns_info_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_info_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); @@ -130198,30 +138665,30 @@ public boolean equals(get_open_txns_info_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_open_txns_info_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_open_txns_info_result typedOther = (get_open_txns_info_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -130367,7 +138834,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_r } - public static class open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("open_txns_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -130561,30 +139028,30 @@ public boolean equals(open_txns_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(open_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - open_txns_args typedOther = (open_txns_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -130730,7 +139197,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struc } - public static class open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("open_txns_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); @@ -130924,30 +139391,30 @@ public boolean equals(open_txns_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(open_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - open_txns_result typedOther = (open_txns_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -131093,7 +139560,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_result str } - public static class abort_txn_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class abort_txn_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txn_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -131287,30 +139754,30 @@ public boolean equals(abort_txn_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(abort_txn_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - abort_txn_args typedOther = (abort_txn_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -131456,7 +139923,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struc } - public static class abort_txn_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class abort_txn_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txn_result"); 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); @@ -131650,30 +140117,30 @@ public boolean equals(abort_txn_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(abort_txn_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - abort_txn_result typedOther = (abort_txn_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -131816,7 +140283,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_result str } - public static class commit_txn_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class commit_txn_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("commit_txn_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -132010,30 +140477,30 @@ public boolean equals(commit_txn_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(commit_txn_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - commit_txn_args typedOther = (commit_txn_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -132179,7 +140646,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_args stru } - public static class commit_txn_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class commit_txn_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("commit_txn_result"); 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); @@ -132431,45 +140898,45 @@ public boolean equals(commit_txn_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(commit_txn_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - commit_txn_result typedOther = (commit_txn_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -132645,7 +141112,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_result st } - public static class lock_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class lock_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("lock_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -132839,30 +141306,30 @@ public boolean equals(lock_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(lock_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lock_args typedOther = (lock_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -133008,7 +141475,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, lock_args struct) th } - public static class lock_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class lock_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("lock_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); @@ -133318,60 +141785,60 @@ public boolean equals(lock_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(lock_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lock_result typedOther = (lock_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -133583,7 +142050,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, lock_result struct) } - public static class check_lock_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class check_lock_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("check_lock_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -133777,30 +142244,30 @@ public boolean equals(check_lock_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(check_lock_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - check_lock_args typedOther = (check_lock_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -133946,7 +142413,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, check_lock_args stru } - public static class check_lock_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class check_lock_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("check_lock_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); @@ -134314,75 +142781,75 @@ public boolean equals(check_lock_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(check_lock_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - check_lock_result typedOther = (check_lock_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -134627,7 +143094,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, check_lock_result st } - public static class unlock_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class unlock_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("unlock_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -134821,30 +143288,30 @@ public boolean equals(unlock_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(unlock_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - unlock_args typedOther = (unlock_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -134990,7 +143457,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, unlock_args struct) } - public static class unlock_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class unlock_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("unlock_result"); 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); @@ -135242,45 +143709,45 @@ public boolean equals(unlock_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(unlock_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - unlock_result typedOther = (unlock_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -135456,7 +143923,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, unlock_result struct } - public static class show_locks_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class show_locks_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("show_locks_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -135650,30 +144117,30 @@ public boolean equals(show_locks_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(show_locks_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - show_locks_args typedOther = (show_locks_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -135819,7 +144286,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, show_locks_args stru } - public static class show_locks_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class show_locks_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("show_locks_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); @@ -136013,30 +144480,30 @@ public boolean equals(show_locks_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(show_locks_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - show_locks_result typedOther = (show_locks_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -136182,7 +144649,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, show_locks_result st } - public static class heartbeat_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class heartbeat_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("heartbeat_args"); private static final org.apache.thrift.protocol.TField IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("ids", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -136376,30 +144843,30 @@ public boolean equals(heartbeat_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_ids = true && (isSetIds()); - builder.append(present_ids); + list.add(present_ids); if (present_ids) - builder.append(ids); + list.add(ids); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(heartbeat_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - heartbeat_args typedOther = (heartbeat_args)other; - lastComparison = Boolean.valueOf(isSetIds()).compareTo(typedOther.isSetIds()); + lastComparison = Boolean.valueOf(isSetIds()).compareTo(other.isSetIds()); if (lastComparison != 0) { return lastComparison; } if (isSetIds()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ids, typedOther.ids); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ids, other.ids); if (lastComparison != 0) { return lastComparison; } @@ -136545,7 +145012,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, heartbeat_args struc } - public static class heartbeat_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class heartbeat_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("heartbeat_result"); 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); @@ -136855,60 +145322,60 @@ public boolean equals(heartbeat_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); + list.add(present_o3); if (present_o3) - builder.append(o3); + list.add(o3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(heartbeat_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - heartbeat_result typedOther = (heartbeat_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); if (lastComparison != 0) { return lastComparison; } if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); if (lastComparison != 0) { return lastComparison; } @@ -137117,7 +145584,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, heartbeat_result str } - public static class heartbeat_txn_range_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class heartbeat_txn_range_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("heartbeat_txn_range_args"); private static final org.apache.thrift.protocol.TField TXNS_FIELD_DESC = new org.apache.thrift.protocol.TField("txns", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -137311,30 +145778,30 @@ public boolean equals(heartbeat_txn_range_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_txns = true && (isSetTxns()); - builder.append(present_txns); + list.add(present_txns); if (present_txns) - builder.append(txns); + list.add(txns); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(heartbeat_txn_range_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - heartbeat_txn_range_args typedOther = (heartbeat_txn_range_args)other; - lastComparison = Boolean.valueOf(isSetTxns()).compareTo(typedOther.isSetTxns()); + lastComparison = Boolean.valueOf(isSetTxns()).compareTo(other.isSetTxns()); if (lastComparison != 0) { return lastComparison; } if (isSetTxns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txns, typedOther.txns); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txns, other.txns); if (lastComparison != 0) { return lastComparison; } @@ -137480,7 +145947,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, heartbeat_txn_range_ } - public static class heartbeat_txn_range_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class heartbeat_txn_range_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("heartbeat_txn_range_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); @@ -137674,30 +146141,30 @@ public boolean equals(heartbeat_txn_range_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(heartbeat_txn_range_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - heartbeat_txn_range_result typedOther = (heartbeat_txn_range_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -137843,7 +146310,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, heartbeat_txn_range_ } - public static class compact_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class compact_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("compact_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -138037,30 +146504,30 @@ public boolean equals(compact_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(compact_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - compact_args typedOther = (compact_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -138206,7 +146673,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, compact_args struct) } - public static class compact_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class compact_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("compact_result"); @@ -138336,18 +146803,18 @@ public boolean equals(compact_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(compact_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - compact_result typedOther = (compact_result)other; return 0; } @@ -138452,7 +146919,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, compact_result struc } - public static class show_compact_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class show_compact_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("show_compact_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -138646,30 +147113,30 @@ public boolean equals(show_compact_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(show_compact_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - show_compact_args typedOther = (show_compact_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -138815,7 +147282,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, show_compact_args st } - public static class show_compact_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class show_compact_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("show_compact_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); @@ -139009,30 +147476,30 @@ public boolean equals(show_compact_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(show_compact_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - show_compact_result typedOther = (show_compact_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -139178,7 +147645,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, show_compact_result } - public static class add_dynamic_partitions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_dynamic_partitions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_dynamic_partitions_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -139372,30 +147839,30 @@ public boolean equals(add_dynamic_partitions_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_dynamic_partitions_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_dynamic_partitions_args typedOther = (add_dynamic_partitions_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -139541,7 +148008,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_dynamic_partitio } - public static class add_dynamic_partitions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class add_dynamic_partitions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("add_dynamic_partitions_result"); 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); @@ -139793,45 +148260,45 @@ public boolean equals(add_dynamic_partitions_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_o1 = true && (isSetO1()); - builder.append(present_o1); + list.add(present_o1); if (present_o1) - builder.append(o1); + list.add(o1); boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); + list.add(present_o2); if (present_o2) - builder.append(o2); + list.add(o2); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(add_dynamic_partitions_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - add_dynamic_partitions_result typedOther = (add_dynamic_partitions_result)other; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); if (lastComparison != 0) { return lastComparison; } if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); if (lastComparison != 0) { return lastComparison; } @@ -140007,7 +148474,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_dynamic_partitio } - public static class get_next_notification_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_next_notification_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_next_notification_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -140201,30 +148668,30 @@ public boolean equals(get_next_notification_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_next_notification_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_next_notification_args typedOther = (get_next_notification_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -140370,7 +148837,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_next_notificatio } - public static class get_next_notification_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_next_notification_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_next_notification_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); @@ -140564,30 +149031,30 @@ public boolean equals(get_next_notification_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_next_notification_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_next_notification_result typedOther = (get_next_notification_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -140733,7 +149200,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_next_notificatio } - public static class get_current_notificationEventId_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_current_notificationEventId_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_current_notificationEventId_args"); @@ -140863,18 +149330,18 @@ public boolean equals(get_current_notificationEventId_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_current_notificationEventId_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_current_notificationEventId_args typedOther = (get_current_notificationEventId_args)other; return 0; } @@ -140979,7 +149446,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_current_notifica } - public static class get_current_notificationEventId_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class get_current_notificationEventId_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_current_notificationEventId_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); @@ -141173,30 +149640,30 @@ public boolean equals(get_current_notificationEventId_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(get_current_notificationEventId_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_current_notificationEventId_result typedOther = (get_current_notificationEventId_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -141342,7 +149809,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_current_notifica } - public static class fire_listener_event_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class fire_listener_event_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fire_listener_event_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -141536,30 +150003,30 @@ public boolean equals(fire_listener_event_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_rqst = true && (isSetRqst()); - builder.append(present_rqst); + list.add(present_rqst); if (present_rqst) - builder.append(rqst); + list.add(rqst); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(fire_listener_event_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - fire_listener_event_args typedOther = (fire_listener_event_args)other; - lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); if (lastComparison != 0) { return lastComparison; } if (isSetRqst()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, typedOther.rqst); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); if (lastComparison != 0) { return lastComparison; } @@ -141705,7 +150172,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fire_listener_event_ } - public static class fire_listener_event_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class fire_listener_event_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fire_listener_event_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); @@ -141899,30 +150366,30 @@ public boolean equals(fire_listener_event_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(fire_listener_event_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - fire_listener_event_result typedOther = (fire_listener_event_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java index ae39507..8c07d6c 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TxnAbortedException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TxnAbortedException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TxnAbortedException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TxnAbortedException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TxnAbortedException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TxnAbortedException typedOther = (TxnAbortedException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java index 18cbe53..e2251c7 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TxnInfo implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TxnInfo implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TxnInfo"); private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1); @@ -413,75 +417,75 @@ public boolean equals(TxnInfo that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_id = true; - builder.append(present_id); + list.add(present_id); if (present_id) - builder.append(id); + list.add(id); boolean present_state = true && (isSetState()); - builder.append(present_state); + list.add(present_state); if (present_state) - builder.append(state.getValue()); + list.add(state.getValue()); boolean present_user = true && (isSetUser()); - builder.append(present_user); + list.add(present_user); if (present_user) - builder.append(user); + list.add(user); boolean present_hostname = true && (isSetHostname()); - builder.append(present_hostname); + list.add(present_hostname); if (present_hostname) - builder.append(hostname); + list.add(hostname); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TxnInfo other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TxnInfo typedOther = (TxnInfo)other; - lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId()); + lastComparison = Boolean.valueOf(isSetId()).compareTo(other.isSetId()); if (lastComparison != 0) { return lastComparison; } if (isSetId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetState()).compareTo(typedOther.isSetState()); + lastComparison = Boolean.valueOf(isSetState()).compareTo(other.isSetState()); if (lastComparison != 0) { return lastComparison; } if (isSetState()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, typedOther.state); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, other.state); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUser()).compareTo(typedOther.isSetUser()); + lastComparison = Boolean.valueOf(isSetUser()).compareTo(other.isSetUser()); if (lastComparison != 0) { return lastComparison; } if (isSetUser()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, typedOther.user); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, other.user); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHostname()).compareTo(typedOther.isSetHostname()); + lastComparison = Boolean.valueOf(isSetHostname()).compareTo(other.isSetHostname()); if (lastComparison != 0) { return lastComparison; } if (isSetHostname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostname, typedOther.hostname); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostname, other.hostname); if (lastComparison != 0) { return lastComparison; } @@ -604,7 +608,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TxnInfo struct) thr break; case 2: // STATE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.state = TxnState.findByValue(iprot.readI32()); + struct.state = org.apache.hadoop.hive.metastore.api.TxnState.findByValue(iprot.readI32()); struct.setStateIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -685,7 +689,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TxnInfo struct) thro TTupleProtocol iprot = (TTupleProtocol) prot; struct.id = iprot.readI64(); struct.setIdIsSet(true); - struct.state = TxnState.findByValue(iprot.readI32()); + struct.state = org.apache.hadoop.hive.metastore.api.TxnState.findByValue(iprot.readI32()); struct.setStateIsSet(true); struct.user = iprot.readString(); struct.setUserIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java index 4f5d02d..0b41234 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TxnOpenException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TxnOpenException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TxnOpenException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TxnOpenException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TxnOpenException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TxnOpenException typedOther = (TxnOpenException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java index f4540a1..69d6239 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java index 1882b57..dff5dde 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Type implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Type implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Type"); private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -118,7 +122,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.TYPE1,_Fields.TYPE2,_Fields.FIELDS}; + private static final _Fields optionals[] = {_Fields.TYPE1,_Fields.TYPE2,_Fields.FIELDS}; 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); @@ -159,7 +163,7 @@ public Type(Type other) { this.type2 = other.type2; } if (other.isSetFields()) { - List __this__fields = new ArrayList(); + List __this__fields = new ArrayList(other.fields.size()); for (FieldSchema other_element : other.fields) { __this__fields.add(new FieldSchema(other_element)); } @@ -414,75 +418,75 @@ public boolean equals(Type that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_name = true && (isSetName()); - builder.append(present_name); + list.add(present_name); if (present_name) - builder.append(name); + list.add(name); boolean present_type1 = true && (isSetType1()); - builder.append(present_type1); + list.add(present_type1); if (present_type1) - builder.append(type1); + list.add(type1); boolean present_type2 = true && (isSetType2()); - builder.append(present_type2); + list.add(present_type2); if (present_type2) - builder.append(type2); + list.add(type2); boolean present_fields = true && (isSetFields()); - builder.append(present_fields); + list.add(present_fields); if (present_fields) - builder.append(fields); + list.add(fields); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Type other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Type typedOther = (Type)other; - lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); + lastComparison = Boolean.valueOf(isSetName()).compareTo(other.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetType1()).compareTo(typedOther.isSetType1()); + lastComparison = Boolean.valueOf(isSetType1()).compareTo(other.isSetType1()); if (lastComparison != 0) { return lastComparison; } if (isSetType1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type1, typedOther.type1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type1, other.type1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetType2()).compareTo(typedOther.isSetType2()); + lastComparison = Boolean.valueOf(isSetType2()).compareTo(other.isSetType2()); if (lastComparison != 0) { return lastComparison; } if (isSetType2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type2, typedOther.type2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type2, other.type2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetFields()).compareTo(typedOther.isSetFields()); + lastComparison = Boolean.valueOf(isSetFields()).compareTo(other.isSetFields()); if (lastComparison != 0) { return lastComparison; } if (isSetFields()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fields, typedOther.fields); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fields, other.fields); if (lastComparison != 0) { return lastComparison; } @@ -616,12 +620,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Type struct) throws { org.apache.thrift.protocol.TList _list0 = iprot.readListBegin(); struct.fields = new ArrayList(_list0.size); - for (int _i1 = 0; _i1 < _list0.size; ++_i1) + FieldSchema _elem1; + for (int _i2 = 0; _i2 < _list0.size; ++_i2) { - FieldSchema _elem2; // optional - _elem2 = new FieldSchema(); - _elem2.read(iprot); - struct.fields.add(_elem2); + _elem1 = new FieldSchema(); + _elem1.read(iprot); + struct.fields.add(_elem1); } iprot.readListEnd(); } @@ -747,12 +751,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Type struct) throws { org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.fields = new ArrayList(_list5.size); - for (int _i6 = 0; _i6 < _list5.size; ++_i6) + FieldSchema _elem6; + for (int _i7 = 0; _i7 < _list5.size; ++_i7) { - FieldSchema _elem7; // optional - _elem7 = new FieldSchema(); - _elem7.read(iprot); - struct.fields.add(_elem7); + _elem6 = new FieldSchema(); + _elem6.read(iprot); + struct.fields.add(_elem6); } } struct.setFieldsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java index ab91419..d6a2b1f 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class UnknownDBException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class UnknownDBException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UnknownDBException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(UnknownDBException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(UnknownDBException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - UnknownDBException typedOther = (UnknownDBException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java index 7e28591..a47aabc 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class UnknownPartitionException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class UnknownPartitionException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UnknownPartitionException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(UnknownPartitionException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(UnknownPartitionException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - UnknownPartitionException typedOther = (UnknownPartitionException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java index 7aa8012..68463a4 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class UnknownTableException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class UnknownTableException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UnknownTableException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(UnknownTableException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(UnknownTableException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - UnknownTableException typedOther = (UnknownTableException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java index 54b949d..f6b32cd 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class UnlockRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class UnlockRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UnlockRequest"); private static final org.apache.thrift.protocol.TField LOCKID_FIELD_DESC = new org.apache.thrift.protocol.TField("lockid", org.apache.thrift.protocol.TType.I64, (short)1); @@ -227,30 +231,30 @@ public boolean equals(UnlockRequest that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_lockid = true; - builder.append(present_lockid); + list.add(present_lockid); if (present_lockid) - builder.append(lockid); + list.add(lockid); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(UnlockRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - UnlockRequest typedOther = (UnlockRequest)other; - lastComparison = Boolean.valueOf(isSetLockid()).compareTo(typedOther.isSetLockid()); + lastComparison = Boolean.valueOf(isSetLockid()).compareTo(other.isSetLockid()); if (lastComparison != 0) { return lastComparison; } if (isSetLockid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, typedOther.lockid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockid, other.lockid); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java index aa83fd7..2b27afb 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Version implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Version implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Version"); private static final org.apache.thrift.protocol.TField VERSION_FIELD_DESC = new org.apache.thrift.protocol.TField("version", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -283,45 +287,45 @@ public boolean equals(Version that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_version = true && (isSetVersion()); - builder.append(present_version); + list.add(present_version); if (present_version) - builder.append(version); + list.add(version); boolean present_comments = true && (isSetComments()); - builder.append(present_comments); + list.add(present_comments); if (present_comments) - builder.append(comments); + list.add(comments); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Version other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Version typedOther = (Version)other; - lastComparison = Boolean.valueOf(isSetVersion()).compareTo(typedOther.isSetVersion()); + lastComparison = Boolean.valueOf(isSetVersion()).compareTo(other.isSetVersion()); if (lastComparison != 0) { return lastComparison; } if (isSetVersion()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.version, typedOther.version); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.version, other.version); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetComments()).compareTo(typedOther.isSetComments()); + lastComparison = Boolean.valueOf(isSetComments()).compareTo(other.isSetComments()); if (lastComparison != 0) { return lastComparison; } if (isSetComments()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comments, typedOther.comments); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comments, other.comments); if (lastComparison != 0) { return lastComparison; } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java index 0f2fca8..b6e0a29 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class hive_metastoreConstants { public static final String DDL_TIME = "transient_lastDdlTime"; diff --git a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index 8342f6b..ae47cb5 100644 --- a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -1,7 +1,7 @@ key = $key; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'getMetaConf', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -172,7 +1040,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_getMetaConf() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_getMetaConf_result', $this->input_->isStrictRead()); else { @@ -211,7 +1079,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_setMetaConf_args(); $args->key = $key; $args->value = $value; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'setMetaConf', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -227,7 +1095,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_setMetaConf() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_setMetaConf_result', $this->input_->isStrictRead()); else { @@ -262,7 +1130,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_create_database_args(); $args->database = $database; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'create_database', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -278,7 +1146,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_create_database() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_create_database_result', $this->input_->isStrictRead()); else { @@ -319,7 +1187,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_database_args(); $args->name = $name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_database', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -335,7 +1203,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_database() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_database_result', $this->input_->isStrictRead()); else { @@ -378,7 +1246,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->name = $name; $args->deleteData = $deleteData; $args->cascade = $cascade; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_database', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -394,7 +1262,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_database() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_database_result', $this->input_->isStrictRead()); else { @@ -435,7 +1303,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_databases_args(); $args->pattern = $pattern; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_databases', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -451,7 +1319,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_databases() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_databases_result', $this->input_->isStrictRead()); else { @@ -488,7 +1356,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function send_get_all_databases() { $args = new \metastore\ThriftHiveMetastore_get_all_databases_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_all_databases', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -504,7 +1372,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_all_databases() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_all_databases_result', $this->input_->isStrictRead()); else { @@ -543,7 +1411,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_alter_database_args(); $args->dbname = $dbname; $args->db = $db; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'alter_database', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -559,7 +1427,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_alter_database() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_alter_database_result', $this->input_->isStrictRead()); else { @@ -597,7 +1465,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_type_args(); $args->name = $name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_type', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -613,7 +1481,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_type() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_type_result', $this->input_->isStrictRead()); else { @@ -654,7 +1522,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_create_type_args(); $args->type = $type; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'create_type', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -670,7 +1538,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_create_type() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_create_type_result', $this->input_->isStrictRead()); else { @@ -714,7 +1582,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_drop_type_args(); $args->type = $type; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_type', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -730,7 +1598,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_type() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_type_result', $this->input_->isStrictRead()); else { @@ -771,7 +1639,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_type_all_args(); $args->name = $name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_type_all', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -787,7 +1655,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_type_all() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_type_all_result', $this->input_->isStrictRead()); else { @@ -826,7 +1694,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_get_fields_args(); $args->db_name = $db_name; $args->table_name = $table_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_fields', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -842,7 +1710,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_fields() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_fields_result', $this->input_->isStrictRead()); else { @@ -888,7 +1756,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->table_name = $table_name; $args->environment_context = $environment_context; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_fields_with_environment_context', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -904,7 +1772,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_fields_with_environment_context() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_fields_with_environment_context_result', $this->input_->isStrictRead()); else { @@ -949,7 +1817,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_get_schema_args(); $args->db_name = $db_name; $args->table_name = $table_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_schema', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -965,7 +1833,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_schema() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_schema_result', $this->input_->isStrictRead()); else { @@ -1011,7 +1879,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->table_name = $table_name; $args->environment_context = $environment_context; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_schema_with_environment_context', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1027,7 +1895,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_schema_with_environment_context() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_schema_with_environment_context_result', $this->input_->isStrictRead()); else { @@ -1071,7 +1939,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_create_table_args(); $args->tbl = $tbl; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'create_table', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1087,7 +1955,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_create_table() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_create_table_result', $this->input_->isStrictRead()); else { @@ -1132,7 +2000,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_create_table_with_environment_context_args(); $args->tbl = $tbl; $args->environment_context = $environment_context; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'create_table_with_environment_context', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1148,7 +2016,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_create_table_with_environment_context() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_create_table_with_environment_context_result', $this->input_->isStrictRead()); else { @@ -1194,7 +2062,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->dbname = $dbname; $args->name = $name; $args->deleteData = $deleteData; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_table', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1210,7 +2078,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_table() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_table_result', $this->input_->isStrictRead()); else { @@ -1251,7 +2119,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->name = $name; $args->deleteData = $deleteData; $args->environment_context = $environment_context; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_table_with_environment_context', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1267,7 +2135,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_table_with_environment_context() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_table_with_environment_context_result', $this->input_->isStrictRead()); else { @@ -1306,7 +2174,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_get_tables_args(); $args->db_name = $db_name; $args->pattern = $pattern; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_tables', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1322,7 +2190,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_tables() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_tables_result', $this->input_->isStrictRead()); else { @@ -1360,7 +2228,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_all_tables_args(); $args->db_name = $db_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_all_tables', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1376,7 +2244,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_all_tables() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_all_tables_result', $this->input_->isStrictRead()); else { @@ -1415,7 +2283,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_get_table_args(); $args->dbname = $dbname; $args->tbl_name = $tbl_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_table', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1431,7 +2299,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_table() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_table_result', $this->input_->isStrictRead()); else { @@ -1462,18 +2330,18 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_table failed: unknown result"); } - public function get_table_objects_by_name($dbname, $tbl_names) + public function get_table_objects_by_name($dbname, array $tbl_names) { $this->send_get_table_objects_by_name($dbname, $tbl_names); return $this->recv_get_table_objects_by_name(); } - public function send_get_table_objects_by_name($dbname, $tbl_names) + public function send_get_table_objects_by_name($dbname, array $tbl_names) { $args = new \metastore\ThriftHiveMetastore_get_table_objects_by_name_args(); $args->dbname = $dbname; $args->tbl_names = $tbl_names; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_table_objects_by_name', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1489,7 +2357,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_table_objects_by_name() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_table_objects_by_name_result', $this->input_->isStrictRead()); else { @@ -1535,7 +2403,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->dbname = $dbname; $args->filter = $filter; $args->max_tables = $max_tables; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_table_names_by_filter', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1551,7 +2419,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_table_names_by_filter() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_table_names_by_filter_result', $this->input_->isStrictRead()); else { @@ -1597,7 +2465,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->dbname = $dbname; $args->tbl_name = $tbl_name; $args->new_tbl = $new_tbl; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'alter_table', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1613,7 +2481,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_alter_table() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_alter_table_result', $this->input_->isStrictRead()); else { @@ -1654,7 +2522,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->tbl_name = $tbl_name; $args->new_tbl = $new_tbl; $args->environment_context = $environment_context; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'alter_table_with_environment_context', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1670,7 +2538,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_alter_table_with_environment_context() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_alter_table_with_environment_context_result', $this->input_->isStrictRead()); else { @@ -1711,7 +2579,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->tbl_name = $tbl_name; $args->new_tbl = $new_tbl; $args->cascade = $cascade; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'alter_table_with_cascade', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1727,7 +2595,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_alter_table_with_cascade() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_alter_table_with_cascade_result', $this->input_->isStrictRead()); else { @@ -1765,7 +2633,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_add_partition_args(); $args->new_part = $new_part; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'add_partition', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1781,7 +2649,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_add_partition() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_add_partition_result', $this->input_->isStrictRead()); else { @@ -1826,7 +2694,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_add_partition_with_environment_context_args(); $args->new_part = $new_part; $args->environment_context = $environment_context; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'add_partition_with_environment_context', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1842,7 +2710,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_add_partition_with_environment_context() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_add_partition_with_environment_context_result', $this->input_->isStrictRead()); else { @@ -1876,17 +2744,17 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("add_partition_with_environment_context failed: unknown result"); } - public function add_partitions($new_parts) + public function add_partitions(array $new_parts) { $this->send_add_partitions($new_parts); return $this->recv_add_partitions(); } - public function send_add_partitions($new_parts) + public function send_add_partitions(array $new_parts) { $args = new \metastore\ThriftHiveMetastore_add_partitions_args(); $args->new_parts = $new_parts; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'add_partitions', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1902,7 +2770,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_add_partitions() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_add_partitions_result', $this->input_->isStrictRead()); else { @@ -1936,17 +2804,17 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("add_partitions failed: unknown result"); } - public function add_partitions_pspec($new_parts) + public function add_partitions_pspec(array $new_parts) { $this->send_add_partitions_pspec($new_parts); return $this->recv_add_partitions_pspec(); } - public function send_add_partitions_pspec($new_parts) + public function send_add_partitions_pspec(array $new_parts) { $args = new \metastore\ThriftHiveMetastore_add_partitions_pspec_args(); $args->new_parts = $new_parts; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'add_partitions_pspec', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -1962,7 +2830,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_add_partitions_pspec() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_add_partitions_pspec_result', $this->input_->isStrictRead()); else { @@ -1996,19 +2864,19 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("add_partitions_pspec failed: unknown result"); } - public function append_partition($db_name, $tbl_name, $part_vals) + public function append_partition($db_name, $tbl_name, array $part_vals) { $this->send_append_partition($db_name, $tbl_name, $part_vals); return $this->recv_append_partition(); } - public function send_append_partition($db_name, $tbl_name, $part_vals) + public function send_append_partition($db_name, $tbl_name, array $part_vals) { $args = new \metastore\ThriftHiveMetastore_append_partition_args(); $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->part_vals = $part_vals; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'append_partition', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2024,7 +2892,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_append_partition() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_append_partition_result', $this->input_->isStrictRead()); else { @@ -2068,7 +2936,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_add_partitions_req_args(); $args->request = $request; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'add_partitions_req', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2084,7 +2952,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_add_partitions_req() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_add_partitions_req_result', $this->input_->isStrictRead()); else { @@ -2118,20 +2986,20 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("add_partitions_req failed: unknown result"); } - public function append_partition_with_environment_context($db_name, $tbl_name, $part_vals, \metastore\EnvironmentContext $environment_context) + public function append_partition_with_environment_context($db_name, $tbl_name, array $part_vals, \metastore\EnvironmentContext $environment_context) { $this->send_append_partition_with_environment_context($db_name, $tbl_name, $part_vals, $environment_context); return $this->recv_append_partition_with_environment_context(); } - public function send_append_partition_with_environment_context($db_name, $tbl_name, $part_vals, \metastore\EnvironmentContext $environment_context) + public function send_append_partition_with_environment_context($db_name, $tbl_name, array $part_vals, \metastore\EnvironmentContext $environment_context) { $args = new \metastore\ThriftHiveMetastore_append_partition_with_environment_context_args(); $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->part_vals = $part_vals; $args->environment_context = $environment_context; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'append_partition_with_environment_context', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2147,7 +3015,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_append_partition_with_environment_context() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_append_partition_with_environment_context_result', $this->input_->isStrictRead()); else { @@ -2193,7 +3061,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->part_name = $part_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'append_partition_by_name', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2209,7 +3077,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_append_partition_by_name() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_append_partition_by_name_result', $this->input_->isStrictRead()); else { @@ -2256,7 +3124,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->tbl_name = $tbl_name; $args->part_name = $part_name; $args->environment_context = $environment_context; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'append_partition_by_name_with_environment_context', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2272,7 +3140,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_append_partition_by_name_with_environment_context() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_append_partition_by_name_with_environment_context_result', $this->input_->isStrictRead()); else { @@ -2306,20 +3174,20 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("append_partition_by_name_with_environment_context failed: unknown result"); } - public function drop_partition($db_name, $tbl_name, $part_vals, $deleteData) + public function drop_partition($db_name, $tbl_name, array $part_vals, $deleteData) { $this->send_drop_partition($db_name, $tbl_name, $part_vals, $deleteData); return $this->recv_drop_partition(); } - public function send_drop_partition($db_name, $tbl_name, $part_vals, $deleteData) + public function send_drop_partition($db_name, $tbl_name, array $part_vals, $deleteData) { $args = new \metastore\ThriftHiveMetastore_drop_partition_args(); $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->part_vals = $part_vals; $args->deleteData = $deleteData; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_partition', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2335,7 +3203,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_partition() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_partition_result', $this->input_->isStrictRead()); else { @@ -2366,13 +3234,13 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("drop_partition failed: unknown result"); } - public function drop_partition_with_environment_context($db_name, $tbl_name, $part_vals, $deleteData, \metastore\EnvironmentContext $environment_context) + public function drop_partition_with_environment_context($db_name, $tbl_name, array $part_vals, $deleteData, \metastore\EnvironmentContext $environment_context) { $this->send_drop_partition_with_environment_context($db_name, $tbl_name, $part_vals, $deleteData, $environment_context); return $this->recv_drop_partition_with_environment_context(); } - public function send_drop_partition_with_environment_context($db_name, $tbl_name, $part_vals, $deleteData, \metastore\EnvironmentContext $environment_context) + public function send_drop_partition_with_environment_context($db_name, $tbl_name, array $part_vals, $deleteData, \metastore\EnvironmentContext $environment_context) { $args = new \metastore\ThriftHiveMetastore_drop_partition_with_environment_context_args(); $args->db_name = $db_name; @@ -2380,7 +3248,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->part_vals = $part_vals; $args->deleteData = $deleteData; $args->environment_context = $environment_context; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_partition_with_environment_context', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2396,7 +3264,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_partition_with_environment_context() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_partition_with_environment_context_result', $this->input_->isStrictRead()); else { @@ -2440,7 +3308,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->tbl_name = $tbl_name; $args->part_name = $part_name; $args->deleteData = $deleteData; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_partition_by_name', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2456,7 +3324,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_partition_by_name() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_partition_by_name_result', $this->input_->isStrictRead()); else { @@ -2501,7 +3369,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->part_name = $part_name; $args->deleteData = $deleteData; $args->environment_context = $environment_context; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_partition_by_name_with_environment_context', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2517,7 +3385,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_partition_by_name_with_environment_context() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result', $this->input_->isStrictRead()); else { @@ -2558,7 +3426,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_drop_partitions_req_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_partitions_req', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2574,7 +3442,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_partitions_req() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_partitions_req_result', $this->input_->isStrictRead()); else { @@ -2605,19 +3473,19 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("drop_partitions_req failed: unknown result"); } - public function get_partition($db_name, $tbl_name, $part_vals) + public function get_partition($db_name, $tbl_name, array $part_vals) { $this->send_get_partition($db_name, $tbl_name, $part_vals); return $this->recv_get_partition(); } - public function send_get_partition($db_name, $tbl_name, $part_vals) + public function send_get_partition($db_name, $tbl_name, array $part_vals) { $args = new \metastore\ThriftHiveMetastore_get_partition_args(); $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->part_vals = $part_vals; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partition', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2633,7 +3501,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partition() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partition_result', $this->input_->isStrictRead()); else { @@ -2664,13 +3532,13 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_partition failed: unknown result"); } - public function exchange_partition($partitionSpecs, $source_db, $source_table_name, $dest_db, $dest_table_name) + public function exchange_partition(array $partitionSpecs, $source_db, $source_table_name, $dest_db, $dest_table_name) { $this->send_exchange_partition($partitionSpecs, $source_db, $source_table_name, $dest_db, $dest_table_name); return $this->recv_exchange_partition(); } - public function send_exchange_partition($partitionSpecs, $source_db, $source_table_name, $dest_db, $dest_table_name) + public function send_exchange_partition(array $partitionSpecs, $source_db, $source_table_name, $dest_db, $dest_table_name) { $args = new \metastore\ThriftHiveMetastore_exchange_partition_args(); $args->partitionSpecs = $partitionSpecs; @@ -2678,7 +3546,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->source_table_name = $source_table_name; $args->dest_db = $dest_db; $args->dest_table_name = $dest_table_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'exchange_partition', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2694,7 +3562,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_exchange_partition() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_exchange_partition_result', $this->input_->isStrictRead()); else { @@ -2731,13 +3599,13 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("exchange_partition failed: unknown result"); } - public function get_partition_with_auth($db_name, $tbl_name, $part_vals, $user_name, $group_names) + public function get_partition_with_auth($db_name, $tbl_name, array $part_vals, $user_name, array $group_names) { $this->send_get_partition_with_auth($db_name, $tbl_name, $part_vals, $user_name, $group_names); return $this->recv_get_partition_with_auth(); } - public function send_get_partition_with_auth($db_name, $tbl_name, $part_vals, $user_name, $group_names) + public function send_get_partition_with_auth($db_name, $tbl_name, array $part_vals, $user_name, array $group_names) { $args = new \metastore\ThriftHiveMetastore_get_partition_with_auth_args(); $args->db_name = $db_name; @@ -2745,7 +3613,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->part_vals = $part_vals; $args->user_name = $user_name; $args->group_names = $group_names; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partition_with_auth', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2761,7 +3629,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partition_with_auth() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partition_with_auth_result', $this->input_->isStrictRead()); else { @@ -2804,7 +3672,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->part_name = $part_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partition_by_name', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2820,7 +3688,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partition_by_name() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partition_by_name_result', $this->input_->isStrictRead()); else { @@ -2863,7 +3731,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->max_parts = $max_parts; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partitions', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2879,7 +3747,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partitions() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partitions_result', $this->input_->isStrictRead()); else { @@ -2910,13 +3778,13 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_partitions failed: unknown result"); } - public function get_partitions_with_auth($db_name, $tbl_name, $max_parts, $user_name, $group_names) + public function get_partitions_with_auth($db_name, $tbl_name, $max_parts, $user_name, array $group_names) { $this->send_get_partitions_with_auth($db_name, $tbl_name, $max_parts, $user_name, $group_names); return $this->recv_get_partitions_with_auth(); } - public function send_get_partitions_with_auth($db_name, $tbl_name, $max_parts, $user_name, $group_names) + public function send_get_partitions_with_auth($db_name, $tbl_name, $max_parts, $user_name, array $group_names) { $args = new \metastore\ThriftHiveMetastore_get_partitions_with_auth_args(); $args->db_name = $db_name; @@ -2924,7 +3792,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->max_parts = $max_parts; $args->user_name = $user_name; $args->group_names = $group_names; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partitions_with_auth', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2940,7 +3808,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partitions_with_auth() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partitions_with_auth_result', $this->input_->isStrictRead()); else { @@ -2983,7 +3851,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->max_parts = $max_parts; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partitions_pspec', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -2999,7 +3867,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partitions_pspec() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partitions_pspec_result', $this->input_->isStrictRead()); else { @@ -3042,7 +3910,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->max_parts = $max_parts; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partition_names', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3058,7 +3926,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partition_names() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partition_names_result', $this->input_->isStrictRead()); else { @@ -3086,20 +3954,20 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_partition_names failed: unknown result"); } - public function get_partitions_ps($db_name, $tbl_name, $part_vals, $max_parts) + public function get_partitions_ps($db_name, $tbl_name, array $part_vals, $max_parts) { $this->send_get_partitions_ps($db_name, $tbl_name, $part_vals, $max_parts); return $this->recv_get_partitions_ps(); } - public function send_get_partitions_ps($db_name, $tbl_name, $part_vals, $max_parts) + public function send_get_partitions_ps($db_name, $tbl_name, array $part_vals, $max_parts) { $args = new \metastore\ThriftHiveMetastore_get_partitions_ps_args(); $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->part_vals = $part_vals; $args->max_parts = $max_parts; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partitions_ps', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3115,7 +3983,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partitions_ps() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partitions_ps_result', $this->input_->isStrictRead()); else { @@ -3146,13 +4014,13 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_partitions_ps failed: unknown result"); } - public function get_partitions_ps_with_auth($db_name, $tbl_name, $part_vals, $max_parts, $user_name, $group_names) + public function get_partitions_ps_with_auth($db_name, $tbl_name, array $part_vals, $max_parts, $user_name, array $group_names) { $this->send_get_partitions_ps_with_auth($db_name, $tbl_name, $part_vals, $max_parts, $user_name, $group_names); return $this->recv_get_partitions_ps_with_auth(); } - public function send_get_partitions_ps_with_auth($db_name, $tbl_name, $part_vals, $max_parts, $user_name, $group_names) + public function send_get_partitions_ps_with_auth($db_name, $tbl_name, array $part_vals, $max_parts, $user_name, array $group_names) { $args = new \metastore\ThriftHiveMetastore_get_partitions_ps_with_auth_args(); $args->db_name = $db_name; @@ -3161,7 +4029,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->max_parts = $max_parts; $args->user_name = $user_name; $args->group_names = $group_names; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partitions_ps_with_auth', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3177,7 +4045,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partitions_ps_with_auth() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partitions_ps_with_auth_result', $this->input_->isStrictRead()); else { @@ -3208,20 +4076,20 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_partitions_ps_with_auth failed: unknown result"); } - public function get_partition_names_ps($db_name, $tbl_name, $part_vals, $max_parts) + public function get_partition_names_ps($db_name, $tbl_name, array $part_vals, $max_parts) { $this->send_get_partition_names_ps($db_name, $tbl_name, $part_vals, $max_parts); return $this->recv_get_partition_names_ps(); } - public function send_get_partition_names_ps($db_name, $tbl_name, $part_vals, $max_parts) + public function send_get_partition_names_ps($db_name, $tbl_name, array $part_vals, $max_parts) { $args = new \metastore\ThriftHiveMetastore_get_partition_names_ps_args(); $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->part_vals = $part_vals; $args->max_parts = $max_parts; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partition_names_ps', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3237,7 +4105,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partition_names_ps() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partition_names_ps_result', $this->input_->isStrictRead()); else { @@ -3281,7 +4149,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->tbl_name = $tbl_name; $args->filter = $filter; $args->max_parts = $max_parts; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partitions_by_filter', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3297,7 +4165,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partitions_by_filter() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partitions_by_filter_result', $this->input_->isStrictRead()); else { @@ -3341,7 +4209,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->tbl_name = $tbl_name; $args->filter = $filter; $args->max_parts = $max_parts; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_part_specs_by_filter', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3357,7 +4225,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_part_specs_by_filter() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_part_specs_by_filter_result', $this->input_->isStrictRead()); else { @@ -3398,7 +4266,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_partitions_by_expr_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partitions_by_expr', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3414,7 +4282,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partitions_by_expr() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partitions_by_expr_result', $this->input_->isStrictRead()); else { @@ -3445,19 +4313,19 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_partitions_by_expr failed: unknown result"); } - public function get_partitions_by_names($db_name, $tbl_name, $names) + public function get_partitions_by_names($db_name, $tbl_name, array $names) { $this->send_get_partitions_by_names($db_name, $tbl_name, $names); return $this->recv_get_partitions_by_names(); } - public function send_get_partitions_by_names($db_name, $tbl_name, $names) + public function send_get_partitions_by_names($db_name, $tbl_name, array $names) { $args = new \metastore\ThriftHiveMetastore_get_partitions_by_names_args(); $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->names = $names; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partitions_by_names', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3473,7 +4341,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partitions_by_names() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partitions_by_names_result', $this->input_->isStrictRead()); else { @@ -3516,7 +4384,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->new_part = $new_part; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'alter_partition', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3532,7 +4400,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_alter_partition() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_alter_partition_result', $this->input_->isStrictRead()); else { @@ -3560,19 +4428,19 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas return; } - public function alter_partitions($db_name, $tbl_name, $new_parts) + public function alter_partitions($db_name, $tbl_name, array $new_parts) { $this->send_alter_partitions($db_name, $tbl_name, $new_parts); $this->recv_alter_partitions(); } - public function send_alter_partitions($db_name, $tbl_name, $new_parts) + public function send_alter_partitions($db_name, $tbl_name, array $new_parts) { $args = new \metastore\ThriftHiveMetastore_alter_partitions_args(); $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->new_parts = $new_parts; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'alter_partitions', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3588,7 +4456,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_alter_partitions() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_alter_partitions_result', $this->input_->isStrictRead()); else { @@ -3629,7 +4497,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->tbl_name = $tbl_name; $args->new_part = $new_part; $args->environment_context = $environment_context; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'alter_partition_with_environment_context', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3645,7 +4513,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_alter_partition_with_environment_context() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_alter_partition_with_environment_context_result', $this->input_->isStrictRead()); else { @@ -3673,20 +4541,20 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas return; } - public function rename_partition($db_name, $tbl_name, $part_vals, \metastore\Partition $new_part) + public function rename_partition($db_name, $tbl_name, array $part_vals, \metastore\Partition $new_part) { $this->send_rename_partition($db_name, $tbl_name, $part_vals, $new_part); $this->recv_rename_partition(); } - public function send_rename_partition($db_name, $tbl_name, $part_vals, \metastore\Partition $new_part) + public function send_rename_partition($db_name, $tbl_name, array $part_vals, \metastore\Partition $new_part) { $args = new \metastore\ThriftHiveMetastore_rename_partition_args(); $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->part_vals = $part_vals; $args->new_part = $new_part; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'rename_partition', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3702,7 +4570,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_rename_partition() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_rename_partition_result', $this->input_->isStrictRead()); else { @@ -3730,18 +4598,18 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas return; } - public function partition_name_has_valid_characters($part_vals, $throw_exception) + public function partition_name_has_valid_characters(array $part_vals, $throw_exception) { $this->send_partition_name_has_valid_characters($part_vals, $throw_exception); return $this->recv_partition_name_has_valid_characters(); } - public function send_partition_name_has_valid_characters($part_vals, $throw_exception) + public function send_partition_name_has_valid_characters(array $part_vals, $throw_exception) { $args = new \metastore\ThriftHiveMetastore_partition_name_has_valid_characters_args(); $args->part_vals = $part_vals; $args->throw_exception = $throw_exception; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'partition_name_has_valid_characters', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3757,7 +4625,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_partition_name_has_valid_characters() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_partition_name_has_valid_characters_result', $this->input_->isStrictRead()); else { @@ -3796,7 +4664,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_get_config_value_args(); $args->name = $name; $args->defaultValue = $defaultValue; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_config_value', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3812,7 +4680,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_config_value() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_config_value_result', $this->input_->isStrictRead()); else { @@ -3850,7 +4718,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_partition_name_to_vals_args(); $args->part_name = $part_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'partition_name_to_vals', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3866,7 +4734,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_partition_name_to_vals() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_partition_name_to_vals_result', $this->input_->isStrictRead()); else { @@ -3904,7 +4772,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_partition_name_to_spec_args(); $args->part_name = $part_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'partition_name_to_spec', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3920,7 +4788,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_partition_name_to_spec() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_partition_name_to_spec_result', $this->input_->isStrictRead()); else { @@ -3948,20 +4816,20 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("partition_name_to_spec failed: unknown result"); } - public function markPartitionForEvent($db_name, $tbl_name, $part_vals, $eventType) + public function markPartitionForEvent($db_name, $tbl_name, array $part_vals, $eventType) { $this->send_markPartitionForEvent($db_name, $tbl_name, $part_vals, $eventType); $this->recv_markPartitionForEvent(); } - public function send_markPartitionForEvent($db_name, $tbl_name, $part_vals, $eventType) + public function send_markPartitionForEvent($db_name, $tbl_name, array $part_vals, $eventType) { $args = new \metastore\ThriftHiveMetastore_markPartitionForEvent_args(); $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->part_vals = $part_vals; $args->eventType = $eventType; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'markPartitionForEvent', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -3977,7 +4845,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_markPartitionForEvent() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_markPartitionForEvent_result', $this->input_->isStrictRead()); else { @@ -4017,20 +4885,20 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas return; } - public function isPartitionMarkedForEvent($db_name, $tbl_name, $part_vals, $eventType) + public function isPartitionMarkedForEvent($db_name, $tbl_name, array $part_vals, $eventType) { $this->send_isPartitionMarkedForEvent($db_name, $tbl_name, $part_vals, $eventType); return $this->recv_isPartitionMarkedForEvent(); } - public function send_isPartitionMarkedForEvent($db_name, $tbl_name, $part_vals, $eventType) + public function send_isPartitionMarkedForEvent($db_name, $tbl_name, array $part_vals, $eventType) { $args = new \metastore\ThriftHiveMetastore_isPartitionMarkedForEvent_args(); $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->part_vals = $part_vals; $args->eventType = $eventType; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'isPartitionMarkedForEvent', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4046,7 +4914,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_isPartitionMarkedForEvent() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_isPartitionMarkedForEvent_result', $this->input_->isStrictRead()); else { @@ -4100,7 +4968,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_add_index_args(); $args->new_index = $new_index; $args->index_table = $index_table; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'add_index', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4116,7 +4984,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_add_index() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_add_index_result', $this->input_->isStrictRead()); else { @@ -4163,7 +5031,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->base_tbl_name = $base_tbl_name; $args->idx_name = $idx_name; $args->new_idx = $new_idx; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'alter_index', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4179,7 +5047,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_alter_index() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_alter_index_result', $this->input_->isStrictRead()); else { @@ -4220,7 +5088,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->tbl_name = $tbl_name; $args->index_name = $index_name; $args->deleteData = $deleteData; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_index_by_name', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4236,7 +5104,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_index_by_name() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_index_by_name_result', $this->input_->isStrictRead()); else { @@ -4279,7 +5147,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->index_name = $index_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_index_by_name', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4295,7 +5163,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_index_by_name() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_index_by_name_result', $this->input_->isStrictRead()); else { @@ -4338,7 +5206,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->max_indexes = $max_indexes; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_indexes', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4354,7 +5222,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_indexes() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_indexes_result', $this->input_->isStrictRead()); else { @@ -4397,7 +5265,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->max_indexes = $max_indexes; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_index_names', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4413,7 +5281,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_index_names() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_index_names_result', $this->input_->isStrictRead()); else { @@ -4451,7 +5319,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_update_table_column_statistics_args(); $args->stats_obj = $stats_obj; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'update_table_column_statistics', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4467,7 +5335,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_update_table_column_statistics() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_update_table_column_statistics_result', $this->input_->isStrictRead()); else { @@ -4514,7 +5382,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_update_partition_column_statistics_args(); $args->stats_obj = $stats_obj; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'update_partition_column_statistics', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4530,7 +5398,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_update_partition_column_statistics() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_update_partition_column_statistics_result', $this->input_->isStrictRead()); else { @@ -4579,7 +5447,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->col_name = $col_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_table_column_statistics', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4595,7 +5463,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_table_column_statistics() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_table_column_statistics_result', $this->input_->isStrictRead()); else { @@ -4645,7 +5513,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->tbl_name = $tbl_name; $args->part_name = $part_name; $args->col_name = $col_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partition_column_statistics', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4661,7 +5529,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partition_column_statistics() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partition_column_statistics_result', $this->input_->isStrictRead()); else { @@ -4708,7 +5576,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_table_statistics_req_args(); $args->request = $request; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_table_statistics_req', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4724,7 +5592,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_table_statistics_req() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_table_statistics_req_result', $this->input_->isStrictRead()); else { @@ -4765,7 +5633,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_partitions_statistics_req_args(); $args->request = $request; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_partitions_statistics_req', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4781,7 +5649,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_partitions_statistics_req() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_partitions_statistics_req_result', $this->input_->isStrictRead()); else { @@ -4822,7 +5690,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_aggr_stats_for_args(); $args->request = $request; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_aggr_stats_for', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4838,7 +5706,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_aggr_stats_for() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_aggr_stats_for_result', $this->input_->isStrictRead()); else { @@ -4879,7 +5747,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_set_aggr_stats_for_args(); $args->request = $request; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'set_aggr_stats_for', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4895,7 +5763,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_set_aggr_stats_for() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_set_aggr_stats_for_result', $this->input_->isStrictRead()); else { @@ -4945,7 +5813,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->tbl_name = $tbl_name; $args->part_name = $part_name; $args->col_name = $col_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'delete_partition_column_statistics', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -4961,7 +5829,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_delete_partition_column_statistics() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_delete_partition_column_statistics_result', $this->input_->isStrictRead()); else { @@ -5010,7 +5878,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->db_name = $db_name; $args->tbl_name = $tbl_name; $args->col_name = $col_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'delete_table_column_statistics', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5026,7 +5894,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_delete_table_column_statistics() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_delete_table_column_statistics_result', $this->input_->isStrictRead()); else { @@ -5073,7 +5941,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_create_function_args(); $args->func = $func; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'create_function', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5089,7 +5957,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_create_function() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_create_function_result', $this->input_->isStrictRead()); else { @@ -5134,7 +6002,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_drop_function_args(); $args->dbName = $dbName; $args->funcName = $funcName; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_function', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5150,7 +6018,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_function() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_function_result', $this->input_->isStrictRead()); else { @@ -5190,7 +6058,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->dbName = $dbName; $args->funcName = $funcName; $args->newFunc = $newFunc; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'alter_function', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5206,7 +6074,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_alter_function() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_alter_function_result', $this->input_->isStrictRead()); else { @@ -5245,7 +6113,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_get_functions_args(); $args->dbName = $dbName; $args->pattern = $pattern; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_functions', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5261,7 +6129,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_functions() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_functions_result', $this->input_->isStrictRead()); else { @@ -5300,7 +6168,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_get_function_args(); $args->dbName = $dbName; $args->funcName = $funcName; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_function', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5316,7 +6184,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_function() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_function_result', $this->input_->isStrictRead()); else { @@ -5347,6 +6215,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 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 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); @@ -5357,7 +6278,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_create_role_args(); $args->role = $role; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'create_role', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5373,7 +6294,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_create_role() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_create_role_result', $this->input_->isStrictRead()); else { @@ -5411,7 +6332,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_drop_role_args(); $args->role_name = $role_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'drop_role', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5427,7 +6348,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_drop_role() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_drop_role_result', $this->input_->isStrictRead()); else { @@ -5464,7 +6385,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function send_get_role_names() { $args = new \metastore\ThriftHiveMetastore_get_role_names_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_role_names', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5480,7 +6401,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_role_names() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_role_names_result', $this->input_->isStrictRead()); else { @@ -5523,7 +6444,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->grantor = $grantor; $args->grantorType = $grantorType; $args->grant_option = $grant_option; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'grant_role', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5539,7 +6460,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_grant_role() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_grant_role_result', $this->input_->isStrictRead()); else { @@ -5579,7 +6500,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->role_name = $role_name; $args->principal_name = $principal_name; $args->principal_type = $principal_type; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'revoke_role', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5595,7 +6516,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_revoke_role() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_revoke_role_result', $this->input_->isStrictRead()); else { @@ -5634,7 +6555,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_list_roles_args(); $args->principal_name = $principal_name; $args->principal_type = $principal_type; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'list_roles', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5650,7 +6571,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_list_roles() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_list_roles_result', $this->input_->isStrictRead()); else { @@ -5688,7 +6609,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_grant_revoke_role_args(); $args->request = $request; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'grant_revoke_role', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5704,7 +6625,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_grant_revoke_role() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_grant_revoke_role_result', $this->input_->isStrictRead()); else { @@ -5742,7 +6663,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_principals_in_role_args(); $args->request = $request; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_principals_in_role', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5758,7 +6679,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_principals_in_role() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_principals_in_role_result', $this->input_->isStrictRead()); else { @@ -5796,7 +6717,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_role_grants_for_principal_args(); $args->request = $request; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_role_grants_for_principal', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5812,7 +6733,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_role_grants_for_principal() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_role_grants_for_principal_result', $this->input_->isStrictRead()); else { @@ -5840,19 +6761,19 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_role_grants_for_principal failed: unknown result"); } - public function get_privilege_set(\metastore\HiveObjectRef $hiveObject, $user_name, $group_names) + public function get_privilege_set(\metastore\HiveObjectRef $hiveObject, $user_name, array $group_names) { $this->send_get_privilege_set($hiveObject, $user_name, $group_names); return $this->recv_get_privilege_set(); } - public function send_get_privilege_set(\metastore\HiveObjectRef $hiveObject, $user_name, $group_names) + public function send_get_privilege_set(\metastore\HiveObjectRef $hiveObject, $user_name, array $group_names) { $args = new \metastore\ThriftHiveMetastore_get_privilege_set_args(); $args->hiveObject = $hiveObject; $args->user_name = $user_name; $args->group_names = $group_names; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_privilege_set', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5868,7 +6789,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_privilege_set() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_privilege_set_result', $this->input_->isStrictRead()); else { @@ -5908,7 +6829,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args->principal_name = $principal_name; $args->principal_type = $principal_type; $args->hiveObject = $hiveObject; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'list_privileges', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5924,7 +6845,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_list_privileges() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_list_privileges_result', $this->input_->isStrictRead()); else { @@ -5962,7 +6883,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_grant_privileges_args(); $args->privileges = $privileges; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'grant_privileges', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -5978,7 +6899,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_grant_privileges() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_grant_privileges_result', $this->input_->isStrictRead()); else { @@ -6016,7 +6937,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_revoke_privileges_args(); $args->privileges = $privileges; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'revoke_privileges', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6032,7 +6953,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_revoke_privileges() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_revoke_privileges_result', $this->input_->isStrictRead()); else { @@ -6070,7 +6991,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_grant_revoke_privileges_args(); $args->request = $request; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'grant_revoke_privileges', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6086,7 +7007,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_grant_revoke_privileges() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_grant_revoke_privileges_result', $this->input_->isStrictRead()); else { @@ -6114,18 +7035,18 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("grant_revoke_privileges failed: unknown result"); } - public function set_ugi($user_name, $group_names) + public function set_ugi($user_name, array $group_names) { $this->send_set_ugi($user_name, $group_names); return $this->recv_set_ugi(); } - public function send_set_ugi($user_name, $group_names) + public function send_set_ugi($user_name, array $group_names) { $args = new \metastore\ThriftHiveMetastore_set_ugi_args(); $args->user_name = $user_name; $args->group_names = $group_names; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'set_ugi', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6141,7 +7062,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_set_ugi() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_set_ugi_result', $this->input_->isStrictRead()); else { @@ -6180,7 +7101,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $args = new \metastore\ThriftHiveMetastore_get_delegation_token_args(); $args->token_owner = $token_owner; $args->renewer_kerberos_principal_name = $renewer_kerberos_principal_name; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_delegation_token', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6196,7 +7117,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_delegation_token() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_delegation_token_result', $this->input_->isStrictRead()); else { @@ -6234,7 +7155,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_renew_delegation_token_args(); $args->token_str_form = $token_str_form; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'renew_delegation_token', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6250,7 +7171,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_renew_delegation_token() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_renew_delegation_token_result', $this->input_->isStrictRead()); else { @@ -6288,7 +7209,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_cancel_delegation_token_args(); $args->token_str_form = $token_str_form; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'cancel_delegation_token', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6304,7 +7225,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_cancel_delegation_token() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_cancel_delegation_token_result', $this->input_->isStrictRead()); else { @@ -6338,7 +7259,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function send_get_open_txns() { $args = new \metastore\ThriftHiveMetastore_get_open_txns_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_open_txns', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6354,7 +7275,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_open_txns() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_open_txns_result', $this->input_->isStrictRead()); else { @@ -6388,7 +7309,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function send_get_open_txns_info() { $args = new \metastore\ThriftHiveMetastore_get_open_txns_info_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_open_txns_info', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6404,7 +7325,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_open_txns_info() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_open_txns_info_result', $this->input_->isStrictRead()); else { @@ -6439,7 +7360,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_open_txns_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'open_txns', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6455,7 +7376,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_open_txns() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_open_txns_result', $this->input_->isStrictRead()); else { @@ -6490,7 +7411,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_abort_txn_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'abort_txn', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6506,7 +7427,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_abort_txn() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_abort_txn_result', $this->input_->isStrictRead()); else { @@ -6541,7 +7462,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_commit_txn_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'commit_txn', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6557,7 +7478,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_commit_txn() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_commit_txn_result', $this->input_->isStrictRead()); else { @@ -6595,7 +7516,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_lock_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'lock', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6611,7 +7532,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_lock() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_lock_result', $this->input_->isStrictRead()); else { @@ -6652,7 +7573,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_check_lock_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'check_lock', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6668,7 +7589,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_check_lock() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_check_lock_result', $this->input_->isStrictRead()); else { @@ -6712,7 +7633,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_unlock_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'unlock', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6728,7 +7649,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_unlock() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_unlock_result', $this->input_->isStrictRead()); else { @@ -6766,7 +7687,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_show_locks_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'show_locks', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6782,7 +7703,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_show_locks() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_show_locks_result', $this->input_->isStrictRead()); else { @@ -6817,7 +7738,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_heartbeat_args(); $args->ids = $ids; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'heartbeat', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6833,7 +7754,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_heartbeat() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_heartbeat_result', $this->input_->isStrictRead()); else { @@ -6874,7 +7795,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_heartbeat_txn_range_args(); $args->txns = $txns; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'heartbeat_txn_range', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6890,7 +7811,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_heartbeat_txn_range() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_heartbeat_txn_range_result', $this->input_->isStrictRead()); else { @@ -6925,7 +7846,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_compact_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'compact', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6941,7 +7862,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_compact() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_compact_result', $this->input_->isStrictRead()); else { @@ -6973,7 +7894,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_show_compact_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'show_compact', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -6989,7 +7910,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_show_compact() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_show_compact_result', $this->input_->isStrictRead()); else { @@ -7024,7 +7945,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_add_dynamic_partitions_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'add_dynamic_partitions', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -7040,7 +7961,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_add_dynamic_partitions() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_add_dynamic_partitions_result', $this->input_->isStrictRead()); else { @@ -7078,7 +7999,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_get_next_notification_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_next_notification', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -7094,7 +8015,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_next_notification() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_next_notification_result', $this->input_->isStrictRead()); else { @@ -7128,7 +8049,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function send_get_current_notificationEventId() { $args = new \metastore\ThriftHiveMetastore_get_current_notificationEventId_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'get_current_notificationEventId', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -7144,7 +8065,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_get_current_notificationEventId() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_current_notificationEventId_result', $this->input_->isStrictRead()); else { @@ -7179,7 +8100,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas { $args = new \metastore\ThriftHiveMetastore_fire_listener_event_args(); $args->rqst = $rqst; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'fire_listener_event', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -7195,7 +8116,7 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas public function recv_fire_listener_event() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_fire_listener_event_result', $this->input_->isStrictRead()); else { @@ -7227,6 +8148,9 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas class ThriftHiveMetastore_getMetaConf_args { static $_TSPEC; + /** + * @var string + */ public $key = null; public function __construct($vals=null) { @@ -7299,7 +8223,13 @@ class ThriftHiveMetastore_getMetaConf_args { class ThriftHiveMetastore_getMetaConf_result { static $_TSPEC; + /** + * @var string + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -7393,7 +8323,13 @@ class ThriftHiveMetastore_getMetaConf_result { class ThriftHiveMetastore_setMetaConf_args { static $_TSPEC; + /** + * @var string + */ public $key = null; + /** + * @var string + */ public $value = null; public function __construct($vals=null) { @@ -7485,6 +8421,9 @@ class ThriftHiveMetastore_setMetaConf_args { class ThriftHiveMetastore_setMetaConf_result { static $_TSPEC; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -7559,6 +8498,9 @@ class ThriftHiveMetastore_setMetaConf_result { class ThriftHiveMetastore_create_database_args { static $_TSPEC; + /** + * @var \metastore\Database + */ public $database = null; public function __construct($vals=null) { @@ -7636,8 +8578,17 @@ class ThriftHiveMetastore_create_database_args { class ThriftHiveMetastore_create_database_result { static $_TSPEC; + /** + * @var \metastore\AlreadyExistsException + */ public $o1 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -7754,6 +8705,9 @@ class ThriftHiveMetastore_create_database_result { class ThriftHiveMetastore_get_database_args { static $_TSPEC; + /** + * @var string + */ public $name = null; public function __construct($vals=null) { @@ -7826,8 +8780,17 @@ class ThriftHiveMetastore_get_database_args { class ThriftHiveMetastore_get_database_result { static $_TSPEC; + /** + * @var \metastore\Database + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -7947,8 +8910,17 @@ class ThriftHiveMetastore_get_database_result { class ThriftHiveMetastore_drop_database_args { static $_TSPEC; + /** + * @var string + */ public $name = null; + /** + * @var bool + */ public $deleteData = null; + /** + * @var bool + */ public $cascade = null; public function __construct($vals=null) { @@ -8059,8 +9031,17 @@ class ThriftHiveMetastore_drop_database_args { class ThriftHiveMetastore_drop_database_result { static $_TSPEC; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\InvalidOperationException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -8177,6 +9158,9 @@ class ThriftHiveMetastore_drop_database_result { class ThriftHiveMetastore_get_databases_args { static $_TSPEC; + /** + * @var string + */ public $pattern = null; public function __construct($vals=null) { @@ -8249,7 +9233,13 @@ class ThriftHiveMetastore_get_databases_args { class ThriftHiveMetastore_get_databases_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -8302,14 +9292,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 +9335,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(); @@ -8419,7 +9409,13 @@ class ThriftHiveMetastore_get_all_databases_args { class ThriftHiveMetastore_get_all_databases_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -8472,14 +9468,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 +9511,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(); @@ -8539,7 +9535,13 @@ class ThriftHiveMetastore_get_all_databases_result { class ThriftHiveMetastore_alter_database_args { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var \metastore\Database + */ public $db = null; public function __construct($vals=null) { @@ -8636,7 +9638,13 @@ class ThriftHiveMetastore_alter_database_args { class ThriftHiveMetastore_alter_database_result { static $_TSPEC; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -8732,6 +9740,9 @@ class ThriftHiveMetastore_alter_database_result { class ThriftHiveMetastore_get_type_args { static $_TSPEC; + /** + * @var string + */ public $name = null; public function __construct($vals=null) { @@ -8804,8 +9815,17 @@ class ThriftHiveMetastore_get_type_args { class ThriftHiveMetastore_get_type_result { static $_TSPEC; + /** + * @var \metastore\Type + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -8925,6 +9945,9 @@ class ThriftHiveMetastore_get_type_result { class ThriftHiveMetastore_create_type_args { static $_TSPEC; + /** + * @var \metastore\Type + */ public $type = null; public function __construct($vals=null) { @@ -9002,9 +10025,21 @@ class ThriftHiveMetastore_create_type_args { class ThriftHiveMetastore_create_type_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\AlreadyExistsException + */ public $o1 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -9140,6 +10175,9 @@ class ThriftHiveMetastore_create_type_result { class ThriftHiveMetastore_drop_type_args { static $_TSPEC; + /** + * @var string + */ public $type = null; public function __construct($vals=null) { @@ -9212,8 +10250,17 @@ class ThriftHiveMetastore_drop_type_args { class ThriftHiveMetastore_drop_type_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -9328,6 +10375,9 @@ class ThriftHiveMetastore_drop_type_result { class ThriftHiveMetastore_get_type_all_args { static $_TSPEC; + /** + * @var string + */ public $name = null; public function __construct($vals=null) { @@ -9400,7 +10450,13 @@ class ThriftHiveMetastore_get_type_all_args { class ThriftHiveMetastore_get_type_all_result { static $_TSPEC; + /** + * @var array + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -9458,18 +10514,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 +10561,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(); @@ -9530,7 +10586,13 @@ class ThriftHiveMetastore_get_type_all_result { class ThriftHiveMetastore_get_fields_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $table_name = null; public function __construct($vals=null) { @@ -9622,9 +10684,21 @@ class ThriftHiveMetastore_get_fields_args { class ThriftHiveMetastore_get_fields_result { static $_TSPEC; + /** + * @var \metastore\FieldSchema[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\UnknownTableException + */ public $o2 = null; + /** + * @var \metastore\UnknownDBException + */ public $o3 = null; public function __construct($vals=null) { @@ -9694,15 +10768,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 +10828,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(); @@ -9788,8 +10862,17 @@ class ThriftHiveMetastore_get_fields_result { class ThriftHiveMetastore_get_fields_with_environment_context_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $table_name = null; + /** + * @var \metastore\EnvironmentContext + */ public $environment_context = null; public function __construct($vals=null) { @@ -9905,9 +10988,21 @@ class ThriftHiveMetastore_get_fields_with_environment_context_args { class ThriftHiveMetastore_get_fields_with_environment_context_result { static $_TSPEC; + /** + * @var \metastore\FieldSchema[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\UnknownTableException + */ public $o2 = null; + /** + * @var \metastore\UnknownDBException + */ public $o3 = null; public function __construct($vals=null) { @@ -9977,15 +11072,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 +11132,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(); @@ -10071,7 +11166,13 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { class ThriftHiveMetastore_get_schema_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $table_name = null; public function __construct($vals=null) { @@ -10163,9 +11264,21 @@ class ThriftHiveMetastore_get_schema_args { class ThriftHiveMetastore_get_schema_result { static $_TSPEC; + /** + * @var \metastore\FieldSchema[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\UnknownTableException + */ public $o2 = null; + /** + * @var \metastore\UnknownDBException + */ public $o3 = null; public function __construct($vals=null) { @@ -10235,15 +11348,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 +11408,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(); @@ -10329,8 +11442,17 @@ class ThriftHiveMetastore_get_schema_result { class ThriftHiveMetastore_get_schema_with_environment_context_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $table_name = null; + /** + * @var \metastore\EnvironmentContext + */ public $environment_context = null; public function __construct($vals=null) { @@ -10446,9 +11568,21 @@ class ThriftHiveMetastore_get_schema_with_environment_context_args { class ThriftHiveMetastore_get_schema_with_environment_context_result { static $_TSPEC; + /** + * @var \metastore\FieldSchema[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\UnknownTableException + */ public $o2 = null; + /** + * @var \metastore\UnknownDBException + */ public $o3 = null; public function __construct($vals=null) { @@ -10518,15 +11652,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 +11712,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(); @@ -10612,6 +11746,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { class ThriftHiveMetastore_create_table_args { static $_TSPEC; + /** + * @var \metastore\Table + */ public $tbl = null; public function __construct($vals=null) { @@ -10689,9 +11826,21 @@ class ThriftHiveMetastore_create_table_args { class ThriftHiveMetastore_create_table_result { static $_TSPEC; + /** + * @var \metastore\AlreadyExistsException + */ public $o1 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o4 = null; public function __construct($vals=null) { @@ -10829,7 +11978,13 @@ class ThriftHiveMetastore_create_table_result { class ThriftHiveMetastore_create_table_with_environment_context_args { static $_TSPEC; + /** + * @var \metastore\Table + */ public $tbl = null; + /** + * @var \metastore\EnvironmentContext + */ public $environment_context = null; public function __construct($vals=null) { @@ -10931,9 +12086,21 @@ class ThriftHiveMetastore_create_table_with_environment_context_args { class ThriftHiveMetastore_create_table_with_environment_context_result { static $_TSPEC; + /** + * @var \metastore\AlreadyExistsException + */ public $o1 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o4 = null; public function __construct($vals=null) { @@ -11071,8 +12238,17 @@ class ThriftHiveMetastore_create_table_with_environment_context_result { class ThriftHiveMetastore_drop_table_args { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $name = null; + /** + * @var bool + */ public $deleteData = null; public function __construct($vals=null) { @@ -11183,7 +12359,13 @@ class ThriftHiveMetastore_drop_table_args { class ThriftHiveMetastore_drop_table_result { static $_TSPEC; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -11279,9 +12461,21 @@ class ThriftHiveMetastore_drop_table_result { class ThriftHiveMetastore_drop_table_with_environment_context_args { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $name = null; + /** + * @var bool + */ public $deleteData = null; + /** + * @var \metastore\EnvironmentContext + */ public $environment_context = null; public function __construct($vals=null) { @@ -11416,7 +12610,13 @@ class ThriftHiveMetastore_drop_table_with_environment_context_args { class ThriftHiveMetastore_drop_table_with_environment_context_result { static $_TSPEC; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -11512,7 +12712,13 @@ class ThriftHiveMetastore_drop_table_with_environment_context_result { class ThriftHiveMetastore_get_tables_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $pattern = null; public function __construct($vals=null) { @@ -11604,7 +12810,13 @@ class ThriftHiveMetastore_get_tables_args { class ThriftHiveMetastore_get_tables_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -11657,14 +12869,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 +12912,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(); @@ -11724,6 +12936,9 @@ class ThriftHiveMetastore_get_tables_result { class ThriftHiveMetastore_get_all_tables_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; public function __construct($vals=null) { @@ -11796,7 +13011,13 @@ class ThriftHiveMetastore_get_all_tables_args { class ThriftHiveMetastore_get_all_tables_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -11849,14 +13070,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 +13113,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(); @@ -11916,7 +13137,13 @@ class ThriftHiveMetastore_get_all_tables_result { class ThriftHiveMetastore_get_table_args { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $tbl_name = null; public function __construct($vals=null) { @@ -12008,8 +13235,17 @@ class ThriftHiveMetastore_get_table_args { class ThriftHiveMetastore_get_table_result { static $_TSPEC; + /** + * @var \metastore\Table + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -12129,7 +13365,13 @@ class ThriftHiveMetastore_get_table_result { class ThriftHiveMetastore_get_table_objects_by_name_args { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var string[] + */ public $tbl_names = null; public function __construct($vals=null) { @@ -12188,14 +13430,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 +13470,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(); @@ -12247,9 +13489,21 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { class ThriftHiveMetastore_get_table_objects_by_name_result { static $_TSPEC; + /** + * @var \metastore\Table[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\InvalidOperationException + */ public $o2 = null; + /** + * @var \metastore\UnknownDBException + */ public $o3 = null; public function __construct($vals=null) { @@ -12319,15 +13573,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 +13633,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(); @@ -12413,8 +13667,17 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { class ThriftHiveMetastore_get_table_names_by_filter_args { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $filter = null; + /** + * @var int + */ public $max_tables = -1; public function __construct($vals=null) { @@ -12525,9 +13788,21 @@ class ThriftHiveMetastore_get_table_names_by_filter_args { class ThriftHiveMetastore_get_table_names_by_filter_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\InvalidOperationException + */ public $o2 = null; + /** + * @var \metastore\UnknownDBException + */ public $o3 = null; public function __construct($vals=null) { @@ -12596,14 +13871,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 +13930,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(); @@ -12689,8 +13964,17 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { class ThriftHiveMetastore_alter_table_args { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var \metastore\Table + */ public $new_tbl = null; public function __construct($vals=null) { @@ -12806,7 +14090,13 @@ class ThriftHiveMetastore_alter_table_args { class ThriftHiveMetastore_alter_table_result { static $_TSPEC; + /** + * @var \metastore\InvalidOperationException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -12902,9 +14192,21 @@ class ThriftHiveMetastore_alter_table_result { class ThriftHiveMetastore_alter_table_with_environment_context_args { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var \metastore\Table + */ public $new_tbl = null; + /** + * @var \metastore\EnvironmentContext + */ public $environment_context = null; public function __construct($vals=null) { @@ -13044,7 +14346,13 @@ class ThriftHiveMetastore_alter_table_with_environment_context_args { class ThriftHiveMetastore_alter_table_with_environment_context_result { static $_TSPEC; + /** + * @var \metastore\InvalidOperationException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -13140,9 +14448,21 @@ class ThriftHiveMetastore_alter_table_with_environment_context_result { class ThriftHiveMetastore_alter_table_with_cascade_args { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var \metastore\Table + */ public $new_tbl = null; + /** + * @var bool + */ public $cascade = null; public function __construct($vals=null) { @@ -13277,7 +14597,13 @@ class ThriftHiveMetastore_alter_table_with_cascade_args { class ThriftHiveMetastore_alter_table_with_cascade_result { static $_TSPEC; + /** + * @var \metastore\InvalidOperationException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -13373,6 +14699,9 @@ class ThriftHiveMetastore_alter_table_with_cascade_result { class ThriftHiveMetastore_add_partition_args { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $new_part = null; public function __construct($vals=null) { @@ -13450,9 +14779,21 @@ class ThriftHiveMetastore_add_partition_args { class ThriftHiveMetastore_add_partition_result { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $success = null; + /** + * @var \metastore\InvalidObjectException + */ public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -13593,7 +14934,13 @@ class ThriftHiveMetastore_add_partition_result { class ThriftHiveMetastore_add_partition_with_environment_context_args { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $new_part = null; + /** + * @var \metastore\EnvironmentContext + */ public $environment_context = null; public function __construct($vals=null) { @@ -13695,9 +15042,21 @@ class ThriftHiveMetastore_add_partition_with_environment_context_args { class ThriftHiveMetastore_add_partition_with_environment_context_result { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $success = null; + /** + * @var \metastore\InvalidObjectException + */ public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -13838,6 +15197,9 @@ class ThriftHiveMetastore_add_partition_with_environment_context_result { class ThriftHiveMetastore_add_partitions_args { static $_TSPEC; + /** + * @var \metastore\Partition[] + */ public $new_parts = null; public function __construct($vals=null) { @@ -13883,15 +15245,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 +15281,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(); @@ -13938,9 +15300,21 @@ class ThriftHiveMetastore_add_partitions_args { class ThriftHiveMetastore_add_partitions_result { static $_TSPEC; + /** + * @var int + */ public $success = null; + /** + * @var \metastore\InvalidObjectException + */ public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -14076,6 +15450,9 @@ class ThriftHiveMetastore_add_partitions_result { class ThriftHiveMetastore_add_partitions_pspec_args { static $_TSPEC; + /** + * @var \metastore\PartitionSpec[] + */ public $new_parts = null; public function __construct($vals=null) { @@ -14121,15 +15498,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 +15534,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(); @@ -14176,9 +15553,21 @@ class ThriftHiveMetastore_add_partitions_pspec_args { class ThriftHiveMetastore_add_partitions_pspec_result { static $_TSPEC; + /** + * @var int + */ public $success = null; + /** + * @var \metastore\InvalidObjectException + */ public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -14314,8 +15703,17 @@ class ThriftHiveMetastore_add_partitions_pspec_result { class ThriftHiveMetastore_append_partition_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string[] + */ public $part_vals = null; public function __construct($vals=null) { @@ -14388,14 +15786,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 +15831,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(); @@ -14452,9 +15850,21 @@ class ThriftHiveMetastore_append_partition_args { class ThriftHiveMetastore_append_partition_result { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $success = null; + /** + * @var \metastore\InvalidObjectException + */ public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -14595,6 +16005,9 @@ class ThriftHiveMetastore_append_partition_result { class ThriftHiveMetastore_add_partitions_req_args { static $_TSPEC; + /** + * @var \metastore\AddPartitionsRequest + */ public $request = null; public function __construct($vals=null) { @@ -14672,9 +16085,21 @@ class ThriftHiveMetastore_add_partitions_req_args { class ThriftHiveMetastore_add_partitions_req_result { static $_TSPEC; + /** + * @var \metastore\AddPartitionsResult + */ public $success = null; + /** + * @var \metastore\InvalidObjectException + */ public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -14815,9 +16240,21 @@ class ThriftHiveMetastore_add_partitions_req_result { class ThriftHiveMetastore_append_partition_with_environment_context_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string[] + */ public $part_vals = null; + /** + * @var \metastore\EnvironmentContext + */ public $environment_context = null; public function __construct($vals=null) { @@ -14898,14 +16335,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 +16388,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(); @@ -14978,9 +16415,21 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { class ThriftHiveMetastore_append_partition_with_environment_context_result { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $success = null; + /** + * @var \metastore\InvalidObjectException + */ public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -15121,8 +16570,17 @@ class ThriftHiveMetastore_append_partition_with_environment_context_result { class ThriftHiveMetastore_append_partition_by_name_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $part_name = null; public function __construct($vals=null) { @@ -15233,9 +16691,21 @@ class ThriftHiveMetastore_append_partition_by_name_args { class ThriftHiveMetastore_append_partition_by_name_result { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $success = null; + /** + * @var \metastore\InvalidObjectException + */ public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -15376,9 +16846,21 @@ class ThriftHiveMetastore_append_partition_by_name_result { class ThriftHiveMetastore_append_partition_by_name_with_environment_context_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $part_name = null; + /** + * @var \metastore\EnvironmentContext + */ public $environment_context = null; public function __construct($vals=null) { @@ -15513,9 +16995,21 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_args class ThriftHiveMetastore_append_partition_by_name_with_environment_context_result { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $success = null; + /** + * @var \metastore\InvalidObjectException + */ public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -15656,9 +17150,21 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_resu class ThriftHiveMetastore_drop_partition_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string[] + */ public $part_vals = null; + /** + * @var bool + */ public $deleteData = null; public function __construct($vals=null) { @@ -15738,14 +17244,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 +17296,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(); @@ -15814,8 +17320,17 @@ class ThriftHiveMetastore_drop_partition_args { class ThriftHiveMetastore_drop_partition_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -15930,10 +17445,25 @@ class ThriftHiveMetastore_drop_partition_result { class ThriftHiveMetastore_drop_partition_with_environment_context_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string[] + */ public $part_vals = null; + /** + * @var bool + */ public $deleteData = null; + /** + * @var \metastore\EnvironmentContext + */ public $environment_context = null; public function __construct($vals=null) { @@ -16021,14 +17551,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 +17611,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(); @@ -16113,8 +17643,17 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { class ThriftHiveMetastore_drop_partition_with_environment_context_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -16229,9 +17768,21 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_result { class ThriftHiveMetastore_drop_partition_by_name_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $part_name = null; + /** + * @var bool + */ public $deleteData = null; public function __construct($vals=null) { @@ -16361,8 +17912,17 @@ class ThriftHiveMetastore_drop_partition_by_name_args { class ThriftHiveMetastore_drop_partition_by_name_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -16477,10 +18037,25 @@ class ThriftHiveMetastore_drop_partition_by_name_result { class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $part_name = null; + /** + * @var bool + */ public $deleteData = null; + /** + * @var \metastore\EnvironmentContext + */ public $environment_context = null; public function __construct($vals=null) { @@ -16634,8 +18209,17 @@ class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args { class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -16750,6 +18334,9 @@ class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result class ThriftHiveMetastore_drop_partitions_req_args { static $_TSPEC; + /** + * @var \metastore\DropPartitionsRequest + */ public $req = null; public function __construct($vals=null) { @@ -16827,8 +18414,17 @@ class ThriftHiveMetastore_drop_partitions_req_args { class ThriftHiveMetastore_drop_partitions_req_result { static $_TSPEC; + /** + * @var \metastore\DropPartitionsResult + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -16948,8 +18544,17 @@ class ThriftHiveMetastore_drop_partitions_req_result { class ThriftHiveMetastore_get_partition_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string[] + */ public $part_vals = null; public function __construct($vals=null) { @@ -17022,14 +18627,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 +18672,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(); @@ -17086,8 +18691,17 @@ class ThriftHiveMetastore_get_partition_args { class ThriftHiveMetastore_get_partition_result { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -17207,10 +18821,25 @@ class ThriftHiveMetastore_get_partition_result { class ThriftHiveMetastore_exchange_partition_args { static $_TSPEC; + /** + * @var array + */ public $partitionSpecs = null; + /** + * @var string + */ public $source_db = null; + /** + * @var string + */ public $source_table_name = null; + /** + * @var string + */ public $dest_db = null; + /** + * @var string + */ public $dest_table_name = null; public function __construct($vals=null) { @@ -17287,17 +18916,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 +18982,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(); @@ -17393,10 +19022,25 @@ class ThriftHiveMetastore_exchange_partition_args { class ThriftHiveMetastore_exchange_partition_result { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o3 = null; + /** + * @var \metastore\InvalidInputException + */ public $o4 = null; public function __construct($vals=null) { @@ -17558,10 +19202,25 @@ class ThriftHiveMetastore_exchange_partition_result { class ThriftHiveMetastore_get_partition_with_auth_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string[] + */ public $part_vals = null; + /** + * @var string + */ public $user_name = null; + /** + * @var string[] + */ public $group_names = null; public function __construct($vals=null) { @@ -17652,14 +19311,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 +19335,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 +19380,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 +19402,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(); @@ -17762,8 +19421,17 @@ class ThriftHiveMetastore_get_partition_with_auth_args { class ThriftHiveMetastore_get_partition_with_auth_result { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -17883,8 +19551,17 @@ class ThriftHiveMetastore_get_partition_with_auth_result { class ThriftHiveMetastore_get_partition_by_name_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $part_name = null; public function __construct($vals=null) { @@ -17995,8 +19672,17 @@ class ThriftHiveMetastore_get_partition_by_name_args { class ThriftHiveMetastore_get_partition_by_name_result { static $_TSPEC; + /** + * @var \metastore\Partition + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -18116,8 +19802,17 @@ class ThriftHiveMetastore_get_partition_by_name_result { class ThriftHiveMetastore_get_partitions_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var int + */ public $max_parts = -1; public function __construct($vals=null) { @@ -18228,8 +19923,17 @@ class ThriftHiveMetastore_get_partitions_args { class ThriftHiveMetastore_get_partitions_result { static $_TSPEC; + /** + * @var \metastore\Partition[] + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -18291,15 +19995,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 +20047,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(); @@ -18372,10 +20076,25 @@ class ThriftHiveMetastore_get_partitions_result { class ThriftHiveMetastore_get_partitions_with_auth_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var int + */ public $max_parts = -1; + /** + * @var string + */ public $user_name = null; + /** + * @var string[] + */ public $group_names = null; public function __construct($vals=null) { @@ -18476,14 +20195,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 +20250,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(); @@ -18550,8 +20269,17 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { class ThriftHiveMetastore_get_partitions_with_auth_result { static $_TSPEC; + /** + * @var \metastore\Partition[] + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -18613,15 +20341,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 +20393,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(); @@ -18694,8 +20422,17 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { class ThriftHiveMetastore_get_partitions_pspec_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var int + */ public $max_parts = -1; public function __construct($vals=null) { @@ -18806,8 +20543,17 @@ class ThriftHiveMetastore_get_partitions_pspec_args { class ThriftHiveMetastore_get_partitions_pspec_result { static $_TSPEC; + /** + * @var \metastore\PartitionSpec[] + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -18869,15 +20615,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 +20667,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(); @@ -18950,8 +20696,17 @@ class ThriftHiveMetastore_get_partitions_pspec_result { class ThriftHiveMetastore_get_partition_names_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var int + */ public $max_parts = -1; public function __construct($vals=null) { @@ -19062,7 +20817,13 @@ class ThriftHiveMetastore_get_partition_names_args { class ThriftHiveMetastore_get_partition_names_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -19115,14 +20876,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 +20919,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(); @@ -19182,9 +20943,21 @@ class ThriftHiveMetastore_get_partition_names_result { class ThriftHiveMetastore_get_partitions_ps_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string[] + */ public $part_vals = null; + /** + * @var int + */ public $max_parts = -1; public function __construct($vals=null) { @@ -19264,14 +21037,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 +21089,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(); @@ -19340,8 +21113,17 @@ class ThriftHiveMetastore_get_partitions_ps_args { class ThriftHiveMetastore_get_partitions_ps_result { static $_TSPEC; + /** + * @var \metastore\Partition[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -19403,15 +21185,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 +21237,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(); @@ -19484,11 +21266,29 @@ class ThriftHiveMetastore_get_partitions_ps_result { class ThriftHiveMetastore_get_partitions_ps_with_auth_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string[] + */ public $part_vals = null; + /** + * @var int + */ public $max_parts = -1; + /** + * @var string + */ public $user_name = null; + /** + * @var string[] + */ public $group_names = null; public function __construct($vals=null) { @@ -19586,14 +21386,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 +21417,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 +21462,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 +21489,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(); @@ -19708,8 +21508,17 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { class ThriftHiveMetastore_get_partitions_ps_with_auth_result { static $_TSPEC; + /** + * @var \metastore\Partition[] + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -19771,15 +21580,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 +21632,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(); @@ -19852,9 +21661,21 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { class ThriftHiveMetastore_get_partition_names_ps_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string[] + */ public $part_vals = null; + /** + * @var int + */ public $max_parts = -1; public function __construct($vals=null) { @@ -19934,14 +21755,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 +21807,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(); @@ -20010,8 +21831,17 @@ class ThriftHiveMetastore_get_partition_names_ps_args { class ThriftHiveMetastore_get_partition_names_ps_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -20072,14 +21902,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 +21953,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(); @@ -20152,9 +21982,21 @@ class ThriftHiveMetastore_get_partition_names_ps_result { class ThriftHiveMetastore_get_partitions_by_filter_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $filter = null; + /** + * @var int + */ public $max_parts = -1; public function __construct($vals=null) { @@ -20284,8 +22126,17 @@ class ThriftHiveMetastore_get_partitions_by_filter_args { class ThriftHiveMetastore_get_partitions_by_filter_result { static $_TSPEC; + /** + * @var \metastore\Partition[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -20347,15 +22198,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 +22250,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(); @@ -20428,9 +22279,21 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { class ThriftHiveMetastore_get_part_specs_by_filter_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $filter = null; + /** + * @var int + */ public $max_parts = -1; public function __construct($vals=null) { @@ -20560,8 +22423,17 @@ class ThriftHiveMetastore_get_part_specs_by_filter_args { class ThriftHiveMetastore_get_part_specs_by_filter_result { static $_TSPEC; + /** + * @var \metastore\PartitionSpec[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -20623,15 +22495,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 +22547,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(); @@ -20704,6 +22576,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { class ThriftHiveMetastore_get_partitions_by_expr_args { static $_TSPEC; + /** + * @var \metastore\PartitionsByExprRequest + */ public $req = null; public function __construct($vals=null) { @@ -20781,8 +22656,17 @@ class ThriftHiveMetastore_get_partitions_by_expr_args { class ThriftHiveMetastore_get_partitions_by_expr_result { static $_TSPEC; + /** + * @var \metastore\PartitionsByExprResult + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -20902,8 +22786,17 @@ class ThriftHiveMetastore_get_partitions_by_expr_result { class ThriftHiveMetastore_get_partitions_by_names_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string[] + */ public $names = null; public function __construct($vals=null) { @@ -20976,14 +22869,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 +22914,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(); @@ -21040,8 +22933,17 @@ class ThriftHiveMetastore_get_partitions_by_names_args { class ThriftHiveMetastore_get_partitions_by_names_result { static $_TSPEC; + /** + * @var \metastore\Partition[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -21103,15 +23005,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 +23057,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(); @@ -21184,8 +23086,17 @@ class ThriftHiveMetastore_get_partitions_by_names_result { class ThriftHiveMetastore_alter_partition_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var \metastore\Partition + */ public $new_part = null; public function __construct($vals=null) { @@ -21301,7 +23212,13 @@ class ThriftHiveMetastore_alter_partition_args { class ThriftHiveMetastore_alter_partition_result { static $_TSPEC; + /** + * @var \metastore\InvalidOperationException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -21397,8 +23314,17 @@ class ThriftHiveMetastore_alter_partition_result { class ThriftHiveMetastore_alter_partitions_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var \metastore\Partition[] + */ public $new_parts = null; public function __construct($vals=null) { @@ -21472,15 +23398,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 +23444,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(); @@ -21537,7 +23463,13 @@ class ThriftHiveMetastore_alter_partitions_args { class ThriftHiveMetastore_alter_partitions_result { static $_TSPEC; + /** + * @var \metastore\InvalidOperationException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -21633,9 +23565,21 @@ class ThriftHiveMetastore_alter_partitions_result { class ThriftHiveMetastore_alter_partition_with_environment_context_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var \metastore\Partition + */ public $new_part = null; + /** + * @var \metastore\EnvironmentContext + */ public $environment_context = null; public function __construct($vals=null) { @@ -21775,7 +23719,13 @@ class ThriftHiveMetastore_alter_partition_with_environment_context_args { class ThriftHiveMetastore_alter_partition_with_environment_context_result { static $_TSPEC; + /** + * @var \metastore\InvalidOperationException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -21871,9 +23821,21 @@ class ThriftHiveMetastore_alter_partition_with_environment_context_result { class ThriftHiveMetastore_rename_partition_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string[] + */ public $part_vals = null; + /** + * @var \metastore\Partition + */ public $new_part = null; public function __construct($vals=null) { @@ -21954,14 +23916,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 +23969,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(); @@ -22034,7 +23996,13 @@ class ThriftHiveMetastore_rename_partition_args { class ThriftHiveMetastore_rename_partition_result { static $_TSPEC; + /** + * @var \metastore\InvalidOperationException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -22130,7 +24098,13 @@ class ThriftHiveMetastore_rename_partition_result { class ThriftHiveMetastore_partition_name_has_valid_characters_args { static $_TSPEC; + /** + * @var string[] + */ public $part_vals = null; + /** + * @var bool + */ public $throw_exception = null; public function __construct($vals=null) { @@ -22182,14 +24156,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 +24198,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(); @@ -22248,7 +24222,13 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { class ThriftHiveMetastore_partition_name_has_valid_characters_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -22342,7 +24322,13 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_result { class ThriftHiveMetastore_get_config_value_args { static $_TSPEC; + /** + * @var string + */ public $name = null; + /** + * @var string + */ public $defaultValue = null; public function __construct($vals=null) { @@ -22434,7 +24420,13 @@ class ThriftHiveMetastore_get_config_value_args { class ThriftHiveMetastore_get_config_value_result { static $_TSPEC; + /** + * @var string + */ public $success = null; + /** + * @var \metastore\ConfigValSecurityException + */ public $o1 = null; public function __construct($vals=null) { @@ -22528,6 +24520,9 @@ class ThriftHiveMetastore_get_config_value_result { class ThriftHiveMetastore_partition_name_to_vals_args { static $_TSPEC; + /** + * @var string + */ public $part_name = null; public function __construct($vals=null) { @@ -22600,7 +24595,13 @@ class ThriftHiveMetastore_partition_name_to_vals_args { class ThriftHiveMetastore_partition_name_to_vals_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -22653,14 +24654,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 +24697,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(); @@ -22720,6 +24721,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { class ThriftHiveMetastore_partition_name_to_spec_args { static $_TSPEC; + /** + * @var string + */ public $part_name = null; public function __construct($vals=null) { @@ -22792,7 +24796,13 @@ class ThriftHiveMetastore_partition_name_to_spec_args { class ThriftHiveMetastore_partition_name_to_spec_result { static $_TSPEC; + /** + * @var array + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -22849,17 +24859,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 +24905,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(); @@ -22920,9 +24930,21 @@ class ThriftHiveMetastore_partition_name_to_spec_result { class ThriftHiveMetastore_markPartitionForEvent_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var array + */ public $part_vals = null; + /** + * @var int + */ public $eventType = null; public function __construct($vals=null) { @@ -23006,17 +25028,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 +25083,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(); @@ -23086,11 +25108,29 @@ class ThriftHiveMetastore_markPartitionForEvent_args { class ThriftHiveMetastore_markPartitionForEvent_result { static $_TSPEC; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; + /** + * @var \metastore\UnknownDBException + */ public $o3 = null; + /** + * @var \metastore\UnknownTableException + */ public $o4 = null; + /** + * @var \metastore\UnknownPartitionException + */ public $o5 = null; + /** + * @var \metastore\InvalidPartitionException + */ public $o6 = null; public function __construct($vals=null) { @@ -23270,9 +25310,21 @@ class ThriftHiveMetastore_markPartitionForEvent_result { class ThriftHiveMetastore_isPartitionMarkedForEvent_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var array + */ public $part_vals = null; + /** + * @var int + */ public $eventType = null; public function __construct($vals=null) { @@ -23356,17 +25408,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 +25463,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(); @@ -23436,12 +25488,33 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { class ThriftHiveMetastore_isPartitionMarkedForEvent_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; + /** + * @var \metastore\UnknownDBException + */ public $o3 = null; + /** + * @var \metastore\UnknownTableException + */ public $o4 = null; + /** + * @var \metastore\UnknownPartitionException + */ public $o5 = null; + /** + * @var \metastore\InvalidPartitionException + */ public $o6 = null; public function __construct($vals=null) { @@ -23640,7 +25713,13 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_result { class ThriftHiveMetastore_add_index_args { static $_TSPEC; + /** + * @var \metastore\Index + */ public $new_index = null; + /** + * @var \metastore\Table + */ public $index_table = null; public function __construct($vals=null) { @@ -23742,9 +25821,21 @@ class ThriftHiveMetastore_add_index_args { class ThriftHiveMetastore_add_index_result { static $_TSPEC; + /** + * @var \metastore\Index + */ public $success = null; + /** + * @var \metastore\InvalidObjectException + */ public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -23885,9 +25976,21 @@ class ThriftHiveMetastore_add_index_result { class ThriftHiveMetastore_alter_index_args { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $base_tbl_name = null; + /** + * @var string + */ public $idx_name = null; + /** + * @var \metastore\Index + */ public $new_idx = null; public function __construct($vals=null) { @@ -24022,7 +26125,13 @@ class ThriftHiveMetastore_alter_index_args { class ThriftHiveMetastore_alter_index_result { static $_TSPEC; + /** + * @var \metastore\InvalidOperationException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -24118,9 +26227,21 @@ class ThriftHiveMetastore_alter_index_result { class ThriftHiveMetastore_drop_index_by_name_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $index_name = null; + /** + * @var bool + */ public $deleteData = null; public function __construct($vals=null) { @@ -24250,8 +26371,17 @@ class ThriftHiveMetastore_drop_index_by_name_args { class ThriftHiveMetastore_drop_index_by_name_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -24366,8 +26496,17 @@ class ThriftHiveMetastore_drop_index_by_name_result { class ThriftHiveMetastore_get_index_by_name_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $index_name = null; public function __construct($vals=null) { @@ -24478,8 +26617,17 @@ class ThriftHiveMetastore_get_index_by_name_args { class ThriftHiveMetastore_get_index_by_name_result { static $_TSPEC; + /** + * @var \metastore\Index + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -24599,8 +26747,17 @@ class ThriftHiveMetastore_get_index_by_name_result { class ThriftHiveMetastore_get_indexes_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var int + */ public $max_indexes = -1; public function __construct($vals=null) { @@ -24711,8 +26868,17 @@ class ThriftHiveMetastore_get_indexes_args { class ThriftHiveMetastore_get_indexes_result { static $_TSPEC; + /** + * @var \metastore\Index[] + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -24774,15 +26940,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 +26992,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(); @@ -24855,8 +27021,17 @@ class ThriftHiveMetastore_get_indexes_result { class ThriftHiveMetastore_get_index_names_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var int + */ public $max_indexes = -1; public function __construct($vals=null) { @@ -24967,7 +27142,13 @@ class ThriftHiveMetastore_get_index_names_args { class ThriftHiveMetastore_get_index_names_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -25020,14 +27201,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 +27244,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(); @@ -25087,6 +27268,9 @@ class ThriftHiveMetastore_get_index_names_result { class ThriftHiveMetastore_update_table_column_statistics_args { static $_TSPEC; + /** + * @var \metastore\ColumnStatistics + */ public $stats_obj = null; public function __construct($vals=null) { @@ -25164,10 +27348,25 @@ class ThriftHiveMetastore_update_table_column_statistics_args { class ThriftHiveMetastore_update_table_column_statistics_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; + /** + * @var \metastore\InvalidInputException + */ public $o4 = null; public function __construct($vals=null) { @@ -25324,6 +27523,9 @@ class ThriftHiveMetastore_update_table_column_statistics_result { class ThriftHiveMetastore_update_partition_column_statistics_args { static $_TSPEC; + /** + * @var \metastore\ColumnStatistics + */ public $stats_obj = null; public function __construct($vals=null) { @@ -25401,10 +27603,25 @@ class ThriftHiveMetastore_update_partition_column_statistics_args { class ThriftHiveMetastore_update_partition_column_statistics_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; + /** + * @var \metastore\InvalidInputException + */ public $o4 = null; public function __construct($vals=null) { @@ -25561,8 +27778,17 @@ class ThriftHiveMetastore_update_partition_column_statistics_result { class ThriftHiveMetastore_get_table_column_statistics_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $col_name = null; public function __construct($vals=null) { @@ -25673,10 +27899,25 @@ class ThriftHiveMetastore_get_table_column_statistics_args { class ThriftHiveMetastore_get_table_column_statistics_result { static $_TSPEC; + /** + * @var \metastore\ColumnStatistics + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; + /** + * @var \metastore\InvalidInputException + */ public $o3 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o4 = null; public function __construct($vals=null) { @@ -25838,9 +28079,21 @@ class ThriftHiveMetastore_get_table_column_statistics_result { class ThriftHiveMetastore_get_partition_column_statistics_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $part_name = null; + /** + * @var string + */ public $col_name = null; public function __construct($vals=null) { @@ -25970,10 +28223,25 @@ class ThriftHiveMetastore_get_partition_column_statistics_args { class ThriftHiveMetastore_get_partition_column_statistics_result { static $_TSPEC; + /** + * @var \metastore\ColumnStatistics + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; + /** + * @var \metastore\InvalidInputException + */ public $o3 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o4 = null; public function __construct($vals=null) { @@ -26135,6 +28403,9 @@ class ThriftHiveMetastore_get_partition_column_statistics_result { class ThriftHiveMetastore_get_table_statistics_req_args { static $_TSPEC; + /** + * @var \metastore\TableStatsRequest + */ public $request = null; public function __construct($vals=null) { @@ -26212,8 +28483,17 @@ class ThriftHiveMetastore_get_table_statistics_req_args { class ThriftHiveMetastore_get_table_statistics_req_result { static $_TSPEC; + /** + * @var \metastore\TableStatsResult + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -26333,6 +28613,9 @@ class ThriftHiveMetastore_get_table_statistics_req_result { class ThriftHiveMetastore_get_partitions_statistics_req_args { static $_TSPEC; + /** + * @var \metastore\PartitionsStatsRequest + */ public $request = null; public function __construct($vals=null) { @@ -26410,8 +28693,17 @@ class ThriftHiveMetastore_get_partitions_statistics_req_args { class ThriftHiveMetastore_get_partitions_statistics_req_result { static $_TSPEC; + /** + * @var \metastore\PartitionsStatsResult + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -26531,6 +28823,9 @@ class ThriftHiveMetastore_get_partitions_statistics_req_result { class ThriftHiveMetastore_get_aggr_stats_for_args { static $_TSPEC; + /** + * @var \metastore\PartitionsStatsRequest + */ public $request = null; public function __construct($vals=null) { @@ -26608,8 +28903,17 @@ class ThriftHiveMetastore_get_aggr_stats_for_args { class ThriftHiveMetastore_get_aggr_stats_for_result { static $_TSPEC; + /** + * @var \metastore\AggrStats + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -26729,6 +29033,9 @@ class ThriftHiveMetastore_get_aggr_stats_for_result { class ThriftHiveMetastore_set_aggr_stats_for_args { static $_TSPEC; + /** + * @var \metastore\SetPartitionsStatsRequest + */ public $request = null; public function __construct($vals=null) { @@ -26806,10 +29113,25 @@ class ThriftHiveMetastore_set_aggr_stats_for_args { class ThriftHiveMetastore_set_aggr_stats_for_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; + /** + * @var \metastore\InvalidInputException + */ public $o4 = null; public function __construct($vals=null) { @@ -26966,9 +29288,21 @@ class ThriftHiveMetastore_set_aggr_stats_for_result { class ThriftHiveMetastore_delete_partition_column_statistics_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $part_name = null; + /** + * @var string + */ public $col_name = null; public function __construct($vals=null) { @@ -27098,10 +29432,25 @@ class ThriftHiveMetastore_delete_partition_column_statistics_args { class ThriftHiveMetastore_delete_partition_column_statistics_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o3 = null; + /** + * @var \metastore\InvalidInputException + */ public $o4 = null; public function __construct($vals=null) { @@ -27258,8 +29607,17 @@ class ThriftHiveMetastore_delete_partition_column_statistics_result { class ThriftHiveMetastore_delete_table_column_statistics_args { static $_TSPEC; + /** + * @var string + */ public $db_name = null; + /** + * @var string + */ public $tbl_name = null; + /** + * @var string + */ public $col_name = null; public function __construct($vals=null) { @@ -27370,10 +29728,25 @@ class ThriftHiveMetastore_delete_table_column_statistics_args { class ThriftHiveMetastore_delete_table_column_statistics_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o3 = null; + /** + * @var \metastore\InvalidInputException + */ public $o4 = null; public function __construct($vals=null) { @@ -27530,6 +29903,9 @@ class ThriftHiveMetastore_delete_table_column_statistics_result { class ThriftHiveMetastore_create_function_args { static $_TSPEC; + /** + * @var \metastore\Function + */ public $func = null; public function __construct($vals=null) { @@ -27607,9 +29983,21 @@ class ThriftHiveMetastore_create_function_args { class ThriftHiveMetastore_create_function_result { static $_TSPEC; + /** + * @var \metastore\AlreadyExistsException + */ public $o1 = null; + /** + * @var \metastore\InvalidObjectException + */ public $o2 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o4 = null; public function __construct($vals=null) { @@ -27747,7 +30135,13 @@ class ThriftHiveMetastore_create_function_result { class ThriftHiveMetastore_drop_function_args { static $_TSPEC; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $funcName = null; public function __construct($vals=null) { @@ -27839,7 +30233,13 @@ class ThriftHiveMetastore_drop_function_args { class ThriftHiveMetastore_drop_function_result { static $_TSPEC; + /** + * @var \metastore\NoSuchObjectException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o3 = null; public function __construct($vals=null) { @@ -27935,8 +30335,17 @@ class ThriftHiveMetastore_drop_function_result { class ThriftHiveMetastore_alter_function_args { static $_TSPEC; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $funcName = null; + /** + * @var \metastore\Function + */ public $newFunc = null; public function __construct($vals=null) { @@ -28052,7 +30461,13 @@ class ThriftHiveMetastore_alter_function_args { class ThriftHiveMetastore_alter_function_result { static $_TSPEC; + /** + * @var \metastore\InvalidOperationException + */ public $o1 = null; + /** + * @var \metastore\MetaException + */ public $o2 = null; public function __construct($vals=null) { @@ -28148,7 +30563,13 @@ class ThriftHiveMetastore_alter_function_result { class ThriftHiveMetastore_get_functions_args { static $_TSPEC; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $pattern = null; public function __construct($vals=null) { @@ -28240,7 +30661,13 @@ class ThriftHiveMetastore_get_functions_args { class ThriftHiveMetastore_get_functions_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -28293,14 +30720,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 +30763,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(); @@ -28360,7 +30787,13 @@ class ThriftHiveMetastore_get_functions_result { class ThriftHiveMetastore_get_function_args { static $_TSPEC; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $funcName = null; public function __construct($vals=null) { @@ -28452,8 +30885,17 @@ class ThriftHiveMetastore_get_function_args { class ThriftHiveMetastore_get_function_result { static $_TSPEC; + /** + * @var \metastore\Function + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ public $o2 = null; public function __construct($vals=null) { @@ -28570,9 +31012,167 @@ 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; + + /** + * @var \metastore\GetAllFunctionsResponse + */ + public $success = null; + /** + * @var \metastore\MetaException + */ + 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; + /** + * @var \metastore\Role + */ public $role = null; public function __construct($vals=null) { @@ -28650,7 +31250,13 @@ class ThriftHiveMetastore_create_role_args { class ThriftHiveMetastore_create_role_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -28744,6 +31350,9 @@ class ThriftHiveMetastore_create_role_result { class ThriftHiveMetastore_drop_role_args { static $_TSPEC; + /** + * @var string + */ public $role_name = null; public function __construct($vals=null) { @@ -28816,7 +31425,13 @@ class ThriftHiveMetastore_drop_role_args { class ThriftHiveMetastore_drop_role_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -28960,7 +31575,13 @@ class ThriftHiveMetastore_get_role_names_args { class ThriftHiveMetastore_get_role_names_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -29013,14 +31634,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 +31677,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(); @@ -29080,11 +31701,29 @@ class ThriftHiveMetastore_get_role_names_result { class ThriftHiveMetastore_grant_role_args { static $_TSPEC; + /** + * @var string + */ public $role_name = null; + /** + * @var string + */ public $principal_name = null; + /** + * @var int + */ public $principal_type = null; + /** + * @var string + */ public $grantor = null; + /** + * @var int + */ public $grantorType = null; + /** + * @var bool + */ public $grant_option = null; public function __construct($vals=null) { @@ -29252,7 +31891,13 @@ class ThriftHiveMetastore_grant_role_args { class ThriftHiveMetastore_grant_role_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -29346,8 +31991,17 @@ class ThriftHiveMetastore_grant_role_result { class ThriftHiveMetastore_revoke_role_args { static $_TSPEC; + /** + * @var string + */ public $role_name = null; + /** + * @var string + */ public $principal_name = null; + /** + * @var int + */ public $principal_type = null; public function __construct($vals=null) { @@ -29458,7 +32112,13 @@ class ThriftHiveMetastore_revoke_role_args { class ThriftHiveMetastore_revoke_role_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -29552,7 +32212,13 @@ class ThriftHiveMetastore_revoke_role_result { class ThriftHiveMetastore_list_roles_args { static $_TSPEC; + /** + * @var string + */ public $principal_name = null; + /** + * @var int + */ public $principal_type = null; public function __construct($vals=null) { @@ -29644,7 +32310,13 @@ class ThriftHiveMetastore_list_roles_args { class ThriftHiveMetastore_list_roles_result { static $_TSPEC; + /** + * @var \metastore\Role[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -29698,15 +32370,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 +32414,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(); @@ -29766,6 +32438,9 @@ class ThriftHiveMetastore_list_roles_result { class ThriftHiveMetastore_grant_revoke_role_args { static $_TSPEC; + /** + * @var \metastore\GrantRevokeRoleRequest + */ public $request = null; public function __construct($vals=null) { @@ -29843,7 +32518,13 @@ class ThriftHiveMetastore_grant_revoke_role_args { class ThriftHiveMetastore_grant_revoke_role_result { static $_TSPEC; + /** + * @var \metastore\GrantRevokeRoleResponse + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -29942,6 +32623,9 @@ class ThriftHiveMetastore_grant_revoke_role_result { class ThriftHiveMetastore_get_principals_in_role_args { static $_TSPEC; + /** + * @var \metastore\GetPrincipalsInRoleRequest + */ public $request = null; public function __construct($vals=null) { @@ -30019,7 +32703,13 @@ class ThriftHiveMetastore_get_principals_in_role_args { class ThriftHiveMetastore_get_principals_in_role_result { static $_TSPEC; + /** + * @var \metastore\GetPrincipalsInRoleResponse + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -30118,6 +32808,9 @@ class ThriftHiveMetastore_get_principals_in_role_result { class ThriftHiveMetastore_get_role_grants_for_principal_args { static $_TSPEC; + /** + * @var \metastore\GetRoleGrantsForPrincipalRequest + */ public $request = null; public function __construct($vals=null) { @@ -30195,7 +32888,13 @@ class ThriftHiveMetastore_get_role_grants_for_principal_args { class ThriftHiveMetastore_get_role_grants_for_principal_result { static $_TSPEC; + /** + * @var \metastore\GetRoleGrantsForPrincipalResponse + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -30294,8 +32993,17 @@ class ThriftHiveMetastore_get_role_grants_for_principal_result { class ThriftHiveMetastore_get_privilege_set_args { static $_TSPEC; + /** + * @var \metastore\HiveObjectRef + */ public $hiveObject = null; + /** + * @var string + */ public $user_name = null; + /** + * @var string[] + */ public $group_names = null; public function __construct($vals=null) { @@ -30370,14 +33078,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 +33126,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(); @@ -30437,7 +33145,13 @@ class ThriftHiveMetastore_get_privilege_set_args { class ThriftHiveMetastore_get_privilege_set_result { static $_TSPEC; + /** + * @var \metastore\PrincipalPrivilegeSet + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -30536,8 +33250,17 @@ class ThriftHiveMetastore_get_privilege_set_result { class ThriftHiveMetastore_list_privileges_args { static $_TSPEC; + /** + * @var string + */ public $principal_name = null; + /** + * @var int + */ public $principal_type = null; + /** + * @var \metastore\HiveObjectRef + */ public $hiveObject = null; public function __construct($vals=null) { @@ -30653,7 +33376,13 @@ class ThriftHiveMetastore_list_privileges_args { class ThriftHiveMetastore_list_privileges_result { static $_TSPEC; + /** + * @var \metastore\HiveObjectPrivilege[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -30707,15 +33436,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 +33480,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(); @@ -30775,6 +33504,9 @@ class ThriftHiveMetastore_list_privileges_result { class ThriftHiveMetastore_grant_privileges_args { static $_TSPEC; + /** + * @var \metastore\PrivilegeBag + */ public $privileges = null; public function __construct($vals=null) { @@ -30852,7 +33584,13 @@ class ThriftHiveMetastore_grant_privileges_args { class ThriftHiveMetastore_grant_privileges_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -30946,6 +33684,9 @@ class ThriftHiveMetastore_grant_privileges_result { class ThriftHiveMetastore_revoke_privileges_args { static $_TSPEC; + /** + * @var \metastore\PrivilegeBag + */ public $privileges = null; public function __construct($vals=null) { @@ -31023,7 +33764,13 @@ class ThriftHiveMetastore_revoke_privileges_args { class ThriftHiveMetastore_revoke_privileges_result { static $_TSPEC; + /** + * @var bool + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -31117,6 +33864,9 @@ class ThriftHiveMetastore_revoke_privileges_result { class ThriftHiveMetastore_grant_revoke_privileges_args { static $_TSPEC; + /** + * @var \metastore\GrantRevokePrivilegeRequest + */ public $request = null; public function __construct($vals=null) { @@ -31194,7 +33944,13 @@ class ThriftHiveMetastore_grant_revoke_privileges_args { class ThriftHiveMetastore_grant_revoke_privileges_result { static $_TSPEC; + /** + * @var \metastore\GrantRevokePrivilegeResponse + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -31293,7 +34049,13 @@ class ThriftHiveMetastore_grant_revoke_privileges_result { class ThriftHiveMetastore_set_ugi_args { static $_TSPEC; + /** + * @var string + */ public $user_name = null; + /** + * @var string[] + */ public $group_names = null; public function __construct($vals=null) { @@ -31352,14 +34114,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 +34154,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(); @@ -31411,7 +34173,13 @@ class ThriftHiveMetastore_set_ugi_args { class ThriftHiveMetastore_set_ugi_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -31464,14 +34232,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 +34275,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(); @@ -31531,7 +34299,13 @@ class ThriftHiveMetastore_set_ugi_result { class ThriftHiveMetastore_get_delegation_token_args { static $_TSPEC; + /** + * @var string + */ public $token_owner = null; + /** + * @var string + */ public $renewer_kerberos_principal_name = null; public function __construct($vals=null) { @@ -31623,7 +34397,13 @@ class ThriftHiveMetastore_get_delegation_token_args { class ThriftHiveMetastore_get_delegation_token_result { static $_TSPEC; + /** + * @var string + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -31717,6 +34497,9 @@ class ThriftHiveMetastore_get_delegation_token_result { class ThriftHiveMetastore_renew_delegation_token_args { static $_TSPEC; + /** + * @var string + */ public $token_str_form = null; public function __construct($vals=null) { @@ -31789,7 +34572,13 @@ class ThriftHiveMetastore_renew_delegation_token_args { class ThriftHiveMetastore_renew_delegation_token_result { static $_TSPEC; + /** + * @var int + */ public $success = null; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -31883,6 +34672,9 @@ class ThriftHiveMetastore_renew_delegation_token_result { class ThriftHiveMetastore_cancel_delegation_token_args { static $_TSPEC; + /** + * @var string + */ public $token_str_form = null; public function __construct($vals=null) { @@ -31955,6 +34747,9 @@ class ThriftHiveMetastore_cancel_delegation_token_args { class ThriftHiveMetastore_cancel_delegation_token_result { static $_TSPEC; + /** + * @var \metastore\MetaException + */ public $o1 = null; public function __construct($vals=null) { @@ -32079,6 +34874,9 @@ class ThriftHiveMetastore_get_open_txns_args { class ThriftHiveMetastore_get_open_txns_result { static $_TSPEC; + /** + * @var \metastore\GetOpenTxnsResponse + */ public $success = null; public function __construct($vals=null) { @@ -32206,6 +35004,9 @@ class ThriftHiveMetastore_get_open_txns_info_args { class ThriftHiveMetastore_get_open_txns_info_result { static $_TSPEC; + /** + * @var \metastore\GetOpenTxnsInfoResponse + */ public $success = null; public function __construct($vals=null) { @@ -32283,6 +35084,9 @@ class ThriftHiveMetastore_get_open_txns_info_result { class ThriftHiveMetastore_open_txns_args { static $_TSPEC; + /** + * @var \metastore\OpenTxnRequest + */ public $rqst = null; public function __construct($vals=null) { @@ -32360,6 +35164,9 @@ class ThriftHiveMetastore_open_txns_args { class ThriftHiveMetastore_open_txns_result { static $_TSPEC; + /** + * @var \metastore\OpenTxnsResponse + */ public $success = null; public function __construct($vals=null) { @@ -32437,6 +35244,9 @@ class ThriftHiveMetastore_open_txns_result { class ThriftHiveMetastore_abort_txn_args { static $_TSPEC; + /** + * @var \metastore\AbortTxnRequest + */ public $rqst = null; public function __construct($vals=null) { @@ -32514,6 +35324,9 @@ class ThriftHiveMetastore_abort_txn_args { class ThriftHiveMetastore_abort_txn_result { static $_TSPEC; + /** + * @var \metastore\NoSuchTxnException + */ public $o1 = null; public function __construct($vals=null) { @@ -32588,6 +35401,9 @@ class ThriftHiveMetastore_abort_txn_result { class ThriftHiveMetastore_commit_txn_args { static $_TSPEC; + /** + * @var \metastore\CommitTxnRequest + */ public $rqst = null; public function __construct($vals=null) { @@ -32665,7 +35481,13 @@ class ThriftHiveMetastore_commit_txn_args { class ThriftHiveMetastore_commit_txn_result { static $_TSPEC; + /** + * @var \metastore\NoSuchTxnException + */ public $o1 = null; + /** + * @var \metastore\TxnAbortedException + */ public $o2 = null; public function __construct($vals=null) { @@ -32761,6 +35583,9 @@ class ThriftHiveMetastore_commit_txn_result { class ThriftHiveMetastore_lock_args { static $_TSPEC; + /** + * @var \metastore\LockRequest + */ public $rqst = null; public function __construct($vals=null) { @@ -32838,8 +35663,17 @@ class ThriftHiveMetastore_lock_args { class ThriftHiveMetastore_lock_result { static $_TSPEC; + /** + * @var \metastore\LockResponse + */ public $success = null; + /** + * @var \metastore\NoSuchTxnException + */ public $o1 = null; + /** + * @var \metastore\TxnAbortedException + */ public $o2 = null; public function __construct($vals=null) { @@ -32959,6 +35793,9 @@ class ThriftHiveMetastore_lock_result { class ThriftHiveMetastore_check_lock_args { static $_TSPEC; + /** + * @var \metastore\CheckLockRequest + */ public $rqst = null; public function __construct($vals=null) { @@ -33036,9 +35873,21 @@ class ThriftHiveMetastore_check_lock_args { class ThriftHiveMetastore_check_lock_result { static $_TSPEC; + /** + * @var \metastore\LockResponse + */ public $success = null; + /** + * @var \metastore\NoSuchTxnException + */ public $o1 = null; + /** + * @var \metastore\TxnAbortedException + */ public $o2 = null; + /** + * @var \metastore\NoSuchLockException + */ public $o3 = null; public function __construct($vals=null) { @@ -33179,6 +36028,9 @@ class ThriftHiveMetastore_check_lock_result { class ThriftHiveMetastore_unlock_args { static $_TSPEC; + /** + * @var \metastore\UnlockRequest + */ public $rqst = null; public function __construct($vals=null) { @@ -33256,7 +36108,13 @@ class ThriftHiveMetastore_unlock_args { class ThriftHiveMetastore_unlock_result { static $_TSPEC; + /** + * @var \metastore\NoSuchLockException + */ public $o1 = null; + /** + * @var \metastore\TxnOpenException + */ public $o2 = null; public function __construct($vals=null) { @@ -33352,6 +36210,9 @@ class ThriftHiveMetastore_unlock_result { class ThriftHiveMetastore_show_locks_args { static $_TSPEC; + /** + * @var \metastore\ShowLocksRequest + */ public $rqst = null; public function __construct($vals=null) { @@ -33429,6 +36290,9 @@ class ThriftHiveMetastore_show_locks_args { class ThriftHiveMetastore_show_locks_result { static $_TSPEC; + /** + * @var \metastore\ShowLocksResponse + */ public $success = null; public function __construct($vals=null) { @@ -33506,6 +36370,9 @@ class ThriftHiveMetastore_show_locks_result { class ThriftHiveMetastore_heartbeat_args { static $_TSPEC; + /** + * @var \metastore\HeartbeatRequest + */ public $ids = null; public function __construct($vals=null) { @@ -33583,8 +36450,17 @@ class ThriftHiveMetastore_heartbeat_args { class ThriftHiveMetastore_heartbeat_result { static $_TSPEC; + /** + * @var \metastore\NoSuchLockException + */ public $o1 = null; + /** + * @var \metastore\NoSuchTxnException + */ public $o2 = null; + /** + * @var \metastore\TxnAbortedException + */ public $o3 = null; public function __construct($vals=null) { @@ -33701,6 +36577,9 @@ class ThriftHiveMetastore_heartbeat_result { class ThriftHiveMetastore_heartbeat_txn_range_args { static $_TSPEC; + /** + * @var \metastore\HeartbeatTxnRangeRequest + */ public $txns = null; public function __construct($vals=null) { @@ -33778,6 +36657,9 @@ class ThriftHiveMetastore_heartbeat_txn_range_args { class ThriftHiveMetastore_heartbeat_txn_range_result { static $_TSPEC; + /** + * @var \metastore\HeartbeatTxnRangeResponse + */ public $success = null; public function __construct($vals=null) { @@ -33855,6 +36737,9 @@ class ThriftHiveMetastore_heartbeat_txn_range_result { class ThriftHiveMetastore_compact_args { static $_TSPEC; + /** + * @var \metastore\CompactionRequest + */ public $rqst = null; public function __construct($vals=null) { @@ -33982,6 +36867,9 @@ class ThriftHiveMetastore_compact_result { class ThriftHiveMetastore_show_compact_args { static $_TSPEC; + /** + * @var \metastore\ShowCompactRequest + */ public $rqst = null; public function __construct($vals=null) { @@ -34059,6 +36947,9 @@ class ThriftHiveMetastore_show_compact_args { class ThriftHiveMetastore_show_compact_result { static $_TSPEC; + /** + * @var \metastore\ShowCompactResponse + */ public $success = null; public function __construct($vals=null) { @@ -34136,6 +37027,9 @@ class ThriftHiveMetastore_show_compact_result { class ThriftHiveMetastore_add_dynamic_partitions_args { static $_TSPEC; + /** + * @var \metastore\AddDynamicPartitions + */ public $rqst = null; public function __construct($vals=null) { @@ -34213,7 +37107,13 @@ class ThriftHiveMetastore_add_dynamic_partitions_args { class ThriftHiveMetastore_add_dynamic_partitions_result { static $_TSPEC; + /** + * @var \metastore\NoSuchTxnException + */ public $o1 = null; + /** + * @var \metastore\TxnAbortedException + */ public $o2 = null; public function __construct($vals=null) { @@ -34309,6 +37209,9 @@ class ThriftHiveMetastore_add_dynamic_partitions_result { class ThriftHiveMetastore_get_next_notification_args { static $_TSPEC; + /** + * @var \metastore\NotificationEventRequest + */ public $rqst = null; public function __construct($vals=null) { @@ -34386,6 +37289,9 @@ class ThriftHiveMetastore_get_next_notification_args { class ThriftHiveMetastore_get_next_notification_result { static $_TSPEC; + /** + * @var \metastore\NotificationEventResponse + */ public $success = null; public function __construct($vals=null) { @@ -34513,6 +37419,9 @@ class ThriftHiveMetastore_get_current_notificationEventId_args { class ThriftHiveMetastore_get_current_notificationEventId_result { static $_TSPEC; + /** + * @var \metastore\CurrentNotificationEventId + */ public $success = null; public function __construct($vals=null) { @@ -34590,6 +37499,9 @@ class ThriftHiveMetastore_get_current_notificationEventId_result { class ThriftHiveMetastore_fire_listener_event_args { static $_TSPEC; + /** + * @var \metastore\FireEventRequest + */ public $rqst = null; public function __construct($vals=null) { @@ -34667,6 +37579,9 @@ class ThriftHiveMetastore_fire_listener_event_args { class ThriftHiveMetastore_fire_listener_event_result { static $_TSPEC; + /** + * @var \metastore\FireEventResponse + */ public $success = null; public function __construct($vals=null) { diff --git a/metastore/src/gen/thrift/gen-php/metastore/Types.php b/metastore/src/gen/thrift/gen-php/metastore/Types.php index a1ce8cd..949a6e9 100644 --- a/metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -2,7 +2,7 @@ namespace metastore; /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -13,6 +13,7 @@ use Thrift\Type\TMessageType; use Thrift\Exception\TException; use Thrift\Exception\TProtocolException; use Thrift\Protocol\TProtocol; +use Thrift\Protocol\TBinaryProtocolAccelerated; use Thrift\Exception\TApplicationException; @@ -145,7 +146,13 @@ final class ResourceType { class Version { static $_TSPEC; + /** + * @var string + */ public $version = null; + /** + * @var string + */ public $comments = null; public function __construct($vals=null) { @@ -237,8 +244,17 @@ class Version { class FieldSchema { static $_TSPEC; + /** + * @var string + */ public $name = null; + /** + * @var string + */ public $type = null; + /** + * @var string + */ public $comment = null; public function __construct($vals=null) { @@ -349,9 +365,21 @@ class FieldSchema { class Type { static $_TSPEC; + /** + * @var string + */ public $name = null; + /** + * @var string + */ public $type1 = null; + /** + * @var string + */ public $type2 = null; + /** + * @var \metastore\FieldSchema[] + */ public $fields = null; public function __construct($vals=null) { @@ -509,10 +537,25 @@ class Type { class HiveObjectRef { static $_TSPEC; + /** + * @var int + */ public $objectType = null; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $objectName = null; + /** + * @var string[] + */ public $partValues = null; + /** + * @var string + */ public $columnName = null; public function __construct($vals=null) { @@ -687,10 +730,25 @@ class HiveObjectRef { class PrivilegeGrantInfo { static $_TSPEC; + /** + * @var string + */ public $privilege = null; + /** + * @var int + */ public $createTime = null; + /** + * @var string + */ public $grantor = null; + /** + * @var int + */ public $grantorType = null; + /** + * @var bool + */ public $grantOption = null; public function __construct($vals=null) { @@ -839,9 +897,21 @@ class PrivilegeGrantInfo { class HiveObjectPrivilege { static $_TSPEC; + /** + * @var \metastore\HiveObjectRef + */ public $hiveObject = null; + /** + * @var string + */ public $principalName = null; + /** + * @var int + */ public $principalType = null; + /** + * @var \metastore\PrivilegeGrantInfo + */ public $grantInfo = null; public function __construct($vals=null) { @@ -981,6 +1051,9 @@ class HiveObjectPrivilege { class PrivilegeBag { static $_TSPEC; + /** + * @var \metastore\HiveObjectPrivilege[] + */ public $privileges = null; public function __construct($vals=null) { @@ -1081,8 +1154,17 @@ class PrivilegeBag { class PrincipalPrivilegeSet { static $_TSPEC; + /** + * @var array + */ public $userPrivileges = null; + /** + * @var array + */ public $groupPrivileges = null; + /** + * @var array + */ public $rolePrivileges = null; public function __construct($vals=null) { @@ -1370,8 +1452,17 @@ class PrincipalPrivilegeSet { class GrantRevokePrivilegeRequest { static $_TSPEC; + /** + * @var int + */ public $requestType = null; + /** + * @var \metastore\PrivilegeBag + */ public $privileges = null; + /** + * @var bool + */ public $revokeGrantOption = null; public function __construct($vals=null) { @@ -1487,6 +1578,9 @@ class GrantRevokePrivilegeRequest { class GrantRevokePrivilegeResponse { static $_TSPEC; + /** + * @var bool + */ public $success = null; public function __construct($vals=null) { @@ -1559,8 +1653,17 @@ class GrantRevokePrivilegeResponse { class Role { static $_TSPEC; + /** + * @var string + */ public $roleName = null; + /** + * @var int + */ public $createTime = null; + /** + * @var string + */ public $ownerName = null; public function __construct($vals=null) { @@ -1671,12 +1774,33 @@ class Role { class RolePrincipalGrant { static $_TSPEC; + /** + * @var string + */ public $roleName = null; + /** + * @var string + */ public $principalName = null; + /** + * @var int + */ public $principalType = null; + /** + * @var bool + */ public $grantOption = null; + /** + * @var int + */ public $grantTime = null; + /** + * @var string + */ public $grantorName = null; + /** + * @var int + */ public $grantorPrincipalType = null; public function __construct($vals=null) { @@ -1863,7 +1987,13 @@ class RolePrincipalGrant { class GetRoleGrantsForPrincipalRequest { static $_TSPEC; + /** + * @var string + */ public $principal_name = null; + /** + * @var int + */ public $principal_type = null; public function __construct($vals=null) { @@ -1955,6 +2085,9 @@ class GetRoleGrantsForPrincipalRequest { class GetRoleGrantsForPrincipalResponse { static $_TSPEC; + /** + * @var \metastore\RolePrincipalGrant[] + */ public $principalGrants = null; public function __construct($vals=null) { @@ -2055,6 +2188,9 @@ class GetRoleGrantsForPrincipalResponse { class GetPrincipalsInRoleRequest { static $_TSPEC; + /** + * @var string + */ public $roleName = null; public function __construct($vals=null) { @@ -2127,6 +2263,9 @@ class GetPrincipalsInRoleRequest { class GetPrincipalsInRoleResponse { static $_TSPEC; + /** + * @var \metastore\RolePrincipalGrant[] + */ public $principalGrants = null; public function __construct($vals=null) { @@ -2227,12 +2366,33 @@ class GetPrincipalsInRoleResponse { class GrantRevokeRoleRequest { static $_TSPEC; + /** + * @var int + */ public $requestType = null; + /** + * @var string + */ public $roleName = null; + /** + * @var string + */ public $principalName = null; + /** + * @var int + */ public $principalType = null; + /** + * @var string + */ public $grantor = null; + /** + * @var int + */ public $grantorType = null; + /** + * @var bool + */ public $grantOption = null; public function __construct($vals=null) { @@ -2419,6 +2579,9 @@ class GrantRevokeRoleRequest { class GrantRevokeRoleResponse { static $_TSPEC; + /** + * @var bool + */ public $success = null; public function __construct($vals=null) { @@ -2491,12 +2654,33 @@ class GrantRevokeRoleResponse { class Database { static $_TSPEC; + /** + * @var string + */ public $name = null; + /** + * @var string + */ public $description = null; + /** + * @var string + */ public $locationUri = null; + /** + * @var array + */ public $parameters = null; + /** + * @var \metastore\PrincipalPrivilegeSet + */ public $privileges = null; + /** + * @var string + */ public $ownerName = null; + /** + * @var int + */ public $ownerType = null; public function __construct($vals=null) { @@ -2722,8 +2906,17 @@ class Database { class SerDeInfo { static $_TSPEC; + /** + * @var string + */ public $name = null; + /** + * @var string + */ public $serializationLib = null; + /** + * @var array + */ public $parameters = null; public function __construct($vals=null) { @@ -2868,7 +3061,13 @@ class SerDeInfo { class Order { static $_TSPEC; + /** + * @var string + */ public $col = null; + /** + * @var int + */ public $order = null; public function __construct($vals=null) { @@ -2960,8 +3159,17 @@ class Order { class SkewedInfo { static $_TSPEC; + /** + * @var string[] + */ public $skewedColNames = null; + /** + * @var (string[])[] + */ public $skewedColValues = null; + /** + * @var array + */ public $skewedColValueLocationMaps = null; public function __construct($vals=null) { @@ -3204,17 +3412,53 @@ class SkewedInfo { class StorageDescriptor { static $_TSPEC; + /** + * @var \metastore\FieldSchema[] + */ public $cols = null; + /** + * @var string + */ public $location = null; + /** + * @var string + */ public $inputFormat = null; + /** + * @var string + */ public $outputFormat = null; + /** + * @var bool + */ public $compressed = null; + /** + * @var int + */ public $numBuckets = null; + /** + * @var \metastore\SerDeInfo + */ public $serdeInfo = null; + /** + * @var string[] + */ public $bucketCols = null; + /** + * @var \metastore\Order[] + */ public $sortCols = null; + /** + * @var array + */ public $parameters = null; + /** + * @var \metastore\SkewedInfo + */ public $skewedInfo = null; + /** + * @var bool + */ public $storedAsSubDirectories = null; public function __construct($vals=null) { @@ -3622,19 +3866,61 @@ class StorageDescriptor { class Table { static $_TSPEC; + /** + * @var string + */ public $tableName = null; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $owner = null; + /** + * @var int + */ public $createTime = null; + /** + * @var int + */ public $lastAccessTime = null; + /** + * @var int + */ public $retention = null; + /** + * @var \metastore\StorageDescriptor + */ public $sd = null; + /** + * @var \metastore\FieldSchema[] + */ public $partitionKeys = null; + /** + * @var array + */ public $parameters = null; + /** + * @var string + */ public $viewOriginalText = null; + /** + * @var string + */ public $viewExpandedText = null; + /** + * @var string + */ public $tableType = null; + /** + * @var \metastore\PrincipalPrivilegeSet + */ public $privileges = null; + /** + * @var bool + */ public $temporary = false; public function __construct($vals=null) { @@ -4026,13 +4312,37 @@ class Table { class Partition { static $_TSPEC; + /** + * @var string[] + */ public $values = null; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $tableName = null; + /** + * @var int + */ public $createTime = null; + /** + * @var int + */ public $lastAccessTime = null; + /** + * @var \metastore\StorageDescriptor + */ public $sd = null; + /** + * @var array + */ public $parameters = null; + /** + * @var \metastore\PrincipalPrivilegeSet + */ public $privileges = null; public function __construct($vals=null) { @@ -4308,11 +4618,29 @@ class Partition { class PartitionWithoutSD { static $_TSPEC; + /** + * @var string[] + */ public $values = null; + /** + * @var int + */ public $createTime = null; + /** + * @var int + */ public $lastAccessTime = null; + /** + * @var string + */ public $relativePath = null; + /** + * @var array + */ public $parameters = null; + /** + * @var \metastore\PrincipalPrivilegeSet + */ public $privileges = null; public function __construct($vals=null) { @@ -4545,7 +4873,13 @@ class PartitionWithoutSD { class PartitionSpecWithSharedSD { static $_TSPEC; + /** + * @var \metastore\PartitionWithoutSD[] + */ public $partitions = null; + /** + * @var \metastore\StorageDescriptor + */ public $sd = null; public function __construct($vals=null) { @@ -4670,6 +5004,9 @@ class PartitionSpecWithSharedSD { class PartitionListComposingSpec { static $_TSPEC; + /** + * @var \metastore\Partition[] + */ public $partitions = null; public function __construct($vals=null) { @@ -4770,10 +5107,25 @@ class PartitionListComposingSpec { class PartitionSpec { static $_TSPEC; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $tableName = null; + /** + * @var string + */ public $rootPath = null; + /** + * @var \metastore\PartitionSpecWithSharedSD + */ public $sharedSDPartitionSpec = null; + /** + * @var \metastore\PartitionListComposingSpec + */ public $partitionList = null; public function __construct($vals=null) { @@ -4932,15 +5284,45 @@ class PartitionSpec { class Index { static $_TSPEC; + /** + * @var string + */ public $indexName = null; + /** + * @var string + */ public $indexHandlerClass = null; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $origTableName = null; + /** + * @var int + */ public $createTime = null; + /** + * @var int + */ public $lastAccessTime = null; + /** + * @var string + */ public $indexTableName = null; + /** + * @var \metastore\StorageDescriptor + */ public $sd = null; + /** + * @var array + */ public $parameters = null; + /** + * @var bool + */ public $deferredRebuild = null; public function __construct($vals=null) { @@ -5223,8 +5605,17 @@ class Index { class BooleanColumnStatsData { static $_TSPEC; + /** + * @var int + */ public $numTrues = null; + /** + * @var int + */ public $numFalses = null; + /** + * @var int + */ public $numNulls = null; public function __construct($vals=null) { @@ -5335,9 +5726,21 @@ class BooleanColumnStatsData { class DoubleColumnStatsData { static $_TSPEC; + /** + * @var double + */ public $lowValue = null; + /** + * @var double + */ public $highValue = null; + /** + * @var int + */ public $numNulls = null; + /** + * @var int + */ public $numDVs = null; public function __construct($vals=null) { @@ -5467,9 +5870,21 @@ class DoubleColumnStatsData { class LongColumnStatsData { static $_TSPEC; + /** + * @var int + */ public $lowValue = null; + /** + * @var int + */ public $highValue = null; + /** + * @var int + */ public $numNulls = null; + /** + * @var int + */ public $numDVs = null; public function __construct($vals=null) { @@ -5599,9 +6014,21 @@ class LongColumnStatsData { class StringColumnStatsData { static $_TSPEC; + /** + * @var int + */ public $maxColLen = null; + /** + * @var double + */ public $avgColLen = null; + /** + * @var int + */ public $numNulls = null; + /** + * @var int + */ public $numDVs = null; public function __construct($vals=null) { @@ -5731,8 +6158,17 @@ class StringColumnStatsData { class BinaryColumnStatsData { static $_TSPEC; + /** + * @var int + */ public $maxColLen = null; + /** + * @var double + */ public $avgColLen = null; + /** + * @var int + */ public $numNulls = null; public function __construct($vals=null) { @@ -5843,7 +6279,13 @@ class BinaryColumnStatsData { class Decimal { static $_TSPEC; + /** + * @var string + */ public $unscaled = null; + /** + * @var int + */ public $scale = null; public function __construct($vals=null) { @@ -5935,9 +6377,21 @@ class Decimal { class DecimalColumnStatsData { static $_TSPEC; + /** + * @var \metastore\Decimal + */ public $lowValue = null; + /** + * @var \metastore\Decimal + */ public $highValue = null; + /** + * @var int + */ public $numNulls = null; + /** + * @var int + */ public $numDVs = null; public function __construct($vals=null) { @@ -6077,6 +6531,9 @@ class DecimalColumnStatsData { class Date { static $_TSPEC; + /** + * @var int + */ public $daysSinceEpoch = null; public function __construct($vals=null) { @@ -6149,9 +6606,21 @@ class Date { class DateColumnStatsData { static $_TSPEC; + /** + * @var \metastore\Date + */ public $lowValue = null; + /** + * @var \metastore\Date + */ public $highValue = null; + /** + * @var int + */ public $numNulls = null; + /** + * @var int + */ public $numDVs = null; public function __construct($vals=null) { @@ -6291,12 +6760,33 @@ class DateColumnStatsData { class ColumnStatisticsData { static $_TSPEC; + /** + * @var \metastore\BooleanColumnStatsData + */ public $booleanStats = null; + /** + * @var \metastore\LongColumnStatsData + */ public $longStats = null; + /** + * @var \metastore\DoubleColumnStatsData + */ public $doubleStats = null; + /** + * @var \metastore\StringColumnStatsData + */ public $stringStats = null; + /** + * @var \metastore\BinaryColumnStatsData + */ public $binaryStats = null; + /** + * @var \metastore\DecimalColumnStatsData + */ public $decimalStats = null; + /** + * @var \metastore\DateColumnStatsData + */ public $dateStats = null; public function __construct($vals=null) { @@ -6518,8 +7008,17 @@ class ColumnStatisticsData { class ColumnStatisticsObj { static $_TSPEC; + /** + * @var string + */ public $colName = null; + /** + * @var string + */ public $colType = null; + /** + * @var \metastore\ColumnStatisticsData + */ public $statsData = null; public function __construct($vals=null) { @@ -6635,10 +7134,25 @@ class ColumnStatisticsObj { class ColumnStatisticsDesc { static $_TSPEC; + /** + * @var bool + */ public $isTblLevel = null; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $tableName = null; + /** + * @var string + */ public $partName = null; + /** + * @var int + */ public $lastAnalyzed = null; public function __construct($vals=null) { @@ -6787,7 +7301,13 @@ class ColumnStatisticsDesc { class ColumnStatistics { static $_TSPEC; + /** + * @var \metastore\ColumnStatisticsDesc + */ public $statsDesc = null; + /** + * @var \metastore\ColumnStatisticsObj[] + */ public $statsObj = null; public function __construct($vals=null) { @@ -6912,7 +7432,13 @@ class ColumnStatistics { class AggrStats { static $_TSPEC; + /** + * @var \metastore\ColumnStatisticsObj[] + */ public $colStats = null; + /** + * @var int + */ public $partsFound = null; public function __construct($vals=null) { @@ -7032,6 +7558,9 @@ class AggrStats { class SetPartitionsStatsRequest { static $_TSPEC; + /** + * @var \metastore\ColumnStatistics[] + */ public $colStats = null; public function __construct($vals=null) { @@ -7132,7 +7661,13 @@ class SetPartitionsStatsRequest { class Schema { static $_TSPEC; + /** + * @var \metastore\FieldSchema[] + */ public $fieldSchemas = null; + /** + * @var array + */ public $properties = null; public function __construct($vals=null) { @@ -7286,6 +7821,9 @@ class Schema { class EnvironmentContext { static $_TSPEC; + /** + * @var array + */ public $properties = null; public function __construct($vals=null) { @@ -7392,7 +7930,13 @@ class EnvironmentContext { class PartitionsByExprResult { static $_TSPEC; + /** + * @var \metastore\Partition[] + */ public $partitions = null; + /** + * @var bool + */ public $hasUnknownPartitions = null; public function __construct($vals=null) { @@ -7512,10 +8056,25 @@ class PartitionsByExprResult { class PartitionsByExprRequest { static $_TSPEC; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $tblName = null; + /** + * @var string + */ public $expr = null; + /** + * @var string + */ public $defaultPartitionName = null; + /** + * @var int + */ public $maxParts = -1; public function __construct($vals=null) { @@ -7664,6 +8223,9 @@ class PartitionsByExprRequest { class TableStatsResult { static $_TSPEC; + /** + * @var \metastore\ColumnStatisticsObj[] + */ public $tableStats = null; public function __construct($vals=null) { @@ -7764,6 +8326,9 @@ class TableStatsResult { class PartitionsStatsResult { static $_TSPEC; + /** + * @var array + */ public $partStats = null; public function __construct($vals=null) { @@ -7895,8 +8460,17 @@ class PartitionsStatsResult { class TableStatsRequest { static $_TSPEC; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $tblName = null; + /** + * @var string[] + */ public $colNames = null; public function __construct($vals=null) { @@ -8033,9 +8607,21 @@ class TableStatsRequest { class PartitionsStatsRequest { static $_TSPEC; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $tblName = null; + /** + * @var string[] + */ public $colNames = null; + /** + * @var string[] + */ public $partNames = null; public function __construct($vals=null) { @@ -8217,6 +8803,9 @@ class PartitionsStatsRequest { class AddPartitionsResult { static $_TSPEC; + /** + * @var \metastore\Partition[] + */ public $partitions = null; public function __construct($vals=null) { @@ -8317,10 +8906,25 @@ class AddPartitionsResult { class AddPartitionsRequest { static $_TSPEC; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $tblName = null; + /** + * @var \metastore\Partition[] + */ public $parts = null; + /** + * @var bool + */ public $ifNotExists = null; + /** + * @var bool + */ public $needResult = true; public function __construct($vals=null) { @@ -8497,6 +9101,9 @@ class AddPartitionsRequest { class DropPartitionsResult { static $_TSPEC; + /** + * @var \metastore\Partition[] + */ public $partitions = null; public function __construct($vals=null) { @@ -8597,7 +9204,13 @@ class DropPartitionsResult { class DropPartitionsExpr { static $_TSPEC; + /** + * @var string + */ public $expr = null; + /** + * @var int + */ public $partArchiveLevel = null; public function __construct($vals=null) { @@ -8689,7 +9302,13 @@ class DropPartitionsExpr { class RequestPartsSpec { static $_TSPEC; + /** + * @var string[] + */ public $names = null; + /** + * @var \metastore\DropPartitionsExpr[] + */ public $exprs = null; public function __construct($vals=null) { @@ -8835,13 +9454,37 @@ class RequestPartsSpec { class DropPartitionsRequest { static $_TSPEC; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $tblName = null; + /** + * @var \metastore\RequestPartsSpec + */ public $parts = null; + /** + * @var bool + */ public $deleteData = null; + /** + * @var bool + */ public $ifExists = true; + /** + * @var bool + */ public $ignoreProtection = null; + /** + * @var \metastore\EnvironmentContext + */ public $environmentContext = null; + /** + * @var bool + */ public $needResult = true; public function __construct($vals=null) { @@ -9057,7 +9700,13 @@ class DropPartitionsRequest { class ResourceUri { static $_TSPEC; + /** + * @var int + */ public $resourceType = null; + /** + * @var string + */ public $uri = null; public function __construct($vals=null) { @@ -9149,13 +9798,37 @@ class ResourceUri { class Function { static $_TSPEC; + /** + * @var string + */ public $functionName = null; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $className = null; + /** + * @var string + */ public $ownerName = null; + /** + * @var int + */ public $ownerType = null; + /** + * @var int + */ public $createTime = null; + /** + * @var int + */ public $functionType = null; + /** + * @var \metastore\ResourceUri[] + */ public $resourceUris = null; public function __construct($vals=null) { @@ -9389,9 +10062,21 @@ class Function { class TxnInfo { static $_TSPEC; + /** + * @var int + */ public $id = null; + /** + * @var int + */ public $state = null; + /** + * @var string + */ public $user = null; + /** + * @var string + */ public $hostname = null; public function __construct($vals=null) { @@ -9521,7 +10206,13 @@ class TxnInfo { class GetOpenTxnsInfoResponse { static $_TSPEC; + /** + * @var int + */ public $txn_high_water_mark = null; + /** + * @var \metastore\TxnInfo[] + */ public $open_txns = null; public function __construct($vals=null) { @@ -9641,7 +10332,13 @@ class GetOpenTxnsInfoResponse { class GetOpenTxnsResponse { static $_TSPEC; + /** + * @var int + */ public $txn_high_water_mark = null; + /** + * @var int[] + */ public $open_txns = null; public function __construct($vals=null) { @@ -9767,8 +10464,17 @@ class GetOpenTxnsResponse { class OpenTxnRequest { static $_TSPEC; + /** + * @var int + */ public $num_txns = null; + /** + * @var string + */ public $user = null; + /** + * @var string + */ public $hostname = null; public function __construct($vals=null) { @@ -9879,6 +10585,9 @@ class OpenTxnRequest { class OpenTxnsResponse { static $_TSPEC; + /** + * @var int[] + */ public $txn_ids = null; public function __construct($vals=null) { @@ -9977,6 +10686,9 @@ class OpenTxnsResponse { class AbortTxnRequest { static $_TSPEC; + /** + * @var int + */ public $txnid = null; public function __construct($vals=null) { @@ -10049,6 +10761,9 @@ class AbortTxnRequest { class CommitTxnRequest { static $_TSPEC; + /** + * @var int + */ public $txnid = null; public function __construct($vals=null) { @@ -10121,10 +10836,25 @@ class CommitTxnRequest { class LockComponent { static $_TSPEC; + /** + * @var int + */ public $type = null; + /** + * @var int + */ public $level = null; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $tablename = null; + /** + * @var string + */ public $partitionname = null; public function __construct($vals=null) { @@ -10273,9 +11003,21 @@ class LockComponent { class LockRequest { static $_TSPEC; + /** + * @var \metastore\LockComponent[] + */ public $component = null; + /** + * @var int + */ public $txnid = null; + /** + * @var string + */ public $user = null; + /** + * @var string + */ public $hostname = null; public function __construct($vals=null) { @@ -10433,7 +11175,13 @@ class LockRequest { class LockResponse { static $_TSPEC; + /** + * @var int + */ public $lockid = null; + /** + * @var int + */ public $state = null; public function __construct($vals=null) { @@ -10525,6 +11273,9 @@ class LockResponse { class CheckLockRequest { static $_TSPEC; + /** + * @var int + */ public $lockid = null; public function __construct($vals=null) { @@ -10597,6 +11348,9 @@ class CheckLockRequest { class UnlockRequest { static $_TSPEC; + /** + * @var int + */ public $lockid = null; public function __construct($vals=null) { @@ -10719,16 +11473,49 @@ class ShowLocksRequest { class ShowLocksResponseElement { static $_TSPEC; + /** + * @var int + */ public $lockid = null; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $tablename = null; + /** + * @var string + */ public $partname = null; + /** + * @var int + */ public $state = null; + /** + * @var int + */ public $type = null; + /** + * @var int + */ public $txnid = null; + /** + * @var int + */ public $lastheartbeat = null; + /** + * @var int + */ public $acquiredat = null; + /** + * @var string + */ public $user = null; + /** + * @var string + */ public $hostname = null; public function __construct($vals=null) { @@ -10991,6 +11778,9 @@ class ShowLocksResponseElement { class ShowLocksResponse { static $_TSPEC; + /** + * @var \metastore\ShowLocksResponseElement[] + */ public $locks = null; public function __construct($vals=null) { @@ -11091,7 +11881,13 @@ class ShowLocksResponse { class HeartbeatRequest { static $_TSPEC; + /** + * @var int + */ public $lockid = null; + /** + * @var int + */ public $txnid = null; public function __construct($vals=null) { @@ -11183,7 +11979,13 @@ class HeartbeatRequest { class HeartbeatTxnRangeRequest { static $_TSPEC; + /** + * @var int + */ public $min = null; + /** + * @var int + */ public $max = null; public function __construct($vals=null) { @@ -11275,7 +12077,13 @@ class HeartbeatTxnRangeRequest { class HeartbeatTxnRangeResponse { static $_TSPEC; + /** + * @var int[] + */ public $aborted = null; + /** + * @var int[] + */ public $nosuch = null; public function __construct($vals=null) { @@ -11435,10 +12243,25 @@ class HeartbeatTxnRangeResponse { class CompactionRequest { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $tablename = null; + /** + * @var string + */ public $partitionname = null; + /** + * @var int + */ public $type = null; + /** + * @var string + */ public $runas = null; public function __construct($vals=null) { @@ -11637,13 +12460,37 @@ class ShowCompactRequest { class ShowCompactResponseElement { static $_TSPEC; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $tablename = null; + /** + * @var string + */ public $partitionname = null; + /** + * @var int + */ public $type = null; + /** + * @var string + */ public $state = null; + /** + * @var string + */ public $workerid = null; + /** + * @var int + */ public $start = null; + /** + * @var string + */ public $runAs = null; public function __construct($vals=null) { @@ -11849,6 +12696,9 @@ class ShowCompactResponseElement { class ShowCompactResponse { static $_TSPEC; + /** + * @var \metastore\ShowCompactResponseElement[] + */ public $compacts = null; public function __construct($vals=null) { @@ -11949,9 +12799,21 @@ class ShowCompactResponse { class AddDynamicPartitions { static $_TSPEC; + /** + * @var int + */ public $txnid = null; + /** + * @var string + */ public $dbname = null; + /** + * @var string + */ public $tablename = null; + /** + * @var string[] + */ public $partitionnames = null; public function __construct($vals=null) { @@ -12107,7 +12969,13 @@ class AddDynamicPartitions { class NotificationEventRequest { static $_TSPEC; + /** + * @var int + */ public $lastEvent = null; + /** + * @var int + */ public $maxEvents = null; public function __construct($vals=null) { @@ -12199,11 +13067,29 @@ class NotificationEventRequest { class NotificationEvent { static $_TSPEC; + /** + * @var int + */ public $eventId = null; + /** + * @var int + */ public $eventTime = null; + /** + * @var string + */ public $eventType = null; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $tableName = null; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -12371,6 +13257,9 @@ class NotificationEvent { class NotificationEventResponse { static $_TSPEC; + /** + * @var \metastore\NotificationEvent[] + */ public $events = null; public function __construct($vals=null) { @@ -12471,6 +13360,9 @@ class NotificationEventResponse { class CurrentNotificationEventId { static $_TSPEC; + /** + * @var int + */ public $eventId = null; public function __construct($vals=null) { @@ -12543,6 +13435,9 @@ class CurrentNotificationEventId { class InsertEventRequestData { static $_TSPEC; + /** + * @var string[] + */ public $filesAdded = null; public function __construct($vals=null) { @@ -12641,6 +13536,9 @@ class InsertEventRequestData { class FireEventRequestData { static $_TSPEC; + /** + * @var \metastore\InsertEventRequestData + */ public $insertData = null; public function __construct($vals=null) { @@ -12718,10 +13616,25 @@ class FireEventRequestData { class FireEventRequest { static $_TSPEC; + /** + * @var bool + */ public $successful = null; + /** + * @var \metastore\FireEventRequestData + */ public $data = null; + /** + * @var string + */ public $dbName = null; + /** + * @var string + */ public $tableName = null; + /** + * @var string[] + */ public $partitionVals = null; public function __construct($vals=null) { @@ -12948,9 +13861,115 @@ class FireEventResponse { } +class GetAllFunctionsResponse { + static $_TSPEC; + + /** + * @var \metastore\Function[] + */ + 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; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13023,6 +14042,9 @@ class MetaException extends TException { class UnknownTableException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13095,6 +14117,9 @@ class UnknownTableException extends TException { class UnknownDBException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13167,6 +14192,9 @@ class UnknownDBException extends TException { class AlreadyExistsException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13239,6 +14267,9 @@ class AlreadyExistsException extends TException { class InvalidPartitionException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13311,6 +14342,9 @@ class InvalidPartitionException extends TException { class UnknownPartitionException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13383,6 +14417,9 @@ class UnknownPartitionException extends TException { class InvalidObjectException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13455,6 +14492,9 @@ class InvalidObjectException extends TException { class NoSuchObjectException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13527,6 +14567,9 @@ class NoSuchObjectException extends TException { class IndexAlreadyExistsException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13599,6 +14642,9 @@ class IndexAlreadyExistsException extends TException { class InvalidOperationException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13671,6 +14717,9 @@ class InvalidOperationException extends TException { class ConfigValSecurityException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13743,6 +14792,9 @@ class ConfigValSecurityException extends TException { class InvalidInputException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13815,6 +14867,9 @@ class InvalidInputException extends TException { class NoSuchTxnException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13887,6 +14942,9 @@ class NoSuchTxnException extends TException { class TxnAbortedException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -13959,6 +15017,9 @@ class TxnAbortedException extends TException { class TxnOpenException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -14031,6 +15092,9 @@ class TxnOpenException extends TException { class NoSuchLockException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; public function __construct($vals=null) { @@ -14100,50 +15164,122 @@ class NoSuchLockException extends TException { } -$GLOBALS['hive_metastore_CONSTANTS']['DDL_TIME'] = "transient_lastDdlTime"; +final class Constant extends \Thrift\Type\TConstant { + static protected $DDL_TIME; + static protected $HIVE_FILTER_FIELD_OWNER; + static protected $HIVE_FILTER_FIELD_PARAMS; + static protected $HIVE_FILTER_FIELD_LAST_ACCESS; + static protected $IS_ARCHIVED; + static protected $ORIGINAL_LOCATION; + static protected $IS_IMMUTABLE; + static protected $META_TABLE_COLUMNS; + static protected $META_TABLE_COLUMN_TYPES; + static protected $BUCKET_FIELD_NAME; + static protected $BUCKET_COUNT; + static protected $FIELD_TO_DIMENSION; + static protected $META_TABLE_NAME; + static protected $META_TABLE_DB; + static protected $META_TABLE_LOCATION; + static protected $META_TABLE_SERDE; + static protected $META_TABLE_PARTITION_COLUMNS; + static protected $META_TABLE_PARTITION_COLUMN_TYPES; + static protected $FILE_INPUT_FORMAT; + static protected $FILE_OUTPUT_FORMAT; + static protected $META_TABLE_STORAGE; + static protected $TABLE_IS_TRANSACTIONAL; + static protected $TABLE_NO_AUTO_COMPACT; -$GLOBALS['hive_metastore_CONSTANTS']['HIVE_FILTER_FIELD_OWNER'] = "hive_filter_field_owner__"; + static protected function init_DDL_TIME() { + return "transient_lastDdlTime"; + } -$GLOBALS['hive_metastore_CONSTANTS']['HIVE_FILTER_FIELD_PARAMS'] = "hive_filter_field_params__"; + static protected function init_HIVE_FILTER_FIELD_OWNER() { + return "hive_filter_field_owner__"; + } -$GLOBALS['hive_metastore_CONSTANTS']['HIVE_FILTER_FIELD_LAST_ACCESS'] = "hive_filter_field_last_access__"; + static protected function init_HIVE_FILTER_FIELD_PARAMS() { + return "hive_filter_field_params__"; + } -$GLOBALS['hive_metastore_CONSTANTS']['IS_ARCHIVED'] = "is_archived"; + static protected function init_HIVE_FILTER_FIELD_LAST_ACCESS() { + return "hive_filter_field_last_access__"; + } -$GLOBALS['hive_metastore_CONSTANTS']['ORIGINAL_LOCATION'] = "original_location"; + static protected function init_IS_ARCHIVED() { + return "is_archived"; + } -$GLOBALS['hive_metastore_CONSTANTS']['IS_IMMUTABLE'] = "immutable"; + static protected function init_ORIGINAL_LOCATION() { + return "original_location"; + } -$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_COLUMNS'] = "columns"; + static protected function init_IS_IMMUTABLE() { + return "immutable"; + } -$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_COLUMN_TYPES'] = "columns.types"; + static protected function init_META_TABLE_COLUMNS() { + return "columns"; + } -$GLOBALS['hive_metastore_CONSTANTS']['BUCKET_FIELD_NAME'] = "bucket_field_name"; + static protected function init_META_TABLE_COLUMN_TYPES() { + return "columns.types"; + } -$GLOBALS['hive_metastore_CONSTANTS']['BUCKET_COUNT'] = "bucket_count"; + static protected function init_BUCKET_FIELD_NAME() { + return "bucket_field_name"; + } -$GLOBALS['hive_metastore_CONSTANTS']['FIELD_TO_DIMENSION'] = "field_to_dimension"; + static protected function init_BUCKET_COUNT() { + return "bucket_count"; + } -$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_NAME'] = "name"; + static protected function init_FIELD_TO_DIMENSION() { + return "field_to_dimension"; + } -$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_DB'] = "db"; + static protected function init_META_TABLE_NAME() { + return "name"; + } -$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_LOCATION'] = "location"; + static protected function init_META_TABLE_DB() { + return "db"; + } + + static protected function init_META_TABLE_LOCATION() { + return "location"; + } -$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_SERDE'] = "serde"; + static protected function init_META_TABLE_SERDE() { + return "serde"; + } -$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_PARTITION_COLUMNS'] = "partition_columns"; + static protected function init_META_TABLE_PARTITION_COLUMNS() { + return "partition_columns"; + } -$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_PARTITION_COLUMN_TYPES'] = "partition_columns.types"; + static protected function init_META_TABLE_PARTITION_COLUMN_TYPES() { + return "partition_columns.types"; + } -$GLOBALS['hive_metastore_CONSTANTS']['FILE_INPUT_FORMAT'] = "file.inputformat"; + static protected function init_FILE_INPUT_FORMAT() { + return "file.inputformat"; + } -$GLOBALS['hive_metastore_CONSTANTS']['FILE_OUTPUT_FORMAT'] = "file.outputformat"; + static protected function init_FILE_OUTPUT_FORMAT() { + return "file.outputformat"; + } -$GLOBALS['hive_metastore_CONSTANTS']['META_TABLE_STORAGE'] = "storage_handler"; + static protected function init_META_TABLE_STORAGE() { + return "storage_handler"; + } -$GLOBALS['hive_metastore_CONSTANTS']['TABLE_IS_TRANSACTIONAL'] = "transactional"; + static protected function init_TABLE_IS_TRANSACTIONAL() { + return "transactional"; + } -$GLOBALS['hive_metastore_CONSTANTS']['TABLE_NO_AUTO_COMPACT'] = "no_auto_compaction"; + static protected function init_TABLE_NO_AUTO_COMPACT() { + return "no_auto_compaction"; + } +} diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote old mode 100644 new mode 100755 index 36aced3..dc348ef --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -12,141 +12,156 @@ import pprint from urlparse import urlparse from thrift.transport import TTransport from thrift.transport import TSocket +from thrift.transport import TSSLSocket from thrift.transport import THttpClient from thrift.protocol import TBinaryProtocol -import ThriftHiveMetastore -from ttypes import * +from hive_metastore import ThriftHiveMetastore +from hive_metastore.ttypes import * if len(sys.argv) <= 1 or sys.argv[1] == '--help': - print '' - print 'Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] function [arg1 [arg2...]]' - print '' - print 'Functions:' - print ' string getMetaConf(string key)' - print ' void setMetaConf(string key, string value)' - print ' void create_database(Database database)' - print ' Database get_database(string name)' - print ' void drop_database(string name, bool deleteData, bool cascade)' - print ' get_databases(string pattern)' - print ' get_all_databases()' - print ' void alter_database(string dbname, Database db)' - print ' Type get_type(string name)' - print ' bool create_type(Type type)' - print ' bool drop_type(string type)' - print ' get_type_all(string name)' - print ' get_fields(string db_name, string table_name)' - print ' get_fields_with_environment_context(string db_name, string table_name, EnvironmentContext environment_context)' - print ' get_schema(string db_name, string table_name)' - print ' get_schema_with_environment_context(string db_name, string table_name, EnvironmentContext environment_context)' - print ' void create_table(Table tbl)' - print ' void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context)' - print ' void drop_table(string dbname, string name, bool deleteData)' - print ' void drop_table_with_environment_context(string dbname, string name, bool deleteData, EnvironmentContext environment_context)' - print ' get_tables(string db_name, string pattern)' - print ' get_all_tables(string db_name)' - print ' Table get_table(string dbname, string tbl_name)' - print ' get_table_objects_by_name(string dbname, tbl_names)' - print ' get_table_names_by_filter(string dbname, string filter, i16 max_tables)' - print ' void alter_table(string dbname, string tbl_name, Table new_tbl)' - print ' void alter_table_with_environment_context(string dbname, string tbl_name, Table new_tbl, EnvironmentContext environment_context)' - print ' void alter_table_with_cascade(string dbname, string tbl_name, Table new_tbl, bool cascade)' - print ' Partition add_partition(Partition new_part)' - print ' Partition add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context)' - print ' i32 add_partitions( new_parts)' - print ' i32 add_partitions_pspec( new_parts)' - print ' Partition append_partition(string db_name, string tbl_name, part_vals)' - print ' AddPartitionsResult add_partitions_req(AddPartitionsRequest request)' - print ' Partition append_partition_with_environment_context(string db_name, string tbl_name, part_vals, EnvironmentContext environment_context)' - print ' Partition append_partition_by_name(string db_name, string tbl_name, string part_name)' - print ' Partition append_partition_by_name_with_environment_context(string db_name, string tbl_name, string part_name, EnvironmentContext environment_context)' - print ' bool drop_partition(string db_name, string tbl_name, part_vals, bool deleteData)' - print ' bool drop_partition_with_environment_context(string db_name, string tbl_name, part_vals, bool deleteData, EnvironmentContext environment_context)' - print ' bool drop_partition_by_name(string db_name, string tbl_name, string part_name, bool deleteData)' - print ' bool drop_partition_by_name_with_environment_context(string db_name, string tbl_name, string part_name, bool deleteData, EnvironmentContext environment_context)' - print ' DropPartitionsResult drop_partitions_req(DropPartitionsRequest req)' - print ' Partition get_partition(string db_name, string tbl_name, part_vals)' - print ' Partition exchange_partition( partitionSpecs, string source_db, string source_table_name, string dest_db, string dest_table_name)' - print ' Partition get_partition_with_auth(string db_name, string tbl_name, part_vals, string user_name, group_names)' - print ' Partition get_partition_by_name(string db_name, string tbl_name, string part_name)' - print ' get_partitions(string db_name, string tbl_name, i16 max_parts)' - print ' get_partitions_with_auth(string db_name, string tbl_name, i16 max_parts, string user_name, group_names)' - print ' get_partitions_pspec(string db_name, string tbl_name, i32 max_parts)' - print ' get_partition_names(string db_name, string tbl_name, i16 max_parts)' - print ' get_partitions_ps(string db_name, string tbl_name, part_vals, i16 max_parts)' - print ' get_partitions_ps_with_auth(string db_name, string tbl_name, part_vals, i16 max_parts, string user_name, group_names)' - print ' get_partition_names_ps(string db_name, string tbl_name, part_vals, i16 max_parts)' - print ' get_partitions_by_filter(string db_name, string tbl_name, string filter, i16 max_parts)' - print ' get_part_specs_by_filter(string db_name, string tbl_name, string filter, i32 max_parts)' - print ' PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req)' - print ' get_partitions_by_names(string db_name, string tbl_name, names)' - print ' void alter_partition(string db_name, string tbl_name, Partition new_part)' - print ' void alter_partitions(string db_name, string tbl_name, new_parts)' - print ' void alter_partition_with_environment_context(string db_name, string tbl_name, Partition new_part, EnvironmentContext environment_context)' - print ' void rename_partition(string db_name, string tbl_name, part_vals, Partition new_part)' - print ' bool partition_name_has_valid_characters( part_vals, bool throw_exception)' - print ' string get_config_value(string name, string defaultValue)' - print ' partition_name_to_vals(string part_name)' - print ' partition_name_to_spec(string part_name)' - print ' void markPartitionForEvent(string db_name, string tbl_name, part_vals, PartitionEventType eventType)' - print ' bool isPartitionMarkedForEvent(string db_name, string tbl_name, part_vals, PartitionEventType eventType)' - print ' Index add_index(Index new_index, Table index_table)' - print ' void alter_index(string dbname, string base_tbl_name, string idx_name, Index new_idx)' - print ' bool drop_index_by_name(string db_name, string tbl_name, string index_name, bool deleteData)' - print ' Index get_index_by_name(string db_name, string tbl_name, string index_name)' - print ' get_indexes(string db_name, string tbl_name, i16 max_indexes)' - print ' get_index_names(string db_name, string tbl_name, i16 max_indexes)' - print ' bool update_table_column_statistics(ColumnStatistics stats_obj)' - print ' bool update_partition_column_statistics(ColumnStatistics stats_obj)' - print ' ColumnStatistics get_table_column_statistics(string db_name, string tbl_name, string col_name)' - print ' ColumnStatistics get_partition_column_statistics(string db_name, string tbl_name, string part_name, string col_name)' - print ' TableStatsResult get_table_statistics_req(TableStatsRequest request)' - print ' PartitionsStatsResult get_partitions_statistics_req(PartitionsStatsRequest request)' - print ' AggrStats get_aggr_stats_for(PartitionsStatsRequest request)' - print ' bool set_aggr_stats_for(SetPartitionsStatsRequest request)' - print ' bool delete_partition_column_statistics(string db_name, string tbl_name, string part_name, string col_name)' - print ' bool delete_table_column_statistics(string db_name, string tbl_name, string col_name)' - print ' void create_function(Function func)' - print ' void drop_function(string dbName, string funcName)' - 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 ' bool create_role(Role role)' - print ' bool drop_role(string role_name)' - print ' get_role_names()' - print ' bool grant_role(string role_name, string principal_name, PrincipalType principal_type, string grantor, PrincipalType grantorType, bool grant_option)' - print ' bool revoke_role(string role_name, string principal_name, PrincipalType principal_type)' - print ' list_roles(string principal_name, PrincipalType principal_type)' - print ' GrantRevokeRoleResponse grant_revoke_role(GrantRevokeRoleRequest request)' - print ' GetPrincipalsInRoleResponse get_principals_in_role(GetPrincipalsInRoleRequest request)' - print ' GetRoleGrantsForPrincipalResponse get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest request)' - print ' PrincipalPrivilegeSet get_privilege_set(HiveObjectRef hiveObject, string user_name, group_names)' - print ' list_privileges(string principal_name, PrincipalType principal_type, HiveObjectRef hiveObject)' - print ' bool grant_privileges(PrivilegeBag privileges)' - print ' bool revoke_privileges(PrivilegeBag privileges)' - print ' GrantRevokePrivilegeResponse grant_revoke_privileges(GrantRevokePrivilegeRequest request)' - print ' set_ugi(string user_name, group_names)' - print ' string get_delegation_token(string token_owner, string renewer_kerberos_principal_name)' - print ' i64 renew_delegation_token(string token_str_form)' - print ' void cancel_delegation_token(string token_str_form)' - print ' GetOpenTxnsResponse get_open_txns()' - print ' GetOpenTxnsInfoResponse get_open_txns_info()' - print ' OpenTxnsResponse open_txns(OpenTxnRequest rqst)' - print ' void abort_txn(AbortTxnRequest rqst)' - print ' void commit_txn(CommitTxnRequest rqst)' - print ' LockResponse lock(LockRequest rqst)' - print ' LockResponse check_lock(CheckLockRequest rqst)' - print ' void unlock(UnlockRequest rqst)' - print ' ShowLocksResponse show_locks(ShowLocksRequest rqst)' - print ' void heartbeat(HeartbeatRequest ids)' - print ' HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest txns)' - print ' void compact(CompactionRequest rqst)' - print ' ShowCompactResponse show_compact(ShowCompactRequest rqst)' - print ' void add_dynamic_partitions(AddDynamicPartitions rqst)' - print ' NotificationEventResponse get_next_notification(NotificationEventRequest rqst)' - print ' CurrentNotificationEventId get_current_notificationEventId()' - print ' FireEventResponse fire_listener_event(FireEventRequest rqst)' - print '' + print('') + print('Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] [-s[sl]] function [arg1 [arg2...]]') + print('') + print('Functions:') + print(' string getMetaConf(string key)') + print(' void setMetaConf(string key, string value)') + print(' void create_database(Database database)') + print(' Database get_database(string name)') + print(' void drop_database(string name, bool deleteData, bool cascade)') + print(' get_databases(string pattern)') + print(' get_all_databases()') + print(' void alter_database(string dbname, Database db)') + print(' Type get_type(string name)') + print(' bool create_type(Type type)') + print(' bool drop_type(string type)') + print(' get_type_all(string name)') + print(' get_fields(string db_name, string table_name)') + print(' get_fields_with_environment_context(string db_name, string table_name, EnvironmentContext environment_context)') + print(' get_schema(string db_name, string table_name)') + print(' get_schema_with_environment_context(string db_name, string table_name, EnvironmentContext environment_context)') + print(' void create_table(Table tbl)') + print(' void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context)') + print(' void drop_table(string dbname, string name, bool deleteData)') + print(' void drop_table_with_environment_context(string dbname, string name, bool deleteData, EnvironmentContext environment_context)') + print(' get_tables(string db_name, string pattern)') + print(' get_all_tables(string db_name)') + print(' Table get_table(string dbname, string tbl_name)') + print(' get_table_objects_by_name(string dbname, tbl_names)') + print(' get_table_names_by_filter(string dbname, string filter, i16 max_tables)') + print(' void alter_table(string dbname, string tbl_name, Table new_tbl)') + print(' void alter_table_with_environment_context(string dbname, string tbl_name, Table new_tbl, EnvironmentContext environment_context)') + print(' void alter_table_with_cascade(string dbname, string tbl_name, Table new_tbl, bool cascade)') + print(' Partition add_partition(Partition new_part)') + print(' Partition add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context)') + print(' i32 add_partitions( new_parts)') + print(' i32 add_partitions_pspec( new_parts)') + print(' Partition append_partition(string db_name, string tbl_name, part_vals)') + print(' AddPartitionsResult add_partitions_req(AddPartitionsRequest request)') + print(' Partition append_partition_with_environment_context(string db_name, string tbl_name, part_vals, EnvironmentContext environment_context)') + print(' Partition append_partition_by_name(string db_name, string tbl_name, string part_name)') + print(' Partition append_partition_by_name_with_environment_context(string db_name, string tbl_name, string part_name, EnvironmentContext environment_context)') + print(' bool drop_partition(string db_name, string tbl_name, part_vals, bool deleteData)') + print(' bool drop_partition_with_environment_context(string db_name, string tbl_name, part_vals, bool deleteData, EnvironmentContext environment_context)') + print(' bool drop_partition_by_name(string db_name, string tbl_name, string part_name, bool deleteData)') + print(' bool drop_partition_by_name_with_environment_context(string db_name, string tbl_name, string part_name, bool deleteData, EnvironmentContext environment_context)') + print(' DropPartitionsResult drop_partitions_req(DropPartitionsRequest req)') + print(' Partition get_partition(string db_name, string tbl_name, part_vals)') + print(' Partition exchange_partition( partitionSpecs, string source_db, string source_table_name, string dest_db, string dest_table_name)') + print(' Partition get_partition_with_auth(string db_name, string tbl_name, part_vals, string user_name, group_names)') + print(' Partition get_partition_by_name(string db_name, string tbl_name, string part_name)') + print(' get_partitions(string db_name, string tbl_name, i16 max_parts)') + print(' get_partitions_with_auth(string db_name, string tbl_name, i16 max_parts, string user_name, group_names)') + print(' get_partitions_pspec(string db_name, string tbl_name, i32 max_parts)') + print(' get_partition_names(string db_name, string tbl_name, i16 max_parts)') + print(' get_partitions_ps(string db_name, string tbl_name, part_vals, i16 max_parts)') + print(' get_partitions_ps_with_auth(string db_name, string tbl_name, part_vals, i16 max_parts, string user_name, group_names)') + print(' get_partition_names_ps(string db_name, string tbl_name, part_vals, i16 max_parts)') + print(' get_partitions_by_filter(string db_name, string tbl_name, string filter, i16 max_parts)') + print(' get_part_specs_by_filter(string db_name, string tbl_name, string filter, i32 max_parts)') + print(' PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req)') + print(' get_partitions_by_names(string db_name, string tbl_name, names)') + print(' void alter_partition(string db_name, string tbl_name, Partition new_part)') + print(' void alter_partitions(string db_name, string tbl_name, new_parts)') + print(' void alter_partition_with_environment_context(string db_name, string tbl_name, Partition new_part, EnvironmentContext environment_context)') + print(' void rename_partition(string db_name, string tbl_name, part_vals, Partition new_part)') + print(' bool partition_name_has_valid_characters( part_vals, bool throw_exception)') + print(' string get_config_value(string name, string defaultValue)') + print(' partition_name_to_vals(string part_name)') + print(' partition_name_to_spec(string part_name)') + print(' void markPartitionForEvent(string db_name, string tbl_name, part_vals, PartitionEventType eventType)') + print(' bool isPartitionMarkedForEvent(string db_name, string tbl_name, part_vals, PartitionEventType eventType)') + print(' Index add_index(Index new_index, Table index_table)') + print(' void alter_index(string dbname, string base_tbl_name, string idx_name, Index new_idx)') + print(' bool drop_index_by_name(string db_name, string tbl_name, string index_name, bool deleteData)') + print(' Index get_index_by_name(string db_name, string tbl_name, string index_name)') + print(' get_indexes(string db_name, string tbl_name, i16 max_indexes)') + print(' get_index_names(string db_name, string tbl_name, i16 max_indexes)') + print(' bool update_table_column_statistics(ColumnStatistics stats_obj)') + print(' bool update_partition_column_statistics(ColumnStatistics stats_obj)') + print(' ColumnStatistics get_table_column_statistics(string db_name, string tbl_name, string col_name)') + print(' ColumnStatistics get_partition_column_statistics(string db_name, string tbl_name, string part_name, string col_name)') + print(' TableStatsResult get_table_statistics_req(TableStatsRequest request)') + print(' PartitionsStatsResult get_partitions_statistics_req(PartitionsStatsRequest request)') + print(' AggrStats get_aggr_stats_for(PartitionsStatsRequest request)') + print(' bool set_aggr_stats_for(SetPartitionsStatsRequest request)') + print(' bool delete_partition_column_statistics(string db_name, string tbl_name, string part_name, string col_name)') + print(' bool delete_table_column_statistics(string db_name, string tbl_name, string col_name)') + print(' void create_function(Function func)') + print(' void drop_function(string dbName, string funcName)') + 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()') + print(' bool grant_role(string role_name, string principal_name, PrincipalType principal_type, string grantor, PrincipalType grantorType, bool grant_option)') + print(' bool revoke_role(string role_name, string principal_name, PrincipalType principal_type)') + print(' list_roles(string principal_name, PrincipalType principal_type)') + print(' GrantRevokeRoleResponse grant_revoke_role(GrantRevokeRoleRequest request)') + print(' GetPrincipalsInRoleResponse get_principals_in_role(GetPrincipalsInRoleRequest request)') + print(' GetRoleGrantsForPrincipalResponse get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest request)') + print(' PrincipalPrivilegeSet get_privilege_set(HiveObjectRef hiveObject, string user_name, group_names)') + print(' list_privileges(string principal_name, PrincipalType principal_type, HiveObjectRef hiveObject)') + print(' bool grant_privileges(PrivilegeBag privileges)') + print(' bool revoke_privileges(PrivilegeBag privileges)') + print(' GrantRevokePrivilegeResponse grant_revoke_privileges(GrantRevokePrivilegeRequest request)') + print(' set_ugi(string user_name, group_names)') + print(' string get_delegation_token(string token_owner, string renewer_kerberos_principal_name)') + print(' i64 renew_delegation_token(string token_str_form)') + print(' void cancel_delegation_token(string token_str_form)') + print(' GetOpenTxnsResponse get_open_txns()') + print(' GetOpenTxnsInfoResponse get_open_txns_info()') + print(' OpenTxnsResponse open_txns(OpenTxnRequest rqst)') + print(' void abort_txn(AbortTxnRequest rqst)') + print(' void commit_txn(CommitTxnRequest rqst)') + print(' LockResponse lock(LockRequest rqst)') + print(' LockResponse check_lock(CheckLockRequest rqst)') + print(' void unlock(UnlockRequest rqst)') + print(' ShowLocksResponse show_locks(ShowLocksRequest rqst)') + print(' void heartbeat(HeartbeatRequest ids)') + print(' HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest txns)') + print(' void compact(CompactionRequest rqst)') + print(' ShowCompactResponse show_compact(ShowCompactRequest rqst)') + print(' void add_dynamic_partitions(AddDynamicPartitions rqst)') + print(' NotificationEventResponse get_next_notification(NotificationEventRequest rqst)') + print(' CurrentNotificationEventId get_current_notificationEventId()') + print(' FireEventResponse fire_listener_event(FireEventRequest rqst)') + print(' string getName()') + print(' string getVersion()') + print(' fb_status getStatus()') + print(' string getStatusDetails()') + print(' getCounters()') + print(' i64 getCounter(string key)') + print(' void setOption(string key, string value)') + print(' string getOption(string key)') + print(' getOptions()') + print(' i64 aliveSince()') + print(' reflection_limited.Service getLimitedReflection()') + print(' void reinitialize()') + print(' void shutdown()') + print('') sys.exit(0) pp = pprint.PrettyPrinter(indent = 2) @@ -154,6 +169,7 @@ host = 'localhost' port = 9090 uri = '' framed = False +ssl = False http = False argi = 1 @@ -182,13 +198,17 @@ if sys.argv[argi] == '-f' or sys.argv[argi] == '-framed': framed = True argi += 1 +if sys.argv[argi] == '-s' or sys.argv[argi] == '-ssl': + ssl = True + argi += 1 + cmd = sys.argv[argi] args = sys.argv[argi+1:] if http: transport = THttpClient.THttpClient(host, port, uri) else: - socket = TSocket.TSocket(host, port) + socket = TSSLSocket.TSSLSocket(host, port, validate=False) if ssl else TSocket.TSocket(host, port) if framed: transport = TTransport.TFramedTransport(socket) else: @@ -199,744 +219,828 @@ transport.open() if cmd == 'getMetaConf': if len(args) != 1: - print 'getMetaConf requires 1 args' + print('getMetaConf requires 1 args') sys.exit(1) pp.pprint(client.getMetaConf(args[0],)) elif cmd == 'setMetaConf': if len(args) != 2: - print 'setMetaConf requires 2 args' + print('setMetaConf requires 2 args') sys.exit(1) pp.pprint(client.setMetaConf(args[0],args[1],)) elif cmd == 'create_database': if len(args) != 1: - print 'create_database requires 1 args' + print('create_database requires 1 args') sys.exit(1) pp.pprint(client.create_database(eval(args[0]),)) elif cmd == 'get_database': if len(args) != 1: - print 'get_database requires 1 args' + print('get_database requires 1 args') sys.exit(1) pp.pprint(client.get_database(args[0],)) elif cmd == 'drop_database': if len(args) != 3: - print 'drop_database requires 3 args' + print('drop_database requires 3 args') sys.exit(1) pp.pprint(client.drop_database(args[0],eval(args[1]),eval(args[2]),)) elif cmd == 'get_databases': if len(args) != 1: - print 'get_databases requires 1 args' + print('get_databases requires 1 args') sys.exit(1) pp.pprint(client.get_databases(args[0],)) elif cmd == 'get_all_databases': if len(args) != 0: - print 'get_all_databases requires 0 args' + print('get_all_databases requires 0 args') sys.exit(1) pp.pprint(client.get_all_databases()) elif cmd == 'alter_database': if len(args) != 2: - print 'alter_database requires 2 args' + print('alter_database requires 2 args') sys.exit(1) pp.pprint(client.alter_database(args[0],eval(args[1]),)) elif cmd == 'get_type': if len(args) != 1: - print 'get_type requires 1 args' + print('get_type requires 1 args') sys.exit(1) pp.pprint(client.get_type(args[0],)) elif cmd == 'create_type': if len(args) != 1: - print 'create_type requires 1 args' + print('create_type requires 1 args') sys.exit(1) pp.pprint(client.create_type(eval(args[0]),)) elif cmd == 'drop_type': if len(args) != 1: - print 'drop_type requires 1 args' + print('drop_type requires 1 args') sys.exit(1) pp.pprint(client.drop_type(args[0],)) elif cmd == 'get_type_all': if len(args) != 1: - print 'get_type_all requires 1 args' + print('get_type_all requires 1 args') sys.exit(1) pp.pprint(client.get_type_all(args[0],)) elif cmd == 'get_fields': if len(args) != 2: - print 'get_fields requires 2 args' + print('get_fields requires 2 args') sys.exit(1) pp.pprint(client.get_fields(args[0],args[1],)) elif cmd == 'get_fields_with_environment_context': if len(args) != 3: - print 'get_fields_with_environment_context requires 3 args' + print('get_fields_with_environment_context requires 3 args') sys.exit(1) pp.pprint(client.get_fields_with_environment_context(args[0],args[1],eval(args[2]),)) elif cmd == 'get_schema': if len(args) != 2: - print 'get_schema requires 2 args' + print('get_schema requires 2 args') sys.exit(1) pp.pprint(client.get_schema(args[0],args[1],)) elif cmd == 'get_schema_with_environment_context': if len(args) != 3: - print 'get_schema_with_environment_context requires 3 args' + print('get_schema_with_environment_context requires 3 args') sys.exit(1) pp.pprint(client.get_schema_with_environment_context(args[0],args[1],eval(args[2]),)) elif cmd == 'create_table': if len(args) != 1: - print 'create_table requires 1 args' + print('create_table requires 1 args') sys.exit(1) pp.pprint(client.create_table(eval(args[0]),)) elif cmd == 'create_table_with_environment_context': if len(args) != 2: - print 'create_table_with_environment_context requires 2 args' + print('create_table_with_environment_context requires 2 args') sys.exit(1) pp.pprint(client.create_table_with_environment_context(eval(args[0]),eval(args[1]),)) elif cmd == 'drop_table': if len(args) != 3: - print 'drop_table requires 3 args' + print('drop_table requires 3 args') sys.exit(1) pp.pprint(client.drop_table(args[0],args[1],eval(args[2]),)) elif cmd == 'drop_table_with_environment_context': if len(args) != 4: - print 'drop_table_with_environment_context requires 4 args' + print('drop_table_with_environment_context requires 4 args') sys.exit(1) pp.pprint(client.drop_table_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),)) elif cmd == 'get_tables': if len(args) != 2: - print 'get_tables requires 2 args' + print('get_tables requires 2 args') sys.exit(1) pp.pprint(client.get_tables(args[0],args[1],)) elif cmd == 'get_all_tables': if len(args) != 1: - print 'get_all_tables requires 1 args' + print('get_all_tables requires 1 args') sys.exit(1) pp.pprint(client.get_all_tables(args[0],)) elif cmd == 'get_table': if len(args) != 2: - print 'get_table requires 2 args' + print('get_table requires 2 args') sys.exit(1) pp.pprint(client.get_table(args[0],args[1],)) elif cmd == 'get_table_objects_by_name': if len(args) != 2: - print 'get_table_objects_by_name requires 2 args' + print('get_table_objects_by_name requires 2 args') sys.exit(1) pp.pprint(client.get_table_objects_by_name(args[0],eval(args[1]),)) elif cmd == 'get_table_names_by_filter': if len(args) != 3: - print 'get_table_names_by_filter requires 3 args' + print('get_table_names_by_filter requires 3 args') sys.exit(1) pp.pprint(client.get_table_names_by_filter(args[0],args[1],eval(args[2]),)) elif cmd == 'alter_table': if len(args) != 3: - print 'alter_table requires 3 args' + print('alter_table requires 3 args') sys.exit(1) pp.pprint(client.alter_table(args[0],args[1],eval(args[2]),)) elif cmd == 'alter_table_with_environment_context': if len(args) != 4: - print 'alter_table_with_environment_context requires 4 args' + print('alter_table_with_environment_context requires 4 args') sys.exit(1) pp.pprint(client.alter_table_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),)) elif cmd == 'alter_table_with_cascade': if len(args) != 4: - print 'alter_table_with_cascade requires 4 args' + print('alter_table_with_cascade requires 4 args') sys.exit(1) pp.pprint(client.alter_table_with_cascade(args[0],args[1],eval(args[2]),eval(args[3]),)) elif cmd == 'add_partition': if len(args) != 1: - print 'add_partition requires 1 args' + print('add_partition requires 1 args') sys.exit(1) pp.pprint(client.add_partition(eval(args[0]),)) elif cmd == 'add_partition_with_environment_context': if len(args) != 2: - print 'add_partition_with_environment_context requires 2 args' + print('add_partition_with_environment_context requires 2 args') sys.exit(1) pp.pprint(client.add_partition_with_environment_context(eval(args[0]),eval(args[1]),)) elif cmd == 'add_partitions': if len(args) != 1: - print 'add_partitions requires 1 args' + print('add_partitions requires 1 args') sys.exit(1) pp.pprint(client.add_partitions(eval(args[0]),)) elif cmd == 'add_partitions_pspec': if len(args) != 1: - print 'add_partitions_pspec requires 1 args' + print('add_partitions_pspec requires 1 args') sys.exit(1) pp.pprint(client.add_partitions_pspec(eval(args[0]),)) elif cmd == 'append_partition': if len(args) != 3: - print 'append_partition requires 3 args' + print('append_partition requires 3 args') sys.exit(1) pp.pprint(client.append_partition(args[0],args[1],eval(args[2]),)) elif cmd == 'add_partitions_req': if len(args) != 1: - print 'add_partitions_req requires 1 args' + print('add_partitions_req requires 1 args') sys.exit(1) pp.pprint(client.add_partitions_req(eval(args[0]),)) elif cmd == 'append_partition_with_environment_context': if len(args) != 4: - print 'append_partition_with_environment_context requires 4 args' + print('append_partition_with_environment_context requires 4 args') sys.exit(1) pp.pprint(client.append_partition_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),)) elif cmd == 'append_partition_by_name': if len(args) != 3: - print 'append_partition_by_name requires 3 args' + print('append_partition_by_name requires 3 args') sys.exit(1) pp.pprint(client.append_partition_by_name(args[0],args[1],args[2],)) elif cmd == 'append_partition_by_name_with_environment_context': if len(args) != 4: - print 'append_partition_by_name_with_environment_context requires 4 args' + print('append_partition_by_name_with_environment_context requires 4 args') sys.exit(1) pp.pprint(client.append_partition_by_name_with_environment_context(args[0],args[1],args[2],eval(args[3]),)) elif cmd == 'drop_partition': if len(args) != 4: - print 'drop_partition requires 4 args' + print('drop_partition requires 4 args') sys.exit(1) pp.pprint(client.drop_partition(args[0],args[1],eval(args[2]),eval(args[3]),)) elif cmd == 'drop_partition_with_environment_context': if len(args) != 5: - print 'drop_partition_with_environment_context requires 5 args' + print('drop_partition_with_environment_context requires 5 args') sys.exit(1) pp.pprint(client.drop_partition_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),eval(args[4]),)) elif cmd == 'drop_partition_by_name': if len(args) != 4: - print 'drop_partition_by_name requires 4 args' + print('drop_partition_by_name requires 4 args') sys.exit(1) pp.pprint(client.drop_partition_by_name(args[0],args[1],args[2],eval(args[3]),)) elif cmd == 'drop_partition_by_name_with_environment_context': if len(args) != 5: - print 'drop_partition_by_name_with_environment_context requires 5 args' + print('drop_partition_by_name_with_environment_context requires 5 args') sys.exit(1) pp.pprint(client.drop_partition_by_name_with_environment_context(args[0],args[1],args[2],eval(args[3]),eval(args[4]),)) elif cmd == 'drop_partitions_req': if len(args) != 1: - print 'drop_partitions_req requires 1 args' + print('drop_partitions_req requires 1 args') sys.exit(1) pp.pprint(client.drop_partitions_req(eval(args[0]),)) elif cmd == 'get_partition': if len(args) != 3: - print 'get_partition requires 3 args' + print('get_partition requires 3 args') sys.exit(1) pp.pprint(client.get_partition(args[0],args[1],eval(args[2]),)) elif cmd == 'exchange_partition': if len(args) != 5: - print 'exchange_partition requires 5 args' + print('exchange_partition requires 5 args') sys.exit(1) pp.pprint(client.exchange_partition(eval(args[0]),args[1],args[2],args[3],args[4],)) elif cmd == 'get_partition_with_auth': if len(args) != 5: - print 'get_partition_with_auth requires 5 args' + print('get_partition_with_auth requires 5 args') sys.exit(1) pp.pprint(client.get_partition_with_auth(args[0],args[1],eval(args[2]),args[3],eval(args[4]),)) elif cmd == 'get_partition_by_name': if len(args) != 3: - print 'get_partition_by_name requires 3 args' + print('get_partition_by_name requires 3 args') sys.exit(1) pp.pprint(client.get_partition_by_name(args[0],args[1],args[2],)) elif cmd == 'get_partitions': if len(args) != 3: - print 'get_partitions requires 3 args' + print('get_partitions requires 3 args') sys.exit(1) pp.pprint(client.get_partitions(args[0],args[1],eval(args[2]),)) elif cmd == 'get_partitions_with_auth': if len(args) != 5: - print 'get_partitions_with_auth requires 5 args' + print('get_partitions_with_auth requires 5 args') sys.exit(1) pp.pprint(client.get_partitions_with_auth(args[0],args[1],eval(args[2]),args[3],eval(args[4]),)) elif cmd == 'get_partitions_pspec': if len(args) != 3: - print 'get_partitions_pspec requires 3 args' + print('get_partitions_pspec requires 3 args') sys.exit(1) pp.pprint(client.get_partitions_pspec(args[0],args[1],eval(args[2]),)) elif cmd == 'get_partition_names': if len(args) != 3: - print 'get_partition_names requires 3 args' + print('get_partition_names requires 3 args') sys.exit(1) pp.pprint(client.get_partition_names(args[0],args[1],eval(args[2]),)) elif cmd == 'get_partitions_ps': if len(args) != 4: - print 'get_partitions_ps requires 4 args' + print('get_partitions_ps requires 4 args') sys.exit(1) pp.pprint(client.get_partitions_ps(args[0],args[1],eval(args[2]),eval(args[3]),)) elif cmd == 'get_partitions_ps_with_auth': if len(args) != 6: - print 'get_partitions_ps_with_auth requires 6 args' + print('get_partitions_ps_with_auth requires 6 args') sys.exit(1) pp.pprint(client.get_partitions_ps_with_auth(args[0],args[1],eval(args[2]),eval(args[3]),args[4],eval(args[5]),)) elif cmd == 'get_partition_names_ps': if len(args) != 4: - print 'get_partition_names_ps requires 4 args' + print('get_partition_names_ps requires 4 args') sys.exit(1) pp.pprint(client.get_partition_names_ps(args[0],args[1],eval(args[2]),eval(args[3]),)) elif cmd == 'get_partitions_by_filter': if len(args) != 4: - print 'get_partitions_by_filter requires 4 args' + print('get_partitions_by_filter requires 4 args') sys.exit(1) pp.pprint(client.get_partitions_by_filter(args[0],args[1],args[2],eval(args[3]),)) elif cmd == 'get_part_specs_by_filter': if len(args) != 4: - print 'get_part_specs_by_filter requires 4 args' + print('get_part_specs_by_filter requires 4 args') sys.exit(1) pp.pprint(client.get_part_specs_by_filter(args[0],args[1],args[2],eval(args[3]),)) elif cmd == 'get_partitions_by_expr': if len(args) != 1: - print 'get_partitions_by_expr requires 1 args' + print('get_partitions_by_expr requires 1 args') sys.exit(1) pp.pprint(client.get_partitions_by_expr(eval(args[0]),)) elif cmd == 'get_partitions_by_names': if len(args) != 3: - print 'get_partitions_by_names requires 3 args' + print('get_partitions_by_names requires 3 args') sys.exit(1) pp.pprint(client.get_partitions_by_names(args[0],args[1],eval(args[2]),)) elif cmd == 'alter_partition': if len(args) != 3: - print 'alter_partition requires 3 args' + print('alter_partition requires 3 args') sys.exit(1) pp.pprint(client.alter_partition(args[0],args[1],eval(args[2]),)) elif cmd == 'alter_partitions': if len(args) != 3: - print 'alter_partitions requires 3 args' + print('alter_partitions requires 3 args') sys.exit(1) pp.pprint(client.alter_partitions(args[0],args[1],eval(args[2]),)) elif cmd == 'alter_partition_with_environment_context': if len(args) != 4: - print 'alter_partition_with_environment_context requires 4 args' + print('alter_partition_with_environment_context requires 4 args') sys.exit(1) pp.pprint(client.alter_partition_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),)) elif cmd == 'rename_partition': if len(args) != 4: - print 'rename_partition requires 4 args' + print('rename_partition requires 4 args') sys.exit(1) pp.pprint(client.rename_partition(args[0],args[1],eval(args[2]),eval(args[3]),)) elif cmd == 'partition_name_has_valid_characters': if len(args) != 2: - print 'partition_name_has_valid_characters requires 2 args' + print('partition_name_has_valid_characters requires 2 args') sys.exit(1) pp.pprint(client.partition_name_has_valid_characters(eval(args[0]),eval(args[1]),)) elif cmd == 'get_config_value': if len(args) != 2: - print 'get_config_value requires 2 args' + print('get_config_value requires 2 args') sys.exit(1) pp.pprint(client.get_config_value(args[0],args[1],)) elif cmd == 'partition_name_to_vals': if len(args) != 1: - print 'partition_name_to_vals requires 1 args' + print('partition_name_to_vals requires 1 args') sys.exit(1) pp.pprint(client.partition_name_to_vals(args[0],)) elif cmd == 'partition_name_to_spec': if len(args) != 1: - print 'partition_name_to_spec requires 1 args' + print('partition_name_to_spec requires 1 args') sys.exit(1) pp.pprint(client.partition_name_to_spec(args[0],)) elif cmd == 'markPartitionForEvent': if len(args) != 4: - print 'markPartitionForEvent requires 4 args' + print('markPartitionForEvent requires 4 args') sys.exit(1) pp.pprint(client.markPartitionForEvent(args[0],args[1],eval(args[2]),eval(args[3]),)) elif cmd == 'isPartitionMarkedForEvent': if len(args) != 4: - print 'isPartitionMarkedForEvent requires 4 args' + print('isPartitionMarkedForEvent requires 4 args') sys.exit(1) pp.pprint(client.isPartitionMarkedForEvent(args[0],args[1],eval(args[2]),eval(args[3]),)) elif cmd == 'add_index': if len(args) != 2: - print 'add_index requires 2 args' + print('add_index requires 2 args') sys.exit(1) pp.pprint(client.add_index(eval(args[0]),eval(args[1]),)) elif cmd == 'alter_index': if len(args) != 4: - print 'alter_index requires 4 args' + print('alter_index requires 4 args') sys.exit(1) pp.pprint(client.alter_index(args[0],args[1],args[2],eval(args[3]),)) elif cmd == 'drop_index_by_name': if len(args) != 4: - print 'drop_index_by_name requires 4 args' + print('drop_index_by_name requires 4 args') sys.exit(1) pp.pprint(client.drop_index_by_name(args[0],args[1],args[2],eval(args[3]),)) elif cmd == 'get_index_by_name': if len(args) != 3: - print 'get_index_by_name requires 3 args' + print('get_index_by_name requires 3 args') sys.exit(1) pp.pprint(client.get_index_by_name(args[0],args[1],args[2],)) elif cmd == 'get_indexes': if len(args) != 3: - print 'get_indexes requires 3 args' + print('get_indexes requires 3 args') sys.exit(1) pp.pprint(client.get_indexes(args[0],args[1],eval(args[2]),)) elif cmd == 'get_index_names': if len(args) != 3: - print 'get_index_names requires 3 args' + print('get_index_names requires 3 args') sys.exit(1) pp.pprint(client.get_index_names(args[0],args[1],eval(args[2]),)) elif cmd == 'update_table_column_statistics': if len(args) != 1: - print 'update_table_column_statistics requires 1 args' + print('update_table_column_statistics requires 1 args') sys.exit(1) pp.pprint(client.update_table_column_statistics(eval(args[0]),)) elif cmd == 'update_partition_column_statistics': if len(args) != 1: - print 'update_partition_column_statistics requires 1 args' + print('update_partition_column_statistics requires 1 args') sys.exit(1) pp.pprint(client.update_partition_column_statistics(eval(args[0]),)) elif cmd == 'get_table_column_statistics': if len(args) != 3: - print 'get_table_column_statistics requires 3 args' + print('get_table_column_statistics requires 3 args') sys.exit(1) pp.pprint(client.get_table_column_statistics(args[0],args[1],args[2],)) elif cmd == 'get_partition_column_statistics': if len(args) != 4: - print 'get_partition_column_statistics requires 4 args' + print('get_partition_column_statistics requires 4 args') sys.exit(1) pp.pprint(client.get_partition_column_statistics(args[0],args[1],args[2],args[3],)) elif cmd == 'get_table_statistics_req': if len(args) != 1: - print 'get_table_statistics_req requires 1 args' + print('get_table_statistics_req requires 1 args') sys.exit(1) pp.pprint(client.get_table_statistics_req(eval(args[0]),)) elif cmd == 'get_partitions_statistics_req': if len(args) != 1: - print 'get_partitions_statistics_req requires 1 args' + print('get_partitions_statistics_req requires 1 args') sys.exit(1) pp.pprint(client.get_partitions_statistics_req(eval(args[0]),)) elif cmd == 'get_aggr_stats_for': if len(args) != 1: - print 'get_aggr_stats_for requires 1 args' + print('get_aggr_stats_for requires 1 args') sys.exit(1) pp.pprint(client.get_aggr_stats_for(eval(args[0]),)) elif cmd == 'set_aggr_stats_for': if len(args) != 1: - print 'set_aggr_stats_for requires 1 args' + print('set_aggr_stats_for requires 1 args') sys.exit(1) pp.pprint(client.set_aggr_stats_for(eval(args[0]),)) elif cmd == 'delete_partition_column_statistics': if len(args) != 4: - print 'delete_partition_column_statistics requires 4 args' + print('delete_partition_column_statistics requires 4 args') sys.exit(1) pp.pprint(client.delete_partition_column_statistics(args[0],args[1],args[2],args[3],)) elif cmd == 'delete_table_column_statistics': if len(args) != 3: - print 'delete_table_column_statistics requires 3 args' + print('delete_table_column_statistics requires 3 args') sys.exit(1) pp.pprint(client.delete_table_column_statistics(args[0],args[1],args[2],)) elif cmd == 'create_function': if len(args) != 1: - print 'create_function requires 1 args' + print('create_function requires 1 args') sys.exit(1) pp.pprint(client.create_function(eval(args[0]),)) elif cmd == 'drop_function': if len(args) != 2: - print 'drop_function requires 2 args' + print('drop_function requires 2 args') sys.exit(1) pp.pprint(client.drop_function(args[0],args[1],)) elif cmd == 'alter_function': if len(args) != 3: - print 'alter_function requires 3 args' + print('alter_function requires 3 args') sys.exit(1) pp.pprint(client.alter_function(args[0],args[1],eval(args[2]),)) elif cmd == 'get_functions': if len(args) != 2: - print 'get_functions requires 2 args' + print('get_functions requires 2 args') sys.exit(1) pp.pprint(client.get_functions(args[0],args[1],)) elif cmd == 'get_function': if len(args) != 2: - print 'get_function requires 2 args' + print('get_function requires 2 args') 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' + print('create_role requires 1 args') sys.exit(1) pp.pprint(client.create_role(eval(args[0]),)) elif cmd == 'drop_role': if len(args) != 1: - print 'drop_role requires 1 args' + print('drop_role requires 1 args') sys.exit(1) pp.pprint(client.drop_role(args[0],)) elif cmd == 'get_role_names': if len(args) != 0: - print 'get_role_names requires 0 args' + print('get_role_names requires 0 args') sys.exit(1) pp.pprint(client.get_role_names()) elif cmd == 'grant_role': if len(args) != 6: - print 'grant_role requires 6 args' + print('grant_role requires 6 args') sys.exit(1) pp.pprint(client.grant_role(args[0],args[1],eval(args[2]),args[3],eval(args[4]),eval(args[5]),)) elif cmd == 'revoke_role': if len(args) != 3: - print 'revoke_role requires 3 args' + print('revoke_role requires 3 args') sys.exit(1) pp.pprint(client.revoke_role(args[0],args[1],eval(args[2]),)) elif cmd == 'list_roles': if len(args) != 2: - print 'list_roles requires 2 args' + print('list_roles requires 2 args') sys.exit(1) pp.pprint(client.list_roles(args[0],eval(args[1]),)) elif cmd == 'grant_revoke_role': if len(args) != 1: - print 'grant_revoke_role requires 1 args' + print('grant_revoke_role requires 1 args') sys.exit(1) pp.pprint(client.grant_revoke_role(eval(args[0]),)) elif cmd == 'get_principals_in_role': if len(args) != 1: - print 'get_principals_in_role requires 1 args' + print('get_principals_in_role requires 1 args') sys.exit(1) pp.pprint(client.get_principals_in_role(eval(args[0]),)) elif cmd == 'get_role_grants_for_principal': if len(args) != 1: - print 'get_role_grants_for_principal requires 1 args' + print('get_role_grants_for_principal requires 1 args') sys.exit(1) pp.pprint(client.get_role_grants_for_principal(eval(args[0]),)) elif cmd == 'get_privilege_set': if len(args) != 3: - print 'get_privilege_set requires 3 args' + print('get_privilege_set requires 3 args') sys.exit(1) pp.pprint(client.get_privilege_set(eval(args[0]),args[1],eval(args[2]),)) elif cmd == 'list_privileges': if len(args) != 3: - print 'list_privileges requires 3 args' + print('list_privileges requires 3 args') sys.exit(1) pp.pprint(client.list_privileges(args[0],eval(args[1]),eval(args[2]),)) elif cmd == 'grant_privileges': if len(args) != 1: - print 'grant_privileges requires 1 args' + print('grant_privileges requires 1 args') sys.exit(1) pp.pprint(client.grant_privileges(eval(args[0]),)) elif cmd == 'revoke_privileges': if len(args) != 1: - print 'revoke_privileges requires 1 args' + print('revoke_privileges requires 1 args') sys.exit(1) pp.pprint(client.revoke_privileges(eval(args[0]),)) elif cmd == 'grant_revoke_privileges': if len(args) != 1: - print 'grant_revoke_privileges requires 1 args' + print('grant_revoke_privileges requires 1 args') sys.exit(1) pp.pprint(client.grant_revoke_privileges(eval(args[0]),)) elif cmd == 'set_ugi': if len(args) != 2: - print 'set_ugi requires 2 args' + print('set_ugi requires 2 args') sys.exit(1) pp.pprint(client.set_ugi(args[0],eval(args[1]),)) elif cmd == 'get_delegation_token': if len(args) != 2: - print 'get_delegation_token requires 2 args' + print('get_delegation_token requires 2 args') sys.exit(1) pp.pprint(client.get_delegation_token(args[0],args[1],)) elif cmd == 'renew_delegation_token': if len(args) != 1: - print 'renew_delegation_token requires 1 args' + print('renew_delegation_token requires 1 args') sys.exit(1) pp.pprint(client.renew_delegation_token(args[0],)) elif cmd == 'cancel_delegation_token': if len(args) != 1: - print 'cancel_delegation_token requires 1 args' + print('cancel_delegation_token requires 1 args') sys.exit(1) pp.pprint(client.cancel_delegation_token(args[0],)) elif cmd == 'get_open_txns': if len(args) != 0: - print 'get_open_txns requires 0 args' + print('get_open_txns requires 0 args') sys.exit(1) pp.pprint(client.get_open_txns()) elif cmd == 'get_open_txns_info': if len(args) != 0: - print 'get_open_txns_info requires 0 args' + print('get_open_txns_info requires 0 args') sys.exit(1) pp.pprint(client.get_open_txns_info()) elif cmd == 'open_txns': if len(args) != 1: - print 'open_txns requires 1 args' + print('open_txns requires 1 args') sys.exit(1) pp.pprint(client.open_txns(eval(args[0]),)) elif cmd == 'abort_txn': if len(args) != 1: - print 'abort_txn requires 1 args' + print('abort_txn requires 1 args') sys.exit(1) pp.pprint(client.abort_txn(eval(args[0]),)) elif cmd == 'commit_txn': if len(args) != 1: - print 'commit_txn requires 1 args' + print('commit_txn requires 1 args') sys.exit(1) pp.pprint(client.commit_txn(eval(args[0]),)) elif cmd == 'lock': if len(args) != 1: - print 'lock requires 1 args' + print('lock requires 1 args') sys.exit(1) pp.pprint(client.lock(eval(args[0]),)) elif cmd == 'check_lock': if len(args) != 1: - print 'check_lock requires 1 args' + print('check_lock requires 1 args') sys.exit(1) pp.pprint(client.check_lock(eval(args[0]),)) elif cmd == 'unlock': if len(args) != 1: - print 'unlock requires 1 args' + print('unlock requires 1 args') sys.exit(1) pp.pprint(client.unlock(eval(args[0]),)) elif cmd == 'show_locks': if len(args) != 1: - print 'show_locks requires 1 args' + print('show_locks requires 1 args') sys.exit(1) pp.pprint(client.show_locks(eval(args[0]),)) elif cmd == 'heartbeat': if len(args) != 1: - print 'heartbeat requires 1 args' + print('heartbeat requires 1 args') sys.exit(1) pp.pprint(client.heartbeat(eval(args[0]),)) elif cmd == 'heartbeat_txn_range': if len(args) != 1: - print 'heartbeat_txn_range requires 1 args' + print('heartbeat_txn_range requires 1 args') sys.exit(1) pp.pprint(client.heartbeat_txn_range(eval(args[0]),)) elif cmd == 'compact': if len(args) != 1: - print 'compact requires 1 args' + print('compact requires 1 args') sys.exit(1) pp.pprint(client.compact(eval(args[0]),)) elif cmd == 'show_compact': if len(args) != 1: - print 'show_compact requires 1 args' + print('show_compact requires 1 args') sys.exit(1) pp.pprint(client.show_compact(eval(args[0]),)) elif cmd == 'add_dynamic_partitions': if len(args) != 1: - print 'add_dynamic_partitions requires 1 args' + print('add_dynamic_partitions requires 1 args') sys.exit(1) pp.pprint(client.add_dynamic_partitions(eval(args[0]),)) elif cmd == 'get_next_notification': if len(args) != 1: - print 'get_next_notification requires 1 args' + print('get_next_notification requires 1 args') sys.exit(1) pp.pprint(client.get_next_notification(eval(args[0]),)) elif cmd == 'get_current_notificationEventId': if len(args) != 0: - print 'get_current_notificationEventId requires 0 args' + print('get_current_notificationEventId requires 0 args') sys.exit(1) pp.pprint(client.get_current_notificationEventId()) elif cmd == 'fire_listener_event': if len(args) != 1: - print 'fire_listener_event requires 1 args' + print('fire_listener_event requires 1 args') sys.exit(1) pp.pprint(client.fire_listener_event(eval(args[0]),)) +elif cmd == 'getName': + if len(args) != 0: + print('getName requires 0 args') + sys.exit(1) + pp.pprint(client.getName()) + +elif cmd == 'getVersion': + if len(args) != 0: + print('getVersion requires 0 args') + sys.exit(1) + pp.pprint(client.getVersion()) + +elif cmd == 'getStatus': + if len(args) != 0: + print('getStatus requires 0 args') + sys.exit(1) + pp.pprint(client.getStatus()) + +elif cmd == 'getStatusDetails': + if len(args) != 0: + print('getStatusDetails requires 0 args') + sys.exit(1) + pp.pprint(client.getStatusDetails()) + +elif cmd == 'getCounters': + if len(args) != 0: + print('getCounters requires 0 args') + sys.exit(1) + pp.pprint(client.getCounters()) + +elif cmd == 'getCounter': + if len(args) != 1: + print('getCounter requires 1 args') + sys.exit(1) + pp.pprint(client.getCounter(args[0],)) + +elif cmd == 'setOption': + if len(args) != 2: + print('setOption requires 2 args') + sys.exit(1) + pp.pprint(client.setOption(args[0],args[1],)) + +elif cmd == 'getOption': + if len(args) != 1: + print('getOption requires 1 args') + sys.exit(1) + pp.pprint(client.getOption(args[0],)) + +elif cmd == 'getOptions': + if len(args) != 0: + print('getOptions requires 0 args') + sys.exit(1) + pp.pprint(client.getOptions()) + +elif cmd == 'aliveSince': + if len(args) != 0: + print('aliveSince requires 0 args') + sys.exit(1) + pp.pprint(client.aliveSince()) + +elif cmd == 'getLimitedReflection': + if len(args) != 0: + print('getLimitedReflection requires 0 args') + sys.exit(1) + pp.pprint(client.getLimitedReflection()) + +elif cmd == 'reinitialize': + if len(args) != 0: + print('reinitialize requires 0 args') + sys.exit(1) + pp.pprint(client.reinitialize()) + +elif cmd == 'shutdown': + if len(args) != 0: + print('shutdown requires 0 args') + sys.exit(1) + pp.pprint(client.shutdown()) + else: - print 'Unrecognized method %s' % cmd + print('Unrecognized method %s' % cmd) sys.exit(1) transport.close() diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 4cc54e8..9e460f0 100644 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -67,7 +67,7 @@ def get_databases(self, pattern): """ pass - def get_all_databases(self, ): + def get_all_databases(self): pass def alter_database(self, dbname, db): @@ -775,6 +775,9 @@ def get_function(self, dbName, funcName): """ pass + def get_all_functions(self): + pass + def create_role(self, role): """ Parameters: @@ -789,7 +792,7 @@ def drop_role(self, role_name): """ pass - def get_role_names(self, ): + def get_role_names(self): pass def grant_role(self, role_name, principal_name, principal_type, grantor, grantorType, grant_option): @@ -911,10 +914,10 @@ def cancel_delegation_token(self, token_str_form): """ pass - def get_open_txns(self, ): + def get_open_txns(self): pass - def get_open_txns_info(self, ): + def get_open_txns_info(self): pass def open_txns(self, rqst): @@ -1008,7 +1011,7 @@ def get_next_notification(self, rqst): """ pass - def get_current_notificationEventId(self, ): + def get_current_notificationEventId(self): pass def fire_listener_event(self, rqst): @@ -1042,16 +1045,17 @@ def send_getMetaConf(self, key): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getMetaConf(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_getMetaConf(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = getMetaConf_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1076,16 +1080,17 @@ def send_setMetaConf(self, key, value): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_setMetaConf(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_setMetaConf(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = setMetaConf_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 return @@ -1106,16 +1111,17 @@ def send_create_database(self, database): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_create_database(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_create_database(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = create_database_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -1140,16 +1146,17 @@ def send_get_database(self, name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_database(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_database(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_database_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1178,16 +1185,17 @@ def send_drop_database(self, name, deleteData, cascade): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_database(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_database(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_database_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -1212,43 +1220,45 @@ def send_get_databases(self, pattern): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_databases(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_databases(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_databases_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + 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_databases failed: unknown result"); - def get_all_databases(self, ): + def get_all_databases(self): self.send_get_all_databases() return self.recv_get_all_databases() - def send_get_all_databases(self, ): + def send_get_all_databases(self): self._oprot.writeMessageBegin('get_all_databases', TMessageType.CALL, self._seqid) args = get_all_databases_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_all_databases(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_all_databases(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_all_databases_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1273,16 +1283,17 @@ def send_alter_database(self, dbname, db): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_alter_database(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_alter_database(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = alter_database_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -1305,16 +1316,17 @@ def send_get_type(self, name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_type(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_type(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_type_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1339,16 +1351,17 @@ def send_create_type(self, type): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_create_type(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_create_type(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = create_type_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1375,16 +1388,17 @@ def send_drop_type(self, type): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_type(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_type(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_type_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1409,16 +1423,17 @@ def send_get_type_all(self, name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_type_all(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_type_all(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_type_all_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o2 is not None: @@ -1443,16 +1458,17 @@ def send_get_fields(self, db_name, table_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_fields(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_fields(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_fields_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1483,16 +1499,17 @@ def send_get_fields_with_environment_context(self, db_name, table_name, environm self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_fields_with_environment_context(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_fields_with_environment_context(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_fields_with_environment_context_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1521,16 +1538,17 @@ def send_get_schema(self, db_name, table_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_schema(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_schema(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_schema_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1561,16 +1579,17 @@ def send_get_schema_with_environment_context(self, db_name, table_name, environm self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_schema_with_environment_context(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_schema_with_environment_context(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_schema_with_environment_context_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1597,16 +1616,17 @@ def send_create_table(self, tbl): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_create_table(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_create_table(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = create_table_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -1635,16 +1655,17 @@ def send_create_table_with_environment_context(self, tbl, environment_context): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_create_table_with_environment_context(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_create_table_with_environment_context(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = create_table_with_environment_context_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -1675,16 +1696,17 @@ def send_drop_table(self, dbname, name, deleteData): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_table(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_table(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_table_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o3 is not None: @@ -1713,16 +1735,17 @@ def send_drop_table_with_environment_context(self, dbname, name, deleteData, env self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_table_with_environment_context(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_table_with_environment_context(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_table_with_environment_context_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o3 is not None: @@ -1747,16 +1770,17 @@ def send_get_tables(self, db_name, pattern): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_tables(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_tables(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_tables_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1779,16 +1803,17 @@ def send_get_all_tables(self, db_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_all_tables(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_all_tables(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_all_tables_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1813,16 +1838,17 @@ def send_get_table(self, dbname, tbl_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_table(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_table(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_table_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1849,16 +1875,17 @@ def send_get_table_objects_by_name(self, dbname, tbl_names): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_table_objects_by_name(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_table_objects_by_name(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_table_objects_by_name_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1889,16 +1916,17 @@ def send_get_table_names_by_filter(self, dbname, filter, max_tables): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_table_names_by_filter(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_table_names_by_filter(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_table_names_by_filter_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -1929,16 +1957,17 @@ def send_alter_table(self, dbname, tbl_name, new_tbl): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_alter_table(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_alter_table(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = alter_table_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -1967,16 +1996,17 @@ def send_alter_table_with_environment_context(self, dbname, tbl_name, new_tbl, e self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_alter_table_with_environment_context(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_alter_table_with_environment_context(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = alter_table_with_environment_context_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -2005,16 +2035,17 @@ def send_alter_table_with_cascade(self, dbname, tbl_name, new_tbl, cascade): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_alter_table_with_cascade(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_alter_table_with_cascade(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = alter_table_with_cascade_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -2037,16 +2068,17 @@ def send_add_partition(self, new_part): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_add_partition(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_add_partition(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = add_partition_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2075,16 +2107,17 @@ def send_add_partition_with_environment_context(self, new_part, environment_cont self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_add_partition_with_environment_context(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_add_partition_with_environment_context(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = add_partition_with_environment_context_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2111,16 +2144,17 @@ def send_add_partitions(self, new_parts): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_add_partitions(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_add_partitions(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = add_partitions_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2147,16 +2181,17 @@ def send_add_partitions_pspec(self, new_parts): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_add_partitions_pspec(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_add_partitions_pspec(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = add_partitions_pspec_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2187,16 +2222,17 @@ def send_append_partition(self, db_name, tbl_name, part_vals): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_append_partition(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_append_partition(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = append_partition_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2223,16 +2259,17 @@ def send_add_partitions_req(self, request): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_add_partitions_req(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_add_partitions_req(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = add_partitions_req_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2265,16 +2302,17 @@ def send_append_partition_with_environment_context(self, db_name, tbl_name, part self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_append_partition_with_environment_context(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_append_partition_with_environment_context(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = append_partition_with_environment_context_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2305,16 +2343,17 @@ def send_append_partition_by_name(self, db_name, tbl_name, part_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_append_partition_by_name(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_append_partition_by_name(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = append_partition_by_name_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2347,16 +2386,17 @@ def send_append_partition_by_name_with_environment_context(self, db_name, tbl_na self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_append_partition_by_name_with_environment_context(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_append_partition_by_name_with_environment_context(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = append_partition_by_name_with_environment_context_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2389,16 +2429,17 @@ def send_drop_partition(self, db_name, tbl_name, part_vals, deleteData): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_partition(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_partition(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_partition_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2431,16 +2472,17 @@ def send_drop_partition_with_environment_context(self, db_name, tbl_name, part_v self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_partition_with_environment_context(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_partition_with_environment_context(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_partition_with_environment_context_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2471,16 +2513,17 @@ def send_drop_partition_by_name(self, db_name, tbl_name, part_name, deleteData): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_partition_by_name(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_partition_by_name(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_partition_by_name_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2513,16 +2556,17 @@ def send_drop_partition_by_name_with_environment_context(self, db_name, tbl_name self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_partition_by_name_with_environment_context(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_partition_by_name_with_environment_context(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_partition_by_name_with_environment_context_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2547,16 +2591,17 @@ def send_drop_partitions_req(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_partitions_req(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_partitions_req(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_partitions_req_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2585,16 +2630,17 @@ def send_get_partition(self, db_name, tbl_name, part_vals): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partition(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partition(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partition_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2627,16 +2673,17 @@ def send_exchange_partition(self, partitionSpecs, source_db, source_table_name, self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_exchange_partition(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_exchange_partition(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = exchange_partition_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2673,16 +2720,17 @@ def send_get_partition_with_auth(self, db_name, tbl_name, part_vals, user_name, self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partition_with_auth(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partition_with_auth(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partition_with_auth_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2711,16 +2759,17 @@ def send_get_partition_by_name(self, db_name, tbl_name, part_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partition_by_name(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partition_by_name(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partition_by_name_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2749,16 +2798,17 @@ def send_get_partitions(self, db_name, tbl_name, max_parts): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partitions(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partitions(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partitions_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2791,16 +2841,17 @@ def send_get_partitions_with_auth(self, db_name, tbl_name, max_parts, user_name, self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partitions_with_auth(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partitions_with_auth(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partitions_with_auth_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2829,16 +2880,17 @@ def send_get_partitions_pspec(self, db_name, tbl_name, max_parts): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partitions_pspec(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partitions_pspec(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partitions_pspec_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2867,16 +2919,17 @@ def send_get_partition_names(self, db_name, tbl_name, max_parts): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partition_names(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partition_names(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partition_names_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o2 is not None: @@ -2905,16 +2958,17 @@ def send_get_partitions_ps(self, db_name, tbl_name, part_vals, max_parts): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partitions_ps(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partitions_ps(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partitions_ps_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2949,16 +3003,17 @@ def send_get_partitions_ps_with_auth(self, db_name, tbl_name, part_vals, max_par self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partitions_ps_with_auth(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partitions_ps_with_auth(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partitions_ps_with_auth_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -2989,16 +3044,17 @@ def send_get_partition_names_ps(self, db_name, tbl_name, part_vals, max_parts): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partition_names_ps(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partition_names_ps(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partition_names_ps_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3029,16 +3085,17 @@ def send_get_partitions_by_filter(self, db_name, tbl_name, filter, max_parts): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partitions_by_filter(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partitions_by_filter(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partitions_by_filter_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3069,16 +3126,17 @@ def send_get_part_specs_by_filter(self, db_name, tbl_name, filter, max_parts): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_part_specs_by_filter(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_part_specs_by_filter(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_part_specs_by_filter_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3103,16 +3161,17 @@ def send_get_partitions_by_expr(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partitions_by_expr(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partitions_by_expr(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partitions_by_expr_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3141,16 +3200,17 @@ def send_get_partitions_by_names(self, db_name, tbl_name, names): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partitions_by_names(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partitions_by_names(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partitions_by_names_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3179,16 +3239,17 @@ def send_alter_partition(self, db_name, tbl_name, new_part): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_alter_partition(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_alter_partition(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = alter_partition_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -3215,16 +3276,17 @@ def send_alter_partitions(self, db_name, tbl_name, new_parts): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_alter_partitions(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_alter_partitions(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = alter_partitions_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -3253,16 +3315,17 @@ def send_alter_partition_with_environment_context(self, db_name, tbl_name, new_p self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_alter_partition_with_environment_context(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_alter_partition_with_environment_context(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = alter_partition_with_environment_context_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -3291,16 +3354,17 @@ def send_rename_partition(self, db_name, tbl_name, part_vals, new_part): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_rename_partition(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_rename_partition(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = rename_partition_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -3325,16 +3389,17 @@ def send_partition_name_has_valid_characters(self, part_vals, throw_exception): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_partition_name_has_valid_characters(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_partition_name_has_valid_characters(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = partition_name_has_valid_characters_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3359,16 +3424,17 @@ def send_get_config_value(self, name, defaultValue): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_config_value(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_config_value(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_config_value_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3391,16 +3457,17 @@ def send_partition_name_to_vals(self, part_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_partition_name_to_vals(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_partition_name_to_vals(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = partition_name_to_vals_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3423,16 +3490,17 @@ def send_partition_name_to_spec(self, part_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_partition_name_to_spec(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_partition_name_to_spec(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = partition_name_to_spec_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3461,16 +3529,17 @@ def send_markPartitionForEvent(self, db_name, tbl_name, part_vals, eventType): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_markPartitionForEvent(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_markPartitionForEvent(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = markPartitionForEvent_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -3507,16 +3576,17 @@ def send_isPartitionMarkedForEvent(self, db_name, tbl_name, part_vals, eventType self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_isPartitionMarkedForEvent(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_isPartitionMarkedForEvent(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = isPartitionMarkedForEvent_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3551,16 +3621,17 @@ def send_add_index(self, new_index, index_table): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_add_index(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_add_index(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = add_index_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3593,16 +3664,17 @@ def send_alter_index(self, dbname, base_tbl_name, idx_name, new_idx): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_alter_index(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_alter_index(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = alter_index_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -3631,16 +3703,17 @@ def send_drop_index_by_name(self, db_name, tbl_name, index_name, deleteData): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_index_by_name(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_index_by_name(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_index_by_name_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3669,16 +3742,17 @@ def send_get_index_by_name(self, db_name, tbl_name, index_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_index_by_name(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_index_by_name(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_index_by_name_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3707,16 +3781,17 @@ def send_get_indexes(self, db_name, tbl_name, max_indexes): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_indexes(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_indexes(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_indexes_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3745,16 +3820,17 @@ def send_get_index_names(self, db_name, tbl_name, max_indexes): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_index_names(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_index_names(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_index_names_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o2 is not None: @@ -3777,16 +3853,17 @@ def send_update_table_column_statistics(self, stats_obj): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_update_table_column_statistics(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_update_table_column_statistics(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = update_table_column_statistics_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3815,16 +3892,17 @@ def send_update_partition_column_statistics(self, stats_obj): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_update_partition_column_statistics(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_update_partition_column_statistics(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = update_partition_column_statistics_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3857,16 +3935,17 @@ def send_get_table_column_statistics(self, db_name, tbl_name, col_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_table_column_statistics(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_table_column_statistics(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_table_column_statistics_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3901,16 +3980,17 @@ def send_get_partition_column_statistics(self, db_name, tbl_name, part_name, col self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partition_column_statistics(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partition_column_statistics(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partition_column_statistics_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3939,16 +4019,17 @@ def send_get_table_statistics_req(self, request): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_table_statistics_req(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_table_statistics_req(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_table_statistics_req_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -3973,16 +4054,17 @@ def send_get_partitions_statistics_req(self, request): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_partitions_statistics_req(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_partitions_statistics_req(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_partitions_statistics_req_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4007,16 +4089,17 @@ def send_get_aggr_stats_for(self, request): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_aggr_stats_for(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_aggr_stats_for(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_aggr_stats_for_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4041,16 +4124,17 @@ def send_set_aggr_stats_for(self, request): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_set_aggr_stats_for(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_set_aggr_stats_for(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = set_aggr_stats_for_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4085,16 +4169,17 @@ def send_delete_partition_column_statistics(self, db_name, tbl_name, part_name, self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_delete_partition_column_statistics(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_delete_partition_column_statistics(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = delete_partition_column_statistics_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4127,16 +4212,17 @@ def send_delete_table_column_statistics(self, db_name, tbl_name, col_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_delete_table_column_statistics(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_delete_table_column_statistics(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = delete_table_column_statistics_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4165,16 +4251,17 @@ def send_create_function(self, func): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_create_function(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_create_function(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = create_function_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -4203,16 +4290,17 @@ def send_drop_function(self, dbName, funcName): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_function(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_function(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_function_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o3 is not None: @@ -4239,16 +4327,17 @@ def send_alter_function(self, dbName, funcName, newFunc): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_alter_function(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_alter_function(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = alter_function_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -4273,16 +4362,17 @@ def send_get_functions(self, dbName, pattern): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_functions(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_functions(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_functions_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4307,16 +4397,17 @@ def send_get_function(self, dbName, funcName): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_function(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_function(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_function_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4325,6 +4416,34 @@ 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): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = get_all_functions_result() + result.read(iprot) + 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: @@ -4341,16 +4460,17 @@ def send_create_role(self, role): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_create_role(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_create_role(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = create_role_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4373,43 +4493,45 @@ def send_drop_role(self, role_name): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_drop_role(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_drop_role(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = drop_role_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + 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, "drop_role failed: unknown result"); - def get_role_names(self, ): + def get_role_names(self): self.send_get_role_names() return self.recv_get_role_names() - def send_get_role_names(self, ): + def send_get_role_names(self): self._oprot.writeMessageBegin('get_role_names', TMessageType.CALL, self._seqid) args = get_role_names_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_role_names(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_role_names(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_role_names_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4442,16 +4564,17 @@ def send_grant_role(self, role_name, principal_name, principal_type, grantor, gr self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_grant_role(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_grant_role(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = grant_role_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4478,16 +4601,17 @@ def send_revoke_role(self, role_name, principal_name, principal_type): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_revoke_role(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_revoke_role(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = revoke_role_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4512,16 +4636,17 @@ def send_list_roles(self, principal_name, principal_type): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_list_roles(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_list_roles(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = list_roles_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4544,16 +4669,17 @@ def send_grant_revoke_role(self, request): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_grant_revoke_role(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_grant_revoke_role(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = grant_revoke_role_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4576,16 +4702,17 @@ def send_get_principals_in_role(self, request): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_principals_in_role(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_principals_in_role(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_principals_in_role_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4608,16 +4735,17 @@ def send_get_role_grants_for_principal(self, request): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_role_grants_for_principal(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_role_grants_for_principal(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_role_grants_for_principal_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4644,16 +4772,17 @@ def send_get_privilege_set(self, hiveObject, user_name, group_names): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_privilege_set(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_privilege_set(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_privilege_set_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4680,16 +4809,17 @@ def send_list_privileges(self, principal_name, principal_type, hiveObject): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_list_privileges(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_list_privileges(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = list_privileges_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4712,16 +4842,17 @@ def send_grant_privileges(self, privileges): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_grant_privileges(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_grant_privileges(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = grant_privileges_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4744,16 +4875,17 @@ def send_revoke_privileges(self, privileges): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_revoke_privileges(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_revoke_privileges(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = revoke_privileges_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4776,16 +4908,17 @@ def send_grant_revoke_privileges(self, request): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_grant_revoke_privileges(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_grant_revoke_privileges(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = grant_revoke_privileges_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4810,16 +4943,17 @@ def send_set_ugi(self, user_name, group_names): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_set_ugi(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_set_ugi(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = set_ugi_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4844,16 +4978,17 @@ def send_get_delegation_token(self, token_owner, renewer_kerberos_principal_name self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_delegation_token(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_delegation_token(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_delegation_token_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4876,16 +5011,17 @@ def send_renew_delegation_token(self, token_str_form): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_renew_delegation_token(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_renew_delegation_token(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = renew_delegation_token_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -4908,66 +5044,69 @@ def send_cancel_delegation_token(self, token_str_form): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_cancel_delegation_token(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_cancel_delegation_token(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = cancel_delegation_token_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 return - def get_open_txns(self, ): + def get_open_txns(self): self.send_get_open_txns() return self.recv_get_open_txns() - def send_get_open_txns(self, ): + def send_get_open_txns(self): self._oprot.writeMessageBegin('get_open_txns', TMessageType.CALL, self._seqid) args = get_open_txns_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_open_txns(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_open_txns(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_open_txns_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns failed: unknown result"); - def get_open_txns_info(self, ): + def get_open_txns_info(self): self.send_get_open_txns_info() return self.recv_get_open_txns_info() - def send_get_open_txns_info(self, ): + def send_get_open_txns_info(self): self._oprot.writeMessageBegin('get_open_txns_info', TMessageType.CALL, self._seqid) args = get_open_txns_info_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_open_txns_info(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_open_txns_info(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_open_txns_info_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns_info failed: unknown result"); @@ -4988,16 +5127,17 @@ def send_open_txns(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_open_txns(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_open_txns(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = open_txns_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "open_txns failed: unknown result"); @@ -5018,16 +5158,17 @@ def send_abort_txn(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_abort_txn(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_abort_txn(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = abort_txn_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 return @@ -5048,16 +5189,17 @@ def send_commit_txn(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_commit_txn(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_commit_txn(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = commit_txn_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -5080,16 +5222,17 @@ def send_lock(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_lock(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_lock(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = lock_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -5114,16 +5257,17 @@ def send_check_lock(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_check_lock(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_check_lock(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = check_lock_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.o1 is not None: @@ -5150,16 +5294,17 @@ def send_unlock(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_unlock(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_unlock(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = unlock_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -5182,16 +5327,17 @@ def send_show_locks(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_show_locks(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_show_locks(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = show_locks_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "show_locks failed: unknown result"); @@ -5212,16 +5358,17 @@ def send_heartbeat(self, ids): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_heartbeat(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_heartbeat(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = heartbeat_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -5246,16 +5393,17 @@ def send_heartbeat_txn_range(self, txns): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_heartbeat_txn_range(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_heartbeat_txn_range(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = heartbeat_txn_range_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "heartbeat_txn_range failed: unknown result"); @@ -5276,16 +5424,17 @@ def send_compact(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_compact(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_compact(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = compact_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() return def show_compact(self, rqst): @@ -5304,16 +5453,17 @@ def send_show_compact(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_show_compact(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_show_compact(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = show_compact_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "show_compact failed: unknown result"); @@ -5334,16 +5484,17 @@ def send_add_dynamic_partitions(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_add_dynamic_partitions(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_add_dynamic_partitions(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = add_dynamic_partitions_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.o1 is not None: raise result.o1 if result.o2 is not None: @@ -5366,41 +5517,43 @@ def send_get_next_notification(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_next_notification(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_next_notification(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_next_notification_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "get_next_notification failed: unknown result"); - def get_current_notificationEventId(self, ): + def get_current_notificationEventId(self): self.send_get_current_notificationEventId() return self.recv_get_current_notificationEventId() - def send_get_current_notificationEventId(self, ): + def send_get_current_notificationEventId(self): self._oprot.writeMessageBegin('get_current_notificationEventId', TMessageType.CALL, self._seqid) args = get_current_notificationEventId_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_get_current_notificationEventId(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_get_current_notificationEventId(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = get_current_notificationEventId_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "get_current_notificationEventId failed: unknown result"); @@ -5421,16 +5574,17 @@ def send_fire_listener_event(self, rqst): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_fire_listener_event(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_fire_listener_event(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = fire_listener_event_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "fire_listener_event failed: unknown result"); @@ -5527,6 +5681,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 @@ -5585,7 +5740,7 @@ def process_getMetaConf(self, seqid, iprot, oprot): result = getMetaConf_result() try: result.success = self._handler.getMetaConf(args.key) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("getMetaConf", TMessageType.REPLY, seqid) result.write(oprot) @@ -5599,7 +5754,7 @@ def process_setMetaConf(self, seqid, iprot, oprot): result = setMetaConf_result() try: self._handler.setMetaConf(args.key, args.value) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("setMetaConf", TMessageType.REPLY, seqid) result.write(oprot) @@ -5613,11 +5768,11 @@ def process_create_database(self, seqid, iprot, oprot): result = create_database_result() try: self._handler.create_database(args.database) - except AlreadyExistsException as o1: + except AlreadyExistsException, o1: result.o1 = o1 - except InvalidObjectException as o2: + except InvalidObjectException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("create_database", TMessageType.REPLY, seqid) result.write(oprot) @@ -5631,9 +5786,9 @@ def process_get_database(self, seqid, iprot, oprot): result = get_database_result() try: result.success = self._handler.get_database(args.name) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_database", TMessageType.REPLY, seqid) result.write(oprot) @@ -5647,11 +5802,11 @@ def process_drop_database(self, seqid, iprot, oprot): result = drop_database_result() try: self._handler.drop_database(args.name, args.deleteData, args.cascade) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except InvalidOperationException as o2: + except InvalidOperationException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("drop_database", TMessageType.REPLY, seqid) result.write(oprot) @@ -5665,7 +5820,7 @@ def process_get_databases(self, seqid, iprot, oprot): result = get_databases_result() try: result.success = self._handler.get_databases(args.pattern) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("get_databases", TMessageType.REPLY, seqid) result.write(oprot) @@ -5679,7 +5834,7 @@ def process_get_all_databases(self, seqid, iprot, oprot): result = get_all_databases_result() try: result.success = self._handler.get_all_databases() - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("get_all_databases", TMessageType.REPLY, seqid) result.write(oprot) @@ -5693,9 +5848,9 @@ def process_alter_database(self, seqid, iprot, oprot): result = alter_database_result() try: self._handler.alter_database(args.dbname, args.db) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("alter_database", TMessageType.REPLY, seqid) result.write(oprot) @@ -5709,9 +5864,9 @@ def process_get_type(self, seqid, iprot, oprot): result = get_type_result() try: result.success = self._handler.get_type(args.name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_type", TMessageType.REPLY, seqid) result.write(oprot) @@ -5725,11 +5880,11 @@ def process_create_type(self, seqid, iprot, oprot): result = create_type_result() try: result.success = self._handler.create_type(args.type) - except AlreadyExistsException as o1: + except AlreadyExistsException, o1: result.o1 = o1 - except InvalidObjectException as o2: + except InvalidObjectException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("create_type", TMessageType.REPLY, seqid) result.write(oprot) @@ -5743,9 +5898,9 @@ def process_drop_type(self, seqid, iprot, oprot): result = drop_type_result() try: result.success = self._handler.drop_type(args.type) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("drop_type", TMessageType.REPLY, seqid) result.write(oprot) @@ -5759,7 +5914,7 @@ def process_get_type_all(self, seqid, iprot, oprot): result = get_type_all_result() try: result.success = self._handler.get_type_all(args.name) - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_type_all", TMessageType.REPLY, seqid) result.write(oprot) @@ -5773,11 +5928,11 @@ def process_get_fields(self, seqid, iprot, oprot): result = get_fields_result() try: result.success = self._handler.get_fields(args.db_name, args.table_name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except UnknownTableException as o2: + except UnknownTableException, o2: result.o2 = o2 - except UnknownDBException as o3: + except UnknownDBException, o3: result.o3 = o3 oprot.writeMessageBegin("get_fields", TMessageType.REPLY, seqid) result.write(oprot) @@ -5791,11 +5946,11 @@ def process_get_fields_with_environment_context(self, seqid, iprot, oprot): result = get_fields_with_environment_context_result() try: result.success = self._handler.get_fields_with_environment_context(args.db_name, args.table_name, args.environment_context) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except UnknownTableException as o2: + except UnknownTableException, o2: result.o2 = o2 - except UnknownDBException as o3: + except UnknownDBException, o3: result.o3 = o3 oprot.writeMessageBegin("get_fields_with_environment_context", TMessageType.REPLY, seqid) result.write(oprot) @@ -5809,11 +5964,11 @@ def process_get_schema(self, seqid, iprot, oprot): result = get_schema_result() try: result.success = self._handler.get_schema(args.db_name, args.table_name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except UnknownTableException as o2: + except UnknownTableException, o2: result.o2 = o2 - except UnknownDBException as o3: + except UnknownDBException, o3: result.o3 = o3 oprot.writeMessageBegin("get_schema", TMessageType.REPLY, seqid) result.write(oprot) @@ -5827,11 +5982,11 @@ def process_get_schema_with_environment_context(self, seqid, iprot, oprot): result = get_schema_with_environment_context_result() try: result.success = self._handler.get_schema_with_environment_context(args.db_name, args.table_name, args.environment_context) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except UnknownTableException as o2: + except UnknownTableException, o2: result.o2 = o2 - except UnknownDBException as o3: + except UnknownDBException, o3: result.o3 = o3 oprot.writeMessageBegin("get_schema_with_environment_context", TMessageType.REPLY, seqid) result.write(oprot) @@ -5845,13 +6000,13 @@ def process_create_table(self, seqid, iprot, oprot): result = create_table_result() try: self._handler.create_table(args.tbl) - except AlreadyExistsException as o1: + except AlreadyExistsException, o1: result.o1 = o1 - except InvalidObjectException as o2: + except InvalidObjectException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 - except NoSuchObjectException as o4: + except NoSuchObjectException, o4: result.o4 = o4 oprot.writeMessageBegin("create_table", TMessageType.REPLY, seqid) result.write(oprot) @@ -5865,13 +6020,13 @@ def process_create_table_with_environment_context(self, seqid, iprot, oprot): result = create_table_with_environment_context_result() try: self._handler.create_table_with_environment_context(args.tbl, args.environment_context) - except AlreadyExistsException as o1: + except AlreadyExistsException, o1: result.o1 = o1 - except InvalidObjectException as o2: + except InvalidObjectException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 - except NoSuchObjectException as o4: + except NoSuchObjectException, o4: result.o4 = o4 oprot.writeMessageBegin("create_table_with_environment_context", TMessageType.REPLY, seqid) result.write(oprot) @@ -5885,9 +6040,9 @@ def process_drop_table(self, seqid, iprot, oprot): result = drop_table_result() try: self._handler.drop_table(args.dbname, args.name, args.deleteData) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("drop_table", TMessageType.REPLY, seqid) result.write(oprot) @@ -5901,9 +6056,9 @@ def process_drop_table_with_environment_context(self, seqid, iprot, oprot): result = drop_table_with_environment_context_result() try: self._handler.drop_table_with_environment_context(args.dbname, args.name, args.deleteData, args.environment_context) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("drop_table_with_environment_context", TMessageType.REPLY, seqid) result.write(oprot) @@ -5917,7 +6072,7 @@ def process_get_tables(self, seqid, iprot, oprot): result = get_tables_result() try: result.success = self._handler.get_tables(args.db_name, args.pattern) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("get_tables", TMessageType.REPLY, seqid) result.write(oprot) @@ -5931,7 +6086,7 @@ def process_get_all_tables(self, seqid, iprot, oprot): result = get_all_tables_result() try: result.success = self._handler.get_all_tables(args.db_name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("get_all_tables", TMessageType.REPLY, seqid) result.write(oprot) @@ -5945,9 +6100,9 @@ def process_get_table(self, seqid, iprot, oprot): result = get_table_result() try: result.success = self._handler.get_table(args.dbname, args.tbl_name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_table", TMessageType.REPLY, seqid) result.write(oprot) @@ -5961,11 +6116,11 @@ def process_get_table_objects_by_name(self, seqid, iprot, oprot): result = get_table_objects_by_name_result() try: result.success = self._handler.get_table_objects_by_name(args.dbname, args.tbl_names) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except InvalidOperationException as o2: + except InvalidOperationException, o2: result.o2 = o2 - except UnknownDBException as o3: + except UnknownDBException, o3: result.o3 = o3 oprot.writeMessageBegin("get_table_objects_by_name", TMessageType.REPLY, seqid) result.write(oprot) @@ -5979,11 +6134,11 @@ def process_get_table_names_by_filter(self, seqid, iprot, oprot): result = get_table_names_by_filter_result() try: result.success = self._handler.get_table_names_by_filter(args.dbname, args.filter, args.max_tables) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except InvalidOperationException as o2: + except InvalidOperationException, o2: result.o2 = o2 - except UnknownDBException as o3: + except UnknownDBException, o3: result.o3 = o3 oprot.writeMessageBegin("get_table_names_by_filter", TMessageType.REPLY, seqid) result.write(oprot) @@ -5997,9 +6152,9 @@ def process_alter_table(self, seqid, iprot, oprot): result = alter_table_result() try: self._handler.alter_table(args.dbname, args.tbl_name, args.new_tbl) - except InvalidOperationException as o1: + except InvalidOperationException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("alter_table", TMessageType.REPLY, seqid) result.write(oprot) @@ -6013,9 +6168,9 @@ def process_alter_table_with_environment_context(self, seqid, iprot, oprot): result = alter_table_with_environment_context_result() try: self._handler.alter_table_with_environment_context(args.dbname, args.tbl_name, args.new_tbl, args.environment_context) - except InvalidOperationException as o1: + except InvalidOperationException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("alter_table_with_environment_context", TMessageType.REPLY, seqid) result.write(oprot) @@ -6029,9 +6184,9 @@ def process_alter_table_with_cascade(self, seqid, iprot, oprot): result = alter_table_with_cascade_result() try: self._handler.alter_table_with_cascade(args.dbname, args.tbl_name, args.new_tbl, args.cascade) - except InvalidOperationException as o1: + except InvalidOperationException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("alter_table_with_cascade", TMessageType.REPLY, seqid) result.write(oprot) @@ -6045,11 +6200,11 @@ def process_add_partition(self, seqid, iprot, oprot): result = add_partition_result() try: result.success = self._handler.add_partition(args.new_part) - except InvalidObjectException as o1: + except InvalidObjectException, o1: result.o1 = o1 - except AlreadyExistsException as o2: + except AlreadyExistsException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("add_partition", TMessageType.REPLY, seqid) result.write(oprot) @@ -6063,11 +6218,11 @@ def process_add_partition_with_environment_context(self, seqid, iprot, oprot): result = add_partition_with_environment_context_result() try: result.success = self._handler.add_partition_with_environment_context(args.new_part, args.environment_context) - except InvalidObjectException as o1: + except InvalidObjectException, o1: result.o1 = o1 - except AlreadyExistsException as o2: + except AlreadyExistsException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("add_partition_with_environment_context", TMessageType.REPLY, seqid) result.write(oprot) @@ -6081,11 +6236,11 @@ def process_add_partitions(self, seqid, iprot, oprot): result = add_partitions_result() try: result.success = self._handler.add_partitions(args.new_parts) - except InvalidObjectException as o1: + except InvalidObjectException, o1: result.o1 = o1 - except AlreadyExistsException as o2: + except AlreadyExistsException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("add_partitions", TMessageType.REPLY, seqid) result.write(oprot) @@ -6099,11 +6254,11 @@ def process_add_partitions_pspec(self, seqid, iprot, oprot): result = add_partitions_pspec_result() try: result.success = self._handler.add_partitions_pspec(args.new_parts) - except InvalidObjectException as o1: + except InvalidObjectException, o1: result.o1 = o1 - except AlreadyExistsException as o2: + except AlreadyExistsException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("add_partitions_pspec", TMessageType.REPLY, seqid) result.write(oprot) @@ -6117,11 +6272,11 @@ def process_append_partition(self, seqid, iprot, oprot): result = append_partition_result() try: result.success = self._handler.append_partition(args.db_name, args.tbl_name, args.part_vals) - except InvalidObjectException as o1: + except InvalidObjectException, o1: result.o1 = o1 - except AlreadyExistsException as o2: + except AlreadyExistsException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("append_partition", TMessageType.REPLY, seqid) result.write(oprot) @@ -6135,11 +6290,11 @@ def process_add_partitions_req(self, seqid, iprot, oprot): result = add_partitions_req_result() try: result.success = self._handler.add_partitions_req(args.request) - except InvalidObjectException as o1: + except InvalidObjectException, o1: result.o1 = o1 - except AlreadyExistsException as o2: + except AlreadyExistsException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("add_partitions_req", TMessageType.REPLY, seqid) result.write(oprot) @@ -6153,11 +6308,11 @@ def process_append_partition_with_environment_context(self, seqid, iprot, oprot) result = append_partition_with_environment_context_result() try: result.success = self._handler.append_partition_with_environment_context(args.db_name, args.tbl_name, args.part_vals, args.environment_context) - except InvalidObjectException as o1: + except InvalidObjectException, o1: result.o1 = o1 - except AlreadyExistsException as o2: + except AlreadyExistsException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("append_partition_with_environment_context", TMessageType.REPLY, seqid) result.write(oprot) @@ -6171,11 +6326,11 @@ def process_append_partition_by_name(self, seqid, iprot, oprot): result = append_partition_by_name_result() try: result.success = self._handler.append_partition_by_name(args.db_name, args.tbl_name, args.part_name) - except InvalidObjectException as o1: + except InvalidObjectException, o1: result.o1 = o1 - except AlreadyExistsException as o2: + except AlreadyExistsException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("append_partition_by_name", TMessageType.REPLY, seqid) result.write(oprot) @@ -6189,11 +6344,11 @@ def process_append_partition_by_name_with_environment_context(self, seqid, iprot result = append_partition_by_name_with_environment_context_result() try: result.success = self._handler.append_partition_by_name_with_environment_context(args.db_name, args.tbl_name, args.part_name, args.environment_context) - except InvalidObjectException as o1: + except InvalidObjectException, o1: result.o1 = o1 - except AlreadyExistsException as o2: + except AlreadyExistsException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("append_partition_by_name_with_environment_context", TMessageType.REPLY, seqid) result.write(oprot) @@ -6207,9 +6362,9 @@ def process_drop_partition(self, seqid, iprot, oprot): result = drop_partition_result() try: result.success = self._handler.drop_partition(args.db_name, args.tbl_name, args.part_vals, args.deleteData) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("drop_partition", TMessageType.REPLY, seqid) result.write(oprot) @@ -6223,9 +6378,9 @@ def process_drop_partition_with_environment_context(self, seqid, iprot, oprot): result = drop_partition_with_environment_context_result() try: result.success = self._handler.drop_partition_with_environment_context(args.db_name, args.tbl_name, args.part_vals, args.deleteData, args.environment_context) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("drop_partition_with_environment_context", TMessageType.REPLY, seqid) result.write(oprot) @@ -6239,9 +6394,9 @@ def process_drop_partition_by_name(self, seqid, iprot, oprot): result = drop_partition_by_name_result() try: result.success = self._handler.drop_partition_by_name(args.db_name, args.tbl_name, args.part_name, args.deleteData) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("drop_partition_by_name", TMessageType.REPLY, seqid) result.write(oprot) @@ -6255,9 +6410,9 @@ def process_drop_partition_by_name_with_environment_context(self, seqid, iprot, result = drop_partition_by_name_with_environment_context_result() try: result.success = self._handler.drop_partition_by_name_with_environment_context(args.db_name, args.tbl_name, args.part_name, args.deleteData, args.environment_context) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("drop_partition_by_name_with_environment_context", TMessageType.REPLY, seqid) result.write(oprot) @@ -6271,9 +6426,9 @@ def process_drop_partitions_req(self, seqid, iprot, oprot): result = drop_partitions_req_result() try: result.success = self._handler.drop_partitions_req(args.req) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("drop_partitions_req", TMessageType.REPLY, seqid) result.write(oprot) @@ -6287,9 +6442,9 @@ def process_get_partition(self, seqid, iprot, oprot): result = get_partition_result() try: result.success = self._handler.get_partition(args.db_name, args.tbl_name, args.part_vals) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partition", TMessageType.REPLY, seqid) result.write(oprot) @@ -6303,13 +6458,13 @@ def process_exchange_partition(self, seqid, iprot, oprot): result = exchange_partition_result() try: result.success = self._handler.exchange_partition(args.partitionSpecs, args.source_db, args.source_table_name, args.dest_db, args.dest_table_name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 - except InvalidObjectException as o3: + except InvalidObjectException, o3: result.o3 = o3 - except InvalidInputException as o4: + except InvalidInputException, o4: result.o4 = o4 oprot.writeMessageBegin("exchange_partition", TMessageType.REPLY, seqid) result.write(oprot) @@ -6323,9 +6478,9 @@ def process_get_partition_with_auth(self, seqid, iprot, oprot): result = get_partition_with_auth_result() try: result.success = self._handler.get_partition_with_auth(args.db_name, args.tbl_name, args.part_vals, args.user_name, args.group_names) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partition_with_auth", TMessageType.REPLY, seqid) result.write(oprot) @@ -6339,9 +6494,9 @@ def process_get_partition_by_name(self, seqid, iprot, oprot): result = get_partition_by_name_result() try: result.success = self._handler.get_partition_by_name(args.db_name, args.tbl_name, args.part_name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partition_by_name", TMessageType.REPLY, seqid) result.write(oprot) @@ -6355,9 +6510,9 @@ def process_get_partitions(self, seqid, iprot, oprot): result = get_partitions_result() try: result.success = self._handler.get_partitions(args.db_name, args.tbl_name, args.max_parts) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partitions", TMessageType.REPLY, seqid) result.write(oprot) @@ -6371,9 +6526,9 @@ def process_get_partitions_with_auth(self, seqid, iprot, oprot): result = get_partitions_with_auth_result() try: result.success = self._handler.get_partitions_with_auth(args.db_name, args.tbl_name, args.max_parts, args.user_name, args.group_names) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partitions_with_auth", TMessageType.REPLY, seqid) result.write(oprot) @@ -6387,9 +6542,9 @@ def process_get_partitions_pspec(self, seqid, iprot, oprot): result = get_partitions_pspec_result() try: result.success = self._handler.get_partitions_pspec(args.db_name, args.tbl_name, args.max_parts) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partitions_pspec", TMessageType.REPLY, seqid) result.write(oprot) @@ -6403,7 +6558,7 @@ def process_get_partition_names(self, seqid, iprot, oprot): result = get_partition_names_result() try: result.success = self._handler.get_partition_names(args.db_name, args.tbl_name, args.max_parts) - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partition_names", TMessageType.REPLY, seqid) result.write(oprot) @@ -6417,9 +6572,9 @@ def process_get_partitions_ps(self, seqid, iprot, oprot): result = get_partitions_ps_result() try: result.success = self._handler.get_partitions_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partitions_ps", TMessageType.REPLY, seqid) result.write(oprot) @@ -6433,9 +6588,9 @@ def process_get_partitions_ps_with_auth(self, seqid, iprot, oprot): result = get_partitions_ps_with_auth_result() try: result.success = self._handler.get_partitions_ps_with_auth(args.db_name, args.tbl_name, args.part_vals, args.max_parts, args.user_name, args.group_names) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partitions_ps_with_auth", TMessageType.REPLY, seqid) result.write(oprot) @@ -6449,9 +6604,9 @@ def process_get_partition_names_ps(self, seqid, iprot, oprot): result = get_partition_names_ps_result() try: result.success = self._handler.get_partition_names_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partition_names_ps", TMessageType.REPLY, seqid) result.write(oprot) @@ -6465,9 +6620,9 @@ def process_get_partitions_by_filter(self, seqid, iprot, oprot): result = get_partitions_by_filter_result() try: result.success = self._handler.get_partitions_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partitions_by_filter", TMessageType.REPLY, seqid) result.write(oprot) @@ -6481,9 +6636,9 @@ def process_get_part_specs_by_filter(self, seqid, iprot, oprot): result = get_part_specs_by_filter_result() try: result.success = self._handler.get_part_specs_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_part_specs_by_filter", TMessageType.REPLY, seqid) result.write(oprot) @@ -6497,9 +6652,9 @@ def process_get_partitions_by_expr(self, seqid, iprot, oprot): result = get_partitions_by_expr_result() try: result.success = self._handler.get_partitions_by_expr(args.req) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partitions_by_expr", TMessageType.REPLY, seqid) result.write(oprot) @@ -6513,9 +6668,9 @@ def process_get_partitions_by_names(self, seqid, iprot, oprot): result = get_partitions_by_names_result() try: result.success = self._handler.get_partitions_by_names(args.db_name, args.tbl_name, args.names) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partitions_by_names", TMessageType.REPLY, seqid) result.write(oprot) @@ -6529,9 +6684,9 @@ def process_alter_partition(self, seqid, iprot, oprot): result = alter_partition_result() try: self._handler.alter_partition(args.db_name, args.tbl_name, args.new_part) - except InvalidOperationException as o1: + except InvalidOperationException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("alter_partition", TMessageType.REPLY, seqid) result.write(oprot) @@ -6545,9 +6700,9 @@ def process_alter_partitions(self, seqid, iprot, oprot): result = alter_partitions_result() try: self._handler.alter_partitions(args.db_name, args.tbl_name, args.new_parts) - except InvalidOperationException as o1: + except InvalidOperationException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("alter_partitions", TMessageType.REPLY, seqid) result.write(oprot) @@ -6561,9 +6716,9 @@ def process_alter_partition_with_environment_context(self, seqid, iprot, oprot): result = alter_partition_with_environment_context_result() try: self._handler.alter_partition_with_environment_context(args.db_name, args.tbl_name, args.new_part, args.environment_context) - except InvalidOperationException as o1: + except InvalidOperationException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("alter_partition_with_environment_context", TMessageType.REPLY, seqid) result.write(oprot) @@ -6577,9 +6732,9 @@ def process_rename_partition(self, seqid, iprot, oprot): result = rename_partition_result() try: self._handler.rename_partition(args.db_name, args.tbl_name, args.part_vals, args.new_part) - except InvalidOperationException as o1: + except InvalidOperationException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("rename_partition", TMessageType.REPLY, seqid) result.write(oprot) @@ -6593,7 +6748,7 @@ def process_partition_name_has_valid_characters(self, seqid, iprot, oprot): result = partition_name_has_valid_characters_result() try: result.success = self._handler.partition_name_has_valid_characters(args.part_vals, args.throw_exception) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("partition_name_has_valid_characters", TMessageType.REPLY, seqid) result.write(oprot) @@ -6607,7 +6762,7 @@ def process_get_config_value(self, seqid, iprot, oprot): result = get_config_value_result() try: result.success = self._handler.get_config_value(args.name, args.defaultValue) - except ConfigValSecurityException as o1: + except ConfigValSecurityException, o1: result.o1 = o1 oprot.writeMessageBegin("get_config_value", TMessageType.REPLY, seqid) result.write(oprot) @@ -6621,7 +6776,7 @@ def process_partition_name_to_vals(self, seqid, iprot, oprot): result = partition_name_to_vals_result() try: result.success = self._handler.partition_name_to_vals(args.part_name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("partition_name_to_vals", TMessageType.REPLY, seqid) result.write(oprot) @@ -6635,7 +6790,7 @@ def process_partition_name_to_spec(self, seqid, iprot, oprot): result = partition_name_to_spec_result() try: result.success = self._handler.partition_name_to_spec(args.part_name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("partition_name_to_spec", TMessageType.REPLY, seqid) result.write(oprot) @@ -6649,17 +6804,17 @@ def process_markPartitionForEvent(self, seqid, iprot, oprot): result = markPartitionForEvent_result() try: self._handler.markPartitionForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 - except UnknownDBException as o3: + except UnknownDBException, o3: result.o3 = o3 - except UnknownTableException as o4: + except UnknownTableException, o4: result.o4 = o4 - except UnknownPartitionException as o5: + except UnknownPartitionException, o5: result.o5 = o5 - except InvalidPartitionException as o6: + except InvalidPartitionException, o6: result.o6 = o6 oprot.writeMessageBegin("markPartitionForEvent", TMessageType.REPLY, seqid) result.write(oprot) @@ -6673,17 +6828,17 @@ def process_isPartitionMarkedForEvent(self, seqid, iprot, oprot): result = isPartitionMarkedForEvent_result() try: result.success = self._handler.isPartitionMarkedForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 - except UnknownDBException as o3: + except UnknownDBException, o3: result.o3 = o3 - except UnknownTableException as o4: + except UnknownTableException, o4: result.o4 = o4 - except UnknownPartitionException as o5: + except UnknownPartitionException, o5: result.o5 = o5 - except InvalidPartitionException as o6: + except InvalidPartitionException, o6: result.o6 = o6 oprot.writeMessageBegin("isPartitionMarkedForEvent", TMessageType.REPLY, seqid) result.write(oprot) @@ -6697,11 +6852,11 @@ def process_add_index(self, seqid, iprot, oprot): result = add_index_result() try: result.success = self._handler.add_index(args.new_index, args.index_table) - except InvalidObjectException as o1: + except InvalidObjectException, o1: result.o1 = o1 - except AlreadyExistsException as o2: + except AlreadyExistsException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("add_index", TMessageType.REPLY, seqid) result.write(oprot) @@ -6715,9 +6870,9 @@ def process_alter_index(self, seqid, iprot, oprot): result = alter_index_result() try: self._handler.alter_index(args.dbname, args.base_tbl_name, args.idx_name, args.new_idx) - except InvalidOperationException as o1: + except InvalidOperationException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("alter_index", TMessageType.REPLY, seqid) result.write(oprot) @@ -6731,9 +6886,9 @@ def process_drop_index_by_name(self, seqid, iprot, oprot): result = drop_index_by_name_result() try: result.success = self._handler.drop_index_by_name(args.db_name, args.tbl_name, args.index_name, args.deleteData) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("drop_index_by_name", TMessageType.REPLY, seqid) result.write(oprot) @@ -6747,9 +6902,9 @@ def process_get_index_by_name(self, seqid, iprot, oprot): result = get_index_by_name_result() try: result.success = self._handler.get_index_by_name(args.db_name, args.tbl_name, args.index_name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_index_by_name", TMessageType.REPLY, seqid) result.write(oprot) @@ -6763,9 +6918,9 @@ def process_get_indexes(self, seqid, iprot, oprot): result = get_indexes_result() try: result.success = self._handler.get_indexes(args.db_name, args.tbl_name, args.max_indexes) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_indexes", TMessageType.REPLY, seqid) result.write(oprot) @@ -6779,7 +6934,7 @@ def process_get_index_names(self, seqid, iprot, oprot): result = get_index_names_result() try: result.success = self._handler.get_index_names(args.db_name, args.tbl_name, args.max_indexes) - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_index_names", TMessageType.REPLY, seqid) result.write(oprot) @@ -6793,13 +6948,13 @@ def process_update_table_column_statistics(self, seqid, iprot, oprot): result = update_table_column_statistics_result() try: result.success = self._handler.update_table_column_statistics(args.stats_obj) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except InvalidObjectException as o2: + except InvalidObjectException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 - except InvalidInputException as o4: + except InvalidInputException, o4: result.o4 = o4 oprot.writeMessageBegin("update_table_column_statistics", TMessageType.REPLY, seqid) result.write(oprot) @@ -6813,13 +6968,13 @@ def process_update_partition_column_statistics(self, seqid, iprot, oprot): result = update_partition_column_statistics_result() try: result.success = self._handler.update_partition_column_statistics(args.stats_obj) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except InvalidObjectException as o2: + except InvalidObjectException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 - except InvalidInputException as o4: + except InvalidInputException, o4: result.o4 = o4 oprot.writeMessageBegin("update_partition_column_statistics", TMessageType.REPLY, seqid) result.write(oprot) @@ -6833,13 +6988,13 @@ def process_get_table_column_statistics(self, seqid, iprot, oprot): result = get_table_column_statistics_result() try: result.success = self._handler.get_table_column_statistics(args.db_name, args.tbl_name, args.col_name) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 - except InvalidInputException as o3: + except InvalidInputException, o3: result.o3 = o3 - except InvalidObjectException as o4: + except InvalidObjectException, o4: result.o4 = o4 oprot.writeMessageBegin("get_table_column_statistics", TMessageType.REPLY, seqid) result.write(oprot) @@ -6853,13 +7008,13 @@ def process_get_partition_column_statistics(self, seqid, iprot, oprot): result = get_partition_column_statistics_result() try: result.success = self._handler.get_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 - except InvalidInputException as o3: + except InvalidInputException, o3: result.o3 = o3 - except InvalidObjectException as o4: + except InvalidObjectException, o4: result.o4 = o4 oprot.writeMessageBegin("get_partition_column_statistics", TMessageType.REPLY, seqid) result.write(oprot) @@ -6873,9 +7028,9 @@ def process_get_table_statistics_req(self, seqid, iprot, oprot): result = get_table_statistics_req_result() try: result.success = self._handler.get_table_statistics_req(args.request) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_table_statistics_req", TMessageType.REPLY, seqid) result.write(oprot) @@ -6889,9 +7044,9 @@ def process_get_partitions_statistics_req(self, seqid, iprot, oprot): result = get_partitions_statistics_req_result() try: result.success = self._handler.get_partitions_statistics_req(args.request) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_partitions_statistics_req", TMessageType.REPLY, seqid) result.write(oprot) @@ -6905,9 +7060,9 @@ def process_get_aggr_stats_for(self, seqid, iprot, oprot): result = get_aggr_stats_for_result() try: result.success = self._handler.get_aggr_stats_for(args.request) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("get_aggr_stats_for", TMessageType.REPLY, seqid) result.write(oprot) @@ -6921,13 +7076,13 @@ def process_set_aggr_stats_for(self, seqid, iprot, oprot): result = set_aggr_stats_for_result() try: result.success = self._handler.set_aggr_stats_for(args.request) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except InvalidObjectException as o2: + except InvalidObjectException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 - except InvalidInputException as o4: + except InvalidInputException, o4: result.o4 = o4 oprot.writeMessageBegin("set_aggr_stats_for", TMessageType.REPLY, seqid) result.write(oprot) @@ -6941,13 +7096,13 @@ def process_delete_partition_column_statistics(self, seqid, iprot, oprot): result = delete_partition_column_statistics_result() try: result.success = self._handler.delete_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 - except InvalidObjectException as o3: + except InvalidObjectException, o3: result.o3 = o3 - except InvalidInputException as o4: + except InvalidInputException, o4: result.o4 = o4 oprot.writeMessageBegin("delete_partition_column_statistics", TMessageType.REPLY, seqid) result.write(oprot) @@ -6961,13 +7116,13 @@ def process_delete_table_column_statistics(self, seqid, iprot, oprot): result = delete_table_column_statistics_result() try: result.success = self._handler.delete_table_column_statistics(args.db_name, args.tbl_name, args.col_name) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 - except InvalidObjectException as o3: + except InvalidObjectException, o3: result.o3 = o3 - except InvalidInputException as o4: + except InvalidInputException, o4: result.o4 = o4 oprot.writeMessageBegin("delete_table_column_statistics", TMessageType.REPLY, seqid) result.write(oprot) @@ -6981,13 +7136,13 @@ def process_create_function(self, seqid, iprot, oprot): result = create_function_result() try: self._handler.create_function(args.func) - except AlreadyExistsException as o1: + except AlreadyExistsException, o1: result.o1 = o1 - except InvalidObjectException as o2: + except InvalidObjectException, o2: result.o2 = o2 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 - except NoSuchObjectException as o4: + except NoSuchObjectException, o4: result.o4 = o4 oprot.writeMessageBegin("create_function", TMessageType.REPLY, seqid) result.write(oprot) @@ -7001,9 +7156,9 @@ def process_drop_function(self, seqid, iprot, oprot): result = drop_function_result() try: self._handler.drop_function(args.dbName, args.funcName) - except NoSuchObjectException as o1: + except NoSuchObjectException, o1: result.o1 = o1 - except MetaException as o3: + except MetaException, o3: result.o3 = o3 oprot.writeMessageBegin("drop_function", TMessageType.REPLY, seqid) result.write(oprot) @@ -7017,9 +7172,9 @@ def process_alter_function(self, seqid, iprot, oprot): result = alter_function_result() try: self._handler.alter_function(args.dbName, args.funcName, args.newFunc) - except InvalidOperationException as o1: + except InvalidOperationException, o1: result.o1 = o1 - except MetaException as o2: + except MetaException, o2: result.o2 = o2 oprot.writeMessageBegin("alter_function", TMessageType.REPLY, seqid) result.write(oprot) @@ -7033,7 +7188,7 @@ def process_get_functions(self, seqid, iprot, oprot): result = get_functions_result() try: result.success = self._handler.get_functions(args.dbName, args.pattern) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("get_functions", TMessageType.REPLY, seqid) result.write(oprot) @@ -7047,15 +7202,29 @@ def process_get_function(self, seqid, iprot, oprot): result = get_function_result() try: result.success = self._handler.get_function(args.dbName, args.funcName) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 - except NoSuchObjectException as o2: + except NoSuchObjectException, o2: result.o2 = o2 oprot.writeMessageBegin("get_function", TMessageType.REPLY, seqid) result.write(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, 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) @@ -7063,7 +7232,7 @@ def process_create_role(self, seqid, iprot, oprot): result = create_role_result() try: result.success = self._handler.create_role(args.role) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("create_role", TMessageType.REPLY, seqid) result.write(oprot) @@ -7077,7 +7246,7 @@ def process_drop_role(self, seqid, iprot, oprot): result = drop_role_result() try: result.success = self._handler.drop_role(args.role_name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("drop_role", TMessageType.REPLY, seqid) result.write(oprot) @@ -7091,7 +7260,7 @@ def process_get_role_names(self, seqid, iprot, oprot): result = get_role_names_result() try: result.success = self._handler.get_role_names() - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("get_role_names", TMessageType.REPLY, seqid) result.write(oprot) @@ -7105,7 +7274,7 @@ def process_grant_role(self, seqid, iprot, oprot): result = grant_role_result() try: result.success = self._handler.grant_role(args.role_name, args.principal_name, args.principal_type, args.grantor, args.grantorType, args.grant_option) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("grant_role", TMessageType.REPLY, seqid) result.write(oprot) @@ -7119,7 +7288,7 @@ def process_revoke_role(self, seqid, iprot, oprot): result = revoke_role_result() try: result.success = self._handler.revoke_role(args.role_name, args.principal_name, args.principal_type) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("revoke_role", TMessageType.REPLY, seqid) result.write(oprot) @@ -7133,7 +7302,7 @@ def process_list_roles(self, seqid, iprot, oprot): result = list_roles_result() try: result.success = self._handler.list_roles(args.principal_name, args.principal_type) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("list_roles", TMessageType.REPLY, seqid) result.write(oprot) @@ -7147,7 +7316,7 @@ def process_grant_revoke_role(self, seqid, iprot, oprot): result = grant_revoke_role_result() try: result.success = self._handler.grant_revoke_role(args.request) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("grant_revoke_role", TMessageType.REPLY, seqid) result.write(oprot) @@ -7161,7 +7330,7 @@ def process_get_principals_in_role(self, seqid, iprot, oprot): result = get_principals_in_role_result() try: result.success = self._handler.get_principals_in_role(args.request) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("get_principals_in_role", TMessageType.REPLY, seqid) result.write(oprot) @@ -7175,7 +7344,7 @@ def process_get_role_grants_for_principal(self, seqid, iprot, oprot): result = get_role_grants_for_principal_result() try: result.success = self._handler.get_role_grants_for_principal(args.request) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("get_role_grants_for_principal", TMessageType.REPLY, seqid) result.write(oprot) @@ -7189,7 +7358,7 @@ def process_get_privilege_set(self, seqid, iprot, oprot): result = get_privilege_set_result() try: result.success = self._handler.get_privilege_set(args.hiveObject, args.user_name, args.group_names) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("get_privilege_set", TMessageType.REPLY, seqid) result.write(oprot) @@ -7203,7 +7372,7 @@ def process_list_privileges(self, seqid, iprot, oprot): result = list_privileges_result() try: result.success = self._handler.list_privileges(args.principal_name, args.principal_type, args.hiveObject) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("list_privileges", TMessageType.REPLY, seqid) result.write(oprot) @@ -7217,7 +7386,7 @@ def process_grant_privileges(self, seqid, iprot, oprot): result = grant_privileges_result() try: result.success = self._handler.grant_privileges(args.privileges) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("grant_privileges", TMessageType.REPLY, seqid) result.write(oprot) @@ -7231,7 +7400,7 @@ def process_revoke_privileges(self, seqid, iprot, oprot): result = revoke_privileges_result() try: result.success = self._handler.revoke_privileges(args.privileges) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("revoke_privileges", TMessageType.REPLY, seqid) result.write(oprot) @@ -7245,7 +7414,7 @@ def process_grant_revoke_privileges(self, seqid, iprot, oprot): result = grant_revoke_privileges_result() try: result.success = self._handler.grant_revoke_privileges(args.request) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("grant_revoke_privileges", TMessageType.REPLY, seqid) result.write(oprot) @@ -7259,7 +7428,7 @@ def process_set_ugi(self, seqid, iprot, oprot): result = set_ugi_result() try: result.success = self._handler.set_ugi(args.user_name, args.group_names) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("set_ugi", TMessageType.REPLY, seqid) result.write(oprot) @@ -7273,7 +7442,7 @@ def process_get_delegation_token(self, seqid, iprot, oprot): result = get_delegation_token_result() try: result.success = self._handler.get_delegation_token(args.token_owner, args.renewer_kerberos_principal_name) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("get_delegation_token", TMessageType.REPLY, seqid) result.write(oprot) @@ -7287,7 +7456,7 @@ def process_renew_delegation_token(self, seqid, iprot, oprot): result = renew_delegation_token_result() try: result.success = self._handler.renew_delegation_token(args.token_str_form) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("renew_delegation_token", TMessageType.REPLY, seqid) result.write(oprot) @@ -7301,7 +7470,7 @@ def process_cancel_delegation_token(self, seqid, iprot, oprot): result = cancel_delegation_token_result() try: self._handler.cancel_delegation_token(args.token_str_form) - except MetaException as o1: + except MetaException, o1: result.o1 = o1 oprot.writeMessageBegin("cancel_delegation_token", TMessageType.REPLY, seqid) result.write(oprot) @@ -7348,7 +7517,7 @@ def process_abort_txn(self, seqid, iprot, oprot): result = abort_txn_result() try: self._handler.abort_txn(args.rqst) - except NoSuchTxnException as o1: + except NoSuchTxnException, o1: result.o1 = o1 oprot.writeMessageBegin("abort_txn", TMessageType.REPLY, seqid) result.write(oprot) @@ -7362,9 +7531,9 @@ def process_commit_txn(self, seqid, iprot, oprot): result = commit_txn_result() try: self._handler.commit_txn(args.rqst) - except NoSuchTxnException as o1: + except NoSuchTxnException, o1: result.o1 = o1 - except TxnAbortedException as o2: + except TxnAbortedException, o2: result.o2 = o2 oprot.writeMessageBegin("commit_txn", TMessageType.REPLY, seqid) result.write(oprot) @@ -7378,9 +7547,9 @@ def process_lock(self, seqid, iprot, oprot): result = lock_result() try: result.success = self._handler.lock(args.rqst) - except NoSuchTxnException as o1: + except NoSuchTxnException, o1: result.o1 = o1 - except TxnAbortedException as o2: + except TxnAbortedException, o2: result.o2 = o2 oprot.writeMessageBegin("lock", TMessageType.REPLY, seqid) result.write(oprot) @@ -7394,11 +7563,11 @@ def process_check_lock(self, seqid, iprot, oprot): result = check_lock_result() try: result.success = self._handler.check_lock(args.rqst) - except NoSuchTxnException as o1: + except NoSuchTxnException, o1: result.o1 = o1 - except TxnAbortedException as o2: + except TxnAbortedException, o2: result.o2 = o2 - except NoSuchLockException as o3: + except NoSuchLockException, o3: result.o3 = o3 oprot.writeMessageBegin("check_lock", TMessageType.REPLY, seqid) result.write(oprot) @@ -7412,9 +7581,9 @@ def process_unlock(self, seqid, iprot, oprot): result = unlock_result() try: self._handler.unlock(args.rqst) - except NoSuchLockException as o1: + except NoSuchLockException, o1: result.o1 = o1 - except TxnOpenException as o2: + except TxnOpenException, o2: result.o2 = o2 oprot.writeMessageBegin("unlock", TMessageType.REPLY, seqid) result.write(oprot) @@ -7439,11 +7608,11 @@ def process_heartbeat(self, seqid, iprot, oprot): result = heartbeat_result() try: self._handler.heartbeat(args.ids) - except NoSuchLockException as o1: + except NoSuchLockException, o1: result.o1 = o1 - except NoSuchTxnException as o2: + except NoSuchTxnException, o2: result.o2 = o2 - except TxnAbortedException as o3: + except TxnAbortedException, o3: result.o3 = o3 oprot.writeMessageBegin("heartbeat", TMessageType.REPLY, seqid) result.write(oprot) @@ -7490,9 +7659,9 @@ def process_add_dynamic_partitions(self, seqid, iprot, oprot): result = add_dynamic_partitions_result() try: self._handler.add_dynamic_partitions(args.rqst) - except NoSuchTxnException as o1: + except NoSuchTxnException, o1: result.o1 = o1 - except TxnAbortedException as o2: + except TxnAbortedException, o2: result.o2 = o2 oprot.writeMessageBegin("add_dynamic_partitions", TMessageType.REPLY, seqid) result.write(oprot) @@ -7584,6 +7753,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.key) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7656,6 +7830,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7728,6 +7908,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.key) + value = (value * 31) ^ hash(self.value) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7789,6 +7975,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7850,6 +8041,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.database) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7937,6 +8133,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7997,6 +8200,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8083,6 +8291,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8167,6 +8382,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.name) + value = (value * 31) ^ hash(self.deleteData) + value = (value * 31) ^ hash(self.cascade) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8254,6 +8476,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8314,6 +8543,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.pattern) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8353,10 +8587,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 +8613,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: @@ -8394,6 +8628,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8436,6 +8676,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8475,10 +8719,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 +8745,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: @@ -8516,6 +8760,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8589,6 +8839,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.db) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8663,6 +8919,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8723,6 +8985,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8809,6 +9076,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8870,6 +9144,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.type) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8968,6 +9247,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9028,6 +9315,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.type) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9113,6 +9405,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9173,6 +9472,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9212,12 +9516,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 +9544,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: @@ -9256,6 +9560,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9328,6 +9638,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.table_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9373,11 +9689,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 +9728,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: @@ -9435,6 +9751,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9520,6 +9844,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.table_name) + value = (value * 31) ^ hash(self.environment_context) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9565,11 +9896,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 +9935,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: @@ -9627,6 +9958,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9699,6 +10038,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.table_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9744,11 +10089,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 +10128,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: @@ -9806,6 +10151,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9891,6 +10244,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.table_name) + value = (value * 31) ^ hash(self.environment_context) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9936,11 +10296,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 +10335,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: @@ -9998,6 +10358,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10059,6 +10427,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.tbl) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10159,6 +10532,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10233,6 +10614,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.tbl) + value = (value * 31) ^ hash(self.environment_context) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10333,6 +10720,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10417,6 +10812,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.name) + value = (value * 31) ^ hash(self.deleteData) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10491,6 +10893,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10588,6 +10996,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.name) + value = (value * 31) ^ hash(self.deleteData) + value = (value * 31) ^ hash(self.environment_context) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10662,6 +11078,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10734,6 +11156,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.pattern) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10773,10 +11201,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 +11227,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: @@ -10814,6 +11242,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10874,6 +11308,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10913,10 +11352,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 +11378,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: @@ -10954,6 +11393,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11026,6 +11471,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.tbl_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11112,6 +11563,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11157,10 +11615,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 +11639,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() @@ -11192,6 +11650,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.tbl_names) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11237,11 +11701,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 +11740,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: @@ -11299,6 +11763,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11383,6 +11855,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.filter) + value = (value * 31) ^ hash(self.max_tables) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11428,10 +11907,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 +11945,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: @@ -11489,6 +11968,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11574,6 +12061,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.new_tbl) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11648,6 +12142,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11746,6 +12246,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.new_tbl) + value = (value * 31) ^ hash(self.environment_context) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11820,6 +12328,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11917,6 +12431,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.new_tbl) + value = (value * 31) ^ hash(self.cascade) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -11991,6 +12513,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -12052,6 +12580,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.new_part) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -12151,6 +12684,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -12225,6 +12766,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.new_part) + value = (value * 31) ^ hash(self.environment_context) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -12324,6 +12871,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -12361,11 +12916,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 +12937,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() @@ -12393,6 +12948,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.new_parts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -12491,6 +13051,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -12528,11 +13096,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 +13117,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() @@ -12560,6 +13128,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.new_parts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -12658,6 +13231,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -12711,10 +13292,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 +13320,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() @@ -12750,6 +13331,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -12849,6 +13437,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -12910,6 +13506,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.request) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -13009,6 +13610,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -13062,13 +13671,13 @@ def read(self, iprot): self.tbl_name = iprot.readString(); else: iprot.skip(ftype) - 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) + 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) iprot.readListEnd() else: iprot.skip(ftype) @@ -13099,8 +13708,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: @@ -13114,6 +13723,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + value = (value * 31) ^ hash(self.environment_context) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -13213,6 +13830,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -13297,6 +13922,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -13396,6 +14028,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -13493,6 +14133,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_name) + value = (value * 31) ^ hash(self.environment_context) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -13592,6 +14240,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -13648,10 +14304,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 +14337,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: @@ -13696,6 +14352,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + value = (value * 31) ^ hash(self.deleteData) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -13781,6 +14445,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -13840,10 +14511,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 +14550,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: @@ -13898,6 +14569,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + value = (value * 31) ^ hash(self.deleteData) + value = (value * 31) ^ hash(self.environment_context) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -13983,6 +14663,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -14079,6 +14766,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_name) + value = (value * 31) ^ hash(self.deleteData) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -14164,6 +14859,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -14273,6 +14975,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_name) + value = (value * 31) ^ hash(self.deleteData) + value = (value * 31) ^ hash(self.environment_context) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -14358,6 +15069,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -14419,6 +15137,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -14505,6 +15228,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -14558,10 +15288,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 +15316,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() @@ -14597,6 +15327,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -14683,6 +15420,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -14732,11 +15476,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 +15517,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: @@ -14801,6 +15545,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.partitionSpecs) + value = (value * 31) ^ hash(self.source_db) + value = (value * 31) ^ hash(self.source_table_name) + value = (value * 31) ^ hash(self.dest_db) + value = (value * 31) ^ hash(self.dest_table_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -14913,6 +15666,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -14972,10 +15734,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 +15749,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 +15777,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 +15788,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() @@ -15037,6 +15799,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + value = (value * 31) ^ hash(self.user_name) + value = (value * 31) ^ hash(self.group_names) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -15123,6 +15894,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -15207,6 +15985,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -15293,6 +16078,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -15377,6 +16169,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.max_parts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -15419,11 +16218,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 +16251,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: @@ -15471,6 +16270,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -15540,10 +16346,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 +16382,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() @@ -15587,6 +16393,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.max_parts) + value = (value * 31) ^ hash(self.user_name) + value = (value * 31) ^ hash(self.group_names) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -15629,11 +16444,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 +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 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: @@ -15681,6 +16496,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -15765,6 +16587,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.max_parts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -15807,11 +16636,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 +16669,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: @@ -15859,6 +16688,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -15943,6 +16779,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.max_parts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -15982,10 +16825,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 +16851,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: @@ -16023,6 +16866,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -16079,10 +16928,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 +16961,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: @@ -16127,6 +16976,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + value = (value * 31) ^ hash(self.max_parts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -16169,11 +17026,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 +17059,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: @@ -16221,6 +17078,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -16283,10 +17147,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 +17167,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 +17195,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 +17210,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() @@ -16357,6 +17221,16 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + value = (value * 31) ^ hash(self.max_parts) + value = (value * 31) ^ hash(self.user_name) + value = (value * 31) ^ hash(self.group_names) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -16399,11 +17273,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 +17306,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: @@ -16451,6 +17325,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -16507,10 +17388,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 +17421,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: @@ -16555,6 +17436,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + value = (value * 31) ^ hash(self.max_parts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -16597,10 +17486,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 +17518,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: @@ -16648,6 +17537,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -16744,6 +17640,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.filter) + value = (value * 31) ^ hash(self.max_parts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -16786,11 +17690,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 +17723,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: @@ -16838,6 +17742,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -16934,6 +17845,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.filter) + value = (value * 31) ^ hash(self.max_parts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -16976,11 +17895,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 +17928,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: @@ -17028,6 +17947,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -17089,6 +18015,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -17175,6 +18106,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -17228,10 +18166,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 +18194,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() @@ -17267,6 +18205,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.names) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -17309,11 +18254,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 +18287,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: @@ -17361,6 +18306,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -17446,6 +18398,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.new_part) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -17520,6 +18479,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -17573,11 +18538,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 +18567,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() @@ -17613,6 +18578,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.new_parts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -17687,6 +18659,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -17785,6 +18763,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.new_part) + value = (value * 31) ^ hash(self.environment_context) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -17859,6 +18845,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -17915,10 +18907,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 +18941,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: @@ -17964,6 +18956,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + value = (value * 31) ^ hash(self.new_part) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18038,6 +19038,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18078,10 +19084,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 +19109,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: @@ -18118,6 +19124,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.part_vals) + value = (value * 31) ^ hash(self.throw_exception) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18190,6 +19202,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18262,6 +19280,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.name) + value = (value * 31) ^ hash(self.defaultValue) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18334,6 +19358,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18394,6 +19424,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.part_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18433,10 +19468,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 +19494,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: @@ -18474,6 +19509,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18534,6 +19575,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.part_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18573,11 +19619,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 +19646,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: @@ -18616,6 +19662,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18672,11 +19724,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 +19758,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: @@ -18722,6 +19774,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + value = (value * 31) ^ hash(self.eventType) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18848,6 +19908,16 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + value = (value * 31) ^ hash(self.o5) + value = (value * 31) ^ hash(self.o6) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -18904,11 +19974,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 +20008,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: @@ -18954,6 +20024,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_vals) + value = (value * 31) ^ hash(self.eventType) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -19091,6 +20169,17 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + value = (value * 31) ^ hash(self.o5) + value = (value * 31) ^ hash(self.o6) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -19165,6 +20254,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.new_index) + value = (value * 31) ^ hash(self.index_table) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -19264,6 +20359,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -19361,6 +20464,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.base_tbl_name) + value = (value * 31) ^ hash(self.idx_name) + value = (value * 31) ^ hash(self.new_idx) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -19435,6 +20546,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -19531,6 +20648,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.index_name) + value = (value * 31) ^ hash(self.deleteData) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -19616,6 +20741,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -19700,6 +20832,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.index_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -19786,6 +20925,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -19870,6 +21016,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.max_indexes) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -19912,11 +21065,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 +21098,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: @@ -19964,6 +21117,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -20048,6 +21208,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.max_indexes) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -20087,10 +21254,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 +21280,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: @@ -20128,6 +21295,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -20189,6 +21362,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.stats_obj) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -20300,6 +21478,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -20361,6 +21548,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.stats_obj) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -20472,6 +21664,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -20556,6 +21757,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.col_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -20668,6 +21876,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -20764,6 +21981,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_name) + value = (value * 31) ^ hash(self.col_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -20876,6 +22101,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -20937,6 +22171,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.request) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21023,6 +22262,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21084,6 +22330,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.request) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21170,6 +22421,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21231,6 +22489,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.request) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21317,6 +22580,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21378,6 +22648,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.request) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21489,6 +22764,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21585,6 +22869,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.part_name) + value = (value * 31) ^ hash(self.col_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21696,6 +22988,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21780,6 +23081,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.tbl_name) + value = (value * 31) ^ hash(self.col_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21891,6 +23199,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -21952,6 +23269,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.func) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22052,6 +23374,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22124,6 +23454,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.funcName) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22198,6 +23534,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22283,6 +23625,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.funcName) + value = (value * 31) ^ hash(self.newFunc) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22357,6 +23706,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22429,6 +23784,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.pattern) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22468,10 +23829,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 +23855,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: @@ -22509,6 +23870,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22581,6 +23948,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.funcName) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22667,6 +24040,138 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class 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 __hash__(self): + value = 17 + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class 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 __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22728,6 +24233,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.role) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22800,6 +24310,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22860,6 +24376,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.role_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22932,6 +24453,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -22974,6 +24501,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23013,10 +24544,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 +24570,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: @@ -23054,6 +24585,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23174,6 +24711,16 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.role_name) + value = (value * 31) ^ hash(self.principal_name) + value = (value * 31) ^ hash(self.principal_type) + value = (value * 31) ^ hash(self.grantor) + value = (value * 31) ^ hash(self.grantorType) + value = (value * 31) ^ hash(self.grant_option) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23246,6 +24793,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23330,6 +24883,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.role_name) + value = (value * 31) ^ hash(self.principal_name) + value = (value * 31) ^ hash(self.principal_type) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23402,6 +24962,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23474,6 +25040,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.principal_name) + value = (value * 31) ^ hash(self.principal_type) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23513,11 +25085,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 +25112,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: @@ -23555,6 +25127,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23616,6 +25194,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.request) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23689,6 +25272,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23750,6 +25339,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.request) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23823,6 +25417,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23884,6 +25484,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.request) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -23957,6 +25562,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24011,10 +25622,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 +25650,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() @@ -24050,6 +25661,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.hiveObject) + value = (value * 31) ^ hash(self.user_name) + value = (value * 31) ^ hash(self.group_names) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24123,6 +25741,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24208,6 +25832,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.principal_name) + value = (value * 31) ^ hash(self.principal_type) + value = (value * 31) ^ hash(self.hiveObject) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24247,11 +25878,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 +25905,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: @@ -24289,6 +25920,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24350,6 +25987,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.privileges) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24422,6 +26064,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24483,6 +26131,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.privileges) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24555,6 +26208,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24616,6 +26275,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.request) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24689,6 +26353,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24734,10 +26404,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 +26428,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() @@ -24769,6 +26439,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.user_name) + value = (value * 31) ^ hash(self.group_names) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24808,10 +26484,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 +26510,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: @@ -24849,6 +26525,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24921,6 +26603,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.token_owner) + value = (value * 31) ^ hash(self.renewer_kerberos_principal_name) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -24993,6 +26681,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25053,6 +26747,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.token_str_form) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25125,6 +26824,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25185,6 +26890,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.token_str_form) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25246,6 +26956,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25288,6 +27003,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25348,6 +27067,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25390,6 +27114,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25450,6 +27178,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25511,6 +27244,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25571,6 +27309,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25632,6 +27375,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25693,6 +27441,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25754,6 +27507,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25828,6 +27586,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25889,6 +27653,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -25975,6 +27744,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26036,6 +27812,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26135,6 +27916,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26196,6 +27985,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26270,6 +28064,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26331,6 +28131,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26391,6 +28196,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26452,6 +28262,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.ids) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26539,6 +28354,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26600,6 +28422,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.txns) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26660,6 +28487,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26721,6 +28553,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26763,6 +28600,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26824,6 +28665,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26884,6 +28730,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -26945,6 +28796,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -27019,6 +28875,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -27080,6 +28942,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -27140,6 +29007,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -27182,6 +29054,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -27242,6 +29118,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -27303,6 +29184,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -27363,6 +29249,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/constants.py b/metastore/src/gen/thrift/gen-py/hive_metastore/constants.py index 81f70eb..f86fda9 100644 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/constants.py +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/constants.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 6afa506..0b80390 100644 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -275,6 +275,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.version) + value = (value * 31) ^ hash(self.comments) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -359,6 +365,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.name) + value = (value * 31) ^ hash(self.type) + value = (value * 31) ^ hash(self.comment) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -464,6 +477,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.name) + value = (value * 31) ^ hash(self.type1) + value = (value * 31) ^ hash(self.type2) + value = (value * 31) ^ hash(self.fields) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -580,6 +601,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.objectType) + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.objectName) + value = (value * 31) ^ hash(self.partValues) + value = (value * 31) ^ hash(self.columnName) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -688,6 +718,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.privilege) + value = (value * 31) ^ hash(self.createTime) + value = (value * 31) ^ hash(self.grantor) + value = (value * 31) ^ hash(self.grantorType) + value = (value * 31) ^ hash(self.grantOption) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -786,6 +825,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.hiveObject) + value = (value * 31) ^ hash(self.principalName) + value = (value * 31) ^ hash(self.principalType) + value = (value * 31) ^ hash(self.grantInfo) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -855,6 +902,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.privileges) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -898,7 +950,7 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.userPrivileges = {} - (_ktype22, _vtype23, _size21 ) = iprot.readMapBegin() + (_ktype22, _vtype23, _size21 ) = iprot.readMapBegin() for _i25 in xrange(_size21): _key26 = iprot.readString(); _val27 = [] @@ -915,7 +967,7 @@ def read(self, iprot): elif fid == 2: if ftype == TType.MAP: self.groupPrivileges = {} - (_ktype35, _vtype36, _size34 ) = iprot.readMapBegin() + (_ktype35, _vtype36, _size34 ) = iprot.readMapBegin() for _i38 in xrange(_size34): _key39 = iprot.readString(); _val40 = [] @@ -932,7 +984,7 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.rolePrivileges = {} - (_ktype48, _vtype49, _size47 ) = iprot.readMapBegin() + (_ktype48, _vtype49, _size47 ) = iprot.readMapBegin() for _i51 in xrange(_size47): _key52 = iprot.readString(); _val53 = [] @@ -996,6 +1048,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.userPrivileges) + value = (value * 31) ^ hash(self.groupPrivileges) + value = (value * 31) ^ hash(self.rolePrivileges) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1081,6 +1140,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.requestType) + value = (value * 31) ^ hash(self.privileges) + value = (value * 31) ^ hash(self.revokeGrantOption) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1141,6 +1207,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1225,6 +1296,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.roleName) + value = (value * 31) ^ hash(self.createTime) + value = (value * 31) ^ hash(self.ownerName) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1357,6 +1435,17 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.roleName) + value = (value * 31) ^ hash(self.principalName) + value = (value * 31) ^ hash(self.principalType) + value = (value * 31) ^ hash(self.grantOption) + value = (value * 31) ^ hash(self.grantTime) + value = (value * 31) ^ hash(self.grantorName) + value = (value * 31) ^ hash(self.grantorPrincipalType) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1433,6 +1522,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.principal_name) + value = (value * 31) ^ hash(self.principal_type) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1504,6 +1599,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.principalGrants) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1566,6 +1666,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.roleName) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1637,6 +1742,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.principalGrants) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1769,6 +1879,17 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.requestType) + value = (value * 31) ^ hash(self.roleName) + value = (value * 31) ^ hash(self.principalName) + value = (value * 31) ^ hash(self.principalType) + value = (value * 31) ^ hash(self.grantor) + value = (value * 31) ^ hash(self.grantorType) + value = (value * 31) ^ hash(self.grantOption) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1829,6 +1950,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1899,7 +2025,7 @@ def read(self, iprot): elif fid == 4: if ftype == TType.MAP: self.parameters = {} - (_ktype84, _vtype85, _size83 ) = iprot.readMapBegin() + (_ktype84, _vtype85, _size83 ) = iprot.readMapBegin() for _i87 in xrange(_size83): _key88 = iprot.readString(); _val89 = iprot.readString(); @@ -1972,6 +2098,17 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.name) + value = (value * 31) ^ hash(self.description) + value = (value * 31) ^ hash(self.locationUri) + value = (value * 31) ^ hash(self.parameters) + value = (value * 31) ^ hash(self.privileges) + value = (value * 31) ^ hash(self.ownerName) + value = (value * 31) ^ hash(self.ownerType) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2025,7 +2162,7 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.parameters = {} - (_ktype93, _vtype94, _size92 ) = iprot.readMapBegin() + (_ktype93, _vtype94, _size92 ) = iprot.readMapBegin() for _i96 in xrange(_size92): _key97 = iprot.readString(); _val98 = iprot.readString(); @@ -2066,6 +2203,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.name) + value = (value * 31) ^ hash(self.serializationLib) + value = (value * 31) ^ hash(self.parameters) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2138,6 +2282,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.col) + value = (value * 31) ^ hash(self.order) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2206,7 +2356,7 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.skewedColValueLocationMaps = {} - (_ktype120, _vtype121, _size119 ) = iprot.readMapBegin() + (_ktype120, _vtype121, _size119 ) = iprot.readMapBegin() for _i123 in xrange(_size119): _key124 = [] (_etype129, _size126) = iprot.readListBegin() @@ -2264,6 +2414,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.skewedColNames) + value = (value * 31) ^ hash(self.skewedColValues) + value = (value * 31) ^ hash(self.skewedColValueLocationMaps) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2397,7 +2554,7 @@ def read(self, iprot): elif fid == 10: if ftype == TType.MAP: self.parameters = {} - (_ktype157, _vtype158, _size156 ) = iprot.readMapBegin() + (_ktype157, _vtype158, _size156 ) = iprot.readMapBegin() for _i160 in xrange(_size156): _key161 = iprot.readString(); _val162 = iprot.readString(); @@ -2494,6 +2651,22 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.cols) + value = (value * 31) ^ hash(self.location) + value = (value * 31) ^ hash(self.inputFormat) + value = (value * 31) ^ hash(self.outputFormat) + value = (value * 31) ^ hash(self.compressed) + value = (value * 31) ^ hash(self.numBuckets) + value = (value * 31) ^ hash(self.serdeInfo) + value = (value * 31) ^ hash(self.bucketCols) + value = (value * 31) ^ hash(self.sortCols) + value = (value * 31) ^ hash(self.parameters) + value = (value * 31) ^ hash(self.skewedInfo) + value = (value * 31) ^ hash(self.storedAsSubDirectories) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2617,7 +2790,7 @@ def read(self, iprot): elif fid == 9: if ftype == TType.MAP: self.parameters = {} - (_ktype175, _vtype176, _size174 ) = iprot.readMapBegin() + (_ktype175, _vtype176, _size174 ) = iprot.readMapBegin() for _i178 in xrange(_size174): _key179 = iprot.readString(); _val180 = iprot.readString(); @@ -2731,6 +2904,24 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.tableName) + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.owner) + value = (value * 31) ^ hash(self.createTime) + value = (value * 31) ^ hash(self.lastAccessTime) + value = (value * 31) ^ hash(self.retention) + value = (value * 31) ^ hash(self.sd) + value = (value * 31) ^ hash(self.partitionKeys) + value = (value * 31) ^ hash(self.parameters) + value = (value * 31) ^ hash(self.viewOriginalText) + value = (value * 31) ^ hash(self.viewExpandedText) + value = (value * 31) ^ hash(self.tableType) + value = (value * 31) ^ hash(self.privileges) + value = (value * 31) ^ hash(self.temporary) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2825,7 +3016,7 @@ def read(self, iprot): elif fid == 7: if ftype == TType.MAP: self.parameters = {} - (_ktype191, _vtype192, _size190 ) = iprot.readMapBegin() + (_ktype191, _vtype192, _size190 ) = iprot.readMapBegin() for _i194 in xrange(_size190): _key195 = iprot.readString(); _val196 = iprot.readString(); @@ -2895,6 +3086,18 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.values) + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tableName) + value = (value * 31) ^ hash(self.createTime) + value = (value * 31) ^ hash(self.lastAccessTime) + value = (value * 31) ^ hash(self.sd) + value = (value * 31) ^ hash(self.parameters) + value = (value * 31) ^ hash(self.privileges) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2972,7 +3175,7 @@ def read(self, iprot): elif fid == 5: if ftype == TType.MAP: self.parameters = {} - (_ktype207, _vtype208, _size206 ) = iprot.readMapBegin() + (_ktype207, _vtype208, _size206 ) = iprot.readMapBegin() for _i210 in xrange(_size206): _key211 = iprot.readString(); _val212 = iprot.readString(); @@ -3034,6 +3237,16 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.values) + value = (value * 31) ^ hash(self.createTime) + value = (value * 31) ^ hash(self.lastAccessTime) + value = (value * 31) ^ hash(self.relativePath) + value = (value * 31) ^ hash(self.parameters) + value = (value * 31) ^ hash(self.privileges) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3116,6 +3329,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.partitions) + value = (value * 31) ^ hash(self.sd) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3185,6 +3404,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.partitions) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3295,6 +3519,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tableName) + value = (value * 31) ^ hash(self.rootPath) + value = (value * 31) ^ hash(self.sharedSDPartitionSpec) + value = (value * 31) ^ hash(self.partitionList) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3400,7 +3633,7 @@ def read(self, iprot): elif fid == 9: if ftype == TType.MAP: self.parameters = {} - (_ktype231, _vtype232, _size230 ) = iprot.readMapBegin() + (_ktype231, _vtype232, _size230 ) = iprot.readMapBegin() for _i234 in xrange(_size230): _key235 = iprot.readString(); _val236 = iprot.readString(); @@ -3474,6 +3707,20 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.indexName) + value = (value * 31) ^ hash(self.indexHandlerClass) + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.origTableName) + value = (value * 31) ^ hash(self.createTime) + value = (value * 31) ^ hash(self.lastAccessTime) + value = (value * 31) ^ hash(self.indexTableName) + value = (value * 31) ^ hash(self.sd) + value = (value * 31) ^ hash(self.parameters) + value = (value * 31) ^ hash(self.deferredRebuild) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3564,6 +3811,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.numTrues) + value = (value * 31) ^ hash(self.numFalses) + value = (value * 31) ^ hash(self.numNulls) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3664,6 +3918,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.lowValue) + value = (value * 31) ^ hash(self.highValue) + value = (value * 31) ^ hash(self.numNulls) + value = (value * 31) ^ hash(self.numDVs) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3764,6 +4026,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.lowValue) + value = (value * 31) ^ hash(self.highValue) + value = (value * 31) ^ hash(self.numNulls) + value = (value * 31) ^ hash(self.numDVs) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3868,6 +4138,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.maxColLen) + value = (value * 31) ^ hash(self.avgColLen) + value = (value * 31) ^ hash(self.numNulls) + value = (value * 31) ^ hash(self.numDVs) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3958,6 +4236,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.maxColLen) + value = (value * 31) ^ hash(self.avgColLen) + value = (value * 31) ^ hash(self.numNulls) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4035,6 +4320,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.unscaled) + value = (value * 31) ^ hash(self.scale) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4137,6 +4428,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.lowValue) + value = (value * 31) ^ hash(self.highValue) + value = (value * 31) ^ hash(self.numNulls) + value = (value * 31) ^ hash(self.numDVs) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4199,6 +4498,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.daysSinceEpoch) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4301,6 +4605,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.lowValue) + value = (value * 31) ^ hash(self.highValue) + value = (value * 31) ^ hash(self.numNulls) + value = (value * 31) ^ hash(self.numDVs) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4440,6 +4752,17 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.booleanStats) + value = (value * 31) ^ hash(self.longStats) + value = (value * 31) ^ hash(self.doubleStats) + value = (value * 31) ^ hash(self.stringStats) + value = (value * 31) ^ hash(self.binaryStats) + value = (value * 31) ^ hash(self.decimalStats) + value = (value * 31) ^ hash(self.dateStats) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4531,6 +4854,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.colName) + value = (value * 31) ^ hash(self.colType) + value = (value * 31) ^ hash(self.statsData) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4645,6 +4975,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.isTblLevel) + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tableName) + value = (value * 31) ^ hash(self.partName) + value = (value * 31) ^ hash(self.lastAnalyzed) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4731,6 +5070,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.statsDesc) + value = (value * 31) ^ hash(self.statsObj) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4816,6 +5161,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.colStats) + value = (value * 31) ^ hash(self.partsFound) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4887,6 +5238,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.colStats) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4938,7 +5294,7 @@ def read(self, iprot): elif fid == 2: if ftype == TType.MAP: self.properties = {} - (_ktype267, _vtype268, _size266 ) = iprot.readMapBegin() + (_ktype267, _vtype268, _size266 ) = iprot.readMapBegin() for _i270 in xrange(_size266): _key271 = iprot.readString(); _val272 = iprot.readString(); @@ -4978,6 +5334,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.fieldSchemas) + value = (value * 31) ^ hash(self.properties) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5015,7 +5377,7 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.properties = {} - (_ktype277, _vtype278, _size276 ) = iprot.readMapBegin() + (_ktype277, _vtype278, _size276 ) = iprot.readMapBegin() for _i280 in xrange(_size276): _key281 = iprot.readString(); _val282 = iprot.readString(); @@ -5048,6 +5410,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.properties) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5133,6 +5500,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.partitions) + value = (value * 31) ^ hash(self.hasUnknownPartitions) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5247,6 +5620,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tblName) + value = (value * 31) ^ hash(self.expr) + value = (value * 31) ^ hash(self.defaultPartitionName) + value = (value * 31) ^ hash(self.maxParts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5318,6 +5700,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.tableStats) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5355,7 +5742,7 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partStats = {} - (_ktype300, _vtype301, _size299 ) = iprot.readMapBegin() + (_ktype300, _vtype301, _size299 ) = iprot.readMapBegin() for _i303 in xrange(_size299): _key304 = iprot.readString(); _val305 = [] @@ -5399,6 +5786,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.partStats) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5497,6 +5889,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tblName) + value = (value * 31) ^ hash(self.colNames) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5617,6 +6016,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tblName) + value = (value * 31) ^ hash(self.colNames) + value = (value * 31) ^ hash(self.partNames) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5686,6 +6093,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.partitions) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5811,6 +6223,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tblName) + value = (value * 31) ^ hash(self.parts) + value = (value * 31) ^ hash(self.ifNotExists) + value = (value * 31) ^ hash(self.needResult) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5880,6 +6301,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.partitions) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5954,6 +6380,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.expr) + value = (value * 31) ^ hash(self.partArchiveLevel) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6043,6 +6475,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.names) + value = (value * 31) ^ hash(self.exprs) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6195,6 +6633,18 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tblName) + value = (value * 31) ^ hash(self.parts) + value = (value * 31) ^ hash(self.deleteData) + value = (value * 31) ^ hash(self.ifExists) + value = (value * 31) ^ hash(self.ignoreProtection) + value = (value * 31) ^ hash(self.environmentContext) + value = (value * 31) ^ hash(self.needResult) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6267,6 +6717,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.resourceType) + value = (value * 31) ^ hash(self.uri) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6420,6 +6876,18 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.functionName) + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.className) + value = (value * 31) ^ hash(self.ownerName) + value = (value * 31) ^ hash(self.ownerType) + value = (value * 31) ^ hash(self.createTime) + value = (value * 31) ^ hash(self.functionType) + value = (value * 31) ^ hash(self.resourceUris) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6524,6 +6992,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.id) + value = (value * 31) ^ hash(self.state) + value = (value * 31) ^ hash(self.user) + value = (value * 31) ^ hash(self.hostname) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6609,6 +7085,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.txn_high_water_mark) + value = (value * 31) ^ hash(self.open_txns) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6693,6 +7175,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.txn_high_water_mark) + value = (value * 31) ^ hash(self.open_txns) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6783,6 +7271,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.num_txns) + value = (value * 31) ^ hash(self.user) + value = (value * 31) ^ hash(self.hostname) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6853,6 +7348,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.txn_ids) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6915,6 +7415,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.txnid) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6977,6 +7482,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.txnid) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7091,6 +7601,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.type) + value = (value * 31) ^ hash(self.level) + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.tablename) + value = (value * 31) ^ hash(self.partitionname) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7202,6 +7721,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.component) + value = (value * 31) ^ hash(self.txnid) + value = (value * 31) ^ hash(self.user) + value = (value * 31) ^ hash(self.hostname) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7278,6 +7805,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.lockid) + value = (value * 31) ^ hash(self.state) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7340,6 +7873,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.lockid) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7402,6 +7940,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.lockid) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7444,6 +7987,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7638,6 +8185,21 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.lockid) + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.tablename) + value = (value * 31) ^ hash(self.partname) + value = (value * 31) ^ hash(self.state) + value = (value * 31) ^ hash(self.type) + value = (value * 31) ^ hash(self.txnid) + value = (value * 31) ^ hash(self.lastheartbeat) + value = (value * 31) ^ hash(self.acquiredat) + value = (value * 31) ^ hash(self.user) + value = (value * 31) ^ hash(self.hostname) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7707,6 +8269,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.locks) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7779,6 +8346,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.lockid) + value = (value * 31) ^ hash(self.txnid) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7855,6 +8428,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.min) + value = (value * 31) ^ hash(self.max) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -7947,6 +8526,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.aborted) + value = (value * 31) ^ hash(self.nosuch) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8061,6 +8646,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.tablename) + value = (value * 31) ^ hash(self.partitionname) + value = (value * 31) ^ hash(self.type) + value = (value * 31) ^ hash(self.runas) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8103,6 +8697,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8255,6 +8853,18 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.tablename) + value = (value * 31) ^ hash(self.partitionname) + value = (value * 31) ^ hash(self.type) + value = (value * 31) ^ hash(self.state) + value = (value * 31) ^ hash(self.workerid) + value = (value * 31) ^ hash(self.start) + value = (value * 31) ^ hash(self.runAs) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8326,6 +8936,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.compacts) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8438,6 +9053,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.txnid) + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.tablename) + value = (value * 31) ^ hash(self.partitionnames) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8512,6 +9135,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.lastEvent) + value = (value * 31) ^ hash(self.maxEvents) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8640,6 +9269,16 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.eventId) + value = (value * 31) ^ hash(self.eventTime) + value = (value * 31) ^ hash(self.eventType) + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tableName) + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8711,6 +9350,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.events) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8773,6 +9417,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.eventId) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8843,6 +9492,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.filesAdded) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -8904,6 +9558,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.insertData) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9025,6 +9684,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.successful) + value = (value * 31) ^ hash(self.data) + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tableName) + value = (value * 31) ^ hash(self.partitionVals) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9067,6 +9735,84 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class 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 __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.functions) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9130,6 +9876,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9193,6 +9944,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9256,6 +10012,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9319,6 +10080,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9382,6 +10148,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9445,6 +10216,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9508,6 +10284,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9571,6 +10352,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9634,6 +10420,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9697,6 +10488,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9760,6 +10556,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9823,6 +10624,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9886,6 +10692,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -9949,6 +10760,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10012,6 +10828,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -10075,6 +10896,11 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] diff --git a/metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb b/metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb index 3208ecd..7ef6f43 100644 --- a/metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb +++ b/metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb b/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index 4ae5d53..4bd4302 100644 --- a/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -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 a/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index edc00d3..73a1d20 100644 --- a/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -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 a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index ee2cea0..13c1e65 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/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 a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 66fbfe4..482f278 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/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 a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index 9bf4bfb..5fde6d3 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/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 a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 39ab9e7..a37fbde 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/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 a/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java index 2b49eab..7c85eea 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java +++ b/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 a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java index cf068e4..f184c56 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java +++ b/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 a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java index ccf928a..83fb4bb 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java +++ b/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 a/ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp b/ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp index 4f9aeaf..280edbe 100644 --- a/ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp +++ b/ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/ql/src/gen/thrift/gen-cpp/queryplan_constants.h b/ql/src/gen/thrift/gen-cpp/queryplan_constants.h index 5dce5dd..6bee48d 100644 --- a/ql/src/gen/thrift/gen-cpp/queryplan_constants.h +++ b/ql/src/gen/thrift/gen-cpp/queryplan_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp b/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp index 19d4806..a1028c1 100644 --- a/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp +++ b/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,6 +7,9 @@ #include "queryplan_types.h" #include +#include + +#include namespace Apache { namespace Hadoop { namespace Hive { @@ -128,6 +131,23 @@ const char* _kStageTypeNames[] = { }; const std::map _StageType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(12, _kStageTypeValues, _kStageTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL)); + +Adjacency::~Adjacency() throw() { +} + + +void Adjacency::__set_node(const std::string& val) { + this->node = val; +} + +void Adjacency::__set_children(const std::vector & val) { + this->children = val; +} + +void Adjacency::__set_adjacencyType(const AdjacencyType::type val) { + this->adjacencyType = val; +} + const char* Adjacency::ascii_fingerprint = "BC4F8C394677A1003AA9F56ED26D8204"; const uint8_t Adjacency::binary_fingerprint[16] = {0xBC,0x4F,0x8C,0x39,0x46,0x77,0xA1,0x00,0x3A,0xA9,0xF5,0x6E,0xD2,0x6D,0x82,0x04}; @@ -203,6 +223,7 @@ uint32_t Adjacency::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Adjacency::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Adjacency"); xfer += oprot->writeFieldBegin("node", ::apache::thrift::protocol::T_STRING, 1); @@ -227,6 +248,7 @@ uint32_t Adjacency::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -238,6 +260,46 @@ void swap(Adjacency &a, Adjacency &b) { swap(a.__isset, b.__isset); } +Adjacency::Adjacency(const Adjacency& other7) { + node = other7.node; + children = other7.children; + adjacencyType = other7.adjacencyType; + __isset = other7.__isset; +} +Adjacency& Adjacency::operator=(const Adjacency& other8) { + node = other8.node; + children = other8.children; + adjacencyType = other8.adjacencyType; + __isset = other8.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Adjacency& obj) { + using apache::thrift::to_string; + out << "Adjacency("; + out << "node=" << to_string(obj.node); + out << ", " << "children=" << to_string(obj.children); + out << ", " << "adjacencyType=" << to_string(obj.adjacencyType); + out << ")"; + return out; +} + + +Graph::~Graph() throw() { +} + + +void Graph::__set_nodeType(const NodeType::type val) { + this->nodeType = val; +} + +void Graph::__set_roots(const std::vector & val) { + this->roots = val; +} + +void Graph::__set_adjacencyList(const std::vector & val) { + this->adjacencyList = val; +} + const char* Graph::ascii_fingerprint = "1F7FB604B3EF8F7AFB5DEAD15F2FC0B5"; const uint8_t Graph::binary_fingerprint[16] = {0x1F,0x7F,0xB6,0x04,0xB3,0xEF,0x8F,0x7A,0xFB,0x5D,0xEA,0xD1,0x5F,0x2F,0xC0,0xB5}; @@ -263,9 +325,9 @@ uint32_t Graph::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast7; - xfer += iprot->readI32(ecast7); - this->nodeType = (NodeType::type)ecast7; + int32_t ecast9; + xfer += iprot->readI32(ecast9); + this->nodeType = (NodeType::type)ecast9; this->__isset.nodeType = true; } else { xfer += iprot->skip(ftype); @@ -275,14 +337,14 @@ uint32_t Graph::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->roots.clear(); - uint32_t _size8; - ::apache::thrift::protocol::TType _etype11; - xfer += iprot->readListBegin(_etype11, _size8); - this->roots.resize(_size8); - uint32_t _i12; - for (_i12 = 0; _i12 < _size8; ++_i12) + uint32_t _size10; + ::apache::thrift::protocol::TType _etype13; + xfer += iprot->readListBegin(_etype13, _size10); + this->roots.resize(_size10); + uint32_t _i14; + for (_i14 = 0; _i14 < _size10; ++_i14) { - xfer += iprot->readString(this->roots[_i12]); + xfer += iprot->readString(this->roots[_i14]); } xfer += iprot->readListEnd(); } @@ -295,14 +357,14 @@ uint32_t Graph::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->adjacencyList.clear(); - uint32_t _size13; - ::apache::thrift::protocol::TType _etype16; - xfer += iprot->readListBegin(_etype16, _size13); - this->adjacencyList.resize(_size13); - uint32_t _i17; - for (_i17 = 0; _i17 < _size13; ++_i17) + uint32_t _size15; + ::apache::thrift::protocol::TType _etype18; + xfer += iprot->readListBegin(_etype18, _size15); + this->adjacencyList.resize(_size15); + uint32_t _i19; + for (_i19 = 0; _i19 < _size15; ++_i19) { - xfer += this->adjacencyList[_i17].read(iprot); + xfer += this->adjacencyList[_i19].read(iprot); } xfer += iprot->readListEnd(); } @@ -325,6 +387,7 @@ uint32_t Graph::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Graph::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Graph"); xfer += oprot->writeFieldBegin("nodeType", ::apache::thrift::protocol::T_I32, 1); @@ -334,10 +397,10 @@ uint32_t Graph::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("roots", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->roots.size())); - std::vector ::const_iterator _iter18; - for (_iter18 = this->roots.begin(); _iter18 != this->roots.end(); ++_iter18) + std::vector ::const_iterator _iter20; + for (_iter20 = this->roots.begin(); _iter20 != this->roots.end(); ++_iter20) { - xfer += oprot->writeString((*_iter18)); + xfer += oprot->writeString((*_iter20)); } xfer += oprot->writeListEnd(); } @@ -346,10 +409,10 @@ uint32_t Graph::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("adjacencyList", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->adjacencyList.size())); - std::vector ::const_iterator _iter19; - for (_iter19 = this->adjacencyList.begin(); _iter19 != this->adjacencyList.end(); ++_iter19) + std::vector ::const_iterator _iter21; + for (_iter21 = this->adjacencyList.begin(); _iter21 != this->adjacencyList.end(); ++_iter21) { - xfer += (*_iter19).write(oprot); + xfer += (*_iter21).write(oprot); } xfer += oprot->writeListEnd(); } @@ -357,6 +420,7 @@ uint32_t Graph::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -368,6 +432,58 @@ void swap(Graph &a, Graph &b) { swap(a.__isset, b.__isset); } +Graph::Graph(const Graph& other22) { + nodeType = other22.nodeType; + roots = other22.roots; + adjacencyList = other22.adjacencyList; + __isset = other22.__isset; +} +Graph& Graph::operator=(const Graph& other23) { + nodeType = other23.nodeType; + roots = other23.roots; + adjacencyList = other23.adjacencyList; + __isset = other23.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Graph& obj) { + using apache::thrift::to_string; + out << "Graph("; + out << "nodeType=" << to_string(obj.nodeType); + out << ", " << "roots=" << to_string(obj.roots); + out << ", " << "adjacencyList=" << to_string(obj.adjacencyList); + out << ")"; + return out; +} + + +Operator::~Operator() throw() { +} + + +void Operator::__set_operatorId(const std::string& val) { + this->operatorId = val; +} + +void Operator::__set_operatorType(const OperatorType::type val) { + this->operatorType = val; +} + +void Operator::__set_operatorAttributes(const std::map & val) { + this->operatorAttributes = val; +} + +void Operator::__set_operatorCounters(const std::map & val) { + this->operatorCounters = val; +} + +void Operator::__set_done(const bool val) { + this->done = val; +} + +void Operator::__set_started(const bool val) { + this->started = val; +} + const char* Operator::ascii_fingerprint = "30917C758A752485AF223B697479DE6C"; const uint8_t Operator::binary_fingerprint[16] = {0x30,0x91,0x7C,0x75,0x8A,0x75,0x24,0x85,0xAF,0x22,0x3B,0x69,0x74,0x79,0xDE,0x6C}; @@ -401,9 +517,9 @@ uint32_t Operator::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast20; - xfer += iprot->readI32(ecast20); - this->operatorType = (OperatorType::type)ecast20; + int32_t ecast24; + xfer += iprot->readI32(ecast24); + this->operatorType = (OperatorType::type)ecast24; this->__isset.operatorType = true; } else { xfer += iprot->skip(ftype); @@ -413,17 +529,17 @@ uint32_t Operator::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->operatorAttributes.clear(); - uint32_t _size21; - ::apache::thrift::protocol::TType _ktype22; - ::apache::thrift::protocol::TType _vtype23; - xfer += iprot->readMapBegin(_ktype22, _vtype23, _size21); - uint32_t _i25; - for (_i25 = 0; _i25 < _size21; ++_i25) + uint32_t _size25; + ::apache::thrift::protocol::TType _ktype26; + ::apache::thrift::protocol::TType _vtype27; + xfer += iprot->readMapBegin(_ktype26, _vtype27, _size25); + uint32_t _i29; + for (_i29 = 0; _i29 < _size25; ++_i29) { - std::string _key26; - xfer += iprot->readString(_key26); - std::string& _val27 = this->operatorAttributes[_key26]; - xfer += iprot->readString(_val27); + std::string _key30; + xfer += iprot->readString(_key30); + std::string& _val31 = this->operatorAttributes[_key30]; + xfer += iprot->readString(_val31); } xfer += iprot->readMapEnd(); } @@ -436,17 +552,17 @@ uint32_t Operator::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->operatorCounters.clear(); - uint32_t _size28; - ::apache::thrift::protocol::TType _ktype29; - ::apache::thrift::protocol::TType _vtype30; - xfer += iprot->readMapBegin(_ktype29, _vtype30, _size28); - uint32_t _i32; - for (_i32 = 0; _i32 < _size28; ++_i32) + uint32_t _size32; + ::apache::thrift::protocol::TType _ktype33; + ::apache::thrift::protocol::TType _vtype34; + xfer += iprot->readMapBegin(_ktype33, _vtype34, _size32); + uint32_t _i36; + for (_i36 = 0; _i36 < _size32; ++_i36) { - std::string _key33; - xfer += iprot->readString(_key33); - int64_t& _val34 = this->operatorCounters[_key33]; - xfer += iprot->readI64(_val34); + std::string _key37; + xfer += iprot->readString(_key37); + int64_t& _val38 = this->operatorCounters[_key37]; + xfer += iprot->readI64(_val38); } xfer += iprot->readMapEnd(); } @@ -485,6 +601,7 @@ uint32_t Operator::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Operator::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Operator"); xfer += oprot->writeFieldBegin("operatorId", ::apache::thrift::protocol::T_STRING, 1); @@ -498,11 +615,11 @@ uint32_t Operator::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("operatorAttributes", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->operatorAttributes.size())); - std::map ::const_iterator _iter35; - for (_iter35 = this->operatorAttributes.begin(); _iter35 != this->operatorAttributes.end(); ++_iter35) + std::map ::const_iterator _iter39; + for (_iter39 = this->operatorAttributes.begin(); _iter39 != this->operatorAttributes.end(); ++_iter39) { - xfer += oprot->writeString(_iter35->first); - xfer += oprot->writeString(_iter35->second); + xfer += oprot->writeString(_iter39->first); + xfer += oprot->writeString(_iter39->second); } xfer += oprot->writeMapEnd(); } @@ -511,11 +628,11 @@ uint32_t Operator::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("operatorCounters", ::apache::thrift::protocol::T_MAP, 4); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I64, static_cast(this->operatorCounters.size())); - std::map ::const_iterator _iter36; - for (_iter36 = this->operatorCounters.begin(); _iter36 != this->operatorCounters.end(); ++_iter36) + std::map ::const_iterator _iter40; + for (_iter40 = this->operatorCounters.begin(); _iter40 != this->operatorCounters.end(); ++_iter40) { - xfer += oprot->writeString(_iter36->first); - xfer += oprot->writeI64(_iter36->second); + xfer += oprot->writeString(_iter40->first); + xfer += oprot->writeI64(_iter40->second); } xfer += oprot->writeMapEnd(); } @@ -531,6 +648,7 @@ uint32_t Operator::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -545,6 +663,77 @@ void swap(Operator &a, Operator &b) { swap(a.__isset, b.__isset); } +Operator::Operator(const Operator& other41) { + operatorId = other41.operatorId; + operatorType = other41.operatorType; + operatorAttributes = other41.operatorAttributes; + operatorCounters = other41.operatorCounters; + done = other41.done; + started = other41.started; + __isset = other41.__isset; +} +Operator& Operator::operator=(const Operator& other42) { + operatorId = other42.operatorId; + operatorType = other42.operatorType; + operatorAttributes = other42.operatorAttributes; + operatorCounters = other42.operatorCounters; + done = other42.done; + started = other42.started; + __isset = other42.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Operator& obj) { + using apache::thrift::to_string; + out << "Operator("; + out << "operatorId=" << to_string(obj.operatorId); + out << ", " << "operatorType=" << to_string(obj.operatorType); + out << ", " << "operatorAttributes=" << to_string(obj.operatorAttributes); + out << ", " << "operatorCounters=" << to_string(obj.operatorCounters); + out << ", " << "done=" << to_string(obj.done); + out << ", " << "started=" << to_string(obj.started); + out << ")"; + return out; +} + + +Task::~Task() throw() { +} + + +void Task::__set_taskId(const std::string& val) { + this->taskId = val; +} + +void Task::__set_taskType(const TaskType::type val) { + this->taskType = val; +} + +void Task::__set_taskAttributes(const std::map & val) { + this->taskAttributes = val; +} + +void Task::__set_taskCounters(const std::map & val) { + this->taskCounters = val; +} + +void Task::__set_operatorGraph(const Graph& val) { + this->operatorGraph = val; +__isset.operatorGraph = true; +} + +void Task::__set_operatorList(const std::vector & val) { + this->operatorList = val; +__isset.operatorList = true; +} + +void Task::__set_done(const bool val) { + this->done = val; +} + +void Task::__set_started(const bool val) { + this->started = val; +} + const char* Task::ascii_fingerprint = "AC741A136EFA51843AFC3A12F6A793D1"; const uint8_t Task::binary_fingerprint[16] = {0xAC,0x74,0x1A,0x13,0x6E,0xFA,0x51,0x84,0x3A,0xFC,0x3A,0x12,0xF6,0xA7,0x93,0xD1}; @@ -578,9 +767,9 @@ uint32_t Task::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast37; - xfer += iprot->readI32(ecast37); - this->taskType = (TaskType::type)ecast37; + int32_t ecast43; + xfer += iprot->readI32(ecast43); + this->taskType = (TaskType::type)ecast43; this->__isset.taskType = true; } else { xfer += iprot->skip(ftype); @@ -590,17 +779,17 @@ uint32_t Task::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->taskAttributes.clear(); - uint32_t _size38; - ::apache::thrift::protocol::TType _ktype39; - ::apache::thrift::protocol::TType _vtype40; - xfer += iprot->readMapBegin(_ktype39, _vtype40, _size38); - uint32_t _i42; - for (_i42 = 0; _i42 < _size38; ++_i42) + uint32_t _size44; + ::apache::thrift::protocol::TType _ktype45; + ::apache::thrift::protocol::TType _vtype46; + xfer += iprot->readMapBegin(_ktype45, _vtype46, _size44); + uint32_t _i48; + for (_i48 = 0; _i48 < _size44; ++_i48) { - std::string _key43; - xfer += iprot->readString(_key43); - std::string& _val44 = this->taskAttributes[_key43]; - xfer += iprot->readString(_val44); + std::string _key49; + xfer += iprot->readString(_key49); + std::string& _val50 = this->taskAttributes[_key49]; + xfer += iprot->readString(_val50); } xfer += iprot->readMapEnd(); } @@ -613,17 +802,17 @@ uint32_t Task::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->taskCounters.clear(); - uint32_t _size45; - ::apache::thrift::protocol::TType _ktype46; - ::apache::thrift::protocol::TType _vtype47; - xfer += iprot->readMapBegin(_ktype46, _vtype47, _size45); - uint32_t _i49; - for (_i49 = 0; _i49 < _size45; ++_i49) + uint32_t _size51; + ::apache::thrift::protocol::TType _ktype52; + ::apache::thrift::protocol::TType _vtype53; + xfer += iprot->readMapBegin(_ktype52, _vtype53, _size51); + uint32_t _i55; + for (_i55 = 0; _i55 < _size51; ++_i55) { - std::string _key50; - xfer += iprot->readString(_key50); - int64_t& _val51 = this->taskCounters[_key50]; - xfer += iprot->readI64(_val51); + std::string _key56; + xfer += iprot->readString(_key56); + int64_t& _val57 = this->taskCounters[_key56]; + xfer += iprot->readI64(_val57); } xfer += iprot->readMapEnd(); } @@ -644,14 +833,14 @@ uint32_t Task::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->operatorList.clear(); - uint32_t _size52; - ::apache::thrift::protocol::TType _etype55; - xfer += iprot->readListBegin(_etype55, _size52); - this->operatorList.resize(_size52); - uint32_t _i56; - for (_i56 = 0; _i56 < _size52; ++_i56) + uint32_t _size58; + ::apache::thrift::protocol::TType _etype61; + xfer += iprot->readListBegin(_etype61, _size58); + this->operatorList.resize(_size58); + uint32_t _i62; + for (_i62 = 0; _i62 < _size58; ++_i62) { - xfer += this->operatorList[_i56].read(iprot); + xfer += this->operatorList[_i62].read(iprot); } xfer += iprot->readListEnd(); } @@ -690,6 +879,7 @@ uint32_t Task::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Task::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Task"); xfer += oprot->writeFieldBegin("taskId", ::apache::thrift::protocol::T_STRING, 1); @@ -703,11 +893,11 @@ uint32_t Task::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("taskAttributes", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->taskAttributes.size())); - std::map ::const_iterator _iter57; - for (_iter57 = this->taskAttributes.begin(); _iter57 != this->taskAttributes.end(); ++_iter57) + std::map ::const_iterator _iter63; + for (_iter63 = this->taskAttributes.begin(); _iter63 != this->taskAttributes.end(); ++_iter63) { - xfer += oprot->writeString(_iter57->first); - xfer += oprot->writeString(_iter57->second); + xfer += oprot->writeString(_iter63->first); + xfer += oprot->writeString(_iter63->second); } xfer += oprot->writeMapEnd(); } @@ -716,11 +906,11 @@ uint32_t Task::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("taskCounters", ::apache::thrift::protocol::T_MAP, 4); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I64, static_cast(this->taskCounters.size())); - std::map ::const_iterator _iter58; - for (_iter58 = this->taskCounters.begin(); _iter58 != this->taskCounters.end(); ++_iter58) + std::map ::const_iterator _iter64; + for (_iter64 = this->taskCounters.begin(); _iter64 != this->taskCounters.end(); ++_iter64) { - xfer += oprot->writeString(_iter58->first); - xfer += oprot->writeI64(_iter58->second); + xfer += oprot->writeString(_iter64->first); + xfer += oprot->writeI64(_iter64->second); } xfer += oprot->writeMapEnd(); } @@ -735,10 +925,10 @@ uint32_t Task::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("operatorList", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->operatorList.size())); - std::vector ::const_iterator _iter59; - for (_iter59 = this->operatorList.begin(); _iter59 != this->operatorList.end(); ++_iter59) + std::vector ::const_iterator _iter65; + for (_iter65 = this->operatorList.begin(); _iter65 != this->operatorList.end(); ++_iter65) { - xfer += (*_iter59).write(oprot); + xfer += (*_iter65).write(oprot); } xfer += oprot->writeListEnd(); } @@ -754,6 +944,7 @@ uint32_t Task::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -770,6 +961,77 @@ void swap(Task &a, Task &b) { swap(a.__isset, b.__isset); } +Task::Task(const Task& other66) { + taskId = other66.taskId; + taskType = other66.taskType; + taskAttributes = other66.taskAttributes; + taskCounters = other66.taskCounters; + operatorGraph = other66.operatorGraph; + operatorList = other66.operatorList; + done = other66.done; + started = other66.started; + __isset = other66.__isset; +} +Task& Task::operator=(const Task& other67) { + taskId = other67.taskId; + taskType = other67.taskType; + taskAttributes = other67.taskAttributes; + taskCounters = other67.taskCounters; + operatorGraph = other67.operatorGraph; + operatorList = other67.operatorList; + done = other67.done; + started = other67.started; + __isset = other67.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Task& obj) { + using apache::thrift::to_string; + out << "Task("; + out << "taskId=" << to_string(obj.taskId); + out << ", " << "taskType=" << to_string(obj.taskType); + out << ", " << "taskAttributes=" << to_string(obj.taskAttributes); + out << ", " << "taskCounters=" << to_string(obj.taskCounters); + out << ", " << "operatorGraph="; (obj.__isset.operatorGraph ? (out << to_string(obj.operatorGraph)) : (out << "")); + out << ", " << "operatorList="; (obj.__isset.operatorList ? (out << to_string(obj.operatorList)) : (out << "")); + out << ", " << "done=" << to_string(obj.done); + out << ", " << "started=" << to_string(obj.started); + out << ")"; + return out; +} + + +Stage::~Stage() throw() { +} + + +void Stage::__set_stageId(const std::string& val) { + this->stageId = val; +} + +void Stage::__set_stageType(const StageType::type val) { + this->stageType = val; +} + +void Stage::__set_stageAttributes(const std::map & val) { + this->stageAttributes = val; +} + +void Stage::__set_stageCounters(const std::map & val) { + this->stageCounters = val; +} + +void Stage::__set_taskList(const std::vector & val) { + this->taskList = val; +} + +void Stage::__set_done(const bool val) { + this->done = val; +} + +void Stage::__set_started(const bool val) { + this->started = val; +} + const char* Stage::ascii_fingerprint = "86EA3C7B0690AFED21A3D479E2B32378"; const uint8_t Stage::binary_fingerprint[16] = {0x86,0xEA,0x3C,0x7B,0x06,0x90,0xAF,0xED,0x21,0xA3,0xD4,0x79,0xE2,0xB3,0x23,0x78}; @@ -803,9 +1065,9 @@ uint32_t Stage::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast60; - xfer += iprot->readI32(ecast60); - this->stageType = (StageType::type)ecast60; + int32_t ecast68; + xfer += iprot->readI32(ecast68); + this->stageType = (StageType::type)ecast68; this->__isset.stageType = true; } else { xfer += iprot->skip(ftype); @@ -815,17 +1077,17 @@ uint32_t Stage::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->stageAttributes.clear(); - uint32_t _size61; - ::apache::thrift::protocol::TType _ktype62; - ::apache::thrift::protocol::TType _vtype63; - xfer += iprot->readMapBegin(_ktype62, _vtype63, _size61); - uint32_t _i65; - for (_i65 = 0; _i65 < _size61; ++_i65) + uint32_t _size69; + ::apache::thrift::protocol::TType _ktype70; + ::apache::thrift::protocol::TType _vtype71; + xfer += iprot->readMapBegin(_ktype70, _vtype71, _size69); + uint32_t _i73; + for (_i73 = 0; _i73 < _size69; ++_i73) { - std::string _key66; - xfer += iprot->readString(_key66); - std::string& _val67 = this->stageAttributes[_key66]; - xfer += iprot->readString(_val67); + std::string _key74; + xfer += iprot->readString(_key74); + std::string& _val75 = this->stageAttributes[_key74]; + xfer += iprot->readString(_val75); } xfer += iprot->readMapEnd(); } @@ -838,17 +1100,17 @@ uint32_t Stage::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->stageCounters.clear(); - uint32_t _size68; - ::apache::thrift::protocol::TType _ktype69; - ::apache::thrift::protocol::TType _vtype70; - xfer += iprot->readMapBegin(_ktype69, _vtype70, _size68); - uint32_t _i72; - for (_i72 = 0; _i72 < _size68; ++_i72) + uint32_t _size76; + ::apache::thrift::protocol::TType _ktype77; + ::apache::thrift::protocol::TType _vtype78; + xfer += iprot->readMapBegin(_ktype77, _vtype78, _size76); + uint32_t _i80; + for (_i80 = 0; _i80 < _size76; ++_i80) { - std::string _key73; - xfer += iprot->readString(_key73); - int64_t& _val74 = this->stageCounters[_key73]; - xfer += iprot->readI64(_val74); + std::string _key81; + xfer += iprot->readString(_key81); + int64_t& _val82 = this->stageCounters[_key81]; + xfer += iprot->readI64(_val82); } xfer += iprot->readMapEnd(); } @@ -861,14 +1123,14 @@ uint32_t Stage::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->taskList.clear(); - uint32_t _size75; - ::apache::thrift::protocol::TType _etype78; - xfer += iprot->readListBegin(_etype78, _size75); - this->taskList.resize(_size75); - uint32_t _i79; - for (_i79 = 0; _i79 < _size75; ++_i79) + uint32_t _size83; + ::apache::thrift::protocol::TType _etype86; + xfer += iprot->readListBegin(_etype86, _size83); + this->taskList.resize(_size83); + uint32_t _i87; + for (_i87 = 0; _i87 < _size83; ++_i87) { - xfer += this->taskList[_i79].read(iprot); + xfer += this->taskList[_i87].read(iprot); } xfer += iprot->readListEnd(); } @@ -907,6 +1169,7 @@ uint32_t Stage::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Stage::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Stage"); xfer += oprot->writeFieldBegin("stageId", ::apache::thrift::protocol::T_STRING, 1); @@ -920,11 +1183,11 @@ uint32_t Stage::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("stageAttributes", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->stageAttributes.size())); - std::map ::const_iterator _iter80; - for (_iter80 = this->stageAttributes.begin(); _iter80 != this->stageAttributes.end(); ++_iter80) + std::map ::const_iterator _iter88; + for (_iter88 = this->stageAttributes.begin(); _iter88 != this->stageAttributes.end(); ++_iter88) { - xfer += oprot->writeString(_iter80->first); - xfer += oprot->writeString(_iter80->second); + xfer += oprot->writeString(_iter88->first); + xfer += oprot->writeString(_iter88->second); } xfer += oprot->writeMapEnd(); } @@ -933,11 +1196,11 @@ uint32_t Stage::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("stageCounters", ::apache::thrift::protocol::T_MAP, 4); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I64, static_cast(this->stageCounters.size())); - std::map ::const_iterator _iter81; - for (_iter81 = this->stageCounters.begin(); _iter81 != this->stageCounters.end(); ++_iter81) + std::map ::const_iterator _iter89; + for (_iter89 = this->stageCounters.begin(); _iter89 != this->stageCounters.end(); ++_iter89) { - xfer += oprot->writeString(_iter81->first); - xfer += oprot->writeI64(_iter81->second); + xfer += oprot->writeString(_iter89->first); + xfer += oprot->writeI64(_iter89->second); } xfer += oprot->writeMapEnd(); } @@ -946,10 +1209,10 @@ uint32_t Stage::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("taskList", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->taskList.size())); - std::vector ::const_iterator _iter82; - for (_iter82 = this->taskList.begin(); _iter82 != this->taskList.end(); ++_iter82) + std::vector ::const_iterator _iter90; + for (_iter90 = this->taskList.begin(); _iter90 != this->taskList.end(); ++_iter90) { - xfer += (*_iter82).write(oprot); + xfer += (*_iter90).write(oprot); } xfer += oprot->writeListEnd(); } @@ -965,6 +1228,7 @@ uint32_t Stage::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -980,6 +1244,78 @@ void swap(Stage &a, Stage &b) { swap(a.__isset, b.__isset); } +Stage::Stage(const Stage& other91) { + stageId = other91.stageId; + stageType = other91.stageType; + stageAttributes = other91.stageAttributes; + stageCounters = other91.stageCounters; + taskList = other91.taskList; + done = other91.done; + started = other91.started; + __isset = other91.__isset; +} +Stage& Stage::operator=(const Stage& other92) { + stageId = other92.stageId; + stageType = other92.stageType; + stageAttributes = other92.stageAttributes; + stageCounters = other92.stageCounters; + taskList = other92.taskList; + done = other92.done; + started = other92.started; + __isset = other92.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Stage& obj) { + using apache::thrift::to_string; + out << "Stage("; + out << "stageId=" << to_string(obj.stageId); + out << ", " << "stageType=" << to_string(obj.stageType); + out << ", " << "stageAttributes=" << to_string(obj.stageAttributes); + out << ", " << "stageCounters=" << to_string(obj.stageCounters); + out << ", " << "taskList=" << to_string(obj.taskList); + out << ", " << "done=" << to_string(obj.done); + out << ", " << "started=" << to_string(obj.started); + out << ")"; + return out; +} + + +Query::~Query() throw() { +} + + +void Query::__set_queryId(const std::string& val) { + this->queryId = val; +} + +void Query::__set_queryType(const std::string& val) { + this->queryType = val; +} + +void Query::__set_queryAttributes(const std::map & val) { + this->queryAttributes = val; +} + +void Query::__set_queryCounters(const std::map & val) { + this->queryCounters = val; +} + +void Query::__set_stageGraph(const Graph& val) { + this->stageGraph = val; +} + +void Query::__set_stageList(const std::vector & val) { + this->stageList = val; +} + +void Query::__set_done(const bool val) { + this->done = val; +} + +void Query::__set_started(const bool val) { + this->started = val; +} + const char* Query::ascii_fingerprint = "68300D63A5D40F2D17B9A9440FF626C1"; const uint8_t Query::binary_fingerprint[16] = {0x68,0x30,0x0D,0x63,0xA5,0xD4,0x0F,0x2D,0x17,0xB9,0xA9,0x44,0x0F,0xF6,0x26,0xC1}; @@ -1023,17 +1359,17 @@ uint32_t Query::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->queryAttributes.clear(); - uint32_t _size83; - ::apache::thrift::protocol::TType _ktype84; - ::apache::thrift::protocol::TType _vtype85; - xfer += iprot->readMapBegin(_ktype84, _vtype85, _size83); - uint32_t _i87; - for (_i87 = 0; _i87 < _size83; ++_i87) + uint32_t _size93; + ::apache::thrift::protocol::TType _ktype94; + ::apache::thrift::protocol::TType _vtype95; + xfer += iprot->readMapBegin(_ktype94, _vtype95, _size93); + uint32_t _i97; + for (_i97 = 0; _i97 < _size93; ++_i97) { - std::string _key88; - xfer += iprot->readString(_key88); - std::string& _val89 = this->queryAttributes[_key88]; - xfer += iprot->readString(_val89); + std::string _key98; + xfer += iprot->readString(_key98); + std::string& _val99 = this->queryAttributes[_key98]; + xfer += iprot->readString(_val99); } xfer += iprot->readMapEnd(); } @@ -1046,17 +1382,17 @@ uint32_t Query::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->queryCounters.clear(); - uint32_t _size90; - ::apache::thrift::protocol::TType _ktype91; - ::apache::thrift::protocol::TType _vtype92; - xfer += iprot->readMapBegin(_ktype91, _vtype92, _size90); - uint32_t _i94; - for (_i94 = 0; _i94 < _size90; ++_i94) + uint32_t _size100; + ::apache::thrift::protocol::TType _ktype101; + ::apache::thrift::protocol::TType _vtype102; + xfer += iprot->readMapBegin(_ktype101, _vtype102, _size100); + uint32_t _i104; + for (_i104 = 0; _i104 < _size100; ++_i104) { - std::string _key95; - xfer += iprot->readString(_key95); - int64_t& _val96 = this->queryCounters[_key95]; - xfer += iprot->readI64(_val96); + std::string _key105; + xfer += iprot->readString(_key105); + int64_t& _val106 = this->queryCounters[_key105]; + xfer += iprot->readI64(_val106); } xfer += iprot->readMapEnd(); } @@ -1077,14 +1413,14 @@ uint32_t Query::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->stageList.clear(); - uint32_t _size97; - ::apache::thrift::protocol::TType _etype100; - xfer += iprot->readListBegin(_etype100, _size97); - this->stageList.resize(_size97); - uint32_t _i101; - for (_i101 = 0; _i101 < _size97; ++_i101) + uint32_t _size107; + ::apache::thrift::protocol::TType _etype110; + xfer += iprot->readListBegin(_etype110, _size107); + this->stageList.resize(_size107); + uint32_t _i111; + for (_i111 = 0; _i111 < _size107; ++_i111) { - xfer += this->stageList[_i101].read(iprot); + xfer += this->stageList[_i111].read(iprot); } xfer += iprot->readListEnd(); } @@ -1123,6 +1459,7 @@ uint32_t Query::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Query::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Query"); xfer += oprot->writeFieldBegin("queryId", ::apache::thrift::protocol::T_STRING, 1); @@ -1136,11 +1473,11 @@ uint32_t Query::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("queryAttributes", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->queryAttributes.size())); - std::map ::const_iterator _iter102; - for (_iter102 = this->queryAttributes.begin(); _iter102 != this->queryAttributes.end(); ++_iter102) + std::map ::const_iterator _iter112; + for (_iter112 = this->queryAttributes.begin(); _iter112 != this->queryAttributes.end(); ++_iter112) { - xfer += oprot->writeString(_iter102->first); - xfer += oprot->writeString(_iter102->second); + xfer += oprot->writeString(_iter112->first); + xfer += oprot->writeString(_iter112->second); } xfer += oprot->writeMapEnd(); } @@ -1149,11 +1486,11 @@ uint32_t Query::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("queryCounters", ::apache::thrift::protocol::T_MAP, 4); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I64, static_cast(this->queryCounters.size())); - std::map ::const_iterator _iter103; - for (_iter103 = this->queryCounters.begin(); _iter103 != this->queryCounters.end(); ++_iter103) + std::map ::const_iterator _iter113; + for (_iter113 = this->queryCounters.begin(); _iter113 != this->queryCounters.end(); ++_iter113) { - xfer += oprot->writeString(_iter103->first); - xfer += oprot->writeI64(_iter103->second); + xfer += oprot->writeString(_iter113->first); + xfer += oprot->writeI64(_iter113->second); } xfer += oprot->writeMapEnd(); } @@ -1166,10 +1503,10 @@ uint32_t Query::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("stageList", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->stageList.size())); - std::vector ::const_iterator _iter104; - for (_iter104 = this->stageList.begin(); _iter104 != this->stageList.end(); ++_iter104) + std::vector ::const_iterator _iter114; + for (_iter114 = this->stageList.begin(); _iter114 != this->stageList.end(); ++_iter114) { - xfer += (*_iter104).write(oprot); + xfer += (*_iter114).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1185,6 +1522,7 @@ uint32_t Query::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1201,6 +1539,61 @@ void swap(Query &a, Query &b) { swap(a.__isset, b.__isset); } +Query::Query(const Query& other115) { + queryId = other115.queryId; + queryType = other115.queryType; + queryAttributes = other115.queryAttributes; + queryCounters = other115.queryCounters; + stageGraph = other115.stageGraph; + stageList = other115.stageList; + done = other115.done; + started = other115.started; + __isset = other115.__isset; +} +Query& Query::operator=(const Query& other116) { + queryId = other116.queryId; + queryType = other116.queryType; + queryAttributes = other116.queryAttributes; + queryCounters = other116.queryCounters; + stageGraph = other116.stageGraph; + stageList = other116.stageList; + done = other116.done; + started = other116.started; + __isset = other116.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Query& obj) { + using apache::thrift::to_string; + out << "Query("; + out << "queryId=" << to_string(obj.queryId); + out << ", " << "queryType=" << to_string(obj.queryType); + out << ", " << "queryAttributes=" << to_string(obj.queryAttributes); + out << ", " << "queryCounters=" << to_string(obj.queryCounters); + out << ", " << "stageGraph=" << to_string(obj.stageGraph); + out << ", " << "stageList=" << to_string(obj.stageList); + out << ", " << "done=" << to_string(obj.done); + out << ", " << "started=" << to_string(obj.started); + out << ")"; + return out; +} + + +QueryPlan::~QueryPlan() throw() { +} + + +void QueryPlan::__set_queries(const std::vector & val) { + this->queries = val; +} + +void QueryPlan::__set_done(const bool val) { + this->done = val; +} + +void QueryPlan::__set_started(const bool val) { + this->started = val; +} + const char* QueryPlan::ascii_fingerprint = "3418D1B0C20C288C8406186700B772E3"; const uint8_t QueryPlan::binary_fingerprint[16] = {0x34,0x18,0xD1,0xB0,0xC2,0x0C,0x28,0x8C,0x84,0x06,0x18,0x67,0x00,0xB7,0x72,0xE3}; @@ -1228,14 +1621,14 @@ uint32_t QueryPlan::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->queries.clear(); - uint32_t _size105; - ::apache::thrift::protocol::TType _etype108; - xfer += iprot->readListBegin(_etype108, _size105); - this->queries.resize(_size105); - uint32_t _i109; - for (_i109 = 0; _i109 < _size105; ++_i109) + uint32_t _size117; + ::apache::thrift::protocol::TType _etype120; + xfer += iprot->readListBegin(_etype120, _size117); + this->queries.resize(_size117); + uint32_t _i121; + for (_i121 = 0; _i121 < _size117; ++_i121) { - xfer += this->queries[_i109].read(iprot); + xfer += this->queries[_i121].read(iprot); } xfer += iprot->readListEnd(); } @@ -1274,15 +1667,16 @@ uint32_t QueryPlan::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t QueryPlan::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("QueryPlan"); xfer += oprot->writeFieldBegin("queries", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->queries.size())); - std::vector ::const_iterator _iter110; - for (_iter110 = this->queries.begin(); _iter110 != this->queries.end(); ++_iter110) + std::vector ::const_iterator _iter122; + for (_iter122 = this->queries.begin(); _iter122 != this->queries.end(); ++_iter122) { - xfer += (*_iter110).write(oprot); + xfer += (*_iter122).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1298,6 +1692,7 @@ uint32_t QueryPlan::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1309,4 +1704,27 @@ void swap(QueryPlan &a, QueryPlan &b) { swap(a.__isset, b.__isset); } +QueryPlan::QueryPlan(const QueryPlan& other123) { + queries = other123.queries; + done = other123.done; + started = other123.started; + __isset = other123.__isset; +} +QueryPlan& QueryPlan::operator=(const QueryPlan& other124) { + queries = other124.queries; + done = other124.done; + started = other124.started; + __isset = other124.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const QueryPlan& obj) { + using apache::thrift::to_string; + out << "QueryPlan("; + out << "queries=" << to_string(obj.queries); + out << ", " << "done=" << to_string(obj.done); + out << ", " << "started=" << to_string(obj.started); + out << ")"; + return out; +} + }}} // namespace diff --git a/ql/src/gen/thrift/gen-cpp/queryplan_types.h b/ql/src/gen/thrift/gen-cpp/queryplan_types.h index ac73bc5..44f6b6f 100644 --- a/ql/src/gen/thrift/gen-cpp/queryplan_types.h +++ b/ql/src/gen/thrift/gen-cpp/queryplan_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,11 +7,14 @@ #ifndef queryplan_TYPES_H #define queryplan_TYPES_H +#include + #include #include #include #include +#include namespace Apache { namespace Hadoop { namespace Hive { @@ -95,11 +98,25 @@ struct StageType { extern const std::map _StageType_VALUES_TO_NAMES; +class Adjacency; + +class Graph; + +class Operator; + +class Task; + +class Stage; + +class Query; + +class QueryPlan; + typedef struct _Adjacency__isset { _Adjacency__isset() : node(false), children(false), adjacencyType(false) {} - bool node; - bool children; - bool adjacencyType; + bool node :1; + bool children :1; + bool adjacencyType :1; } _Adjacency__isset; class Adjacency { @@ -108,28 +125,23 @@ class Adjacency { static const char* ascii_fingerprint; // = "BC4F8C394677A1003AA9F56ED26D8204"; static const uint8_t binary_fingerprint[16]; // = {0xBC,0x4F,0x8C,0x39,0x46,0x77,0xA1,0x00,0x3A,0xA9,0xF5,0x6E,0xD2,0x6D,0x82,0x04}; + Adjacency(const Adjacency&); + Adjacency& operator=(const Adjacency&); Adjacency() : node(), adjacencyType((AdjacencyType::type)0) { } - virtual ~Adjacency() throw() {} - + virtual ~Adjacency() throw(); std::string node; std::vector children; AdjacencyType::type adjacencyType; _Adjacency__isset __isset; - void __set_node(const std::string& val) { - node = val; - } + void __set_node(const std::string& val); - void __set_children(const std::vector & val) { - children = val; - } + void __set_children(const std::vector & val); - void __set_adjacencyType(const AdjacencyType::type val) { - adjacencyType = val; - } + void __set_adjacencyType(const AdjacencyType::type val); bool operator == (const Adjacency & rhs) const { @@ -150,15 +162,16 @@ class Adjacency { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Adjacency& obj); }; void swap(Adjacency &a, Adjacency &b); typedef struct _Graph__isset { _Graph__isset() : nodeType(false), roots(false), adjacencyList(false) {} - bool nodeType; - bool roots; - bool adjacencyList; + bool nodeType :1; + bool roots :1; + bool adjacencyList :1; } _Graph__isset; class Graph { @@ -167,28 +180,23 @@ class Graph { static const char* ascii_fingerprint; // = "1F7FB604B3EF8F7AFB5DEAD15F2FC0B5"; static const uint8_t binary_fingerprint[16]; // = {0x1F,0x7F,0xB6,0x04,0xB3,0xEF,0x8F,0x7A,0xFB,0x5D,0xEA,0xD1,0x5F,0x2F,0xC0,0xB5}; + Graph(const Graph&); + Graph& operator=(const Graph&); Graph() : nodeType((NodeType::type)0) { } - virtual ~Graph() throw() {} - + virtual ~Graph() throw(); NodeType::type nodeType; std::vector roots; std::vector adjacencyList; _Graph__isset __isset; - void __set_nodeType(const NodeType::type val) { - nodeType = val; - } + void __set_nodeType(const NodeType::type val); - void __set_roots(const std::vector & val) { - roots = val; - } + void __set_roots(const std::vector & val); - void __set_adjacencyList(const std::vector & val) { - adjacencyList = val; - } + void __set_adjacencyList(const std::vector & val); bool operator == (const Graph & rhs) const { @@ -209,18 +217,19 @@ class Graph { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Graph& obj); }; void swap(Graph &a, Graph &b); typedef struct _Operator__isset { _Operator__isset() : operatorId(false), operatorType(false), operatorAttributes(false), operatorCounters(false), done(false), started(false) {} - bool operatorId; - bool operatorType; - bool operatorAttributes; - bool operatorCounters; - bool done; - bool started; + bool operatorId :1; + bool operatorType :1; + bool operatorAttributes :1; + bool operatorCounters :1; + bool done :1; + bool started :1; } _Operator__isset; class Operator { @@ -229,11 +238,12 @@ class Operator { static const char* ascii_fingerprint; // = "30917C758A752485AF223B697479DE6C"; static const uint8_t binary_fingerprint[16]; // = {0x30,0x91,0x7C,0x75,0x8A,0x75,0x24,0x85,0xAF,0x22,0x3B,0x69,0x74,0x79,0xDE,0x6C}; + Operator(const Operator&); + Operator& operator=(const Operator&); Operator() : operatorId(), operatorType((OperatorType::type)0), done(0), started(0) { } - virtual ~Operator() throw() {} - + virtual ~Operator() throw(); std::string operatorId; OperatorType::type operatorType; std::map operatorAttributes; @@ -243,29 +253,17 @@ class Operator { _Operator__isset __isset; - void __set_operatorId(const std::string& val) { - operatorId = val; - } + void __set_operatorId(const std::string& val); - void __set_operatorType(const OperatorType::type val) { - operatorType = val; - } + void __set_operatorType(const OperatorType::type val); - void __set_operatorAttributes(const std::map & val) { - operatorAttributes = val; - } + void __set_operatorAttributes(const std::map & val); - void __set_operatorCounters(const std::map & val) { - operatorCounters = val; - } + void __set_operatorCounters(const std::map & val); - void __set_done(const bool val) { - done = val; - } + void __set_done(const bool val); - void __set_started(const bool val) { - started = val; - } + void __set_started(const bool val); bool operator == (const Operator & rhs) const { @@ -292,20 +290,21 @@ class Operator { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Operator& obj); }; void swap(Operator &a, Operator &b); typedef struct _Task__isset { _Task__isset() : taskId(false), taskType(false), taskAttributes(false), taskCounters(false), operatorGraph(false), operatorList(false), done(false), started(false) {} - bool taskId; - bool taskType; - bool taskAttributes; - bool taskCounters; - bool operatorGraph; - bool operatorList; - bool done; - bool started; + bool taskId :1; + bool taskType :1; + bool taskAttributes :1; + bool taskCounters :1; + bool operatorGraph :1; + bool operatorList :1; + bool done :1; + bool started :1; } _Task__isset; class Task { @@ -314,11 +313,12 @@ class Task { static const char* ascii_fingerprint; // = "AC741A136EFA51843AFC3A12F6A793D1"; static const uint8_t binary_fingerprint[16]; // = {0xAC,0x74,0x1A,0x13,0x6E,0xFA,0x51,0x84,0x3A,0xFC,0x3A,0x12,0xF6,0xA7,0x93,0xD1}; + Task(const Task&); + Task& operator=(const Task&); Task() : taskId(), taskType((TaskType::type)0), done(0), started(0) { } - virtual ~Task() throw() {} - + virtual ~Task() throw(); std::string taskId; TaskType::type taskType; std::map taskAttributes; @@ -330,39 +330,21 @@ class Task { _Task__isset __isset; - void __set_taskId(const std::string& val) { - taskId = val; - } + void __set_taskId(const std::string& val); - void __set_taskType(const TaskType::type val) { - taskType = val; - } + void __set_taskType(const TaskType::type val); - void __set_taskAttributes(const std::map & val) { - taskAttributes = val; - } + void __set_taskAttributes(const std::map & val); - void __set_taskCounters(const std::map & val) { - taskCounters = val; - } + void __set_taskCounters(const std::map & val); - void __set_operatorGraph(const Graph& val) { - operatorGraph = val; - __isset.operatorGraph = true; - } + void __set_operatorGraph(const Graph& val); - void __set_operatorList(const std::vector & val) { - operatorList = val; - __isset.operatorList = true; - } + void __set_operatorList(const std::vector & val); - void __set_done(const bool val) { - done = val; - } + void __set_done(const bool val); - void __set_started(const bool val) { - started = val; - } + void __set_started(const bool val); bool operator == (const Task & rhs) const { @@ -397,19 +379,20 @@ class Task { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Task& obj); }; void swap(Task &a, Task &b); typedef struct _Stage__isset { _Stage__isset() : stageId(false), stageType(false), stageAttributes(false), stageCounters(false), taskList(false), done(false), started(false) {} - bool stageId; - bool stageType; - bool stageAttributes; - bool stageCounters; - bool taskList; - bool done; - bool started; + bool stageId :1; + bool stageType :1; + bool stageAttributes :1; + bool stageCounters :1; + bool taskList :1; + bool done :1; + bool started :1; } _Stage__isset; class Stage { @@ -418,11 +401,12 @@ class Stage { static const char* ascii_fingerprint; // = "86EA3C7B0690AFED21A3D479E2B32378"; static const uint8_t binary_fingerprint[16]; // = {0x86,0xEA,0x3C,0x7B,0x06,0x90,0xAF,0xED,0x21,0xA3,0xD4,0x79,0xE2,0xB3,0x23,0x78}; + Stage(const Stage&); + Stage& operator=(const Stage&); Stage() : stageId(), stageType((StageType::type)0), done(0), started(0) { } - virtual ~Stage() throw() {} - + virtual ~Stage() throw(); std::string stageId; StageType::type stageType; std::map stageAttributes; @@ -433,33 +417,19 @@ class Stage { _Stage__isset __isset; - void __set_stageId(const std::string& val) { - stageId = val; - } + void __set_stageId(const std::string& val); - void __set_stageType(const StageType::type val) { - stageType = val; - } + void __set_stageType(const StageType::type val); - void __set_stageAttributes(const std::map & val) { - stageAttributes = val; - } + void __set_stageAttributes(const std::map & val); - void __set_stageCounters(const std::map & val) { - stageCounters = val; - } + void __set_stageCounters(const std::map & val); - void __set_taskList(const std::vector & val) { - taskList = val; - } + void __set_taskList(const std::vector & val); - void __set_done(const bool val) { - done = val; - } + void __set_done(const bool val); - void __set_started(const bool val) { - started = val; - } + void __set_started(const bool val); bool operator == (const Stage & rhs) const { @@ -488,20 +458,21 @@ class Stage { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Stage& obj); }; void swap(Stage &a, Stage &b); typedef struct _Query__isset { _Query__isset() : queryId(false), queryType(false), queryAttributes(false), queryCounters(false), stageGraph(false), stageList(false), done(false), started(false) {} - bool queryId; - bool queryType; - bool queryAttributes; - bool queryCounters; - bool stageGraph; - bool stageList; - bool done; - bool started; + bool queryId :1; + bool queryType :1; + bool queryAttributes :1; + bool queryCounters :1; + bool stageGraph :1; + bool stageList :1; + bool done :1; + bool started :1; } _Query__isset; class Query { @@ -510,11 +481,12 @@ class Query { static const char* ascii_fingerprint; // = "68300D63A5D40F2D17B9A9440FF626C1"; static const uint8_t binary_fingerprint[16]; // = {0x68,0x30,0x0D,0x63,0xA5,0xD4,0x0F,0x2D,0x17,0xB9,0xA9,0x44,0x0F,0xF6,0x26,0xC1}; + Query(const Query&); + Query& operator=(const Query&); Query() : queryId(), queryType(), done(0), started(0) { } - virtual ~Query() throw() {} - + virtual ~Query() throw(); std::string queryId; std::string queryType; std::map queryAttributes; @@ -526,37 +498,21 @@ class Query { _Query__isset __isset; - void __set_queryId(const std::string& val) { - queryId = val; - } + void __set_queryId(const std::string& val); - void __set_queryType(const std::string& val) { - queryType = val; - } + void __set_queryType(const std::string& val); - void __set_queryAttributes(const std::map & val) { - queryAttributes = val; - } + void __set_queryAttributes(const std::map & val); - void __set_queryCounters(const std::map & val) { - queryCounters = val; - } + void __set_queryCounters(const std::map & val); - void __set_stageGraph(const Graph& val) { - stageGraph = val; - } + void __set_stageGraph(const Graph& val); - void __set_stageList(const std::vector & val) { - stageList = val; - } + void __set_stageList(const std::vector & val); - void __set_done(const bool val) { - done = val; - } + void __set_done(const bool val); - void __set_started(const bool val) { - started = val; - } + void __set_started(const bool val); bool operator == (const Query & rhs) const { @@ -587,15 +543,16 @@ class Query { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Query& obj); }; void swap(Query &a, Query &b); typedef struct _QueryPlan__isset { _QueryPlan__isset() : queries(false), done(false), started(false) {} - bool queries; - bool done; - bool started; + bool queries :1; + bool done :1; + bool started :1; } _QueryPlan__isset; class QueryPlan { @@ -604,28 +561,23 @@ class QueryPlan { static const char* ascii_fingerprint; // = "3418D1B0C20C288C8406186700B772E3"; static const uint8_t binary_fingerprint[16]; // = {0x34,0x18,0xD1,0xB0,0xC2,0x0C,0x28,0x8C,0x84,0x06,0x18,0x67,0x00,0xB7,0x72,0xE3}; + QueryPlan(const QueryPlan&); + QueryPlan& operator=(const QueryPlan&); QueryPlan() : done(0), started(0) { } - virtual ~QueryPlan() throw() {} - + virtual ~QueryPlan() throw(); std::vector queries; bool done; bool started; _QueryPlan__isset __isset; - void __set_queries(const std::vector & val) { - queries = val; - } + void __set_queries(const std::vector & val); - void __set_done(const bool val) { - done = val; - } + void __set_done(const bool val); - void __set_started(const bool val) { - started = val; - } + void __set_started(const bool val); bool operator == (const QueryPlan & rhs) const { @@ -646,6 +598,7 @@ class QueryPlan { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const QueryPlan& obj); }; void swap(QueryPlan &a, QueryPlan &b); diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java index 22ca225..0c81297 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.ql.plan.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Adjacency implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Adjacency implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Adjacency"); private static final org.apache.thrift.protocol.TField NODE_FIELD_DESC = new org.apache.thrift.protocol.TField("node", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -153,10 +157,7 @@ public Adjacency(Adjacency other) { this.node = other.node; } if (other.isSetChildren()) { - List __this__children = new ArrayList(); - for (String other_element : other.children) { - __this__children.add(other_element); - } + List __this__children = new ArrayList(other.children); this.children = __this__children; } if (other.isSetAdjacencyType()) { @@ -373,60 +374,60 @@ public boolean equals(Adjacency that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_node = true && (isSetNode()); - builder.append(present_node); + list.add(present_node); if (present_node) - builder.append(node); + list.add(node); boolean present_children = true && (isSetChildren()); - builder.append(present_children); + list.add(present_children); if (present_children) - builder.append(children); + list.add(children); boolean present_adjacencyType = true && (isSetAdjacencyType()); - builder.append(present_adjacencyType); + list.add(present_adjacencyType); if (present_adjacencyType) - builder.append(adjacencyType.getValue()); + list.add(adjacencyType.getValue()); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Adjacency other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Adjacency typedOther = (Adjacency)other; - lastComparison = Boolean.valueOf(isSetNode()).compareTo(typedOther.isSetNode()); + lastComparison = Boolean.valueOf(isSetNode()).compareTo(other.isSetNode()); if (lastComparison != 0) { return lastComparison; } if (isSetNode()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.node, typedOther.node); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.node, other.node); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetChildren()).compareTo(typedOther.isSetChildren()); + lastComparison = Boolean.valueOf(isSetChildren()).compareTo(other.isSetChildren()); if (lastComparison != 0) { return lastComparison; } if (isSetChildren()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.children, typedOther.children); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.children, other.children); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetAdjacencyType()).compareTo(typedOther.isSetAdjacencyType()); + lastComparison = Boolean.valueOf(isSetAdjacencyType()).compareTo(other.isSetAdjacencyType()); if (lastComparison != 0) { return lastComparison; } if (isSetAdjacencyType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.adjacencyType, typedOther.adjacencyType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.adjacencyType, other.adjacencyType); if (lastComparison != 0) { return lastComparison; } @@ -530,11 +531,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Adjacency struct) t { org.apache.thrift.protocol.TList _list0 = iprot.readListBegin(); struct.children = new ArrayList(_list0.size); - for (int _i1 = 0; _i1 < _list0.size; ++_i1) + String _elem1; + for (int _i2 = 0; _i2 < _list0.size; ++_i2) { - String _elem2; // required - _elem2 = iprot.readString(); - struct.children.add(_elem2); + _elem1 = iprot.readString(); + struct.children.add(_elem1); } iprot.readListEnd(); } @@ -545,7 +546,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Adjacency struct) t break; case 3: // ADJACENCY_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.adjacencyType = AdjacencyType.findByValue(iprot.readI32()); + struct.adjacencyType = org.apache.hadoop.hive.ql.plan.api.AdjacencyType.findByValue(iprot.readI32()); struct.setAdjacencyTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -643,17 +644,17 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Adjacency struct) th { org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.children = new ArrayList(_list5.size); - for (int _i6 = 0; _i6 < _list5.size; ++_i6) + String _elem6; + for (int _i7 = 0; _i7 < _list5.size; ++_i7) { - String _elem7; // required - _elem7 = iprot.readString(); - struct.children.add(_elem7); + _elem6 = iprot.readString(); + struct.children.add(_elem6); } } struct.setChildrenIsSet(true); } if (incoming.get(2)) { - struct.adjacencyType = AdjacencyType.findByValue(iprot.readI32()); + struct.adjacencyType = org.apache.hadoop.hive.ql.plan.api.AdjacencyType.findByValue(iprot.readI32()); struct.setAdjacencyTypeIsSet(true); } } diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java index 7984d4e..470cad2 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java index 35aa6cb..734f446 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.ql.plan.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Graph implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Graph implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Graph"); private static final org.apache.thrift.protocol.TField NODE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("nodeType", org.apache.thrift.protocol.TType.I32, (short)1); @@ -154,14 +158,11 @@ public Graph(Graph other) { this.nodeType = other.nodeType; } if (other.isSetRoots()) { - List __this__roots = new ArrayList(); - for (String other_element : other.roots) { - __this__roots.add(other_element); - } + List __this__roots = new ArrayList(other.roots); this.roots = __this__roots; } if (other.isSetAdjacencyList()) { - List __this__adjacencyList = new ArrayList(); + List __this__adjacencyList = new ArrayList(other.adjacencyList.size()); for (Adjacency other_element : other.adjacencyList) { __this__adjacencyList.add(new Adjacency(other_element)); } @@ -393,60 +394,60 @@ public boolean equals(Graph that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_nodeType = true && (isSetNodeType()); - builder.append(present_nodeType); + list.add(present_nodeType); if (present_nodeType) - builder.append(nodeType.getValue()); + list.add(nodeType.getValue()); boolean present_roots = true && (isSetRoots()); - builder.append(present_roots); + list.add(present_roots); if (present_roots) - builder.append(roots); + list.add(roots); boolean present_adjacencyList = true && (isSetAdjacencyList()); - builder.append(present_adjacencyList); + list.add(present_adjacencyList); if (present_adjacencyList) - builder.append(adjacencyList); + list.add(adjacencyList); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Graph other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Graph typedOther = (Graph)other; - lastComparison = Boolean.valueOf(isSetNodeType()).compareTo(typedOther.isSetNodeType()); + lastComparison = Boolean.valueOf(isSetNodeType()).compareTo(other.isSetNodeType()); if (lastComparison != 0) { return lastComparison; } if (isSetNodeType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nodeType, typedOther.nodeType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nodeType, other.nodeType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRoots()).compareTo(typedOther.isSetRoots()); + lastComparison = Boolean.valueOf(isSetRoots()).compareTo(other.isSetRoots()); if (lastComparison != 0) { return lastComparison; } if (isSetRoots()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.roots, typedOther.roots); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.roots, other.roots); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetAdjacencyList()).compareTo(typedOther.isSetAdjacencyList()); + lastComparison = Boolean.valueOf(isSetAdjacencyList()).compareTo(other.isSetAdjacencyList()); if (lastComparison != 0) { return lastComparison; } if (isSetAdjacencyList()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.adjacencyList, typedOther.adjacencyList); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.adjacencyList, other.adjacencyList); if (lastComparison != 0) { return lastComparison; } @@ -539,7 +540,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Graph struct) throw switch (schemeField.id) { case 1: // NODE_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.nodeType = NodeType.findByValue(iprot.readI32()); + struct.nodeType = org.apache.hadoop.hive.ql.plan.api.NodeType.findByValue(iprot.readI32()); struct.setNodeTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -550,11 +551,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Graph struct) throw { org.apache.thrift.protocol.TList _list8 = iprot.readListBegin(); struct.roots = new ArrayList(_list8.size); - for (int _i9 = 0; _i9 < _list8.size; ++_i9) + String _elem9; + for (int _i10 = 0; _i10 < _list8.size; ++_i10) { - String _elem10; // required - _elem10 = iprot.readString(); - struct.roots.add(_elem10); + _elem9 = iprot.readString(); + struct.roots.add(_elem9); } iprot.readListEnd(); } @@ -568,12 +569,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Graph struct) throw { org.apache.thrift.protocol.TList _list11 = iprot.readListBegin(); struct.adjacencyList = new ArrayList(_list11.size); - for (int _i12 = 0; _i12 < _list11.size; ++_i12) + Adjacency _elem12; + for (int _i13 = 0; _i13 < _list11.size; ++_i13) { - Adjacency _elem13; // required - _elem13 = new Adjacency(); - _elem13.read(iprot); - struct.adjacencyList.add(_elem13); + _elem12 = new Adjacency(); + _elem12.read(iprot); + struct.adjacencyList.add(_elem12); } iprot.readListEnd(); } @@ -680,18 +681,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Graph struct) throws TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.nodeType = NodeType.findByValue(iprot.readI32()); + struct.nodeType = org.apache.hadoop.hive.ql.plan.api.NodeType.findByValue(iprot.readI32()); struct.setNodeTypeIsSet(true); } if (incoming.get(1)) { { org.apache.thrift.protocol.TList _list18 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.roots = new ArrayList(_list18.size); - for (int _i19 = 0; _i19 < _list18.size; ++_i19) + String _elem19; + for (int _i20 = 0; _i20 < _list18.size; ++_i20) { - String _elem20; // required - _elem20 = iprot.readString(); - struct.roots.add(_elem20); + _elem19 = iprot.readString(); + struct.roots.add(_elem19); } } struct.setRootsIsSet(true); @@ -700,12 +701,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Graph struct) throws { org.apache.thrift.protocol.TList _list21 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.adjacencyList = new ArrayList(_list21.size); - for (int _i22 = 0; _i22 < _list21.size; ++_i22) + Adjacency _elem22; + for (int _i23 = 0; _i23 < _list21.size; ++_i23) { - Adjacency _elem23; // required - _elem23 = new Adjacency(); - _elem23.read(iprot); - struct.adjacencyList.add(_elem23); + _elem22 = new Adjacency(); + _elem22.read(iprot); + struct.adjacencyList.add(_elem22); } } struct.setAdjacencyListIsSet(true); diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java index 1126049..5fdbfa3 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java index f1c9e2d..c5dabb6 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.ql.plan.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Operator implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Operator implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Operator"); private static final org.apache.thrift.protocol.TField OPERATOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("operatorId", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -192,33 +196,11 @@ public Operator(Operator other) { this.operatorType = other.operatorType; } if (other.isSetOperatorAttributes()) { - Map __this__operatorAttributes = new HashMap(); - for (Map.Entry other_element : other.operatorAttributes.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__operatorAttributes_copy_key = other_element_key; - - String __this__operatorAttributes_copy_value = other_element_value; - - __this__operatorAttributes.put(__this__operatorAttributes_copy_key, __this__operatorAttributes_copy_value); - } + Map __this__operatorAttributes = new HashMap(other.operatorAttributes); this.operatorAttributes = __this__operatorAttributes; } if (other.isSetOperatorCounters()) { - Map __this__operatorCounters = new HashMap(); - for (Map.Entry other_element : other.operatorCounters.entrySet()) { - - String other_element_key = other_element.getKey(); - Long other_element_value = other_element.getValue(); - - String __this__operatorCounters_copy_key = other_element_key; - - Long __this__operatorCounters_copy_value = other_element_value; - - __this__operatorCounters.put(__this__operatorCounters_copy_key, __this__operatorCounters_copy_value); - } + Map __this__operatorCounters = new HashMap(other.operatorCounters); this.operatorCounters = __this__operatorCounters; } this.done = other.done; @@ -579,105 +561,105 @@ public boolean equals(Operator that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_operatorId = true && (isSetOperatorId()); - builder.append(present_operatorId); + list.add(present_operatorId); if (present_operatorId) - builder.append(operatorId); + list.add(operatorId); boolean present_operatorType = true && (isSetOperatorType()); - builder.append(present_operatorType); + list.add(present_operatorType); if (present_operatorType) - builder.append(operatorType.getValue()); + list.add(operatorType.getValue()); boolean present_operatorAttributes = true && (isSetOperatorAttributes()); - builder.append(present_operatorAttributes); + list.add(present_operatorAttributes); if (present_operatorAttributes) - builder.append(operatorAttributes); + list.add(operatorAttributes); boolean present_operatorCounters = true && (isSetOperatorCounters()); - builder.append(present_operatorCounters); + list.add(present_operatorCounters); if (present_operatorCounters) - builder.append(operatorCounters); + list.add(operatorCounters); boolean present_done = true; - builder.append(present_done); + list.add(present_done); if (present_done) - builder.append(done); + list.add(done); boolean present_started = true; - builder.append(present_started); + list.add(present_started); if (present_started) - builder.append(started); + list.add(started); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Operator other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Operator typedOther = (Operator)other; - lastComparison = Boolean.valueOf(isSetOperatorId()).compareTo(typedOther.isSetOperatorId()); + lastComparison = Boolean.valueOf(isSetOperatorId()).compareTo(other.isSetOperatorId()); if (lastComparison != 0) { return lastComparison; } if (isSetOperatorId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorId, typedOther.operatorId); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorId, other.operatorId); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperatorType()).compareTo(typedOther.isSetOperatorType()); + lastComparison = Boolean.valueOf(isSetOperatorType()).compareTo(other.isSetOperatorType()); if (lastComparison != 0) { return lastComparison; } if (isSetOperatorType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorType, typedOther.operatorType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorType, other.operatorType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperatorAttributes()).compareTo(typedOther.isSetOperatorAttributes()); + lastComparison = Boolean.valueOf(isSetOperatorAttributes()).compareTo(other.isSetOperatorAttributes()); if (lastComparison != 0) { return lastComparison; } if (isSetOperatorAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorAttributes, typedOther.operatorAttributes); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorAttributes, other.operatorAttributes); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperatorCounters()).compareTo(typedOther.isSetOperatorCounters()); + lastComparison = Boolean.valueOf(isSetOperatorCounters()).compareTo(other.isSetOperatorCounters()); if (lastComparison != 0) { return lastComparison; } if (isSetOperatorCounters()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorCounters, typedOther.operatorCounters); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorCounters, other.operatorCounters); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDone()).compareTo(typedOther.isSetDone()); + lastComparison = Boolean.valueOf(isSetDone()).compareTo(other.isSetDone()); if (lastComparison != 0) { return lastComparison; } if (isSetDone()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.done, typedOther.done); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.done, other.done); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStarted()).compareTo(typedOther.isSetStarted()); + lastComparison = Boolean.valueOf(isSetStarted()).compareTo(other.isSetStarted()); if (lastComparison != 0) { return lastComparison; } if (isSetStarted()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.started, typedOther.started); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.started, other.started); if (lastComparison != 0) { return lastComparison; } @@ -796,7 +778,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Operator struct) th break; case 2: // OPERATOR_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.operatorType = OperatorType.findByValue(iprot.readI32()); + struct.operatorType = org.apache.hadoop.hive.ql.plan.api.OperatorType.findByValue(iprot.readI32()); struct.setOperatorTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -807,13 +789,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Operator struct) th { org.apache.thrift.protocol.TMap _map24 = iprot.readMapBegin(); struct.operatorAttributes = new HashMap(2*_map24.size); - for (int _i25 = 0; _i25 < _map24.size; ++_i25) + String _key25; + String _val26; + for (int _i27 = 0; _i27 < _map24.size; ++_i27) { - String _key26; // required - String _val27; // required - _key26 = iprot.readString(); - _val27 = iprot.readString(); - struct.operatorAttributes.put(_key26, _val27); + _key25 = iprot.readString(); + _val26 = iprot.readString(); + struct.operatorAttributes.put(_key25, _val26); } iprot.readMapEnd(); } @@ -827,13 +809,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Operator struct) th { org.apache.thrift.protocol.TMap _map28 = iprot.readMapBegin(); struct.operatorCounters = new HashMap(2*_map28.size); - for (int _i29 = 0; _i29 < _map28.size; ++_i29) + String _key29; + long _val30; + for (int _i31 = 0; _i31 < _map28.size; ++_i31) { - String _key30; // required - long _val31; // required - _key30 = iprot.readString(); - _val31 = iprot.readI64(); - struct.operatorCounters.put(_key30, _val31); + _key29 = iprot.readString(); + _val30 = iprot.readI64(); + struct.operatorCounters.put(_key29, _val30); } iprot.readMapEnd(); } @@ -993,20 +975,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Operator struct) thr struct.setOperatorIdIsSet(true); } if (incoming.get(1)) { - struct.operatorType = OperatorType.findByValue(iprot.readI32()); + struct.operatorType = org.apache.hadoop.hive.ql.plan.api.OperatorType.findByValue(iprot.readI32()); struct.setOperatorTypeIsSet(true); } if (incoming.get(2)) { { org.apache.thrift.protocol.TMap _map36 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.operatorAttributes = new HashMap(2*_map36.size); - for (int _i37 = 0; _i37 < _map36.size; ++_i37) + String _key37; + String _val38; + for (int _i39 = 0; _i39 < _map36.size; ++_i39) { - String _key38; // required - String _val39; // required - _key38 = iprot.readString(); - _val39 = iprot.readString(); - struct.operatorAttributes.put(_key38, _val39); + _key37 = iprot.readString(); + _val38 = iprot.readString(); + struct.operatorAttributes.put(_key37, _val38); } } struct.setOperatorAttributesIsSet(true); @@ -1015,13 +997,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Operator struct) thr { org.apache.thrift.protocol.TMap _map40 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.operatorCounters = new HashMap(2*_map40.size); - for (int _i41 = 0; _i41 < _map40.size; ++_i41) + String _key41; + long _val42; + for (int _i43 = 0; _i43 < _map40.size; ++_i43) { - String _key42; // required - long _val43; // required - _key42 = iprot.readString(); - _val43 = iprot.readI64(); - struct.operatorCounters.put(_key42, _val43); + _key41 = iprot.readString(); + _val42 = iprot.readI64(); + struct.operatorCounters.put(_key41, _val42); } } struct.setOperatorCountersIsSet(true); diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java index e18f935..f62023f 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java index e0d77e8..7b79cef 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.ql.plan.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Query implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Query implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Query"); private static final org.apache.thrift.protocol.TField QUERY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("queryId", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -207,40 +211,18 @@ public Query(Query other) { this.queryType = other.queryType; } if (other.isSetQueryAttributes()) { - Map __this__queryAttributes = new HashMap(); - for (Map.Entry other_element : other.queryAttributes.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__queryAttributes_copy_key = other_element_key; - - String __this__queryAttributes_copy_value = other_element_value; - - __this__queryAttributes.put(__this__queryAttributes_copy_key, __this__queryAttributes_copy_value); - } + Map __this__queryAttributes = new HashMap(other.queryAttributes); this.queryAttributes = __this__queryAttributes; } if (other.isSetQueryCounters()) { - Map __this__queryCounters = new HashMap(); - for (Map.Entry other_element : other.queryCounters.entrySet()) { - - String other_element_key = other_element.getKey(); - Long other_element_value = other_element.getValue(); - - String __this__queryCounters_copy_key = other_element_key; - - Long __this__queryCounters_copy_value = other_element_value; - - __this__queryCounters.put(__this__queryCounters_copy_key, __this__queryCounters_copy_value); - } + Map __this__queryCounters = new HashMap(other.queryCounters); this.queryCounters = __this__queryCounters; } if (other.isSetStageGraph()) { this.stageGraph = new Graph(other.stageGraph); } if (other.isSetStageList()) { - List __this__stageList = new ArrayList(); + List __this__stageList = new ArrayList(other.stageList.size()); for (Stage other_element : other.stageList) { __this__stageList.add(new Stage(other_element)); } @@ -703,135 +685,135 @@ public boolean equals(Query that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_queryId = true && (isSetQueryId()); - builder.append(present_queryId); + list.add(present_queryId); if (present_queryId) - builder.append(queryId); + list.add(queryId); boolean present_queryType = true && (isSetQueryType()); - builder.append(present_queryType); + list.add(present_queryType); if (present_queryType) - builder.append(queryType); + list.add(queryType); boolean present_queryAttributes = true && (isSetQueryAttributes()); - builder.append(present_queryAttributes); + list.add(present_queryAttributes); if (present_queryAttributes) - builder.append(queryAttributes); + list.add(queryAttributes); boolean present_queryCounters = true && (isSetQueryCounters()); - builder.append(present_queryCounters); + list.add(present_queryCounters); if (present_queryCounters) - builder.append(queryCounters); + list.add(queryCounters); boolean present_stageGraph = true && (isSetStageGraph()); - builder.append(present_stageGraph); + list.add(present_stageGraph); if (present_stageGraph) - builder.append(stageGraph); + list.add(stageGraph); boolean present_stageList = true && (isSetStageList()); - builder.append(present_stageList); + list.add(present_stageList); if (present_stageList) - builder.append(stageList); + list.add(stageList); boolean present_done = true; - builder.append(present_done); + list.add(present_done); if (present_done) - builder.append(done); + list.add(done); boolean present_started = true; - builder.append(present_started); + list.add(present_started); if (present_started) - builder.append(started); + list.add(started); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Query other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Query typedOther = (Query)other; - lastComparison = Boolean.valueOf(isSetQueryId()).compareTo(typedOther.isSetQueryId()); + lastComparison = Boolean.valueOf(isSetQueryId()).compareTo(other.isSetQueryId()); if (lastComparison != 0) { return lastComparison; } if (isSetQueryId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryId, typedOther.queryId); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryId, other.queryId); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetQueryType()).compareTo(typedOther.isSetQueryType()); + lastComparison = Boolean.valueOf(isSetQueryType()).compareTo(other.isSetQueryType()); if (lastComparison != 0) { return lastComparison; } if (isSetQueryType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryType, typedOther.queryType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryType, other.queryType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetQueryAttributes()).compareTo(typedOther.isSetQueryAttributes()); + lastComparison = Boolean.valueOf(isSetQueryAttributes()).compareTo(other.isSetQueryAttributes()); if (lastComparison != 0) { return lastComparison; } if (isSetQueryAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryAttributes, typedOther.queryAttributes); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryAttributes, other.queryAttributes); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetQueryCounters()).compareTo(typedOther.isSetQueryCounters()); + lastComparison = Boolean.valueOf(isSetQueryCounters()).compareTo(other.isSetQueryCounters()); if (lastComparison != 0) { return lastComparison; } if (isSetQueryCounters()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryCounters, typedOther.queryCounters); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryCounters, other.queryCounters); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStageGraph()).compareTo(typedOther.isSetStageGraph()); + lastComparison = Boolean.valueOf(isSetStageGraph()).compareTo(other.isSetStageGraph()); if (lastComparison != 0) { return lastComparison; } if (isSetStageGraph()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageGraph, typedOther.stageGraph); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageGraph, other.stageGraph); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStageList()).compareTo(typedOther.isSetStageList()); + lastComparison = Boolean.valueOf(isSetStageList()).compareTo(other.isSetStageList()); if (lastComparison != 0) { return lastComparison; } if (isSetStageList()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageList, typedOther.stageList); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageList, other.stageList); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDone()).compareTo(typedOther.isSetDone()); + lastComparison = Boolean.valueOf(isSetDone()).compareTo(other.isSetDone()); if (lastComparison != 0) { return lastComparison; } if (isSetDone()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.done, typedOther.done); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.done, other.done); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStarted()).compareTo(typedOther.isSetStarted()); + lastComparison = Boolean.valueOf(isSetStarted()).compareTo(other.isSetStarted()); if (lastComparison != 0) { return lastComparison; } if (isSetStarted()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.started, typedOther.started); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.started, other.started); if (lastComparison != 0) { return lastComparison; } @@ -980,13 +962,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Query struct) throw { org.apache.thrift.protocol.TMap _map100 = iprot.readMapBegin(); struct.queryAttributes = new HashMap(2*_map100.size); - for (int _i101 = 0; _i101 < _map100.size; ++_i101) + String _key101; + String _val102; + for (int _i103 = 0; _i103 < _map100.size; ++_i103) { - String _key102; // required - String _val103; // required - _key102 = iprot.readString(); - _val103 = iprot.readString(); - struct.queryAttributes.put(_key102, _val103); + _key101 = iprot.readString(); + _val102 = iprot.readString(); + struct.queryAttributes.put(_key101, _val102); } iprot.readMapEnd(); } @@ -1000,13 +982,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Query struct) throw { org.apache.thrift.protocol.TMap _map104 = iprot.readMapBegin(); struct.queryCounters = new HashMap(2*_map104.size); - for (int _i105 = 0; _i105 < _map104.size; ++_i105) + String _key105; + long _val106; + for (int _i107 = 0; _i107 < _map104.size; ++_i107) { - String _key106; // required - long _val107; // required - _key106 = iprot.readString(); - _val107 = iprot.readI64(); - struct.queryCounters.put(_key106, _val107); + _key105 = iprot.readString(); + _val106 = iprot.readI64(); + struct.queryCounters.put(_key105, _val106); } iprot.readMapEnd(); } @@ -1029,12 +1011,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Query struct) throw { org.apache.thrift.protocol.TList _list108 = iprot.readListBegin(); struct.stageList = new ArrayList(_list108.size); - for (int _i109 = 0; _i109 < _list108.size; ++_i109) + Stage _elem109; + for (int _i110 = 0; _i110 < _list108.size; ++_i110) { - Stage _elem110; // required - _elem110 = new Stage(); - _elem110.read(iprot); - struct.stageList.add(_elem110); + _elem109 = new Stage(); + _elem109.read(iprot); + struct.stageList.add(_elem109); } iprot.readListEnd(); } @@ -1236,13 +1218,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Query struct) throws { org.apache.thrift.protocol.TMap _map117 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.queryAttributes = new HashMap(2*_map117.size); - for (int _i118 = 0; _i118 < _map117.size; ++_i118) + String _key118; + String _val119; + for (int _i120 = 0; _i120 < _map117.size; ++_i120) { - String _key119; // required - String _val120; // required - _key119 = iprot.readString(); - _val120 = iprot.readString(); - struct.queryAttributes.put(_key119, _val120); + _key118 = iprot.readString(); + _val119 = iprot.readString(); + struct.queryAttributes.put(_key118, _val119); } } struct.setQueryAttributesIsSet(true); @@ -1251,13 +1233,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Query struct) throws { org.apache.thrift.protocol.TMap _map121 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.queryCounters = new HashMap(2*_map121.size); - for (int _i122 = 0; _i122 < _map121.size; ++_i122) + String _key122; + long _val123; + for (int _i124 = 0; _i124 < _map121.size; ++_i124) { - String _key123; // required - long _val124; // required - _key123 = iprot.readString(); - _val124 = iprot.readI64(); - struct.queryCounters.put(_key123, _val124); + _key122 = iprot.readString(); + _val123 = iprot.readI64(); + struct.queryCounters.put(_key122, _val123); } } struct.setQueryCountersIsSet(true); @@ -1271,12 +1253,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Query struct) throws { org.apache.thrift.protocol.TList _list125 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.stageList = new ArrayList(_list125.size); - for (int _i126 = 0; _i126 < _list125.size; ++_i126) + Stage _elem126; + for (int _i127 = 0; _i127 < _list125.size; ++_i127) { - Stage _elem127; // required - _elem127 = new Stage(); - _elem127.read(iprot); - struct.stageList.add(_elem127); + _elem126 = new Stage(); + _elem126.read(iprot); + struct.stageList.add(_elem126); } } struct.setStageListIsSet(true); diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java index e8566a5..a832a5d 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.ql.plan.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class QueryPlan implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class QueryPlan implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("QueryPlan"); private static final org.apache.thrift.protocol.TField QUERIES_FIELD_DESC = new org.apache.thrift.protocol.TField("queries", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -152,7 +156,7 @@ public QueryPlan( public QueryPlan(QueryPlan other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetQueries()) { - List __this__queries = new ArrayList(); + List __this__queries = new ArrayList(other.queries.size()); for (Query other_element : other.queries) { __this__queries.add(new Query(other_element)); } @@ -363,60 +367,60 @@ public boolean equals(QueryPlan that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_queries = true && (isSetQueries()); - builder.append(present_queries); + list.add(present_queries); if (present_queries) - builder.append(queries); + list.add(queries); boolean present_done = true; - builder.append(present_done); + list.add(present_done); if (present_done) - builder.append(done); + list.add(done); boolean present_started = true; - builder.append(present_started); + list.add(present_started); if (present_started) - builder.append(started); + list.add(started); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(QueryPlan other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - QueryPlan typedOther = (QueryPlan)other; - lastComparison = Boolean.valueOf(isSetQueries()).compareTo(typedOther.isSetQueries()); + lastComparison = Boolean.valueOf(isSetQueries()).compareTo(other.isSetQueries()); if (lastComparison != 0) { return lastComparison; } if (isSetQueries()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queries, typedOther.queries); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queries, other.queries); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDone()).compareTo(typedOther.isSetDone()); + lastComparison = Boolean.valueOf(isSetDone()).compareTo(other.isSetDone()); if (lastComparison != 0) { return lastComparison; } if (isSetDone()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.done, typedOther.done); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.done, other.done); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStarted()).compareTo(typedOther.isSetStarted()); + lastComparison = Boolean.valueOf(isSetStarted()).compareTo(other.isSetStarted()); if (lastComparison != 0) { return lastComparison; } if (isSetStarted()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.started, typedOther.started); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.started, other.started); if (lastComparison != 0) { return lastComparison; } @@ -506,12 +510,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, QueryPlan struct) t { org.apache.thrift.protocol.TList _list128 = iprot.readListBegin(); struct.queries = new ArrayList(_list128.size); - for (int _i129 = 0; _i129 < _list128.size; ++_i129) + Query _elem129; + for (int _i130 = 0; _i130 < _list128.size; ++_i130) { - Query _elem130; // required - _elem130 = new Query(); - _elem130.read(iprot); - struct.queries.add(_elem130); + _elem129 = new Query(); + _elem129.read(iprot); + struct.queries.add(_elem129); } iprot.readListEnd(); } @@ -620,12 +624,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, QueryPlan struct) th { org.apache.thrift.protocol.TList _list133 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.queries = new ArrayList(_list133.size); - for (int _i134 = 0; _i134 < _list133.size; ++_i134) + Query _elem134; + for (int _i135 = 0; _i135 < _list133.size; ++_i135) { - Query _elem135; // required - _elem135 = new Query(); - _elem135.read(iprot); - struct.queries.add(_elem135); + _elem134 = new Query(); + _elem134.read(iprot); + struct.queries.add(_elem134); } } struct.setQueriesIsSet(true); diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java index c341db2..fe1a654 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.ql.plan.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Stage implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Stage implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Stage"); private static final org.apache.thrift.protocol.TField STAGE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("stageId", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -202,37 +206,15 @@ public Stage(Stage other) { this.stageType = other.stageType; } if (other.isSetStageAttributes()) { - Map __this__stageAttributes = new HashMap(); - for (Map.Entry other_element : other.stageAttributes.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__stageAttributes_copy_key = other_element_key; - - String __this__stageAttributes_copy_value = other_element_value; - - __this__stageAttributes.put(__this__stageAttributes_copy_key, __this__stageAttributes_copy_value); - } + Map __this__stageAttributes = new HashMap(other.stageAttributes); this.stageAttributes = __this__stageAttributes; } if (other.isSetStageCounters()) { - Map __this__stageCounters = new HashMap(); - for (Map.Entry other_element : other.stageCounters.entrySet()) { - - String other_element_key = other_element.getKey(); - Long other_element_value = other_element.getValue(); - - String __this__stageCounters_copy_key = other_element_key; - - Long __this__stageCounters_copy_value = other_element_value; - - __this__stageCounters.put(__this__stageCounters_copy_key, __this__stageCounters_copy_value); - } + Map __this__stageCounters = new HashMap(other.stageCounters); this.stageCounters = __this__stageCounters; } if (other.isSetTaskList()) { - List __this__taskList = new ArrayList(); + List __this__taskList = new ArrayList(other.taskList.size()); for (Task other_element : other.taskList) { __this__taskList.add(new Task(other_element)); } @@ -657,120 +639,120 @@ public boolean equals(Stage that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_stageId = true && (isSetStageId()); - builder.append(present_stageId); + list.add(present_stageId); if (present_stageId) - builder.append(stageId); + list.add(stageId); boolean present_stageType = true && (isSetStageType()); - builder.append(present_stageType); + list.add(present_stageType); if (present_stageType) - builder.append(stageType.getValue()); + list.add(stageType.getValue()); boolean present_stageAttributes = true && (isSetStageAttributes()); - builder.append(present_stageAttributes); + list.add(present_stageAttributes); if (present_stageAttributes) - builder.append(stageAttributes); + list.add(stageAttributes); boolean present_stageCounters = true && (isSetStageCounters()); - builder.append(present_stageCounters); + list.add(present_stageCounters); if (present_stageCounters) - builder.append(stageCounters); + list.add(stageCounters); boolean present_taskList = true && (isSetTaskList()); - builder.append(present_taskList); + list.add(present_taskList); if (present_taskList) - builder.append(taskList); + list.add(taskList); boolean present_done = true; - builder.append(present_done); + list.add(present_done); if (present_done) - builder.append(done); + list.add(done); boolean present_started = true; - builder.append(present_started); + list.add(present_started); if (present_started) - builder.append(started); + list.add(started); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Stage other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Stage typedOther = (Stage)other; - lastComparison = Boolean.valueOf(isSetStageId()).compareTo(typedOther.isSetStageId()); + lastComparison = Boolean.valueOf(isSetStageId()).compareTo(other.isSetStageId()); if (lastComparison != 0) { return lastComparison; } if (isSetStageId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageId, typedOther.stageId); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageId, other.stageId); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStageType()).compareTo(typedOther.isSetStageType()); + lastComparison = Boolean.valueOf(isSetStageType()).compareTo(other.isSetStageType()); if (lastComparison != 0) { return lastComparison; } if (isSetStageType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageType, typedOther.stageType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageType, other.stageType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStageAttributes()).compareTo(typedOther.isSetStageAttributes()); + lastComparison = Boolean.valueOf(isSetStageAttributes()).compareTo(other.isSetStageAttributes()); if (lastComparison != 0) { return lastComparison; } if (isSetStageAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageAttributes, typedOther.stageAttributes); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageAttributes, other.stageAttributes); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStageCounters()).compareTo(typedOther.isSetStageCounters()); + lastComparison = Boolean.valueOf(isSetStageCounters()).compareTo(other.isSetStageCounters()); if (lastComparison != 0) { return lastComparison; } if (isSetStageCounters()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageCounters, typedOther.stageCounters); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stageCounters, other.stageCounters); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTaskList()).compareTo(typedOther.isSetTaskList()); + lastComparison = Boolean.valueOf(isSetTaskList()).compareTo(other.isSetTaskList()); if (lastComparison != 0) { return lastComparison; } if (isSetTaskList()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskList, typedOther.taskList); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskList, other.taskList); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDone()).compareTo(typedOther.isSetDone()); + lastComparison = Boolean.valueOf(isSetDone()).compareTo(other.isSetDone()); if (lastComparison != 0) { return lastComparison; } if (isSetDone()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.done, typedOther.done); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.done, other.done); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStarted()).compareTo(typedOther.isSetStarted()); + lastComparison = Boolean.valueOf(isSetStarted()).compareTo(other.isSetStarted()); if (lastComparison != 0) { return lastComparison; } if (isSetStarted()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.started, typedOther.started); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.started, other.started); if (lastComparison != 0) { return lastComparison; } @@ -897,7 +879,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Stage struct) throw break; case 2: // STAGE_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.stageType = StageType.findByValue(iprot.readI32()); + struct.stageType = org.apache.hadoop.hive.ql.plan.api.StageType.findByValue(iprot.readI32()); struct.setStageTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -908,13 +890,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Stage struct) throw { org.apache.thrift.protocol.TMap _map72 = iprot.readMapBegin(); struct.stageAttributes = new HashMap(2*_map72.size); - for (int _i73 = 0; _i73 < _map72.size; ++_i73) + String _key73; + String _val74; + for (int _i75 = 0; _i75 < _map72.size; ++_i75) { - String _key74; // required - String _val75; // required - _key74 = iprot.readString(); - _val75 = iprot.readString(); - struct.stageAttributes.put(_key74, _val75); + _key73 = iprot.readString(); + _val74 = iprot.readString(); + struct.stageAttributes.put(_key73, _val74); } iprot.readMapEnd(); } @@ -928,13 +910,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Stage struct) throw { org.apache.thrift.protocol.TMap _map76 = iprot.readMapBegin(); struct.stageCounters = new HashMap(2*_map76.size); - for (int _i77 = 0; _i77 < _map76.size; ++_i77) + String _key77; + long _val78; + for (int _i79 = 0; _i79 < _map76.size; ++_i79) { - String _key78; // required - long _val79; // required - _key78 = iprot.readString(); - _val79 = iprot.readI64(); - struct.stageCounters.put(_key78, _val79); + _key77 = iprot.readString(); + _val78 = iprot.readI64(); + struct.stageCounters.put(_key77, _val78); } iprot.readMapEnd(); } @@ -948,12 +930,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Stage struct) throw { org.apache.thrift.protocol.TList _list80 = iprot.readListBegin(); struct.taskList = new ArrayList(_list80.size); - for (int _i81 = 0; _i81 < _list80.size; ++_i81) + Task _elem81; + for (int _i82 = 0; _i82 < _list80.size; ++_i82) { - Task _elem82; // required - _elem82 = new Task(); - _elem82.read(iprot); - struct.taskList.add(_elem82); + _elem81 = new Task(); + _elem81.read(iprot); + struct.taskList.add(_elem81); } iprot.readListEnd(); } @@ -1137,20 +1119,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Stage struct) throws struct.setStageIdIsSet(true); } if (incoming.get(1)) { - struct.stageType = StageType.findByValue(iprot.readI32()); + struct.stageType = org.apache.hadoop.hive.ql.plan.api.StageType.findByValue(iprot.readI32()); struct.setStageTypeIsSet(true); } if (incoming.get(2)) { { org.apache.thrift.protocol.TMap _map89 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.stageAttributes = new HashMap(2*_map89.size); - for (int _i90 = 0; _i90 < _map89.size; ++_i90) + String _key90; + String _val91; + for (int _i92 = 0; _i92 < _map89.size; ++_i92) { - String _key91; // required - String _val92; // required - _key91 = iprot.readString(); - _val92 = iprot.readString(); - struct.stageAttributes.put(_key91, _val92); + _key90 = iprot.readString(); + _val91 = iprot.readString(); + struct.stageAttributes.put(_key90, _val91); } } struct.setStageAttributesIsSet(true); @@ -1159,13 +1141,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Stage struct) throws { org.apache.thrift.protocol.TMap _map93 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.stageCounters = new HashMap(2*_map93.size); - for (int _i94 = 0; _i94 < _map93.size; ++_i94) + String _key94; + long _val95; + for (int _i96 = 0; _i96 < _map93.size; ++_i96) { - String _key95; // required - long _val96; // required - _key95 = iprot.readString(); - _val96 = iprot.readI64(); - struct.stageCounters.put(_key95, _val96); + _key94 = iprot.readString(); + _val95 = iprot.readI64(); + struct.stageCounters.put(_key94, _val95); } } struct.setStageCountersIsSet(true); @@ -1174,12 +1156,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Stage struct) throws { org.apache.thrift.protocol.TList _list97 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.taskList = new ArrayList(_list97.size); - for (int _i98 = 0; _i98 < _list97.size; ++_i98) + Task _elem98; + for (int _i99 = 0; _i99 < _list97.size; ++_i99) { - Task _elem99; // required - _elem99 = new Task(); - _elem99.read(iprot); - struct.taskList.add(_elem99); + _elem98 = new Task(); + _elem98.read(iprot); + struct.taskList.add(_elem98); } } struct.setTaskListIsSet(true); diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java index 3648273..c7b0ff7 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java index fc4313f..031a86b 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.ql.plan.api; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Task implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Task implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Task"); private static final org.apache.thrift.protocol.TField TASK_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("taskId", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -145,7 +149,7 @@ public String getFieldName() { private static final int __DONE_ISSET_ID = 0; private static final int __STARTED_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.OPERATOR_GRAPH,_Fields.OPERATOR_LIST}; + private static final _Fields optionals[] = {_Fields.OPERATOR_GRAPH,_Fields.OPERATOR_LIST}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -208,40 +212,18 @@ public Task(Task other) { this.taskType = other.taskType; } if (other.isSetTaskAttributes()) { - Map __this__taskAttributes = new HashMap(); - for (Map.Entry other_element : other.taskAttributes.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__taskAttributes_copy_key = other_element_key; - - String __this__taskAttributes_copy_value = other_element_value; - - __this__taskAttributes.put(__this__taskAttributes_copy_key, __this__taskAttributes_copy_value); - } + Map __this__taskAttributes = new HashMap(other.taskAttributes); this.taskAttributes = __this__taskAttributes; } if (other.isSetTaskCounters()) { - Map __this__taskCounters = new HashMap(); - for (Map.Entry other_element : other.taskCounters.entrySet()) { - - String other_element_key = other_element.getKey(); - Long other_element_value = other_element.getValue(); - - String __this__taskCounters_copy_key = other_element_key; - - Long __this__taskCounters_copy_value = other_element_value; - - __this__taskCounters.put(__this__taskCounters_copy_key, __this__taskCounters_copy_value); - } + Map __this__taskCounters = new HashMap(other.taskCounters); this.taskCounters = __this__taskCounters; } if (other.isSetOperatorGraph()) { this.operatorGraph = new Graph(other.operatorGraph); } if (other.isSetOperatorList()) { - List __this__operatorList = new ArrayList(); + List __this__operatorList = new ArrayList(other.operatorList.size()); for (Operator other_element : other.operatorList) { __this__operatorList.add(new Operator(other_element)); } @@ -712,135 +694,135 @@ public boolean equals(Task that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_taskId = true && (isSetTaskId()); - builder.append(present_taskId); + list.add(present_taskId); if (present_taskId) - builder.append(taskId); + list.add(taskId); boolean present_taskType = true && (isSetTaskType()); - builder.append(present_taskType); + list.add(present_taskType); if (present_taskType) - builder.append(taskType.getValue()); + list.add(taskType.getValue()); boolean present_taskAttributes = true && (isSetTaskAttributes()); - builder.append(present_taskAttributes); + list.add(present_taskAttributes); if (present_taskAttributes) - builder.append(taskAttributes); + list.add(taskAttributes); boolean present_taskCounters = true && (isSetTaskCounters()); - builder.append(present_taskCounters); + list.add(present_taskCounters); if (present_taskCounters) - builder.append(taskCounters); + list.add(taskCounters); boolean present_operatorGraph = true && (isSetOperatorGraph()); - builder.append(present_operatorGraph); + list.add(present_operatorGraph); if (present_operatorGraph) - builder.append(operatorGraph); + list.add(operatorGraph); boolean present_operatorList = true && (isSetOperatorList()); - builder.append(present_operatorList); + list.add(present_operatorList); if (present_operatorList) - builder.append(operatorList); + list.add(operatorList); boolean present_done = true; - builder.append(present_done); + list.add(present_done); if (present_done) - builder.append(done); + list.add(done); boolean present_started = true; - builder.append(present_started); + list.add(present_started); if (present_started) - builder.append(started); + list.add(started); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Task other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Task typedOther = (Task)other; - lastComparison = Boolean.valueOf(isSetTaskId()).compareTo(typedOther.isSetTaskId()); + lastComparison = Boolean.valueOf(isSetTaskId()).compareTo(other.isSetTaskId()); if (lastComparison != 0) { return lastComparison; } if (isSetTaskId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskId, typedOther.taskId); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskId, other.taskId); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTaskType()).compareTo(typedOther.isSetTaskType()); + lastComparison = Boolean.valueOf(isSetTaskType()).compareTo(other.isSetTaskType()); if (lastComparison != 0) { return lastComparison; } if (isSetTaskType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskType, typedOther.taskType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskType, other.taskType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTaskAttributes()).compareTo(typedOther.isSetTaskAttributes()); + lastComparison = Boolean.valueOf(isSetTaskAttributes()).compareTo(other.isSetTaskAttributes()); if (lastComparison != 0) { return lastComparison; } if (isSetTaskAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskAttributes, typedOther.taskAttributes); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskAttributes, other.taskAttributes); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTaskCounters()).compareTo(typedOther.isSetTaskCounters()); + lastComparison = Boolean.valueOf(isSetTaskCounters()).compareTo(other.isSetTaskCounters()); if (lastComparison != 0) { return lastComparison; } if (isSetTaskCounters()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskCounters, typedOther.taskCounters); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskCounters, other.taskCounters); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperatorGraph()).compareTo(typedOther.isSetOperatorGraph()); + lastComparison = Boolean.valueOf(isSetOperatorGraph()).compareTo(other.isSetOperatorGraph()); if (lastComparison != 0) { return lastComparison; } if (isSetOperatorGraph()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorGraph, typedOther.operatorGraph); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorGraph, other.operatorGraph); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperatorList()).compareTo(typedOther.isSetOperatorList()); + lastComparison = Boolean.valueOf(isSetOperatorList()).compareTo(other.isSetOperatorList()); if (lastComparison != 0) { return lastComparison; } if (isSetOperatorList()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorList, typedOther.operatorList); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operatorList, other.operatorList); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDone()).compareTo(typedOther.isSetDone()); + lastComparison = Boolean.valueOf(isSetDone()).compareTo(other.isSetDone()); if (lastComparison != 0) { return lastComparison; } if (isSetDone()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.done, typedOther.done); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.done, other.done); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStarted()).compareTo(typedOther.isSetStarted()); + lastComparison = Boolean.valueOf(isSetStarted()).compareTo(other.isSetStarted()); if (lastComparison != 0) { return lastComparison; } if (isSetStarted()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.started, typedOther.started); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.started, other.started); if (lastComparison != 0) { return lastComparison; } @@ -982,7 +964,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Task struct) throws break; case 2: // TASK_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.taskType = TaskType.findByValue(iprot.readI32()); + struct.taskType = org.apache.hadoop.hive.ql.plan.api.TaskType.findByValue(iprot.readI32()); struct.setTaskTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -993,13 +975,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Task struct) throws { org.apache.thrift.protocol.TMap _map44 = iprot.readMapBegin(); struct.taskAttributes = new HashMap(2*_map44.size); - for (int _i45 = 0; _i45 < _map44.size; ++_i45) + String _key45; + String _val46; + for (int _i47 = 0; _i47 < _map44.size; ++_i47) { - String _key46; // required - String _val47; // required - _key46 = iprot.readString(); - _val47 = iprot.readString(); - struct.taskAttributes.put(_key46, _val47); + _key45 = iprot.readString(); + _val46 = iprot.readString(); + struct.taskAttributes.put(_key45, _val46); } iprot.readMapEnd(); } @@ -1013,13 +995,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Task struct) throws { org.apache.thrift.protocol.TMap _map48 = iprot.readMapBegin(); struct.taskCounters = new HashMap(2*_map48.size); - for (int _i49 = 0; _i49 < _map48.size; ++_i49) + String _key49; + long _val50; + for (int _i51 = 0; _i51 < _map48.size; ++_i51) { - String _key50; // required - long _val51; // required - _key50 = iprot.readString(); - _val51 = iprot.readI64(); - struct.taskCounters.put(_key50, _val51); + _key49 = iprot.readString(); + _val50 = iprot.readI64(); + struct.taskCounters.put(_key49, _val50); } iprot.readMapEnd(); } @@ -1042,12 +1024,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Task struct) throws { org.apache.thrift.protocol.TList _list52 = iprot.readListBegin(); struct.operatorList = new ArrayList(_list52.size); - for (int _i53 = 0; _i53 < _list52.size; ++_i53) + Operator _elem53; + for (int _i54 = 0; _i54 < _list52.size; ++_i54) { - Operator _elem54; // required - _elem54 = new Operator(); - _elem54.read(iprot); - struct.operatorList.add(_elem54); + _elem53 = new Operator(); + _elem53.read(iprot); + struct.operatorList.add(_elem53); } iprot.readListEnd(); } @@ -1246,20 +1228,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Task struct) throws struct.setTaskIdIsSet(true); } if (incoming.get(1)) { - struct.taskType = TaskType.findByValue(iprot.readI32()); + struct.taskType = org.apache.hadoop.hive.ql.plan.api.TaskType.findByValue(iprot.readI32()); struct.setTaskTypeIsSet(true); } if (incoming.get(2)) { { org.apache.thrift.protocol.TMap _map61 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.taskAttributes = new HashMap(2*_map61.size); - for (int _i62 = 0; _i62 < _map61.size; ++_i62) + String _key62; + String _val63; + for (int _i64 = 0; _i64 < _map61.size; ++_i64) { - String _key63; // required - String _val64; // required - _key63 = iprot.readString(); - _val64 = iprot.readString(); - struct.taskAttributes.put(_key63, _val64); + _key62 = iprot.readString(); + _val63 = iprot.readString(); + struct.taskAttributes.put(_key62, _val63); } } struct.setTaskAttributesIsSet(true); @@ -1268,13 +1250,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Task struct) throws { org.apache.thrift.protocol.TMap _map65 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.taskCounters = new HashMap(2*_map65.size); - for (int _i66 = 0; _i66 < _map65.size; ++_i66) + String _key66; + long _val67; + for (int _i68 = 0; _i68 < _map65.size; ++_i68) { - String _key67; // required - long _val68; // required - _key67 = iprot.readString(); - _val68 = iprot.readI64(); - struct.taskCounters.put(_key67, _val68); + _key66 = iprot.readString(); + _val67 = iprot.readI64(); + struct.taskCounters.put(_key66, _val67); } } struct.setTaskCountersIsSet(true); @@ -1288,12 +1270,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Task struct) throws { org.apache.thrift.protocol.TList _list69 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.operatorList = new ArrayList(_list69.size); - for (int _i70 = 0; _i70 < _list69.size; ++_i70) + Operator _elem70; + for (int _i71 = 0; _i71 < _list69.size; ++_i71) { - Operator _elem71; // required - _elem71 = new Operator(); - _elem71.read(iprot); - struct.operatorList.add(_elem71); + _elem70 = new Operator(); + _elem70.read(iprot); + struct.operatorList.add(_elem70); } } struct.setOperatorListIsSet(true); diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java index 7df0029..8aad073 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/ql/src/gen/thrift/gen-php/Types.php b/ql/src/gen/thrift/gen-php/Types.php index 7121ed4..71562c7 100644 --- a/ql/src/gen/thrift/gen-php/Types.php +++ b/ql/src/gen/thrift/gen-php/Types.php @@ -2,7 +2,7 @@ namespace ; /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -13,6 +13,7 @@ use Thrift\Type\TMessageType; use Thrift\Exception\TException; use Thrift\Exception\TProtocolException; use Thrift\Protocol\TProtocol; +use Thrift\Protocol\TBinaryProtocolAccelerated; use Thrift\Exception\TApplicationException; @@ -132,8 +133,17 @@ final class StageType { class Adjacency { static $_TSPEC; + /** + * @var string + */ public $node = null; + /** + * @var string[] + */ public $children = null; + /** + * @var int + */ public $adjacencyType = null; public function __construct($vals=null) { @@ -270,8 +280,17 @@ class Adjacency { class Graph { static $_TSPEC; + /** + * @var int + */ public $nodeType = null; + /** + * @var string[] + */ public $roots = null; + /** + * @var \Adjacency[] + */ public $adjacencyList = null; public function __construct($vals=null) { @@ -436,11 +455,29 @@ class Graph { class Operator { static $_TSPEC; + /** + * @var string + */ public $operatorId = null; + /** + * @var int + */ public $operatorType = null; + /** + * @var array + */ public $operatorAttributes = null; + /** + * @var array + */ public $operatorCounters = null; + /** + * @var bool + */ public $done = null; + /** + * @var bool + */ public $started = null; public function __construct($vals=null) { @@ -676,13 +713,37 @@ class Operator { class Task { static $_TSPEC; + /** + * @var string + */ public $taskId = null; + /** + * @var int + */ public $taskType = null; + /** + * @var array + */ public $taskAttributes = null; + /** + * @var array + */ public $taskCounters = null; + /** + * @var \Graph + */ public $operatorGraph = null; + /** + * @var \Operator[] + */ public $operatorList = null; + /** + * @var bool + */ public $done = null; + /** + * @var bool + */ public $started = null; public function __construct($vals=null) { @@ -989,12 +1050,33 @@ class Task { class Stage { static $_TSPEC; + /** + * @var string + */ public $stageId = null; + /** + * @var int + */ public $stageType = null; + /** + * @var array + */ public $stageAttributes = null; + /** + * @var array + */ public $stageCounters = null; + /** + * @var \Task[] + */ public $taskList = null; + /** + * @var bool + */ public $done = null; + /** + * @var bool + */ public $started = null; public function __construct($vals=null) { @@ -1277,13 +1359,37 @@ class Stage { class Query { static $_TSPEC; + /** + * @var string + */ public $queryId = null; + /** + * @var string + */ public $queryType = null; + /** + * @var array + */ public $queryAttributes = null; + /** + * @var array + */ public $queryCounters = null; + /** + * @var \Graph + */ public $stageGraph = null; + /** + * @var \Stage[] + */ public $stageList = null; + /** + * @var bool + */ public $done = null; + /** + * @var bool + */ public $started = null; public function __construct($vals=null) { @@ -1590,8 +1696,17 @@ class Query { class QueryPlan { static $_TSPEC; + /** + * @var \Query[] + */ public $queries = null; + /** + * @var bool + */ public $done = null; + /** + * @var bool + */ public $started = null; public function __construct($vals=null) { diff --git a/ql/src/gen/thrift/gen-py/queryplan/constants.py b/ql/src/gen/thrift/gen-py/queryplan/constants.py index a236326..99717a9 100644 --- a/ql/src/gen/thrift/gen-py/queryplan/constants.py +++ b/ql/src/gen/thrift/gen-py/queryplan/constants.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/ql/src/gen/thrift/gen-py/queryplan/ttypes.py b/ql/src/gen/thrift/gen-py/queryplan/ttypes.py index 53c0106..3ee5e65 100644 --- a/ql/src/gen/thrift/gen-py/queryplan/ttypes.py +++ b/ql/src/gen/thrift/gen-py/queryplan/ttypes.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -270,6 +270,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.node) + value = (value * 31) ^ hash(self.children) + value = (value * 31) ^ hash(self.adjacencyType) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -371,6 +378,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.nodeType) + value = (value * 31) ^ hash(self.roots) + value = (value * 31) ^ hash(self.adjacencyList) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -433,7 +447,7 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.operatorAttributes = {} - (_ktype22, _vtype23, _size21 ) = iprot.readMapBegin() + (_ktype22, _vtype23, _size21 ) = iprot.readMapBegin() for _i25 in xrange(_size21): _key26 = iprot.readString(); _val27 = iprot.readString(); @@ -444,7 +458,7 @@ def read(self, iprot): elif fid == 4: if ftype == TType.MAP: self.operatorCounters = {} - (_ktype29, _vtype30, _size28 ) = iprot.readMapBegin() + (_ktype29, _vtype30, _size28 ) = iprot.readMapBegin() for _i32 in xrange(_size28): _key33 = iprot.readString(); _val34 = iprot.readI64(); @@ -511,6 +525,16 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.operatorId) + value = (value * 31) ^ hash(self.operatorType) + value = (value * 31) ^ hash(self.operatorAttributes) + value = (value * 31) ^ hash(self.operatorCounters) + value = (value * 31) ^ hash(self.done) + value = (value * 31) ^ hash(self.started) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -579,7 +603,7 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.taskAttributes = {} - (_ktype40, _vtype41, _size39 ) = iprot.readMapBegin() + (_ktype40, _vtype41, _size39 ) = iprot.readMapBegin() for _i43 in xrange(_size39): _key44 = iprot.readString(); _val45 = iprot.readString(); @@ -590,7 +614,7 @@ def read(self, iprot): elif fid == 4: if ftype == TType.MAP: self.taskCounters = {} - (_ktype47, _vtype48, _size46 ) = iprot.readMapBegin() + (_ktype47, _vtype48, _size46 ) = iprot.readMapBegin() for _i50 in xrange(_size46): _key51 = iprot.readString(); _val52 = iprot.readI64(); @@ -685,6 +709,18 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.taskId) + value = (value * 31) ^ hash(self.taskType) + value = (value * 31) ^ hash(self.taskAttributes) + value = (value * 31) ^ hash(self.taskCounters) + value = (value * 31) ^ hash(self.operatorGraph) + value = (value * 31) ^ hash(self.operatorList) + value = (value * 31) ^ hash(self.done) + value = (value * 31) ^ hash(self.started) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -750,7 +786,7 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.stageAttributes = {} - (_ktype65, _vtype66, _size64 ) = iprot.readMapBegin() + (_ktype65, _vtype66, _size64 ) = iprot.readMapBegin() for _i68 in xrange(_size64): _key69 = iprot.readString(); _val70 = iprot.readString(); @@ -761,7 +797,7 @@ def read(self, iprot): elif fid == 4: if ftype == TType.MAP: self.stageCounters = {} - (_ktype72, _vtype73, _size71 ) = iprot.readMapBegin() + (_ktype72, _vtype73, _size71 ) = iprot.readMapBegin() for _i75 in xrange(_size71): _key76 = iprot.readString(); _val77 = iprot.readI64(); @@ -846,6 +882,17 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.stageId) + value = (value * 31) ^ hash(self.stageType) + value = (value * 31) ^ hash(self.stageAttributes) + value = (value * 31) ^ hash(self.stageCounters) + value = (value * 31) ^ hash(self.taskList) + value = (value * 31) ^ hash(self.done) + value = (value * 31) ^ hash(self.started) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -914,7 +961,7 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.queryAttributes = {} - (_ktype90, _vtype91, _size89 ) = iprot.readMapBegin() + (_ktype90, _vtype91, _size89 ) = iprot.readMapBegin() for _i93 in xrange(_size89): _key94 = iprot.readString(); _val95 = iprot.readString(); @@ -925,7 +972,7 @@ def read(self, iprot): elif fid == 4: if ftype == TType.MAP: self.queryCounters = {} - (_ktype97, _vtype98, _size96 ) = iprot.readMapBegin() + (_ktype97, _vtype98, _size96 ) = iprot.readMapBegin() for _i100 in xrange(_size96): _key101 = iprot.readString(); _val102 = iprot.readI64(); @@ -1020,6 +1067,18 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.queryId) + value = (value * 31) ^ hash(self.queryType) + value = (value * 31) ^ hash(self.queryAttributes) + value = (value * 31) ^ hash(self.queryCounters) + value = (value * 31) ^ hash(self.stageGraph) + value = (value * 31) ^ hash(self.stageList) + value = (value * 31) ^ hash(self.done) + value = (value * 31) ^ hash(self.started) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1113,6 +1172,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.queries) + value = (value * 31) ^ hash(self.done) + value = (value * 31) ^ hash(self.started) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] diff --git a/ql/src/gen/thrift/gen-rb/queryplan_constants.rb b/ql/src/gen/thrift/gen-rb/queryplan_constants.rb index 8080b3f..428185e 100644 --- a/ql/src/gen/thrift/gen-rb/queryplan_constants.rb +++ b/ql/src/gen/thrift/gen-rb/queryplan_constants.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/ql/src/gen/thrift/gen-rb/queryplan_types.rb b/ql/src/gen/thrift/gen-rb/queryplan_types.rb index c2c4220..7823f96 100644 --- a/ql/src/gen/thrift/gen-rb/queryplan_types.rb +++ b/ql/src/gen/thrift/gen-rb/queryplan_types.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java index 00125fa..5840802 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ b/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 a/serde/src/gen/thrift/gen-cpp/complex_constants.cpp b/serde/src/gen/thrift/gen-cpp/complex_constants.cpp index 768fc38..aa146c6 100644 --- a/serde/src/gen/thrift/gen-cpp/complex_constants.cpp +++ b/serde/src/gen/thrift/gen-cpp/complex_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/serde/src/gen/thrift/gen-cpp/complex_constants.h b/serde/src/gen/thrift/gen-cpp/complex_constants.h index 6b115df..971cd2c 100644 --- a/serde/src/gen/thrift/gen-cpp/complex_constants.h +++ b/serde/src/gen/thrift/gen-cpp/complex_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/serde/src/gen/thrift/gen-cpp/complex_types.cpp b/serde/src/gen/thrift/gen-cpp/complex_types.cpp index 411e1b0..fb6fe25 100644 --- a/serde/src/gen/thrift/gen-cpp/complex_types.cpp +++ b/serde/src/gen/thrift/gen-cpp/complex_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,9 +7,50 @@ #include "complex_types.h" #include +#include +#include + + +PropValueUnion::~PropValueUnion() throw() { +} + + +void PropValueUnion::__set_intValue(const int32_t val) { + this->intValue = val; +__isset.intValue = true; +} + +void PropValueUnion::__set_longValue(const int64_t val) { + this->longValue = val; +__isset.longValue = true; +} + +void PropValueUnion::__set_stringValue(const std::string& val) { + this->stringValue = val; +__isset.stringValue = true; +} + +void PropValueUnion::__set_doubleValue(const double val) { + this->doubleValue = val; +__isset.doubleValue = true; +} + +void PropValueUnion::__set_flag(const bool val) { + this->flag = val; +__isset.flag = true; +} + +void PropValueUnion::__set_lString(const std::vector & val) { + this->lString = val; +} + +void PropValueUnion::__set_unionMStringString(const std::map & val) { + this->unionMStringString = val; +} + const char* PropValueUnion::ascii_fingerprint = "123CD9D82D5B5054B5054EFD63FC8590"; const uint8_t PropValueUnion::binary_fingerprint[16] = {0x12,0x3C,0xD9,0xD8,0x2D,0x5B,0x50,0x54,0xB5,0x05,0x4E,0xFD,0x63,0xFC,0x85,0x90}; @@ -130,6 +171,7 @@ uint32_t PropValueUnion::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t PropValueUnion::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("PropValueUnion"); if (this->__isset.intValue) { @@ -184,6 +226,7 @@ uint32_t PropValueUnion::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -199,6 +242,58 @@ void swap(PropValueUnion &a, PropValueUnion &b) { swap(a.__isset, b.__isset); } +PropValueUnion::PropValueUnion(const PropValueUnion& other14) { + intValue = other14.intValue; + longValue = other14.longValue; + stringValue = other14.stringValue; + doubleValue = other14.doubleValue; + flag = other14.flag; + lString = other14.lString; + unionMStringString = other14.unionMStringString; + __isset = other14.__isset; +} +PropValueUnion& PropValueUnion::operator=(const PropValueUnion& other15) { + intValue = other15.intValue; + longValue = other15.longValue; + stringValue = other15.stringValue; + doubleValue = other15.doubleValue; + flag = other15.flag; + lString = other15.lString; + unionMStringString = other15.unionMStringString; + __isset = other15.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const PropValueUnion& obj) { + using apache::thrift::to_string; + out << "PropValueUnion("; + out << "intValue="; (obj.__isset.intValue ? (out << to_string(obj.intValue)) : (out << "")); + out << ", " << "longValue="; (obj.__isset.longValue ? (out << to_string(obj.longValue)) : (out << "")); + out << ", " << "stringValue="; (obj.__isset.stringValue ? (out << to_string(obj.stringValue)) : (out << "")); + out << ", " << "doubleValue="; (obj.__isset.doubleValue ? (out << to_string(obj.doubleValue)) : (out << "")); + out << ", " << "flag="; (obj.__isset.flag ? (out << to_string(obj.flag)) : (out << "")); + out << ", " << "lString=" << to_string(obj.lString); + out << ", " << "unionMStringString=" << to_string(obj.unionMStringString); + out << ")"; + return out; +} + + +IntString::~IntString() throw() { +} + + +void IntString::__set_myint(const int32_t val) { + this->myint = val; +} + +void IntString::__set_myString(const std::string& val) { + this->myString = val; +} + +void IntString::__set_underscore_int(const int32_t val) { + this->underscore_int = val; +} + const char* IntString::ascii_fingerprint = "52C6DAB6CF51AF617111F6D3964C6503"; const uint8_t IntString::binary_fingerprint[16] = {0x52,0xC6,0xDA,0xB6,0xCF,0x51,0xAF,0x61,0x71,0x11,0xF6,0xD3,0x96,0x4C,0x65,0x03}; @@ -260,6 +355,7 @@ uint32_t IntString::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t IntString::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("IntString"); xfer += oprot->writeFieldBegin("myint", ::apache::thrift::protocol::T_I32, 1); @@ -276,6 +372,7 @@ uint32_t IntString::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -287,6 +384,74 @@ void swap(IntString &a, IntString &b) { swap(a.__isset, b.__isset); } +IntString::IntString(const IntString& other16) { + myint = other16.myint; + myString = other16.myString; + underscore_int = other16.underscore_int; + __isset = other16.__isset; +} +IntString& IntString::operator=(const IntString& other17) { + myint = other17.myint; + myString = other17.myString; + underscore_int = other17.underscore_int; + __isset = other17.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const IntString& obj) { + using apache::thrift::to_string; + out << "IntString("; + out << "myint=" << to_string(obj.myint); + out << ", " << "myString=" << to_string(obj.myString); + out << ", " << "underscore_int=" << to_string(obj.underscore_int); + out << ")"; + return out; +} + + +Complex::~Complex() throw() { +} + + +void Complex::__set_aint(const int32_t val) { + this->aint = val; +} + +void Complex::__set_aString(const std::string& val) { + this->aString = val; +} + +void Complex::__set_lint(const std::vector & val) { + this->lint = val; +} + +void Complex::__set_lString(const std::vector & val) { + this->lString = val; +} + +void Complex::__set_lintString(const std::vector & val) { + this->lintString = val; +} + +void Complex::__set_mStringString(const std::map & val) { + this->mStringString = val; +} + +void Complex::__set_attributes(const std::map > > & val) { + this->attributes = val; +} + +void Complex::__set_unionField1(const PropValueUnion& val) { + this->unionField1 = val; +} + +void Complex::__set_unionField2(const PropValueUnion& val) { + this->unionField2 = val; +} + +void Complex::__set_unionField3(const PropValueUnion& val) { + this->unionField3 = val; +} + const char* Complex::ascii_fingerprint = "FFA84FEA7037F5858F2BFEDA73AD679A"; const uint8_t Complex::binary_fingerprint[16] = {0xFF,0xA8,0x4F,0xEA,0x70,0x37,0xF5,0x85,0x8F,0x2B,0xFE,0xDA,0x73,0xAD,0x67,0x9A}; @@ -330,14 +495,14 @@ uint32_t Complex::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->lint.clear(); - uint32_t _size14; - ::apache::thrift::protocol::TType _etype17; - xfer += iprot->readListBegin(_etype17, _size14); - this->lint.resize(_size14); - uint32_t _i18; - for (_i18 = 0; _i18 < _size14; ++_i18) + uint32_t _size18; + ::apache::thrift::protocol::TType _etype21; + xfer += iprot->readListBegin(_etype21, _size18); + this->lint.resize(_size18); + uint32_t _i22; + for (_i22 = 0; _i22 < _size18; ++_i22) { - xfer += iprot->readI32(this->lint[_i18]); + xfer += iprot->readI32(this->lint[_i22]); } xfer += iprot->readListEnd(); } @@ -350,14 +515,14 @@ uint32_t Complex::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->lString.clear(); - uint32_t _size19; - ::apache::thrift::protocol::TType _etype22; - xfer += iprot->readListBegin(_etype22, _size19); - this->lString.resize(_size19); - uint32_t _i23; - for (_i23 = 0; _i23 < _size19; ++_i23) + uint32_t _size23; + ::apache::thrift::protocol::TType _etype26; + xfer += iprot->readListBegin(_etype26, _size23); + this->lString.resize(_size23); + uint32_t _i27; + for (_i27 = 0; _i27 < _size23; ++_i27) { - xfer += iprot->readString(this->lString[_i23]); + xfer += iprot->readString(this->lString[_i27]); } xfer += iprot->readListEnd(); } @@ -370,14 +535,14 @@ uint32_t Complex::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->lintString.clear(); - uint32_t _size24; - ::apache::thrift::protocol::TType _etype27; - xfer += iprot->readListBegin(_etype27, _size24); - this->lintString.resize(_size24); - uint32_t _i28; - for (_i28 = 0; _i28 < _size24; ++_i28) + uint32_t _size28; + ::apache::thrift::protocol::TType _etype31; + xfer += iprot->readListBegin(_etype31, _size28); + this->lintString.resize(_size28); + uint32_t _i32; + for (_i32 = 0; _i32 < _size28; ++_i32) { - xfer += this->lintString[_i28].read(iprot); + xfer += this->lintString[_i32].read(iprot); } xfer += iprot->readListEnd(); } @@ -390,17 +555,17 @@ uint32_t Complex::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->mStringString.clear(); - uint32_t _size29; - ::apache::thrift::protocol::TType _ktype30; - ::apache::thrift::protocol::TType _vtype31; - xfer += iprot->readMapBegin(_ktype30, _vtype31, _size29); - uint32_t _i33; - for (_i33 = 0; _i33 < _size29; ++_i33) + uint32_t _size33; + ::apache::thrift::protocol::TType _ktype34; + ::apache::thrift::protocol::TType _vtype35; + xfer += iprot->readMapBegin(_ktype34, _vtype35, _size33); + uint32_t _i37; + for (_i37 = 0; _i37 < _size33; ++_i37) { - std::string _key34; - xfer += iprot->readString(_key34); - std::string& _val35 = this->mStringString[_key34]; - xfer += iprot->readString(_val35); + std::string _key38; + xfer += iprot->readString(_key38); + std::string& _val39 = this->mStringString[_key38]; + xfer += iprot->readString(_val39); } xfer += iprot->readMapEnd(); } @@ -413,41 +578,41 @@ uint32_t Complex::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->attributes.clear(); - uint32_t _size36; - ::apache::thrift::protocol::TType _ktype37; - ::apache::thrift::protocol::TType _vtype38; - xfer += iprot->readMapBegin(_ktype37, _vtype38, _size36); - uint32_t _i40; - for (_i40 = 0; _i40 < _size36; ++_i40) + uint32_t _size40; + ::apache::thrift::protocol::TType _ktype41; + ::apache::thrift::protocol::TType _vtype42; + xfer += iprot->readMapBegin(_ktype41, _vtype42, _size40); + uint32_t _i44; + for (_i44 = 0; _i44 < _size40; ++_i44) { - std::string _key41; - xfer += iprot->readString(_key41); - std::map > & _val42 = this->attributes[_key41]; + std::string _key45; + xfer += iprot->readString(_key45); + std::map > & _val46 = this->attributes[_key45]; { - _val42.clear(); - uint32_t _size43; - ::apache::thrift::protocol::TType _ktype44; - ::apache::thrift::protocol::TType _vtype45; - xfer += iprot->readMapBegin(_ktype44, _vtype45, _size43); - uint32_t _i47; - for (_i47 = 0; _i47 < _size43; ++_i47) + _val46.clear(); + uint32_t _size47; + ::apache::thrift::protocol::TType _ktype48; + ::apache::thrift::protocol::TType _vtype49; + xfer += iprot->readMapBegin(_ktype48, _vtype49, _size47); + uint32_t _i51; + for (_i51 = 0; _i51 < _size47; ++_i51) { - std::string _key48; - xfer += iprot->readString(_key48); - std::map & _val49 = _val42[_key48]; + std::string _key52; + xfer += iprot->readString(_key52); + std::map & _val53 = _val46[_key52]; { - _val49.clear(); - uint32_t _size50; - ::apache::thrift::protocol::TType _ktype51; - ::apache::thrift::protocol::TType _vtype52; - xfer += iprot->readMapBegin(_ktype51, _vtype52, _size50); - uint32_t _i54; - for (_i54 = 0; _i54 < _size50; ++_i54) + _val53.clear(); + uint32_t _size54; + ::apache::thrift::protocol::TType _ktype55; + ::apache::thrift::protocol::TType _vtype56; + xfer += iprot->readMapBegin(_ktype55, _vtype56, _size54); + uint32_t _i58; + for (_i58 = 0; _i58 < _size54; ++_i58) { - std::string _key55; - xfer += iprot->readString(_key55); - PropValueUnion& _val56 = _val49[_key55]; - xfer += _val56.read(iprot); + std::string _key59; + xfer += iprot->readString(_key59); + PropValueUnion& _val60 = _val53[_key59]; + xfer += _val60.read(iprot); } xfer += iprot->readMapEnd(); } @@ -500,6 +665,7 @@ uint32_t Complex::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("Complex"); xfer += oprot->writeFieldBegin("aint", ::apache::thrift::protocol::T_I32, 1); @@ -513,10 +679,10 @@ uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("lint", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast(this->lint.size())); - std::vector ::const_iterator _iter57; - for (_iter57 = this->lint.begin(); _iter57 != this->lint.end(); ++_iter57) + std::vector ::const_iterator _iter61; + for (_iter61 = this->lint.begin(); _iter61 != this->lint.end(); ++_iter61) { - xfer += oprot->writeI32((*_iter57)); + xfer += oprot->writeI32((*_iter61)); } xfer += oprot->writeListEnd(); } @@ -525,10 +691,10 @@ uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("lString", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->lString.size())); - std::vector ::const_iterator _iter58; - for (_iter58 = this->lString.begin(); _iter58 != this->lString.end(); ++_iter58) + std::vector ::const_iterator _iter62; + for (_iter62 = this->lString.begin(); _iter62 != this->lString.end(); ++_iter62) { - xfer += oprot->writeString((*_iter58)); + xfer += oprot->writeString((*_iter62)); } xfer += oprot->writeListEnd(); } @@ -537,10 +703,10 @@ uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("lintString", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->lintString.size())); - std::vector ::const_iterator _iter59; - for (_iter59 = this->lintString.begin(); _iter59 != this->lintString.end(); ++_iter59) + std::vector ::const_iterator _iter63; + for (_iter63 = this->lintString.begin(); _iter63 != this->lintString.end(); ++_iter63) { - xfer += (*_iter59).write(oprot); + xfer += (*_iter63).write(oprot); } xfer += oprot->writeListEnd(); } @@ -549,11 +715,11 @@ uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("mStringString", ::apache::thrift::protocol::T_MAP, 6); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->mStringString.size())); - std::map ::const_iterator _iter60; - for (_iter60 = this->mStringString.begin(); _iter60 != this->mStringString.end(); ++_iter60) + std::map ::const_iterator _iter64; + for (_iter64 = this->mStringString.begin(); _iter64 != this->mStringString.end(); ++_iter64) { - xfer += oprot->writeString(_iter60->first); - xfer += oprot->writeString(_iter60->second); + xfer += oprot->writeString(_iter64->first); + xfer += oprot->writeString(_iter64->second); } xfer += oprot->writeMapEnd(); } @@ -562,23 +728,23 @@ uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("attributes", ::apache::thrift::protocol::T_MAP, 7); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_MAP, static_cast(this->attributes.size())); - std::map > > ::const_iterator _iter61; - for (_iter61 = this->attributes.begin(); _iter61 != this->attributes.end(); ++_iter61) + std::map > > ::const_iterator _iter65; + for (_iter65 = this->attributes.begin(); _iter65 != this->attributes.end(); ++_iter65) { - xfer += oprot->writeString(_iter61->first); + xfer += oprot->writeString(_iter65->first); { - xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_MAP, static_cast(_iter61->second.size())); - std::map > ::const_iterator _iter62; - for (_iter62 = _iter61->second.begin(); _iter62 != _iter61->second.end(); ++_iter62) + xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_MAP, static_cast(_iter65->second.size())); + std::map > ::const_iterator _iter66; + for (_iter66 = _iter65->second.begin(); _iter66 != _iter65->second.end(); ++_iter66) { - xfer += oprot->writeString(_iter62->first); + xfer += oprot->writeString(_iter66->first); { - xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(_iter62->second.size())); - std::map ::const_iterator _iter63; - for (_iter63 = _iter62->second.begin(); _iter63 != _iter62->second.end(); ++_iter63) + xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(_iter66->second.size())); + std::map ::const_iterator _iter67; + for (_iter67 = _iter66->second.begin(); _iter67 != _iter66->second.end(); ++_iter67) { - xfer += oprot->writeString(_iter63->first); - xfer += _iter63->second.write(oprot); + xfer += oprot->writeString(_iter67->first); + xfer += _iter67->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -604,6 +770,7 @@ uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -622,6 +789,63 @@ void swap(Complex &a, Complex &b) { swap(a.__isset, b.__isset); } +Complex::Complex(const Complex& other68) { + aint = other68.aint; + aString = other68.aString; + lint = other68.lint; + lString = other68.lString; + lintString = other68.lintString; + mStringString = other68.mStringString; + attributes = other68.attributes; + unionField1 = other68.unionField1; + unionField2 = other68.unionField2; + unionField3 = other68.unionField3; + __isset = other68.__isset; +} +Complex& Complex::operator=(const Complex& other69) { + aint = other69.aint; + aString = other69.aString; + lint = other69.lint; + lString = other69.lString; + lintString = other69.lintString; + mStringString = other69.mStringString; + attributes = other69.attributes; + unionField1 = other69.unionField1; + unionField2 = other69.unionField2; + unionField3 = other69.unionField3; + __isset = other69.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const Complex& obj) { + using apache::thrift::to_string; + out << "Complex("; + out << "aint=" << to_string(obj.aint); + out << ", " << "aString=" << to_string(obj.aString); + out << ", " << "lint=" << to_string(obj.lint); + out << ", " << "lString=" << to_string(obj.lString); + out << ", " << "lintString=" << to_string(obj.lintString); + out << ", " << "mStringString=" << to_string(obj.mStringString); + out << ", " << "attributes=" << to_string(obj.attributes); + out << ", " << "unionField1=" << to_string(obj.unionField1); + out << ", " << "unionField2=" << to_string(obj.unionField2); + out << ", " << "unionField3=" << to_string(obj.unionField3); + out << ")"; + return out; +} + + +SetIntString::~SetIntString() throw() { +} + + +void SetIntString::__set_sIntString(const std::set & val) { + this->sIntString = val; +} + +void SetIntString::__set_aString(const std::string& val) { + this->aString = val; +} + const char* SetIntString::ascii_fingerprint = "842B41C940D05DFB16183142A90DFC54"; const uint8_t SetIntString::binary_fingerprint[16] = {0x84,0x2B,0x41,0xC9,0x40,0xD0,0x5D,0xFB,0x16,0x18,0x31,0x42,0xA9,0x0D,0xFC,0x54}; @@ -649,15 +873,15 @@ uint32_t SetIntString::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->sIntString.clear(); - uint32_t _size64; - ::apache::thrift::protocol::TType _etype67; - xfer += iprot->readSetBegin(_etype67, _size64); - uint32_t _i68; - for (_i68 = 0; _i68 < _size64; ++_i68) + uint32_t _size70; + ::apache::thrift::protocol::TType _etype73; + xfer += iprot->readSetBegin(_etype73, _size70); + uint32_t _i74; + for (_i74 = 0; _i74 < _size70; ++_i74) { - IntString _elem69; - xfer += _elem69.read(iprot); - this->sIntString.insert(_elem69); + IntString _elem75; + xfer += _elem75.read(iprot); + this->sIntString.insert(_elem75); } xfer += iprot->readSetEnd(); } @@ -688,15 +912,16 @@ uint32_t SetIntString::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t SetIntString::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("SetIntString"); xfer += oprot->writeFieldBegin("sIntString", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->sIntString.size())); - std::set ::const_iterator _iter70; - for (_iter70 = this->sIntString.begin(); _iter70 != this->sIntString.end(); ++_iter70) + std::set ::const_iterator _iter76; + for (_iter76 = this->sIntString.begin(); _iter76 != this->sIntString.end(); ++_iter76) { - xfer += (*_iter70).write(oprot); + xfer += (*_iter76).write(oprot); } xfer += oprot->writeSetEnd(); } @@ -708,6 +933,7 @@ uint32_t SetIntString::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -718,4 +944,24 @@ void swap(SetIntString &a, SetIntString &b) { swap(a.__isset, b.__isset); } +SetIntString::SetIntString(const SetIntString& other77) { + sIntString = other77.sIntString; + aString = other77.aString; + __isset = other77.__isset; +} +SetIntString& SetIntString::operator=(const SetIntString& other78) { + sIntString = other78.sIntString; + aString = other78.aString; + __isset = other78.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const SetIntString& obj) { + using apache::thrift::to_string; + out << "SetIntString("; + out << "sIntString=" << to_string(obj.sIntString); + out << ", " << "aString=" << to_string(obj.aString); + out << ")"; + return out; +} + diff --git a/serde/src/gen/thrift/gen-cpp/complex_types.h b/serde/src/gen/thrift/gen-cpp/complex_types.h index 3f4c760..2637720 100644 --- a/serde/src/gen/thrift/gen-cpp/complex_types.h +++ b/serde/src/gen/thrift/gen-cpp/complex_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,24 +7,35 @@ #ifndef complex_TYPES_H #define complex_TYPES_H +#include + #include #include #include #include +#include + + + +class PropValueUnion; +class IntString; +class Complex; + +class SetIntString; typedef struct _PropValueUnion__isset { _PropValueUnion__isset() : intValue(false), longValue(false), stringValue(false), doubleValue(false), flag(false), lString(false), unionMStringString(false) {} - bool intValue; - bool longValue; - bool stringValue; - bool doubleValue; - bool flag; - bool lString; - bool unionMStringString; + bool intValue :1; + bool longValue :1; + bool stringValue :1; + bool doubleValue :1; + bool flag :1; + bool lString :1; + bool unionMStringString :1; } _PropValueUnion__isset; class PropValueUnion { @@ -33,11 +44,12 @@ class PropValueUnion { static const char* ascii_fingerprint; // = "123CD9D82D5B5054B5054EFD63FC8590"; static const uint8_t binary_fingerprint[16]; // = {0x12,0x3C,0xD9,0xD8,0x2D,0x5B,0x50,0x54,0xB5,0x05,0x4E,0xFD,0x63,0xFC,0x85,0x90}; + PropValueUnion(const PropValueUnion&); + PropValueUnion& operator=(const PropValueUnion&); PropValueUnion() : intValue(0), longValue(0), stringValue(), doubleValue(0), flag(0) { } - virtual ~PropValueUnion() throw() {} - + virtual ~PropValueUnion() throw(); int32_t intValue; int64_t longValue; std::string stringValue; @@ -48,38 +60,19 @@ class PropValueUnion { _PropValueUnion__isset __isset; - void __set_intValue(const int32_t val) { - intValue = val; - __isset.intValue = true; - } + void __set_intValue(const int32_t val); - void __set_longValue(const int64_t val) { - longValue = val; - __isset.longValue = true; - } + void __set_longValue(const int64_t val); - void __set_stringValue(const std::string& val) { - stringValue = val; - __isset.stringValue = true; - } + void __set_stringValue(const std::string& val); - void __set_doubleValue(const double val) { - doubleValue = val; - __isset.doubleValue = true; - } + void __set_doubleValue(const double val); - void __set_flag(const bool val) { - flag = val; - __isset.flag = true; - } + void __set_flag(const bool val); - void __set_lString(const std::vector & val) { - lString = val; - } + void __set_lString(const std::vector & val); - void __set_unionMStringString(const std::map & val) { - unionMStringString = val; - } + void __set_unionMStringString(const std::map & val); bool operator == (const PropValueUnion & rhs) const { @@ -118,15 +111,16 @@ class PropValueUnion { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const PropValueUnion& obj); }; void swap(PropValueUnion &a, PropValueUnion &b); typedef struct _IntString__isset { _IntString__isset() : myint(false), myString(false), underscore_int(false) {} - bool myint; - bool myString; - bool underscore_int; + bool myint :1; + bool myString :1; + bool underscore_int :1; } _IntString__isset; class IntString { @@ -135,28 +129,23 @@ class IntString { static const char* ascii_fingerprint; // = "52C6DAB6CF51AF617111F6D3964C6503"; static const uint8_t binary_fingerprint[16]; // = {0x52,0xC6,0xDA,0xB6,0xCF,0x51,0xAF,0x61,0x71,0x11,0xF6,0xD3,0x96,0x4C,0x65,0x03}; + IntString(const IntString&); + IntString& operator=(const IntString&); IntString() : myint(0), myString(), underscore_int(0) { } - virtual ~IntString() throw() {} - + virtual ~IntString() throw(); int32_t myint; std::string myString; int32_t underscore_int; _IntString__isset __isset; - void __set_myint(const int32_t val) { - myint = val; - } + void __set_myint(const int32_t val); - void __set_myString(const std::string& val) { - myString = val; - } + void __set_myString(const std::string& val); - void __set_underscore_int(const int32_t val) { - underscore_int = val; - } + void __set_underscore_int(const int32_t val); bool operator == (const IntString & rhs) const { @@ -177,22 +166,23 @@ class IntString { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const IntString& obj); }; void swap(IntString &a, IntString &b); typedef struct _Complex__isset { _Complex__isset() : aint(false), aString(false), lint(false), lString(false), lintString(false), mStringString(false), attributes(false), unionField1(false), unionField2(false), unionField3(false) {} - bool aint; - bool aString; - bool lint; - bool lString; - bool lintString; - bool mStringString; - bool attributes; - bool unionField1; - bool unionField2; - bool unionField3; + bool aint :1; + bool aString :1; + bool lint :1; + bool lString :1; + bool lintString :1; + bool mStringString :1; + bool attributes :1; + bool unionField1 :1; + bool unionField2 :1; + bool unionField3 :1; } _Complex__isset; class Complex { @@ -201,11 +191,12 @@ class Complex { static const char* ascii_fingerprint; // = "FFA84FEA7037F5858F2BFEDA73AD679A"; static const uint8_t binary_fingerprint[16]; // = {0xFF,0xA8,0x4F,0xEA,0x70,0x37,0xF5,0x85,0x8F,0x2B,0xFE,0xDA,0x73,0xAD,0x67,0x9A}; + Complex(const Complex&); + Complex& operator=(const Complex&); Complex() : aint(0), aString() { } - virtual ~Complex() throw() {} - + virtual ~Complex() throw(); int32_t aint; std::string aString; std::vector lint; @@ -219,45 +210,25 @@ class Complex { _Complex__isset __isset; - void __set_aint(const int32_t val) { - aint = val; - } + void __set_aint(const int32_t val); - void __set_aString(const std::string& val) { - aString = val; - } + void __set_aString(const std::string& val); - void __set_lint(const std::vector & val) { - lint = val; - } + void __set_lint(const std::vector & val); - void __set_lString(const std::vector & val) { - lString = val; - } + void __set_lString(const std::vector & val); - void __set_lintString(const std::vector & val) { - lintString = val; - } + void __set_lintString(const std::vector & val); - void __set_mStringString(const std::map & val) { - mStringString = val; - } + void __set_mStringString(const std::map & val); - void __set_attributes(const std::map > > & val) { - attributes = val; - } + void __set_attributes(const std::map > > & val); - void __set_unionField1(const PropValueUnion& val) { - unionField1 = val; - } + void __set_unionField1(const PropValueUnion& val); - void __set_unionField2(const PropValueUnion& val) { - unionField2 = val; - } + void __set_unionField2(const PropValueUnion& val); - void __set_unionField3(const PropValueUnion& val) { - unionField3 = val; - } + void __set_unionField3(const PropValueUnion& val); bool operator == (const Complex & rhs) const { @@ -292,14 +263,15 @@ class Complex { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const Complex& obj); }; void swap(Complex &a, Complex &b); typedef struct _SetIntString__isset { _SetIntString__isset() : sIntString(false), aString(false) {} - bool sIntString; - bool aString; + bool sIntString :1; + bool aString :1; } _SetIntString__isset; class SetIntString { @@ -308,23 +280,20 @@ class SetIntString { static const char* ascii_fingerprint; // = "842B41C940D05DFB16183142A90DFC54"; static const uint8_t binary_fingerprint[16]; // = {0x84,0x2B,0x41,0xC9,0x40,0xD0,0x5D,0xFB,0x16,0x18,0x31,0x42,0xA9,0x0D,0xFC,0x54}; + SetIntString(const SetIntString&); + SetIntString& operator=(const SetIntString&); SetIntString() : aString() { } - virtual ~SetIntString() throw() {} - + virtual ~SetIntString() throw(); std::set sIntString; std::string aString; _SetIntString__isset __isset; - void __set_sIntString(const std::set & val) { - sIntString = val; - } + void __set_sIntString(const std::set & val); - void __set_aString(const std::string& val) { - aString = val; - } + void __set_aString(const std::string& val); bool operator == (const SetIntString & rhs) const { @@ -343,6 +312,7 @@ class SetIntString { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const SetIntString& obj); }; void swap(SetIntString &a, SetIntString &b); diff --git a/serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp b/serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp index 4bd82a1..9a18a48 100644 --- a/serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp +++ b/serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/serde/src/gen/thrift/gen-cpp/megastruct_constants.h b/serde/src/gen/thrift/gen-cpp/megastruct_constants.h index 9897f8f..1b0558f 100644 --- a/serde/src/gen/thrift/gen-cpp/megastruct_constants.h +++ b/serde/src/gen/thrift/gen-cpp/megastruct_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/serde/src/gen/thrift/gen-cpp/megastruct_types.cpp b/serde/src/gen/thrift/gen-cpp/megastruct_types.cpp index 2d46b7f..6123f7d 100644 --- a/serde/src/gen/thrift/gen-cpp/megastruct_types.cpp +++ b/serde/src/gen/thrift/gen-cpp/megastruct_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,6 +7,9 @@ #include "megastruct_types.h" #include +#include + +#include @@ -20,6 +23,21 @@ const char* _kMyEnumNames[] = { }; const std::map _MyEnum_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(2, _kMyEnumValues, _kMyEnumNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL)); + +MiniStruct::~MiniStruct() throw() { +} + + +void MiniStruct::__set_my_string(const std::string& val) { + this->my_string = val; +__isset.my_string = true; +} + +void MiniStruct::__set_my_enum(const MyEnum::type val) { + this->my_enum = val; +__isset.my_enum = true; +} + const char* MiniStruct::ascii_fingerprint = "4ED2B10931906B61ED0B1592EE860A37"; const uint8_t MiniStruct::binary_fingerprint[16] = {0x4E,0xD2,0xB1,0x09,0x31,0x90,0x6B,0x61,0xED,0x0B,0x15,0x92,0xEE,0x86,0x0A,0x37}; @@ -75,6 +93,7 @@ uint32_t MiniStruct::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t MiniStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("MiniStruct"); if (this->__isset.my_string) { @@ -89,6 +108,7 @@ uint32_t MiniStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -99,6 +119,131 @@ void swap(MiniStruct &a, MiniStruct &b) { swap(a.__isset, b.__isset); } +MiniStruct::MiniStruct(const MiniStruct& other1) { + my_string = other1.my_string; + my_enum = other1.my_enum; + __isset = other1.__isset; +} +MiniStruct& MiniStruct::operator=(const MiniStruct& other2) { + my_string = other2.my_string; + my_enum = other2.my_enum; + __isset = other2.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const MiniStruct& obj) { + using apache::thrift::to_string; + out << "MiniStruct("; + out << "my_string="; (obj.__isset.my_string ? (out << to_string(obj.my_string)) : (out << "")); + out << ", " << "my_enum="; (obj.__isset.my_enum ? (out << to_string(obj.my_enum)) : (out << "")); + out << ")"; + return out; +} + + +MegaStruct::~MegaStruct() throw() { +} + + +void MegaStruct::__set_my_bool(const bool val) { + this->my_bool = val; +__isset.my_bool = true; +} + +void MegaStruct::__set_my_byte(const int8_t val) { + this->my_byte = val; +__isset.my_byte = true; +} + +void MegaStruct::__set_my_16bit_int(const int16_t val) { + this->my_16bit_int = val; +__isset.my_16bit_int = true; +} + +void MegaStruct::__set_my_32bit_int(const int32_t val) { + this->my_32bit_int = val; +__isset.my_32bit_int = true; +} + +void MegaStruct::__set_my_64bit_int(const int64_t val) { + this->my_64bit_int = val; +__isset.my_64bit_int = true; +} + +void MegaStruct::__set_my_double(const double val) { + this->my_double = val; +__isset.my_double = true; +} + +void MegaStruct::__set_my_string(const std::string& val) { + this->my_string = val; +__isset.my_string = true; +} + +void MegaStruct::__set_my_binary(const std::string& val) { + this->my_binary = val; +__isset.my_binary = true; +} + +void MegaStruct::__set_my_string_string_map(const std::map & val) { + this->my_string_string_map = val; +__isset.my_string_string_map = true; +} + +void MegaStruct::__set_my_string_enum_map(const std::map & val) { + this->my_string_enum_map = val; +__isset.my_string_enum_map = true; +} + +void MegaStruct::__set_my_enum_string_map(const std::map & val) { + this->my_enum_string_map = val; +__isset.my_enum_string_map = true; +} + +void MegaStruct::__set_my_enum_struct_map(const std::map & val) { + this->my_enum_struct_map = val; +__isset.my_enum_struct_map = true; +} + +void MegaStruct::__set_my_enum_stringlist_map(const std::map > & val) { + this->my_enum_stringlist_map = val; +__isset.my_enum_stringlist_map = true; +} + +void MegaStruct::__set_my_enum_structlist_map(const std::map > & val) { + this->my_enum_structlist_map = val; +__isset.my_enum_structlist_map = true; +} + +void MegaStruct::__set_my_stringlist(const std::vector & val) { + this->my_stringlist = val; +__isset.my_stringlist = true; +} + +void MegaStruct::__set_my_structlist(const std::vector & val) { + this->my_structlist = val; +__isset.my_structlist = true; +} + +void MegaStruct::__set_my_enumlist(const std::vector & val) { + this->my_enumlist = val; +__isset.my_enumlist = true; +} + +void MegaStruct::__set_my_stringset(const std::set & val) { + this->my_stringset = val; +__isset.my_stringset = true; +} + +void MegaStruct::__set_my_enumset(const std::set & val) { + this->my_enumset = val; +__isset.my_enumset = true; +} + +void MegaStruct::__set_my_structset(const std::set & val) { + this->my_structset = val; +__isset.my_structset = true; +} + const char* MegaStruct::ascii_fingerprint = "9979EEF0CA19988228E64220A3AA9120"; const uint8_t MegaStruct::binary_fingerprint[16] = {0x99,0x79,0xEE,0xF0,0xCA,0x19,0x98,0x82,0x28,0xE6,0x42,0x20,0xA3,0xAA,0x91,0x20}; @@ -190,17 +335,17 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->my_string_string_map.clear(); - uint32_t _size1; - ::apache::thrift::protocol::TType _ktype2; - ::apache::thrift::protocol::TType _vtype3; - xfer += iprot->readMapBegin(_ktype2, _vtype3, _size1); - uint32_t _i5; - for (_i5 = 0; _i5 < _size1; ++_i5) + uint32_t _size3; + ::apache::thrift::protocol::TType _ktype4; + ::apache::thrift::protocol::TType _vtype5; + xfer += iprot->readMapBegin(_ktype4, _vtype5, _size3); + uint32_t _i7; + for (_i7 = 0; _i7 < _size3; ++_i7) { - std::string _key6; - xfer += iprot->readString(_key6); - std::string& _val7 = this->my_string_string_map[_key6]; - xfer += iprot->readString(_val7); + std::string _key8; + xfer += iprot->readString(_key8); + std::string& _val9 = this->my_string_string_map[_key8]; + xfer += iprot->readString(_val9); } xfer += iprot->readMapEnd(); } @@ -213,19 +358,19 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->my_string_enum_map.clear(); - uint32_t _size8; - ::apache::thrift::protocol::TType _ktype9; - ::apache::thrift::protocol::TType _vtype10; - xfer += iprot->readMapBegin(_ktype9, _vtype10, _size8); - uint32_t _i12; - for (_i12 = 0; _i12 < _size8; ++_i12) + uint32_t _size10; + ::apache::thrift::protocol::TType _ktype11; + ::apache::thrift::protocol::TType _vtype12; + xfer += iprot->readMapBegin(_ktype11, _vtype12, _size10); + uint32_t _i14; + for (_i14 = 0; _i14 < _size10; ++_i14) { - std::string _key13; - xfer += iprot->readString(_key13); - MyEnum::type& _val14 = this->my_string_enum_map[_key13]; - int32_t ecast15; - xfer += iprot->readI32(ecast15); - _val14 = (MyEnum::type)ecast15; + std::string _key15; + xfer += iprot->readString(_key15); + MyEnum::type& _val16 = this->my_string_enum_map[_key15]; + int32_t ecast17; + xfer += iprot->readI32(ecast17); + _val16 = (MyEnum::type)ecast17; } xfer += iprot->readMapEnd(); } @@ -238,19 +383,19 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->my_enum_string_map.clear(); - uint32_t _size16; - ::apache::thrift::protocol::TType _ktype17; - ::apache::thrift::protocol::TType _vtype18; - xfer += iprot->readMapBegin(_ktype17, _vtype18, _size16); - uint32_t _i20; - for (_i20 = 0; _i20 < _size16; ++_i20) + uint32_t _size18; + ::apache::thrift::protocol::TType _ktype19; + ::apache::thrift::protocol::TType _vtype20; + xfer += iprot->readMapBegin(_ktype19, _vtype20, _size18); + uint32_t _i22; + for (_i22 = 0; _i22 < _size18; ++_i22) { - MyEnum::type _key21; - int32_t ecast23; - xfer += iprot->readI32(ecast23); - _key21 = (MyEnum::type)ecast23; - std::string& _val22 = this->my_enum_string_map[_key21]; - xfer += iprot->readString(_val22); + MyEnum::type _key23; + int32_t ecast25; + xfer += iprot->readI32(ecast25); + _key23 = (MyEnum::type)ecast25; + std::string& _val24 = this->my_enum_string_map[_key23]; + xfer += iprot->readString(_val24); } xfer += iprot->readMapEnd(); } @@ -263,19 +408,19 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->my_enum_struct_map.clear(); - uint32_t _size24; - ::apache::thrift::protocol::TType _ktype25; - ::apache::thrift::protocol::TType _vtype26; - xfer += iprot->readMapBegin(_ktype25, _vtype26, _size24); - uint32_t _i28; - for (_i28 = 0; _i28 < _size24; ++_i28) + uint32_t _size26; + ::apache::thrift::protocol::TType _ktype27; + ::apache::thrift::protocol::TType _vtype28; + xfer += iprot->readMapBegin(_ktype27, _vtype28, _size26); + uint32_t _i30; + for (_i30 = 0; _i30 < _size26; ++_i30) { - MyEnum::type _key29; - int32_t ecast31; - xfer += iprot->readI32(ecast31); - _key29 = (MyEnum::type)ecast31; - MiniStruct& _val30 = this->my_enum_struct_map[_key29]; - xfer += _val30.read(iprot); + MyEnum::type _key31; + int32_t ecast33; + xfer += iprot->readI32(ecast33); + _key31 = (MyEnum::type)ecast33; + MiniStruct& _val32 = this->my_enum_struct_map[_key31]; + xfer += _val32.read(iprot); } xfer += iprot->readMapEnd(); } @@ -288,28 +433,28 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->my_enum_stringlist_map.clear(); - uint32_t _size32; - ::apache::thrift::protocol::TType _ktype33; - ::apache::thrift::protocol::TType _vtype34; - xfer += iprot->readMapBegin(_ktype33, _vtype34, _size32); - uint32_t _i36; - for (_i36 = 0; _i36 < _size32; ++_i36) + uint32_t _size34; + ::apache::thrift::protocol::TType _ktype35; + ::apache::thrift::protocol::TType _vtype36; + xfer += iprot->readMapBegin(_ktype35, _vtype36, _size34); + uint32_t _i38; + for (_i38 = 0; _i38 < _size34; ++_i38) { - MyEnum::type _key37; - int32_t ecast39; - xfer += iprot->readI32(ecast39); - _key37 = (MyEnum::type)ecast39; - std::vector & _val38 = this->my_enum_stringlist_map[_key37]; + MyEnum::type _key39; + int32_t ecast41; + xfer += iprot->readI32(ecast41); + _key39 = (MyEnum::type)ecast41; + std::vector & _val40 = this->my_enum_stringlist_map[_key39]; { - _val38.clear(); - uint32_t _size40; - ::apache::thrift::protocol::TType _etype43; - xfer += iprot->readListBegin(_etype43, _size40); - _val38.resize(_size40); - uint32_t _i44; - for (_i44 = 0; _i44 < _size40; ++_i44) + _val40.clear(); + uint32_t _size42; + ::apache::thrift::protocol::TType _etype45; + xfer += iprot->readListBegin(_etype45, _size42); + _val40.resize(_size42); + uint32_t _i46; + for (_i46 = 0; _i46 < _size42; ++_i46) { - xfer += iprot->readString(_val38[_i44]); + xfer += iprot->readString(_val40[_i46]); } xfer += iprot->readListEnd(); } @@ -325,28 +470,28 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->my_enum_structlist_map.clear(); - uint32_t _size45; - ::apache::thrift::protocol::TType _ktype46; - ::apache::thrift::protocol::TType _vtype47; - xfer += iprot->readMapBegin(_ktype46, _vtype47, _size45); - uint32_t _i49; - for (_i49 = 0; _i49 < _size45; ++_i49) + uint32_t _size47; + ::apache::thrift::protocol::TType _ktype48; + ::apache::thrift::protocol::TType _vtype49; + xfer += iprot->readMapBegin(_ktype48, _vtype49, _size47); + uint32_t _i51; + for (_i51 = 0; _i51 < _size47; ++_i51) { - MyEnum::type _key50; - int32_t ecast52; - xfer += iprot->readI32(ecast52); - _key50 = (MyEnum::type)ecast52; - std::vector & _val51 = this->my_enum_structlist_map[_key50]; + MyEnum::type _key52; + int32_t ecast54; + xfer += iprot->readI32(ecast54); + _key52 = (MyEnum::type)ecast54; + std::vector & _val53 = this->my_enum_structlist_map[_key52]; { - _val51.clear(); - uint32_t _size53; - ::apache::thrift::protocol::TType _etype56; - xfer += iprot->readListBegin(_etype56, _size53); - _val51.resize(_size53); - uint32_t _i57; - for (_i57 = 0; _i57 < _size53; ++_i57) + _val53.clear(); + uint32_t _size55; + ::apache::thrift::protocol::TType _etype58; + xfer += iprot->readListBegin(_etype58, _size55); + _val53.resize(_size55); + uint32_t _i59; + for (_i59 = 0; _i59 < _size55; ++_i59) { - xfer += _val51[_i57].read(iprot); + xfer += _val53[_i59].read(iprot); } xfer += iprot->readListEnd(); } @@ -362,14 +507,14 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->my_stringlist.clear(); - uint32_t _size58; - ::apache::thrift::protocol::TType _etype61; - xfer += iprot->readListBegin(_etype61, _size58); - this->my_stringlist.resize(_size58); - uint32_t _i62; - for (_i62 = 0; _i62 < _size58; ++_i62) + uint32_t _size60; + ::apache::thrift::protocol::TType _etype63; + xfer += iprot->readListBegin(_etype63, _size60); + this->my_stringlist.resize(_size60); + uint32_t _i64; + for (_i64 = 0; _i64 < _size60; ++_i64) { - xfer += iprot->readString(this->my_stringlist[_i62]); + xfer += iprot->readString(this->my_stringlist[_i64]); } xfer += iprot->readListEnd(); } @@ -382,14 +527,14 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->my_structlist.clear(); - uint32_t _size63; - ::apache::thrift::protocol::TType _etype66; - xfer += iprot->readListBegin(_etype66, _size63); - this->my_structlist.resize(_size63); - uint32_t _i67; - for (_i67 = 0; _i67 < _size63; ++_i67) + uint32_t _size65; + ::apache::thrift::protocol::TType _etype68; + xfer += iprot->readListBegin(_etype68, _size65); + this->my_structlist.resize(_size65); + uint32_t _i69; + for (_i69 = 0; _i69 < _size65; ++_i69) { - xfer += this->my_structlist[_i67].read(iprot); + xfer += this->my_structlist[_i69].read(iprot); } xfer += iprot->readListEnd(); } @@ -402,16 +547,16 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->my_enumlist.clear(); - uint32_t _size68; - ::apache::thrift::protocol::TType _etype71; - xfer += iprot->readListBegin(_etype71, _size68); - this->my_enumlist.resize(_size68); - uint32_t _i72; - for (_i72 = 0; _i72 < _size68; ++_i72) + uint32_t _size70; + ::apache::thrift::protocol::TType _etype73; + xfer += iprot->readListBegin(_etype73, _size70); + this->my_enumlist.resize(_size70); + uint32_t _i74; + for (_i74 = 0; _i74 < _size70; ++_i74) { - int32_t ecast73; - xfer += iprot->readI32(ecast73); - this->my_enumlist[_i72] = (MyEnum::type)ecast73; + int32_t ecast75; + xfer += iprot->readI32(ecast75); + this->my_enumlist[_i74] = (MyEnum::type)ecast75; } xfer += iprot->readListEnd(); } @@ -424,15 +569,15 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->my_stringset.clear(); - uint32_t _size74; - ::apache::thrift::protocol::TType _etype77; - xfer += iprot->readSetBegin(_etype77, _size74); - uint32_t _i78; - for (_i78 = 0; _i78 < _size74; ++_i78) + uint32_t _size76; + ::apache::thrift::protocol::TType _etype79; + xfer += iprot->readSetBegin(_etype79, _size76); + uint32_t _i80; + for (_i80 = 0; _i80 < _size76; ++_i80) { - std::string _elem79; - xfer += iprot->readString(_elem79); - this->my_stringset.insert(_elem79); + std::string _elem81; + xfer += iprot->readString(_elem81); + this->my_stringset.insert(_elem81); } xfer += iprot->readSetEnd(); } @@ -445,17 +590,17 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->my_enumset.clear(); - uint32_t _size80; - ::apache::thrift::protocol::TType _etype83; - xfer += iprot->readSetBegin(_etype83, _size80); - uint32_t _i84; - for (_i84 = 0; _i84 < _size80; ++_i84) + uint32_t _size82; + ::apache::thrift::protocol::TType _etype85; + xfer += iprot->readSetBegin(_etype85, _size82); + uint32_t _i86; + for (_i86 = 0; _i86 < _size82; ++_i86) { - MyEnum::type _elem85; - int32_t ecast86; - xfer += iprot->readI32(ecast86); - _elem85 = (MyEnum::type)ecast86; - this->my_enumset.insert(_elem85); + MyEnum::type _elem87; + int32_t ecast88; + xfer += iprot->readI32(ecast88); + _elem87 = (MyEnum::type)ecast88; + this->my_enumset.insert(_elem87); } xfer += iprot->readSetEnd(); } @@ -468,15 +613,15 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->my_structset.clear(); - uint32_t _size87; - ::apache::thrift::protocol::TType _etype90; - xfer += iprot->readSetBegin(_etype90, _size87); - uint32_t _i91; - for (_i91 = 0; _i91 < _size87; ++_i91) + uint32_t _size89; + ::apache::thrift::protocol::TType _etype92; + xfer += iprot->readSetBegin(_etype92, _size89); + uint32_t _i93; + for (_i93 = 0; _i93 < _size89; ++_i93) { - MiniStruct _elem92; - xfer += _elem92.read(iprot); - this->my_structset.insert(_elem92); + MiniStruct _elem94; + xfer += _elem94.read(iprot); + this->my_structset.insert(_elem94); } xfer += iprot->readSetEnd(); } @@ -499,6 +644,7 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("MegaStruct"); if (this->__isset.my_bool) { @@ -545,11 +691,11 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_string_string_map", ::apache::thrift::protocol::T_MAP, 9); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->my_string_string_map.size())); - std::map ::const_iterator _iter93; - for (_iter93 = this->my_string_string_map.begin(); _iter93 != this->my_string_string_map.end(); ++_iter93) + std::map ::const_iterator _iter95; + for (_iter95 = this->my_string_string_map.begin(); _iter95 != this->my_string_string_map.end(); ++_iter95) { - xfer += oprot->writeString(_iter93->first); - xfer += oprot->writeString(_iter93->second); + xfer += oprot->writeString(_iter95->first); + xfer += oprot->writeString(_iter95->second); } xfer += oprot->writeMapEnd(); } @@ -559,11 +705,11 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_string_enum_map", ::apache::thrift::protocol::T_MAP, 10); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I32, static_cast(this->my_string_enum_map.size())); - std::map ::const_iterator _iter94; - for (_iter94 = this->my_string_enum_map.begin(); _iter94 != this->my_string_enum_map.end(); ++_iter94) + std::map ::const_iterator _iter96; + for (_iter96 = this->my_string_enum_map.begin(); _iter96 != this->my_string_enum_map.end(); ++_iter96) { - xfer += oprot->writeString(_iter94->first); - xfer += oprot->writeI32((int32_t)_iter94->second); + xfer += oprot->writeString(_iter96->first); + xfer += oprot->writeI32((int32_t)_iter96->second); } xfer += oprot->writeMapEnd(); } @@ -573,11 +719,11 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_enum_string_map", ::apache::thrift::protocol::T_MAP, 11); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRING, static_cast(this->my_enum_string_map.size())); - std::map ::const_iterator _iter95; - for (_iter95 = this->my_enum_string_map.begin(); _iter95 != this->my_enum_string_map.end(); ++_iter95) + std::map ::const_iterator _iter97; + for (_iter97 = this->my_enum_string_map.begin(); _iter97 != this->my_enum_string_map.end(); ++_iter97) { - xfer += oprot->writeI32((int32_t)_iter95->first); - xfer += oprot->writeString(_iter95->second); + xfer += oprot->writeI32((int32_t)_iter97->first); + xfer += oprot->writeString(_iter97->second); } xfer += oprot->writeMapEnd(); } @@ -587,11 +733,11 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_enum_struct_map", ::apache::thrift::protocol::T_MAP, 12); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRUCT, static_cast(this->my_enum_struct_map.size())); - std::map ::const_iterator _iter96; - for (_iter96 = this->my_enum_struct_map.begin(); _iter96 != this->my_enum_struct_map.end(); ++_iter96) + std::map ::const_iterator _iter98; + for (_iter98 = this->my_enum_struct_map.begin(); _iter98 != this->my_enum_struct_map.end(); ++_iter98) { - xfer += oprot->writeI32((int32_t)_iter96->first); - xfer += _iter96->second.write(oprot); + xfer += oprot->writeI32((int32_t)_iter98->first); + xfer += _iter98->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -601,16 +747,16 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_enum_stringlist_map", ::apache::thrift::protocol::T_MAP, 13); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_LIST, static_cast(this->my_enum_stringlist_map.size())); - std::map > ::const_iterator _iter97; - for (_iter97 = this->my_enum_stringlist_map.begin(); _iter97 != this->my_enum_stringlist_map.end(); ++_iter97) + std::map > ::const_iterator _iter99; + for (_iter99 = this->my_enum_stringlist_map.begin(); _iter99 != this->my_enum_stringlist_map.end(); ++_iter99) { - xfer += oprot->writeI32((int32_t)_iter97->first); + xfer += oprot->writeI32((int32_t)_iter99->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(_iter97->second.size())); - std::vector ::const_iterator _iter98; - for (_iter98 = _iter97->second.begin(); _iter98 != _iter97->second.end(); ++_iter98) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(_iter99->second.size())); + std::vector ::const_iterator _iter100; + for (_iter100 = _iter99->second.begin(); _iter100 != _iter99->second.end(); ++_iter100) { - xfer += oprot->writeString((*_iter98)); + xfer += oprot->writeString((*_iter100)); } xfer += oprot->writeListEnd(); } @@ -623,16 +769,16 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_enum_structlist_map", ::apache::thrift::protocol::T_MAP, 14); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_LIST, static_cast(this->my_enum_structlist_map.size())); - std::map > ::const_iterator _iter99; - for (_iter99 = this->my_enum_structlist_map.begin(); _iter99 != this->my_enum_structlist_map.end(); ++_iter99) + std::map > ::const_iterator _iter101; + for (_iter101 = this->my_enum_structlist_map.begin(); _iter101 != this->my_enum_structlist_map.end(); ++_iter101) { - xfer += oprot->writeI32((int32_t)_iter99->first); + xfer += oprot->writeI32((int32_t)_iter101->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter99->second.size())); - std::vector ::const_iterator _iter100; - for (_iter100 = _iter99->second.begin(); _iter100 != _iter99->second.end(); ++_iter100) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter101->second.size())); + std::vector ::const_iterator _iter102; + for (_iter102 = _iter101->second.begin(); _iter102 != _iter101->second.end(); ++_iter102) { - xfer += (*_iter100).write(oprot); + xfer += (*_iter102).write(oprot); } xfer += oprot->writeListEnd(); } @@ -645,10 +791,10 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_stringlist", ::apache::thrift::protocol::T_LIST, 15); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->my_stringlist.size())); - std::vector ::const_iterator _iter101; - for (_iter101 = this->my_stringlist.begin(); _iter101 != this->my_stringlist.end(); ++_iter101) + std::vector ::const_iterator _iter103; + for (_iter103 = this->my_stringlist.begin(); _iter103 != this->my_stringlist.end(); ++_iter103) { - xfer += oprot->writeString((*_iter101)); + xfer += oprot->writeString((*_iter103)); } xfer += oprot->writeListEnd(); } @@ -658,10 +804,10 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_structlist", ::apache::thrift::protocol::T_LIST, 16); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->my_structlist.size())); - std::vector ::const_iterator _iter102; - for (_iter102 = this->my_structlist.begin(); _iter102 != this->my_structlist.end(); ++_iter102) + std::vector ::const_iterator _iter104; + for (_iter104 = this->my_structlist.begin(); _iter104 != this->my_structlist.end(); ++_iter104) { - xfer += (*_iter102).write(oprot); + xfer += (*_iter104).write(oprot); } xfer += oprot->writeListEnd(); } @@ -671,10 +817,10 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_enumlist", ::apache::thrift::protocol::T_LIST, 17); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast(this->my_enumlist.size())); - std::vector ::const_iterator _iter103; - for (_iter103 = this->my_enumlist.begin(); _iter103 != this->my_enumlist.end(); ++_iter103) + std::vector ::const_iterator _iter105; + for (_iter105 = this->my_enumlist.begin(); _iter105 != this->my_enumlist.end(); ++_iter105) { - xfer += oprot->writeI32((int32_t)(*_iter103)); + xfer += oprot->writeI32((int32_t)(*_iter105)); } xfer += oprot->writeListEnd(); } @@ -684,10 +830,10 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_stringset", ::apache::thrift::protocol::T_SET, 18); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->my_stringset.size())); - std::set ::const_iterator _iter104; - for (_iter104 = this->my_stringset.begin(); _iter104 != this->my_stringset.end(); ++_iter104) + std::set ::const_iterator _iter106; + for (_iter106 = this->my_stringset.begin(); _iter106 != this->my_stringset.end(); ++_iter106) { - xfer += oprot->writeString((*_iter104)); + xfer += oprot->writeString((*_iter106)); } xfer += oprot->writeSetEnd(); } @@ -697,10 +843,10 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_enumset", ::apache::thrift::protocol::T_SET, 19); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I32, static_cast(this->my_enumset.size())); - std::set ::const_iterator _iter105; - for (_iter105 = this->my_enumset.begin(); _iter105 != this->my_enumset.end(); ++_iter105) + std::set ::const_iterator _iter107; + for (_iter107 = this->my_enumset.begin(); _iter107 != this->my_enumset.end(); ++_iter107) { - xfer += oprot->writeI32((int32_t)(*_iter105)); + xfer += oprot->writeI32((int32_t)(*_iter107)); } xfer += oprot->writeSetEnd(); } @@ -710,10 +856,10 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("my_structset", ::apache::thrift::protocol::T_SET, 20); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->my_structset.size())); - std::set ::const_iterator _iter106; - for (_iter106 = this->my_structset.begin(); _iter106 != this->my_structset.end(); ++_iter106) + std::set ::const_iterator _iter108; + for (_iter108 = this->my_structset.begin(); _iter108 != this->my_structset.end(); ++_iter108) { - xfer += (*_iter106).write(oprot); + xfer += (*_iter108).write(oprot); } xfer += oprot->writeSetEnd(); } @@ -721,6 +867,7 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -749,4 +896,78 @@ void swap(MegaStruct &a, MegaStruct &b) { swap(a.__isset, b.__isset); } +MegaStruct::MegaStruct(const MegaStruct& other109) { + my_bool = other109.my_bool; + my_byte = other109.my_byte; + my_16bit_int = other109.my_16bit_int; + my_32bit_int = other109.my_32bit_int; + my_64bit_int = other109.my_64bit_int; + my_double = other109.my_double; + my_string = other109.my_string; + my_binary = other109.my_binary; + my_string_string_map = other109.my_string_string_map; + my_string_enum_map = other109.my_string_enum_map; + my_enum_string_map = other109.my_enum_string_map; + my_enum_struct_map = other109.my_enum_struct_map; + my_enum_stringlist_map = other109.my_enum_stringlist_map; + my_enum_structlist_map = other109.my_enum_structlist_map; + my_stringlist = other109.my_stringlist; + my_structlist = other109.my_structlist; + my_enumlist = other109.my_enumlist; + my_stringset = other109.my_stringset; + my_enumset = other109.my_enumset; + my_structset = other109.my_structset; + __isset = other109.__isset; +} +MegaStruct& MegaStruct::operator=(const MegaStruct& other110) { + my_bool = other110.my_bool; + my_byte = other110.my_byte; + my_16bit_int = other110.my_16bit_int; + my_32bit_int = other110.my_32bit_int; + my_64bit_int = other110.my_64bit_int; + my_double = other110.my_double; + my_string = other110.my_string; + my_binary = other110.my_binary; + my_string_string_map = other110.my_string_string_map; + my_string_enum_map = other110.my_string_enum_map; + my_enum_string_map = other110.my_enum_string_map; + my_enum_struct_map = other110.my_enum_struct_map; + my_enum_stringlist_map = other110.my_enum_stringlist_map; + my_enum_structlist_map = other110.my_enum_structlist_map; + my_stringlist = other110.my_stringlist; + my_structlist = other110.my_structlist; + my_enumlist = other110.my_enumlist; + my_stringset = other110.my_stringset; + my_enumset = other110.my_enumset; + my_structset = other110.my_structset; + __isset = other110.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const MegaStruct& obj) { + using apache::thrift::to_string; + out << "MegaStruct("; + out << "my_bool="; (obj.__isset.my_bool ? (out << to_string(obj.my_bool)) : (out << "")); + out << ", " << "my_byte="; (obj.__isset.my_byte ? (out << to_string(obj.my_byte)) : (out << "")); + out << ", " << "my_16bit_int="; (obj.__isset.my_16bit_int ? (out << to_string(obj.my_16bit_int)) : (out << "")); + out << ", " << "my_32bit_int="; (obj.__isset.my_32bit_int ? (out << to_string(obj.my_32bit_int)) : (out << "")); + out << ", " << "my_64bit_int="; (obj.__isset.my_64bit_int ? (out << to_string(obj.my_64bit_int)) : (out << "")); + out << ", " << "my_double="; (obj.__isset.my_double ? (out << to_string(obj.my_double)) : (out << "")); + out << ", " << "my_string="; (obj.__isset.my_string ? (out << to_string(obj.my_string)) : (out << "")); + out << ", " << "my_binary="; (obj.__isset.my_binary ? (out << to_string(obj.my_binary)) : (out << "")); + out << ", " << "my_string_string_map="; (obj.__isset.my_string_string_map ? (out << to_string(obj.my_string_string_map)) : (out << "")); + out << ", " << "my_string_enum_map="; (obj.__isset.my_string_enum_map ? (out << to_string(obj.my_string_enum_map)) : (out << "")); + out << ", " << "my_enum_string_map="; (obj.__isset.my_enum_string_map ? (out << to_string(obj.my_enum_string_map)) : (out << "")); + out << ", " << "my_enum_struct_map="; (obj.__isset.my_enum_struct_map ? (out << to_string(obj.my_enum_struct_map)) : (out << "")); + out << ", " << "my_enum_stringlist_map="; (obj.__isset.my_enum_stringlist_map ? (out << to_string(obj.my_enum_stringlist_map)) : (out << "")); + out << ", " << "my_enum_structlist_map="; (obj.__isset.my_enum_structlist_map ? (out << to_string(obj.my_enum_structlist_map)) : (out << "")); + out << ", " << "my_stringlist="; (obj.__isset.my_stringlist ? (out << to_string(obj.my_stringlist)) : (out << "")); + out << ", " << "my_structlist="; (obj.__isset.my_structlist ? (out << to_string(obj.my_structlist)) : (out << "")); + out << ", " << "my_enumlist="; (obj.__isset.my_enumlist ? (out << to_string(obj.my_enumlist)) : (out << "")); + out << ", " << "my_stringset="; (obj.__isset.my_stringset ? (out << to_string(obj.my_stringset)) : (out << "")); + out << ", " << "my_enumset="; (obj.__isset.my_enumset ? (out << to_string(obj.my_enumset)) : (out << "")); + out << ", " << "my_structset="; (obj.__isset.my_structset ? (out << to_string(obj.my_structset)) : (out << "")); + out << ")"; + return out; +} + diff --git a/serde/src/gen/thrift/gen-cpp/megastruct_types.h b/serde/src/gen/thrift/gen-cpp/megastruct_types.h index b5a8295..e4985dc 100644 --- a/serde/src/gen/thrift/gen-cpp/megastruct_types.h +++ b/serde/src/gen/thrift/gen-cpp/megastruct_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,11 +7,14 @@ #ifndef megastruct_TYPES_H #define megastruct_TYPES_H +#include + #include #include #include #include +#include @@ -25,10 +28,14 @@ struct MyEnum { extern const std::map _MyEnum_VALUES_TO_NAMES; +class MiniStruct; + +class MegaStruct; + typedef struct _MiniStruct__isset { _MiniStruct__isset() : my_string(false), my_enum(false) {} - bool my_string; - bool my_enum; + bool my_string :1; + bool my_enum :1; } _MiniStruct__isset; class MiniStruct { @@ -37,25 +44,20 @@ class MiniStruct { static const char* ascii_fingerprint; // = "4ED2B10931906B61ED0B1592EE860A37"; static const uint8_t binary_fingerprint[16]; // = {0x4E,0xD2,0xB1,0x09,0x31,0x90,0x6B,0x61,0xED,0x0B,0x15,0x92,0xEE,0x86,0x0A,0x37}; + MiniStruct(const MiniStruct&); + MiniStruct& operator=(const MiniStruct&); MiniStruct() : my_string(), my_enum((MyEnum::type)0) { } - virtual ~MiniStruct() throw() {} - + virtual ~MiniStruct() throw(); std::string my_string; MyEnum::type my_enum; _MiniStruct__isset __isset; - void __set_my_string(const std::string& val) { - my_string = val; - __isset.my_string = true; - } + void __set_my_string(const std::string& val); - void __set_my_enum(const MyEnum::type val) { - my_enum = val; - __isset.my_enum = true; - } + void __set_my_enum(const MyEnum::type val); bool operator == (const MiniStruct & rhs) const { @@ -78,32 +80,33 @@ class MiniStruct { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const MiniStruct& obj); }; void swap(MiniStruct &a, MiniStruct &b); typedef struct _MegaStruct__isset { _MegaStruct__isset() : my_bool(false), my_byte(false), my_16bit_int(false), my_32bit_int(false), my_64bit_int(false), my_double(false), my_string(false), my_binary(false), my_string_string_map(false), my_string_enum_map(false), my_enum_string_map(false), my_enum_struct_map(false), my_enum_stringlist_map(false), my_enum_structlist_map(false), my_stringlist(false), my_structlist(false), my_enumlist(false), my_stringset(false), my_enumset(false), my_structset(false) {} - bool my_bool; - bool my_byte; - bool my_16bit_int; - bool my_32bit_int; - bool my_64bit_int; - bool my_double; - bool my_string; - bool my_binary; - bool my_string_string_map; - bool my_string_enum_map; - bool my_enum_string_map; - bool my_enum_struct_map; - bool my_enum_stringlist_map; - bool my_enum_structlist_map; - bool my_stringlist; - bool my_structlist; - bool my_enumlist; - bool my_stringset; - bool my_enumset; - bool my_structset; + bool my_bool :1; + bool my_byte :1; + bool my_16bit_int :1; + bool my_32bit_int :1; + bool my_64bit_int :1; + bool my_double :1; + bool my_string :1; + bool my_binary :1; + bool my_string_string_map :1; + bool my_string_enum_map :1; + bool my_enum_string_map :1; + bool my_enum_struct_map :1; + bool my_enum_stringlist_map :1; + bool my_enum_structlist_map :1; + bool my_stringlist :1; + bool my_structlist :1; + bool my_enumlist :1; + bool my_stringset :1; + bool my_enumset :1; + bool my_structset :1; } _MegaStruct__isset; class MegaStruct { @@ -112,11 +115,12 @@ class MegaStruct { static const char* ascii_fingerprint; // = "9979EEF0CA19988228E64220A3AA9120"; static const uint8_t binary_fingerprint[16]; // = {0x99,0x79,0xEE,0xF0,0xCA,0x19,0x98,0x82,0x28,0xE6,0x42,0x20,0xA3,0xAA,0x91,0x20}; + MegaStruct(const MegaStruct&); + MegaStruct& operator=(const MegaStruct&); MegaStruct() : my_bool(0), my_byte(0), my_16bit_int(0), my_32bit_int(0), my_64bit_int(0), my_double(0), my_string(), my_binary() { } - virtual ~MegaStruct() throw() {} - + virtual ~MegaStruct() throw(); bool my_bool; int8_t my_byte; int16_t my_16bit_int; @@ -140,105 +144,45 @@ class MegaStruct { _MegaStruct__isset __isset; - void __set_my_bool(const bool val) { - my_bool = val; - __isset.my_bool = true; - } + void __set_my_bool(const bool val); - void __set_my_byte(const int8_t val) { - my_byte = val; - __isset.my_byte = true; - } + void __set_my_byte(const int8_t val); - void __set_my_16bit_int(const int16_t val) { - my_16bit_int = val; - __isset.my_16bit_int = true; - } + void __set_my_16bit_int(const int16_t val); - void __set_my_32bit_int(const int32_t val) { - my_32bit_int = val; - __isset.my_32bit_int = true; - } + void __set_my_32bit_int(const int32_t val); - void __set_my_64bit_int(const int64_t val) { - my_64bit_int = val; - __isset.my_64bit_int = true; - } + void __set_my_64bit_int(const int64_t val); - void __set_my_double(const double val) { - my_double = val; - __isset.my_double = true; - } + void __set_my_double(const double val); - void __set_my_string(const std::string& val) { - my_string = val; - __isset.my_string = true; - } + void __set_my_string(const std::string& val); - void __set_my_binary(const std::string& val) { - my_binary = val; - __isset.my_binary = true; - } + void __set_my_binary(const std::string& val); - void __set_my_string_string_map(const std::map & val) { - my_string_string_map = val; - __isset.my_string_string_map = true; - } + void __set_my_string_string_map(const std::map & val); - void __set_my_string_enum_map(const std::map & val) { - my_string_enum_map = val; - __isset.my_string_enum_map = true; - } + void __set_my_string_enum_map(const std::map & val); - void __set_my_enum_string_map(const std::map & val) { - my_enum_string_map = val; - __isset.my_enum_string_map = true; - } + void __set_my_enum_string_map(const std::map & val); - void __set_my_enum_struct_map(const std::map & val) { - my_enum_struct_map = val; - __isset.my_enum_struct_map = true; - } + void __set_my_enum_struct_map(const std::map & val); - void __set_my_enum_stringlist_map(const std::map > & val) { - my_enum_stringlist_map = val; - __isset.my_enum_stringlist_map = true; - } + void __set_my_enum_stringlist_map(const std::map > & val); - void __set_my_enum_structlist_map(const std::map > & val) { - my_enum_structlist_map = val; - __isset.my_enum_structlist_map = true; - } + void __set_my_enum_structlist_map(const std::map > & val); - void __set_my_stringlist(const std::vector & val) { - my_stringlist = val; - __isset.my_stringlist = true; - } + void __set_my_stringlist(const std::vector & val); - void __set_my_structlist(const std::vector & val) { - my_structlist = val; - __isset.my_structlist = true; - } + void __set_my_structlist(const std::vector & val); - void __set_my_enumlist(const std::vector & val) { - my_enumlist = val; - __isset.my_enumlist = true; - } + void __set_my_enumlist(const std::vector & val); - void __set_my_stringset(const std::set & val) { - my_stringset = val; - __isset.my_stringset = true; - } + void __set_my_stringset(const std::set & val); - void __set_my_enumset(const std::set & val) { - my_enumset = val; - __isset.my_enumset = true; - } + void __set_my_enumset(const std::set & val); - void __set_my_structset(const std::set & val) { - my_structset = val; - __isset.my_structset = true; - } + void __set_my_structset(const std::set & val); bool operator == (const MegaStruct & rhs) const { @@ -333,6 +277,7 @@ class MegaStruct { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const MegaStruct& obj); }; void swap(MegaStruct &a, MegaStruct &b); diff --git a/serde/src/gen/thrift/gen-cpp/serde_constants.cpp b/serde/src/gen/thrift/gen-cpp/serde_constants.cpp index 5f8873b..196a46f 100644 --- a/serde/src/gen/thrift/gen-cpp/serde_constants.cpp +++ b/serde/src/gen/thrift/gen-cpp/serde_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/serde/src/gen/thrift/gen-cpp/serde_constants.h b/serde/src/gen/thrift/gen-cpp/serde_constants.h index 4f2018b..36bd175 100644 --- a/serde/src/gen/thrift/gen-cpp/serde_constants.h +++ b/serde/src/gen/thrift/gen-cpp/serde_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/serde/src/gen/thrift/gen-cpp/serde_types.cpp b/serde/src/gen/thrift/gen-cpp/serde_types.cpp index 20d1fbd..a37ff7c 100644 --- a/serde/src/gen/thrift/gen-cpp/serde_types.cpp +++ b/serde/src/gen/thrift/gen-cpp/serde_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,6 +7,9 @@ #include "serde_types.h" #include +#include + +#include namespace Hive { diff --git a/serde/src/gen/thrift/gen-cpp/serde_types.h b/serde/src/gen/thrift/gen-cpp/serde_types.h index 7fafa7d..eb7659a 100644 --- a/serde/src/gen/thrift/gen-cpp/serde_types.h +++ b/serde/src/gen/thrift/gen-cpp/serde_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,11 +7,14 @@ #ifndef serde_TYPES_H #define serde_TYPES_H +#include + #include #include #include #include +#include namespace Hive { diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp b/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp index 3dbbf1b..0fa57e7 100644 --- a/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp +++ b/serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_constants.h b/serde/src/gen/thrift/gen-cpp/testthrift_constants.h index 76e5f0c..cba3296 100644 --- a/serde/src/gen/thrift/gen-cpp/testthrift_constants.h +++ b/serde/src/gen/thrift/gen-cpp/testthrift_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp b/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp index 7949f23..0cd19b9 100644 --- a/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp +++ b/serde/src/gen/thrift/gen-cpp/testthrift_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,9 +7,21 @@ #include "testthrift_types.h" #include +#include +#include + + +InnerStruct::~InnerStruct() throw() { +} + + +void InnerStruct::__set_field0(const int32_t val) { + this->field0 = val; +} + const char* InnerStruct::ascii_fingerprint = "E86CACEB22240450EDCBEFC3A83970E4"; const uint8_t InnerStruct::binary_fingerprint[16] = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; @@ -55,6 +67,7 @@ uint32_t InnerStruct::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t InnerStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("InnerStruct"); xfer += oprot->writeFieldBegin("field0", ::apache::thrift::protocol::T_I32, 1); @@ -63,6 +76,7 @@ uint32_t InnerStruct::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -72,6 +86,40 @@ void swap(InnerStruct &a, InnerStruct &b) { swap(a.__isset, b.__isset); } +InnerStruct::InnerStruct(const InnerStruct& other0) { + field0 = other0.field0; + __isset = other0.__isset; +} +InnerStruct& InnerStruct::operator=(const InnerStruct& other1) { + field0 = other1.field0; + __isset = other1.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const InnerStruct& obj) { + using apache::thrift::to_string; + out << "InnerStruct("; + out << "field0=" << to_string(obj.field0); + out << ")"; + return out; +} + + +ThriftTestObj::~ThriftTestObj() throw() { +} + + +void ThriftTestObj::__set_field1(const int32_t val) { + this->field1 = val; +} + +void ThriftTestObj::__set_field2(const std::string& val) { + this->field2 = val; +} + +void ThriftTestObj::__set_field3(const std::vector & val) { + this->field3 = val; +} + const char* ThriftTestObj::ascii_fingerprint = "2BA5D8DAACFBBE6599779830A6185706"; const uint8_t ThriftTestObj::binary_fingerprint[16] = {0x2B,0xA5,0xD8,0xDA,0xAC,0xFB,0xBE,0x65,0x99,0x77,0x98,0x30,0xA6,0x18,0x57,0x06}; @@ -115,14 +163,14 @@ uint32_t ThriftTestObj::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->field3.clear(); - uint32_t _size0; - ::apache::thrift::protocol::TType _etype3; - xfer += iprot->readListBegin(_etype3, _size0); - this->field3.resize(_size0); - uint32_t _i4; - for (_i4 = 0; _i4 < _size0; ++_i4) + uint32_t _size2; + ::apache::thrift::protocol::TType _etype5; + xfer += iprot->readListBegin(_etype5, _size2); + this->field3.resize(_size2); + uint32_t _i6; + for (_i6 = 0; _i6 < _size2; ++_i6) { - xfer += this->field3[_i4].read(iprot); + xfer += this->field3[_i6].read(iprot); } xfer += iprot->readListEnd(); } @@ -145,6 +193,7 @@ uint32_t ThriftTestObj::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftTestObj"); xfer += oprot->writeFieldBegin("field1", ::apache::thrift::protocol::T_I32, 1); @@ -158,10 +207,10 @@ uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("field3", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->field3.size())); - std::vector ::const_iterator _iter5; - for (_iter5 = this->field3.begin(); _iter5 != this->field3.end(); ++_iter5) + std::vector ::const_iterator _iter7; + for (_iter7 = this->field3.begin(); _iter7 != this->field3.end(); ++_iter7) { - xfer += (*_iter5).write(oprot); + xfer += (*_iter7).write(oprot); } xfer += oprot->writeListEnd(); } @@ -169,6 +218,7 @@ uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -180,4 +230,27 @@ void swap(ThriftTestObj &a, ThriftTestObj &b) { swap(a.__isset, b.__isset); } +ThriftTestObj::ThriftTestObj(const ThriftTestObj& other8) { + field1 = other8.field1; + field2 = other8.field2; + field3 = other8.field3; + __isset = other8.__isset; +} +ThriftTestObj& ThriftTestObj::operator=(const ThriftTestObj& other9) { + field1 = other9.field1; + field2 = other9.field2; + field3 = other9.field3; + __isset = other9.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj) { + using apache::thrift::to_string; + out << "ThriftTestObj("; + out << "field1=" << to_string(obj.field1); + out << ", " << "field2=" << to_string(obj.field2); + out << ", " << "field3=" << to_string(obj.field3); + out << ")"; + return out; +} + diff --git a/serde/src/gen/thrift/gen-cpp/testthrift_types.h b/serde/src/gen/thrift/gen-cpp/testthrift_types.h index 6c84b9f..8c57e48 100644 --- a/serde/src/gen/thrift/gen-cpp/testthrift_types.h +++ b/serde/src/gen/thrift/gen-cpp/testthrift_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,18 +7,25 @@ #ifndef testthrift_TYPES_H #define testthrift_TYPES_H +#include + #include #include #include #include +#include + + +class InnerStruct; +class ThriftTestObj; typedef struct _InnerStruct__isset { _InnerStruct__isset() : field0(false) {} - bool field0; + bool field0 :1; } _InnerStruct__isset; class InnerStruct { @@ -27,18 +34,17 @@ class InnerStruct { static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4"; static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; + InnerStruct(const InnerStruct&); + InnerStruct& operator=(const InnerStruct&); InnerStruct() : field0(0) { } - virtual ~InnerStruct() throw() {} - + virtual ~InnerStruct() throw(); int32_t field0; _InnerStruct__isset __isset; - void __set_field0(const int32_t val) { - field0 = val; - } + void __set_field0(const int32_t val); bool operator == (const InnerStruct & rhs) const { @@ -55,15 +61,16 @@ class InnerStruct { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const InnerStruct& obj); }; void swap(InnerStruct &a, InnerStruct &b); typedef struct _ThriftTestObj__isset { _ThriftTestObj__isset() : field1(false), field2(false), field3(false) {} - bool field1; - bool field2; - bool field3; + bool field1 :1; + bool field2 :1; + bool field3 :1; } _ThriftTestObj__isset; class ThriftTestObj { @@ -72,28 +79,23 @@ class ThriftTestObj { static const char* ascii_fingerprint; // = "2BA5D8DAACFBBE6599779830A6185706"; static const uint8_t binary_fingerprint[16]; // = {0x2B,0xA5,0xD8,0xDA,0xAC,0xFB,0xBE,0x65,0x99,0x77,0x98,0x30,0xA6,0x18,0x57,0x06}; + ThriftTestObj(const ThriftTestObj&); + ThriftTestObj& operator=(const ThriftTestObj&); ThriftTestObj() : field1(0), field2() { } - virtual ~ThriftTestObj() throw() {} - + virtual ~ThriftTestObj() throw(); int32_t field1; std::string field2; std::vector field3; _ThriftTestObj__isset __isset; - void __set_field1(const int32_t val) { - field1 = val; - } + void __set_field1(const int32_t val); - void __set_field2(const std::string& val) { - field2 = val; - } + void __set_field2(const std::string& val); - void __set_field3(const std::vector & val) { - field3 = val; - } + void __set_field3(const std::vector & val); bool operator == (const ThriftTestObj & rhs) const { @@ -114,6 +116,7 @@ class ThriftTestObj { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj); }; void swap(ThriftTestObj &a, ThriftTestObj &b); diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java index 5f3001d..f12d4c7 100644 --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.serde; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class serdeConstants { public static final String SERIALIZATION_LIB = "serialization.lib"; diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java index 72a28ae..f2345a7 100644 --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.serde.test; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class InnerStruct implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class InnerStruct implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerStruct"); private static final org.apache.thrift.protocol.TField FIELD0_FIELD_DESC = new org.apache.thrift.protocol.TField("field0", org.apache.thrift.protocol.TType.I32, (short)1); @@ -227,30 +231,30 @@ public boolean equals(InnerStruct that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_field0 = true; - builder.append(present_field0); + list.add(present_field0); if (present_field0) - builder.append(field0); + list.add(field0); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(InnerStruct other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - InnerStruct typedOther = (InnerStruct)other; - lastComparison = Boolean.valueOf(isSetField0()).compareTo(typedOther.isSetField0()); + lastComparison = Boolean.valueOf(isSetField0()).compareTo(other.isSetField0()); if (lastComparison != 0) { return lastComparison; } if (isSetField0()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.field0, typedOther.field0); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.field0, other.field0); if (lastComparison != 0) { return lastComparison; } diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java index dda3c5f..42b7a86 100644 --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.serde.test; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class ThriftTestObj implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class ThriftTestObj implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ThriftTestObj"); private static final org.apache.thrift.protocol.TField FIELD1_FIELD_DESC = new org.apache.thrift.protocol.TField("field1", org.apache.thrift.protocol.TType.I32, (short)1); @@ -154,7 +158,7 @@ public ThriftTestObj(ThriftTestObj other) { this.field2 = other.field2; } if (other.isSetField3()) { - List __this__field3 = new ArrayList(); + List __this__field3 = new ArrayList(other.field3.size()); for (InnerStruct other_element : other.field3) { __this__field3.add(new InnerStruct(other_element)); } @@ -363,60 +367,60 @@ public boolean equals(ThriftTestObj that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_field1 = true; - builder.append(present_field1); + list.add(present_field1); if (present_field1) - builder.append(field1); + list.add(field1); boolean present_field2 = true && (isSetField2()); - builder.append(present_field2); + list.add(present_field2); if (present_field2) - builder.append(field2); + list.add(field2); boolean present_field3 = true && (isSetField3()); - builder.append(present_field3); + list.add(present_field3); if (present_field3) - builder.append(field3); + list.add(field3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ThriftTestObj other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ThriftTestObj typedOther = (ThriftTestObj)other; - lastComparison = Boolean.valueOf(isSetField1()).compareTo(typedOther.isSetField1()); + lastComparison = Boolean.valueOf(isSetField1()).compareTo(other.isSetField1()); if (lastComparison != 0) { return lastComparison; } if (isSetField1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.field1, typedOther.field1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.field1, other.field1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetField2()).compareTo(typedOther.isSetField2()); + lastComparison = Boolean.valueOf(isSetField2()).compareTo(other.isSetField2()); if (lastComparison != 0) { return lastComparison; } if (isSetField2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.field2, typedOther.field2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.field2, other.field2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetField3()).compareTo(typedOther.isSetField3()); + lastComparison = Boolean.valueOf(isSetField3()).compareTo(other.isSetField3()); if (lastComparison != 0) { return lastComparison; } if (isSetField3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.field3, typedOther.field3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.field3, other.field3); if (lastComparison != 0) { return lastComparison; } @@ -526,12 +530,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ThriftTestObj struc { org.apache.thrift.protocol.TList _list0 = iprot.readListBegin(); struct.field3 = new ArrayList(_list0.size); - for (int _i1 = 0; _i1 < _list0.size; ++_i1) + InnerStruct _elem1; + for (int _i2 = 0; _i2 < _list0.size; ++_i2) { - InnerStruct _elem2; // optional - _elem2 = new InnerStruct(); - _elem2.read(iprot); - struct.field3.add(_elem2); + _elem1 = new InnerStruct(); + _elem1.read(iprot); + struct.field3.add(_elem1); } iprot.readListEnd(); } @@ -634,12 +638,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ThriftTestObj struct { org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.field3 = new ArrayList(_list5.size); - for (int _i6 = 0; _i6 < _list5.size; ++_i6) + InnerStruct _elem6; + for (int _i7 = 0; _i7 < _list5.size; ++_i7) { - InnerStruct _elem7; // optional - _elem7 = new InnerStruct(); - _elem7.read(iprot); - struct.field3.add(_elem7); + _elem6 = new InnerStruct(); + _elem6.read(iprot); + struct.field3.add(_elem6); } } struct.setField3IsSet(true); diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java index ff0c1f2..3ec7782 100644 --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.serde2.thrift.test; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class Complex implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class Complex implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Complex"); private static final org.apache.thrift.protocol.TField AINT_FIELD_DESC = new org.apache.thrift.protocol.TField("aint", org.apache.thrift.protocol.TType.I32, (short)1); @@ -227,43 +231,26 @@ public Complex(Complex other) { this.aString = other.aString; } if (other.isSetLint()) { - List __this__lint = new ArrayList(); - for (Integer other_element : other.lint) { - __this__lint.add(other_element); - } + List __this__lint = new ArrayList(other.lint); this.lint = __this__lint; } if (other.isSetLString()) { - List __this__lString = new ArrayList(); - for (String other_element : other.lString) { - __this__lString.add(other_element); - } + List __this__lString = new ArrayList(other.lString); this.lString = __this__lString; } if (other.isSetLintString()) { - List __this__lintString = new ArrayList(); + List __this__lintString = new ArrayList(other.lintString.size()); for (IntString other_element : other.lintString) { __this__lintString.add(new IntString(other_element)); } this.lintString = __this__lintString; } if (other.isSetMStringString()) { - Map __this__mStringString = new HashMap(); - for (Map.Entry other_element : other.mStringString.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__mStringString_copy_key = other_element_key; - - String __this__mStringString_copy_value = other_element_value; - - __this__mStringString.put(__this__mStringString_copy_key, __this__mStringString_copy_value); - } + Map __this__mStringString = new HashMap(other.mStringString); this.mStringString = __this__mStringString; } if (other.isSetAttributes()) { - Map>> __this__attributes = new HashMap>>(); + Map>> __this__attributes = new HashMap>>(other.attributes.size()); for (Map.Entry>> other_element : other.attributes.entrySet()) { String other_element_key = other_element.getKey(); @@ -271,7 +258,7 @@ public Complex(Complex other) { String __this__attributes_copy_key = other_element_key; - Map> __this__attributes_copy_value = new HashMap>(); + Map> __this__attributes_copy_value = new HashMap>(other_element_value.size()); for (Map.Entry> other_element_value_element : other_element_value.entrySet()) { String other_element_value_element_key = other_element_value_element.getKey(); @@ -279,7 +266,7 @@ public Complex(Complex other) { String __this__attributes_copy_value_copy_key = other_element_value_element_key; - Map __this__attributes_copy_value_copy_value = new HashMap(); + Map __this__attributes_copy_value_copy_value = new HashMap(other_element_value_element_value.size()); for (Map.Entry other_element_value_element_value_element : other_element_value_element_value.entrySet()) { String other_element_value_element_value_element_key = other_element_value_element_value_element.getKey(); @@ -885,165 +872,165 @@ public boolean equals(Complex that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_aint = true; - builder.append(present_aint); + list.add(present_aint); if (present_aint) - builder.append(aint); + list.add(aint); boolean present_aString = true && (isSetAString()); - builder.append(present_aString); + list.add(present_aString); if (present_aString) - builder.append(aString); + list.add(aString); boolean present_lint = true && (isSetLint()); - builder.append(present_lint); + list.add(present_lint); if (present_lint) - builder.append(lint); + list.add(lint); boolean present_lString = true && (isSetLString()); - builder.append(present_lString); + list.add(present_lString); if (present_lString) - builder.append(lString); + list.add(lString); boolean present_lintString = true && (isSetLintString()); - builder.append(present_lintString); + list.add(present_lintString); if (present_lintString) - builder.append(lintString); + list.add(lintString); boolean present_mStringString = true && (isSetMStringString()); - builder.append(present_mStringString); + list.add(present_mStringString); if (present_mStringString) - builder.append(mStringString); + list.add(mStringString); boolean present_attributes = true && (isSetAttributes()); - builder.append(present_attributes); + list.add(present_attributes); if (present_attributes) - builder.append(attributes); + list.add(attributes); boolean present_unionField1 = true && (isSetUnionField1()); - builder.append(present_unionField1); + list.add(present_unionField1); if (present_unionField1) - builder.append(unionField1); + list.add(unionField1); boolean present_unionField2 = true && (isSetUnionField2()); - builder.append(present_unionField2); + list.add(present_unionField2); if (present_unionField2) - builder.append(unionField2); + list.add(unionField2); boolean present_unionField3 = true && (isSetUnionField3()); - builder.append(present_unionField3); + list.add(present_unionField3); if (present_unionField3) - builder.append(unionField3); + list.add(unionField3); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(Complex other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - Complex typedOther = (Complex)other; - lastComparison = Boolean.valueOf(isSetAint()).compareTo(typedOther.isSetAint()); + lastComparison = Boolean.valueOf(isSetAint()).compareTo(other.isSetAint()); if (lastComparison != 0) { return lastComparison; } if (isSetAint()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aint, typedOther.aint); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aint, other.aint); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetAString()).compareTo(typedOther.isSetAString()); + lastComparison = Boolean.valueOf(isSetAString()).compareTo(other.isSetAString()); if (lastComparison != 0) { return lastComparison; } if (isSetAString()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aString, typedOther.aString); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aString, other.aString); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLint()).compareTo(typedOther.isSetLint()); + lastComparison = Boolean.valueOf(isSetLint()).compareTo(other.isSetLint()); if (lastComparison != 0) { return lastComparison; } if (isSetLint()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lint, typedOther.lint); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lint, other.lint); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLString()).compareTo(typedOther.isSetLString()); + lastComparison = Boolean.valueOf(isSetLString()).compareTo(other.isSetLString()); if (lastComparison != 0) { return lastComparison; } if (isSetLString()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lString, typedOther.lString); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lString, other.lString); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLintString()).compareTo(typedOther.isSetLintString()); + lastComparison = Boolean.valueOf(isSetLintString()).compareTo(other.isSetLintString()); if (lastComparison != 0) { return lastComparison; } if (isSetLintString()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lintString, typedOther.lintString); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lintString, other.lintString); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMStringString()).compareTo(typedOther.isSetMStringString()); + lastComparison = Boolean.valueOf(isSetMStringString()).compareTo(other.isSetMStringString()); if (lastComparison != 0) { return lastComparison; } if (isSetMStringString()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mStringString, typedOther.mStringString); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mStringString, other.mStringString); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetAttributes()).compareTo(typedOther.isSetAttributes()); + lastComparison = Boolean.valueOf(isSetAttributes()).compareTo(other.isSetAttributes()); if (lastComparison != 0) { return lastComparison; } if (isSetAttributes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, typedOther.attributes); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attributes, other.attributes); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUnionField1()).compareTo(typedOther.isSetUnionField1()); + lastComparison = Boolean.valueOf(isSetUnionField1()).compareTo(other.isSetUnionField1()); if (lastComparison != 0) { return lastComparison; } if (isSetUnionField1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unionField1, typedOther.unionField1); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unionField1, other.unionField1); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUnionField2()).compareTo(typedOther.isSetUnionField2()); + lastComparison = Boolean.valueOf(isSetUnionField2()).compareTo(other.isSetUnionField2()); if (lastComparison != 0) { return lastComparison; } if (isSetUnionField2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unionField2, typedOther.unionField2); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unionField2, other.unionField2); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUnionField3()).compareTo(typedOther.isSetUnionField3()); + lastComparison = Boolean.valueOf(isSetUnionField3()).compareTo(other.isSetUnionField3()); if (lastComparison != 0) { return lastComparison; } if (isSetUnionField3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unionField3, typedOther.unionField3); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.unionField3, other.unionField3); if (lastComparison != 0) { return lastComparison; } @@ -1209,11 +1196,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Complex struct) thr { org.apache.thrift.protocol.TList _list18 = iprot.readListBegin(); struct.lint = new ArrayList(_list18.size); - for (int _i19 = 0; _i19 < _list18.size; ++_i19) + int _elem19; + for (int _i20 = 0; _i20 < _list18.size; ++_i20) { - int _elem20; // optional - _elem20 = iprot.readI32(); - struct.lint.add(_elem20); + _elem19 = iprot.readI32(); + struct.lint.add(_elem19); } iprot.readListEnd(); } @@ -1227,11 +1214,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Complex struct) thr { org.apache.thrift.protocol.TList _list21 = iprot.readListBegin(); struct.lString = new ArrayList(_list21.size); - for (int _i22 = 0; _i22 < _list21.size; ++_i22) + String _elem22; + for (int _i23 = 0; _i23 < _list21.size; ++_i23) { - String _elem23; // optional - _elem23 = iprot.readString(); - struct.lString.add(_elem23); + _elem22 = iprot.readString(); + struct.lString.add(_elem22); } iprot.readListEnd(); } @@ -1245,12 +1232,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Complex struct) thr { org.apache.thrift.protocol.TList _list24 = iprot.readListBegin(); struct.lintString = new ArrayList(_list24.size); - for (int _i25 = 0; _i25 < _list24.size; ++_i25) + IntString _elem25; + for (int _i26 = 0; _i26 < _list24.size; ++_i26) { - IntString _elem26; // optional - _elem26 = new IntString(); - _elem26.read(iprot); - struct.lintString.add(_elem26); + _elem25 = new IntString(); + _elem25.read(iprot); + struct.lintString.add(_elem25); } iprot.readListEnd(); } @@ -1264,13 +1251,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Complex struct) thr { org.apache.thrift.protocol.TMap _map27 = iprot.readMapBegin(); struct.mStringString = new HashMap(2*_map27.size); - for (int _i28 = 0; _i28 < _map27.size; ++_i28) + String _key28; + String _val29; + for (int _i30 = 0; _i30 < _map27.size; ++_i30) { - String _key29; // required - String _val30; // required - _key29 = iprot.readString(); - _val30 = iprot.readString(); - struct.mStringString.put(_key29, _val30); + _key28 = iprot.readString(); + _val29 = iprot.readString(); + struct.mStringString.put(_key28, _val29); } iprot.readMapEnd(); } @@ -1284,38 +1271,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Complex struct) thr { org.apache.thrift.protocol.TMap _map31 = iprot.readMapBegin(); struct.attributes = new HashMap>>(2*_map31.size); - for (int _i32 = 0; _i32 < _map31.size; ++_i32) + String _key32; + Map> _val33; + for (int _i34 = 0; _i34 < _map31.size; ++_i34) { - String _key33; // required - Map> _val34; // required - _key33 = iprot.readString(); + _key32 = iprot.readString(); { org.apache.thrift.protocol.TMap _map35 = iprot.readMapBegin(); - _val34 = new HashMap>(2*_map35.size); - for (int _i36 = 0; _i36 < _map35.size; ++_i36) + _val33 = new HashMap>(2*_map35.size); + String _key36; + Map _val37; + for (int _i38 = 0; _i38 < _map35.size; ++_i38) { - String _key37; // required - Map _val38; // required - _key37 = iprot.readString(); + _key36 = iprot.readString(); { org.apache.thrift.protocol.TMap _map39 = iprot.readMapBegin(); - _val38 = new HashMap(2*_map39.size); - for (int _i40 = 0; _i40 < _map39.size; ++_i40) + _val37 = new HashMap(2*_map39.size); + String _key40; + PropValueUnion _val41; + for (int _i42 = 0; _i42 < _map39.size; ++_i42) { - String _key41; // required - PropValueUnion _val42; // required - _key41 = iprot.readString(); - _val42 = new PropValueUnion(); - _val42.read(iprot); - _val38.put(_key41, _val42); + _key40 = iprot.readString(); + _val41 = new PropValueUnion(); + _val41.read(iprot); + _val37.put(_key40, _val41); } iprot.readMapEnd(); } - _val34.put(_key37, _val38); + _val33.put(_key36, _val37); } iprot.readMapEnd(); } - struct.attributes.put(_key33, _val34); + struct.attributes.put(_key32, _val33); } iprot.readMapEnd(); } @@ -1608,11 +1595,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Complex struct) thro { org.apache.thrift.protocol.TList _list57 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); struct.lint = new ArrayList(_list57.size); - for (int _i58 = 0; _i58 < _list57.size; ++_i58) + int _elem58; + for (int _i59 = 0; _i59 < _list57.size; ++_i59) { - int _elem59; // optional - _elem59 = iprot.readI32(); - struct.lint.add(_elem59); + _elem58 = iprot.readI32(); + struct.lint.add(_elem58); } } struct.setLintIsSet(true); @@ -1621,11 +1608,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Complex struct) thro { org.apache.thrift.protocol.TList _list60 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.lString = new ArrayList(_list60.size); - for (int _i61 = 0; _i61 < _list60.size; ++_i61) + String _elem61; + for (int _i62 = 0; _i62 < _list60.size; ++_i62) { - String _elem62; // optional - _elem62 = iprot.readString(); - struct.lString.add(_elem62); + _elem61 = iprot.readString(); + struct.lString.add(_elem61); } } struct.setLStringIsSet(true); @@ -1634,12 +1621,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Complex struct) thro { org.apache.thrift.protocol.TList _list63 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.lintString = new ArrayList(_list63.size); - for (int _i64 = 0; _i64 < _list63.size; ++_i64) + IntString _elem64; + for (int _i65 = 0; _i65 < _list63.size; ++_i65) { - IntString _elem65; // optional - _elem65 = new IntString(); - _elem65.read(iprot); - struct.lintString.add(_elem65); + _elem64 = new IntString(); + _elem64.read(iprot); + struct.lintString.add(_elem64); } } struct.setLintStringIsSet(true); @@ -1648,13 +1635,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Complex struct) thro { org.apache.thrift.protocol.TMap _map66 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.mStringString = new HashMap(2*_map66.size); - for (int _i67 = 0; _i67 < _map66.size; ++_i67) + String _key67; + String _val68; + for (int _i69 = 0; _i69 < _map66.size; ++_i69) { - String _key68; // required - String _val69; // required - _key68 = iprot.readString(); - _val69 = iprot.readString(); - struct.mStringString.put(_key68, _val69); + _key67 = iprot.readString(); + _val68 = iprot.readString(); + struct.mStringString.put(_key67, _val68); } } struct.setMStringStringIsSet(true); @@ -1663,36 +1650,36 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Complex struct) thro { org.apache.thrift.protocol.TMap _map70 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.attributes = new HashMap>>(2*_map70.size); - for (int _i71 = 0; _i71 < _map70.size; ++_i71) + String _key71; + Map> _val72; + for (int _i73 = 0; _i73 < _map70.size; ++_i73) { - String _key72; // required - Map> _val73; // required - _key72 = iprot.readString(); + _key71 = iprot.readString(); { org.apache.thrift.protocol.TMap _map74 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - _val73 = new HashMap>(2*_map74.size); - for (int _i75 = 0; _i75 < _map74.size; ++_i75) + _val72 = new HashMap>(2*_map74.size); + String _key75; + Map _val76; + for (int _i77 = 0; _i77 < _map74.size; ++_i77) { - String _key76; // required - Map _val77; // required - _key76 = iprot.readString(); + _key75 = iprot.readString(); { org.apache.thrift.protocol.TMap _map78 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val77 = new HashMap(2*_map78.size); - for (int _i79 = 0; _i79 < _map78.size; ++_i79) + _val76 = new HashMap(2*_map78.size); + String _key79; + PropValueUnion _val80; + for (int _i81 = 0; _i81 < _map78.size; ++_i81) { - String _key80; // required - PropValueUnion _val81; // required - _key80 = iprot.readString(); - _val81 = new PropValueUnion(); - _val81.read(iprot); - _val77.put(_key80, _val81); + _key79 = iprot.readString(); + _val80 = new PropValueUnion(); + _val80.read(iprot); + _val76.put(_key79, _val80); } } - _val73.put(_key76, _val77); + _val72.put(_key75, _val76); } } - struct.attributes.put(_key72, _val73); + struct.attributes.put(_key71, _val72); } } struct.setAttributesIsSet(true); diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java index bd580ad..e58d400 100644 --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.serde2.thrift.test; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class IntString implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class IntString implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("IntString"); private static final org.apache.thrift.protocol.TField MYINT_FIELD_DESC = new org.apache.thrift.protocol.TField("myint", org.apache.thrift.protocol.TType.I32, (short)1); @@ -343,60 +347,60 @@ public boolean equals(IntString that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_myint = true; - builder.append(present_myint); + list.add(present_myint); if (present_myint) - builder.append(myint); + list.add(myint); boolean present_myString = true && (isSetMyString()); - builder.append(present_myString); + list.add(present_myString); if (present_myString) - builder.append(myString); + list.add(myString); boolean present_underscore_int = true; - builder.append(present_underscore_int); + list.add(present_underscore_int); if (present_underscore_int) - builder.append(underscore_int); + list.add(underscore_int); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(IntString other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - IntString typedOther = (IntString)other; - lastComparison = Boolean.valueOf(isSetMyint()).compareTo(typedOther.isSetMyint()); + lastComparison = Boolean.valueOf(isSetMyint()).compareTo(other.isSetMyint()); if (lastComparison != 0) { return lastComparison; } if (isSetMyint()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.myint, typedOther.myint); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.myint, other.myint); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMyString()).compareTo(typedOther.isSetMyString()); + lastComparison = Boolean.valueOf(isSetMyString()).compareTo(other.isSetMyString()); if (lastComparison != 0) { return lastComparison; } if (isSetMyString()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.myString, typedOther.myString); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.myString, other.myString); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUnderscore_int()).compareTo(typedOther.isSetUnderscore_int()); + lastComparison = Boolean.valueOf(isSetUnderscore_int()).compareTo(other.isSetUnderscore_int()); if (lastComparison != 0) { return lastComparison; } if (isSetUnderscore_int()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.underscore_int, typedOther.underscore_int); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.underscore_int, other.underscore_int); if (lastComparison != 0) { return lastComparison; } diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java index fba49e4..c88e9c9 100644 --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.serde2.thrift.test; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class MegaStruct implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class MegaStruct implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MegaStruct"); private static final org.apache.thrift.protocol.TField MY_BOOL_FIELD_DESC = new org.apache.thrift.protocol.TField("my_bool", org.apache.thrift.protocol.TType.BOOL, (short)1); @@ -205,7 +209,7 @@ public String getFieldName() { private static final int __MY_64BIT_INT_ISSET_ID = 4; private static final int __MY_DOUBLE_ISSET_ID = 5; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.MY_BOOL,_Fields.MY_BYTE,_Fields.MY_16BIT_INT,_Fields.MY_32BIT_INT,_Fields.MY_64BIT_INT,_Fields.MY_DOUBLE,_Fields.MY_STRING,_Fields.MY_BINARY,_Fields.MY_STRING_STRING_MAP,_Fields.MY_STRING_ENUM_MAP,_Fields.MY_ENUM_STRING_MAP,_Fields.MY_ENUM_STRUCT_MAP,_Fields.MY_ENUM_STRINGLIST_MAP,_Fields.MY_ENUM_STRUCTLIST_MAP,_Fields.MY_STRINGLIST,_Fields.MY_STRUCTLIST,_Fields.MY_ENUMLIST,_Fields.MY_STRINGSET,_Fields.MY_ENUMSET,_Fields.MY_STRUCTSET}; + private static final _Fields optionals[] = {_Fields.MY_BOOL,_Fields.MY_BYTE,_Fields.MY_16BIT_INT,_Fields.MY_32BIT_INT,_Fields.MY_64BIT_INT,_Fields.MY_DOUBLE,_Fields.MY_STRING,_Fields.MY_BINARY,_Fields.MY_STRING_STRING_MAP,_Fields.MY_STRING_ENUM_MAP,_Fields.MY_ENUM_STRING_MAP,_Fields.MY_ENUM_STRUCT_MAP,_Fields.MY_ENUM_STRINGLIST_MAP,_Fields.MY_ENUM_STRUCTLIST_MAP,_Fields.MY_STRINGLIST,_Fields.MY_STRUCTLIST,_Fields.MY_ENUMLIST,_Fields.MY_STRINGSET,_Fields.MY_ENUMSET,_Fields.MY_STRUCTSET}; 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); @@ -292,25 +296,13 @@ public MegaStruct(MegaStruct other) { } if (other.isSetMy_binary()) { this.my_binary = org.apache.thrift.TBaseHelper.copyBinary(other.my_binary); -; } if (other.isSetMy_string_string_map()) { - Map __this__my_string_string_map = new HashMap(); - for (Map.Entry other_element : other.my_string_string_map.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__my_string_string_map_copy_key = other_element_key; - - String __this__my_string_string_map_copy_value = other_element_value; - - __this__my_string_string_map.put(__this__my_string_string_map_copy_key, __this__my_string_string_map_copy_value); - } + Map __this__my_string_string_map = new HashMap(other.my_string_string_map); this.my_string_string_map = __this__my_string_string_map; } if (other.isSetMy_string_enum_map()) { - Map __this__my_string_enum_map = new HashMap(); + Map __this__my_string_enum_map = new HashMap(other.my_string_enum_map.size()); for (Map.Entry other_element : other.my_string_enum_map.entrySet()) { String other_element_key = other_element.getKey(); @@ -325,7 +317,7 @@ public MegaStruct(MegaStruct other) { this.my_string_enum_map = __this__my_string_enum_map; } if (other.isSetMy_enum_string_map()) { - Map __this__my_enum_string_map = new HashMap(); + Map __this__my_enum_string_map = new HashMap(other.my_enum_string_map.size()); for (Map.Entry other_element : other.my_enum_string_map.entrySet()) { MyEnum other_element_key = other_element.getKey(); @@ -340,7 +332,7 @@ public MegaStruct(MegaStruct other) { this.my_enum_string_map = __this__my_enum_string_map; } if (other.isSetMy_enum_struct_map()) { - Map __this__my_enum_struct_map = new HashMap(); + Map __this__my_enum_struct_map = new HashMap(other.my_enum_struct_map.size()); for (Map.Entry other_element : other.my_enum_struct_map.entrySet()) { MyEnum other_element_key = other_element.getKey(); @@ -355,7 +347,7 @@ public MegaStruct(MegaStruct other) { this.my_enum_struct_map = __this__my_enum_struct_map; } if (other.isSetMy_enum_stringlist_map()) { - Map> __this__my_enum_stringlist_map = new HashMap>(); + Map> __this__my_enum_stringlist_map = new HashMap>(other.my_enum_stringlist_map.size()); for (Map.Entry> other_element : other.my_enum_stringlist_map.entrySet()) { MyEnum other_element_key = other_element.getKey(); @@ -363,17 +355,14 @@ public MegaStruct(MegaStruct other) { MyEnum __this__my_enum_stringlist_map_copy_key = other_element_key; - List __this__my_enum_stringlist_map_copy_value = new ArrayList(); - for (String other_element_value_element : other_element_value) { - __this__my_enum_stringlist_map_copy_value.add(other_element_value_element); - } + List __this__my_enum_stringlist_map_copy_value = new ArrayList(other_element_value); __this__my_enum_stringlist_map.put(__this__my_enum_stringlist_map_copy_key, __this__my_enum_stringlist_map_copy_value); } this.my_enum_stringlist_map = __this__my_enum_stringlist_map; } if (other.isSetMy_enum_structlist_map()) { - Map> __this__my_enum_structlist_map = new HashMap>(); + Map> __this__my_enum_structlist_map = new HashMap>(other.my_enum_structlist_map.size()); for (Map.Entry> other_element : other.my_enum_structlist_map.entrySet()) { MyEnum other_element_key = other_element.getKey(); @@ -381,7 +370,7 @@ public MegaStruct(MegaStruct other) { MyEnum __this__my_enum_structlist_map_copy_key = other_element_key; - List __this__my_enum_structlist_map_copy_value = new ArrayList(); + List __this__my_enum_structlist_map_copy_value = new ArrayList(other_element_value.size()); for (MiniStruct other_element_value_element : other_element_value) { __this__my_enum_structlist_map_copy_value.add(new MiniStruct(other_element_value_element)); } @@ -391,42 +380,36 @@ public MegaStruct(MegaStruct other) { this.my_enum_structlist_map = __this__my_enum_structlist_map; } if (other.isSetMy_stringlist()) { - List __this__my_stringlist = new ArrayList(); - for (String other_element : other.my_stringlist) { - __this__my_stringlist.add(other_element); - } + List __this__my_stringlist = new ArrayList(other.my_stringlist); this.my_stringlist = __this__my_stringlist; } if (other.isSetMy_structlist()) { - List __this__my_structlist = new ArrayList(); + List __this__my_structlist = new ArrayList(other.my_structlist.size()); for (MiniStruct other_element : other.my_structlist) { __this__my_structlist.add(new MiniStruct(other_element)); } this.my_structlist = __this__my_structlist; } if (other.isSetMy_enumlist()) { - List __this__my_enumlist = new ArrayList(); + List __this__my_enumlist = new ArrayList(other.my_enumlist.size()); for (MyEnum other_element : other.my_enumlist) { __this__my_enumlist.add(other_element); } this.my_enumlist = __this__my_enumlist; } if (other.isSetMy_stringset()) { - Set __this__my_stringset = new HashSet(); - for (String other_element : other.my_stringset) { - __this__my_stringset.add(other_element); - } + Set __this__my_stringset = new HashSet(other.my_stringset); this.my_stringset = __this__my_stringset; } if (other.isSetMy_enumset()) { - Set __this__my_enumset = new HashSet(); + Set __this__my_enumset = new HashSet(other.my_enumset.size()); for (MyEnum other_element : other.my_enumset) { __this__my_enumset.add(other_element); } this.my_enumset = __this__my_enumset; } if (other.isSetMy_structset()) { - Set __this__my_structset = new HashSet(); + Set __this__my_structset = new HashSet(other.my_structset.size()); for (MiniStruct other_element : other.my_structset) { __this__my_structset.add(new MiniStruct(other_element)); } @@ -629,15 +612,15 @@ public void setMy_stringIsSet(boolean value) { } public ByteBuffer bufferForMy_binary() { - return my_binary; + return org.apache.thrift.TBaseHelper.copyBinary(my_binary); } public void setMy_binary(byte[] my_binary) { - setMy_binary(my_binary == null ? (ByteBuffer)null : ByteBuffer.wrap(my_binary)); + this.my_binary = my_binary == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(my_binary, my_binary.length)); } public void setMy_binary(ByteBuffer my_binary) { - this.my_binary = my_binary; + this.my_binary = org.apache.thrift.TBaseHelper.copyBinary(my_binary); } public void unsetMy_binary() { @@ -1567,315 +1550,315 @@ public boolean equals(MegaStruct that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_my_bool = true && (isSetMy_bool()); - builder.append(present_my_bool); + list.add(present_my_bool); if (present_my_bool) - builder.append(my_bool); + list.add(my_bool); boolean present_my_byte = true && (isSetMy_byte()); - builder.append(present_my_byte); + list.add(present_my_byte); if (present_my_byte) - builder.append(my_byte); + list.add(my_byte); boolean present_my_16bit_int = true && (isSetMy_16bit_int()); - builder.append(present_my_16bit_int); + list.add(present_my_16bit_int); if (present_my_16bit_int) - builder.append(my_16bit_int); + list.add(my_16bit_int); boolean present_my_32bit_int = true && (isSetMy_32bit_int()); - builder.append(present_my_32bit_int); + list.add(present_my_32bit_int); if (present_my_32bit_int) - builder.append(my_32bit_int); + list.add(my_32bit_int); boolean present_my_64bit_int = true && (isSetMy_64bit_int()); - builder.append(present_my_64bit_int); + list.add(present_my_64bit_int); if (present_my_64bit_int) - builder.append(my_64bit_int); + list.add(my_64bit_int); boolean present_my_double = true && (isSetMy_double()); - builder.append(present_my_double); + list.add(present_my_double); if (present_my_double) - builder.append(my_double); + list.add(my_double); boolean present_my_string = true && (isSetMy_string()); - builder.append(present_my_string); + list.add(present_my_string); if (present_my_string) - builder.append(my_string); + list.add(my_string); boolean present_my_binary = true && (isSetMy_binary()); - builder.append(present_my_binary); + list.add(present_my_binary); if (present_my_binary) - builder.append(my_binary); + list.add(my_binary); boolean present_my_string_string_map = true && (isSetMy_string_string_map()); - builder.append(present_my_string_string_map); + list.add(present_my_string_string_map); if (present_my_string_string_map) - builder.append(my_string_string_map); + list.add(my_string_string_map); boolean present_my_string_enum_map = true && (isSetMy_string_enum_map()); - builder.append(present_my_string_enum_map); + list.add(present_my_string_enum_map); if (present_my_string_enum_map) - builder.append(my_string_enum_map); + list.add(my_string_enum_map); boolean present_my_enum_string_map = true && (isSetMy_enum_string_map()); - builder.append(present_my_enum_string_map); + list.add(present_my_enum_string_map); if (present_my_enum_string_map) - builder.append(my_enum_string_map); + list.add(my_enum_string_map); boolean present_my_enum_struct_map = true && (isSetMy_enum_struct_map()); - builder.append(present_my_enum_struct_map); + list.add(present_my_enum_struct_map); if (present_my_enum_struct_map) - builder.append(my_enum_struct_map); + list.add(my_enum_struct_map); boolean present_my_enum_stringlist_map = true && (isSetMy_enum_stringlist_map()); - builder.append(present_my_enum_stringlist_map); + list.add(present_my_enum_stringlist_map); if (present_my_enum_stringlist_map) - builder.append(my_enum_stringlist_map); + list.add(my_enum_stringlist_map); boolean present_my_enum_structlist_map = true && (isSetMy_enum_structlist_map()); - builder.append(present_my_enum_structlist_map); + list.add(present_my_enum_structlist_map); if (present_my_enum_structlist_map) - builder.append(my_enum_structlist_map); + list.add(my_enum_structlist_map); boolean present_my_stringlist = true && (isSetMy_stringlist()); - builder.append(present_my_stringlist); + list.add(present_my_stringlist); if (present_my_stringlist) - builder.append(my_stringlist); + list.add(my_stringlist); boolean present_my_structlist = true && (isSetMy_structlist()); - builder.append(present_my_structlist); + list.add(present_my_structlist); if (present_my_structlist) - builder.append(my_structlist); + list.add(my_structlist); boolean present_my_enumlist = true && (isSetMy_enumlist()); - builder.append(present_my_enumlist); + list.add(present_my_enumlist); if (present_my_enumlist) - builder.append(my_enumlist); + list.add(my_enumlist); boolean present_my_stringset = true && (isSetMy_stringset()); - builder.append(present_my_stringset); + list.add(present_my_stringset); if (present_my_stringset) - builder.append(my_stringset); + list.add(my_stringset); boolean present_my_enumset = true && (isSetMy_enumset()); - builder.append(present_my_enumset); + list.add(present_my_enumset); if (present_my_enumset) - builder.append(my_enumset); + list.add(my_enumset); boolean present_my_structset = true && (isSetMy_structset()); - builder.append(present_my_structset); + list.add(present_my_structset); if (present_my_structset) - builder.append(my_structset); + list.add(my_structset); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(MegaStruct other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - MegaStruct typedOther = (MegaStruct)other; - lastComparison = Boolean.valueOf(isSetMy_bool()).compareTo(typedOther.isSetMy_bool()); + lastComparison = Boolean.valueOf(isSetMy_bool()).compareTo(other.isSetMy_bool()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_bool()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_bool, typedOther.my_bool); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_bool, other.my_bool); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_byte()).compareTo(typedOther.isSetMy_byte()); + lastComparison = Boolean.valueOf(isSetMy_byte()).compareTo(other.isSetMy_byte()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_byte()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_byte, typedOther.my_byte); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_byte, other.my_byte); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_16bit_int()).compareTo(typedOther.isSetMy_16bit_int()); + lastComparison = Boolean.valueOf(isSetMy_16bit_int()).compareTo(other.isSetMy_16bit_int()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_16bit_int()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_16bit_int, typedOther.my_16bit_int); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_16bit_int, other.my_16bit_int); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_32bit_int()).compareTo(typedOther.isSetMy_32bit_int()); + lastComparison = Boolean.valueOf(isSetMy_32bit_int()).compareTo(other.isSetMy_32bit_int()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_32bit_int()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_32bit_int, typedOther.my_32bit_int); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_32bit_int, other.my_32bit_int); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_64bit_int()).compareTo(typedOther.isSetMy_64bit_int()); + lastComparison = Boolean.valueOf(isSetMy_64bit_int()).compareTo(other.isSetMy_64bit_int()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_64bit_int()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_64bit_int, typedOther.my_64bit_int); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_64bit_int, other.my_64bit_int); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_double()).compareTo(typedOther.isSetMy_double()); + lastComparison = Boolean.valueOf(isSetMy_double()).compareTo(other.isSetMy_double()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_double()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_double, typedOther.my_double); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_double, other.my_double); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_string()).compareTo(typedOther.isSetMy_string()); + lastComparison = Boolean.valueOf(isSetMy_string()).compareTo(other.isSetMy_string()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_string()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_string, typedOther.my_string); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_string, other.my_string); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_binary()).compareTo(typedOther.isSetMy_binary()); + lastComparison = Boolean.valueOf(isSetMy_binary()).compareTo(other.isSetMy_binary()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_binary()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_binary, typedOther.my_binary); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_binary, other.my_binary); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_string_string_map()).compareTo(typedOther.isSetMy_string_string_map()); + lastComparison = Boolean.valueOf(isSetMy_string_string_map()).compareTo(other.isSetMy_string_string_map()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_string_string_map()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_string_string_map, typedOther.my_string_string_map); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_string_string_map, other.my_string_string_map); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_string_enum_map()).compareTo(typedOther.isSetMy_string_enum_map()); + lastComparison = Boolean.valueOf(isSetMy_string_enum_map()).compareTo(other.isSetMy_string_enum_map()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_string_enum_map()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_string_enum_map, typedOther.my_string_enum_map); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_string_enum_map, other.my_string_enum_map); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_enum_string_map()).compareTo(typedOther.isSetMy_enum_string_map()); + lastComparison = Boolean.valueOf(isSetMy_enum_string_map()).compareTo(other.isSetMy_enum_string_map()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_enum_string_map()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enum_string_map, typedOther.my_enum_string_map); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enum_string_map, other.my_enum_string_map); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_enum_struct_map()).compareTo(typedOther.isSetMy_enum_struct_map()); + lastComparison = Boolean.valueOf(isSetMy_enum_struct_map()).compareTo(other.isSetMy_enum_struct_map()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_enum_struct_map()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enum_struct_map, typedOther.my_enum_struct_map); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enum_struct_map, other.my_enum_struct_map); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_enum_stringlist_map()).compareTo(typedOther.isSetMy_enum_stringlist_map()); + lastComparison = Boolean.valueOf(isSetMy_enum_stringlist_map()).compareTo(other.isSetMy_enum_stringlist_map()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_enum_stringlist_map()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enum_stringlist_map, typedOther.my_enum_stringlist_map); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enum_stringlist_map, other.my_enum_stringlist_map); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_enum_structlist_map()).compareTo(typedOther.isSetMy_enum_structlist_map()); + lastComparison = Boolean.valueOf(isSetMy_enum_structlist_map()).compareTo(other.isSetMy_enum_structlist_map()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_enum_structlist_map()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enum_structlist_map, typedOther.my_enum_structlist_map); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enum_structlist_map, other.my_enum_structlist_map); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_stringlist()).compareTo(typedOther.isSetMy_stringlist()); + lastComparison = Boolean.valueOf(isSetMy_stringlist()).compareTo(other.isSetMy_stringlist()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_stringlist()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_stringlist, typedOther.my_stringlist); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_stringlist, other.my_stringlist); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_structlist()).compareTo(typedOther.isSetMy_structlist()); + lastComparison = Boolean.valueOf(isSetMy_structlist()).compareTo(other.isSetMy_structlist()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_structlist()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_structlist, typedOther.my_structlist); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_structlist, other.my_structlist); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_enumlist()).compareTo(typedOther.isSetMy_enumlist()); + lastComparison = Boolean.valueOf(isSetMy_enumlist()).compareTo(other.isSetMy_enumlist()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_enumlist()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enumlist, typedOther.my_enumlist); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enumlist, other.my_enumlist); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_stringset()).compareTo(typedOther.isSetMy_stringset()); + lastComparison = Boolean.valueOf(isSetMy_stringset()).compareTo(other.isSetMy_stringset()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_stringset()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_stringset, typedOther.my_stringset); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_stringset, other.my_stringset); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_enumset()).compareTo(typedOther.isSetMy_enumset()); + lastComparison = Boolean.valueOf(isSetMy_enumset()).compareTo(other.isSetMy_enumset()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_enumset()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enumset, typedOther.my_enumset); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enumset, other.my_enumset); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_structset()).compareTo(typedOther.isSetMy_structset()); + lastComparison = Boolean.valueOf(isSetMy_structset()).compareTo(other.isSetMy_structset()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_structset()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_structset, typedOther.my_structset); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_structset, other.my_structset); if (lastComparison != 0) { return lastComparison; } @@ -2189,13 +2172,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TMap _map0 = iprot.readMapBegin(); struct.my_string_string_map = new HashMap(2*_map0.size); - for (int _i1 = 0; _i1 < _map0.size; ++_i1) + String _key1; + String _val2; + for (int _i3 = 0; _i3 < _map0.size; ++_i3) { - String _key2; // required - String _val3; // required - _key2 = iprot.readString(); - _val3 = iprot.readString(); - struct.my_string_string_map.put(_key2, _val3); + _key1 = iprot.readString(); + _val2 = iprot.readString(); + struct.my_string_string_map.put(_key1, _val2); } iprot.readMapEnd(); } @@ -2209,13 +2192,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TMap _map4 = iprot.readMapBegin(); struct.my_string_enum_map = new HashMap(2*_map4.size); - for (int _i5 = 0; _i5 < _map4.size; ++_i5) + String _key5; + MyEnum _val6; + for (int _i7 = 0; _i7 < _map4.size; ++_i7) { - String _key6; // required - MyEnum _val7; // required - _key6 = iprot.readString(); - _val7 = MyEnum.findByValue(iprot.readI32()); - struct.my_string_enum_map.put(_key6, _val7); + _key5 = iprot.readString(); + _val6 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); + struct.my_string_enum_map.put(_key5, _val6); } iprot.readMapEnd(); } @@ -2229,13 +2212,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TMap _map8 = iprot.readMapBegin(); struct.my_enum_string_map = new HashMap(2*_map8.size); - for (int _i9 = 0; _i9 < _map8.size; ++_i9) + MyEnum _key9; + String _val10; + for (int _i11 = 0; _i11 < _map8.size; ++_i11) { - MyEnum _key10; // required - String _val11; // required - _key10 = MyEnum.findByValue(iprot.readI32()); - _val11 = iprot.readString(); - struct.my_enum_string_map.put(_key10, _val11); + _key9 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); + _val10 = iprot.readString(); + struct.my_enum_string_map.put(_key9, _val10); } iprot.readMapEnd(); } @@ -2249,14 +2232,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TMap _map12 = iprot.readMapBegin(); struct.my_enum_struct_map = new HashMap(2*_map12.size); - for (int _i13 = 0; _i13 < _map12.size; ++_i13) + MyEnum _key13; + MiniStruct _val14; + for (int _i15 = 0; _i15 < _map12.size; ++_i15) { - MyEnum _key14; // required - MiniStruct _val15; // required - _key14 = MyEnum.findByValue(iprot.readI32()); - _val15 = new MiniStruct(); - _val15.read(iprot); - struct.my_enum_struct_map.put(_key14, _val15); + _key13 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); + _val14 = new MiniStruct(); + _val14.read(iprot); + struct.my_enum_struct_map.put(_key13, _val14); } iprot.readMapEnd(); } @@ -2270,23 +2253,23 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TMap _map16 = iprot.readMapBegin(); struct.my_enum_stringlist_map = new HashMap>(2*_map16.size); - for (int _i17 = 0; _i17 < _map16.size; ++_i17) + MyEnum _key17; + List _val18; + for (int _i19 = 0; _i19 < _map16.size; ++_i19) { - MyEnum _key18; // required - List _val19; // required - _key18 = MyEnum.findByValue(iprot.readI32()); + _key17 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); { org.apache.thrift.protocol.TList _list20 = iprot.readListBegin(); - _val19 = new ArrayList(_list20.size); - for (int _i21 = 0; _i21 < _list20.size; ++_i21) + _val18 = new ArrayList(_list20.size); + String _elem21; + for (int _i22 = 0; _i22 < _list20.size; ++_i22) { - String _elem22; // optional - _elem22 = iprot.readString(); - _val19.add(_elem22); + _elem21 = iprot.readString(); + _val18.add(_elem21); } iprot.readListEnd(); } - struct.my_enum_stringlist_map.put(_key18, _val19); + struct.my_enum_stringlist_map.put(_key17, _val18); } iprot.readMapEnd(); } @@ -2300,24 +2283,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TMap _map23 = iprot.readMapBegin(); struct.my_enum_structlist_map = new HashMap>(2*_map23.size); - for (int _i24 = 0; _i24 < _map23.size; ++_i24) + MyEnum _key24; + List _val25; + for (int _i26 = 0; _i26 < _map23.size; ++_i26) { - MyEnum _key25; // required - List _val26; // required - _key25 = MyEnum.findByValue(iprot.readI32()); + _key24 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); { org.apache.thrift.protocol.TList _list27 = iprot.readListBegin(); - _val26 = new ArrayList(_list27.size); - for (int _i28 = 0; _i28 < _list27.size; ++_i28) + _val25 = new ArrayList(_list27.size); + MiniStruct _elem28; + for (int _i29 = 0; _i29 < _list27.size; ++_i29) { - MiniStruct _elem29; // optional - _elem29 = new MiniStruct(); - _elem29.read(iprot); - _val26.add(_elem29); + _elem28 = new MiniStruct(); + _elem28.read(iprot); + _val25.add(_elem28); } iprot.readListEnd(); } - struct.my_enum_structlist_map.put(_key25, _val26); + struct.my_enum_structlist_map.put(_key24, _val25); } iprot.readMapEnd(); } @@ -2331,11 +2314,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TList _list30 = iprot.readListBegin(); struct.my_stringlist = new ArrayList(_list30.size); - for (int _i31 = 0; _i31 < _list30.size; ++_i31) + String _elem31; + for (int _i32 = 0; _i32 < _list30.size; ++_i32) { - String _elem32; // optional - _elem32 = iprot.readString(); - struct.my_stringlist.add(_elem32); + _elem31 = iprot.readString(); + struct.my_stringlist.add(_elem31); } iprot.readListEnd(); } @@ -2349,12 +2332,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TList _list33 = iprot.readListBegin(); struct.my_structlist = new ArrayList(_list33.size); - for (int _i34 = 0; _i34 < _list33.size; ++_i34) + MiniStruct _elem34; + for (int _i35 = 0; _i35 < _list33.size; ++_i35) { - MiniStruct _elem35; // optional - _elem35 = new MiniStruct(); - _elem35.read(iprot); - struct.my_structlist.add(_elem35); + _elem34 = new MiniStruct(); + _elem34.read(iprot); + struct.my_structlist.add(_elem34); } iprot.readListEnd(); } @@ -2368,11 +2351,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TList _list36 = iprot.readListBegin(); struct.my_enumlist = new ArrayList(_list36.size); - for (int _i37 = 0; _i37 < _list36.size; ++_i37) + MyEnum _elem37; + for (int _i38 = 0; _i38 < _list36.size; ++_i38) { - MyEnum _elem38; // optional - _elem38 = MyEnum.findByValue(iprot.readI32()); - struct.my_enumlist.add(_elem38); + _elem37 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); + struct.my_enumlist.add(_elem37); } iprot.readListEnd(); } @@ -2386,11 +2369,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TSet _set39 = iprot.readSetBegin(); struct.my_stringset = new HashSet(2*_set39.size); - for (int _i40 = 0; _i40 < _set39.size; ++_i40) + String _elem40; + for (int _i41 = 0; _i41 < _set39.size; ++_i41) { - String _elem41; // optional - _elem41 = iprot.readString(); - struct.my_stringset.add(_elem41); + _elem40 = iprot.readString(); + struct.my_stringset.add(_elem40); } iprot.readSetEnd(); } @@ -2404,11 +2387,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TSet _set42 = iprot.readSetBegin(); struct.my_enumset = new HashSet(2*_set42.size); - for (int _i43 = 0; _i43 < _set42.size; ++_i43) + MyEnum _elem43; + for (int _i44 = 0; _i44 < _set42.size; ++_i44) { - MyEnum _elem44; // optional - _elem44 = MyEnum.findByValue(iprot.readI32()); - struct.my_enumset.add(_elem44); + _elem43 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); + struct.my_enumset.add(_elem43); } iprot.readSetEnd(); } @@ -2422,12 +2405,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) { org.apache.thrift.protocol.TSet _set45 = iprot.readSetBegin(); struct.my_structset = new HashSet(2*_set45.size); - for (int _i46 = 0; _i46 < _set45.size; ++_i46) + MiniStruct _elem46; + for (int _i47 = 0; _i47 < _set45.size; ++_i47) { - MiniStruct _elem47; // optional - _elem47 = new MiniStruct(); - _elem47.read(iprot); - struct.my_structset.add(_elem47); + _elem46 = new MiniStruct(); + _elem46.read(iprot); + struct.my_structset.add(_elem46); } iprot.readSetEnd(); } @@ -2952,13 +2935,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TMap _map76 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.my_string_string_map = new HashMap(2*_map76.size); - for (int _i77 = 0; _i77 < _map76.size; ++_i77) + String _key77; + String _val78; + for (int _i79 = 0; _i79 < _map76.size; ++_i79) { - String _key78; // required - String _val79; // required - _key78 = iprot.readString(); - _val79 = iprot.readString(); - struct.my_string_string_map.put(_key78, _val79); + _key77 = iprot.readString(); + _val78 = iprot.readString(); + struct.my_string_string_map.put(_key77, _val78); } } struct.setMy_string_string_mapIsSet(true); @@ -2967,13 +2950,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TMap _map80 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I32, iprot.readI32()); struct.my_string_enum_map = new HashMap(2*_map80.size); - for (int _i81 = 0; _i81 < _map80.size; ++_i81) + String _key81; + MyEnum _val82; + for (int _i83 = 0; _i83 < _map80.size; ++_i83) { - String _key82; // required - MyEnum _val83; // required - _key82 = iprot.readString(); - _val83 = MyEnum.findByValue(iprot.readI32()); - struct.my_string_enum_map.put(_key82, _val83); + _key81 = iprot.readString(); + _val82 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); + struct.my_string_enum_map.put(_key81, _val82); } } struct.setMy_string_enum_mapIsSet(true); @@ -2982,13 +2965,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TMap _map84 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.my_enum_string_map = new HashMap(2*_map84.size); - for (int _i85 = 0; _i85 < _map84.size; ++_i85) + MyEnum _key85; + String _val86; + for (int _i87 = 0; _i87 < _map84.size; ++_i87) { - MyEnum _key86; // required - String _val87; // required - _key86 = MyEnum.findByValue(iprot.readI32()); - _val87 = iprot.readString(); - struct.my_enum_string_map.put(_key86, _val87); + _key85 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); + _val86 = iprot.readString(); + struct.my_enum_string_map.put(_key85, _val86); } } struct.setMy_enum_string_mapIsSet(true); @@ -2997,14 +2980,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TMap _map88 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.my_enum_struct_map = new HashMap(2*_map88.size); - for (int _i89 = 0; _i89 < _map88.size; ++_i89) + MyEnum _key89; + MiniStruct _val90; + for (int _i91 = 0; _i91 < _map88.size; ++_i91) { - MyEnum _key90; // required - MiniStruct _val91; // required - _key90 = MyEnum.findByValue(iprot.readI32()); - _val91 = new MiniStruct(); - _val91.read(iprot); - struct.my_enum_struct_map.put(_key90, _val91); + _key89 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); + _val90 = new MiniStruct(); + _val90.read(iprot); + struct.my_enum_struct_map.put(_key89, _val90); } } struct.setMy_enum_struct_mapIsSet(true); @@ -3013,22 +2996,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TMap _map92 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); struct.my_enum_stringlist_map = new HashMap>(2*_map92.size); - for (int _i93 = 0; _i93 < _map92.size; ++_i93) + MyEnum _key93; + List _val94; + for (int _i95 = 0; _i95 < _map92.size; ++_i95) { - MyEnum _key94; // required - List _val95; // required - _key94 = MyEnum.findByValue(iprot.readI32()); + _key93 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); { org.apache.thrift.protocol.TList _list96 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - _val95 = new ArrayList(_list96.size); - for (int _i97 = 0; _i97 < _list96.size; ++_i97) + _val94 = new ArrayList(_list96.size); + String _elem97; + for (int _i98 = 0; _i98 < _list96.size; ++_i98) { - String _elem98; // optional - _elem98 = iprot.readString(); - _val95.add(_elem98); + _elem97 = iprot.readString(); + _val94.add(_elem97); } } - struct.my_enum_stringlist_map.put(_key94, _val95); + struct.my_enum_stringlist_map.put(_key93, _val94); } } struct.setMy_enum_stringlist_mapIsSet(true); @@ -3037,23 +3020,23 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TMap _map99 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); struct.my_enum_structlist_map = new HashMap>(2*_map99.size); - for (int _i100 = 0; _i100 < _map99.size; ++_i100) + MyEnum _key100; + List _val101; + for (int _i102 = 0; _i102 < _map99.size; ++_i102) { - MyEnum _key101; // required - List _val102; // required - _key101 = MyEnum.findByValue(iprot.readI32()); + _key100 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); { org.apache.thrift.protocol.TList _list103 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val102 = new ArrayList(_list103.size); - for (int _i104 = 0; _i104 < _list103.size; ++_i104) + _val101 = new ArrayList(_list103.size); + MiniStruct _elem104; + for (int _i105 = 0; _i105 < _list103.size; ++_i105) { - MiniStruct _elem105; // optional - _elem105 = new MiniStruct(); - _elem105.read(iprot); - _val102.add(_elem105); + _elem104 = new MiniStruct(); + _elem104.read(iprot); + _val101.add(_elem104); } } - struct.my_enum_structlist_map.put(_key101, _val102); + struct.my_enum_structlist_map.put(_key100, _val101); } } struct.setMy_enum_structlist_mapIsSet(true); @@ -3062,11 +3045,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TList _list106 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.my_stringlist = new ArrayList(_list106.size); - for (int _i107 = 0; _i107 < _list106.size; ++_i107) + String _elem107; + for (int _i108 = 0; _i108 < _list106.size; ++_i108) { - String _elem108; // optional - _elem108 = iprot.readString(); - struct.my_stringlist.add(_elem108); + _elem107 = iprot.readString(); + struct.my_stringlist.add(_elem107); } } struct.setMy_stringlistIsSet(true); @@ -3075,12 +3058,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TList _list109 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.my_structlist = new ArrayList(_list109.size); - for (int _i110 = 0; _i110 < _list109.size; ++_i110) + MiniStruct _elem110; + for (int _i111 = 0; _i111 < _list109.size; ++_i111) { - MiniStruct _elem111; // optional - _elem111 = new MiniStruct(); - _elem111.read(iprot); - struct.my_structlist.add(_elem111); + _elem110 = new MiniStruct(); + _elem110.read(iprot); + struct.my_structlist.add(_elem110); } } struct.setMy_structlistIsSet(true); @@ -3089,11 +3072,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TList _list112 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); struct.my_enumlist = new ArrayList(_list112.size); - for (int _i113 = 0; _i113 < _list112.size; ++_i113) + MyEnum _elem113; + for (int _i114 = 0; _i114 < _list112.size; ++_i114) { - MyEnum _elem114; // optional - _elem114 = MyEnum.findByValue(iprot.readI32()); - struct.my_enumlist.add(_elem114); + _elem113 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); + struct.my_enumlist.add(_elem113); } } struct.setMy_enumlistIsSet(true); @@ -3102,11 +3085,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TSet _set115 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.my_stringset = new HashSet(2*_set115.size); - for (int _i116 = 0; _i116 < _set115.size; ++_i116) + String _elem116; + for (int _i117 = 0; _i117 < _set115.size; ++_i117) { - String _elem117; // optional - _elem117 = iprot.readString(); - struct.my_stringset.add(_elem117); + _elem116 = iprot.readString(); + struct.my_stringset.add(_elem116); } } struct.setMy_stringsetIsSet(true); @@ -3115,11 +3098,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TSet _set118 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I32, iprot.readI32()); struct.my_enumset = new HashSet(2*_set118.size); - for (int _i119 = 0; _i119 < _set118.size; ++_i119) + MyEnum _elem119; + for (int _i120 = 0; _i120 < _set118.size; ++_i120) { - MyEnum _elem120; // optional - _elem120 = MyEnum.findByValue(iprot.readI32()); - struct.my_enumset.add(_elem120); + _elem119 = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); + struct.my_enumset.add(_elem119); } } struct.setMy_enumsetIsSet(true); @@ -3128,12 +3111,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t { org.apache.thrift.protocol.TSet _set121 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.my_structset = new HashSet(2*_set121.size); - for (int _i122 = 0; _i122 < _set121.size; ++_i122) + MiniStruct _elem122; + for (int _i123 = 0; _i123 < _set121.size; ++_i123) { - MiniStruct _elem123; // optional - _elem123 = new MiniStruct(); - _elem123.read(iprot); - struct.my_structset.add(_elem123); + _elem122 = new MiniStruct(); + _elem122.read(iprot); + struct.my_structset.add(_elem122); } } struct.setMy_structsetIsSet(true); diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java index b1d3946..7c66add 100644 --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.serde2.thrift.test; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class MiniStruct implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class MiniStruct implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("MiniStruct"); private static final org.apache.thrift.protocol.TField MY_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("my_string", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -112,7 +116,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.MY_STRING,_Fields.MY_ENUM}; + private static final _Fields optionals[] = {_Fields.MY_STRING,_Fields.MY_ENUM}; 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); @@ -287,45 +291,45 @@ public boolean equals(MiniStruct that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_my_string = true && (isSetMy_string()); - builder.append(present_my_string); + list.add(present_my_string); if (present_my_string) - builder.append(my_string); + list.add(my_string); boolean present_my_enum = true && (isSetMy_enum()); - builder.append(present_my_enum); + list.add(present_my_enum); if (present_my_enum) - builder.append(my_enum.getValue()); + list.add(my_enum.getValue()); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(MiniStruct other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - MiniStruct typedOther = (MiniStruct)other; - lastComparison = Boolean.valueOf(isSetMy_string()).compareTo(typedOther.isSetMy_string()); + lastComparison = Boolean.valueOf(isSetMy_string()).compareTo(other.isSetMy_string()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_string()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_string, typedOther.my_string); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_string, other.my_string); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMy_enum()).compareTo(typedOther.isSetMy_enum()); + lastComparison = Boolean.valueOf(isSetMy_enum()).compareTo(other.isSetMy_enum()); if (lastComparison != 0) { return lastComparison; } if (isSetMy_enum()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enum, typedOther.my_enum); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.my_enum, other.my_enum); if (lastComparison != 0) { return lastComparison; } @@ -422,7 +426,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MiniStruct struct) break; case 2: // MY_ENUM if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.my_enum = MyEnum.findByValue(iprot.readI32()); + struct.my_enum = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); struct.setMy_enumIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -497,7 +501,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MiniStruct struct) t struct.setMy_stringIsSet(true); } if (incoming.get(1)) { - struct.my_enum = MyEnum.findByValue(iprot.readI32()); + struct.my_enum = org.apache.hadoop.hive.serde2.thrift.test.MyEnum.findByValue(iprot.readI32()); struct.setMy_enumIsSet(true); } } diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java index 5bda9cc..03f88c5 100644 --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java index a50a508..2a70482 100644 --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.serde2.thrift.test; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class PropValueUnion extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PropValueUnion"); private static final org.apache.thrift.protocol.TField INT_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("intValue", org.apache.thrift.protocol.TType.I32, (short)1); @@ -298,11 +301,11 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip { org.apache.thrift.protocol.TList _list0 = iprot.readListBegin(); lString = new ArrayList(_list0.size); - for (int _i1 = 0; _i1 < _list0.size; ++_i1) + String _elem1; + for (int _i2 = 0; _i2 < _list0.size; ++_i2) { - String _elem2; // optional - _elem2 = iprot.readString(); - lString.add(_elem2); + _elem1 = iprot.readString(); + lString.add(_elem1); } iprot.readListEnd(); } @@ -317,13 +320,13 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip { org.apache.thrift.protocol.TMap _map3 = iprot.readMapBegin(); unionMStringString = new HashMap(2*_map3.size); - for (int _i4 = 0; _i4 < _map3.size; ++_i4) + String _key4; + String _val5; + for (int _i6 = 0; _i6 < _map3.size; ++_i6) { - String _key5; // required - String _val6; // required - _key5 = iprot.readString(); - _val6 = iprot.readString(); - unionMStringString.put(_key5, _val6); + _key4 = iprot.readString(); + _val5 = iprot.readString(); + unionMStringString.put(_key4, _val5); } iprot.readMapEnd(); } @@ -336,6 +339,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } } @@ -421,11 +425,11 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot { org.apache.thrift.protocol.TList _list9 = iprot.readListBegin(); lString = new ArrayList(_list9.size); - for (int _i10 = 0; _i10 < _list9.size; ++_i10) + String _elem10; + for (int _i11 = 0; _i11 < _list9.size; ++_i11) { - String _elem11; // optional - _elem11 = iprot.readString(); - lString.add(_elem11); + _elem10 = iprot.readString(); + lString.add(_elem10); } iprot.readListEnd(); } @@ -435,13 +439,13 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot { org.apache.thrift.protocol.TMap _map12 = iprot.readMapBegin(); unionMStringString = new HashMap(2*_map12.size); - for (int _i13 = 0; _i13 < _map12.size; ++_i13) + String _key13; + String _val14; + for (int _i15 = 0; _i15 < _map12.size; ++_i15) { - String _key14; // required - String _val15; // required - _key14 = iprot.readString(); - _val15 = iprot.readString(); - unionMStringString.put(_key14, _val15); + _key13 = iprot.readString(); + _val14 = iprot.readString(); + unionMStringString.put(_key13, _val14); } iprot.readMapEnd(); } @@ -695,19 +699,19 @@ public int compareTo(PropValueUnion other) { @Override public int hashCode() { - HashCodeBuilder hcb = new HashCodeBuilder(); - hcb.append(this.getClass().getName()); + List list = new ArrayList(); + list.add(this.getClass().getName()); org.apache.thrift.TFieldIdEnum setField = getSetField(); if (setField != null) { - hcb.append(setField.getThriftFieldId()); + list.add(setField.getThriftFieldId()); Object value = getFieldValue(); if (value instanceof org.apache.thrift.TEnum) { - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue()); + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue()); } else { - hcb.append(value); + list.add(value); } } - return hcb.toHashCode(); + return list.hashCode(); } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { diff --git a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java index 334d225..870286e 100644 --- a/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java +++ b/serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.serde2.thrift.test; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class SetIntString implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class SetIntString implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SetIntString"); private static final org.apache.thrift.protocol.TField S_INT_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("sIntString", org.apache.thrift.protocol.TType.SET, (short)1); @@ -137,7 +141,7 @@ public SetIntString( */ public SetIntString(SetIntString other) { if (other.isSetSIntString()) { - Set __this__sIntString = new HashSet(); + Set __this__sIntString = new HashSet(other.sIntString.size()); for (IntString other_element : other.sIntString) { __this__sIntString.add(new IntString(other_element)); } @@ -303,45 +307,45 @@ public boolean equals(SetIntString that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sIntString = true && (isSetSIntString()); - builder.append(present_sIntString); + list.add(present_sIntString); if (present_sIntString) - builder.append(sIntString); + list.add(sIntString); boolean present_aString = true && (isSetAString()); - builder.append(present_aString); + list.add(present_aString); if (present_aString) - builder.append(aString); + list.add(aString); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(SetIntString other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - SetIntString typedOther = (SetIntString)other; - lastComparison = Boolean.valueOf(isSetSIntString()).compareTo(typedOther.isSetSIntString()); + lastComparison = Boolean.valueOf(isSetSIntString()).compareTo(other.isSetSIntString()); if (lastComparison != 0) { return lastComparison; } if (isSetSIntString()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sIntString, typedOther.sIntString); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sIntString, other.sIntString); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetAString()).compareTo(typedOther.isSetAString()); + lastComparison = Boolean.valueOf(isSetAString()).compareTo(other.isSetAString()); if (lastComparison != 0) { return lastComparison; } if (isSetAString()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aString, typedOther.aString); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aString, other.aString); if (lastComparison != 0) { return lastComparison; } @@ -429,12 +433,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SetIntString struct { org.apache.thrift.protocol.TSet _set82 = iprot.readSetBegin(); struct.sIntString = new HashSet(2*_set82.size); - for (int _i83 = 0; _i83 < _set82.size; ++_i83) + IntString _elem83; + for (int _i84 = 0; _i84 < _set82.size; ++_i84) { - IntString _elem84; // optional - _elem84 = new IntString(); - _elem84.read(iprot); - struct.sIntString.add(_elem84); + _elem83 = new IntString(); + _elem83.read(iprot); + struct.sIntString.add(_elem83); } iprot.readSetEnd(); } @@ -528,12 +532,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SetIntString struct) { org.apache.thrift.protocol.TSet _set87 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.sIntString = new HashSet(2*_set87.size); - for (int _i88 = 0; _i88 < _set87.size; ++_i88) + IntString _elem88; + for (int _i89 = 0; _i89 < _set87.size; ++_i89) { - IntString _elem89; // optional - _elem89 = new IntString(); - _elem89.read(iprot); - struct.sIntString.add(_elem89); + _elem88 = new IntString(); + _elem88.read(iprot); + struct.sIntString.add(_elem88); } } struct.setSIntStringIsSet(true); diff --git a/serde/src/gen/thrift/gen-php/Types.php b/serde/src/gen/thrift/gen-php/Types.php index 8c2cea6..8bb2fe3 100644 --- a/serde/src/gen/thrift/gen-php/Types.php +++ b/serde/src/gen/thrift/gen-php/Types.php @@ -2,7 +2,7 @@ namespace ; /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -13,12 +13,16 @@ use Thrift\Type\TMessageType; use Thrift\Exception\TException; use Thrift\Exception\TProtocolException; use Thrift\Protocol\TProtocol; +use Thrift\Protocol\TBinaryProtocolAccelerated; use Thrift\Exception\TApplicationException; class InnerStruct { static $_TSPEC; + /** + * @var int + */ public $field0 = null; public function __construct($vals=null) { @@ -91,8 +95,17 @@ class InnerStruct { class ThriftTestObj { static $_TSPEC; + /** + * @var int + */ public $field1 = null; + /** + * @var string + */ public $field2 = null; + /** + * @var \InnerStruct[] + */ public $field3 = null; public function __construct($vals=null) { diff --git a/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php b/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php index 653662a..2475cc8 100644 --- a/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php +++ b/serde/src/gen/thrift/gen-php/org/apache/hadoop/hive/serde/Types.php @@ -2,7 +2,7 @@ namespace org\apache\hadoop\hive\serde; /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -13,124 +13,263 @@ use Thrift\Type\TMessageType; use Thrift\Exception\TException; use Thrift\Exception\TProtocolException; use Thrift\Protocol\TProtocol; +use Thrift\Protocol\TBinaryProtocolAccelerated; use Thrift\Exception\TApplicationException; -$GLOBALS['serde_CONSTANTS']['SERIALIZATION_LIB'] = "serialization.lib"; - -$GLOBALS['serde_CONSTANTS']['SERIALIZATION_CLASS'] = "serialization.class"; - -$GLOBALS['serde_CONSTANTS']['SERIALIZATION_FORMAT'] = "serialization.format"; - -$GLOBALS['serde_CONSTANTS']['SERIALIZATION_DDL'] = "serialization.ddl"; - -$GLOBALS['serde_CONSTANTS']['SERIALIZATION_NULL_FORMAT'] = "serialization.null.format"; - -$GLOBALS['serde_CONSTANTS']['SERIALIZATION_LAST_COLUMN_TAKES_REST'] = "serialization.last.column.takes.rest"; - -$GLOBALS['serde_CONSTANTS']['SERIALIZATION_SORT_ORDER'] = "serialization.sort.order"; - -$GLOBALS['serde_CONSTANTS']['SERIALIZATION_USE_JSON_OBJECTS'] = "serialization.use.json.object"; - -$GLOBALS['serde_CONSTANTS']['SERIALIZATION_ENCODING'] = "serialization.encoding"; - -$GLOBALS['serde_CONSTANTS']['FIELD_DELIM'] = "field.delim"; - -$GLOBALS['serde_CONSTANTS']['COLLECTION_DELIM'] = "colelction.delim"; - -$GLOBALS['serde_CONSTANTS']['LINE_DELIM'] = "line.delim"; - -$GLOBALS['serde_CONSTANTS']['MAPKEY_DELIM'] = "mapkey.delim"; - -$GLOBALS['serde_CONSTANTS']['QUOTE_CHAR'] = "quote.delim"; - -$GLOBALS['serde_CONSTANTS']['ESCAPE_CHAR'] = "escape.delim"; - -$GLOBALS['serde_CONSTANTS']['HEADER_COUNT'] = "skip.header.line.count"; - -$GLOBALS['serde_CONSTANTS']['FOOTER_COUNT'] = "skip.footer.line.count"; - -$GLOBALS['serde_CONSTANTS']['VOID_TYPE_NAME'] = "void"; - -$GLOBALS['serde_CONSTANTS']['BOOLEAN_TYPE_NAME'] = "boolean"; - -$GLOBALS['serde_CONSTANTS']['TINYINT_TYPE_NAME'] = "tinyint"; - -$GLOBALS['serde_CONSTANTS']['SMALLINT_TYPE_NAME'] = "smallint"; - -$GLOBALS['serde_CONSTANTS']['INT_TYPE_NAME'] = "int"; - -$GLOBALS['serde_CONSTANTS']['BIGINT_TYPE_NAME'] = "bigint"; - -$GLOBALS['serde_CONSTANTS']['FLOAT_TYPE_NAME'] = "float"; - -$GLOBALS['serde_CONSTANTS']['DOUBLE_TYPE_NAME'] = "double"; - -$GLOBALS['serde_CONSTANTS']['STRING_TYPE_NAME'] = "string"; - -$GLOBALS['serde_CONSTANTS']['CHAR_TYPE_NAME'] = "char"; - -$GLOBALS['serde_CONSTANTS']['VARCHAR_TYPE_NAME'] = "varchar"; - -$GLOBALS['serde_CONSTANTS']['DATE_TYPE_NAME'] = "date"; - -$GLOBALS['serde_CONSTANTS']['DATETIME_TYPE_NAME'] = "datetime"; - -$GLOBALS['serde_CONSTANTS']['TIMESTAMP_TYPE_NAME'] = "timestamp"; - -$GLOBALS['serde_CONSTANTS']['DECIMAL_TYPE_NAME'] = "decimal"; - -$GLOBALS['serde_CONSTANTS']['BINARY_TYPE_NAME'] = "binary"; - -$GLOBALS['serde_CONSTANTS']['INTERVAL_YEAR_MONTH_TYPE_NAME'] = "interval_year_month"; - -$GLOBALS['serde_CONSTANTS']['INTERVAL_DAY_TIME_TYPE_NAME'] = "interval_day_time"; - -$GLOBALS['serde_CONSTANTS']['LIST_TYPE_NAME'] = "array"; - -$GLOBALS['serde_CONSTANTS']['MAP_TYPE_NAME'] = "map"; - -$GLOBALS['serde_CONSTANTS']['STRUCT_TYPE_NAME'] = "struct"; - -$GLOBALS['serde_CONSTANTS']['UNION_TYPE_NAME'] = "uniontype"; - -$GLOBALS['serde_CONSTANTS']['LIST_COLUMNS'] = "columns"; - -$GLOBALS['serde_CONSTANTS']['LIST_COLUMN_TYPES'] = "columns.types"; - -$GLOBALS['serde_CONSTANTS']['TIMESTAMP_FORMATS'] = "timestamp.formats"; - -$GLOBALS['serde_CONSTANTS']['PrimitiveTypes'] = array( - "void" => true, - "boolean" => true, - "tinyint" => true, - "smallint" => true, - "int" => true, - "bigint" => true, - "float" => true, - "double" => true, - "string" => true, - "varchar" => true, - "char" => true, - "date" => true, - "datetime" => true, - "timestamp" => true, - "interval_year_month" => true, - "interval_day_time" => true, - "decimal" => true, - "binary" => true, -); - -$GLOBALS['serde_CONSTANTS']['CollectionTypes'] = array( - "array" => true, - "map" => true, -); - -$GLOBALS['serde_CONSTANTS']['IntegralTypes'] = array( - "tinyint" => true, - "smallint" => true, - "int" => true, - "bigint" => true, -); +final class Constant extends \Thrift\Type\TConstant { + static protected $SERIALIZATION_LIB; + static protected $SERIALIZATION_CLASS; + static protected $SERIALIZATION_FORMAT; + static protected $SERIALIZATION_DDL; + static protected $SERIALIZATION_NULL_FORMAT; + static protected $SERIALIZATION_LAST_COLUMN_TAKES_REST; + static protected $SERIALIZATION_SORT_ORDER; + static protected $SERIALIZATION_USE_JSON_OBJECTS; + static protected $SERIALIZATION_ENCODING; + static protected $FIELD_DELIM; + static protected $COLLECTION_DELIM; + static protected $LINE_DELIM; + static protected $MAPKEY_DELIM; + static protected $QUOTE_CHAR; + static protected $ESCAPE_CHAR; + static protected $HEADER_COUNT; + static protected $FOOTER_COUNT; + static protected $VOID_TYPE_NAME; + static protected $BOOLEAN_TYPE_NAME; + static protected $TINYINT_TYPE_NAME; + static protected $SMALLINT_TYPE_NAME; + static protected $INT_TYPE_NAME; + static protected $BIGINT_TYPE_NAME; + static protected $FLOAT_TYPE_NAME; + static protected $DOUBLE_TYPE_NAME; + static protected $STRING_TYPE_NAME; + static protected $CHAR_TYPE_NAME; + static protected $VARCHAR_TYPE_NAME; + static protected $DATE_TYPE_NAME; + static protected $DATETIME_TYPE_NAME; + static protected $TIMESTAMP_TYPE_NAME; + static protected $DECIMAL_TYPE_NAME; + static protected $BINARY_TYPE_NAME; + static protected $INTERVAL_YEAR_MONTH_TYPE_NAME; + static protected $INTERVAL_DAY_TIME_TYPE_NAME; + static protected $LIST_TYPE_NAME; + static protected $MAP_TYPE_NAME; + static protected $STRUCT_TYPE_NAME; + static protected $UNION_TYPE_NAME; + static protected $LIST_COLUMNS; + static protected $LIST_COLUMN_TYPES; + static protected $TIMESTAMP_FORMATS; + static protected $PrimitiveTypes; + static protected $CollectionTypes; + static protected $IntegralTypes; + + static protected function init_SERIALIZATION_LIB() { + return "serialization.lib"; + } + + static protected function init_SERIALIZATION_CLASS() { + return "serialization.class"; + } + + static protected function init_SERIALIZATION_FORMAT() { + return "serialization.format"; + } + + static protected function init_SERIALIZATION_DDL() { + return "serialization.ddl"; + } + + static protected function init_SERIALIZATION_NULL_FORMAT() { + return "serialization.null.format"; + } + + static protected function init_SERIALIZATION_LAST_COLUMN_TAKES_REST() { + return "serialization.last.column.takes.rest"; + } + + static protected function init_SERIALIZATION_SORT_ORDER() { + return "serialization.sort.order"; + } + + static protected function init_SERIALIZATION_USE_JSON_OBJECTS() { + return "serialization.use.json.object"; + } + + static protected function init_SERIALIZATION_ENCODING() { + return "serialization.encoding"; + } + + static protected function init_FIELD_DELIM() { + return "field.delim"; + } + + static protected function init_COLLECTION_DELIM() { + return "colelction.delim"; + } + + static protected function init_LINE_DELIM() { + return "line.delim"; + } + + static protected function init_MAPKEY_DELIM() { + return "mapkey.delim"; + } + + static protected function init_QUOTE_CHAR() { + return "quote.delim"; + } + + static protected function init_ESCAPE_CHAR() { + return "escape.delim"; + } + + static protected function init_HEADER_COUNT() { + return "skip.header.line.count"; + } + + static protected function init_FOOTER_COUNT() { + return "skip.footer.line.count"; + } + + static protected function init_VOID_TYPE_NAME() { + return "void"; + } + + static protected function init_BOOLEAN_TYPE_NAME() { + return "boolean"; + } + + static protected function init_TINYINT_TYPE_NAME() { + return "tinyint"; + } + + static protected function init_SMALLINT_TYPE_NAME() { + return "smallint"; + } + + static protected function init_INT_TYPE_NAME() { + return "int"; + } + + static protected function init_BIGINT_TYPE_NAME() { + return "bigint"; + } + + static protected function init_FLOAT_TYPE_NAME() { + return "float"; + } + + static protected function init_DOUBLE_TYPE_NAME() { + return "double"; + } + + static protected function init_STRING_TYPE_NAME() { + return "string"; + } + + static protected function init_CHAR_TYPE_NAME() { + return "char"; + } + + static protected function init_VARCHAR_TYPE_NAME() { + return "varchar"; + } + + static protected function init_DATE_TYPE_NAME() { + return "date"; + } + + static protected function init_DATETIME_TYPE_NAME() { + return "datetime"; + } + + static protected function init_TIMESTAMP_TYPE_NAME() { + return "timestamp"; + } + + static protected function init_DECIMAL_TYPE_NAME() { + return "decimal"; + } + + static protected function init_BINARY_TYPE_NAME() { + return "binary"; + } + + static protected function init_INTERVAL_YEAR_MONTH_TYPE_NAME() { + return "interval_year_month"; + } + + static protected function init_INTERVAL_DAY_TIME_TYPE_NAME() { + return "interval_day_time"; + } + + static protected function init_LIST_TYPE_NAME() { + return "array"; + } + + static protected function init_MAP_TYPE_NAME() { + return "map"; + } + + static protected function init_STRUCT_TYPE_NAME() { + return "struct"; + } + + static protected function init_UNION_TYPE_NAME() { + return "uniontype"; + } + + static protected function init_LIST_COLUMNS() { + return "columns"; + } + + static protected function init_LIST_COLUMN_TYPES() { + return "columns.types"; + } + + static protected function init_TIMESTAMP_FORMATS() { + return "timestamp.formats"; + } + + static protected function init_PrimitiveTypes() { + return array( + "void" => true, + "boolean" => true, + "tinyint" => true, + "smallint" => true, + "int" => true, + "bigint" => true, + "float" => true, + "double" => true, + "string" => true, + "varchar" => true, + "char" => true, + "date" => true, + "datetime" => true, + "timestamp" => true, + "interval_year_month" => true, + "interval_day_time" => true, + "decimal" => true, + "binary" => true, + ); + } + + static protected function init_CollectionTypes() { + return array( + "array" => true, + "map" => true, + ); + } + + static protected function init_IntegralTypes() { + return array( + "tinyint" => true, + "smallint" => true, + "int" => true, + "bigint" => true, + ); + } +} diff --git a/serde/src/gen/thrift/gen-py/complex/constants.py b/serde/src/gen/thrift/gen-py/complex/constants.py index a236326..99717a9 100644 --- a/serde/src/gen/thrift/gen-py/complex/constants.py +++ b/serde/src/gen/thrift/gen-py/complex/constants.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-py/complex/ttypes.py b/serde/src/gen/thrift/gen-py/complex/ttypes.py index c2748d0..7f757da 100644 --- a/serde/src/gen/thrift/gen-py/complex/ttypes.py +++ b/serde/src/gen/thrift/gen-py/complex/ttypes.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -96,7 +96,7 @@ def read(self, iprot): elif fid == 7: if ftype == TType.MAP: self.unionMStringString = {} - (_ktype7, _vtype8, _size6 ) = iprot.readMapBegin() + (_ktype7, _vtype8, _size6 ) = iprot.readMapBegin() for _i10 in xrange(_size6): _key11 = iprot.readString(); _val12 = iprot.readString(); @@ -156,6 +156,17 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.intValue) + value = (value * 31) ^ hash(self.longValue) + value = (value * 31) ^ hash(self.stringValue) + value = (value * 31) ^ hash(self.doubleValue) + value = (value * 31) ^ hash(self.flag) + value = (value * 31) ^ hash(self.lString) + value = (value * 31) ^ hash(self.unionMStringString) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -240,6 +251,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.myint) + value = (value * 31) ^ hash(self.myString) + value = (value * 31) ^ hash(self.underscore_int) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -345,7 +363,7 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.mStringString = {} - (_ktype35, _vtype36, _size34 ) = iprot.readMapBegin() + (_ktype35, _vtype36, _size34 ) = iprot.readMapBegin() for _i38 in xrange(_size34): _key39 = iprot.readString(); _val40 = iprot.readString(); @@ -356,15 +374,15 @@ def read(self, iprot): elif fid == 7: if ftype == TType.MAP: self.attributes = {} - (_ktype42, _vtype43, _size41 ) = iprot.readMapBegin() + (_ktype42, _vtype43, _size41 ) = iprot.readMapBegin() for _i45 in xrange(_size41): _key46 = iprot.readString(); _val47 = {} - (_ktype49, _vtype50, _size48 ) = iprot.readMapBegin() + (_ktype49, _vtype50, _size48 ) = iprot.readMapBegin() for _i52 in xrange(_size48): _key53 = iprot.readString(); _val54 = {} - (_ktype56, _vtype57, _size55 ) = iprot.readMapBegin() + (_ktype56, _vtype57, _size55 ) = iprot.readMapBegin() for _i59 in xrange(_size55): _key60 = iprot.readString(); _val61 = PropValueUnion() @@ -477,6 +495,20 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.aint) + value = (value * 31) ^ hash(self.aString) + value = (value * 31) ^ hash(self.lint) + value = (value * 31) ^ hash(self.lString) + value = (value * 31) ^ hash(self.lintString) + value = (value * 31) ^ hash(self.mStringString) + value = (value * 31) ^ hash(self.attributes) + value = (value * 31) ^ hash(self.unionField1) + value = (value * 31) ^ hash(self.unionField2) + value = (value * 31) ^ hash(self.unionField3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -558,6 +590,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sIntString) + value = (value * 31) ^ hash(self.aString) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] diff --git a/serde/src/gen/thrift/gen-py/megastruct/constants.py b/serde/src/gen/thrift/gen-py/megastruct/constants.py index a236326..99717a9 100644 --- a/serde/src/gen/thrift/gen-py/megastruct/constants.py +++ b/serde/src/gen/thrift/gen-py/megastruct/constants.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-py/megastruct/ttypes.py b/serde/src/gen/thrift/gen-py/megastruct/ttypes.py index de516b2..c4c5a7f 100644 --- a/serde/src/gen/thrift/gen-py/megastruct/ttypes.py +++ b/serde/src/gen/thrift/gen-py/megastruct/ttypes.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -92,6 +92,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.my_string) + value = (value * 31) ^ hash(self.my_enum) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -226,7 +232,7 @@ def read(self, iprot): elif fid == 9: if ftype == TType.MAP: self.my_string_string_map = {} - (_ktype1, _vtype2, _size0 ) = iprot.readMapBegin() + (_ktype1, _vtype2, _size0 ) = iprot.readMapBegin() for _i4 in xrange(_size0): _key5 = iprot.readString(); _val6 = iprot.readString(); @@ -237,7 +243,7 @@ def read(self, iprot): elif fid == 10: if ftype == TType.MAP: self.my_string_enum_map = {} - (_ktype8, _vtype9, _size7 ) = iprot.readMapBegin() + (_ktype8, _vtype9, _size7 ) = iprot.readMapBegin() for _i11 in xrange(_size7): _key12 = iprot.readString(); _val13 = iprot.readI32(); @@ -248,7 +254,7 @@ def read(self, iprot): elif fid == 11: if ftype == TType.MAP: self.my_enum_string_map = {} - (_ktype15, _vtype16, _size14 ) = iprot.readMapBegin() + (_ktype15, _vtype16, _size14 ) = iprot.readMapBegin() for _i18 in xrange(_size14): _key19 = iprot.readI32(); _val20 = iprot.readString(); @@ -259,7 +265,7 @@ def read(self, iprot): elif fid == 12: if ftype == TType.MAP: self.my_enum_struct_map = {} - (_ktype22, _vtype23, _size21 ) = iprot.readMapBegin() + (_ktype22, _vtype23, _size21 ) = iprot.readMapBegin() for _i25 in xrange(_size21): _key26 = iprot.readI32(); _val27 = MiniStruct() @@ -271,7 +277,7 @@ def read(self, iprot): elif fid == 13: if ftype == TType.MAP: self.my_enum_stringlist_map = {} - (_ktype29, _vtype30, _size28 ) = iprot.readMapBegin() + (_ktype29, _vtype30, _size28 ) = iprot.readMapBegin() for _i32 in xrange(_size28): _key33 = iprot.readI32(); _val34 = [] @@ -287,7 +293,7 @@ def read(self, iprot): elif fid == 14: if ftype == TType.MAP: self.my_enum_structlist_map = {} - (_ktype42, _vtype43, _size41 ) = iprot.readMapBegin() + (_ktype42, _vtype43, _size41 ) = iprot.readMapBegin() for _i45 in xrange(_size41): _key46 = iprot.readI32(); _val47 = [] @@ -508,6 +514,30 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.my_bool) + value = (value * 31) ^ hash(self.my_byte) + value = (value * 31) ^ hash(self.my_16bit_int) + value = (value * 31) ^ hash(self.my_32bit_int) + value = (value * 31) ^ hash(self.my_64bit_int) + value = (value * 31) ^ hash(self.my_double) + value = (value * 31) ^ hash(self.my_string) + value = (value * 31) ^ hash(self.my_binary) + value = (value * 31) ^ hash(self.my_string_string_map) + value = (value * 31) ^ hash(self.my_string_enum_map) + value = (value * 31) ^ hash(self.my_enum_string_map) + value = (value * 31) ^ hash(self.my_enum_struct_map) + value = (value * 31) ^ hash(self.my_enum_stringlist_map) + value = (value * 31) ^ hash(self.my_enum_structlist_map) + value = (value * 31) ^ hash(self.my_stringlist) + value = (value * 31) ^ hash(self.my_structlist) + value = (value * 31) ^ hash(self.my_enumlist) + value = (value * 31) ^ hash(self.my_stringset) + value = (value * 31) ^ hash(self.my_enumset) + value = (value * 31) ^ hash(self.my_structset) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] diff --git a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py index fa0edc7..27a6cdb 100644 --- a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py +++ b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/constants.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py index ad3e280..daa619e 100644 --- a/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py +++ b/serde/src/gen/thrift/gen-py/org_apache_hadoop_hive_serde/ttypes.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-py/testthrift/constants.py b/serde/src/gen/thrift/gen-py/testthrift/constants.py index a236326..99717a9 100644 --- a/serde/src/gen/thrift/gen-py/testthrift/constants.py +++ b/serde/src/gen/thrift/gen-py/testthrift/constants.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-py/testthrift/ttypes.py b/serde/src/gen/thrift/gen-py/testthrift/ttypes.py index a8b2224..1b64a7d 100644 --- a/serde/src/gen/thrift/gen-py/testthrift/ttypes.py +++ b/serde/src/gen/thrift/gen-py/testthrift/ttypes.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -66,6 +66,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.field0) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -159,6 +164,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.field1) + value = (value * 31) ^ hash(self.field2) + value = (value * 31) ^ hash(self.field3) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] diff --git a/serde/src/gen/thrift/gen-rb/complex_constants.rb b/serde/src/gen/thrift/gen-rb/complex_constants.rb index 00ee2e8..3df0b7a 100644 --- a/serde/src/gen/thrift/gen-rb/complex_constants.rb +++ b/serde/src/gen/thrift/gen-rb/complex_constants.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-rb/complex_types.rb b/serde/src/gen/thrift/gen-rb/complex_types.rb index ffbd4d7..13d981f 100644 --- a/serde/src/gen/thrift/gen-rb/complex_types.rb +++ b/serde/src/gen/thrift/gen-rb/complex_types.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-rb/megastruct_constants.rb b/serde/src/gen/thrift/gen-rb/megastruct_constants.rb index 91193eb..6eb3f07 100644 --- a/serde/src/gen/thrift/gen-rb/megastruct_constants.rb +++ b/serde/src/gen/thrift/gen-rb/megastruct_constants.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-rb/megastruct_types.rb b/serde/src/gen/thrift/gen-rb/megastruct_types.rb index c299cf3..7d425af 100644 --- a/serde/src/gen/thrift/gen-rb/megastruct_types.rb +++ b/serde/src/gen/thrift/gen-rb/megastruct_types.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-rb/serde_constants.rb b/serde/src/gen/thrift/gen-rb/serde_constants.rb index 1c893c1..2eb4754 100644 --- a/serde/src/gen/thrift/gen-rb/serde_constants.rb +++ b/serde/src/gen/thrift/gen-rb/serde_constants.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-rb/serde_types.rb b/serde/src/gen/thrift/gen-rb/serde_types.rb index d426047..b3143d1 100644 --- a/serde/src/gen/thrift/gen-rb/serde_types.rb +++ b/serde/src/gen/thrift/gen-rb/serde_types.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-rb/testthrift_constants.rb b/serde/src/gen/thrift/gen-rb/testthrift_constants.rb index 13616ee..1f9473e 100644 --- a/serde/src/gen/thrift/gen-rb/testthrift_constants.rb +++ b/serde/src/gen/thrift/gen-rb/testthrift_constants.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/serde/src/gen/thrift/gen-rb/testthrift_types.rb b/serde/src/gen/thrift/gen-rb/testthrift_types.rb index 3f76ae6..80d5572 100644 --- a/serde/src/gen/thrift/gen-rb/testthrift_types.rb +++ b/serde/src/gen/thrift/gen-rb/testthrift_types.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/service/src/gen/thrift/gen-cpp/TCLIService.cpp b/service/src/gen/thrift/gen-cpp/TCLIService.cpp index 209ce63..7dae2f8 100644 --- a/service/src/gen/thrift/gen-cpp/TCLIService.cpp +++ b/service/src/gen/thrift/gen-cpp/TCLIService.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -8,6 +8,11 @@ namespace apache { namespace hive { namespace service { namespace cli { namespace thrift { + +TCLIService_OpenSession_args::~TCLIService_OpenSession_args() throw() { +} + + uint32_t TCLIService_OpenSession_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -50,6 +55,7 @@ uint32_t TCLIService_OpenSession_args::read(::apache::thrift::protocol::TProtoco uint32_t TCLIService_OpenSession_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_OpenSession_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -58,11 +64,18 @@ uint32_t TCLIService_OpenSession_args::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_OpenSession_pargs::~TCLIService_OpenSession_pargs() throw() { +} + + uint32_t TCLIService_OpenSession_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_OpenSession_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -71,9 +84,15 @@ uint32_t TCLIService_OpenSession_pargs::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_OpenSession_result::~TCLIService_OpenSession_result() throw() { +} + + uint32_t TCLIService_OpenSession_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -130,6 +149,11 @@ uint32_t TCLIService_OpenSession_result::write(::apache::thrift::protocol::TProt return xfer; } + +TCLIService_OpenSession_presult::~TCLIService_OpenSession_presult() throw() { +} + + uint32_t TCLIService_OpenSession_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -170,6 +194,11 @@ uint32_t TCLIService_OpenSession_presult::read(::apache::thrift::protocol::TProt return xfer; } + +TCLIService_CloseSession_args::~TCLIService_CloseSession_args() throw() { +} + + uint32_t TCLIService_CloseSession_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -212,6 +241,7 @@ uint32_t TCLIService_CloseSession_args::read(::apache::thrift::protocol::TProtoc uint32_t TCLIService_CloseSession_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_CloseSession_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -220,11 +250,18 @@ uint32_t TCLIService_CloseSession_args::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_CloseSession_pargs::~TCLIService_CloseSession_pargs() throw() { +} + + uint32_t TCLIService_CloseSession_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_CloseSession_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -233,9 +270,15 @@ uint32_t TCLIService_CloseSession_pargs::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_CloseSession_result::~TCLIService_CloseSession_result() throw() { +} + + uint32_t TCLIService_CloseSession_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -292,6 +335,11 @@ uint32_t TCLIService_CloseSession_result::write(::apache::thrift::protocol::TPro return xfer; } + +TCLIService_CloseSession_presult::~TCLIService_CloseSession_presult() throw() { +} + + uint32_t TCLIService_CloseSession_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -332,6 +380,11 @@ uint32_t TCLIService_CloseSession_presult::read(::apache::thrift::protocol::TPro return xfer; } + +TCLIService_GetInfo_args::~TCLIService_GetInfo_args() throw() { +} + + uint32_t TCLIService_GetInfo_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -374,6 +427,7 @@ uint32_t TCLIService_GetInfo_args::read(::apache::thrift::protocol::TProtocol* i uint32_t TCLIService_GetInfo_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetInfo_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -382,11 +436,18 @@ uint32_t TCLIService_GetInfo_args::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetInfo_pargs::~TCLIService_GetInfo_pargs() throw() { +} + + uint32_t TCLIService_GetInfo_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetInfo_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -395,9 +456,15 @@ uint32_t TCLIService_GetInfo_pargs::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetInfo_result::~TCLIService_GetInfo_result() throw() { +} + + uint32_t TCLIService_GetInfo_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -454,6 +521,11 @@ uint32_t TCLIService_GetInfo_result::write(::apache::thrift::protocol::TProtocol return xfer; } + +TCLIService_GetInfo_presult::~TCLIService_GetInfo_presult() throw() { +} + + uint32_t TCLIService_GetInfo_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -494,6 +566,11 @@ uint32_t TCLIService_GetInfo_presult::read(::apache::thrift::protocol::TProtocol return xfer; } + +TCLIService_ExecuteStatement_args::~TCLIService_ExecuteStatement_args() throw() { +} + + uint32_t TCLIService_ExecuteStatement_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -536,6 +613,7 @@ uint32_t TCLIService_ExecuteStatement_args::read(::apache::thrift::protocol::TPr uint32_t TCLIService_ExecuteStatement_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_ExecuteStatement_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -544,11 +622,18 @@ uint32_t TCLIService_ExecuteStatement_args::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_ExecuteStatement_pargs::~TCLIService_ExecuteStatement_pargs() throw() { +} + + uint32_t TCLIService_ExecuteStatement_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_ExecuteStatement_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -557,9 +642,15 @@ uint32_t TCLIService_ExecuteStatement_pargs::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_ExecuteStatement_result::~TCLIService_ExecuteStatement_result() throw() { +} + + uint32_t TCLIService_ExecuteStatement_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -616,6 +707,11 @@ uint32_t TCLIService_ExecuteStatement_result::write(::apache::thrift::protocol:: return xfer; } + +TCLIService_ExecuteStatement_presult::~TCLIService_ExecuteStatement_presult() throw() { +} + + uint32_t TCLIService_ExecuteStatement_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -656,6 +752,11 @@ uint32_t TCLIService_ExecuteStatement_presult::read(::apache::thrift::protocol:: return xfer; } + +TCLIService_GetTypeInfo_args::~TCLIService_GetTypeInfo_args() throw() { +} + + uint32_t TCLIService_GetTypeInfo_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -698,6 +799,7 @@ uint32_t TCLIService_GetTypeInfo_args::read(::apache::thrift::protocol::TProtoco uint32_t TCLIService_GetTypeInfo_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetTypeInfo_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -706,11 +808,18 @@ uint32_t TCLIService_GetTypeInfo_args::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetTypeInfo_pargs::~TCLIService_GetTypeInfo_pargs() throw() { +} + + uint32_t TCLIService_GetTypeInfo_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetTypeInfo_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -719,9 +828,15 @@ uint32_t TCLIService_GetTypeInfo_pargs::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetTypeInfo_result::~TCLIService_GetTypeInfo_result() throw() { +} + + uint32_t TCLIService_GetTypeInfo_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -778,6 +893,11 @@ uint32_t TCLIService_GetTypeInfo_result::write(::apache::thrift::protocol::TProt return xfer; } + +TCLIService_GetTypeInfo_presult::~TCLIService_GetTypeInfo_presult() throw() { +} + + uint32_t TCLIService_GetTypeInfo_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -818,6 +938,11 @@ uint32_t TCLIService_GetTypeInfo_presult::read(::apache::thrift::protocol::TProt return xfer; } + +TCLIService_GetCatalogs_args::~TCLIService_GetCatalogs_args() throw() { +} + + uint32_t TCLIService_GetCatalogs_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -860,6 +985,7 @@ uint32_t TCLIService_GetCatalogs_args::read(::apache::thrift::protocol::TProtoco uint32_t TCLIService_GetCatalogs_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetCatalogs_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -868,11 +994,18 @@ uint32_t TCLIService_GetCatalogs_args::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetCatalogs_pargs::~TCLIService_GetCatalogs_pargs() throw() { +} + + uint32_t TCLIService_GetCatalogs_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetCatalogs_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -881,9 +1014,15 @@ uint32_t TCLIService_GetCatalogs_pargs::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetCatalogs_result::~TCLIService_GetCatalogs_result() throw() { +} + + uint32_t TCLIService_GetCatalogs_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -940,6 +1079,11 @@ uint32_t TCLIService_GetCatalogs_result::write(::apache::thrift::protocol::TProt return xfer; } + +TCLIService_GetCatalogs_presult::~TCLIService_GetCatalogs_presult() throw() { +} + + uint32_t TCLIService_GetCatalogs_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -980,6 +1124,11 @@ uint32_t TCLIService_GetCatalogs_presult::read(::apache::thrift::protocol::TProt return xfer; } + +TCLIService_GetSchemas_args::~TCLIService_GetSchemas_args() throw() { +} + + uint32_t TCLIService_GetSchemas_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1022,6 +1171,7 @@ uint32_t TCLIService_GetSchemas_args::read(::apache::thrift::protocol::TProtocol uint32_t TCLIService_GetSchemas_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetSchemas_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1030,11 +1180,18 @@ uint32_t TCLIService_GetSchemas_args::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetSchemas_pargs::~TCLIService_GetSchemas_pargs() throw() { +} + + uint32_t TCLIService_GetSchemas_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetSchemas_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1043,9 +1200,15 @@ uint32_t TCLIService_GetSchemas_pargs::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetSchemas_result::~TCLIService_GetSchemas_result() throw() { +} + + uint32_t TCLIService_GetSchemas_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1102,6 +1265,11 @@ uint32_t TCLIService_GetSchemas_result::write(::apache::thrift::protocol::TProto return xfer; } + +TCLIService_GetSchemas_presult::~TCLIService_GetSchemas_presult() throw() { +} + + uint32_t TCLIService_GetSchemas_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1142,6 +1310,11 @@ uint32_t TCLIService_GetSchemas_presult::read(::apache::thrift::protocol::TProto return xfer; } + +TCLIService_GetTables_args::~TCLIService_GetTables_args() throw() { +} + + uint32_t TCLIService_GetTables_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1184,6 +1357,7 @@ uint32_t TCLIService_GetTables_args::read(::apache::thrift::protocol::TProtocol* uint32_t TCLIService_GetTables_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetTables_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1192,11 +1366,18 @@ uint32_t TCLIService_GetTables_args::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetTables_pargs::~TCLIService_GetTables_pargs() throw() { +} + + uint32_t TCLIService_GetTables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetTables_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1205,9 +1386,15 @@ uint32_t TCLIService_GetTables_pargs::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetTables_result::~TCLIService_GetTables_result() throw() { +} + + uint32_t TCLIService_GetTables_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1264,6 +1451,11 @@ uint32_t TCLIService_GetTables_result::write(::apache::thrift::protocol::TProtoc return xfer; } + +TCLIService_GetTables_presult::~TCLIService_GetTables_presult() throw() { +} + + uint32_t TCLIService_GetTables_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1304,6 +1496,11 @@ uint32_t TCLIService_GetTables_presult::read(::apache::thrift::protocol::TProtoc return xfer; } + +TCLIService_GetTableTypes_args::~TCLIService_GetTableTypes_args() throw() { +} + + uint32_t TCLIService_GetTableTypes_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1346,6 +1543,7 @@ uint32_t TCLIService_GetTableTypes_args::read(::apache::thrift::protocol::TProto uint32_t TCLIService_GetTableTypes_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetTableTypes_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1354,11 +1552,18 @@ uint32_t TCLIService_GetTableTypes_args::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetTableTypes_pargs::~TCLIService_GetTableTypes_pargs() throw() { +} + + uint32_t TCLIService_GetTableTypes_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetTableTypes_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1367,9 +1572,15 @@ uint32_t TCLIService_GetTableTypes_pargs::write(::apache::thrift::protocol::TPro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetTableTypes_result::~TCLIService_GetTableTypes_result() throw() { +} + + uint32_t TCLIService_GetTableTypes_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1426,6 +1637,11 @@ uint32_t TCLIService_GetTableTypes_result::write(::apache::thrift::protocol::TPr return xfer; } + +TCLIService_GetTableTypes_presult::~TCLIService_GetTableTypes_presult() throw() { +} + + uint32_t TCLIService_GetTableTypes_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1466,6 +1682,11 @@ uint32_t TCLIService_GetTableTypes_presult::read(::apache::thrift::protocol::TPr return xfer; } + +TCLIService_GetColumns_args::~TCLIService_GetColumns_args() throw() { +} + + uint32_t TCLIService_GetColumns_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1508,6 +1729,7 @@ uint32_t TCLIService_GetColumns_args::read(::apache::thrift::protocol::TProtocol uint32_t TCLIService_GetColumns_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetColumns_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1516,11 +1738,18 @@ uint32_t TCLIService_GetColumns_args::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetColumns_pargs::~TCLIService_GetColumns_pargs() throw() { +} + + uint32_t TCLIService_GetColumns_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetColumns_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1529,9 +1758,15 @@ uint32_t TCLIService_GetColumns_pargs::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetColumns_result::~TCLIService_GetColumns_result() throw() { +} + + uint32_t TCLIService_GetColumns_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1588,6 +1823,11 @@ uint32_t TCLIService_GetColumns_result::write(::apache::thrift::protocol::TProto return xfer; } + +TCLIService_GetColumns_presult::~TCLIService_GetColumns_presult() throw() { +} + + uint32_t TCLIService_GetColumns_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1628,6 +1868,11 @@ uint32_t TCLIService_GetColumns_presult::read(::apache::thrift::protocol::TProto return xfer; } + +TCLIService_GetFunctions_args::~TCLIService_GetFunctions_args() throw() { +} + + uint32_t TCLIService_GetFunctions_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1670,6 +1915,7 @@ uint32_t TCLIService_GetFunctions_args::read(::apache::thrift::protocol::TProtoc uint32_t TCLIService_GetFunctions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetFunctions_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1678,11 +1924,18 @@ uint32_t TCLIService_GetFunctions_args::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetFunctions_pargs::~TCLIService_GetFunctions_pargs() throw() { +} + + uint32_t TCLIService_GetFunctions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetFunctions_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1691,9 +1944,15 @@ uint32_t TCLIService_GetFunctions_pargs::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetFunctions_result::~TCLIService_GetFunctions_result() throw() { +} + + uint32_t TCLIService_GetFunctions_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1750,6 +2009,11 @@ uint32_t TCLIService_GetFunctions_result::write(::apache::thrift::protocol::TPro return xfer; } + +TCLIService_GetFunctions_presult::~TCLIService_GetFunctions_presult() throw() { +} + + uint32_t TCLIService_GetFunctions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1790,6 +2054,11 @@ uint32_t TCLIService_GetFunctions_presult::read(::apache::thrift::protocol::TPro return xfer; } + +TCLIService_GetOperationStatus_args::~TCLIService_GetOperationStatus_args() throw() { +} + + uint32_t TCLIService_GetOperationStatus_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1832,6 +2101,7 @@ uint32_t TCLIService_GetOperationStatus_args::read(::apache::thrift::protocol::T uint32_t TCLIService_GetOperationStatus_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetOperationStatus_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1840,11 +2110,18 @@ uint32_t TCLIService_GetOperationStatus_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetOperationStatus_pargs::~TCLIService_GetOperationStatus_pargs() throw() { +} + + uint32_t TCLIService_GetOperationStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetOperationStatus_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1853,9 +2130,15 @@ uint32_t TCLIService_GetOperationStatus_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetOperationStatus_result::~TCLIService_GetOperationStatus_result() throw() { +} + + uint32_t TCLIService_GetOperationStatus_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1912,6 +2195,11 @@ uint32_t TCLIService_GetOperationStatus_result::write(::apache::thrift::protocol return xfer; } + +TCLIService_GetOperationStatus_presult::~TCLIService_GetOperationStatus_presult() throw() { +} + + uint32_t TCLIService_GetOperationStatus_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1952,6 +2240,11 @@ uint32_t TCLIService_GetOperationStatus_presult::read(::apache::thrift::protocol return xfer; } + +TCLIService_CancelOperation_args::~TCLIService_CancelOperation_args() throw() { +} + + uint32_t TCLIService_CancelOperation_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1994,6 +2287,7 @@ uint32_t TCLIService_CancelOperation_args::read(::apache::thrift::protocol::TPro uint32_t TCLIService_CancelOperation_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_CancelOperation_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2002,11 +2296,18 @@ uint32_t TCLIService_CancelOperation_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_CancelOperation_pargs::~TCLIService_CancelOperation_pargs() throw() { +} + + uint32_t TCLIService_CancelOperation_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_CancelOperation_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2015,9 +2316,15 @@ uint32_t TCLIService_CancelOperation_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_CancelOperation_result::~TCLIService_CancelOperation_result() throw() { +} + + uint32_t TCLIService_CancelOperation_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2074,6 +2381,11 @@ uint32_t TCLIService_CancelOperation_result::write(::apache::thrift::protocol::T return xfer; } + +TCLIService_CancelOperation_presult::~TCLIService_CancelOperation_presult() throw() { +} + + uint32_t TCLIService_CancelOperation_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2114,6 +2426,11 @@ uint32_t TCLIService_CancelOperation_presult::read(::apache::thrift::protocol::T return xfer; } + +TCLIService_CloseOperation_args::~TCLIService_CloseOperation_args() throw() { +} + + uint32_t TCLIService_CloseOperation_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2156,6 +2473,7 @@ uint32_t TCLIService_CloseOperation_args::read(::apache::thrift::protocol::TProt uint32_t TCLIService_CloseOperation_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_CloseOperation_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2164,11 +2482,18 @@ uint32_t TCLIService_CloseOperation_args::write(::apache::thrift::protocol::TPro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_CloseOperation_pargs::~TCLIService_CloseOperation_pargs() throw() { +} + + uint32_t TCLIService_CloseOperation_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_CloseOperation_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2177,9 +2502,15 @@ uint32_t TCLIService_CloseOperation_pargs::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_CloseOperation_result::~TCLIService_CloseOperation_result() throw() { +} + + uint32_t TCLIService_CloseOperation_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2236,6 +2567,11 @@ uint32_t TCLIService_CloseOperation_result::write(::apache::thrift::protocol::TP return xfer; } + +TCLIService_CloseOperation_presult::~TCLIService_CloseOperation_presult() throw() { +} + + uint32_t TCLIService_CloseOperation_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2276,6 +2612,11 @@ uint32_t TCLIService_CloseOperation_presult::read(::apache::thrift::protocol::TP return xfer; } + +TCLIService_GetResultSetMetadata_args::~TCLIService_GetResultSetMetadata_args() throw() { +} + + uint32_t TCLIService_GetResultSetMetadata_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2318,6 +2659,7 @@ uint32_t TCLIService_GetResultSetMetadata_args::read(::apache::thrift::protocol: uint32_t TCLIService_GetResultSetMetadata_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetResultSetMetadata_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2326,11 +2668,18 @@ uint32_t TCLIService_GetResultSetMetadata_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetResultSetMetadata_pargs::~TCLIService_GetResultSetMetadata_pargs() throw() { +} + + uint32_t TCLIService_GetResultSetMetadata_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetResultSetMetadata_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2339,9 +2688,15 @@ uint32_t TCLIService_GetResultSetMetadata_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetResultSetMetadata_result::~TCLIService_GetResultSetMetadata_result() throw() { +} + + uint32_t TCLIService_GetResultSetMetadata_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2398,6 +2753,11 @@ uint32_t TCLIService_GetResultSetMetadata_result::write(::apache::thrift::protoc return xfer; } + +TCLIService_GetResultSetMetadata_presult::~TCLIService_GetResultSetMetadata_presult() throw() { +} + + uint32_t TCLIService_GetResultSetMetadata_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2438,6 +2798,11 @@ uint32_t TCLIService_GetResultSetMetadata_presult::read(::apache::thrift::protoc return xfer; } + +TCLIService_FetchResults_args::~TCLIService_FetchResults_args() throw() { +} + + uint32_t TCLIService_FetchResults_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2480,6 +2845,7 @@ uint32_t TCLIService_FetchResults_args::read(::apache::thrift::protocol::TProtoc uint32_t TCLIService_FetchResults_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_FetchResults_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2488,11 +2854,18 @@ uint32_t TCLIService_FetchResults_args::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_FetchResults_pargs::~TCLIService_FetchResults_pargs() throw() { +} + + uint32_t TCLIService_FetchResults_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_FetchResults_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2501,9 +2874,15 @@ uint32_t TCLIService_FetchResults_pargs::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_FetchResults_result::~TCLIService_FetchResults_result() throw() { +} + + uint32_t TCLIService_FetchResults_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2560,6 +2939,11 @@ uint32_t TCLIService_FetchResults_result::write(::apache::thrift::protocol::TPro return xfer; } + +TCLIService_FetchResults_presult::~TCLIService_FetchResults_presult() throw() { +} + + uint32_t TCLIService_FetchResults_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2600,6 +2984,11 @@ uint32_t TCLIService_FetchResults_presult::read(::apache::thrift::protocol::TPro return xfer; } + +TCLIService_GetDelegationToken_args::~TCLIService_GetDelegationToken_args() throw() { +} + + uint32_t TCLIService_GetDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2642,6 +3031,7 @@ uint32_t TCLIService_GetDelegationToken_args::read(::apache::thrift::protocol::T uint32_t TCLIService_GetDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetDelegationToken_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2650,11 +3040,18 @@ uint32_t TCLIService_GetDelegationToken_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetDelegationToken_pargs::~TCLIService_GetDelegationToken_pargs() throw() { +} + + uint32_t TCLIService_GetDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_GetDelegationToken_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2663,9 +3060,15 @@ uint32_t TCLIService_GetDelegationToken_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_GetDelegationToken_result::~TCLIService_GetDelegationToken_result() throw() { +} + + uint32_t TCLIService_GetDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2722,6 +3125,11 @@ uint32_t TCLIService_GetDelegationToken_result::write(::apache::thrift::protocol return xfer; } + +TCLIService_GetDelegationToken_presult::~TCLIService_GetDelegationToken_presult() throw() { +} + + uint32_t TCLIService_GetDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2762,6 +3170,11 @@ uint32_t TCLIService_GetDelegationToken_presult::read(::apache::thrift::protocol return xfer; } + +TCLIService_CancelDelegationToken_args::~TCLIService_CancelDelegationToken_args() throw() { +} + + uint32_t TCLIService_CancelDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2804,6 +3217,7 @@ uint32_t TCLIService_CancelDelegationToken_args::read(::apache::thrift::protocol uint32_t TCLIService_CancelDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_CancelDelegationToken_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2812,11 +3226,18 @@ uint32_t TCLIService_CancelDelegationToken_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_CancelDelegationToken_pargs::~TCLIService_CancelDelegationToken_pargs() throw() { +} + + uint32_t TCLIService_CancelDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_CancelDelegationToken_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2825,9 +3246,15 @@ uint32_t TCLIService_CancelDelegationToken_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_CancelDelegationToken_result::~TCLIService_CancelDelegationToken_result() throw() { +} + + uint32_t TCLIService_CancelDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2884,6 +3311,11 @@ uint32_t TCLIService_CancelDelegationToken_result::write(::apache::thrift::proto return xfer; } + +TCLIService_CancelDelegationToken_presult::~TCLIService_CancelDelegationToken_presult() throw() { +} + + uint32_t TCLIService_CancelDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2924,6 +3356,11 @@ uint32_t TCLIService_CancelDelegationToken_presult::read(::apache::thrift::proto return xfer; } + +TCLIService_RenewDelegationToken_args::~TCLIService_RenewDelegationToken_args() throw() { +} + + uint32_t TCLIService_RenewDelegationToken_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -2966,6 +3403,7 @@ uint32_t TCLIService_RenewDelegationToken_args::read(::apache::thrift::protocol: uint32_t TCLIService_RenewDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_RenewDelegationToken_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2974,11 +3412,18 @@ uint32_t TCLIService_RenewDelegationToken_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_RenewDelegationToken_pargs::~TCLIService_RenewDelegationToken_pargs() throw() { +} + + uint32_t TCLIService_RenewDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCLIService_RenewDelegationToken_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2987,9 +3432,15 @@ uint32_t TCLIService_RenewDelegationToken_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +TCLIService_RenewDelegationToken_result::~TCLIService_RenewDelegationToken_result() throw() { +} + + uint32_t TCLIService_RenewDelegationToken_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -3046,6 +3497,11 @@ uint32_t TCLIService_RenewDelegationToken_result::write(::apache::thrift::protoc return xfer; } + +TCLIService_RenewDelegationToken_presult::~TCLIService_RenewDelegationToken_presult() throw() { +} + + uint32_t TCLIService_RenewDelegationToken_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; diff --git a/service/src/gen/thrift/gen-cpp/TCLIService.h b/service/src/gen/thrift/gen-cpp/TCLIService.h index 030475b..29a9f4a 100644 --- a/service/src/gen/thrift/gen-cpp/TCLIService.h +++ b/service/src/gen/thrift/gen-cpp/TCLIService.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -124,24 +124,26 @@ class TCLIServiceNull : virtual public TCLIServiceIf { typedef struct _TCLIService_OpenSession_args__isset { _TCLIService_OpenSession_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_OpenSession_args__isset; class TCLIService_OpenSession_args { public: + static const char* ascii_fingerprint; // = "657FF0677838A57698AD9D58A923940A"; + static const uint8_t binary_fingerprint[16]; // = {0x65,0x7F,0xF0,0x67,0x78,0x38,0xA5,0x76,0x98,0xAD,0x9D,0x58,0xA9,0x23,0x94,0x0A}; + + TCLIService_OpenSession_args(const TCLIService_OpenSession_args&); + TCLIService_OpenSession_args& operator=(const TCLIService_OpenSession_args&); TCLIService_OpenSession_args() { } - virtual ~TCLIService_OpenSession_args() throw() {} - + virtual ~TCLIService_OpenSession_args() throw(); TOpenSessionReq req; _TCLIService_OpenSession_args__isset __isset; - void __set_req(const TOpenSessionReq& val) { - req = val; - } + void __set_req(const TOpenSessionReq& val); bool operator == (const TCLIService_OpenSession_args & rhs) const { @@ -158,41 +160,47 @@ class TCLIService_OpenSession_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_args& obj); }; class TCLIService_OpenSession_pargs { public: + static const char* ascii_fingerprint; // = "657FF0677838A57698AD9D58A923940A"; + static const uint8_t binary_fingerprint[16]; // = {0x65,0x7F,0xF0,0x67,0x78,0x38,0xA5,0x76,0x98,0xAD,0x9D,0x58,0xA9,0x23,0x94,0x0A}; - virtual ~TCLIService_OpenSession_pargs() throw() {} + virtual ~TCLIService_OpenSession_pargs() throw(); const TOpenSessionReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_pargs& obj); }; typedef struct _TCLIService_OpenSession_result__isset { _TCLIService_OpenSession_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_OpenSession_result__isset; class TCLIService_OpenSession_result { public: + static const char* ascii_fingerprint; // = "C55268D57D6DC6A256619A7DB419699E"; + static const uint8_t binary_fingerprint[16]; // = {0xC5,0x52,0x68,0xD5,0x7D,0x6D,0xC6,0xA2,0x56,0x61,0x9A,0x7D,0xB4,0x19,0x69,0x9E}; + + TCLIService_OpenSession_result(const TCLIService_OpenSession_result&); + TCLIService_OpenSession_result& operator=(const TCLIService_OpenSession_result&); TCLIService_OpenSession_result() { } - virtual ~TCLIService_OpenSession_result() throw() {} - + virtual ~TCLIService_OpenSession_result() throw(); TOpenSessionResp success; _TCLIService_OpenSession_result__isset __isset; - void __set_success(const TOpenSessionResp& val) { - success = val; - } + void __set_success(const TOpenSessionResp& val); bool operator == (const TCLIService_OpenSession_result & rhs) const { @@ -209,47 +217,53 @@ class TCLIService_OpenSession_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_result& obj); }; typedef struct _TCLIService_OpenSession_presult__isset { _TCLIService_OpenSession_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_OpenSession_presult__isset; class TCLIService_OpenSession_presult { public: + static const char* ascii_fingerprint; // = "C55268D57D6DC6A256619A7DB419699E"; + static const uint8_t binary_fingerprint[16]; // = {0xC5,0x52,0x68,0xD5,0x7D,0x6D,0xC6,0xA2,0x56,0x61,0x9A,0x7D,0xB4,0x19,0x69,0x9E}; - virtual ~TCLIService_OpenSession_presult() throw() {} + virtual ~TCLIService_OpenSession_presult() throw(); TOpenSessionResp* success; _TCLIService_OpenSession_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_presult& obj); }; typedef struct _TCLIService_CloseSession_args__isset { _TCLIService_CloseSession_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_CloseSession_args__isset; class TCLIService_CloseSession_args { public: + static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; + static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; + + TCLIService_CloseSession_args(const TCLIService_CloseSession_args&); + TCLIService_CloseSession_args& operator=(const TCLIService_CloseSession_args&); TCLIService_CloseSession_args() { } - virtual ~TCLIService_CloseSession_args() throw() {} - + virtual ~TCLIService_CloseSession_args() throw(); TCloseSessionReq req; _TCLIService_CloseSession_args__isset __isset; - void __set_req(const TCloseSessionReq& val) { - req = val; - } + void __set_req(const TCloseSessionReq& val); bool operator == (const TCLIService_CloseSession_args & rhs) const { @@ -266,41 +280,47 @@ class TCLIService_CloseSession_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_args& obj); }; class TCLIService_CloseSession_pargs { public: + static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; + static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - virtual ~TCLIService_CloseSession_pargs() throw() {} + virtual ~TCLIService_CloseSession_pargs() throw(); const TCloseSessionReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_pargs& obj); }; typedef struct _TCLIService_CloseSession_result__isset { _TCLIService_CloseSession_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_CloseSession_result__isset; class TCLIService_CloseSession_result { public: + static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; + + TCLIService_CloseSession_result(const TCLIService_CloseSession_result&); + TCLIService_CloseSession_result& operator=(const TCLIService_CloseSession_result&); TCLIService_CloseSession_result() { } - virtual ~TCLIService_CloseSession_result() throw() {} - + virtual ~TCLIService_CloseSession_result() throw(); TCloseSessionResp success; _TCLIService_CloseSession_result__isset __isset; - void __set_success(const TCloseSessionResp& val) { - success = val; - } + void __set_success(const TCloseSessionResp& val); bool operator == (const TCLIService_CloseSession_result & rhs) const { @@ -317,47 +337,53 @@ class TCLIService_CloseSession_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_result& obj); }; typedef struct _TCLIService_CloseSession_presult__isset { _TCLIService_CloseSession_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_CloseSession_presult__isset; class TCLIService_CloseSession_presult { public: + static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - virtual ~TCLIService_CloseSession_presult() throw() {} + virtual ~TCLIService_CloseSession_presult() throw(); TCloseSessionResp* success; _TCLIService_CloseSession_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_presult& obj); }; typedef struct _TCLIService_GetInfo_args__isset { _TCLIService_GetInfo_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_GetInfo_args__isset; class TCLIService_GetInfo_args { public: + static const char* ascii_fingerprint; // = "482A174DD6064955A19F28C5395E27FA"; + static const uint8_t binary_fingerprint[16]; // = {0x48,0x2A,0x17,0x4D,0xD6,0x06,0x49,0x55,0xA1,0x9F,0x28,0xC5,0x39,0x5E,0x27,0xFA}; + + TCLIService_GetInfo_args(const TCLIService_GetInfo_args&); + TCLIService_GetInfo_args& operator=(const TCLIService_GetInfo_args&); TCLIService_GetInfo_args() { } - virtual ~TCLIService_GetInfo_args() throw() {} - + virtual ~TCLIService_GetInfo_args() throw(); TGetInfoReq req; _TCLIService_GetInfo_args__isset __isset; - void __set_req(const TGetInfoReq& val) { - req = val; - } + void __set_req(const TGetInfoReq& val); bool operator == (const TCLIService_GetInfo_args & rhs) const { @@ -374,41 +400,47 @@ class TCLIService_GetInfo_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_args& obj); }; class TCLIService_GetInfo_pargs { public: + static const char* ascii_fingerprint; // = "482A174DD6064955A19F28C5395E27FA"; + static const uint8_t binary_fingerprint[16]; // = {0x48,0x2A,0x17,0x4D,0xD6,0x06,0x49,0x55,0xA1,0x9F,0x28,0xC5,0x39,0x5E,0x27,0xFA}; - virtual ~TCLIService_GetInfo_pargs() throw() {} + virtual ~TCLIService_GetInfo_pargs() throw(); const TGetInfoReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_pargs& obj); }; typedef struct _TCLIService_GetInfo_result__isset { _TCLIService_GetInfo_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetInfo_result__isset; class TCLIService_GetInfo_result { public: + static const char* ascii_fingerprint; // = "95AE9E06990A55202EF5D96DABE20D75"; + static const uint8_t binary_fingerprint[16]; // = {0x95,0xAE,0x9E,0x06,0x99,0x0A,0x55,0x20,0x2E,0xF5,0xD9,0x6D,0xAB,0xE2,0x0D,0x75}; + + TCLIService_GetInfo_result(const TCLIService_GetInfo_result&); + TCLIService_GetInfo_result& operator=(const TCLIService_GetInfo_result&); TCLIService_GetInfo_result() { } - virtual ~TCLIService_GetInfo_result() throw() {} - + virtual ~TCLIService_GetInfo_result() throw(); TGetInfoResp success; _TCLIService_GetInfo_result__isset __isset; - void __set_success(const TGetInfoResp& val) { - success = val; - } + void __set_success(const TGetInfoResp& val); bool operator == (const TCLIService_GetInfo_result & rhs) const { @@ -425,47 +457,53 @@ class TCLIService_GetInfo_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_result& obj); }; typedef struct _TCLIService_GetInfo_presult__isset { _TCLIService_GetInfo_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetInfo_presult__isset; class TCLIService_GetInfo_presult { public: + static const char* ascii_fingerprint; // = "95AE9E06990A55202EF5D96DABE20D75"; + static const uint8_t binary_fingerprint[16]; // = {0x95,0xAE,0x9E,0x06,0x99,0x0A,0x55,0x20,0x2E,0xF5,0xD9,0x6D,0xAB,0xE2,0x0D,0x75}; - virtual ~TCLIService_GetInfo_presult() throw() {} + virtual ~TCLIService_GetInfo_presult() throw(); TGetInfoResp* success; _TCLIService_GetInfo_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_presult& obj); }; typedef struct _TCLIService_ExecuteStatement_args__isset { _TCLIService_ExecuteStatement_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_ExecuteStatement_args__isset; class TCLIService_ExecuteStatement_args { public: + static const char* ascii_fingerprint; // = "BD5534ACDA7A523F638927AC476C2173"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0x55,0x34,0xAC,0xDA,0x7A,0x52,0x3F,0x63,0x89,0x27,0xAC,0x47,0x6C,0x21,0x73}; + + TCLIService_ExecuteStatement_args(const TCLIService_ExecuteStatement_args&); + TCLIService_ExecuteStatement_args& operator=(const TCLIService_ExecuteStatement_args&); TCLIService_ExecuteStatement_args() { } - virtual ~TCLIService_ExecuteStatement_args() throw() {} - + virtual ~TCLIService_ExecuteStatement_args() throw(); TExecuteStatementReq req; _TCLIService_ExecuteStatement_args__isset __isset; - void __set_req(const TExecuteStatementReq& val) { - req = val; - } + void __set_req(const TExecuteStatementReq& val); bool operator == (const TCLIService_ExecuteStatement_args & rhs) const { @@ -482,41 +520,47 @@ class TCLIService_ExecuteStatement_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_args& obj); }; class TCLIService_ExecuteStatement_pargs { public: + static const char* ascii_fingerprint; // = "BD5534ACDA7A523F638927AC476C2173"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0x55,0x34,0xAC,0xDA,0x7A,0x52,0x3F,0x63,0x89,0x27,0xAC,0x47,0x6C,0x21,0x73}; - virtual ~TCLIService_ExecuteStatement_pargs() throw() {} + virtual ~TCLIService_ExecuteStatement_pargs() throw(); const TExecuteStatementReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_pargs& obj); }; typedef struct _TCLIService_ExecuteStatement_result__isset { _TCLIService_ExecuteStatement_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_ExecuteStatement_result__isset; class TCLIService_ExecuteStatement_result { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; + + TCLIService_ExecuteStatement_result(const TCLIService_ExecuteStatement_result&); + TCLIService_ExecuteStatement_result& operator=(const TCLIService_ExecuteStatement_result&); TCLIService_ExecuteStatement_result() { } - virtual ~TCLIService_ExecuteStatement_result() throw() {} - + virtual ~TCLIService_ExecuteStatement_result() throw(); TExecuteStatementResp success; _TCLIService_ExecuteStatement_result__isset __isset; - void __set_success(const TExecuteStatementResp& val) { - success = val; - } + void __set_success(const TExecuteStatementResp& val); bool operator == (const TCLIService_ExecuteStatement_result & rhs) const { @@ -533,47 +577,53 @@ class TCLIService_ExecuteStatement_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_result& obj); }; typedef struct _TCLIService_ExecuteStatement_presult__isset { _TCLIService_ExecuteStatement_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_ExecuteStatement_presult__isset; class TCLIService_ExecuteStatement_presult { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_ExecuteStatement_presult() throw() {} + virtual ~TCLIService_ExecuteStatement_presult() throw(); TExecuteStatementResp* success; _TCLIService_ExecuteStatement_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_presult& obj); }; typedef struct _TCLIService_GetTypeInfo_args__isset { _TCLIService_GetTypeInfo_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_GetTypeInfo_args__isset; class TCLIService_GetTypeInfo_args { public: + static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; + static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; + + TCLIService_GetTypeInfo_args(const TCLIService_GetTypeInfo_args&); + TCLIService_GetTypeInfo_args& operator=(const TCLIService_GetTypeInfo_args&); TCLIService_GetTypeInfo_args() { } - virtual ~TCLIService_GetTypeInfo_args() throw() {} - + virtual ~TCLIService_GetTypeInfo_args() throw(); TGetTypeInfoReq req; _TCLIService_GetTypeInfo_args__isset __isset; - void __set_req(const TGetTypeInfoReq& val) { - req = val; - } + void __set_req(const TGetTypeInfoReq& val); bool operator == (const TCLIService_GetTypeInfo_args & rhs) const { @@ -590,41 +640,47 @@ class TCLIService_GetTypeInfo_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_args& obj); }; class TCLIService_GetTypeInfo_pargs { public: + static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; + static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - virtual ~TCLIService_GetTypeInfo_pargs() throw() {} + virtual ~TCLIService_GetTypeInfo_pargs() throw(); const TGetTypeInfoReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_pargs& obj); }; typedef struct _TCLIService_GetTypeInfo_result__isset { _TCLIService_GetTypeInfo_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetTypeInfo_result__isset; class TCLIService_GetTypeInfo_result { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; + + TCLIService_GetTypeInfo_result(const TCLIService_GetTypeInfo_result&); + TCLIService_GetTypeInfo_result& operator=(const TCLIService_GetTypeInfo_result&); TCLIService_GetTypeInfo_result() { } - virtual ~TCLIService_GetTypeInfo_result() throw() {} - + virtual ~TCLIService_GetTypeInfo_result() throw(); TGetTypeInfoResp success; _TCLIService_GetTypeInfo_result__isset __isset; - void __set_success(const TGetTypeInfoResp& val) { - success = val; - } + void __set_success(const TGetTypeInfoResp& val); bool operator == (const TCLIService_GetTypeInfo_result & rhs) const { @@ -641,47 +697,53 @@ class TCLIService_GetTypeInfo_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_result& obj); }; typedef struct _TCLIService_GetTypeInfo_presult__isset { _TCLIService_GetTypeInfo_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetTypeInfo_presult__isset; class TCLIService_GetTypeInfo_presult { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetTypeInfo_presult() throw() {} + virtual ~TCLIService_GetTypeInfo_presult() throw(); TGetTypeInfoResp* success; _TCLIService_GetTypeInfo_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_presult& obj); }; typedef struct _TCLIService_GetCatalogs_args__isset { _TCLIService_GetCatalogs_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_GetCatalogs_args__isset; class TCLIService_GetCatalogs_args { public: + static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; + static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; + + TCLIService_GetCatalogs_args(const TCLIService_GetCatalogs_args&); + TCLIService_GetCatalogs_args& operator=(const TCLIService_GetCatalogs_args&); TCLIService_GetCatalogs_args() { } - virtual ~TCLIService_GetCatalogs_args() throw() {} - + virtual ~TCLIService_GetCatalogs_args() throw(); TGetCatalogsReq req; _TCLIService_GetCatalogs_args__isset __isset; - void __set_req(const TGetCatalogsReq& val) { - req = val; - } + void __set_req(const TGetCatalogsReq& val); bool operator == (const TCLIService_GetCatalogs_args & rhs) const { @@ -698,41 +760,47 @@ class TCLIService_GetCatalogs_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_args& obj); }; class TCLIService_GetCatalogs_pargs { public: + static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; + static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - virtual ~TCLIService_GetCatalogs_pargs() throw() {} + virtual ~TCLIService_GetCatalogs_pargs() throw(); const TGetCatalogsReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_pargs& obj); }; typedef struct _TCLIService_GetCatalogs_result__isset { _TCLIService_GetCatalogs_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetCatalogs_result__isset; class TCLIService_GetCatalogs_result { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; + + TCLIService_GetCatalogs_result(const TCLIService_GetCatalogs_result&); + TCLIService_GetCatalogs_result& operator=(const TCLIService_GetCatalogs_result&); TCLIService_GetCatalogs_result() { } - virtual ~TCLIService_GetCatalogs_result() throw() {} - + virtual ~TCLIService_GetCatalogs_result() throw(); TGetCatalogsResp success; _TCLIService_GetCatalogs_result__isset __isset; - void __set_success(const TGetCatalogsResp& val) { - success = val; - } + void __set_success(const TGetCatalogsResp& val); bool operator == (const TCLIService_GetCatalogs_result & rhs) const { @@ -749,47 +817,53 @@ class TCLIService_GetCatalogs_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_result& obj); }; typedef struct _TCLIService_GetCatalogs_presult__isset { _TCLIService_GetCatalogs_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetCatalogs_presult__isset; class TCLIService_GetCatalogs_presult { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetCatalogs_presult() throw() {} + virtual ~TCLIService_GetCatalogs_presult() throw(); TGetCatalogsResp* success; _TCLIService_GetCatalogs_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_presult& obj); }; typedef struct _TCLIService_GetSchemas_args__isset { _TCLIService_GetSchemas_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_GetSchemas_args__isset; class TCLIService_GetSchemas_args { public: + static const char* ascii_fingerprint; // = "34B9FACB4B4C34ABAEDCF0A2B60345DE"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0xB9,0xFA,0xCB,0x4B,0x4C,0x34,0xAB,0xAE,0xDC,0xF0,0xA2,0xB6,0x03,0x45,0xDE}; + + TCLIService_GetSchemas_args(const TCLIService_GetSchemas_args&); + TCLIService_GetSchemas_args& operator=(const TCLIService_GetSchemas_args&); TCLIService_GetSchemas_args() { } - virtual ~TCLIService_GetSchemas_args() throw() {} - + virtual ~TCLIService_GetSchemas_args() throw(); TGetSchemasReq req; _TCLIService_GetSchemas_args__isset __isset; - void __set_req(const TGetSchemasReq& val) { - req = val; - } + void __set_req(const TGetSchemasReq& val); bool operator == (const TCLIService_GetSchemas_args & rhs) const { @@ -806,41 +880,47 @@ class TCLIService_GetSchemas_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_args& obj); }; class TCLIService_GetSchemas_pargs { public: + static const char* ascii_fingerprint; // = "34B9FACB4B4C34ABAEDCF0A2B60345DE"; + static const uint8_t binary_fingerprint[16]; // = {0x34,0xB9,0xFA,0xCB,0x4B,0x4C,0x34,0xAB,0xAE,0xDC,0xF0,0xA2,0xB6,0x03,0x45,0xDE}; - virtual ~TCLIService_GetSchemas_pargs() throw() {} + virtual ~TCLIService_GetSchemas_pargs() throw(); const TGetSchemasReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_pargs& obj); }; typedef struct _TCLIService_GetSchemas_result__isset { _TCLIService_GetSchemas_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetSchemas_result__isset; class TCLIService_GetSchemas_result { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; + + TCLIService_GetSchemas_result(const TCLIService_GetSchemas_result&); + TCLIService_GetSchemas_result& operator=(const TCLIService_GetSchemas_result&); TCLIService_GetSchemas_result() { } - virtual ~TCLIService_GetSchemas_result() throw() {} - + virtual ~TCLIService_GetSchemas_result() throw(); TGetSchemasResp success; _TCLIService_GetSchemas_result__isset __isset; - void __set_success(const TGetSchemasResp& val) { - success = val; - } + void __set_success(const TGetSchemasResp& val); bool operator == (const TCLIService_GetSchemas_result & rhs) const { @@ -857,47 +937,53 @@ class TCLIService_GetSchemas_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_result& obj); }; typedef struct _TCLIService_GetSchemas_presult__isset { _TCLIService_GetSchemas_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetSchemas_presult__isset; class TCLIService_GetSchemas_presult { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetSchemas_presult() throw() {} + virtual ~TCLIService_GetSchemas_presult() throw(); TGetSchemasResp* success; _TCLIService_GetSchemas_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_presult& obj); }; typedef struct _TCLIService_GetTables_args__isset { _TCLIService_GetTables_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_GetTables_args__isset; class TCLIService_GetTables_args { public: + static const char* ascii_fingerprint; // = "58075D8350502C9B1F3532079C1CF7A6"; + static const uint8_t binary_fingerprint[16]; // = {0x58,0x07,0x5D,0x83,0x50,0x50,0x2C,0x9B,0x1F,0x35,0x32,0x07,0x9C,0x1C,0xF7,0xA6}; + + TCLIService_GetTables_args(const TCLIService_GetTables_args&); + TCLIService_GetTables_args& operator=(const TCLIService_GetTables_args&); TCLIService_GetTables_args() { } - virtual ~TCLIService_GetTables_args() throw() {} - + virtual ~TCLIService_GetTables_args() throw(); TGetTablesReq req; _TCLIService_GetTables_args__isset __isset; - void __set_req(const TGetTablesReq& val) { - req = val; - } + void __set_req(const TGetTablesReq& val); bool operator == (const TCLIService_GetTables_args & rhs) const { @@ -914,41 +1000,47 @@ class TCLIService_GetTables_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_args& obj); }; class TCLIService_GetTables_pargs { public: + static const char* ascii_fingerprint; // = "58075D8350502C9B1F3532079C1CF7A6"; + static const uint8_t binary_fingerprint[16]; // = {0x58,0x07,0x5D,0x83,0x50,0x50,0x2C,0x9B,0x1F,0x35,0x32,0x07,0x9C,0x1C,0xF7,0xA6}; - virtual ~TCLIService_GetTables_pargs() throw() {} + virtual ~TCLIService_GetTables_pargs() throw(); const TGetTablesReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_pargs& obj); }; typedef struct _TCLIService_GetTables_result__isset { _TCLIService_GetTables_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetTables_result__isset; class TCLIService_GetTables_result { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; + + TCLIService_GetTables_result(const TCLIService_GetTables_result&); + TCLIService_GetTables_result& operator=(const TCLIService_GetTables_result&); TCLIService_GetTables_result() { } - virtual ~TCLIService_GetTables_result() throw() {} - + virtual ~TCLIService_GetTables_result() throw(); TGetTablesResp success; _TCLIService_GetTables_result__isset __isset; - void __set_success(const TGetTablesResp& val) { - success = val; - } + void __set_success(const TGetTablesResp& val); bool operator == (const TCLIService_GetTables_result & rhs) const { @@ -965,47 +1057,53 @@ class TCLIService_GetTables_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_result& obj); }; typedef struct _TCLIService_GetTables_presult__isset { _TCLIService_GetTables_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetTables_presult__isset; class TCLIService_GetTables_presult { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetTables_presult() throw() {} + virtual ~TCLIService_GetTables_presult() throw(); TGetTablesResp* success; _TCLIService_GetTables_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_presult& obj); }; typedef struct _TCLIService_GetTableTypes_args__isset { _TCLIService_GetTableTypes_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_GetTableTypes_args__isset; class TCLIService_GetTableTypes_args { public: + static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; + static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; + + TCLIService_GetTableTypes_args(const TCLIService_GetTableTypes_args&); + TCLIService_GetTableTypes_args& operator=(const TCLIService_GetTableTypes_args&); TCLIService_GetTableTypes_args() { } - virtual ~TCLIService_GetTableTypes_args() throw() {} - + virtual ~TCLIService_GetTableTypes_args() throw(); TGetTableTypesReq req; _TCLIService_GetTableTypes_args__isset __isset; - void __set_req(const TGetTableTypesReq& val) { - req = val; - } + void __set_req(const TGetTableTypesReq& val); bool operator == (const TCLIService_GetTableTypes_args & rhs) const { @@ -1022,41 +1120,47 @@ class TCLIService_GetTableTypes_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_args& obj); }; class TCLIService_GetTableTypes_pargs { public: + static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; + static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - virtual ~TCLIService_GetTableTypes_pargs() throw() {} + virtual ~TCLIService_GetTableTypes_pargs() throw(); const TGetTableTypesReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_pargs& obj); }; typedef struct _TCLIService_GetTableTypes_result__isset { _TCLIService_GetTableTypes_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetTableTypes_result__isset; class TCLIService_GetTableTypes_result { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; + + TCLIService_GetTableTypes_result(const TCLIService_GetTableTypes_result&); + TCLIService_GetTableTypes_result& operator=(const TCLIService_GetTableTypes_result&); TCLIService_GetTableTypes_result() { } - virtual ~TCLIService_GetTableTypes_result() throw() {} - + virtual ~TCLIService_GetTableTypes_result() throw(); TGetTableTypesResp success; _TCLIService_GetTableTypes_result__isset __isset; - void __set_success(const TGetTableTypesResp& val) { - success = val; - } + void __set_success(const TGetTableTypesResp& val); bool operator == (const TCLIService_GetTableTypes_result & rhs) const { @@ -1073,47 +1177,53 @@ class TCLIService_GetTableTypes_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_result& obj); }; typedef struct _TCLIService_GetTableTypes_presult__isset { _TCLIService_GetTableTypes_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetTableTypes_presult__isset; class TCLIService_GetTableTypes_presult { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetTableTypes_presult() throw() {} + virtual ~TCLIService_GetTableTypes_presult() throw(); TGetTableTypesResp* success; _TCLIService_GetTableTypes_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_presult& obj); }; typedef struct _TCLIService_GetColumns_args__isset { _TCLIService_GetColumns_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_GetColumns_args__isset; class TCLIService_GetColumns_args { public: + static const char* ascii_fingerprint; // = "7894A0356591B039C72040E21BAAC3E3"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x94,0xA0,0x35,0x65,0x91,0xB0,0x39,0xC7,0x20,0x40,0xE2,0x1B,0xAA,0xC3,0xE3}; + + TCLIService_GetColumns_args(const TCLIService_GetColumns_args&); + TCLIService_GetColumns_args& operator=(const TCLIService_GetColumns_args&); TCLIService_GetColumns_args() { } - virtual ~TCLIService_GetColumns_args() throw() {} - + virtual ~TCLIService_GetColumns_args() throw(); TGetColumnsReq req; _TCLIService_GetColumns_args__isset __isset; - void __set_req(const TGetColumnsReq& val) { - req = val; - } + void __set_req(const TGetColumnsReq& val); bool operator == (const TCLIService_GetColumns_args & rhs) const { @@ -1130,41 +1240,47 @@ class TCLIService_GetColumns_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_args& obj); }; class TCLIService_GetColumns_pargs { public: + static const char* ascii_fingerprint; // = "7894A0356591B039C72040E21BAAC3E3"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x94,0xA0,0x35,0x65,0x91,0xB0,0x39,0xC7,0x20,0x40,0xE2,0x1B,0xAA,0xC3,0xE3}; - virtual ~TCLIService_GetColumns_pargs() throw() {} + virtual ~TCLIService_GetColumns_pargs() throw(); const TGetColumnsReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_pargs& obj); }; typedef struct _TCLIService_GetColumns_result__isset { _TCLIService_GetColumns_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetColumns_result__isset; class TCLIService_GetColumns_result { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; + + TCLIService_GetColumns_result(const TCLIService_GetColumns_result&); + TCLIService_GetColumns_result& operator=(const TCLIService_GetColumns_result&); TCLIService_GetColumns_result() { } - virtual ~TCLIService_GetColumns_result() throw() {} - + virtual ~TCLIService_GetColumns_result() throw(); TGetColumnsResp success; _TCLIService_GetColumns_result__isset __isset; - void __set_success(const TGetColumnsResp& val) { - success = val; - } + void __set_success(const TGetColumnsResp& val); bool operator == (const TCLIService_GetColumns_result & rhs) const { @@ -1181,47 +1297,53 @@ class TCLIService_GetColumns_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_result& obj); }; typedef struct _TCLIService_GetColumns_presult__isset { _TCLIService_GetColumns_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetColumns_presult__isset; class TCLIService_GetColumns_presult { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetColumns_presult() throw() {} + virtual ~TCLIService_GetColumns_presult() throw(); TGetColumnsResp* success; _TCLIService_GetColumns_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_presult& obj); }; typedef struct _TCLIService_GetFunctions_args__isset { _TCLIService_GetFunctions_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_GetFunctions_args__isset; class TCLIService_GetFunctions_args { public: + static const char* ascii_fingerprint; // = "AC28BA383D0EC96F55B7C42FA3E1AF52"; + static const uint8_t binary_fingerprint[16]; // = {0xAC,0x28,0xBA,0x38,0x3D,0x0E,0xC9,0x6F,0x55,0xB7,0xC4,0x2F,0xA3,0xE1,0xAF,0x52}; + + TCLIService_GetFunctions_args(const TCLIService_GetFunctions_args&); + TCLIService_GetFunctions_args& operator=(const TCLIService_GetFunctions_args&); TCLIService_GetFunctions_args() { } - virtual ~TCLIService_GetFunctions_args() throw() {} - + virtual ~TCLIService_GetFunctions_args() throw(); TGetFunctionsReq req; _TCLIService_GetFunctions_args__isset __isset; - void __set_req(const TGetFunctionsReq& val) { - req = val; - } + void __set_req(const TGetFunctionsReq& val); bool operator == (const TCLIService_GetFunctions_args & rhs) const { @@ -1238,41 +1360,47 @@ class TCLIService_GetFunctions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_args& obj); }; class TCLIService_GetFunctions_pargs { public: + static const char* ascii_fingerprint; // = "AC28BA383D0EC96F55B7C42FA3E1AF52"; + static const uint8_t binary_fingerprint[16]; // = {0xAC,0x28,0xBA,0x38,0x3D,0x0E,0xC9,0x6F,0x55,0xB7,0xC4,0x2F,0xA3,0xE1,0xAF,0x52}; - virtual ~TCLIService_GetFunctions_pargs() throw() {} + virtual ~TCLIService_GetFunctions_pargs() throw(); const TGetFunctionsReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_pargs& obj); }; typedef struct _TCLIService_GetFunctions_result__isset { _TCLIService_GetFunctions_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetFunctions_result__isset; class TCLIService_GetFunctions_result { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; + + TCLIService_GetFunctions_result(const TCLIService_GetFunctions_result&); + TCLIService_GetFunctions_result& operator=(const TCLIService_GetFunctions_result&); TCLIService_GetFunctions_result() { } - virtual ~TCLIService_GetFunctions_result() throw() {} - + virtual ~TCLIService_GetFunctions_result() throw(); TGetFunctionsResp success; _TCLIService_GetFunctions_result__isset __isset; - void __set_success(const TGetFunctionsResp& val) { - success = val; - } + void __set_success(const TGetFunctionsResp& val); bool operator == (const TCLIService_GetFunctions_result & rhs) const { @@ -1289,47 +1417,53 @@ class TCLIService_GetFunctions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_result& obj); }; typedef struct _TCLIService_GetFunctions_presult__isset { _TCLIService_GetFunctions_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetFunctions_presult__isset; class TCLIService_GetFunctions_presult { public: + static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; + static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetFunctions_presult() throw() {} + virtual ~TCLIService_GetFunctions_presult() throw(); TGetFunctionsResp* success; _TCLIService_GetFunctions_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_presult& obj); }; typedef struct _TCLIService_GetOperationStatus_args__isset { _TCLIService_GetOperationStatus_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_GetOperationStatus_args__isset; class TCLIService_GetOperationStatus_args { public: + static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; + static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; + + TCLIService_GetOperationStatus_args(const TCLIService_GetOperationStatus_args&); + TCLIService_GetOperationStatus_args& operator=(const TCLIService_GetOperationStatus_args&); TCLIService_GetOperationStatus_args() { } - virtual ~TCLIService_GetOperationStatus_args() throw() {} - + virtual ~TCLIService_GetOperationStatus_args() throw(); TGetOperationStatusReq req; _TCLIService_GetOperationStatus_args__isset __isset; - void __set_req(const TGetOperationStatusReq& val) { - req = val; - } + void __set_req(const TGetOperationStatusReq& val); bool operator == (const TCLIService_GetOperationStatus_args & rhs) const { @@ -1346,41 +1480,47 @@ class TCLIService_GetOperationStatus_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_args& obj); }; class TCLIService_GetOperationStatus_pargs { public: + static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; + static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - virtual ~TCLIService_GetOperationStatus_pargs() throw() {} + virtual ~TCLIService_GetOperationStatus_pargs() throw(); const TGetOperationStatusReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_pargs& obj); }; typedef struct _TCLIService_GetOperationStatus_result__isset { _TCLIService_GetOperationStatus_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetOperationStatus_result__isset; class TCLIService_GetOperationStatus_result { public: + static const char* ascii_fingerprint; // = "C399947D185D259358E6B922C40ACF85"; + static const uint8_t binary_fingerprint[16]; // = {0xC3,0x99,0x94,0x7D,0x18,0x5D,0x25,0x93,0x58,0xE6,0xB9,0x22,0xC4,0x0A,0xCF,0x85}; + + TCLIService_GetOperationStatus_result(const TCLIService_GetOperationStatus_result&); + TCLIService_GetOperationStatus_result& operator=(const TCLIService_GetOperationStatus_result&); TCLIService_GetOperationStatus_result() { } - virtual ~TCLIService_GetOperationStatus_result() throw() {} - + virtual ~TCLIService_GetOperationStatus_result() throw(); TGetOperationStatusResp success; _TCLIService_GetOperationStatus_result__isset __isset; - void __set_success(const TGetOperationStatusResp& val) { - success = val; - } + void __set_success(const TGetOperationStatusResp& val); bool operator == (const TCLIService_GetOperationStatus_result & rhs) const { @@ -1397,47 +1537,53 @@ class TCLIService_GetOperationStatus_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_result& obj); }; typedef struct _TCLIService_GetOperationStatus_presult__isset { _TCLIService_GetOperationStatus_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetOperationStatus_presult__isset; class TCLIService_GetOperationStatus_presult { public: + static const char* ascii_fingerprint; // = "C399947D185D259358E6B922C40ACF85"; + static const uint8_t binary_fingerprint[16]; // = {0xC3,0x99,0x94,0x7D,0x18,0x5D,0x25,0x93,0x58,0xE6,0xB9,0x22,0xC4,0x0A,0xCF,0x85}; - virtual ~TCLIService_GetOperationStatus_presult() throw() {} + virtual ~TCLIService_GetOperationStatus_presult() throw(); TGetOperationStatusResp* success; _TCLIService_GetOperationStatus_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_presult& obj); }; typedef struct _TCLIService_CancelOperation_args__isset { _TCLIService_CancelOperation_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_CancelOperation_args__isset; class TCLIService_CancelOperation_args { public: + static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; + static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; + + TCLIService_CancelOperation_args(const TCLIService_CancelOperation_args&); + TCLIService_CancelOperation_args& operator=(const TCLIService_CancelOperation_args&); TCLIService_CancelOperation_args() { } - virtual ~TCLIService_CancelOperation_args() throw() {} - + virtual ~TCLIService_CancelOperation_args() throw(); TCancelOperationReq req; _TCLIService_CancelOperation_args__isset __isset; - void __set_req(const TCancelOperationReq& val) { - req = val; - } + void __set_req(const TCancelOperationReq& val); bool operator == (const TCLIService_CancelOperation_args & rhs) const { @@ -1454,41 +1600,47 @@ class TCLIService_CancelOperation_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_args& obj); }; class TCLIService_CancelOperation_pargs { public: + static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; + static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - virtual ~TCLIService_CancelOperation_pargs() throw() {} + virtual ~TCLIService_CancelOperation_pargs() throw(); const TCancelOperationReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_pargs& obj); }; typedef struct _TCLIService_CancelOperation_result__isset { _TCLIService_CancelOperation_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_CancelOperation_result__isset; class TCLIService_CancelOperation_result { public: + static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; + + TCLIService_CancelOperation_result(const TCLIService_CancelOperation_result&); + TCLIService_CancelOperation_result& operator=(const TCLIService_CancelOperation_result&); TCLIService_CancelOperation_result() { } - virtual ~TCLIService_CancelOperation_result() throw() {} - + virtual ~TCLIService_CancelOperation_result() throw(); TCancelOperationResp success; _TCLIService_CancelOperation_result__isset __isset; - void __set_success(const TCancelOperationResp& val) { - success = val; - } + void __set_success(const TCancelOperationResp& val); bool operator == (const TCLIService_CancelOperation_result & rhs) const { @@ -1505,47 +1657,53 @@ class TCLIService_CancelOperation_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_result& obj); }; typedef struct _TCLIService_CancelOperation_presult__isset { _TCLIService_CancelOperation_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_CancelOperation_presult__isset; class TCLIService_CancelOperation_presult { public: + static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - virtual ~TCLIService_CancelOperation_presult() throw() {} + virtual ~TCLIService_CancelOperation_presult() throw(); TCancelOperationResp* success; _TCLIService_CancelOperation_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_presult& obj); }; typedef struct _TCLIService_CloseOperation_args__isset { _TCLIService_CloseOperation_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_CloseOperation_args__isset; class TCLIService_CloseOperation_args { public: + static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; + static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; + + TCLIService_CloseOperation_args(const TCLIService_CloseOperation_args&); + TCLIService_CloseOperation_args& operator=(const TCLIService_CloseOperation_args&); TCLIService_CloseOperation_args() { } - virtual ~TCLIService_CloseOperation_args() throw() {} - + virtual ~TCLIService_CloseOperation_args() throw(); TCloseOperationReq req; _TCLIService_CloseOperation_args__isset __isset; - void __set_req(const TCloseOperationReq& val) { - req = val; - } + void __set_req(const TCloseOperationReq& val); bool operator == (const TCLIService_CloseOperation_args & rhs) const { @@ -1562,41 +1720,47 @@ class TCLIService_CloseOperation_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_args& obj); }; class TCLIService_CloseOperation_pargs { public: + static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; + static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - virtual ~TCLIService_CloseOperation_pargs() throw() {} + virtual ~TCLIService_CloseOperation_pargs() throw(); const TCloseOperationReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_pargs& obj); }; typedef struct _TCLIService_CloseOperation_result__isset { _TCLIService_CloseOperation_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_CloseOperation_result__isset; class TCLIService_CloseOperation_result { public: + static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; + + TCLIService_CloseOperation_result(const TCLIService_CloseOperation_result&); + TCLIService_CloseOperation_result& operator=(const TCLIService_CloseOperation_result&); TCLIService_CloseOperation_result() { } - virtual ~TCLIService_CloseOperation_result() throw() {} - + virtual ~TCLIService_CloseOperation_result() throw(); TCloseOperationResp success; _TCLIService_CloseOperation_result__isset __isset; - void __set_success(const TCloseOperationResp& val) { - success = val; - } + void __set_success(const TCloseOperationResp& val); bool operator == (const TCLIService_CloseOperation_result & rhs) const { @@ -1613,47 +1777,53 @@ class TCLIService_CloseOperation_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_result& obj); }; typedef struct _TCLIService_CloseOperation_presult__isset { _TCLIService_CloseOperation_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_CloseOperation_presult__isset; class TCLIService_CloseOperation_presult { public: + static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - virtual ~TCLIService_CloseOperation_presult() throw() {} + virtual ~TCLIService_CloseOperation_presult() throw(); TCloseOperationResp* success; _TCLIService_CloseOperation_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_presult& obj); }; typedef struct _TCLIService_GetResultSetMetadata_args__isset { _TCLIService_GetResultSetMetadata_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_GetResultSetMetadata_args__isset; class TCLIService_GetResultSetMetadata_args { public: + static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; + static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; + + TCLIService_GetResultSetMetadata_args(const TCLIService_GetResultSetMetadata_args&); + TCLIService_GetResultSetMetadata_args& operator=(const TCLIService_GetResultSetMetadata_args&); TCLIService_GetResultSetMetadata_args() { } - virtual ~TCLIService_GetResultSetMetadata_args() throw() {} - + virtual ~TCLIService_GetResultSetMetadata_args() throw(); TGetResultSetMetadataReq req; _TCLIService_GetResultSetMetadata_args__isset __isset; - void __set_req(const TGetResultSetMetadataReq& val) { - req = val; - } + void __set_req(const TGetResultSetMetadataReq& val); bool operator == (const TCLIService_GetResultSetMetadata_args & rhs) const { @@ -1670,41 +1840,47 @@ class TCLIService_GetResultSetMetadata_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_args& obj); }; class TCLIService_GetResultSetMetadata_pargs { public: + static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; + static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - virtual ~TCLIService_GetResultSetMetadata_pargs() throw() {} + virtual ~TCLIService_GetResultSetMetadata_pargs() throw(); const TGetResultSetMetadataReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_pargs& obj); }; typedef struct _TCLIService_GetResultSetMetadata_result__isset { _TCLIService_GetResultSetMetadata_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetResultSetMetadata_result__isset; class TCLIService_GetResultSetMetadata_result { public: + static const char* ascii_fingerprint; // = "748CA3BE2055D5C1AD7EAAEF01F7C463"; + static const uint8_t binary_fingerprint[16]; // = {0x74,0x8C,0xA3,0xBE,0x20,0x55,0xD5,0xC1,0xAD,0x7E,0xAA,0xEF,0x01,0xF7,0xC4,0x63}; + + TCLIService_GetResultSetMetadata_result(const TCLIService_GetResultSetMetadata_result&); + TCLIService_GetResultSetMetadata_result& operator=(const TCLIService_GetResultSetMetadata_result&); TCLIService_GetResultSetMetadata_result() { } - virtual ~TCLIService_GetResultSetMetadata_result() throw() {} - + virtual ~TCLIService_GetResultSetMetadata_result() throw(); TGetResultSetMetadataResp success; _TCLIService_GetResultSetMetadata_result__isset __isset; - void __set_success(const TGetResultSetMetadataResp& val) { - success = val; - } + void __set_success(const TGetResultSetMetadataResp& val); bool operator == (const TCLIService_GetResultSetMetadata_result & rhs) const { @@ -1721,47 +1897,53 @@ class TCLIService_GetResultSetMetadata_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_result& obj); }; typedef struct _TCLIService_GetResultSetMetadata_presult__isset { _TCLIService_GetResultSetMetadata_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetResultSetMetadata_presult__isset; class TCLIService_GetResultSetMetadata_presult { public: + static const char* ascii_fingerprint; // = "748CA3BE2055D5C1AD7EAAEF01F7C463"; + static const uint8_t binary_fingerprint[16]; // = {0x74,0x8C,0xA3,0xBE,0x20,0x55,0xD5,0xC1,0xAD,0x7E,0xAA,0xEF,0x01,0xF7,0xC4,0x63}; - virtual ~TCLIService_GetResultSetMetadata_presult() throw() {} + virtual ~TCLIService_GetResultSetMetadata_presult() throw(); TGetResultSetMetadataResp* success; _TCLIService_GetResultSetMetadata_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_presult& obj); }; typedef struct _TCLIService_FetchResults_args__isset { _TCLIService_FetchResults_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_FetchResults_args__isset; class TCLIService_FetchResults_args { public: + static const char* ascii_fingerprint; // = "9861C5443566158A1DAEAC80886635C8"; + static const uint8_t binary_fingerprint[16]; // = {0x98,0x61,0xC5,0x44,0x35,0x66,0x15,0x8A,0x1D,0xAE,0xAC,0x80,0x88,0x66,0x35,0xC8}; + + TCLIService_FetchResults_args(const TCLIService_FetchResults_args&); + TCLIService_FetchResults_args& operator=(const TCLIService_FetchResults_args&); TCLIService_FetchResults_args() { } - virtual ~TCLIService_FetchResults_args() throw() {} - + virtual ~TCLIService_FetchResults_args() throw(); TFetchResultsReq req; _TCLIService_FetchResults_args__isset __isset; - void __set_req(const TFetchResultsReq& val) { - req = val; - } + void __set_req(const TFetchResultsReq& val); bool operator == (const TCLIService_FetchResults_args & rhs) const { @@ -1778,41 +1960,47 @@ class TCLIService_FetchResults_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_args& obj); }; class TCLIService_FetchResults_pargs { public: + static const char* ascii_fingerprint; // = "9861C5443566158A1DAEAC80886635C8"; + static const uint8_t binary_fingerprint[16]; // = {0x98,0x61,0xC5,0x44,0x35,0x66,0x15,0x8A,0x1D,0xAE,0xAC,0x80,0x88,0x66,0x35,0xC8}; - virtual ~TCLIService_FetchResults_pargs() throw() {} + virtual ~TCLIService_FetchResults_pargs() throw(); const TFetchResultsReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_pargs& obj); }; typedef struct _TCLIService_FetchResults_result__isset { _TCLIService_FetchResults_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_FetchResults_result__isset; class TCLIService_FetchResults_result { public: + static const char* ascii_fingerprint; // = "CDEF797B9FFCA6B2CD18163A3D78F196"; + static const uint8_t binary_fingerprint[16]; // = {0xCD,0xEF,0x79,0x7B,0x9F,0xFC,0xA6,0xB2,0xCD,0x18,0x16,0x3A,0x3D,0x78,0xF1,0x96}; + + TCLIService_FetchResults_result(const TCLIService_FetchResults_result&); + TCLIService_FetchResults_result& operator=(const TCLIService_FetchResults_result&); TCLIService_FetchResults_result() { } - virtual ~TCLIService_FetchResults_result() throw() {} - + virtual ~TCLIService_FetchResults_result() throw(); TFetchResultsResp success; _TCLIService_FetchResults_result__isset __isset; - void __set_success(const TFetchResultsResp& val) { - success = val; - } + void __set_success(const TFetchResultsResp& val); bool operator == (const TCLIService_FetchResults_result & rhs) const { @@ -1829,47 +2017,53 @@ class TCLIService_FetchResults_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_result& obj); }; typedef struct _TCLIService_FetchResults_presult__isset { _TCLIService_FetchResults_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_FetchResults_presult__isset; class TCLIService_FetchResults_presult { public: + static const char* ascii_fingerprint; // = "CDEF797B9FFCA6B2CD18163A3D78F196"; + static const uint8_t binary_fingerprint[16]; // = {0xCD,0xEF,0x79,0x7B,0x9F,0xFC,0xA6,0xB2,0xCD,0x18,0x16,0x3A,0x3D,0x78,0xF1,0x96}; - virtual ~TCLIService_FetchResults_presult() throw() {} + virtual ~TCLIService_FetchResults_presult() throw(); TFetchResultsResp* success; _TCLIService_FetchResults_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_presult& obj); }; typedef struct _TCLIService_GetDelegationToken_args__isset { _TCLIService_GetDelegationToken_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_GetDelegationToken_args__isset; class TCLIService_GetDelegationToken_args { public: + static const char* ascii_fingerprint; // = "BF8EEEB8C67FB6195D3D9BA5BA2C58A4"; + static const uint8_t binary_fingerprint[16]; // = {0xBF,0x8E,0xEE,0xB8,0xC6,0x7F,0xB6,0x19,0x5D,0x3D,0x9B,0xA5,0xBA,0x2C,0x58,0xA4}; + + TCLIService_GetDelegationToken_args(const TCLIService_GetDelegationToken_args&); + TCLIService_GetDelegationToken_args& operator=(const TCLIService_GetDelegationToken_args&); TCLIService_GetDelegationToken_args() { } - virtual ~TCLIService_GetDelegationToken_args() throw() {} - + virtual ~TCLIService_GetDelegationToken_args() throw(); TGetDelegationTokenReq req; _TCLIService_GetDelegationToken_args__isset __isset; - void __set_req(const TGetDelegationTokenReq& val) { - req = val; - } + void __set_req(const TGetDelegationTokenReq& val); bool operator == (const TCLIService_GetDelegationToken_args & rhs) const { @@ -1886,41 +2080,47 @@ class TCLIService_GetDelegationToken_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_args& obj); }; class TCLIService_GetDelegationToken_pargs { public: + static const char* ascii_fingerprint; // = "BF8EEEB8C67FB6195D3D9BA5BA2C58A4"; + static const uint8_t binary_fingerprint[16]; // = {0xBF,0x8E,0xEE,0xB8,0xC6,0x7F,0xB6,0x19,0x5D,0x3D,0x9B,0xA5,0xBA,0x2C,0x58,0xA4}; - virtual ~TCLIService_GetDelegationToken_pargs() throw() {} + virtual ~TCLIService_GetDelegationToken_pargs() throw(); const TGetDelegationTokenReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_pargs& obj); }; typedef struct _TCLIService_GetDelegationToken_result__isset { _TCLIService_GetDelegationToken_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetDelegationToken_result__isset; class TCLIService_GetDelegationToken_result { public: + static const char* ascii_fingerprint; // = "58C1B84BE91071117FFEBB0AFA1636F7"; + static const uint8_t binary_fingerprint[16]; // = {0x58,0xC1,0xB8,0x4B,0xE9,0x10,0x71,0x11,0x7F,0xFE,0xBB,0x0A,0xFA,0x16,0x36,0xF7}; + + TCLIService_GetDelegationToken_result(const TCLIService_GetDelegationToken_result&); + TCLIService_GetDelegationToken_result& operator=(const TCLIService_GetDelegationToken_result&); TCLIService_GetDelegationToken_result() { } - virtual ~TCLIService_GetDelegationToken_result() throw() {} - + virtual ~TCLIService_GetDelegationToken_result() throw(); TGetDelegationTokenResp success; _TCLIService_GetDelegationToken_result__isset __isset; - void __set_success(const TGetDelegationTokenResp& val) { - success = val; - } + void __set_success(const TGetDelegationTokenResp& val); bool operator == (const TCLIService_GetDelegationToken_result & rhs) const { @@ -1937,47 +2137,53 @@ class TCLIService_GetDelegationToken_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_result& obj); }; typedef struct _TCLIService_GetDelegationToken_presult__isset { _TCLIService_GetDelegationToken_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_GetDelegationToken_presult__isset; class TCLIService_GetDelegationToken_presult { public: + static const char* ascii_fingerprint; // = "58C1B84BE91071117FFEBB0AFA1636F7"; + static const uint8_t binary_fingerprint[16]; // = {0x58,0xC1,0xB8,0x4B,0xE9,0x10,0x71,0x11,0x7F,0xFE,0xBB,0x0A,0xFA,0x16,0x36,0xF7}; - virtual ~TCLIService_GetDelegationToken_presult() throw() {} + virtual ~TCLIService_GetDelegationToken_presult() throw(); TGetDelegationTokenResp* success; _TCLIService_GetDelegationToken_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_presult& obj); }; typedef struct _TCLIService_CancelDelegationToken_args__isset { _TCLIService_CancelDelegationToken_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_CancelDelegationToken_args__isset; class TCLIService_CancelDelegationToken_args { public: + static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54"; + static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54}; + + TCLIService_CancelDelegationToken_args(const TCLIService_CancelDelegationToken_args&); + TCLIService_CancelDelegationToken_args& operator=(const TCLIService_CancelDelegationToken_args&); TCLIService_CancelDelegationToken_args() { } - virtual ~TCLIService_CancelDelegationToken_args() throw() {} - + virtual ~TCLIService_CancelDelegationToken_args() throw(); TCancelDelegationTokenReq req; _TCLIService_CancelDelegationToken_args__isset __isset; - void __set_req(const TCancelDelegationTokenReq& val) { - req = val; - } + void __set_req(const TCancelDelegationTokenReq& val); bool operator == (const TCLIService_CancelDelegationToken_args & rhs) const { @@ -1994,41 +2200,47 @@ class TCLIService_CancelDelegationToken_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_args& obj); }; class TCLIService_CancelDelegationToken_pargs { public: + static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54"; + static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54}; - virtual ~TCLIService_CancelDelegationToken_pargs() throw() {} + virtual ~TCLIService_CancelDelegationToken_pargs() throw(); const TCancelDelegationTokenReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_pargs& obj); }; typedef struct _TCLIService_CancelDelegationToken_result__isset { _TCLIService_CancelDelegationToken_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_CancelDelegationToken_result__isset; class TCLIService_CancelDelegationToken_result { public: + static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; + + TCLIService_CancelDelegationToken_result(const TCLIService_CancelDelegationToken_result&); + TCLIService_CancelDelegationToken_result& operator=(const TCLIService_CancelDelegationToken_result&); TCLIService_CancelDelegationToken_result() { } - virtual ~TCLIService_CancelDelegationToken_result() throw() {} - + virtual ~TCLIService_CancelDelegationToken_result() throw(); TCancelDelegationTokenResp success; _TCLIService_CancelDelegationToken_result__isset __isset; - void __set_success(const TCancelDelegationTokenResp& val) { - success = val; - } + void __set_success(const TCancelDelegationTokenResp& val); bool operator == (const TCLIService_CancelDelegationToken_result & rhs) const { @@ -2045,47 +2257,53 @@ class TCLIService_CancelDelegationToken_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_result& obj); }; typedef struct _TCLIService_CancelDelegationToken_presult__isset { _TCLIService_CancelDelegationToken_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_CancelDelegationToken_presult__isset; class TCLIService_CancelDelegationToken_presult { public: + static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - virtual ~TCLIService_CancelDelegationToken_presult() throw() {} + virtual ~TCLIService_CancelDelegationToken_presult() throw(); TCancelDelegationTokenResp* success; _TCLIService_CancelDelegationToken_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_presult& obj); }; typedef struct _TCLIService_RenewDelegationToken_args__isset { _TCLIService_RenewDelegationToken_args__isset() : req(false) {} - bool req; + bool req :1; } _TCLIService_RenewDelegationToken_args__isset; class TCLIService_RenewDelegationToken_args { public: + static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54"; + static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54}; + + TCLIService_RenewDelegationToken_args(const TCLIService_RenewDelegationToken_args&); + TCLIService_RenewDelegationToken_args& operator=(const TCLIService_RenewDelegationToken_args&); TCLIService_RenewDelegationToken_args() { } - virtual ~TCLIService_RenewDelegationToken_args() throw() {} - + virtual ~TCLIService_RenewDelegationToken_args() throw(); TRenewDelegationTokenReq req; _TCLIService_RenewDelegationToken_args__isset __isset; - void __set_req(const TRenewDelegationTokenReq& val) { - req = val; - } + void __set_req(const TRenewDelegationTokenReq& val); bool operator == (const TCLIService_RenewDelegationToken_args & rhs) const { @@ -2102,41 +2320,47 @@ class TCLIService_RenewDelegationToken_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_args& obj); }; class TCLIService_RenewDelegationToken_pargs { public: + static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54"; + static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54}; - virtual ~TCLIService_RenewDelegationToken_pargs() throw() {} + virtual ~TCLIService_RenewDelegationToken_pargs() throw(); const TRenewDelegationTokenReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_pargs& obj); }; typedef struct _TCLIService_RenewDelegationToken_result__isset { _TCLIService_RenewDelegationToken_result__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_RenewDelegationToken_result__isset; class TCLIService_RenewDelegationToken_result { public: + static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; + + TCLIService_RenewDelegationToken_result(const TCLIService_RenewDelegationToken_result&); + TCLIService_RenewDelegationToken_result& operator=(const TCLIService_RenewDelegationToken_result&); TCLIService_RenewDelegationToken_result() { } - virtual ~TCLIService_RenewDelegationToken_result() throw() {} - + virtual ~TCLIService_RenewDelegationToken_result() throw(); TRenewDelegationTokenResp success; _TCLIService_RenewDelegationToken_result__isset __isset; - void __set_success(const TRenewDelegationTokenResp& val) { - success = val; - } + void __set_success(const TRenewDelegationTokenResp& val); bool operator == (const TCLIService_RenewDelegationToken_result & rhs) const { @@ -2153,41 +2377,50 @@ class TCLIService_RenewDelegationToken_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_result& obj); }; typedef struct _TCLIService_RenewDelegationToken_presult__isset { _TCLIService_RenewDelegationToken_presult__isset() : success(false) {} - bool success; + bool success :1; } _TCLIService_RenewDelegationToken_presult__isset; class TCLIService_RenewDelegationToken_presult { public: + static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - virtual ~TCLIService_RenewDelegationToken_presult() throw() {} + virtual ~TCLIService_RenewDelegationToken_presult() throw(); TRenewDelegationTokenResp* success; _TCLIService_RenewDelegationToken_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_presult& obj); }; class TCLIServiceClient : virtual public TCLIServiceIf { public: - TCLIServiceClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) : - piprot_(prot), - poprot_(prot) { - iprot_ = prot.get(); - oprot_ = prot.get(); + TCLIServiceClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) { + setProtocol(prot); + } + TCLIServiceClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) { + setProtocol(iprot,oprot); } - TCLIServiceClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) : - piprot_(iprot), - poprot_(oprot) { + private: + void setProtocol(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) { + setProtocol(prot,prot); + } + void setProtocol(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) { + piprot_=iprot; + poprot_=oprot; iprot_ = iprot.get(); oprot_ = oprot.get(); } + public: boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() { return piprot_; } diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp b/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp index d1551b5..dcca5c8 100644 --- a/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp +++ b/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_constants.h b/service/src/gen/thrift/gen-cpp/TCLIService_constants.h index e5a7a1f..8993394 100644 --- a/service/src/gen/thrift/gen-cpp/TCLIService_constants.h +++ b/service/src/gen/thrift/gen-cpp/TCLIService_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp b/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp index 86eeea3..742cfdc 100644 --- a/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp +++ b/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,6 +7,9 @@ #include "TCLIService_types.h" #include +#include + +#include namespace apache { namespace hive { namespace service { namespace cli { namespace thrift { @@ -262,6 +265,21 @@ const char* _kTFetchOrientationNames[] = { }; const std::map _TFetchOrientation_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(6, _kTFetchOrientationValues, _kTFetchOrientationNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL)); + +TTypeQualifierValue::~TTypeQualifierValue() throw() { +} + + +void TTypeQualifierValue::__set_i32Value(const int32_t val) { + this->i32Value = val; +__isset.i32Value = true; +} + +void TTypeQualifierValue::__set_stringValue(const std::string& val) { + this->stringValue = val; +__isset.stringValue = true; +} + const char* TTypeQualifierValue::ascii_fingerprint = "A7801670116150C65ACA43E6F679BA79"; const uint8_t TTypeQualifierValue::binary_fingerprint[16] = {0xA7,0x80,0x16,0x70,0x11,0x61,0x50,0xC6,0x5A,0xCA,0x43,0xE6,0xF6,0x79,0xBA,0x79}; @@ -315,6 +333,7 @@ uint32_t TTypeQualifierValue::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TTypeQualifierValue"); if (this->__isset.i32Value) { @@ -329,6 +348,7 @@ uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -339,6 +359,35 @@ void swap(TTypeQualifierValue &a, TTypeQualifierValue &b) { swap(a.__isset, b.__isset); } +TTypeQualifierValue::TTypeQualifierValue(const TTypeQualifierValue& other0) { + i32Value = other0.i32Value; + stringValue = other0.stringValue; + __isset = other0.__isset; +} +TTypeQualifierValue& TTypeQualifierValue::operator=(const TTypeQualifierValue& other1) { + i32Value = other1.i32Value; + stringValue = other1.stringValue; + __isset = other1.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj) { + using apache::thrift::to_string; + out << "TTypeQualifierValue("; + out << "i32Value="; (obj.__isset.i32Value ? (out << to_string(obj.i32Value)) : (out << "")); + out << ", " << "stringValue="; (obj.__isset.stringValue ? (out << to_string(obj.stringValue)) : (out << "")); + out << ")"; + return out; +} + + +TTypeQualifiers::~TTypeQualifiers() throw() { +} + + +void TTypeQualifiers::__set_qualifiers(const std::map & val) { + this->qualifiers = val; +} + const char* TTypeQualifiers::ascii_fingerprint = "6C72981CFA989214285648FA8C196C47"; const uint8_t TTypeQualifiers::binary_fingerprint[16] = {0x6C,0x72,0x98,0x1C,0xFA,0x98,0x92,0x14,0x28,0x56,0x48,0xFA,0x8C,0x19,0x6C,0x47}; @@ -367,17 +416,17 @@ uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->qualifiers.clear(); - uint32_t _size0; - ::apache::thrift::protocol::TType _ktype1; - ::apache::thrift::protocol::TType _vtype2; - xfer += iprot->readMapBegin(_ktype1, _vtype2, _size0); - uint32_t _i4; - for (_i4 = 0; _i4 < _size0; ++_i4) + uint32_t _size2; + ::apache::thrift::protocol::TType _ktype3; + ::apache::thrift::protocol::TType _vtype4; + xfer += iprot->readMapBegin(_ktype3, _vtype4, _size2); + uint32_t _i6; + for (_i6 = 0; _i6 < _size2; ++_i6) { - std::string _key5; - xfer += iprot->readString(_key5); - TTypeQualifierValue& _val6 = this->qualifiers[_key5]; - xfer += _val6.read(iprot); + std::string _key7; + xfer += iprot->readString(_key7); + TTypeQualifierValue& _val8 = this->qualifiers[_key7]; + xfer += _val8.read(iprot); } xfer += iprot->readMapEnd(); } @@ -402,16 +451,17 @@ uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TTypeQualifiers"); xfer += oprot->writeFieldBegin("qualifiers", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->qualifiers.size())); - std::map ::const_iterator _iter7; - for (_iter7 = this->qualifiers.begin(); _iter7 != this->qualifiers.end(); ++_iter7) + std::map ::const_iterator _iter9; + for (_iter9 = this->qualifiers.begin(); _iter9 != this->qualifiers.end(); ++_iter9) { - xfer += oprot->writeString(_iter7->first); - xfer += _iter7->second.write(oprot); + xfer += oprot->writeString(_iter9->first); + xfer += _iter9->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -419,6 +469,7 @@ uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -427,6 +478,35 @@ void swap(TTypeQualifiers &a, TTypeQualifiers &b) { swap(a.qualifiers, b.qualifiers); } +TTypeQualifiers::TTypeQualifiers(const TTypeQualifiers& other10) { + qualifiers = other10.qualifiers; +} +TTypeQualifiers& TTypeQualifiers::operator=(const TTypeQualifiers& other11) { + qualifiers = other11.qualifiers; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj) { + using apache::thrift::to_string; + out << "TTypeQualifiers("; + out << "qualifiers=" << to_string(obj.qualifiers); + out << ")"; + return out; +} + + +TPrimitiveTypeEntry::~TPrimitiveTypeEntry() throw() { +} + + +void TPrimitiveTypeEntry::__set_type(const TTypeId::type val) { + this->type = val; +} + +void TPrimitiveTypeEntry::__set_typeQualifiers(const TTypeQualifiers& val) { + this->typeQualifiers = val; +__isset.typeQualifiers = true; +} + const char* TPrimitiveTypeEntry::ascii_fingerprint = "755674F6A5C8EB47868686AE386FBC1C"; const uint8_t TPrimitiveTypeEntry::binary_fingerprint[16] = {0x75,0x56,0x74,0xF6,0xA5,0xC8,0xEB,0x47,0x86,0x86,0x86,0xAE,0x38,0x6F,0xBC,0x1C}; @@ -453,9 +533,9 @@ uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast8; - xfer += iprot->readI32(ecast8); - this->type = (TTypeId::type)ecast8; + int32_t ecast12; + xfer += iprot->readI32(ecast12); + this->type = (TTypeId::type)ecast12; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -485,6 +565,7 @@ uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TPrimitiveTypeEntry"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 1); @@ -498,6 +579,7 @@ uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -508,6 +590,35 @@ void swap(TPrimitiveTypeEntry &a, TPrimitiveTypeEntry &b) { swap(a.__isset, b.__isset); } +TPrimitiveTypeEntry::TPrimitiveTypeEntry(const TPrimitiveTypeEntry& other13) { + type = other13.type; + typeQualifiers = other13.typeQualifiers; + __isset = other13.__isset; +} +TPrimitiveTypeEntry& TPrimitiveTypeEntry::operator=(const TPrimitiveTypeEntry& other14) { + type = other14.type; + typeQualifiers = other14.typeQualifiers; + __isset = other14.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj) { + using apache::thrift::to_string; + out << "TPrimitiveTypeEntry("; + out << "type=" << to_string(obj.type); + out << ", " << "typeQualifiers="; (obj.__isset.typeQualifiers ? (out << to_string(obj.typeQualifiers)) : (out << "")); + out << ")"; + return out; +} + + +TArrayTypeEntry::~TArrayTypeEntry() throw() { +} + + +void TArrayTypeEntry::__set_objectTypePtr(const TTypeEntryPtr val) { + this->objectTypePtr = val; +} + const char* TArrayTypeEntry::ascii_fingerprint = "E86CACEB22240450EDCBEFC3A83970E4"; const uint8_t TArrayTypeEntry::binary_fingerprint[16] = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; @@ -556,6 +667,7 @@ uint32_t TArrayTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TArrayTypeEntry"); xfer += oprot->writeFieldBegin("objectTypePtr", ::apache::thrift::protocol::T_I32, 1); @@ -564,6 +676,7 @@ uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -572,6 +685,34 @@ void swap(TArrayTypeEntry &a, TArrayTypeEntry &b) { swap(a.objectTypePtr, b.objectTypePtr); } +TArrayTypeEntry::TArrayTypeEntry(const TArrayTypeEntry& other15) { + objectTypePtr = other15.objectTypePtr; +} +TArrayTypeEntry& TArrayTypeEntry::operator=(const TArrayTypeEntry& other16) { + objectTypePtr = other16.objectTypePtr; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj) { + using apache::thrift::to_string; + out << "TArrayTypeEntry("; + out << "objectTypePtr=" << to_string(obj.objectTypePtr); + out << ")"; + return out; +} + + +TMapTypeEntry::~TMapTypeEntry() throw() { +} + + +void TMapTypeEntry::__set_keyTypePtr(const TTypeEntryPtr val) { + this->keyTypePtr = val; +} + +void TMapTypeEntry::__set_valueTypePtr(const TTypeEntryPtr val) { + this->valueTypePtr = val; +} + const char* TMapTypeEntry::ascii_fingerprint = "989D1F1AE8D148D5E2119FFEC4BBBEE3"; const uint8_t TMapTypeEntry::binary_fingerprint[16] = {0x98,0x9D,0x1F,0x1A,0xE8,0xD1,0x48,0xD5,0xE2,0x11,0x9F,0xFE,0xC4,0xBB,0xBE,0xE3}; @@ -631,6 +772,7 @@ uint32_t TMapTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TMapTypeEntry"); xfer += oprot->writeFieldBegin("keyTypePtr", ::apache::thrift::protocol::T_I32, 1); @@ -643,6 +785,7 @@ uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -652,6 +795,33 @@ void swap(TMapTypeEntry &a, TMapTypeEntry &b) { swap(a.valueTypePtr, b.valueTypePtr); } +TMapTypeEntry::TMapTypeEntry(const TMapTypeEntry& other17) { + keyTypePtr = other17.keyTypePtr; + valueTypePtr = other17.valueTypePtr; +} +TMapTypeEntry& TMapTypeEntry::operator=(const TMapTypeEntry& other18) { + keyTypePtr = other18.keyTypePtr; + valueTypePtr = other18.valueTypePtr; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj) { + using apache::thrift::to_string; + out << "TMapTypeEntry("; + out << "keyTypePtr=" << to_string(obj.keyTypePtr); + out << ", " << "valueTypePtr=" << to_string(obj.valueTypePtr); + out << ")"; + return out; +} + + +TStructTypeEntry::~TStructTypeEntry() throw() { +} + + +void TStructTypeEntry::__set_nameToTypePtr(const std::map & val) { + this->nameToTypePtr = val; +} + const char* TStructTypeEntry::ascii_fingerprint = "91F548CA159B4AB4291F5741AC161402"; const uint8_t TStructTypeEntry::binary_fingerprint[16] = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02}; @@ -680,17 +850,17 @@ uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->nameToTypePtr.clear(); - uint32_t _size9; - ::apache::thrift::protocol::TType _ktype10; - ::apache::thrift::protocol::TType _vtype11; - xfer += iprot->readMapBegin(_ktype10, _vtype11, _size9); - uint32_t _i13; - for (_i13 = 0; _i13 < _size9; ++_i13) + uint32_t _size19; + ::apache::thrift::protocol::TType _ktype20; + ::apache::thrift::protocol::TType _vtype21; + xfer += iprot->readMapBegin(_ktype20, _vtype21, _size19); + uint32_t _i23; + for (_i23 = 0; _i23 < _size19; ++_i23) { - std::string _key14; - xfer += iprot->readString(_key14); - TTypeEntryPtr& _val15 = this->nameToTypePtr[_key14]; - xfer += iprot->readI32(_val15); + std::string _key24; + xfer += iprot->readString(_key24); + TTypeEntryPtr& _val25 = this->nameToTypePtr[_key24]; + xfer += iprot->readI32(_val25); } xfer += iprot->readMapEnd(); } @@ -715,16 +885,17 @@ uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TStructTypeEntry"); xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I32, static_cast(this->nameToTypePtr.size())); - std::map ::const_iterator _iter16; - for (_iter16 = this->nameToTypePtr.begin(); _iter16 != this->nameToTypePtr.end(); ++_iter16) + std::map ::const_iterator _iter26; + for (_iter26 = this->nameToTypePtr.begin(); _iter26 != this->nameToTypePtr.end(); ++_iter26) { - xfer += oprot->writeString(_iter16->first); - xfer += oprot->writeI32(_iter16->second); + xfer += oprot->writeString(_iter26->first); + xfer += oprot->writeI32(_iter26->second); } xfer += oprot->writeMapEnd(); } @@ -732,6 +903,7 @@ uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -740,6 +912,30 @@ void swap(TStructTypeEntry &a, TStructTypeEntry &b) { swap(a.nameToTypePtr, b.nameToTypePtr); } +TStructTypeEntry::TStructTypeEntry(const TStructTypeEntry& other27) { + nameToTypePtr = other27.nameToTypePtr; +} +TStructTypeEntry& TStructTypeEntry::operator=(const TStructTypeEntry& other28) { + nameToTypePtr = other28.nameToTypePtr; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj) { + using apache::thrift::to_string; + out << "TStructTypeEntry("; + out << "nameToTypePtr=" << to_string(obj.nameToTypePtr); + out << ")"; + return out; +} + + +TUnionTypeEntry::~TUnionTypeEntry() throw() { +} + + +void TUnionTypeEntry::__set_nameToTypePtr(const std::map & val) { + this->nameToTypePtr = val; +} + const char* TUnionTypeEntry::ascii_fingerprint = "91F548CA159B4AB4291F5741AC161402"; const uint8_t TUnionTypeEntry::binary_fingerprint[16] = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02}; @@ -768,17 +964,17 @@ uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->nameToTypePtr.clear(); - uint32_t _size17; - ::apache::thrift::protocol::TType _ktype18; - ::apache::thrift::protocol::TType _vtype19; - xfer += iprot->readMapBegin(_ktype18, _vtype19, _size17); - uint32_t _i21; - for (_i21 = 0; _i21 < _size17; ++_i21) + uint32_t _size29; + ::apache::thrift::protocol::TType _ktype30; + ::apache::thrift::protocol::TType _vtype31; + xfer += iprot->readMapBegin(_ktype30, _vtype31, _size29); + uint32_t _i33; + for (_i33 = 0; _i33 < _size29; ++_i33) { - std::string _key22; - xfer += iprot->readString(_key22); - TTypeEntryPtr& _val23 = this->nameToTypePtr[_key22]; - xfer += iprot->readI32(_val23); + std::string _key34; + xfer += iprot->readString(_key34); + TTypeEntryPtr& _val35 = this->nameToTypePtr[_key34]; + xfer += iprot->readI32(_val35); } xfer += iprot->readMapEnd(); } @@ -803,16 +999,17 @@ uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TUnionTypeEntry"); xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_I32, static_cast(this->nameToTypePtr.size())); - std::map ::const_iterator _iter24; - for (_iter24 = this->nameToTypePtr.begin(); _iter24 != this->nameToTypePtr.end(); ++_iter24) + std::map ::const_iterator _iter36; + for (_iter36 = this->nameToTypePtr.begin(); _iter36 != this->nameToTypePtr.end(); ++_iter36) { - xfer += oprot->writeString(_iter24->first); - xfer += oprot->writeI32(_iter24->second); + xfer += oprot->writeString(_iter36->first); + xfer += oprot->writeI32(_iter36->second); } xfer += oprot->writeMapEnd(); } @@ -820,6 +1017,7 @@ uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -828,6 +1026,30 @@ void swap(TUnionTypeEntry &a, TUnionTypeEntry &b) { swap(a.nameToTypePtr, b.nameToTypePtr); } +TUnionTypeEntry::TUnionTypeEntry(const TUnionTypeEntry& other37) { + nameToTypePtr = other37.nameToTypePtr; +} +TUnionTypeEntry& TUnionTypeEntry::operator=(const TUnionTypeEntry& other38) { + nameToTypePtr = other38.nameToTypePtr; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj) { + using apache::thrift::to_string; + out << "TUnionTypeEntry("; + out << "nameToTypePtr=" << to_string(obj.nameToTypePtr); + out << ")"; + return out; +} + + +TUserDefinedTypeEntry::~TUserDefinedTypeEntry() throw() { +} + + +void TUserDefinedTypeEntry::__set_typeClassName(const std::string& val) { + this->typeClassName = val; +} + const char* TUserDefinedTypeEntry::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t TUserDefinedTypeEntry::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; @@ -876,6 +1098,7 @@ uint32_t TUserDefinedTypeEntry::read(::apache::thrift::protocol::TProtocol* ipro uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TUserDefinedTypeEntry"); xfer += oprot->writeFieldBegin("typeClassName", ::apache::thrift::protocol::T_STRING, 1); @@ -884,6 +1107,7 @@ uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -892,6 +1116,50 @@ void swap(TUserDefinedTypeEntry &a, TUserDefinedTypeEntry &b) { swap(a.typeClassName, b.typeClassName); } +TUserDefinedTypeEntry::TUserDefinedTypeEntry(const TUserDefinedTypeEntry& other39) { + typeClassName = other39.typeClassName; +} +TUserDefinedTypeEntry& TUserDefinedTypeEntry::operator=(const TUserDefinedTypeEntry& other40) { + typeClassName = other40.typeClassName; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj) { + using apache::thrift::to_string; + out << "TUserDefinedTypeEntry("; + out << "typeClassName=" << to_string(obj.typeClassName); + out << ")"; + return out; +} + + +TTypeEntry::~TTypeEntry() throw() { +} + + +void TTypeEntry::__set_primitiveEntry(const TPrimitiveTypeEntry& val) { + this->primitiveEntry = val; +} + +void TTypeEntry::__set_arrayEntry(const TArrayTypeEntry& val) { + this->arrayEntry = val; +} + +void TTypeEntry::__set_mapEntry(const TMapTypeEntry& val) { + this->mapEntry = val; +} + +void TTypeEntry::__set_structEntry(const TStructTypeEntry& val) { + this->structEntry = val; +} + +void TTypeEntry::__set_unionEntry(const TUnionTypeEntry& val) { + this->unionEntry = val; +} + +void TTypeEntry::__set_userDefinedTypeEntry(const TUserDefinedTypeEntry& val) { + this->userDefinedTypeEntry = val; +} + const char* TTypeEntry::ascii_fingerprint = "2FE56D9097E325DAA7E933738C6D325F"; const uint8_t TTypeEntry::binary_fingerprint[16] = {0x2F,0xE5,0x6D,0x90,0x97,0xE3,0x25,0xDA,0xA7,0xE9,0x33,0x73,0x8C,0x6D,0x32,0x5F}; @@ -977,6 +1245,7 @@ uint32_t TTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TTypeEntry"); xfer += oprot->writeFieldBegin("primitiveEntry", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1005,6 +1274,7 @@ uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1019,6 +1289,47 @@ void swap(TTypeEntry &a, TTypeEntry &b) { swap(a.__isset, b.__isset); } +TTypeEntry::TTypeEntry(const TTypeEntry& other41) { + primitiveEntry = other41.primitiveEntry; + arrayEntry = other41.arrayEntry; + mapEntry = other41.mapEntry; + structEntry = other41.structEntry; + unionEntry = other41.unionEntry; + userDefinedTypeEntry = other41.userDefinedTypeEntry; + __isset = other41.__isset; +} +TTypeEntry& TTypeEntry::operator=(const TTypeEntry& other42) { + primitiveEntry = other42.primitiveEntry; + arrayEntry = other42.arrayEntry; + mapEntry = other42.mapEntry; + structEntry = other42.structEntry; + unionEntry = other42.unionEntry; + userDefinedTypeEntry = other42.userDefinedTypeEntry; + __isset = other42.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj) { + using apache::thrift::to_string; + out << "TTypeEntry("; + out << "primitiveEntry=" << to_string(obj.primitiveEntry); + out << ", " << "arrayEntry=" << to_string(obj.arrayEntry); + out << ", " << "mapEntry=" << to_string(obj.mapEntry); + out << ", " << "structEntry=" << to_string(obj.structEntry); + out << ", " << "unionEntry=" << to_string(obj.unionEntry); + out << ", " << "userDefinedTypeEntry=" << to_string(obj.userDefinedTypeEntry); + out << ")"; + return out; +} + + +TTypeDesc::~TTypeDesc() throw() { +} + + +void TTypeDesc::__set_types(const std::vector & val) { + this->types = val; +} + const char* TTypeDesc::ascii_fingerprint = "90B3C5A0B73419A84E85E0E48C452AA5"; const uint8_t TTypeDesc::binary_fingerprint[16] = {0x90,0xB3,0xC5,0xA0,0xB7,0x34,0x19,0xA8,0x4E,0x85,0xE0,0xE4,0x8C,0x45,0x2A,0xA5}; @@ -1047,14 +1358,14 @@ uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->types.clear(); - uint32_t _size25; - ::apache::thrift::protocol::TType _etype28; - xfer += iprot->readListBegin(_etype28, _size25); - this->types.resize(_size25); - uint32_t _i29; - for (_i29 = 0; _i29 < _size25; ++_i29) + uint32_t _size43; + ::apache::thrift::protocol::TType _etype46; + xfer += iprot->readListBegin(_etype46, _size43); + this->types.resize(_size43); + uint32_t _i47; + for (_i47 = 0; _i47 < _size43; ++_i47) { - xfer += this->types[_i29].read(iprot); + xfer += this->types[_i47].read(iprot); } xfer += iprot->readListEnd(); } @@ -1079,15 +1390,16 @@ uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TTypeDesc"); xfer += oprot->writeFieldBegin("types", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->types.size())); - std::vector ::const_iterator _iter30; - for (_iter30 = this->types.begin(); _iter30 != this->types.end(); ++_iter30) + std::vector ::const_iterator _iter48; + for (_iter48 = this->types.begin(); _iter48 != this->types.end(); ++_iter48) { - xfer += (*_iter30).write(oprot); + xfer += (*_iter48).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1095,6 +1407,7 @@ uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1103,6 +1416,43 @@ void swap(TTypeDesc &a, TTypeDesc &b) { swap(a.types, b.types); } +TTypeDesc::TTypeDesc(const TTypeDesc& other49) { + types = other49.types; +} +TTypeDesc& TTypeDesc::operator=(const TTypeDesc& other50) { + types = other50.types; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj) { + using apache::thrift::to_string; + out << "TTypeDesc("; + out << "types=" << to_string(obj.types); + out << ")"; + return out; +} + + +TColumnDesc::~TColumnDesc() throw() { +} + + +void TColumnDesc::__set_columnName(const std::string& val) { + this->columnName = val; +} + +void TColumnDesc::__set_typeDesc(const TTypeDesc& val) { + this->typeDesc = val; +} + +void TColumnDesc::__set_position(const int32_t val) { + this->position = val; +} + +void TColumnDesc::__set_comment(const std::string& val) { + this->comment = val; +__isset.comment = true; +} + const char* TColumnDesc::ascii_fingerprint = "EABED9009D5FCABFCA65612069F2A849"; const uint8_t TColumnDesc::binary_fingerprint[16] = {0xEA,0xBE,0xD9,0x00,0x9D,0x5F,0xCA,0xBF,0xCA,0x65,0x61,0x20,0x69,0xF2,0xA8,0x49}; @@ -1181,6 +1531,7 @@ uint32_t TColumnDesc::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TColumnDesc"); xfer += oprot->writeFieldBegin("columnName", ::apache::thrift::protocol::T_STRING, 1); @@ -1202,6 +1553,7 @@ uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1214,6 +1566,41 @@ void swap(TColumnDesc &a, TColumnDesc &b) { swap(a.__isset, b.__isset); } +TColumnDesc::TColumnDesc(const TColumnDesc& other51) { + columnName = other51.columnName; + typeDesc = other51.typeDesc; + position = other51.position; + comment = other51.comment; + __isset = other51.__isset; +} +TColumnDesc& TColumnDesc::operator=(const TColumnDesc& other52) { + columnName = other52.columnName; + typeDesc = other52.typeDesc; + position = other52.position; + comment = other52.comment; + __isset = other52.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj) { + using apache::thrift::to_string; + out << "TColumnDesc("; + out << "columnName=" << to_string(obj.columnName); + out << ", " << "typeDesc=" << to_string(obj.typeDesc); + out << ", " << "position=" << to_string(obj.position); + out << ", " << "comment="; (obj.__isset.comment ? (out << to_string(obj.comment)) : (out << "")); + out << ")"; + return out; +} + + +TTableSchema::~TTableSchema() throw() { +} + + +void TTableSchema::__set_columns(const std::vector & val) { + this->columns = val; +} + const char* TTableSchema::ascii_fingerprint = "7A1811E49313E5977107FC667B20E39D"; const uint8_t TTableSchema::binary_fingerprint[16] = {0x7A,0x18,0x11,0xE4,0x93,0x13,0xE5,0x97,0x71,0x07,0xFC,0x66,0x7B,0x20,0xE3,0x9D}; @@ -1242,14 +1629,14 @@ uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->columns.clear(); - uint32_t _size31; - ::apache::thrift::protocol::TType _etype34; - xfer += iprot->readListBegin(_etype34, _size31); - this->columns.resize(_size31); - uint32_t _i35; - for (_i35 = 0; _i35 < _size31; ++_i35) + uint32_t _size53; + ::apache::thrift::protocol::TType _etype56; + xfer += iprot->readListBegin(_etype56, _size53); + this->columns.resize(_size53); + uint32_t _i57; + for (_i57 = 0; _i57 < _size53; ++_i57) { - xfer += this->columns[_i35].read(iprot); + xfer += this->columns[_i57].read(iprot); } xfer += iprot->readListEnd(); } @@ -1274,15 +1661,16 @@ uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TTableSchema"); xfer += oprot->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->columns.size())); - std::vector ::const_iterator _iter36; - for (_iter36 = this->columns.begin(); _iter36 != this->columns.end(); ++_iter36) + std::vector ::const_iterator _iter58; + for (_iter58 = this->columns.begin(); _iter58 != this->columns.end(); ++_iter58) { - xfer += (*_iter36).write(oprot); + xfer += (*_iter58).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1290,6 +1678,7 @@ uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1298,6 +1687,31 @@ void swap(TTableSchema &a, TTableSchema &b) { swap(a.columns, b.columns); } +TTableSchema::TTableSchema(const TTableSchema& other59) { + columns = other59.columns; +} +TTableSchema& TTableSchema::operator=(const TTableSchema& other60) { + columns = other60.columns; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TTableSchema& obj) { + using apache::thrift::to_string; + out << "TTableSchema("; + out << "columns=" << to_string(obj.columns); + out << ")"; + return out; +} + + +TBoolValue::~TBoolValue() throw() { +} + + +void TBoolValue::__set_value(const bool val) { + this->value = val; +__isset.value = true; +} + const char* TBoolValue::ascii_fingerprint = "BF054652DEF86253C2BEE7D947F167DD"; const uint8_t TBoolValue::binary_fingerprint[16] = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; @@ -1343,6 +1757,7 @@ uint32_t TBoolValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TBoolValue"); if (this->__isset.value) { @@ -1352,6 +1767,7 @@ uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1361,6 +1777,33 @@ void swap(TBoolValue &a, TBoolValue &b) { swap(a.__isset, b.__isset); } +TBoolValue::TBoolValue(const TBoolValue& other61) { + value = other61.value; + __isset = other61.__isset; +} +TBoolValue& TBoolValue::operator=(const TBoolValue& other62) { + value = other62.value; + __isset = other62.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TBoolValue& obj) { + using apache::thrift::to_string; + out << "TBoolValue("; + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << ")"; + return out; +} + + +TByteValue::~TByteValue() throw() { +} + + +void TByteValue::__set_value(const int8_t val) { + this->value = val; +__isset.value = true; +} + const char* TByteValue::ascii_fingerprint = "9C15298ACB5D04AEA9B52D5DDE6F9208"; const uint8_t TByteValue::binary_fingerprint[16] = {0x9C,0x15,0x29,0x8A,0xCB,0x5D,0x04,0xAE,0xA9,0xB5,0x2D,0x5D,0xDE,0x6F,0x92,0x08}; @@ -1406,6 +1849,7 @@ uint32_t TByteValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TByteValue"); if (this->__isset.value) { @@ -1415,6 +1859,7 @@ uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1424,6 +1869,33 @@ void swap(TByteValue &a, TByteValue &b) { swap(a.__isset, b.__isset); } +TByteValue::TByteValue(const TByteValue& other63) { + value = other63.value; + __isset = other63.__isset; +} +TByteValue& TByteValue::operator=(const TByteValue& other64) { + value = other64.value; + __isset = other64.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TByteValue& obj) { + using apache::thrift::to_string; + out << "TByteValue("; + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << ")"; + return out; +} + + +TI16Value::~TI16Value() throw() { +} + + +void TI16Value::__set_value(const int16_t val) { + this->value = val; +__isset.value = true; +} + const char* TI16Value::ascii_fingerprint = "5DAC9C51C7E1106BF936FC71860BE9D5"; const uint8_t TI16Value::binary_fingerprint[16] = {0x5D,0xAC,0x9C,0x51,0xC7,0xE1,0x10,0x6B,0xF9,0x36,0xFC,0x71,0x86,0x0B,0xE9,0xD5}; @@ -1469,6 +1941,7 @@ uint32_t TI16Value::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TI16Value"); if (this->__isset.value) { @@ -1478,6 +1951,7 @@ uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1487,6 +1961,33 @@ void swap(TI16Value &a, TI16Value &b) { swap(a.__isset, b.__isset); } +TI16Value::TI16Value(const TI16Value& other65) { + value = other65.value; + __isset = other65.__isset; +} +TI16Value& TI16Value::operator=(const TI16Value& other66) { + value = other66.value; + __isset = other66.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TI16Value& obj) { + using apache::thrift::to_string; + out << "TI16Value("; + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << ")"; + return out; +} + + +TI32Value::~TI32Value() throw() { +} + + +void TI32Value::__set_value(const int32_t val) { + this->value = val; +__isset.value = true; +} + const char* TI32Value::ascii_fingerprint = "E7A96B151330359E84C0A3AC91BCBACD"; const uint8_t TI32Value::binary_fingerprint[16] = {0xE7,0xA9,0x6B,0x15,0x13,0x30,0x35,0x9E,0x84,0xC0,0xA3,0xAC,0x91,0xBC,0xBA,0xCD}; @@ -1532,6 +2033,7 @@ uint32_t TI32Value::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TI32Value"); if (this->__isset.value) { @@ -1541,6 +2043,7 @@ uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1550,6 +2053,33 @@ void swap(TI32Value &a, TI32Value &b) { swap(a.__isset, b.__isset); } +TI32Value::TI32Value(const TI32Value& other67) { + value = other67.value; + __isset = other67.__isset; +} +TI32Value& TI32Value::operator=(const TI32Value& other68) { + value = other68.value; + __isset = other68.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TI32Value& obj) { + using apache::thrift::to_string; + out << "TI32Value("; + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << ")"; + return out; +} + + +TI64Value::~TI64Value() throw() { +} + + +void TI64Value::__set_value(const int64_t val) { + this->value = val; +__isset.value = true; +} + const char* TI64Value::ascii_fingerprint = "148F3AAAC1D9859963D5E800D187BF26"; const uint8_t TI64Value::binary_fingerprint[16] = {0x14,0x8F,0x3A,0xAA,0xC1,0xD9,0x85,0x99,0x63,0xD5,0xE8,0x00,0xD1,0x87,0xBF,0x26}; @@ -1595,6 +2125,7 @@ uint32_t TI64Value::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TI64Value"); if (this->__isset.value) { @@ -1604,6 +2135,7 @@ uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1613,6 +2145,33 @@ void swap(TI64Value &a, TI64Value &b) { swap(a.__isset, b.__isset); } +TI64Value::TI64Value(const TI64Value& other69) { + value = other69.value; + __isset = other69.__isset; +} +TI64Value& TI64Value::operator=(const TI64Value& other70) { + value = other70.value; + __isset = other70.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TI64Value& obj) { + using apache::thrift::to_string; + out << "TI64Value("; + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << ")"; + return out; +} + + +TDoubleValue::~TDoubleValue() throw() { +} + + +void TDoubleValue::__set_value(const double val) { + this->value = val; +__isset.value = true; +} + const char* TDoubleValue::ascii_fingerprint = "3586E570A474C4A8603B4FF74903B3A6"; const uint8_t TDoubleValue::binary_fingerprint[16] = {0x35,0x86,0xE5,0x70,0xA4,0x74,0xC4,0xA8,0x60,0x3B,0x4F,0xF7,0x49,0x03,0xB3,0xA6}; @@ -1658,6 +2217,7 @@ uint32_t TDoubleValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TDoubleValue"); if (this->__isset.value) { @@ -1667,6 +2227,7 @@ uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1676,6 +2237,33 @@ void swap(TDoubleValue &a, TDoubleValue &b) { swap(a.__isset, b.__isset); } +TDoubleValue::TDoubleValue(const TDoubleValue& other71) { + value = other71.value; + __isset = other71.__isset; +} +TDoubleValue& TDoubleValue::operator=(const TDoubleValue& other72) { + value = other72.value; + __isset = other72.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj) { + using apache::thrift::to_string; + out << "TDoubleValue("; + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << ")"; + return out; +} + + +TStringValue::~TStringValue() throw() { +} + + +void TStringValue::__set_value(const std::string& val) { + this->value = val; +__isset.value = true; +} + const char* TStringValue::ascii_fingerprint = "66E694018C17E5B65A59AE8F55CCA3CD"; const uint8_t TStringValue::binary_fingerprint[16] = {0x66,0xE6,0x94,0x01,0x8C,0x17,0xE5,0xB6,0x5A,0x59,0xAE,0x8F,0x55,0xCC,0xA3,0xCD}; @@ -1721,6 +2309,7 @@ uint32_t TStringValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TStringValue"); if (this->__isset.value) { @@ -1730,6 +2319,7 @@ uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1739,6 +2329,56 @@ void swap(TStringValue &a, TStringValue &b) { swap(a.__isset, b.__isset); } +TStringValue::TStringValue(const TStringValue& other73) { + value = other73.value; + __isset = other73.__isset; +} +TStringValue& TStringValue::operator=(const TStringValue& other74) { + value = other74.value; + __isset = other74.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TStringValue& obj) { + using apache::thrift::to_string; + out << "TStringValue("; + out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << ")"; + return out; +} + + +TColumnValue::~TColumnValue() throw() { +} + + +void TColumnValue::__set_boolVal(const TBoolValue& val) { + this->boolVal = val; +} + +void TColumnValue::__set_byteVal(const TByteValue& val) { + this->byteVal = val; +} + +void TColumnValue::__set_i16Val(const TI16Value& val) { + this->i16Val = val; +} + +void TColumnValue::__set_i32Val(const TI32Value& val) { + this->i32Val = val; +} + +void TColumnValue::__set_i64Val(const TI64Value& val) { + this->i64Val = val; +} + +void TColumnValue::__set_doubleVal(const TDoubleValue& val) { + this->doubleVal = val; +} + +void TColumnValue::__set_stringVal(const TStringValue& val) { + this->stringVal = val; +} + const char* TColumnValue::ascii_fingerprint = "C2DDD988447EA7999A8285AA38AAE9AD"; const uint8_t TColumnValue::binary_fingerprint[16] = {0xC2,0xDD,0xD9,0x88,0x44,0x7E,0xA7,0x99,0x9A,0x82,0x85,0xAA,0x38,0xAA,0xE9,0xAD}; @@ -1832,6 +2472,7 @@ uint32_t TColumnValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TColumnValue"); xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1864,6 +2505,7 @@ uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1879,6 +2521,50 @@ void swap(TColumnValue &a, TColumnValue &b) { swap(a.__isset, b.__isset); } +TColumnValue::TColumnValue(const TColumnValue& other75) { + boolVal = other75.boolVal; + byteVal = other75.byteVal; + i16Val = other75.i16Val; + i32Val = other75.i32Val; + i64Val = other75.i64Val; + doubleVal = other75.doubleVal; + stringVal = other75.stringVal; + __isset = other75.__isset; +} +TColumnValue& TColumnValue::operator=(const TColumnValue& other76) { + boolVal = other76.boolVal; + byteVal = other76.byteVal; + i16Val = other76.i16Val; + i32Val = other76.i32Val; + i64Val = other76.i64Val; + doubleVal = other76.doubleVal; + stringVal = other76.stringVal; + __isset = other76.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TColumnValue& obj) { + using apache::thrift::to_string; + out << "TColumnValue("; + out << "boolVal=" << to_string(obj.boolVal); + out << ", " << "byteVal=" << to_string(obj.byteVal); + out << ", " << "i16Val=" << to_string(obj.i16Val); + out << ", " << "i32Val=" << to_string(obj.i32Val); + out << ", " << "i64Val=" << to_string(obj.i64Val); + out << ", " << "doubleVal=" << to_string(obj.doubleVal); + out << ", " << "stringVal=" << to_string(obj.stringVal); + out << ")"; + return out; +} + + +TRow::~TRow() throw() { +} + + +void TRow::__set_colVals(const std::vector & val) { + this->colVals = val; +} + const char* TRow::ascii_fingerprint = "E73FD1FCA0CA58A669FC3E02FB68D534"; const uint8_t TRow::binary_fingerprint[16] = {0xE7,0x3F,0xD1,0xFC,0xA0,0xCA,0x58,0xA6,0x69,0xFC,0x3E,0x02,0xFB,0x68,0xD5,0x34}; @@ -1907,14 +2593,14 @@ uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colVals.clear(); - uint32_t _size37; - ::apache::thrift::protocol::TType _etype40; - xfer += iprot->readListBegin(_etype40, _size37); - this->colVals.resize(_size37); - uint32_t _i41; - for (_i41 = 0; _i41 < _size37; ++_i41) + uint32_t _size77; + ::apache::thrift::protocol::TType _etype80; + xfer += iprot->readListBegin(_etype80, _size77); + this->colVals.resize(_size77); + uint32_t _i81; + for (_i81 = 0; _i81 < _size77; ++_i81) { - xfer += this->colVals[_i41].read(iprot); + xfer += this->colVals[_i81].read(iprot); } xfer += iprot->readListEnd(); } @@ -1939,15 +2625,16 @@ uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TRow"); xfer += oprot->writeFieldBegin("colVals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->colVals.size())); - std::vector ::const_iterator _iter42; - for (_iter42 = this->colVals.begin(); _iter42 != this->colVals.end(); ++_iter42) + std::vector ::const_iterator _iter82; + for (_iter82 = this->colVals.begin(); _iter82 != this->colVals.end(); ++_iter82) { - xfer += (*_iter42).write(oprot); + xfer += (*_iter82).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1955,6 +2642,7 @@ uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -1963,15 +2651,43 @@ void swap(TRow &a, TRow &b) { swap(a.colVals, b.colVals); } -const char* TBoolColumn::ascii_fingerprint = "F9058324D96DB7F974D8ACDC01C54219"; -const uint8_t TBoolColumn::binary_fingerprint[16] = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19}; +TRow::TRow(const TRow& other83) { + colVals = other83.colVals; +} +TRow& TRow::operator=(const TRow& other84) { + colVals = other84.colVals; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TRow& obj) { + using apache::thrift::to_string; + out << "TRow("; + out << "colVals=" << to_string(obj.colVals); + out << ")"; + return out; +} -uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) { - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; +TBoolColumn::~TBoolColumn() throw() { +} + + +void TBoolColumn::__set_values(const std::vector & val) { + this->values = val; +} + +void TBoolColumn::__set_nulls(const std::string& val) { + this->nulls = val; +} + +const char* TBoolColumn::ascii_fingerprint = "F9058324D96DB7F974D8ACDC01C54219"; +const uint8_t TBoolColumn::binary_fingerprint[16] = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19}; + +uint32_t TBoolColumn::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); @@ -1992,14 +2708,14 @@ uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size43; - ::apache::thrift::protocol::TType _etype46; - xfer += iprot->readListBegin(_etype46, _size43); - this->values.resize(_size43); - uint32_t _i47; - for (_i47 = 0; _i47 < _size43; ++_i47) + uint32_t _size85; + ::apache::thrift::protocol::TType _etype88; + xfer += iprot->readListBegin(_etype88, _size85); + this->values.resize(_size85); + uint32_t _i89; + for (_i89 = 0; _i89 < _size85; ++_i89) { - xfer += iprot->readBool(this->values[_i47]); + xfer += iprot->readBool(this->values[_i89]); } xfer += iprot->readListEnd(); } @@ -2034,15 +2750,16 @@ uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TBoolColumn"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_BOOL, static_cast(this->values.size())); - std::vector ::const_iterator _iter48; - for (_iter48 = this->values.begin(); _iter48 != this->values.end(); ++_iter48) + std::vector ::const_iterator _iter90; + for (_iter90 = this->values.begin(); _iter90 != this->values.end(); ++_iter90) { - xfer += oprot->writeBool((*_iter48)); + xfer += oprot->writeBool((*_iter90)); } xfer += oprot->writeListEnd(); } @@ -2054,6 +2771,7 @@ uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2063,6 +2781,37 @@ void swap(TBoolColumn &a, TBoolColumn &b) { swap(a.nulls, b.nulls); } +TBoolColumn::TBoolColumn(const TBoolColumn& other91) { + values = other91.values; + nulls = other91.nulls; +} +TBoolColumn& TBoolColumn::operator=(const TBoolColumn& other92) { + values = other92.values; + nulls = other92.nulls; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj) { + using apache::thrift::to_string; + out << "TBoolColumn("; + out << "values=" << to_string(obj.values); + out << ", " << "nulls=" << to_string(obj.nulls); + out << ")"; + return out; +} + + +TByteColumn::~TByteColumn() throw() { +} + + +void TByteColumn::__set_values(const std::vector & val) { + this->values = val; +} + +void TByteColumn::__set_nulls(const std::string& val) { + this->nulls = val; +} + const char* TByteColumn::ascii_fingerprint = "1CB300106BAA463A70BB2A2395900F48"; const uint8_t TByteColumn::binary_fingerprint[16] = {0x1C,0xB3,0x00,0x10,0x6B,0xAA,0x46,0x3A,0x70,0xBB,0x2A,0x23,0x95,0x90,0x0F,0x48}; @@ -2092,14 +2841,14 @@ uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size49; - ::apache::thrift::protocol::TType _etype52; - xfer += iprot->readListBegin(_etype52, _size49); - this->values.resize(_size49); - uint32_t _i53; - for (_i53 = 0; _i53 < _size49; ++_i53) + uint32_t _size93; + ::apache::thrift::protocol::TType _etype96; + xfer += iprot->readListBegin(_etype96, _size93); + this->values.resize(_size93); + uint32_t _i97; + for (_i97 = 0; _i97 < _size93; ++_i97) { - xfer += iprot->readByte(this->values[_i53]); + xfer += iprot->readByte(this->values[_i97]); } xfer += iprot->readListEnd(); } @@ -2134,15 +2883,16 @@ uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TByteColumn"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_BYTE, static_cast(this->values.size())); - std::vector ::const_iterator _iter54; - for (_iter54 = this->values.begin(); _iter54 != this->values.end(); ++_iter54) + std::vector ::const_iterator _iter98; + for (_iter98 = this->values.begin(); _iter98 != this->values.end(); ++_iter98) { - xfer += oprot->writeByte((*_iter54)); + xfer += oprot->writeByte((*_iter98)); } xfer += oprot->writeListEnd(); } @@ -2154,6 +2904,7 @@ uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2163,6 +2914,37 @@ void swap(TByteColumn &a, TByteColumn &b) { swap(a.nulls, b.nulls); } +TByteColumn::TByteColumn(const TByteColumn& other99) { + values = other99.values; + nulls = other99.nulls; +} +TByteColumn& TByteColumn::operator=(const TByteColumn& other100) { + values = other100.values; + nulls = other100.nulls; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TByteColumn& obj) { + using apache::thrift::to_string; + out << "TByteColumn("; + out << "values=" << to_string(obj.values); + out << ", " << "nulls=" << to_string(obj.nulls); + out << ")"; + return out; +} + + +TI16Column::~TI16Column() throw() { +} + + +void TI16Column::__set_values(const std::vector & val) { + this->values = val; +} + +void TI16Column::__set_nulls(const std::string& val) { + this->nulls = val; +} + const char* TI16Column::ascii_fingerprint = "6574CDB1F121C8DB47FB257A3F104BDB"; const uint8_t TI16Column::binary_fingerprint[16] = {0x65,0x74,0xCD,0xB1,0xF1,0x21,0xC8,0xDB,0x47,0xFB,0x25,0x7A,0x3F,0x10,0x4B,0xDB}; @@ -2192,14 +2974,14 @@ uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size55; - ::apache::thrift::protocol::TType _etype58; - xfer += iprot->readListBegin(_etype58, _size55); - this->values.resize(_size55); - uint32_t _i59; - for (_i59 = 0; _i59 < _size55; ++_i59) + uint32_t _size101; + ::apache::thrift::protocol::TType _etype104; + xfer += iprot->readListBegin(_etype104, _size101); + this->values.resize(_size101); + uint32_t _i105; + for (_i105 = 0; _i105 < _size101; ++_i105) { - xfer += iprot->readI16(this->values[_i59]); + xfer += iprot->readI16(this->values[_i105]); } xfer += iprot->readListEnd(); } @@ -2234,15 +3016,16 @@ uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TI16Column"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I16, static_cast(this->values.size())); - std::vector ::const_iterator _iter60; - for (_iter60 = this->values.begin(); _iter60 != this->values.end(); ++_iter60) + std::vector ::const_iterator _iter106; + for (_iter106 = this->values.begin(); _iter106 != this->values.end(); ++_iter106) { - xfer += oprot->writeI16((*_iter60)); + xfer += oprot->writeI16((*_iter106)); } xfer += oprot->writeListEnd(); } @@ -2254,6 +3037,7 @@ uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2263,6 +3047,37 @@ void swap(TI16Column &a, TI16Column &b) { swap(a.nulls, b.nulls); } +TI16Column::TI16Column(const TI16Column& other107) { + values = other107.values; + nulls = other107.nulls; +} +TI16Column& TI16Column::operator=(const TI16Column& other108) { + values = other108.values; + nulls = other108.nulls; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TI16Column& obj) { + using apache::thrift::to_string; + out << "TI16Column("; + out << "values=" << to_string(obj.values); + out << ", " << "nulls=" << to_string(obj.nulls); + out << ")"; + return out; +} + + +TI32Column::~TI32Column() throw() { +} + + +void TI32Column::__set_values(const std::vector & val) { + this->values = val; +} + +void TI32Column::__set_nulls(const std::string& val) { + this->nulls = val; +} + const char* TI32Column::ascii_fingerprint = "CCCCE89C7E9DA10280F5663700677313"; const uint8_t TI32Column::binary_fingerprint[16] = {0xCC,0xCC,0xE8,0x9C,0x7E,0x9D,0xA1,0x02,0x80,0xF5,0x66,0x37,0x00,0x67,0x73,0x13}; @@ -2292,14 +3107,14 @@ uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size61; - ::apache::thrift::protocol::TType _etype64; - xfer += iprot->readListBegin(_etype64, _size61); - this->values.resize(_size61); - uint32_t _i65; - for (_i65 = 0; _i65 < _size61; ++_i65) + uint32_t _size109; + ::apache::thrift::protocol::TType _etype112; + xfer += iprot->readListBegin(_etype112, _size109); + this->values.resize(_size109); + uint32_t _i113; + for (_i113 = 0; _i113 < _size109; ++_i113) { - xfer += iprot->readI32(this->values[_i65]); + xfer += iprot->readI32(this->values[_i113]); } xfer += iprot->readListEnd(); } @@ -2334,15 +3149,16 @@ uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TI32Column"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast(this->values.size())); - std::vector ::const_iterator _iter66; - for (_iter66 = this->values.begin(); _iter66 != this->values.end(); ++_iter66) + std::vector ::const_iterator _iter114; + for (_iter114 = this->values.begin(); _iter114 != this->values.end(); ++_iter114) { - xfer += oprot->writeI32((*_iter66)); + xfer += oprot->writeI32((*_iter114)); } xfer += oprot->writeListEnd(); } @@ -2354,6 +3170,7 @@ uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2363,6 +3180,37 @@ void swap(TI32Column &a, TI32Column &b) { swap(a.nulls, b.nulls); } +TI32Column::TI32Column(const TI32Column& other115) { + values = other115.values; + nulls = other115.nulls; +} +TI32Column& TI32Column::operator=(const TI32Column& other116) { + values = other116.values; + nulls = other116.nulls; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TI32Column& obj) { + using apache::thrift::to_string; + out << "TI32Column("; + out << "values=" << to_string(obj.values); + out << ", " << "nulls=" << to_string(obj.nulls); + out << ")"; + return out; +} + + +TI64Column::~TI64Column() throw() { +} + + +void TI64Column::__set_values(const std::vector & val) { + this->values = val; +} + +void TI64Column::__set_nulls(const std::string& val) { + this->nulls = val; +} + const char* TI64Column::ascii_fingerprint = "925353917FC0AF87976A2338011F5A31"; const uint8_t TI64Column::binary_fingerprint[16] = {0x92,0x53,0x53,0x91,0x7F,0xC0,0xAF,0x87,0x97,0x6A,0x23,0x38,0x01,0x1F,0x5A,0x31}; @@ -2392,14 +3240,14 @@ uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size67; - ::apache::thrift::protocol::TType _etype70; - xfer += iprot->readListBegin(_etype70, _size67); - this->values.resize(_size67); - uint32_t _i71; - for (_i71 = 0; _i71 < _size67; ++_i71) + uint32_t _size117; + ::apache::thrift::protocol::TType _etype120; + xfer += iprot->readListBegin(_etype120, _size117); + this->values.resize(_size117); + uint32_t _i121; + for (_i121 = 0; _i121 < _size117; ++_i121) { - xfer += iprot->readI64(this->values[_i71]); + xfer += iprot->readI64(this->values[_i121]); } xfer += iprot->readListEnd(); } @@ -2434,15 +3282,16 @@ uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TI64Column"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->values.size())); - std::vector ::const_iterator _iter72; - for (_iter72 = this->values.begin(); _iter72 != this->values.end(); ++_iter72) + std::vector ::const_iterator _iter122; + for (_iter122 = this->values.begin(); _iter122 != this->values.end(); ++_iter122) { - xfer += oprot->writeI64((*_iter72)); + xfer += oprot->writeI64((*_iter122)); } xfer += oprot->writeListEnd(); } @@ -2454,6 +3303,7 @@ uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2463,6 +3313,37 @@ void swap(TI64Column &a, TI64Column &b) { swap(a.nulls, b.nulls); } +TI64Column::TI64Column(const TI64Column& other123) { + values = other123.values; + nulls = other123.nulls; +} +TI64Column& TI64Column::operator=(const TI64Column& other124) { + values = other124.values; + nulls = other124.nulls; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TI64Column& obj) { + using apache::thrift::to_string; + out << "TI64Column("; + out << "values=" << to_string(obj.values); + out << ", " << "nulls=" << to_string(obj.nulls); + out << ")"; + return out; +} + + +TDoubleColumn::~TDoubleColumn() throw() { +} + + +void TDoubleColumn::__set_values(const std::vector & val) { + this->values = val; +} + +void TDoubleColumn::__set_nulls(const std::string& val) { + this->nulls = val; +} + const char* TDoubleColumn::ascii_fingerprint = "8FF1C050A8D7FD247AEB23CD71539C09"; const uint8_t TDoubleColumn::binary_fingerprint[16] = {0x8F,0xF1,0xC0,0x50,0xA8,0xD7,0xFD,0x24,0x7A,0xEB,0x23,0xCD,0x71,0x53,0x9C,0x09}; @@ -2492,14 +3373,14 @@ uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size73; - ::apache::thrift::protocol::TType _etype76; - xfer += iprot->readListBegin(_etype76, _size73); - this->values.resize(_size73); - uint32_t _i77; - for (_i77 = 0; _i77 < _size73; ++_i77) + uint32_t _size125; + ::apache::thrift::protocol::TType _etype128; + xfer += iprot->readListBegin(_etype128, _size125); + this->values.resize(_size125); + uint32_t _i129; + for (_i129 = 0; _i129 < _size125; ++_i129) { - xfer += iprot->readDouble(this->values[_i77]); + xfer += iprot->readDouble(this->values[_i129]); } xfer += iprot->readListEnd(); } @@ -2534,15 +3415,16 @@ uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TDoubleColumn"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_DOUBLE, static_cast(this->values.size())); - std::vector ::const_iterator _iter78; - for (_iter78 = this->values.begin(); _iter78 != this->values.end(); ++_iter78) + std::vector ::const_iterator _iter130; + for (_iter130 = this->values.begin(); _iter130 != this->values.end(); ++_iter130) { - xfer += oprot->writeDouble((*_iter78)); + xfer += oprot->writeDouble((*_iter130)); } xfer += oprot->writeListEnd(); } @@ -2554,6 +3436,7 @@ uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2563,6 +3446,37 @@ void swap(TDoubleColumn &a, TDoubleColumn &b) { swap(a.nulls, b.nulls); } +TDoubleColumn::TDoubleColumn(const TDoubleColumn& other131) { + values = other131.values; + nulls = other131.nulls; +} +TDoubleColumn& TDoubleColumn::operator=(const TDoubleColumn& other132) { + values = other132.values; + nulls = other132.nulls; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj) { + using apache::thrift::to_string; + out << "TDoubleColumn("; + out << "values=" << to_string(obj.values); + out << ", " << "nulls=" << to_string(obj.nulls); + out << ")"; + return out; +} + + +TStringColumn::~TStringColumn() throw() { +} + + +void TStringColumn::__set_values(const std::vector & val) { + this->values = val; +} + +void TStringColumn::__set_nulls(const std::string& val) { + this->nulls = val; +} + const char* TStringColumn::ascii_fingerprint = "BE556BF7091B2DABBA1863D5E458B15F"; const uint8_t TStringColumn::binary_fingerprint[16] = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F}; @@ -2592,14 +3506,14 @@ uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size79; - ::apache::thrift::protocol::TType _etype82; - xfer += iprot->readListBegin(_etype82, _size79); - this->values.resize(_size79); - uint32_t _i83; - for (_i83 = 0; _i83 < _size79; ++_i83) + uint32_t _size133; + ::apache::thrift::protocol::TType _etype136; + xfer += iprot->readListBegin(_etype136, _size133); + this->values.resize(_size133); + uint32_t _i137; + for (_i137 = 0; _i137 < _size133; ++_i137) { - xfer += iprot->readString(this->values[_i83]); + xfer += iprot->readString(this->values[_i137]); } xfer += iprot->readListEnd(); } @@ -2634,15 +3548,16 @@ uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TStringColumn"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->values.size())); - std::vector ::const_iterator _iter84; - for (_iter84 = this->values.begin(); _iter84 != this->values.end(); ++_iter84) + std::vector ::const_iterator _iter138; + for (_iter138 = this->values.begin(); _iter138 != this->values.end(); ++_iter138) { - xfer += oprot->writeString((*_iter84)); + xfer += oprot->writeString((*_iter138)); } xfer += oprot->writeListEnd(); } @@ -2654,6 +3569,7 @@ uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2663,6 +3579,37 @@ void swap(TStringColumn &a, TStringColumn &b) { swap(a.nulls, b.nulls); } +TStringColumn::TStringColumn(const TStringColumn& other139) { + values = other139.values; + nulls = other139.nulls; +} +TStringColumn& TStringColumn::operator=(const TStringColumn& other140) { + values = other140.values; + nulls = other140.nulls; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TStringColumn& obj) { + using apache::thrift::to_string; + out << "TStringColumn("; + out << "values=" << to_string(obj.values); + out << ", " << "nulls=" << to_string(obj.nulls); + out << ")"; + return out; +} + + +TBinaryColumn::~TBinaryColumn() throw() { +} + + +void TBinaryColumn::__set_values(const std::vector & val) { + this->values = val; +} + +void TBinaryColumn::__set_nulls(const std::string& val) { + this->nulls = val; +} + const char* TBinaryColumn::ascii_fingerprint = "BE556BF7091B2DABBA1863D5E458B15F"; const uint8_t TBinaryColumn::binary_fingerprint[16] = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F}; @@ -2692,14 +3639,14 @@ uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size85; - ::apache::thrift::protocol::TType _etype88; - xfer += iprot->readListBegin(_etype88, _size85); - this->values.resize(_size85); - uint32_t _i89; - for (_i89 = 0; _i89 < _size85; ++_i89) + uint32_t _size141; + ::apache::thrift::protocol::TType _etype144; + xfer += iprot->readListBegin(_etype144, _size141); + this->values.resize(_size141); + uint32_t _i145; + for (_i145 = 0; _i145 < _size141; ++_i145) { - xfer += iprot->readBinary(this->values[_i89]); + xfer += iprot->readBinary(this->values[_i145]); } xfer += iprot->readListEnd(); } @@ -2734,15 +3681,16 @@ uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TBinaryColumn"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->values.size())); - std::vector ::const_iterator _iter90; - for (_iter90 = this->values.begin(); _iter90 != this->values.end(); ++_iter90) + std::vector ::const_iterator _iter146; + for (_iter146 = this->values.begin(); _iter146 != this->values.end(); ++_iter146) { - xfer += oprot->writeBinary((*_iter90)); + xfer += oprot->writeBinary((*_iter146)); } xfer += oprot->writeListEnd(); } @@ -2754,6 +3702,7 @@ uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2763,6 +3712,61 @@ void swap(TBinaryColumn &a, TBinaryColumn &b) { swap(a.nulls, b.nulls); } +TBinaryColumn::TBinaryColumn(const TBinaryColumn& other147) { + values = other147.values; + nulls = other147.nulls; +} +TBinaryColumn& TBinaryColumn::operator=(const TBinaryColumn& other148) { + values = other148.values; + nulls = other148.nulls; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj) { + using apache::thrift::to_string; + out << "TBinaryColumn("; + out << "values=" << to_string(obj.values); + out << ", " << "nulls=" << to_string(obj.nulls); + out << ")"; + return out; +} + + +TColumn::~TColumn() throw() { +} + + +void TColumn::__set_boolVal(const TBoolColumn& val) { + this->boolVal = val; +} + +void TColumn::__set_byteVal(const TByteColumn& val) { + this->byteVal = val; +} + +void TColumn::__set_i16Val(const TI16Column& val) { + this->i16Val = val; +} + +void TColumn::__set_i32Val(const TI32Column& val) { + this->i32Val = val; +} + +void TColumn::__set_i64Val(const TI64Column& val) { + this->i64Val = val; +} + +void TColumn::__set_doubleVal(const TDoubleColumn& val) { + this->doubleVal = val; +} + +void TColumn::__set_stringVal(const TStringColumn& val) { + this->stringVal = val; +} + +void TColumn::__set_binaryVal(const TBinaryColumn& val) { + this->binaryVal = val; +} + const char* TColumn::ascii_fingerprint = "E6ADD10B4CDDE61A19E8878CC7039A17"; const uint8_t TColumn::binary_fingerprint[16] = {0xE6,0xAD,0xD1,0x0B,0x4C,0xDD,0xE6,0x1A,0x19,0xE8,0x87,0x8C,0xC7,0x03,0x9A,0x17}; @@ -2864,6 +3868,7 @@ uint32_t TColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TColumn"); xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2900,6 +3905,7 @@ uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -2916,6 +3922,62 @@ void swap(TColumn &a, TColumn &b) { swap(a.__isset, b.__isset); } +TColumn::TColumn(const TColumn& other149) { + boolVal = other149.boolVal; + byteVal = other149.byteVal; + i16Val = other149.i16Val; + i32Val = other149.i32Val; + i64Val = other149.i64Val; + doubleVal = other149.doubleVal; + stringVal = other149.stringVal; + binaryVal = other149.binaryVal; + __isset = other149.__isset; +} +TColumn& TColumn::operator=(const TColumn& other150) { + boolVal = other150.boolVal; + byteVal = other150.byteVal; + i16Val = other150.i16Val; + i32Val = other150.i32Val; + i64Val = other150.i64Val; + doubleVal = other150.doubleVal; + stringVal = other150.stringVal; + binaryVal = other150.binaryVal; + __isset = other150.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TColumn& obj) { + using apache::thrift::to_string; + out << "TColumn("; + out << "boolVal=" << to_string(obj.boolVal); + out << ", " << "byteVal=" << to_string(obj.byteVal); + out << ", " << "i16Val=" << to_string(obj.i16Val); + out << ", " << "i32Val=" << to_string(obj.i32Val); + out << ", " << "i64Val=" << to_string(obj.i64Val); + out << ", " << "doubleVal=" << to_string(obj.doubleVal); + out << ", " << "stringVal=" << to_string(obj.stringVal); + out << ", " << "binaryVal=" << to_string(obj.binaryVal); + out << ")"; + return out; +} + + +TRowSet::~TRowSet() throw() { +} + + +void TRowSet::__set_startRowOffset(const int64_t val) { + this->startRowOffset = val; +} + +void TRowSet::__set_rows(const std::vector & val) { + this->rows = val; +} + +void TRowSet::__set_columns(const std::vector & val) { + this->columns = val; +__isset.columns = true; +} + const char* TRowSet::ascii_fingerprint = "46DA30A870489C7A58105AE0080DAEBF"; const uint8_t TRowSet::binary_fingerprint[16] = {0x46,0xDA,0x30,0xA8,0x70,0x48,0x9C,0x7A,0x58,0x10,0x5A,0xE0,0x08,0x0D,0xAE,0xBF}; @@ -2953,14 +4015,14 @@ uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->rows.clear(); - uint32_t _size91; - ::apache::thrift::protocol::TType _etype94; - xfer += iprot->readListBegin(_etype94, _size91); - this->rows.resize(_size91); - uint32_t _i95; - for (_i95 = 0; _i95 < _size91; ++_i95) + uint32_t _size151; + ::apache::thrift::protocol::TType _etype154; + xfer += iprot->readListBegin(_etype154, _size151); + this->rows.resize(_size151); + uint32_t _i155; + for (_i155 = 0; _i155 < _size151; ++_i155) { - xfer += this->rows[_i95].read(iprot); + xfer += this->rows[_i155].read(iprot); } xfer += iprot->readListEnd(); } @@ -2973,14 +4035,14 @@ uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->columns.clear(); - uint32_t _size96; - ::apache::thrift::protocol::TType _etype99; - xfer += iprot->readListBegin(_etype99, _size96); - this->columns.resize(_size96); - uint32_t _i100; - for (_i100 = 0; _i100 < _size96; ++_i100) + uint32_t _size156; + ::apache::thrift::protocol::TType _etype159; + xfer += iprot->readListBegin(_etype159, _size156); + this->columns.resize(_size156); + uint32_t _i160; + for (_i160 = 0; _i160 < _size156; ++_i160) { - xfer += this->columns[_i100].read(iprot); + xfer += this->columns[_i160].read(iprot); } xfer += iprot->readListEnd(); } @@ -3007,6 +4069,7 @@ uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TRowSet"); xfer += oprot->writeFieldBegin("startRowOffset", ::apache::thrift::protocol::T_I64, 1); @@ -3016,10 +4079,10 @@ uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("rows", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->rows.size())); - std::vector ::const_iterator _iter101; - for (_iter101 = this->rows.begin(); _iter101 != this->rows.end(); ++_iter101) + std::vector ::const_iterator _iter161; + for (_iter161 = this->rows.begin(); _iter161 != this->rows.end(); ++_iter161) { - xfer += (*_iter101).write(oprot); + xfer += (*_iter161).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3029,10 +4092,10 @@ uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->columns.size())); - std::vector ::const_iterator _iter102; - for (_iter102 = this->columns.begin(); _iter102 != this->columns.end(); ++_iter102) + std::vector ::const_iterator _iter162; + for (_iter162 = this->columns.begin(); _iter162 != this->columns.end(); ++_iter162) { - xfer += (*_iter102).write(oprot); + xfer += (*_iter162).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3040,6 +4103,7 @@ uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3051,6 +4115,58 @@ void swap(TRowSet &a, TRowSet &b) { swap(a.__isset, b.__isset); } +TRowSet::TRowSet(const TRowSet& other163) { + startRowOffset = other163.startRowOffset; + rows = other163.rows; + columns = other163.columns; + __isset = other163.__isset; +} +TRowSet& TRowSet::operator=(const TRowSet& other164) { + startRowOffset = other164.startRowOffset; + rows = other164.rows; + columns = other164.columns; + __isset = other164.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TRowSet& obj) { + using apache::thrift::to_string; + out << "TRowSet("; + out << "startRowOffset=" << to_string(obj.startRowOffset); + out << ", " << "rows=" << to_string(obj.rows); + out << ", " << "columns="; (obj.__isset.columns ? (out << to_string(obj.columns)) : (out << "")); + out << ")"; + return out; +} + + +TStatus::~TStatus() throw() { +} + + +void TStatus::__set_statusCode(const TStatusCode::type val) { + this->statusCode = val; +} + +void TStatus::__set_infoMessages(const std::vector & val) { + this->infoMessages = val; +__isset.infoMessages = true; +} + +void TStatus::__set_sqlState(const std::string& val) { + this->sqlState = val; +__isset.sqlState = true; +} + +void TStatus::__set_errorCode(const int32_t val) { + this->errorCode = val; +__isset.errorCode = true; +} + +void TStatus::__set_errorMessage(const std::string& val) { + this->errorMessage = val; +__isset.errorMessage = true; +} + const char* TStatus::ascii_fingerprint = "D5DEF49634A59C615C1B3A6F7D0DADB5"; const uint8_t TStatus::binary_fingerprint[16] = {0xD5,0xDE,0xF4,0x96,0x34,0xA5,0x9C,0x61,0x5C,0x1B,0x3A,0x6F,0x7D,0x0D,0xAD,0xB5}; @@ -3077,9 +4193,9 @@ uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast103; - xfer += iprot->readI32(ecast103); - this->statusCode = (TStatusCode::type)ecast103; + int32_t ecast165; + xfer += iprot->readI32(ecast165); + this->statusCode = (TStatusCode::type)ecast165; isset_statusCode = true; } else { xfer += iprot->skip(ftype); @@ -3089,14 +4205,14 @@ uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->infoMessages.clear(); - uint32_t _size104; - ::apache::thrift::protocol::TType _etype107; - xfer += iprot->readListBegin(_etype107, _size104); - this->infoMessages.resize(_size104); - uint32_t _i108; - for (_i108 = 0; _i108 < _size104; ++_i108) + uint32_t _size166; + ::apache::thrift::protocol::TType _etype169; + xfer += iprot->readListBegin(_etype169, _size166); + this->infoMessages.resize(_size166); + uint32_t _i170; + for (_i170 = 0; _i170 < _size166; ++_i170) { - xfer += iprot->readString(this->infoMessages[_i108]); + xfer += iprot->readString(this->infoMessages[_i170]); } xfer += iprot->readListEnd(); } @@ -3145,6 +4261,7 @@ uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TStatus"); xfer += oprot->writeFieldBegin("statusCode", ::apache::thrift::protocol::T_I32, 1); @@ -3155,10 +4272,10 @@ uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("infoMessages", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->infoMessages.size())); - std::vector ::const_iterator _iter109; - for (_iter109 = this->infoMessages.begin(); _iter109 != this->infoMessages.end(); ++_iter109) + std::vector ::const_iterator _iter171; + for (_iter171 = this->infoMessages.begin(); _iter171 != this->infoMessages.end(); ++_iter171) { - xfer += oprot->writeString((*_iter109)); + xfer += oprot->writeString((*_iter171)); } xfer += oprot->writeListEnd(); } @@ -3181,6 +4298,7 @@ uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3194,6 +4312,48 @@ void swap(TStatus &a, TStatus &b) { swap(a.__isset, b.__isset); } +TStatus::TStatus(const TStatus& other172) { + statusCode = other172.statusCode; + infoMessages = other172.infoMessages; + sqlState = other172.sqlState; + errorCode = other172.errorCode; + errorMessage = other172.errorMessage; + __isset = other172.__isset; +} +TStatus& TStatus::operator=(const TStatus& other173) { + statusCode = other173.statusCode; + infoMessages = other173.infoMessages; + sqlState = other173.sqlState; + errorCode = other173.errorCode; + errorMessage = other173.errorMessage; + __isset = other173.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TStatus& obj) { + using apache::thrift::to_string; + out << "TStatus("; + out << "statusCode=" << to_string(obj.statusCode); + out << ", " << "infoMessages="; (obj.__isset.infoMessages ? (out << to_string(obj.infoMessages)) : (out << "")); + out << ", " << "sqlState="; (obj.__isset.sqlState ? (out << to_string(obj.sqlState)) : (out << "")); + out << ", " << "errorCode="; (obj.__isset.errorCode ? (out << to_string(obj.errorCode)) : (out << "")); + out << ", " << "errorMessage="; (obj.__isset.errorMessage ? (out << to_string(obj.errorMessage)) : (out << "")); + out << ")"; + return out; +} + + +THandleIdentifier::~THandleIdentifier() throw() { +} + + +void THandleIdentifier::__set_guid(const std::string& val) { + this->guid = val; +} + +void THandleIdentifier::__set_secret(const std::string& val) { + this->secret = val; +} + const char* THandleIdentifier::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972"; const uint8_t THandleIdentifier::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; @@ -3253,6 +4413,7 @@ uint32_t THandleIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t THandleIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("THandleIdentifier"); xfer += oprot->writeFieldBegin("guid", ::apache::thrift::protocol::T_STRING, 1); @@ -3265,6 +4426,7 @@ uint32_t THandleIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3274,6 +4436,33 @@ void swap(THandleIdentifier &a, THandleIdentifier &b) { swap(a.secret, b.secret); } +THandleIdentifier::THandleIdentifier(const THandleIdentifier& other174) { + guid = other174.guid; + secret = other174.secret; +} +THandleIdentifier& THandleIdentifier::operator=(const THandleIdentifier& other175) { + guid = other175.guid; + secret = other175.secret; + return *this; +} +std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj) { + using apache::thrift::to_string; + out << "THandleIdentifier("; + out << "guid=" << to_string(obj.guid); + out << ", " << "secret=" << to_string(obj.secret); + out << ")"; + return out; +} + + +TSessionHandle::~TSessionHandle() throw() { +} + + +void TSessionHandle::__set_sessionId(const THandleIdentifier& val) { + this->sessionId = val; +} + const char* TSessionHandle::ascii_fingerprint = "A756D3DBE614FB13F70BF7F7B6EB3D73"; const uint8_t TSessionHandle::binary_fingerprint[16] = {0xA7,0x56,0xD3,0xDB,0xE6,0x14,0xFB,0x13,0xF7,0x0B,0xF7,0xF7,0xB6,0xEB,0x3D,0x73}; @@ -3322,6 +4511,7 @@ uint32_t TSessionHandle::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TSessionHandle::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TSessionHandle"); xfer += oprot->writeFieldBegin("sessionId", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3330,6 +4520,7 @@ uint32_t TSessionHandle::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3338,6 +4529,43 @@ void swap(TSessionHandle &a, TSessionHandle &b) { swap(a.sessionId, b.sessionId); } +TSessionHandle::TSessionHandle(const TSessionHandle& other176) { + sessionId = other176.sessionId; +} +TSessionHandle& TSessionHandle::operator=(const TSessionHandle& other177) { + sessionId = other177.sessionId; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj) { + using apache::thrift::to_string; + out << "TSessionHandle("; + out << "sessionId=" << to_string(obj.sessionId); + out << ")"; + return out; +} + + +TOperationHandle::~TOperationHandle() throw() { +} + + +void TOperationHandle::__set_operationId(const THandleIdentifier& val) { + this->operationId = val; +} + +void TOperationHandle::__set_operationType(const TOperationType::type val) { + this->operationType = val; +} + +void TOperationHandle::__set_hasResultSet(const bool val) { + this->hasResultSet = val; +} + +void TOperationHandle::__set_modifiedRowCount(const double val) { + this->modifiedRowCount = val; +__isset.modifiedRowCount = true; +} + const char* TOperationHandle::ascii_fingerprint = "29FD80F4F96804A30FCC59C23D2E5349"; const uint8_t TOperationHandle::binary_fingerprint[16] = {0x29,0xFD,0x80,0xF4,0xF9,0x68,0x04,0xA3,0x0F,0xCC,0x59,0xC2,0x3D,0x2E,0x53,0x49}; @@ -3374,9 +4602,9 @@ uint32_t TOperationHandle::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast110; - xfer += iprot->readI32(ecast110); - this->operationType = (TOperationType::type)ecast110; + int32_t ecast178; + xfer += iprot->readI32(ecast178); + this->operationType = (TOperationType::type)ecast178; isset_operationType = true; } else { xfer += iprot->skip(ftype); @@ -3418,6 +4646,7 @@ uint32_t TOperationHandle::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TOperationHandle::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TOperationHandle"); xfer += oprot->writeFieldBegin("operationId", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3439,6 +4668,7 @@ uint32_t TOperationHandle::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3451,6 +4681,56 @@ void swap(TOperationHandle &a, TOperationHandle &b) { swap(a.__isset, b.__isset); } +TOperationHandle::TOperationHandle(const TOperationHandle& other179) { + operationId = other179.operationId; + operationType = other179.operationType; + hasResultSet = other179.hasResultSet; + modifiedRowCount = other179.modifiedRowCount; + __isset = other179.__isset; +} +TOperationHandle& TOperationHandle::operator=(const TOperationHandle& other180) { + operationId = other180.operationId; + operationType = other180.operationType; + hasResultSet = other180.hasResultSet; + modifiedRowCount = other180.modifiedRowCount; + __isset = other180.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj) { + using apache::thrift::to_string; + out << "TOperationHandle("; + out << "operationId=" << to_string(obj.operationId); + out << ", " << "operationType=" << to_string(obj.operationType); + out << ", " << "hasResultSet=" << to_string(obj.hasResultSet); + out << ", " << "modifiedRowCount="; (obj.__isset.modifiedRowCount ? (out << to_string(obj.modifiedRowCount)) : (out << "")); + out << ")"; + return out; +} + + +TOpenSessionReq::~TOpenSessionReq() throw() { +} + + +void TOpenSessionReq::__set_client_protocol(const TProtocolVersion::type val) { + this->client_protocol = val; +} + +void TOpenSessionReq::__set_username(const std::string& val) { + this->username = val; +__isset.username = true; +} + +void TOpenSessionReq::__set_password(const std::string& val) { + this->password = val; +__isset.password = true; +} + +void TOpenSessionReq::__set_configuration(const std::map & val) { + this->configuration = val; +__isset.configuration = true; +} + const char* TOpenSessionReq::ascii_fingerprint = "C8FD0F306A16C16BDA7B57F58BFAE5B2"; const uint8_t TOpenSessionReq::binary_fingerprint[16] = {0xC8,0xFD,0x0F,0x30,0x6A,0x16,0xC1,0x6B,0xDA,0x7B,0x57,0xF5,0x8B,0xFA,0xE5,0xB2}; @@ -3477,9 +4757,9 @@ uint32_t TOpenSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast111; - xfer += iprot->readI32(ecast111); - this->client_protocol = (TProtocolVersion::type)ecast111; + int32_t ecast181; + xfer += iprot->readI32(ecast181); + this->client_protocol = (TProtocolVersion::type)ecast181; isset_client_protocol = true; } else { xfer += iprot->skip(ftype); @@ -3505,17 +4785,17 @@ uint32_t TOpenSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->configuration.clear(); - uint32_t _size112; - ::apache::thrift::protocol::TType _ktype113; - ::apache::thrift::protocol::TType _vtype114; - xfer += iprot->readMapBegin(_ktype113, _vtype114, _size112); - uint32_t _i116; - for (_i116 = 0; _i116 < _size112; ++_i116) + uint32_t _size182; + ::apache::thrift::protocol::TType _ktype183; + ::apache::thrift::protocol::TType _vtype184; + xfer += iprot->readMapBegin(_ktype183, _vtype184, _size182); + uint32_t _i186; + for (_i186 = 0; _i186 < _size182; ++_i186) { - std::string _key117; - xfer += iprot->readString(_key117); - std::string& _val118 = this->configuration[_key117]; - xfer += iprot->readString(_val118); + std::string _key187; + xfer += iprot->readString(_key187); + std::string& _val188 = this->configuration[_key187]; + xfer += iprot->readString(_val188); } xfer += iprot->readMapEnd(); } @@ -3540,6 +4820,7 @@ uint32_t TOpenSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TOpenSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TOpenSessionReq"); xfer += oprot->writeFieldBegin("client_protocol", ::apache::thrift::protocol::T_I32, 1); @@ -3560,11 +4841,11 @@ uint32_t TOpenSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("configuration", ::apache::thrift::protocol::T_MAP, 4); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->configuration.size())); - std::map ::const_iterator _iter119; - for (_iter119 = this->configuration.begin(); _iter119 != this->configuration.end(); ++_iter119) + std::map ::const_iterator _iter189; + for (_iter189 = this->configuration.begin(); _iter189 != this->configuration.end(); ++_iter189) { - xfer += oprot->writeString(_iter119->first); - xfer += oprot->writeString(_iter119->second); + xfer += oprot->writeString(_iter189->first); + xfer += oprot->writeString(_iter189->second); } xfer += oprot->writeMapEnd(); } @@ -3572,6 +4853,7 @@ uint32_t TOpenSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) co } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3584,6 +4866,55 @@ void swap(TOpenSessionReq &a, TOpenSessionReq &b) { swap(a.__isset, b.__isset); } +TOpenSessionReq::TOpenSessionReq(const TOpenSessionReq& other190) { + client_protocol = other190.client_protocol; + username = other190.username; + password = other190.password; + configuration = other190.configuration; + __isset = other190.__isset; +} +TOpenSessionReq& TOpenSessionReq::operator=(const TOpenSessionReq& other191) { + client_protocol = other191.client_protocol; + username = other191.username; + password = other191.password; + configuration = other191.configuration; + __isset = other191.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj) { + using apache::thrift::to_string; + out << "TOpenSessionReq("; + out << "client_protocol=" << to_string(obj.client_protocol); + out << ", " << "username="; (obj.__isset.username ? (out << to_string(obj.username)) : (out << "")); + out << ", " << "password="; (obj.__isset.password ? (out << to_string(obj.password)) : (out << "")); + out << ", " << "configuration="; (obj.__isset.configuration ? (out << to_string(obj.configuration)) : (out << "")); + out << ")"; + return out; +} + + +TOpenSessionResp::~TOpenSessionResp() throw() { +} + + +void TOpenSessionResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TOpenSessionResp::__set_serverProtocolVersion(const TProtocolVersion::type val) { + this->serverProtocolVersion = val; +} + +void TOpenSessionResp::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +__isset.sessionHandle = true; +} + +void TOpenSessionResp::__set_configuration(const std::map & val) { + this->configuration = val; +__isset.configuration = true; +} + const char* TOpenSessionResp::ascii_fingerprint = "CFE7D7F4E9EC671F2518ED74FEE9F163"; const uint8_t TOpenSessionResp::binary_fingerprint[16] = {0xCF,0xE7,0xD7,0xF4,0xE9,0xEC,0x67,0x1F,0x25,0x18,0xED,0x74,0xFE,0xE9,0xF1,0x63}; @@ -3619,9 +4950,9 @@ uint32_t TOpenSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast120; - xfer += iprot->readI32(ecast120); - this->serverProtocolVersion = (TProtocolVersion::type)ecast120; + int32_t ecast192; + xfer += iprot->readI32(ecast192); + this->serverProtocolVersion = (TProtocolVersion::type)ecast192; isset_serverProtocolVersion = true; } else { xfer += iprot->skip(ftype); @@ -3639,17 +4970,17 @@ uint32_t TOpenSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->configuration.clear(); - uint32_t _size121; - ::apache::thrift::protocol::TType _ktype122; - ::apache::thrift::protocol::TType _vtype123; - xfer += iprot->readMapBegin(_ktype122, _vtype123, _size121); - uint32_t _i125; - for (_i125 = 0; _i125 < _size121; ++_i125) + uint32_t _size193; + ::apache::thrift::protocol::TType _ktype194; + ::apache::thrift::protocol::TType _vtype195; + xfer += iprot->readMapBegin(_ktype194, _vtype195, _size193); + uint32_t _i197; + for (_i197 = 0; _i197 < _size193; ++_i197) { - std::string _key126; - xfer += iprot->readString(_key126); - std::string& _val127 = this->configuration[_key126]; - xfer += iprot->readString(_val127); + std::string _key198; + xfer += iprot->readString(_key198); + std::string& _val199 = this->configuration[_key198]; + xfer += iprot->readString(_val199); } xfer += iprot->readMapEnd(); } @@ -3676,6 +5007,7 @@ uint32_t TOpenSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TOpenSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TOpenSessionResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3695,11 +5027,11 @@ uint32_t TOpenSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("configuration", ::apache::thrift::protocol::T_MAP, 4); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->configuration.size())); - std::map ::const_iterator _iter128; - for (_iter128 = this->configuration.begin(); _iter128 != this->configuration.end(); ++_iter128) + std::map ::const_iterator _iter200; + for (_iter200 = this->configuration.begin(); _iter200 != this->configuration.end(); ++_iter200) { - xfer += oprot->writeString(_iter128->first); - xfer += oprot->writeString(_iter128->second); + xfer += oprot->writeString(_iter200->first); + xfer += oprot->writeString(_iter200->second); } xfer += oprot->writeMapEnd(); } @@ -3707,6 +5039,7 @@ uint32_t TOpenSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3719,6 +5052,41 @@ void swap(TOpenSessionResp &a, TOpenSessionResp &b) { swap(a.__isset, b.__isset); } +TOpenSessionResp::TOpenSessionResp(const TOpenSessionResp& other201) { + status = other201.status; + serverProtocolVersion = other201.serverProtocolVersion; + sessionHandle = other201.sessionHandle; + configuration = other201.configuration; + __isset = other201.__isset; +} +TOpenSessionResp& TOpenSessionResp::operator=(const TOpenSessionResp& other202) { + status = other202.status; + serverProtocolVersion = other202.serverProtocolVersion; + sessionHandle = other202.sessionHandle; + configuration = other202.configuration; + __isset = other202.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj) { + using apache::thrift::to_string; + out << "TOpenSessionResp("; + out << "status=" << to_string(obj.status); + out << ", " << "serverProtocolVersion=" << to_string(obj.serverProtocolVersion); + out << ", " << "sessionHandle="; (obj.__isset.sessionHandle ? (out << to_string(obj.sessionHandle)) : (out << "")); + out << ", " << "configuration="; (obj.__isset.configuration ? (out << to_string(obj.configuration)) : (out << "")); + out << ")"; + return out; +} + + +TCloseSessionReq::~TCloseSessionReq() throw() { +} + + +void TCloseSessionReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + const char* TCloseSessionReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF"; const uint8_t TCloseSessionReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; @@ -3767,6 +5135,7 @@ uint32_t TCloseSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TCloseSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCloseSessionReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3775,6 +5144,7 @@ uint32_t TCloseSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3783,6 +5153,30 @@ void swap(TCloseSessionReq &a, TCloseSessionReq &b) { swap(a.sessionHandle, b.sessionHandle); } +TCloseSessionReq::TCloseSessionReq(const TCloseSessionReq& other203) { + sessionHandle = other203.sessionHandle; +} +TCloseSessionReq& TCloseSessionReq::operator=(const TCloseSessionReq& other204) { + sessionHandle = other204.sessionHandle; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj) { + using apache::thrift::to_string; + out << "TCloseSessionReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ")"; + return out; +} + + +TCloseSessionResp::~TCloseSessionResp() throw() { +} + + +void TCloseSessionResp::__set_status(const TStatus& val) { + this->status = val; +} + const char* TCloseSessionResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2"; const uint8_t TCloseSessionResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; @@ -3831,6 +5225,7 @@ uint32_t TCloseSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TCloseSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCloseSessionResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3839,6 +5234,7 @@ uint32_t TCloseSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3847,6 +5243,50 @@ void swap(TCloseSessionResp &a, TCloseSessionResp &b) { swap(a.status, b.status); } +TCloseSessionResp::TCloseSessionResp(const TCloseSessionResp& other205) { + status = other205.status; +} +TCloseSessionResp& TCloseSessionResp::operator=(const TCloseSessionResp& other206) { + status = other206.status; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj) { + using apache::thrift::to_string; + out << "TCloseSessionResp("; + out << "status=" << to_string(obj.status); + out << ")"; + return out; +} + + +TGetInfoValue::~TGetInfoValue() throw() { +} + + +void TGetInfoValue::__set_stringValue(const std::string& val) { + this->stringValue = val; +} + +void TGetInfoValue::__set_smallIntValue(const int16_t val) { + this->smallIntValue = val; +} + +void TGetInfoValue::__set_integerBitmask(const int32_t val) { + this->integerBitmask = val; +} + +void TGetInfoValue::__set_integerFlag(const int32_t val) { + this->integerFlag = val; +} + +void TGetInfoValue::__set_binaryValue(const int32_t val) { + this->binaryValue = val; +} + +void TGetInfoValue::__set_lenValue(const int64_t val) { + this->lenValue = val; +} + const char* TGetInfoValue::ascii_fingerprint = "057FED11279FD7248CFE73EE82ED579E"; const uint8_t TGetInfoValue::binary_fingerprint[16] = {0x05,0x7F,0xED,0x11,0x27,0x9F,0xD7,0x24,0x8C,0xFE,0x73,0xEE,0x82,0xED,0x57,0x9E}; @@ -3932,6 +5372,7 @@ uint32_t TGetInfoValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetInfoValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetInfoValue"); xfer += oprot->writeFieldBegin("stringValue", ::apache::thrift::protocol::T_STRING, 1); @@ -3960,6 +5401,7 @@ uint32_t TGetInfoValue::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -3974,6 +5416,51 @@ void swap(TGetInfoValue &a, TGetInfoValue &b) { swap(a.__isset, b.__isset); } +TGetInfoValue::TGetInfoValue(const TGetInfoValue& other207) { + stringValue = other207.stringValue; + smallIntValue = other207.smallIntValue; + integerBitmask = other207.integerBitmask; + integerFlag = other207.integerFlag; + binaryValue = other207.binaryValue; + lenValue = other207.lenValue; + __isset = other207.__isset; +} +TGetInfoValue& TGetInfoValue::operator=(const TGetInfoValue& other208) { + stringValue = other208.stringValue; + smallIntValue = other208.smallIntValue; + integerBitmask = other208.integerBitmask; + integerFlag = other208.integerFlag; + binaryValue = other208.binaryValue; + lenValue = other208.lenValue; + __isset = other208.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj) { + using apache::thrift::to_string; + out << "TGetInfoValue("; + out << "stringValue=" << to_string(obj.stringValue); + out << ", " << "smallIntValue=" << to_string(obj.smallIntValue); + out << ", " << "integerBitmask=" << to_string(obj.integerBitmask); + out << ", " << "integerFlag=" << to_string(obj.integerFlag); + out << ", " << "binaryValue=" << to_string(obj.binaryValue); + out << ", " << "lenValue=" << to_string(obj.lenValue); + out << ")"; + return out; +} + + +TGetInfoReq::~TGetInfoReq() throw() { +} + + +void TGetInfoReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + +void TGetInfoReq::__set_infoType(const TGetInfoType::type val) { + this->infoType = val; +} + const char* TGetInfoReq::ascii_fingerprint = "95675B1A0BADE5F7EDE323809DB679B2"; const uint8_t TGetInfoReq::binary_fingerprint[16] = {0x95,0x67,0x5B,0x1A,0x0B,0xAD,0xE5,0xF7,0xED,0xE3,0x23,0x80,0x9D,0xB6,0x79,0xB2}; @@ -4009,9 +5496,9 @@ uint32_t TGetInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast129; - xfer += iprot->readI32(ecast129); - this->infoType = (TGetInfoType::type)ecast129; + int32_t ecast209; + xfer += iprot->readI32(ecast209); + this->infoType = (TGetInfoType::type)ecast209; isset_infoType = true; } else { xfer += iprot->skip(ftype); @@ -4035,6 +5522,7 @@ uint32_t TGetInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetInfoReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4047,6 +5535,7 @@ uint32_t TGetInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4056,6 +5545,37 @@ void swap(TGetInfoReq &a, TGetInfoReq &b) { swap(a.infoType, b.infoType); } +TGetInfoReq::TGetInfoReq(const TGetInfoReq& other210) { + sessionHandle = other210.sessionHandle; + infoType = other210.infoType; +} +TGetInfoReq& TGetInfoReq::operator=(const TGetInfoReq& other211) { + sessionHandle = other211.sessionHandle; + infoType = other211.infoType; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj) { + using apache::thrift::to_string; + out << "TGetInfoReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ", " << "infoType=" << to_string(obj.infoType); + out << ")"; + return out; +} + + +TGetInfoResp::~TGetInfoResp() throw() { +} + + +void TGetInfoResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TGetInfoResp::__set_infoValue(const TGetInfoValue& val) { + this->infoValue = val; +} + const char* TGetInfoResp::ascii_fingerprint = "72AFA10A82728B51FDE91092012868DE"; const uint8_t TGetInfoResp::binary_fingerprint[16] = {0x72,0xAF,0xA1,0x0A,0x82,0x72,0x8B,0x51,0xFD,0xE9,0x10,0x92,0x01,0x28,0x68,0xDE}; @@ -4115,6 +5635,7 @@ uint32_t TGetInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetInfoResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4127,6 +5648,7 @@ uint32_t TGetInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4136,6 +5658,47 @@ void swap(TGetInfoResp &a, TGetInfoResp &b) { swap(a.infoValue, b.infoValue); } +TGetInfoResp::TGetInfoResp(const TGetInfoResp& other212) { + status = other212.status; + infoValue = other212.infoValue; +} +TGetInfoResp& TGetInfoResp::operator=(const TGetInfoResp& other213) { + status = other213.status; + infoValue = other213.infoValue; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj) { + using apache::thrift::to_string; + out << "TGetInfoResp("; + out << "status=" << to_string(obj.status); + out << ", " << "infoValue=" << to_string(obj.infoValue); + out << ")"; + return out; +} + + +TExecuteStatementReq::~TExecuteStatementReq() throw() { +} + + +void TExecuteStatementReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + +void TExecuteStatementReq::__set_statement(const std::string& val) { + this->statement = val; +} + +void TExecuteStatementReq::__set_confOverlay(const std::map & val) { + this->confOverlay = val; +__isset.confOverlay = true; +} + +void TExecuteStatementReq::__set_runAsync(const bool val) { + this->runAsync = val; +__isset.runAsync = true; +} + const char* TExecuteStatementReq::ascii_fingerprint = "FED75DB77E66D76EC1939A51FB0D96FA"; const uint8_t TExecuteStatementReq::binary_fingerprint[16] = {0xFE,0xD7,0x5D,0xB7,0x7E,0x66,0xD7,0x6E,0xC1,0x93,0x9A,0x51,0xFB,0x0D,0x96,0xFA}; @@ -4181,17 +5744,17 @@ uint32_t TExecuteStatementReq::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_MAP) { { this->confOverlay.clear(); - uint32_t _size130; - ::apache::thrift::protocol::TType _ktype131; - ::apache::thrift::protocol::TType _vtype132; - xfer += iprot->readMapBegin(_ktype131, _vtype132, _size130); - uint32_t _i134; - for (_i134 = 0; _i134 < _size130; ++_i134) + uint32_t _size214; + ::apache::thrift::protocol::TType _ktype215; + ::apache::thrift::protocol::TType _vtype216; + xfer += iprot->readMapBegin(_ktype215, _vtype216, _size214); + uint32_t _i218; + for (_i218 = 0; _i218 < _size214; ++_i218) { - std::string _key135; - xfer += iprot->readString(_key135); - std::string& _val136 = this->confOverlay[_key135]; - xfer += iprot->readString(_val136); + std::string _key219; + xfer += iprot->readString(_key219); + std::string& _val220 = this->confOverlay[_key219]; + xfer += iprot->readString(_val220); } xfer += iprot->readMapEnd(); } @@ -4226,6 +5789,7 @@ uint32_t TExecuteStatementReq::read(::apache::thrift::protocol::TProtocol* iprot uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TExecuteStatementReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4240,11 +5804,11 @@ uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("confOverlay", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->confOverlay.size())); - std::map ::const_iterator _iter137; - for (_iter137 = this->confOverlay.begin(); _iter137 != this->confOverlay.end(); ++_iter137) + std::map ::const_iterator _iter221; + for (_iter221 = this->confOverlay.begin(); _iter221 != this->confOverlay.end(); ++_iter221) { - xfer += oprot->writeString(_iter137->first); - xfer += oprot->writeString(_iter137->second); + xfer += oprot->writeString(_iter221->first); + xfer += oprot->writeString(_iter221->second); } xfer += oprot->writeMapEnd(); } @@ -4257,6 +5821,7 @@ uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* opro } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4269,6 +5834,46 @@ void swap(TExecuteStatementReq &a, TExecuteStatementReq &b) { swap(a.__isset, b.__isset); } +TExecuteStatementReq::TExecuteStatementReq(const TExecuteStatementReq& other222) { + sessionHandle = other222.sessionHandle; + statement = other222.statement; + confOverlay = other222.confOverlay; + runAsync = other222.runAsync; + __isset = other222.__isset; +} +TExecuteStatementReq& TExecuteStatementReq::operator=(const TExecuteStatementReq& other223) { + sessionHandle = other223.sessionHandle; + statement = other223.statement; + confOverlay = other223.confOverlay; + runAsync = other223.runAsync; + __isset = other223.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj) { + using apache::thrift::to_string; + out << "TExecuteStatementReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ", " << "statement=" << to_string(obj.statement); + out << ", " << "confOverlay="; (obj.__isset.confOverlay ? (out << to_string(obj.confOverlay)) : (out << "")); + out << ", " << "runAsync="; (obj.__isset.runAsync ? (out << to_string(obj.runAsync)) : (out << "")); + out << ")"; + return out; +} + + +TExecuteStatementResp::~TExecuteStatementResp() throw() { +} + + +void TExecuteStatementResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TExecuteStatementResp::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +__isset.operationHandle = true; +} + const char* TExecuteStatementResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; const uint8_t TExecuteStatementResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; @@ -4325,6 +5930,7 @@ uint32_t TExecuteStatementResp::read(::apache::thrift::protocol::TProtocol* ipro uint32_t TExecuteStatementResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TExecuteStatementResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4338,6 +5944,7 @@ uint32_t TExecuteStatementResp::write(::apache::thrift::protocol::TProtocol* opr } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4348,6 +5955,35 @@ void swap(TExecuteStatementResp &a, TExecuteStatementResp &b) { swap(a.__isset, b.__isset); } +TExecuteStatementResp::TExecuteStatementResp(const TExecuteStatementResp& other224) { + status = other224.status; + operationHandle = other224.operationHandle; + __isset = other224.__isset; +} +TExecuteStatementResp& TExecuteStatementResp::operator=(const TExecuteStatementResp& other225) { + status = other225.status; + operationHandle = other225.operationHandle; + __isset = other225.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj) { + using apache::thrift::to_string; + out << "TExecuteStatementResp("; + out << "status=" << to_string(obj.status); + out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << ")"; + return out; +} + + +TGetTypeInfoReq::~TGetTypeInfoReq() throw() { +} + + +void TGetTypeInfoReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + const char* TGetTypeInfoReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF"; const uint8_t TGetTypeInfoReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; @@ -4396,6 +6032,7 @@ uint32_t TGetTypeInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetTypeInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetTypeInfoReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4404,6 +6041,7 @@ uint32_t TGetTypeInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4412,6 +6050,35 @@ void swap(TGetTypeInfoReq &a, TGetTypeInfoReq &b) { swap(a.sessionHandle, b.sessionHandle); } +TGetTypeInfoReq::TGetTypeInfoReq(const TGetTypeInfoReq& other226) { + sessionHandle = other226.sessionHandle; +} +TGetTypeInfoReq& TGetTypeInfoReq::operator=(const TGetTypeInfoReq& other227) { + sessionHandle = other227.sessionHandle; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj) { + using apache::thrift::to_string; + out << "TGetTypeInfoReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ")"; + return out; +} + + +TGetTypeInfoResp::~TGetTypeInfoResp() throw() { +} + + +void TGetTypeInfoResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TGetTypeInfoResp::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +__isset.operationHandle = true; +} + const char* TGetTypeInfoResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; const uint8_t TGetTypeInfoResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; @@ -4468,6 +6135,7 @@ uint32_t TGetTypeInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetTypeInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetTypeInfoResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4481,6 +6149,7 @@ uint32_t TGetTypeInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4491,6 +6160,35 @@ void swap(TGetTypeInfoResp &a, TGetTypeInfoResp &b) { swap(a.__isset, b.__isset); } +TGetTypeInfoResp::TGetTypeInfoResp(const TGetTypeInfoResp& other228) { + status = other228.status; + operationHandle = other228.operationHandle; + __isset = other228.__isset; +} +TGetTypeInfoResp& TGetTypeInfoResp::operator=(const TGetTypeInfoResp& other229) { + status = other229.status; + operationHandle = other229.operationHandle; + __isset = other229.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetTypeInfoResp& obj) { + using apache::thrift::to_string; + out << "TGetTypeInfoResp("; + out << "status=" << to_string(obj.status); + out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << ")"; + return out; +} + + +TGetCatalogsReq::~TGetCatalogsReq() throw() { +} + + +void TGetCatalogsReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + const char* TGetCatalogsReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF"; const uint8_t TGetCatalogsReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; @@ -4539,6 +6237,7 @@ uint32_t TGetCatalogsReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetCatalogsReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetCatalogsReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4547,6 +6246,7 @@ uint32_t TGetCatalogsReq::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4555,6 +6255,35 @@ void swap(TGetCatalogsReq &a, TGetCatalogsReq &b) { swap(a.sessionHandle, b.sessionHandle); } +TGetCatalogsReq::TGetCatalogsReq(const TGetCatalogsReq& other230) { + sessionHandle = other230.sessionHandle; +} +TGetCatalogsReq& TGetCatalogsReq::operator=(const TGetCatalogsReq& other231) { + sessionHandle = other231.sessionHandle; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetCatalogsReq& obj) { + using apache::thrift::to_string; + out << "TGetCatalogsReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ")"; + return out; +} + + +TGetCatalogsResp::~TGetCatalogsResp() throw() { +} + + +void TGetCatalogsResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TGetCatalogsResp::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +__isset.operationHandle = true; +} + const char* TGetCatalogsResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; const uint8_t TGetCatalogsResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; @@ -4611,6 +6340,7 @@ uint32_t TGetCatalogsResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetCatalogsResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetCatalogsResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4624,6 +6354,7 @@ uint32_t TGetCatalogsResp::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4634,6 +6365,45 @@ void swap(TGetCatalogsResp &a, TGetCatalogsResp &b) { swap(a.__isset, b.__isset); } +TGetCatalogsResp::TGetCatalogsResp(const TGetCatalogsResp& other232) { + status = other232.status; + operationHandle = other232.operationHandle; + __isset = other232.__isset; +} +TGetCatalogsResp& TGetCatalogsResp::operator=(const TGetCatalogsResp& other233) { + status = other233.status; + operationHandle = other233.operationHandle; + __isset = other233.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetCatalogsResp& obj) { + using apache::thrift::to_string; + out << "TGetCatalogsResp("; + out << "status=" << to_string(obj.status); + out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << ")"; + return out; +} + + +TGetSchemasReq::~TGetSchemasReq() throw() { +} + + +void TGetSchemasReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + +void TGetSchemasReq::__set_catalogName(const TIdentifier& val) { + this->catalogName = val; +__isset.catalogName = true; +} + +void TGetSchemasReq::__set_schemaName(const TPatternOrIdentifier& val) { + this->schemaName = val; +__isset.schemaName = true; +} + const char* TGetSchemasReq::ascii_fingerprint = "28A9D12DE8393DD3E73FC1E5AE6E113B"; const uint8_t TGetSchemasReq::binary_fingerprint[16] = {0x28,0xA9,0xD1,0x2D,0xE8,0x39,0x3D,0xD3,0xE7,0x3F,0xC1,0xE5,0xAE,0x6E,0x11,0x3B}; @@ -4698,6 +6468,7 @@ uint32_t TGetSchemasReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetSchemasReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetSchemasReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4716,6 +6487,7 @@ uint32_t TGetSchemasReq::write(::apache::thrift::protocol::TProtocol* oprot) con } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4727,6 +6499,43 @@ void swap(TGetSchemasReq &a, TGetSchemasReq &b) { swap(a.__isset, b.__isset); } +TGetSchemasReq::TGetSchemasReq(const TGetSchemasReq& other234) { + sessionHandle = other234.sessionHandle; + catalogName = other234.catalogName; + schemaName = other234.schemaName; + __isset = other234.__isset; +} +TGetSchemasReq& TGetSchemasReq::operator=(const TGetSchemasReq& other235) { + sessionHandle = other235.sessionHandle; + catalogName = other235.catalogName; + schemaName = other235.schemaName; + __isset = other235.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetSchemasReq& obj) { + using apache::thrift::to_string; + out << "TGetSchemasReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ", " << "catalogName="; (obj.__isset.catalogName ? (out << to_string(obj.catalogName)) : (out << "")); + out << ", " << "schemaName="; (obj.__isset.schemaName ? (out << to_string(obj.schemaName)) : (out << "")); + out << ")"; + return out; +} + + +TGetSchemasResp::~TGetSchemasResp() throw() { +} + + +void TGetSchemasResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TGetSchemasResp::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +__isset.operationHandle = true; +} + const char* TGetSchemasResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; const uint8_t TGetSchemasResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; @@ -4783,6 +6592,7 @@ uint32_t TGetSchemasResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetSchemasResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetSchemasResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4796,6 +6606,7 @@ uint32_t TGetSchemasResp::write(::apache::thrift::protocol::TProtocol* oprot) co } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4806,6 +6617,55 @@ void swap(TGetSchemasResp &a, TGetSchemasResp &b) { swap(a.__isset, b.__isset); } +TGetSchemasResp::TGetSchemasResp(const TGetSchemasResp& other236) { + status = other236.status; + operationHandle = other236.operationHandle; + __isset = other236.__isset; +} +TGetSchemasResp& TGetSchemasResp::operator=(const TGetSchemasResp& other237) { + status = other237.status; + operationHandle = other237.operationHandle; + __isset = other237.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetSchemasResp& obj) { + using apache::thrift::to_string; + out << "TGetSchemasResp("; + out << "status=" << to_string(obj.status); + out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << ")"; + return out; +} + + +TGetTablesReq::~TGetTablesReq() throw() { +} + + +void TGetTablesReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + +void TGetTablesReq::__set_catalogName(const TPatternOrIdentifier& val) { + this->catalogName = val; +__isset.catalogName = true; +} + +void TGetTablesReq::__set_schemaName(const TPatternOrIdentifier& val) { + this->schemaName = val; +__isset.schemaName = true; +} + +void TGetTablesReq::__set_tableName(const TPatternOrIdentifier& val) { + this->tableName = val; +__isset.tableName = true; +} + +void TGetTablesReq::__set_tableTypes(const std::vector & val) { + this->tableTypes = val; +__isset.tableTypes = true; +} + const char* TGetTablesReq::ascii_fingerprint = "C80DFEE06850052F5A445BE81ED763DB"; const uint8_t TGetTablesReq::binary_fingerprint[16] = {0xC8,0x0D,0xFE,0xE0,0x68,0x50,0x05,0x2F,0x5A,0x44,0x5B,0xE8,0x1E,0xD7,0x63,0xDB}; @@ -4866,14 +6726,14 @@ uint32_t TGetTablesReq::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tableTypes.clear(); - uint32_t _size138; - ::apache::thrift::protocol::TType _etype141; - xfer += iprot->readListBegin(_etype141, _size138); - this->tableTypes.resize(_size138); - uint32_t _i142; - for (_i142 = 0; _i142 < _size138; ++_i142) + uint32_t _size238; + ::apache::thrift::protocol::TType _etype241; + xfer += iprot->readListBegin(_etype241, _size238); + this->tableTypes.resize(_size238); + uint32_t _i242; + for (_i242 = 0; _i242 < _size238; ++_i242) { - xfer += iprot->readString(this->tableTypes[_i142]); + xfer += iprot->readString(this->tableTypes[_i242]); } xfer += iprot->readListEnd(); } @@ -4898,6 +6758,7 @@ uint32_t TGetTablesReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetTablesReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetTablesReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4923,10 +6784,10 @@ uint32_t TGetTablesReq::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("tableTypes", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tableTypes.size())); - std::vector ::const_iterator _iter143; - for (_iter143 = this->tableTypes.begin(); _iter143 != this->tableTypes.end(); ++_iter143) + std::vector ::const_iterator _iter243; + for (_iter243 = this->tableTypes.begin(); _iter243 != this->tableTypes.end(); ++_iter243) { - xfer += oprot->writeString((*_iter143)); + xfer += oprot->writeString((*_iter243)); } xfer += oprot->writeListEnd(); } @@ -4934,6 +6795,7 @@ uint32_t TGetTablesReq::write(::apache::thrift::protocol::TProtocol* oprot) cons } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -4947,6 +6809,49 @@ void swap(TGetTablesReq &a, TGetTablesReq &b) { swap(a.__isset, b.__isset); } +TGetTablesReq::TGetTablesReq(const TGetTablesReq& other244) { + sessionHandle = other244.sessionHandle; + catalogName = other244.catalogName; + schemaName = other244.schemaName; + tableName = other244.tableName; + tableTypes = other244.tableTypes; + __isset = other244.__isset; +} +TGetTablesReq& TGetTablesReq::operator=(const TGetTablesReq& other245) { + sessionHandle = other245.sessionHandle; + catalogName = other245.catalogName; + schemaName = other245.schemaName; + tableName = other245.tableName; + tableTypes = other245.tableTypes; + __isset = other245.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetTablesReq& obj) { + using apache::thrift::to_string; + out << "TGetTablesReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ", " << "catalogName="; (obj.__isset.catalogName ? (out << to_string(obj.catalogName)) : (out << "")); + out << ", " << "schemaName="; (obj.__isset.schemaName ? (out << to_string(obj.schemaName)) : (out << "")); + out << ", " << "tableName="; (obj.__isset.tableName ? (out << to_string(obj.tableName)) : (out << "")); + out << ", " << "tableTypes="; (obj.__isset.tableTypes ? (out << to_string(obj.tableTypes)) : (out << "")); + out << ")"; + return out; +} + + +TGetTablesResp::~TGetTablesResp() throw() { +} + + +void TGetTablesResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TGetTablesResp::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +__isset.operationHandle = true; +} + const char* TGetTablesResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; const uint8_t TGetTablesResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; @@ -5003,6 +6908,7 @@ uint32_t TGetTablesResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetTablesResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetTablesResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5016,6 +6922,7 @@ uint32_t TGetTablesResp::write(::apache::thrift::protocol::TProtocol* oprot) con } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5026,6 +6933,35 @@ void swap(TGetTablesResp &a, TGetTablesResp &b) { swap(a.__isset, b.__isset); } +TGetTablesResp::TGetTablesResp(const TGetTablesResp& other246) { + status = other246.status; + operationHandle = other246.operationHandle; + __isset = other246.__isset; +} +TGetTablesResp& TGetTablesResp::operator=(const TGetTablesResp& other247) { + status = other247.status; + operationHandle = other247.operationHandle; + __isset = other247.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetTablesResp& obj) { + using apache::thrift::to_string; + out << "TGetTablesResp("; + out << "status=" << to_string(obj.status); + out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << ")"; + return out; +} + + +TGetTableTypesReq::~TGetTableTypesReq() throw() { +} + + +void TGetTableTypesReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + const char* TGetTableTypesReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF"; const uint8_t TGetTableTypesReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; @@ -5074,6 +7010,7 @@ uint32_t TGetTableTypesReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetTableTypesReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetTableTypesReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5082,12 +7019,42 @@ uint32_t TGetTableTypesReq::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } -void swap(TGetTableTypesReq &a, TGetTableTypesReq &b) { - using ::std::swap; - swap(a.sessionHandle, b.sessionHandle); +void swap(TGetTableTypesReq &a, TGetTableTypesReq &b) { + using ::std::swap; + swap(a.sessionHandle, b.sessionHandle); +} + +TGetTableTypesReq::TGetTableTypesReq(const TGetTableTypesReq& other248) { + sessionHandle = other248.sessionHandle; +} +TGetTableTypesReq& TGetTableTypesReq::operator=(const TGetTableTypesReq& other249) { + sessionHandle = other249.sessionHandle; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetTableTypesReq& obj) { + using apache::thrift::to_string; + out << "TGetTableTypesReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ")"; + return out; +} + + +TGetTableTypesResp::~TGetTableTypesResp() throw() { +} + + +void TGetTableTypesResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TGetTableTypesResp::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +__isset.operationHandle = true; } const char* TGetTableTypesResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; @@ -5146,6 +7113,7 @@ uint32_t TGetTableTypesResp::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TGetTableTypesResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetTableTypesResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5159,6 +7127,7 @@ uint32_t TGetTableTypesResp::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5169,6 +7138,55 @@ void swap(TGetTableTypesResp &a, TGetTableTypesResp &b) { swap(a.__isset, b.__isset); } +TGetTableTypesResp::TGetTableTypesResp(const TGetTableTypesResp& other250) { + status = other250.status; + operationHandle = other250.operationHandle; + __isset = other250.__isset; +} +TGetTableTypesResp& TGetTableTypesResp::operator=(const TGetTableTypesResp& other251) { + status = other251.status; + operationHandle = other251.operationHandle; + __isset = other251.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetTableTypesResp& obj) { + using apache::thrift::to_string; + out << "TGetTableTypesResp("; + out << "status=" << to_string(obj.status); + out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << ")"; + return out; +} + + +TGetColumnsReq::~TGetColumnsReq() throw() { +} + + +void TGetColumnsReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + +void TGetColumnsReq::__set_catalogName(const TIdentifier& val) { + this->catalogName = val; +__isset.catalogName = true; +} + +void TGetColumnsReq::__set_schemaName(const TPatternOrIdentifier& val) { + this->schemaName = val; +__isset.schemaName = true; +} + +void TGetColumnsReq::__set_tableName(const TPatternOrIdentifier& val) { + this->tableName = val; +__isset.tableName = true; +} + +void TGetColumnsReq::__set_columnName(const TPatternOrIdentifier& val) { + this->columnName = val; +__isset.columnName = true; +} + const char* TGetColumnsReq::ascii_fingerprint = "72D0F28ED33A49B7306DF63EEE956C28"; const uint8_t TGetColumnsReq::binary_fingerprint[16] = {0x72,0xD0,0xF2,0x8E,0xD3,0x3A,0x49,0xB7,0x30,0x6D,0xF6,0x3E,0xEE,0x95,0x6C,0x28}; @@ -5249,6 +7267,7 @@ uint32_t TGetColumnsReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetColumnsReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetColumnsReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5277,6 +7296,7 @@ uint32_t TGetColumnsReq::write(::apache::thrift::protocol::TProtocol* oprot) con } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5290,6 +7310,49 @@ void swap(TGetColumnsReq &a, TGetColumnsReq &b) { swap(a.__isset, b.__isset); } +TGetColumnsReq::TGetColumnsReq(const TGetColumnsReq& other252) { + sessionHandle = other252.sessionHandle; + catalogName = other252.catalogName; + schemaName = other252.schemaName; + tableName = other252.tableName; + columnName = other252.columnName; + __isset = other252.__isset; +} +TGetColumnsReq& TGetColumnsReq::operator=(const TGetColumnsReq& other253) { + sessionHandle = other253.sessionHandle; + catalogName = other253.catalogName; + schemaName = other253.schemaName; + tableName = other253.tableName; + columnName = other253.columnName; + __isset = other253.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetColumnsReq& obj) { + using apache::thrift::to_string; + out << "TGetColumnsReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ", " << "catalogName="; (obj.__isset.catalogName ? (out << to_string(obj.catalogName)) : (out << "")); + out << ", " << "schemaName="; (obj.__isset.schemaName ? (out << to_string(obj.schemaName)) : (out << "")); + out << ", " << "tableName="; (obj.__isset.tableName ? (out << to_string(obj.tableName)) : (out << "")); + out << ", " << "columnName="; (obj.__isset.columnName ? (out << to_string(obj.columnName)) : (out << "")); + out << ")"; + return out; +} + + +TGetColumnsResp::~TGetColumnsResp() throw() { +} + + +void TGetColumnsResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TGetColumnsResp::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +__isset.operationHandle = true; +} + const char* TGetColumnsResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; const uint8_t TGetColumnsResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; @@ -5346,6 +7409,7 @@ uint32_t TGetColumnsResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetColumnsResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetColumnsResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5359,6 +7423,7 @@ uint32_t TGetColumnsResp::write(::apache::thrift::protocol::TProtocol* oprot) co } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5369,6 +7434,49 @@ void swap(TGetColumnsResp &a, TGetColumnsResp &b) { swap(a.__isset, b.__isset); } +TGetColumnsResp::TGetColumnsResp(const TGetColumnsResp& other254) { + status = other254.status; + operationHandle = other254.operationHandle; + __isset = other254.__isset; +} +TGetColumnsResp& TGetColumnsResp::operator=(const TGetColumnsResp& other255) { + status = other255.status; + operationHandle = other255.operationHandle; + __isset = other255.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetColumnsResp& obj) { + using apache::thrift::to_string; + out << "TGetColumnsResp("; + out << "status=" << to_string(obj.status); + out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << ")"; + return out; +} + + +TGetFunctionsReq::~TGetFunctionsReq() throw() { +} + + +void TGetFunctionsReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + +void TGetFunctionsReq::__set_catalogName(const TIdentifier& val) { + this->catalogName = val; +__isset.catalogName = true; +} + +void TGetFunctionsReq::__set_schemaName(const TPatternOrIdentifier& val) { + this->schemaName = val; +__isset.schemaName = true; +} + +void TGetFunctionsReq::__set_functionName(const TPatternOrIdentifier& val) { + this->functionName = val; +} + const char* TGetFunctionsReq::ascii_fingerprint = "0887E0916ADE4521BF6017B534493138"; const uint8_t TGetFunctionsReq::binary_fingerprint[16] = {0x08,0x87,0xE0,0x91,0x6A,0xDE,0x45,0x21,0xBF,0x60,0x17,0xB5,0x34,0x49,0x31,0x38}; @@ -5444,6 +7552,7 @@ uint32_t TGetFunctionsReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetFunctionsReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetFunctionsReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5466,6 +7575,7 @@ uint32_t TGetFunctionsReq::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5478,6 +7588,46 @@ void swap(TGetFunctionsReq &a, TGetFunctionsReq &b) { swap(a.__isset, b.__isset); } +TGetFunctionsReq::TGetFunctionsReq(const TGetFunctionsReq& other256) { + sessionHandle = other256.sessionHandle; + catalogName = other256.catalogName; + schemaName = other256.schemaName; + functionName = other256.functionName; + __isset = other256.__isset; +} +TGetFunctionsReq& TGetFunctionsReq::operator=(const TGetFunctionsReq& other257) { + sessionHandle = other257.sessionHandle; + catalogName = other257.catalogName; + schemaName = other257.schemaName; + functionName = other257.functionName; + __isset = other257.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetFunctionsReq& obj) { + using apache::thrift::to_string; + out << "TGetFunctionsReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ", " << "catalogName="; (obj.__isset.catalogName ? (out << to_string(obj.catalogName)) : (out << "")); + out << ", " << "schemaName="; (obj.__isset.schemaName ? (out << to_string(obj.schemaName)) : (out << "")); + out << ", " << "functionName=" << to_string(obj.functionName); + out << ")"; + return out; +} + + +TGetFunctionsResp::~TGetFunctionsResp() throw() { +} + + +void TGetFunctionsResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TGetFunctionsResp::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +__isset.operationHandle = true; +} + const char* TGetFunctionsResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; const uint8_t TGetFunctionsResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; @@ -5534,6 +7684,7 @@ uint32_t TGetFunctionsResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetFunctionsResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetFunctionsResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5547,6 +7698,7 @@ uint32_t TGetFunctionsResp::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5557,6 +7709,35 @@ void swap(TGetFunctionsResp &a, TGetFunctionsResp &b) { swap(a.__isset, b.__isset); } +TGetFunctionsResp::TGetFunctionsResp(const TGetFunctionsResp& other258) { + status = other258.status; + operationHandle = other258.operationHandle; + __isset = other258.__isset; +} +TGetFunctionsResp& TGetFunctionsResp::operator=(const TGetFunctionsResp& other259) { + status = other259.status; + operationHandle = other259.operationHandle; + __isset = other259.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetFunctionsResp& obj) { + using apache::thrift::to_string; + out << "TGetFunctionsResp("; + out << "status=" << to_string(obj.status); + out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << ")"; + return out; +} + + +TGetOperationStatusReq::~TGetOperationStatusReq() throw() { +} + + +void TGetOperationStatusReq::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +} + const char* TGetOperationStatusReq::ascii_fingerprint = "414FA38522AE6B9CEC1438B56CA1DE5A"; const uint8_t TGetOperationStatusReq::binary_fingerprint[16] = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; @@ -5605,6 +7786,7 @@ uint32_t TGetOperationStatusReq::read(::apache::thrift::protocol::TProtocol* ipr uint32_t TGetOperationStatusReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetOperationStatusReq"); xfer += oprot->writeFieldBegin("operationHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5613,6 +7795,7 @@ uint32_t TGetOperationStatusReq::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5621,6 +7804,50 @@ void swap(TGetOperationStatusReq &a, TGetOperationStatusReq &b) { swap(a.operationHandle, b.operationHandle); } +TGetOperationStatusReq::TGetOperationStatusReq(const TGetOperationStatusReq& other260) { + operationHandle = other260.operationHandle; +} +TGetOperationStatusReq& TGetOperationStatusReq::operator=(const TGetOperationStatusReq& other261) { + operationHandle = other261.operationHandle; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetOperationStatusReq& obj) { + using apache::thrift::to_string; + out << "TGetOperationStatusReq("; + out << "operationHandle=" << to_string(obj.operationHandle); + out << ")"; + return out; +} + + +TGetOperationStatusResp::~TGetOperationStatusResp() throw() { +} + + +void TGetOperationStatusResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TGetOperationStatusResp::__set_operationState(const TOperationState::type val) { + this->operationState = val; +__isset.operationState = true; +} + +void TGetOperationStatusResp::__set_sqlState(const std::string& val) { + this->sqlState = val; +__isset.sqlState = true; +} + +void TGetOperationStatusResp::__set_errorCode(const int32_t val) { + this->errorCode = val; +__isset.errorCode = true; +} + +void TGetOperationStatusResp::__set_errorMessage(const std::string& val) { + this->errorMessage = val; +__isset.errorMessage = true; +} + const char* TGetOperationStatusResp::ascii_fingerprint = "BD124DB87A5A2E7D11945BD1B17F013D"; const uint8_t TGetOperationStatusResp::binary_fingerprint[16] = {0xBD,0x12,0x4D,0xB8,0x7A,0x5A,0x2E,0x7D,0x11,0x94,0x5B,0xD1,0xB1,0x7F,0x01,0x3D}; @@ -5655,9 +7882,9 @@ uint32_t TGetOperationStatusResp::read(::apache::thrift::protocol::TProtocol* ip break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast144; - xfer += iprot->readI32(ecast144); - this->operationState = (TOperationState::type)ecast144; + int32_t ecast262; + xfer += iprot->readI32(ecast262); + this->operationState = (TOperationState::type)ecast262; this->__isset.operationState = true; } else { xfer += iprot->skip(ftype); @@ -5703,6 +7930,7 @@ uint32_t TGetOperationStatusResp::read(::apache::thrift::protocol::TProtocol* ip uint32_t TGetOperationStatusResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetOperationStatusResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5731,6 +7959,7 @@ uint32_t TGetOperationStatusResp::write(::apache::thrift::protocol::TProtocol* o } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5744,6 +7973,44 @@ void swap(TGetOperationStatusResp &a, TGetOperationStatusResp &b) { swap(a.__isset, b.__isset); } +TGetOperationStatusResp::TGetOperationStatusResp(const TGetOperationStatusResp& other263) { + status = other263.status; + operationState = other263.operationState; + sqlState = other263.sqlState; + errorCode = other263.errorCode; + errorMessage = other263.errorMessage; + __isset = other263.__isset; +} +TGetOperationStatusResp& TGetOperationStatusResp::operator=(const TGetOperationStatusResp& other264) { + status = other264.status; + operationState = other264.operationState; + sqlState = other264.sqlState; + errorCode = other264.errorCode; + errorMessage = other264.errorMessage; + __isset = other264.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetOperationStatusResp& obj) { + using apache::thrift::to_string; + out << "TGetOperationStatusResp("; + out << "status=" << to_string(obj.status); + out << ", " << "operationState="; (obj.__isset.operationState ? (out << to_string(obj.operationState)) : (out << "")); + out << ", " << "sqlState="; (obj.__isset.sqlState ? (out << to_string(obj.sqlState)) : (out << "")); + out << ", " << "errorCode="; (obj.__isset.errorCode ? (out << to_string(obj.errorCode)) : (out << "")); + out << ", " << "errorMessage="; (obj.__isset.errorMessage ? (out << to_string(obj.errorMessage)) : (out << "")); + out << ")"; + return out; +} + + +TCancelOperationReq::~TCancelOperationReq() throw() { +} + + +void TCancelOperationReq::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +} + const char* TCancelOperationReq::ascii_fingerprint = "414FA38522AE6B9CEC1438B56CA1DE5A"; const uint8_t TCancelOperationReq::binary_fingerprint[16] = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; @@ -5792,6 +8059,7 @@ uint32_t TCancelOperationReq::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TCancelOperationReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCancelOperationReq"); xfer += oprot->writeFieldBegin("operationHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5800,6 +8068,7 @@ uint32_t TCancelOperationReq::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5808,6 +8077,30 @@ void swap(TCancelOperationReq &a, TCancelOperationReq &b) { swap(a.operationHandle, b.operationHandle); } +TCancelOperationReq::TCancelOperationReq(const TCancelOperationReq& other265) { + operationHandle = other265.operationHandle; +} +TCancelOperationReq& TCancelOperationReq::operator=(const TCancelOperationReq& other266) { + operationHandle = other266.operationHandle; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TCancelOperationReq& obj) { + using apache::thrift::to_string; + out << "TCancelOperationReq("; + out << "operationHandle=" << to_string(obj.operationHandle); + out << ")"; + return out; +} + + +TCancelOperationResp::~TCancelOperationResp() throw() { +} + + +void TCancelOperationResp::__set_status(const TStatus& val) { + this->status = val; +} + const char* TCancelOperationResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2"; const uint8_t TCancelOperationResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; @@ -5856,6 +8149,7 @@ uint32_t TCancelOperationResp::read(::apache::thrift::protocol::TProtocol* iprot uint32_t TCancelOperationResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCancelOperationResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5864,6 +8158,7 @@ uint32_t TCancelOperationResp::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5872,6 +8167,30 @@ void swap(TCancelOperationResp &a, TCancelOperationResp &b) { swap(a.status, b.status); } +TCancelOperationResp::TCancelOperationResp(const TCancelOperationResp& other267) { + status = other267.status; +} +TCancelOperationResp& TCancelOperationResp::operator=(const TCancelOperationResp& other268) { + status = other268.status; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TCancelOperationResp& obj) { + using apache::thrift::to_string; + out << "TCancelOperationResp("; + out << "status=" << to_string(obj.status); + out << ")"; + return out; +} + + +TCloseOperationReq::~TCloseOperationReq() throw() { +} + + +void TCloseOperationReq::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +} + const char* TCloseOperationReq::ascii_fingerprint = "414FA38522AE6B9CEC1438B56CA1DE5A"; const uint8_t TCloseOperationReq::binary_fingerprint[16] = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; @@ -5920,6 +8239,7 @@ uint32_t TCloseOperationReq::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TCloseOperationReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCloseOperationReq"); xfer += oprot->writeFieldBegin("operationHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5928,6 +8248,7 @@ uint32_t TCloseOperationReq::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -5936,6 +8257,30 @@ void swap(TCloseOperationReq &a, TCloseOperationReq &b) { swap(a.operationHandle, b.operationHandle); } +TCloseOperationReq::TCloseOperationReq(const TCloseOperationReq& other269) { + operationHandle = other269.operationHandle; +} +TCloseOperationReq& TCloseOperationReq::operator=(const TCloseOperationReq& other270) { + operationHandle = other270.operationHandle; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TCloseOperationReq& obj) { + using apache::thrift::to_string; + out << "TCloseOperationReq("; + out << "operationHandle=" << to_string(obj.operationHandle); + out << ")"; + return out; +} + + +TCloseOperationResp::~TCloseOperationResp() throw() { +} + + +void TCloseOperationResp::__set_status(const TStatus& val) { + this->status = val; +} + const char* TCloseOperationResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2"; const uint8_t TCloseOperationResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; @@ -5984,6 +8329,7 @@ uint32_t TCloseOperationResp::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TCloseOperationResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCloseOperationResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5992,6 +8338,7 @@ uint32_t TCloseOperationResp::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6000,6 +8347,30 @@ void swap(TCloseOperationResp &a, TCloseOperationResp &b) { swap(a.status, b.status); } +TCloseOperationResp::TCloseOperationResp(const TCloseOperationResp& other271) { + status = other271.status; +} +TCloseOperationResp& TCloseOperationResp::operator=(const TCloseOperationResp& other272) { + status = other272.status; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TCloseOperationResp& obj) { + using apache::thrift::to_string; + out << "TCloseOperationResp("; + out << "status=" << to_string(obj.status); + out << ")"; + return out; +} + + +TGetResultSetMetadataReq::~TGetResultSetMetadataReq() throw() { +} + + +void TGetResultSetMetadataReq::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +} + const char* TGetResultSetMetadataReq::ascii_fingerprint = "414FA38522AE6B9CEC1438B56CA1DE5A"; const uint8_t TGetResultSetMetadataReq::binary_fingerprint[16] = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; @@ -6048,6 +8419,7 @@ uint32_t TGetResultSetMetadataReq::read(::apache::thrift::protocol::TProtocol* i uint32_t TGetResultSetMetadataReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetResultSetMetadataReq"); xfer += oprot->writeFieldBegin("operationHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6056,6 +8428,7 @@ uint32_t TGetResultSetMetadataReq::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6064,6 +8437,35 @@ void swap(TGetResultSetMetadataReq &a, TGetResultSetMetadataReq &b) { swap(a.operationHandle, b.operationHandle); } +TGetResultSetMetadataReq::TGetResultSetMetadataReq(const TGetResultSetMetadataReq& other273) { + operationHandle = other273.operationHandle; +} +TGetResultSetMetadataReq& TGetResultSetMetadataReq::operator=(const TGetResultSetMetadataReq& other274) { + operationHandle = other274.operationHandle; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataReq& obj) { + using apache::thrift::to_string; + out << "TGetResultSetMetadataReq("; + out << "operationHandle=" << to_string(obj.operationHandle); + out << ")"; + return out; +} + + +TGetResultSetMetadataResp::~TGetResultSetMetadataResp() throw() { +} + + +void TGetResultSetMetadataResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TGetResultSetMetadataResp::__set_schema(const TTableSchema& val) { + this->schema = val; +__isset.schema = true; +} + const char* TGetResultSetMetadataResp::ascii_fingerprint = "42CD49B7F49CC1B6D4E6F5FA2D7BE812"; const uint8_t TGetResultSetMetadataResp::binary_fingerprint[16] = {0x42,0xCD,0x49,0xB7,0xF4,0x9C,0xC1,0xB6,0xD4,0xE6,0xF5,0xFA,0x2D,0x7B,0xE8,0x12}; @@ -6120,6 +8522,7 @@ uint32_t TGetResultSetMetadataResp::read(::apache::thrift::protocol::TProtocol* uint32_t TGetResultSetMetadataResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetResultSetMetadataResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6133,6 +8536,7 @@ uint32_t TGetResultSetMetadataResp::write(::apache::thrift::protocol::TProtocol* } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6143,6 +8547,48 @@ void swap(TGetResultSetMetadataResp &a, TGetResultSetMetadataResp &b) { swap(a.__isset, b.__isset); } +TGetResultSetMetadataResp::TGetResultSetMetadataResp(const TGetResultSetMetadataResp& other275) { + status = other275.status; + schema = other275.schema; + __isset = other275.__isset; +} +TGetResultSetMetadataResp& TGetResultSetMetadataResp::operator=(const TGetResultSetMetadataResp& other276) { + status = other276.status; + schema = other276.schema; + __isset = other276.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataResp& obj) { + using apache::thrift::to_string; + out << "TGetResultSetMetadataResp("; + out << "status=" << to_string(obj.status); + out << ", " << "schema="; (obj.__isset.schema ? (out << to_string(obj.schema)) : (out << "")); + out << ")"; + return out; +} + + +TFetchResultsReq::~TFetchResultsReq() throw() { +} + + +void TFetchResultsReq::__set_operationHandle(const TOperationHandle& val) { + this->operationHandle = val; +} + +void TFetchResultsReq::__set_orientation(const TFetchOrientation::type val) { + this->orientation = val; +} + +void TFetchResultsReq::__set_maxRows(const int64_t val) { + this->maxRows = val; +} + +void TFetchResultsReq::__set_fetchType(const int16_t val) { + this->fetchType = val; +__isset.fetchType = true; +} + const char* TFetchResultsReq::ascii_fingerprint = "B4CB1E4F8F8F4D50183DD372AD11753A"; const uint8_t TFetchResultsReq::binary_fingerprint[16] = {0xB4,0xCB,0x1E,0x4F,0x8F,0x8F,0x4D,0x50,0x18,0x3D,0xD3,0x72,0xAD,0x11,0x75,0x3A}; @@ -6179,9 +8625,9 @@ uint32_t TFetchResultsReq::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast145; - xfer += iprot->readI32(ecast145); - this->orientation = (TFetchOrientation::type)ecast145; + int32_t ecast277; + xfer += iprot->readI32(ecast277); + this->orientation = (TFetchOrientation::type)ecast277; isset_orientation = true; } else { xfer += iprot->skip(ftype); @@ -6223,6 +8669,7 @@ uint32_t TFetchResultsReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TFetchResultsReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TFetchResultsReq"); xfer += oprot->writeFieldBegin("operationHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6244,6 +8691,7 @@ uint32_t TFetchResultsReq::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6256,6 +8704,51 @@ void swap(TFetchResultsReq &a, TFetchResultsReq &b) { swap(a.__isset, b.__isset); } +TFetchResultsReq::TFetchResultsReq(const TFetchResultsReq& other278) { + operationHandle = other278.operationHandle; + orientation = other278.orientation; + maxRows = other278.maxRows; + fetchType = other278.fetchType; + __isset = other278.__isset; +} +TFetchResultsReq& TFetchResultsReq::operator=(const TFetchResultsReq& other279) { + operationHandle = other279.operationHandle; + orientation = other279.orientation; + maxRows = other279.maxRows; + fetchType = other279.fetchType; + __isset = other279.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TFetchResultsReq& obj) { + using apache::thrift::to_string; + out << "TFetchResultsReq("; + out << "operationHandle=" << to_string(obj.operationHandle); + out << ", " << "orientation=" << to_string(obj.orientation); + out << ", " << "maxRows=" << to_string(obj.maxRows); + out << ", " << "fetchType="; (obj.__isset.fetchType ? (out << to_string(obj.fetchType)) : (out << "")); + out << ")"; + return out; +} + + +TFetchResultsResp::~TFetchResultsResp() throw() { +} + + +void TFetchResultsResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TFetchResultsResp::__set_hasMoreRows(const bool val) { + this->hasMoreRows = val; +__isset.hasMoreRows = true; +} + +void TFetchResultsResp::__set_results(const TRowSet& val) { + this->results = val; +__isset.results = true; +} + const char* TFetchResultsResp::ascii_fingerprint = "FC43BC2D6F3B76D4DB0F34226A745C8E"; const uint8_t TFetchResultsResp::binary_fingerprint[16] = {0xFC,0x43,0xBC,0x2D,0x6F,0x3B,0x76,0xD4,0xDB,0x0F,0x34,0x22,0x6A,0x74,0x5C,0x8E}; @@ -6320,6 +8813,7 @@ uint32_t TFetchResultsResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TFetchResultsResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TFetchResultsResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6338,6 +8832,7 @@ uint32_t TFetchResultsResp::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6349,6 +8844,46 @@ void swap(TFetchResultsResp &a, TFetchResultsResp &b) { swap(a.__isset, b.__isset); } +TFetchResultsResp::TFetchResultsResp(const TFetchResultsResp& other280) { + status = other280.status; + hasMoreRows = other280.hasMoreRows; + results = other280.results; + __isset = other280.__isset; +} +TFetchResultsResp& TFetchResultsResp::operator=(const TFetchResultsResp& other281) { + status = other281.status; + hasMoreRows = other281.hasMoreRows; + results = other281.results; + __isset = other281.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TFetchResultsResp& obj) { + using apache::thrift::to_string; + out << "TFetchResultsResp("; + out << "status=" << to_string(obj.status); + out << ", " << "hasMoreRows="; (obj.__isset.hasMoreRows ? (out << to_string(obj.hasMoreRows)) : (out << "")); + out << ", " << "results="; (obj.__isset.results ? (out << to_string(obj.results)) : (out << "")); + out << ")"; + return out; +} + + +TGetDelegationTokenReq::~TGetDelegationTokenReq() throw() { +} + + +void TGetDelegationTokenReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + +void TGetDelegationTokenReq::__set_owner(const std::string& val) { + this->owner = val; +} + +void TGetDelegationTokenReq::__set_renewer(const std::string& val) { + this->renewer = val; +} + const char* TGetDelegationTokenReq::ascii_fingerprint = "07EA0311716A27924914E4354ED22D6C"; const uint8_t TGetDelegationTokenReq::binary_fingerprint[16] = {0x07,0xEA,0x03,0x11,0x71,0x6A,0x27,0x92,0x49,0x14,0xE4,0x35,0x4E,0xD2,0x2D,0x6C}; @@ -6419,6 +8954,7 @@ uint32_t TGetDelegationTokenReq::read(::apache::thrift::protocol::TProtocol* ipr uint32_t TGetDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetDelegationTokenReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6435,6 +8971,7 @@ uint32_t TGetDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6445,6 +8982,41 @@ void swap(TGetDelegationTokenReq &a, TGetDelegationTokenReq &b) { swap(a.renewer, b.renewer); } +TGetDelegationTokenReq::TGetDelegationTokenReq(const TGetDelegationTokenReq& other282) { + sessionHandle = other282.sessionHandle; + owner = other282.owner; + renewer = other282.renewer; +} +TGetDelegationTokenReq& TGetDelegationTokenReq::operator=(const TGetDelegationTokenReq& other283) { + sessionHandle = other283.sessionHandle; + owner = other283.owner; + renewer = other283.renewer; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenReq& obj) { + using apache::thrift::to_string; + out << "TGetDelegationTokenReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ", " << "owner=" << to_string(obj.owner); + out << ", " << "renewer=" << to_string(obj.renewer); + out << ")"; + return out; +} + + +TGetDelegationTokenResp::~TGetDelegationTokenResp() throw() { +} + + +void TGetDelegationTokenResp::__set_status(const TStatus& val) { + this->status = val; +} + +void TGetDelegationTokenResp::__set_delegationToken(const std::string& val) { + this->delegationToken = val; +__isset.delegationToken = true; +} + const char* TGetDelegationTokenResp::ascii_fingerprint = "C0E132DC412CEA08D771EAC38CEA1DA6"; const uint8_t TGetDelegationTokenResp::binary_fingerprint[16] = {0xC0,0xE1,0x32,0xDC,0x41,0x2C,0xEA,0x08,0xD7,0x71,0xEA,0xC3,0x8C,0xEA,0x1D,0xA6}; @@ -6501,6 +9073,7 @@ uint32_t TGetDelegationTokenResp::read(::apache::thrift::protocol::TProtocol* ip uint32_t TGetDelegationTokenResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TGetDelegationTokenResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6514,6 +9087,7 @@ uint32_t TGetDelegationTokenResp::write(::apache::thrift::protocol::TProtocol* o } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6524,6 +9098,39 @@ void swap(TGetDelegationTokenResp &a, TGetDelegationTokenResp &b) { swap(a.__isset, b.__isset); } +TGetDelegationTokenResp::TGetDelegationTokenResp(const TGetDelegationTokenResp& other284) { + status = other284.status; + delegationToken = other284.delegationToken; + __isset = other284.__isset; +} +TGetDelegationTokenResp& TGetDelegationTokenResp::operator=(const TGetDelegationTokenResp& other285) { + status = other285.status; + delegationToken = other285.delegationToken; + __isset = other285.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenResp& obj) { + using apache::thrift::to_string; + out << "TGetDelegationTokenResp("; + out << "status=" << to_string(obj.status); + out << ", " << "delegationToken="; (obj.__isset.delegationToken ? (out << to_string(obj.delegationToken)) : (out << "")); + out << ")"; + return out; +} + + +TCancelDelegationTokenReq::~TCancelDelegationTokenReq() throw() { +} + + +void TCancelDelegationTokenReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + +void TCancelDelegationTokenReq::__set_delegationToken(const std::string& val) { + this->delegationToken = val; +} + const char* TCancelDelegationTokenReq::ascii_fingerprint = "1A3D66269336B7EC66998BFE1BECDE75"; const uint8_t TCancelDelegationTokenReq::binary_fingerprint[16] = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75}; @@ -6583,6 +9190,7 @@ uint32_t TCancelDelegationTokenReq::read(::apache::thrift::protocol::TProtocol* uint32_t TCancelDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCancelDelegationTokenReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6595,6 +9203,7 @@ uint32_t TCancelDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6604,6 +9213,33 @@ void swap(TCancelDelegationTokenReq &a, TCancelDelegationTokenReq &b) { swap(a.delegationToken, b.delegationToken); } +TCancelDelegationTokenReq::TCancelDelegationTokenReq(const TCancelDelegationTokenReq& other286) { + sessionHandle = other286.sessionHandle; + delegationToken = other286.delegationToken; +} +TCancelDelegationTokenReq& TCancelDelegationTokenReq::operator=(const TCancelDelegationTokenReq& other287) { + sessionHandle = other287.sessionHandle; + delegationToken = other287.delegationToken; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenReq& obj) { + using apache::thrift::to_string; + out << "TCancelDelegationTokenReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ", " << "delegationToken=" << to_string(obj.delegationToken); + out << ")"; + return out; +} + + +TCancelDelegationTokenResp::~TCancelDelegationTokenResp() throw() { +} + + +void TCancelDelegationTokenResp::__set_status(const TStatus& val) { + this->status = val; +} + const char* TCancelDelegationTokenResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2"; const uint8_t TCancelDelegationTokenResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; @@ -6652,6 +9288,7 @@ uint32_t TCancelDelegationTokenResp::read(::apache::thrift::protocol::TProtocol* uint32_t TCancelDelegationTokenResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TCancelDelegationTokenResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6660,6 +9297,7 @@ uint32_t TCancelDelegationTokenResp::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6668,6 +9306,34 @@ void swap(TCancelDelegationTokenResp &a, TCancelDelegationTokenResp &b) { swap(a.status, b.status); } +TCancelDelegationTokenResp::TCancelDelegationTokenResp(const TCancelDelegationTokenResp& other288) { + status = other288.status; +} +TCancelDelegationTokenResp& TCancelDelegationTokenResp::operator=(const TCancelDelegationTokenResp& other289) { + status = other289.status; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenResp& obj) { + using apache::thrift::to_string; + out << "TCancelDelegationTokenResp("; + out << "status=" << to_string(obj.status); + out << ")"; + return out; +} + + +TRenewDelegationTokenReq::~TRenewDelegationTokenReq() throw() { +} + + +void TRenewDelegationTokenReq::__set_sessionHandle(const TSessionHandle& val) { + this->sessionHandle = val; +} + +void TRenewDelegationTokenReq::__set_delegationToken(const std::string& val) { + this->delegationToken = val; +} + const char* TRenewDelegationTokenReq::ascii_fingerprint = "1A3D66269336B7EC66998BFE1BECDE75"; const uint8_t TRenewDelegationTokenReq::binary_fingerprint[16] = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75}; @@ -6727,6 +9393,7 @@ uint32_t TRenewDelegationTokenReq::read(::apache::thrift::protocol::TProtocol* i uint32_t TRenewDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TRenewDelegationTokenReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6739,6 +9406,7 @@ uint32_t TRenewDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6748,6 +9416,33 @@ void swap(TRenewDelegationTokenReq &a, TRenewDelegationTokenReq &b) { swap(a.delegationToken, b.delegationToken); } +TRenewDelegationTokenReq::TRenewDelegationTokenReq(const TRenewDelegationTokenReq& other290) { + sessionHandle = other290.sessionHandle; + delegationToken = other290.delegationToken; +} +TRenewDelegationTokenReq& TRenewDelegationTokenReq::operator=(const TRenewDelegationTokenReq& other291) { + sessionHandle = other291.sessionHandle; + delegationToken = other291.delegationToken; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenReq& obj) { + using apache::thrift::to_string; + out << "TRenewDelegationTokenReq("; + out << "sessionHandle=" << to_string(obj.sessionHandle); + out << ", " << "delegationToken=" << to_string(obj.delegationToken); + out << ")"; + return out; +} + + +TRenewDelegationTokenResp::~TRenewDelegationTokenResp() throw() { +} + + +void TRenewDelegationTokenResp::__set_status(const TStatus& val) { + this->status = val; +} + const char* TRenewDelegationTokenResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2"; const uint8_t TRenewDelegationTokenResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; @@ -6796,6 +9491,7 @@ uint32_t TRenewDelegationTokenResp::read(::apache::thrift::protocol::TProtocol* uint32_t TRenewDelegationTokenResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("TRenewDelegationTokenResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6804,6 +9500,7 @@ uint32_t TRenewDelegationTokenResp::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -6812,4 +9509,19 @@ void swap(TRenewDelegationTokenResp &a, TRenewDelegationTokenResp &b) { swap(a.status, b.status); } +TRenewDelegationTokenResp::TRenewDelegationTokenResp(const TRenewDelegationTokenResp& other292) { + status = other292.status; +} +TRenewDelegationTokenResp& TRenewDelegationTokenResp::operator=(const TRenewDelegationTokenResp& other293) { + status = other293.status; + return *this; +} +std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenResp& obj) { + using apache::thrift::to_string; + out << "TRenewDelegationTokenResp("; + out << "status=" << to_string(obj.status); + out << ")"; + return out; +} + }}}}} // namespace diff --git a/service/src/gen/thrift/gen-cpp/TCLIService_types.h b/service/src/gen/thrift/gen-cpp/TCLIService_types.h index 7bceabd..4536b41 100644 --- a/service/src/gen/thrift/gen-cpp/TCLIService_types.h +++ b/service/src/gen/thrift/gen-cpp/TCLIService_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,11 +7,14 @@ #ifndef TCLIService_TYPES_H #define TCLIService_TYPES_H +#include + #include #include #include #include +#include namespace apache { namespace hive { namespace service { namespace cli { namespace thrift { @@ -178,10 +181,158 @@ typedef std::string TPattern; typedef std::string TPatternOrIdentifier; +class TTypeQualifierValue; + +class TTypeQualifiers; + +class TPrimitiveTypeEntry; + +class TArrayTypeEntry; + +class TMapTypeEntry; + +class TStructTypeEntry; + +class TUnionTypeEntry; + +class TUserDefinedTypeEntry; + +class TTypeEntry; + +class TTypeDesc; + +class TColumnDesc; + +class TTableSchema; + +class TBoolValue; + +class TByteValue; + +class TI16Value; + +class TI32Value; + +class TI64Value; + +class TDoubleValue; + +class TStringValue; + +class TColumnValue; + +class TRow; + +class TBoolColumn; + +class TByteColumn; + +class TI16Column; + +class TI32Column; + +class TI64Column; + +class TDoubleColumn; + +class TStringColumn; + +class TBinaryColumn; + +class TColumn; + +class TRowSet; + +class TStatus; + +class THandleIdentifier; + +class TSessionHandle; + +class TOperationHandle; + +class TOpenSessionReq; + +class TOpenSessionResp; + +class TCloseSessionReq; + +class TCloseSessionResp; + +class TGetInfoValue; + +class TGetInfoReq; + +class TGetInfoResp; + +class TExecuteStatementReq; + +class TExecuteStatementResp; + +class TGetTypeInfoReq; + +class TGetTypeInfoResp; + +class TGetCatalogsReq; + +class TGetCatalogsResp; + +class TGetSchemasReq; + +class TGetSchemasResp; + +class TGetTablesReq; + +class TGetTablesResp; + +class TGetTableTypesReq; + +class TGetTableTypesResp; + +class TGetColumnsReq; + +class TGetColumnsResp; + +class TGetFunctionsReq; + +class TGetFunctionsResp; + +class TGetOperationStatusReq; + +class TGetOperationStatusResp; + +class TCancelOperationReq; + +class TCancelOperationResp; + +class TCloseOperationReq; + +class TCloseOperationResp; + +class TGetResultSetMetadataReq; + +class TGetResultSetMetadataResp; + +class TFetchResultsReq; + +class TFetchResultsResp; + +class TGetDelegationTokenReq; + +class TGetDelegationTokenResp; + +class TCancelDelegationTokenReq; + +class TCancelDelegationTokenResp; + +class TRenewDelegationTokenReq; + +class TRenewDelegationTokenResp; + typedef struct _TTypeQualifierValue__isset { _TTypeQualifierValue__isset() : i32Value(false), stringValue(false) {} - bool i32Value; - bool stringValue; + bool i32Value :1; + bool stringValue :1; } _TTypeQualifierValue__isset; class TTypeQualifierValue { @@ -190,25 +341,20 @@ class TTypeQualifierValue { static const char* ascii_fingerprint; // = "A7801670116150C65ACA43E6F679BA79"; static const uint8_t binary_fingerprint[16]; // = {0xA7,0x80,0x16,0x70,0x11,0x61,0x50,0xC6,0x5A,0xCA,0x43,0xE6,0xF6,0x79,0xBA,0x79}; + TTypeQualifierValue(const TTypeQualifierValue&); + TTypeQualifierValue& operator=(const TTypeQualifierValue&); TTypeQualifierValue() : i32Value(0), stringValue() { } - virtual ~TTypeQualifierValue() throw() {} - + virtual ~TTypeQualifierValue() throw(); int32_t i32Value; std::string stringValue; _TTypeQualifierValue__isset __isset; - void __set_i32Value(const int32_t val) { - i32Value = val; - __isset.i32Value = true; - } + void __set_i32Value(const int32_t val); - void __set_stringValue(const std::string& val) { - stringValue = val; - __isset.stringValue = true; - } + void __set_stringValue(const std::string& val); bool operator == (const TTypeQualifierValue & rhs) const { @@ -231,6 +377,7 @@ class TTypeQualifierValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj); }; void swap(TTypeQualifierValue &a, TTypeQualifierValue &b); @@ -242,16 +389,15 @@ class TTypeQualifiers { static const char* ascii_fingerprint; // = "6C72981CFA989214285648FA8C196C47"; static const uint8_t binary_fingerprint[16]; // = {0x6C,0x72,0x98,0x1C,0xFA,0x98,0x92,0x14,0x28,0x56,0x48,0xFA,0x8C,0x19,0x6C,0x47}; + TTypeQualifiers(const TTypeQualifiers&); + TTypeQualifiers& operator=(const TTypeQualifiers&); TTypeQualifiers() { } - virtual ~TTypeQualifiers() throw() {} - + virtual ~TTypeQualifiers() throw(); std::map qualifiers; - void __set_qualifiers(const std::map & val) { - qualifiers = val; - } + void __set_qualifiers(const std::map & val); bool operator == (const TTypeQualifiers & rhs) const { @@ -268,13 +414,14 @@ class TTypeQualifiers { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj); }; void swap(TTypeQualifiers &a, TTypeQualifiers &b); typedef struct _TPrimitiveTypeEntry__isset { _TPrimitiveTypeEntry__isset() : typeQualifiers(false) {} - bool typeQualifiers; + bool typeQualifiers :1; } _TPrimitiveTypeEntry__isset; class TPrimitiveTypeEntry { @@ -283,24 +430,20 @@ class TPrimitiveTypeEntry { static const char* ascii_fingerprint; // = "755674F6A5C8EB47868686AE386FBC1C"; static const uint8_t binary_fingerprint[16]; // = {0x75,0x56,0x74,0xF6,0xA5,0xC8,0xEB,0x47,0x86,0x86,0x86,0xAE,0x38,0x6F,0xBC,0x1C}; + TPrimitiveTypeEntry(const TPrimitiveTypeEntry&); + TPrimitiveTypeEntry& operator=(const TPrimitiveTypeEntry&); TPrimitiveTypeEntry() : type((TTypeId::type)0) { } - virtual ~TPrimitiveTypeEntry() throw() {} - + virtual ~TPrimitiveTypeEntry() throw(); TTypeId::type type; TTypeQualifiers typeQualifiers; _TPrimitiveTypeEntry__isset __isset; - void __set_type(const TTypeId::type val) { - type = val; - } + void __set_type(const TTypeId::type val); - void __set_typeQualifiers(const TTypeQualifiers& val) { - typeQualifiers = val; - __isset.typeQualifiers = true; - } + void __set_typeQualifiers(const TTypeQualifiers& val); bool operator == (const TPrimitiveTypeEntry & rhs) const { @@ -321,6 +464,7 @@ class TPrimitiveTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj); }; void swap(TPrimitiveTypeEntry &a, TPrimitiveTypeEntry &b); @@ -332,16 +476,15 @@ class TArrayTypeEntry { static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4"; static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; + TArrayTypeEntry(const TArrayTypeEntry&); + TArrayTypeEntry& operator=(const TArrayTypeEntry&); TArrayTypeEntry() : objectTypePtr(0) { } - virtual ~TArrayTypeEntry() throw() {} - + virtual ~TArrayTypeEntry() throw(); TTypeEntryPtr objectTypePtr; - void __set_objectTypePtr(const TTypeEntryPtr val) { - objectTypePtr = val; - } + void __set_objectTypePtr(const TTypeEntryPtr val); bool operator == (const TArrayTypeEntry & rhs) const { @@ -358,6 +501,7 @@ class TArrayTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj); }; void swap(TArrayTypeEntry &a, TArrayTypeEntry &b); @@ -369,21 +513,18 @@ class TMapTypeEntry { static const char* ascii_fingerprint; // = "989D1F1AE8D148D5E2119FFEC4BBBEE3"; static const uint8_t binary_fingerprint[16]; // = {0x98,0x9D,0x1F,0x1A,0xE8,0xD1,0x48,0xD5,0xE2,0x11,0x9F,0xFE,0xC4,0xBB,0xBE,0xE3}; + TMapTypeEntry(const TMapTypeEntry&); + TMapTypeEntry& operator=(const TMapTypeEntry&); TMapTypeEntry() : keyTypePtr(0), valueTypePtr(0) { } - virtual ~TMapTypeEntry() throw() {} - + virtual ~TMapTypeEntry() throw(); TTypeEntryPtr keyTypePtr; TTypeEntryPtr valueTypePtr; - void __set_keyTypePtr(const TTypeEntryPtr val) { - keyTypePtr = val; - } + void __set_keyTypePtr(const TTypeEntryPtr val); - void __set_valueTypePtr(const TTypeEntryPtr val) { - valueTypePtr = val; - } + void __set_valueTypePtr(const TTypeEntryPtr val); bool operator == (const TMapTypeEntry & rhs) const { @@ -402,6 +543,7 @@ class TMapTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj); }; void swap(TMapTypeEntry &a, TMapTypeEntry &b); @@ -413,16 +555,15 @@ class TStructTypeEntry { static const char* ascii_fingerprint; // = "91F548CA159B4AB4291F5741AC161402"; static const uint8_t binary_fingerprint[16]; // = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02}; + TStructTypeEntry(const TStructTypeEntry&); + TStructTypeEntry& operator=(const TStructTypeEntry&); TStructTypeEntry() { } - virtual ~TStructTypeEntry() throw() {} - + virtual ~TStructTypeEntry() throw(); std::map nameToTypePtr; - void __set_nameToTypePtr(const std::map & val) { - nameToTypePtr = val; - } + void __set_nameToTypePtr(const std::map & val); bool operator == (const TStructTypeEntry & rhs) const { @@ -439,6 +580,7 @@ class TStructTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj); }; void swap(TStructTypeEntry &a, TStructTypeEntry &b); @@ -450,16 +592,15 @@ class TUnionTypeEntry { static const char* ascii_fingerprint; // = "91F548CA159B4AB4291F5741AC161402"; static const uint8_t binary_fingerprint[16]; // = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02}; + TUnionTypeEntry(const TUnionTypeEntry&); + TUnionTypeEntry& operator=(const TUnionTypeEntry&); TUnionTypeEntry() { } - virtual ~TUnionTypeEntry() throw() {} - + virtual ~TUnionTypeEntry() throw(); std::map nameToTypePtr; - void __set_nameToTypePtr(const std::map & val) { - nameToTypePtr = val; - } + void __set_nameToTypePtr(const std::map & val); bool operator == (const TUnionTypeEntry & rhs) const { @@ -476,6 +617,7 @@ class TUnionTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj); }; void swap(TUnionTypeEntry &a, TUnionTypeEntry &b); @@ -487,16 +629,15 @@ class TUserDefinedTypeEntry { static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + TUserDefinedTypeEntry(const TUserDefinedTypeEntry&); + TUserDefinedTypeEntry& operator=(const TUserDefinedTypeEntry&); TUserDefinedTypeEntry() : typeClassName() { } - virtual ~TUserDefinedTypeEntry() throw() {} - + virtual ~TUserDefinedTypeEntry() throw(); std::string typeClassName; - void __set_typeClassName(const std::string& val) { - typeClassName = val; - } + void __set_typeClassName(const std::string& val); bool operator == (const TUserDefinedTypeEntry & rhs) const { @@ -513,18 +654,19 @@ class TUserDefinedTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj); }; void swap(TUserDefinedTypeEntry &a, TUserDefinedTypeEntry &b); typedef struct _TTypeEntry__isset { _TTypeEntry__isset() : primitiveEntry(false), arrayEntry(false), mapEntry(false), structEntry(false), unionEntry(false), userDefinedTypeEntry(false) {} - bool primitiveEntry; - bool arrayEntry; - bool mapEntry; - bool structEntry; - bool unionEntry; - bool userDefinedTypeEntry; + bool primitiveEntry :1; + bool arrayEntry :1; + bool mapEntry :1; + bool structEntry :1; + bool unionEntry :1; + bool userDefinedTypeEntry :1; } _TTypeEntry__isset; class TTypeEntry { @@ -533,11 +675,12 @@ class TTypeEntry { static const char* ascii_fingerprint; // = "2FE56D9097E325DAA7E933738C6D325F"; static const uint8_t binary_fingerprint[16]; // = {0x2F,0xE5,0x6D,0x90,0x97,0xE3,0x25,0xDA,0xA7,0xE9,0x33,0x73,0x8C,0x6D,0x32,0x5F}; + TTypeEntry(const TTypeEntry&); + TTypeEntry& operator=(const TTypeEntry&); TTypeEntry() { } - virtual ~TTypeEntry() throw() {} - + virtual ~TTypeEntry() throw(); TPrimitiveTypeEntry primitiveEntry; TArrayTypeEntry arrayEntry; TMapTypeEntry mapEntry; @@ -547,29 +690,17 @@ class TTypeEntry { _TTypeEntry__isset __isset; - void __set_primitiveEntry(const TPrimitiveTypeEntry& val) { - primitiveEntry = val; - } + void __set_primitiveEntry(const TPrimitiveTypeEntry& val); - void __set_arrayEntry(const TArrayTypeEntry& val) { - arrayEntry = val; - } + void __set_arrayEntry(const TArrayTypeEntry& val); - void __set_mapEntry(const TMapTypeEntry& val) { - mapEntry = val; - } + void __set_mapEntry(const TMapTypeEntry& val); - void __set_structEntry(const TStructTypeEntry& val) { - structEntry = val; - } + void __set_structEntry(const TStructTypeEntry& val); - void __set_unionEntry(const TUnionTypeEntry& val) { - unionEntry = val; - } + void __set_unionEntry(const TUnionTypeEntry& val); - void __set_userDefinedTypeEntry(const TUserDefinedTypeEntry& val) { - userDefinedTypeEntry = val; - } + void __set_userDefinedTypeEntry(const TUserDefinedTypeEntry& val); bool operator == (const TTypeEntry & rhs) const { @@ -596,6 +727,7 @@ class TTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj); }; void swap(TTypeEntry &a, TTypeEntry &b); @@ -607,16 +739,15 @@ class TTypeDesc { static const char* ascii_fingerprint; // = "90B3C5A0B73419A84E85E0E48C452AA5"; static const uint8_t binary_fingerprint[16]; // = {0x90,0xB3,0xC5,0xA0,0xB7,0x34,0x19,0xA8,0x4E,0x85,0xE0,0xE4,0x8C,0x45,0x2A,0xA5}; + TTypeDesc(const TTypeDesc&); + TTypeDesc& operator=(const TTypeDesc&); TTypeDesc() { } - virtual ~TTypeDesc() throw() {} - + virtual ~TTypeDesc() throw(); std::vector types; - void __set_types(const std::vector & val) { - types = val; - } + void __set_types(const std::vector & val); bool operator == (const TTypeDesc & rhs) const { @@ -633,13 +764,14 @@ class TTypeDesc { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj); }; void swap(TTypeDesc &a, TTypeDesc &b); typedef struct _TColumnDesc__isset { _TColumnDesc__isset() : comment(false) {} - bool comment; + bool comment :1; } _TColumnDesc__isset; class TColumnDesc { @@ -648,11 +780,12 @@ class TColumnDesc { static const char* ascii_fingerprint; // = "EABED9009D5FCABFCA65612069F2A849"; static const uint8_t binary_fingerprint[16]; // = {0xEA,0xBE,0xD9,0x00,0x9D,0x5F,0xCA,0xBF,0xCA,0x65,0x61,0x20,0x69,0xF2,0xA8,0x49}; + TColumnDesc(const TColumnDesc&); + TColumnDesc& operator=(const TColumnDesc&); TColumnDesc() : columnName(), position(0), comment() { } - virtual ~TColumnDesc() throw() {} - + virtual ~TColumnDesc() throw(); std::string columnName; TTypeDesc typeDesc; int32_t position; @@ -660,22 +793,13 @@ class TColumnDesc { _TColumnDesc__isset __isset; - void __set_columnName(const std::string& val) { - columnName = val; - } + void __set_columnName(const std::string& val); - void __set_typeDesc(const TTypeDesc& val) { - typeDesc = val; - } + void __set_typeDesc(const TTypeDesc& val); - void __set_position(const int32_t val) { - position = val; - } + void __set_position(const int32_t val); - void __set_comment(const std::string& val) { - comment = val; - __isset.comment = true; - } + void __set_comment(const std::string& val); bool operator == (const TColumnDesc & rhs) const { @@ -700,6 +824,7 @@ class TColumnDesc { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj); }; void swap(TColumnDesc &a, TColumnDesc &b); @@ -711,16 +836,15 @@ class TTableSchema { static const char* ascii_fingerprint; // = "7A1811E49313E5977107FC667B20E39D"; static const uint8_t binary_fingerprint[16]; // = {0x7A,0x18,0x11,0xE4,0x93,0x13,0xE5,0x97,0x71,0x07,0xFC,0x66,0x7B,0x20,0xE3,0x9D}; + TTableSchema(const TTableSchema&); + TTableSchema& operator=(const TTableSchema&); TTableSchema() { } - virtual ~TTableSchema() throw() {} - + virtual ~TTableSchema() throw(); std::vector columns; - void __set_columns(const std::vector & val) { - columns = val; - } + void __set_columns(const std::vector & val); bool operator == (const TTableSchema & rhs) const { @@ -737,13 +861,14 @@ class TTableSchema { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TTableSchema& obj); }; void swap(TTableSchema &a, TTableSchema &b); typedef struct _TBoolValue__isset { _TBoolValue__isset() : value(false) {} - bool value; + bool value :1; } _TBoolValue__isset; class TBoolValue { @@ -752,19 +877,17 @@ class TBoolValue { static const char* ascii_fingerprint; // = "BF054652DEF86253C2BEE7D947F167DD"; static const uint8_t binary_fingerprint[16]; // = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; + TBoolValue(const TBoolValue&); + TBoolValue& operator=(const TBoolValue&); TBoolValue() : value(0) { } - virtual ~TBoolValue() throw() {} - + virtual ~TBoolValue() throw(); bool value; _TBoolValue__isset __isset; - void __set_value(const bool val) { - value = val; - __isset.value = true; - } + void __set_value(const bool val); bool operator == (const TBoolValue & rhs) const { @@ -783,13 +906,14 @@ class TBoolValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TBoolValue& obj); }; void swap(TBoolValue &a, TBoolValue &b); typedef struct _TByteValue__isset { _TByteValue__isset() : value(false) {} - bool value; + bool value :1; } _TByteValue__isset; class TByteValue { @@ -798,19 +922,17 @@ class TByteValue { static const char* ascii_fingerprint; // = "9C15298ACB5D04AEA9B52D5DDE6F9208"; static const uint8_t binary_fingerprint[16]; // = {0x9C,0x15,0x29,0x8A,0xCB,0x5D,0x04,0xAE,0xA9,0xB5,0x2D,0x5D,0xDE,0x6F,0x92,0x08}; + TByteValue(const TByteValue&); + TByteValue& operator=(const TByteValue&); TByteValue() : value(0) { } - virtual ~TByteValue() throw() {} - + virtual ~TByteValue() throw(); int8_t value; _TByteValue__isset __isset; - void __set_value(const int8_t val) { - value = val; - __isset.value = true; - } + void __set_value(const int8_t val); bool operator == (const TByteValue & rhs) const { @@ -829,13 +951,14 @@ class TByteValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TByteValue& obj); }; void swap(TByteValue &a, TByteValue &b); typedef struct _TI16Value__isset { _TI16Value__isset() : value(false) {} - bool value; + bool value :1; } _TI16Value__isset; class TI16Value { @@ -844,19 +967,17 @@ class TI16Value { static const char* ascii_fingerprint; // = "5DAC9C51C7E1106BF936FC71860BE9D5"; static const uint8_t binary_fingerprint[16]; // = {0x5D,0xAC,0x9C,0x51,0xC7,0xE1,0x10,0x6B,0xF9,0x36,0xFC,0x71,0x86,0x0B,0xE9,0xD5}; + TI16Value(const TI16Value&); + TI16Value& operator=(const TI16Value&); TI16Value() : value(0) { } - virtual ~TI16Value() throw() {} - + virtual ~TI16Value() throw(); int16_t value; _TI16Value__isset __isset; - void __set_value(const int16_t val) { - value = val; - __isset.value = true; - } + void __set_value(const int16_t val); bool operator == (const TI16Value & rhs) const { @@ -875,13 +996,14 @@ class TI16Value { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TI16Value& obj); }; void swap(TI16Value &a, TI16Value &b); typedef struct _TI32Value__isset { _TI32Value__isset() : value(false) {} - bool value; + bool value :1; } _TI32Value__isset; class TI32Value { @@ -890,19 +1012,17 @@ class TI32Value { static const char* ascii_fingerprint; // = "E7A96B151330359E84C0A3AC91BCBACD"; static const uint8_t binary_fingerprint[16]; // = {0xE7,0xA9,0x6B,0x15,0x13,0x30,0x35,0x9E,0x84,0xC0,0xA3,0xAC,0x91,0xBC,0xBA,0xCD}; + TI32Value(const TI32Value&); + TI32Value& operator=(const TI32Value&); TI32Value() : value(0) { } - virtual ~TI32Value() throw() {} - + virtual ~TI32Value() throw(); int32_t value; _TI32Value__isset __isset; - void __set_value(const int32_t val) { - value = val; - __isset.value = true; - } + void __set_value(const int32_t val); bool operator == (const TI32Value & rhs) const { @@ -921,13 +1041,14 @@ class TI32Value { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TI32Value& obj); }; void swap(TI32Value &a, TI32Value &b); typedef struct _TI64Value__isset { _TI64Value__isset() : value(false) {} - bool value; + bool value :1; } _TI64Value__isset; class TI64Value { @@ -936,19 +1057,17 @@ class TI64Value { static const char* ascii_fingerprint; // = "148F3AAAC1D9859963D5E800D187BF26"; static const uint8_t binary_fingerprint[16]; // = {0x14,0x8F,0x3A,0xAA,0xC1,0xD9,0x85,0x99,0x63,0xD5,0xE8,0x00,0xD1,0x87,0xBF,0x26}; + TI64Value(const TI64Value&); + TI64Value& operator=(const TI64Value&); TI64Value() : value(0) { } - virtual ~TI64Value() throw() {} - + virtual ~TI64Value() throw(); int64_t value; _TI64Value__isset __isset; - void __set_value(const int64_t val) { - value = val; - __isset.value = true; - } + void __set_value(const int64_t val); bool operator == (const TI64Value & rhs) const { @@ -967,13 +1086,14 @@ class TI64Value { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TI64Value& obj); }; void swap(TI64Value &a, TI64Value &b); typedef struct _TDoubleValue__isset { _TDoubleValue__isset() : value(false) {} - bool value; + bool value :1; } _TDoubleValue__isset; class TDoubleValue { @@ -982,19 +1102,17 @@ class TDoubleValue { static const char* ascii_fingerprint; // = "3586E570A474C4A8603B4FF74903B3A6"; static const uint8_t binary_fingerprint[16]; // = {0x35,0x86,0xE5,0x70,0xA4,0x74,0xC4,0xA8,0x60,0x3B,0x4F,0xF7,0x49,0x03,0xB3,0xA6}; + TDoubleValue(const TDoubleValue&); + TDoubleValue& operator=(const TDoubleValue&); TDoubleValue() : value(0) { } - virtual ~TDoubleValue() throw() {} - + virtual ~TDoubleValue() throw(); double value; _TDoubleValue__isset __isset; - void __set_value(const double val) { - value = val; - __isset.value = true; - } + void __set_value(const double val); bool operator == (const TDoubleValue & rhs) const { @@ -1013,13 +1131,14 @@ class TDoubleValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj); }; void swap(TDoubleValue &a, TDoubleValue &b); typedef struct _TStringValue__isset { _TStringValue__isset() : value(false) {} - bool value; + bool value :1; } _TStringValue__isset; class TStringValue { @@ -1028,19 +1147,17 @@ class TStringValue { static const char* ascii_fingerprint; // = "66E694018C17E5B65A59AE8F55CCA3CD"; static const uint8_t binary_fingerprint[16]; // = {0x66,0xE6,0x94,0x01,0x8C,0x17,0xE5,0xB6,0x5A,0x59,0xAE,0x8F,0x55,0xCC,0xA3,0xCD}; + TStringValue(const TStringValue&); + TStringValue& operator=(const TStringValue&); TStringValue() : value() { } - virtual ~TStringValue() throw() {} - + virtual ~TStringValue() throw(); std::string value; _TStringValue__isset __isset; - void __set_value(const std::string& val) { - value = val; - __isset.value = true; - } + void __set_value(const std::string& val); bool operator == (const TStringValue & rhs) const { @@ -1059,19 +1176,20 @@ class TStringValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TStringValue& obj); }; void swap(TStringValue &a, TStringValue &b); typedef struct _TColumnValue__isset { _TColumnValue__isset() : boolVal(false), byteVal(false), i16Val(false), i32Val(false), i64Val(false), doubleVal(false), stringVal(false) {} - bool boolVal; - bool byteVal; - bool i16Val; - bool i32Val; - bool i64Val; - bool doubleVal; - bool stringVal; + bool boolVal :1; + bool byteVal :1; + bool i16Val :1; + bool i32Val :1; + bool i64Val :1; + bool doubleVal :1; + bool stringVal :1; } _TColumnValue__isset; class TColumnValue { @@ -1080,11 +1198,12 @@ class TColumnValue { static const char* ascii_fingerprint; // = "C2DDD988447EA7999A8285AA38AAE9AD"; static const uint8_t binary_fingerprint[16]; // = {0xC2,0xDD,0xD9,0x88,0x44,0x7E,0xA7,0x99,0x9A,0x82,0x85,0xAA,0x38,0xAA,0xE9,0xAD}; + TColumnValue(const TColumnValue&); + TColumnValue& operator=(const TColumnValue&); TColumnValue() { } - virtual ~TColumnValue() throw() {} - + virtual ~TColumnValue() throw(); TBoolValue boolVal; TByteValue byteVal; TI16Value i16Val; @@ -1095,33 +1214,19 @@ class TColumnValue { _TColumnValue__isset __isset; - void __set_boolVal(const TBoolValue& val) { - boolVal = val; - } + void __set_boolVal(const TBoolValue& val); - void __set_byteVal(const TByteValue& val) { - byteVal = val; - } + void __set_byteVal(const TByteValue& val); - void __set_i16Val(const TI16Value& val) { - i16Val = val; - } + void __set_i16Val(const TI16Value& val); - void __set_i32Val(const TI32Value& val) { - i32Val = val; - } + void __set_i32Val(const TI32Value& val); - void __set_i64Val(const TI64Value& val) { - i64Val = val; - } + void __set_i64Val(const TI64Value& val); - void __set_doubleVal(const TDoubleValue& val) { - doubleVal = val; - } + void __set_doubleVal(const TDoubleValue& val); - void __set_stringVal(const TStringValue& val) { - stringVal = val; - } + void __set_stringVal(const TStringValue& val); bool operator == (const TColumnValue & rhs) const { @@ -1150,6 +1255,7 @@ class TColumnValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TColumnValue& obj); }; void swap(TColumnValue &a, TColumnValue &b); @@ -1161,16 +1267,15 @@ class TRow { static const char* ascii_fingerprint; // = "E73FD1FCA0CA58A669FC3E02FB68D534"; static const uint8_t binary_fingerprint[16]; // = {0xE7,0x3F,0xD1,0xFC,0xA0,0xCA,0x58,0xA6,0x69,0xFC,0x3E,0x02,0xFB,0x68,0xD5,0x34}; + TRow(const TRow&); + TRow& operator=(const TRow&); TRow() { } - virtual ~TRow() throw() {} - + virtual ~TRow() throw(); std::vector colVals; - void __set_colVals(const std::vector & val) { - colVals = val; - } + void __set_colVals(const std::vector & val); bool operator == (const TRow & rhs) const { @@ -1187,6 +1292,7 @@ class TRow { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TRow& obj); }; void swap(TRow &a, TRow &b); @@ -1198,21 +1304,18 @@ class TBoolColumn { static const char* ascii_fingerprint; // = "F9058324D96DB7F974D8ACDC01C54219"; static const uint8_t binary_fingerprint[16]; // = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19}; + TBoolColumn(const TBoolColumn&); + TBoolColumn& operator=(const TBoolColumn&); TBoolColumn() : nulls() { } - virtual ~TBoolColumn() throw() {} - + virtual ~TBoolColumn() throw(); std::vector values; std::string nulls; - void __set_values(const std::vector & val) { - values = val; - } + void __set_values(const std::vector & val); - void __set_nulls(const std::string& val) { - nulls = val; - } + void __set_nulls(const std::string& val); bool operator == (const TBoolColumn & rhs) const { @@ -1231,6 +1334,7 @@ class TBoolColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj); }; void swap(TBoolColumn &a, TBoolColumn &b); @@ -1242,21 +1346,18 @@ class TByteColumn { static const char* ascii_fingerprint; // = "1CB300106BAA463A70BB2A2395900F48"; static const uint8_t binary_fingerprint[16]; // = {0x1C,0xB3,0x00,0x10,0x6B,0xAA,0x46,0x3A,0x70,0xBB,0x2A,0x23,0x95,0x90,0x0F,0x48}; + TByteColumn(const TByteColumn&); + TByteColumn& operator=(const TByteColumn&); TByteColumn() : nulls() { } - virtual ~TByteColumn() throw() {} - + virtual ~TByteColumn() throw(); std::vector values; std::string nulls; - void __set_values(const std::vector & val) { - values = val; - } + void __set_values(const std::vector & val); - void __set_nulls(const std::string& val) { - nulls = val; - } + void __set_nulls(const std::string& val); bool operator == (const TByteColumn & rhs) const { @@ -1275,6 +1376,7 @@ class TByteColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TByteColumn& obj); }; void swap(TByteColumn &a, TByteColumn &b); @@ -1286,21 +1388,18 @@ class TI16Column { static const char* ascii_fingerprint; // = "6574CDB1F121C8DB47FB257A3F104BDB"; static const uint8_t binary_fingerprint[16]; // = {0x65,0x74,0xCD,0xB1,0xF1,0x21,0xC8,0xDB,0x47,0xFB,0x25,0x7A,0x3F,0x10,0x4B,0xDB}; + TI16Column(const TI16Column&); + TI16Column& operator=(const TI16Column&); TI16Column() : nulls() { } - virtual ~TI16Column() throw() {} - + virtual ~TI16Column() throw(); std::vector values; std::string nulls; - void __set_values(const std::vector & val) { - values = val; - } + void __set_values(const std::vector & val); - void __set_nulls(const std::string& val) { - nulls = val; - } + void __set_nulls(const std::string& val); bool operator == (const TI16Column & rhs) const { @@ -1319,6 +1418,7 @@ class TI16Column { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TI16Column& obj); }; void swap(TI16Column &a, TI16Column &b); @@ -1330,21 +1430,18 @@ class TI32Column { static const char* ascii_fingerprint; // = "CCCCE89C7E9DA10280F5663700677313"; static const uint8_t binary_fingerprint[16]; // = {0xCC,0xCC,0xE8,0x9C,0x7E,0x9D,0xA1,0x02,0x80,0xF5,0x66,0x37,0x00,0x67,0x73,0x13}; + TI32Column(const TI32Column&); + TI32Column& operator=(const TI32Column&); TI32Column() : nulls() { } - virtual ~TI32Column() throw() {} - + virtual ~TI32Column() throw(); std::vector values; std::string nulls; - void __set_values(const std::vector & val) { - values = val; - } + void __set_values(const std::vector & val); - void __set_nulls(const std::string& val) { - nulls = val; - } + void __set_nulls(const std::string& val); bool operator == (const TI32Column & rhs) const { @@ -1363,6 +1460,7 @@ class TI32Column { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TI32Column& obj); }; void swap(TI32Column &a, TI32Column &b); @@ -1374,21 +1472,18 @@ class TI64Column { static const char* ascii_fingerprint; // = "925353917FC0AF87976A2338011F5A31"; static const uint8_t binary_fingerprint[16]; // = {0x92,0x53,0x53,0x91,0x7F,0xC0,0xAF,0x87,0x97,0x6A,0x23,0x38,0x01,0x1F,0x5A,0x31}; + TI64Column(const TI64Column&); + TI64Column& operator=(const TI64Column&); TI64Column() : nulls() { } - virtual ~TI64Column() throw() {} - + virtual ~TI64Column() throw(); std::vector values; std::string nulls; - void __set_values(const std::vector & val) { - values = val; - } + void __set_values(const std::vector & val); - void __set_nulls(const std::string& val) { - nulls = val; - } + void __set_nulls(const std::string& val); bool operator == (const TI64Column & rhs) const { @@ -1407,6 +1502,7 @@ class TI64Column { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TI64Column& obj); }; void swap(TI64Column &a, TI64Column &b); @@ -1418,21 +1514,18 @@ class TDoubleColumn { static const char* ascii_fingerprint; // = "8FF1C050A8D7FD247AEB23CD71539C09"; static const uint8_t binary_fingerprint[16]; // = {0x8F,0xF1,0xC0,0x50,0xA8,0xD7,0xFD,0x24,0x7A,0xEB,0x23,0xCD,0x71,0x53,0x9C,0x09}; + TDoubleColumn(const TDoubleColumn&); + TDoubleColumn& operator=(const TDoubleColumn&); TDoubleColumn() : nulls() { } - virtual ~TDoubleColumn() throw() {} - + virtual ~TDoubleColumn() throw(); std::vector values; std::string nulls; - void __set_values(const std::vector & val) { - values = val; - } + void __set_values(const std::vector & val); - void __set_nulls(const std::string& val) { - nulls = val; - } + void __set_nulls(const std::string& val); bool operator == (const TDoubleColumn & rhs) const { @@ -1451,6 +1544,7 @@ class TDoubleColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj); }; void swap(TDoubleColumn &a, TDoubleColumn &b); @@ -1462,21 +1556,18 @@ class TStringColumn { static const char* ascii_fingerprint; // = "BE556BF7091B2DABBA1863D5E458B15F"; static const uint8_t binary_fingerprint[16]; // = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F}; + TStringColumn(const TStringColumn&); + TStringColumn& operator=(const TStringColumn&); TStringColumn() : nulls() { } - virtual ~TStringColumn() throw() {} - + virtual ~TStringColumn() throw(); std::vector values; std::string nulls; - void __set_values(const std::vector & val) { - values = val; - } + void __set_values(const std::vector & val); - void __set_nulls(const std::string& val) { - nulls = val; - } + void __set_nulls(const std::string& val); bool operator == (const TStringColumn & rhs) const { @@ -1495,6 +1586,7 @@ class TStringColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TStringColumn& obj); }; void swap(TStringColumn &a, TStringColumn &b); @@ -1506,21 +1598,18 @@ class TBinaryColumn { static const char* ascii_fingerprint; // = "BE556BF7091B2DABBA1863D5E458B15F"; static const uint8_t binary_fingerprint[16]; // = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F}; + TBinaryColumn(const TBinaryColumn&); + TBinaryColumn& operator=(const TBinaryColumn&); TBinaryColumn() : nulls() { } - virtual ~TBinaryColumn() throw() {} - + virtual ~TBinaryColumn() throw(); std::vector values; std::string nulls; - void __set_values(const std::vector & val) { - values = val; - } + void __set_values(const std::vector & val); - void __set_nulls(const std::string& val) { - nulls = val; - } + void __set_nulls(const std::string& val); bool operator == (const TBinaryColumn & rhs) const { @@ -1539,20 +1628,21 @@ class TBinaryColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj); }; void swap(TBinaryColumn &a, TBinaryColumn &b); typedef struct _TColumn__isset { _TColumn__isset() : boolVal(false), byteVal(false), i16Val(false), i32Val(false), i64Val(false), doubleVal(false), stringVal(false), binaryVal(false) {} - bool boolVal; - bool byteVal; - bool i16Val; - bool i32Val; - bool i64Val; - bool doubleVal; - bool stringVal; - bool binaryVal; + bool boolVal :1; + bool byteVal :1; + bool i16Val :1; + bool i32Val :1; + bool i64Val :1; + bool doubleVal :1; + bool stringVal :1; + bool binaryVal :1; } _TColumn__isset; class TColumn { @@ -1561,11 +1651,12 @@ class TColumn { static const char* ascii_fingerprint; // = "E6ADD10B4CDDE61A19E8878CC7039A17"; static const uint8_t binary_fingerprint[16]; // = {0xE6,0xAD,0xD1,0x0B,0x4C,0xDD,0xE6,0x1A,0x19,0xE8,0x87,0x8C,0xC7,0x03,0x9A,0x17}; + TColumn(const TColumn&); + TColumn& operator=(const TColumn&); TColumn() { } - virtual ~TColumn() throw() {} - + virtual ~TColumn() throw(); TBoolColumn boolVal; TByteColumn byteVal; TI16Column i16Val; @@ -1577,37 +1668,21 @@ class TColumn { _TColumn__isset __isset; - void __set_boolVal(const TBoolColumn& val) { - boolVal = val; - } + void __set_boolVal(const TBoolColumn& val); - void __set_byteVal(const TByteColumn& val) { - byteVal = val; - } + void __set_byteVal(const TByteColumn& val); - void __set_i16Val(const TI16Column& val) { - i16Val = val; - } + void __set_i16Val(const TI16Column& val); - void __set_i32Val(const TI32Column& val) { - i32Val = val; - } + void __set_i32Val(const TI32Column& val); - void __set_i64Val(const TI64Column& val) { - i64Val = val; - } + void __set_i64Val(const TI64Column& val); - void __set_doubleVal(const TDoubleColumn& val) { - doubleVal = val; - } + void __set_doubleVal(const TDoubleColumn& val); - void __set_stringVal(const TStringColumn& val) { - stringVal = val; - } + void __set_stringVal(const TStringColumn& val); - void __set_binaryVal(const TBinaryColumn& val) { - binaryVal = val; - } + void __set_binaryVal(const TBinaryColumn& val); bool operator == (const TColumn & rhs) const { @@ -1638,13 +1713,14 @@ class TColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TColumn& obj); }; void swap(TColumn &a, TColumn &b); typedef struct _TRowSet__isset { _TRowSet__isset() : columns(false) {} - bool columns; + bool columns :1; } _TRowSet__isset; class TRowSet { @@ -1653,29 +1729,23 @@ class TRowSet { static const char* ascii_fingerprint; // = "46DA30A870489C7A58105AE0080DAEBF"; static const uint8_t binary_fingerprint[16]; // = {0x46,0xDA,0x30,0xA8,0x70,0x48,0x9C,0x7A,0x58,0x10,0x5A,0xE0,0x08,0x0D,0xAE,0xBF}; + TRowSet(const TRowSet&); + TRowSet& operator=(const TRowSet&); TRowSet() : startRowOffset(0) { } - virtual ~TRowSet() throw() {} - + virtual ~TRowSet() throw(); int64_t startRowOffset; std::vector rows; std::vector columns; _TRowSet__isset __isset; - void __set_startRowOffset(const int64_t val) { - startRowOffset = val; - } + void __set_startRowOffset(const int64_t val); - void __set_rows(const std::vector & val) { - rows = val; - } + void __set_rows(const std::vector & val); - void __set_columns(const std::vector & val) { - columns = val; - __isset.columns = true; - } + void __set_columns(const std::vector & val); bool operator == (const TRowSet & rhs) const { @@ -1698,16 +1768,17 @@ class TRowSet { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TRowSet& obj); }; void swap(TRowSet &a, TRowSet &b); typedef struct _TStatus__isset { _TStatus__isset() : infoMessages(false), sqlState(false), errorCode(false), errorMessage(false) {} - bool infoMessages; - bool sqlState; - bool errorCode; - bool errorMessage; + bool infoMessages :1; + bool sqlState :1; + bool errorCode :1; + bool errorMessage :1; } _TStatus__isset; class TStatus { @@ -1716,11 +1787,12 @@ class TStatus { static const char* ascii_fingerprint; // = "D5DEF49634A59C615C1B3A6F7D0DADB5"; static const uint8_t binary_fingerprint[16]; // = {0xD5,0xDE,0xF4,0x96,0x34,0xA5,0x9C,0x61,0x5C,0x1B,0x3A,0x6F,0x7D,0x0D,0xAD,0xB5}; + TStatus(const TStatus&); + TStatus& operator=(const TStatus&); TStatus() : statusCode((TStatusCode::type)0), sqlState(), errorCode(0), errorMessage() { } - virtual ~TStatus() throw() {} - + virtual ~TStatus() throw(); TStatusCode::type statusCode; std::vector infoMessages; std::string sqlState; @@ -1729,29 +1801,15 @@ class TStatus { _TStatus__isset __isset; - void __set_statusCode(const TStatusCode::type val) { - statusCode = val; - } + void __set_statusCode(const TStatusCode::type val); - void __set_infoMessages(const std::vector & val) { - infoMessages = val; - __isset.infoMessages = true; - } + void __set_infoMessages(const std::vector & val); - void __set_sqlState(const std::string& val) { - sqlState = val; - __isset.sqlState = true; - } + void __set_sqlState(const std::string& val); - void __set_errorCode(const int32_t val) { - errorCode = val; - __isset.errorCode = true; - } + void __set_errorCode(const int32_t val); - void __set_errorMessage(const std::string& val) { - errorMessage = val; - __isset.errorMessage = true; - } + void __set_errorMessage(const std::string& val); bool operator == (const TStatus & rhs) const { @@ -1784,6 +1842,7 @@ class TStatus { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TStatus& obj); }; void swap(TStatus &a, TStatus &b); @@ -1795,21 +1854,18 @@ class THandleIdentifier { static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; + THandleIdentifier(const THandleIdentifier&); + THandleIdentifier& operator=(const THandleIdentifier&); THandleIdentifier() : guid(), secret() { } - virtual ~THandleIdentifier() throw() {} - + virtual ~THandleIdentifier() throw(); std::string guid; std::string secret; - void __set_guid(const std::string& val) { - guid = val; - } + void __set_guid(const std::string& val); - void __set_secret(const std::string& val) { - secret = val; - } + void __set_secret(const std::string& val); bool operator == (const THandleIdentifier & rhs) const { @@ -1828,6 +1884,7 @@ class THandleIdentifier { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj); }; void swap(THandleIdentifier &a, THandleIdentifier &b); @@ -1839,16 +1896,15 @@ class TSessionHandle { static const char* ascii_fingerprint; // = "A756D3DBE614FB13F70BF7F7B6EB3D73"; static const uint8_t binary_fingerprint[16]; // = {0xA7,0x56,0xD3,0xDB,0xE6,0x14,0xFB,0x13,0xF7,0x0B,0xF7,0xF7,0xB6,0xEB,0x3D,0x73}; + TSessionHandle(const TSessionHandle&); + TSessionHandle& operator=(const TSessionHandle&); TSessionHandle() { } - virtual ~TSessionHandle() throw() {} - + virtual ~TSessionHandle() throw(); THandleIdentifier sessionId; - void __set_sessionId(const THandleIdentifier& val) { - sessionId = val; - } + void __set_sessionId(const THandleIdentifier& val); bool operator == (const TSessionHandle & rhs) const { @@ -1865,13 +1921,14 @@ class TSessionHandle { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj); }; void swap(TSessionHandle &a, TSessionHandle &b); typedef struct _TOperationHandle__isset { _TOperationHandle__isset() : modifiedRowCount(false) {} - bool modifiedRowCount; + bool modifiedRowCount :1; } _TOperationHandle__isset; class TOperationHandle { @@ -1880,11 +1937,12 @@ class TOperationHandle { static const char* ascii_fingerprint; // = "29FD80F4F96804A30FCC59C23D2E5349"; static const uint8_t binary_fingerprint[16]; // = {0x29,0xFD,0x80,0xF4,0xF9,0x68,0x04,0xA3,0x0F,0xCC,0x59,0xC2,0x3D,0x2E,0x53,0x49}; + TOperationHandle(const TOperationHandle&); + TOperationHandle& operator=(const TOperationHandle&); TOperationHandle() : operationType((TOperationType::type)0), hasResultSet(0), modifiedRowCount(0) { } - virtual ~TOperationHandle() throw() {} - + virtual ~TOperationHandle() throw(); THandleIdentifier operationId; TOperationType::type operationType; bool hasResultSet; @@ -1892,22 +1950,13 @@ class TOperationHandle { _TOperationHandle__isset __isset; - void __set_operationId(const THandleIdentifier& val) { - operationId = val; - } + void __set_operationId(const THandleIdentifier& val); - void __set_operationType(const TOperationType::type val) { - operationType = val; - } + void __set_operationType(const TOperationType::type val); - void __set_hasResultSet(const bool val) { - hasResultSet = val; - } + void __set_hasResultSet(const bool val); - void __set_modifiedRowCount(const double val) { - modifiedRowCount = val; - __isset.modifiedRowCount = true; - } + void __set_modifiedRowCount(const double val); bool operator == (const TOperationHandle & rhs) const { @@ -1932,15 +1981,16 @@ class TOperationHandle { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj); }; void swap(TOperationHandle &a, TOperationHandle &b); typedef struct _TOpenSessionReq__isset { _TOpenSessionReq__isset() : username(false), password(false), configuration(false) {} - bool username; - bool password; - bool configuration; + bool username :1; + bool password :1; + bool configuration :1; } _TOpenSessionReq__isset; class TOpenSessionReq { @@ -1949,13 +1999,14 @@ class TOpenSessionReq { static const char* ascii_fingerprint; // = "C8FD0F306A16C16BDA7B57F58BFAE5B2"; static const uint8_t binary_fingerprint[16]; // = {0xC8,0xFD,0x0F,0x30,0x6A,0x16,0xC1,0x6B,0xDA,0x7B,0x57,0xF5,0x8B,0xFA,0xE5,0xB2}; + TOpenSessionReq(const TOpenSessionReq&); + TOpenSessionReq& operator=(const TOpenSessionReq&); TOpenSessionReq() : client_protocol((TProtocolVersion::type)7), username(), password() { client_protocol = (TProtocolVersion::type)7; } - virtual ~TOpenSessionReq() throw() {} - + virtual ~TOpenSessionReq() throw(); TProtocolVersion::type client_protocol; std::string username; std::string password; @@ -1963,24 +2014,13 @@ class TOpenSessionReq { _TOpenSessionReq__isset __isset; - void __set_client_protocol(const TProtocolVersion::type val) { - client_protocol = val; - } + void __set_client_protocol(const TProtocolVersion::type val); - void __set_username(const std::string& val) { - username = val; - __isset.username = true; - } + void __set_username(const std::string& val); - void __set_password(const std::string& val) { - password = val; - __isset.password = true; - } + void __set_password(const std::string& val); - void __set_configuration(const std::map & val) { - configuration = val; - __isset.configuration = true; - } + void __set_configuration(const std::map & val); bool operator == (const TOpenSessionReq & rhs) const { @@ -2009,14 +2049,15 @@ class TOpenSessionReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj); }; void swap(TOpenSessionReq &a, TOpenSessionReq &b); typedef struct _TOpenSessionResp__isset { _TOpenSessionResp__isset() : sessionHandle(false), configuration(false) {} - bool sessionHandle; - bool configuration; + bool sessionHandle :1; + bool configuration :1; } _TOpenSessionResp__isset; class TOpenSessionResp { @@ -2025,13 +2066,14 @@ class TOpenSessionResp { static const char* ascii_fingerprint; // = "CFE7D7F4E9EC671F2518ED74FEE9F163"; static const uint8_t binary_fingerprint[16]; // = {0xCF,0xE7,0xD7,0xF4,0xE9,0xEC,0x67,0x1F,0x25,0x18,0xED,0x74,0xFE,0xE9,0xF1,0x63}; + TOpenSessionResp(const TOpenSessionResp&); + TOpenSessionResp& operator=(const TOpenSessionResp&); TOpenSessionResp() : serverProtocolVersion((TProtocolVersion::type)7) { serverProtocolVersion = (TProtocolVersion::type)7; } - virtual ~TOpenSessionResp() throw() {} - + virtual ~TOpenSessionResp() throw(); TStatus status; TProtocolVersion::type serverProtocolVersion; TSessionHandle sessionHandle; @@ -2039,23 +2081,13 @@ class TOpenSessionResp { _TOpenSessionResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_serverProtocolVersion(const TProtocolVersion::type val) { - serverProtocolVersion = val; - } + void __set_serverProtocolVersion(const TProtocolVersion::type val); - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - __isset.sessionHandle = true; - } + void __set_sessionHandle(const TSessionHandle& val); - void __set_configuration(const std::map & val) { - configuration = val; - __isset.configuration = true; - } + void __set_configuration(const std::map & val); bool operator == (const TOpenSessionResp & rhs) const { @@ -2082,6 +2114,7 @@ class TOpenSessionResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj); }; void swap(TOpenSessionResp &a, TOpenSessionResp &b); @@ -2093,16 +2126,15 @@ class TCloseSessionReq { static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF"; static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; + TCloseSessionReq(const TCloseSessionReq&); + TCloseSessionReq& operator=(const TCloseSessionReq&); TCloseSessionReq() { } - virtual ~TCloseSessionReq() throw() {} - + virtual ~TCloseSessionReq() throw(); TSessionHandle sessionHandle; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); bool operator == (const TCloseSessionReq & rhs) const { @@ -2119,6 +2151,7 @@ class TCloseSessionReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj); }; void swap(TCloseSessionReq &a, TCloseSessionReq &b); @@ -2130,16 +2163,15 @@ class TCloseSessionResp { static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2"; static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; + TCloseSessionResp(const TCloseSessionResp&); + TCloseSessionResp& operator=(const TCloseSessionResp&); TCloseSessionResp() { } - virtual ~TCloseSessionResp() throw() {} - + virtual ~TCloseSessionResp() throw(); TStatus status; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); bool operator == (const TCloseSessionResp & rhs) const { @@ -2156,18 +2188,19 @@ class TCloseSessionResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj); }; void swap(TCloseSessionResp &a, TCloseSessionResp &b); typedef struct _TGetInfoValue__isset { _TGetInfoValue__isset() : stringValue(false), smallIntValue(false), integerBitmask(false), integerFlag(false), binaryValue(false), lenValue(false) {} - bool stringValue; - bool smallIntValue; - bool integerBitmask; - bool integerFlag; - bool binaryValue; - bool lenValue; + bool stringValue :1; + bool smallIntValue :1; + bool integerBitmask :1; + bool integerFlag :1; + bool binaryValue :1; + bool lenValue :1; } _TGetInfoValue__isset; class TGetInfoValue { @@ -2176,11 +2209,12 @@ class TGetInfoValue { static const char* ascii_fingerprint; // = "057FED11279FD7248CFE73EE82ED579E"; static const uint8_t binary_fingerprint[16]; // = {0x05,0x7F,0xED,0x11,0x27,0x9F,0xD7,0x24,0x8C,0xFE,0x73,0xEE,0x82,0xED,0x57,0x9E}; + TGetInfoValue(const TGetInfoValue&); + TGetInfoValue& operator=(const TGetInfoValue&); TGetInfoValue() : stringValue(), smallIntValue(0), integerBitmask(0), integerFlag(0), binaryValue(0), lenValue(0) { } - virtual ~TGetInfoValue() throw() {} - + virtual ~TGetInfoValue() throw(); std::string stringValue; int16_t smallIntValue; int32_t integerBitmask; @@ -2190,29 +2224,17 @@ class TGetInfoValue { _TGetInfoValue__isset __isset; - void __set_stringValue(const std::string& val) { - stringValue = val; - } + void __set_stringValue(const std::string& val); - void __set_smallIntValue(const int16_t val) { - smallIntValue = val; - } + void __set_smallIntValue(const int16_t val); - void __set_integerBitmask(const int32_t val) { - integerBitmask = val; - } + void __set_integerBitmask(const int32_t val); - void __set_integerFlag(const int32_t val) { - integerFlag = val; - } + void __set_integerFlag(const int32_t val); - void __set_binaryValue(const int32_t val) { - binaryValue = val; - } + void __set_binaryValue(const int32_t val); - void __set_lenValue(const int64_t val) { - lenValue = val; - } + void __set_lenValue(const int64_t val); bool operator == (const TGetInfoValue & rhs) const { @@ -2239,6 +2261,7 @@ class TGetInfoValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj); }; void swap(TGetInfoValue &a, TGetInfoValue &b); @@ -2250,21 +2273,18 @@ class TGetInfoReq { static const char* ascii_fingerprint; // = "95675B1A0BADE5F7EDE323809DB679B2"; static const uint8_t binary_fingerprint[16]; // = {0x95,0x67,0x5B,0x1A,0x0B,0xAD,0xE5,0xF7,0xED,0xE3,0x23,0x80,0x9D,0xB6,0x79,0xB2}; + TGetInfoReq(const TGetInfoReq&); + TGetInfoReq& operator=(const TGetInfoReq&); TGetInfoReq() : infoType((TGetInfoType::type)0) { } - virtual ~TGetInfoReq() throw() {} - + virtual ~TGetInfoReq() throw(); TSessionHandle sessionHandle; TGetInfoType::type infoType; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); - void __set_infoType(const TGetInfoType::type val) { - infoType = val; - } + void __set_infoType(const TGetInfoType::type val); bool operator == (const TGetInfoReq & rhs) const { @@ -2283,6 +2303,7 @@ class TGetInfoReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj); }; void swap(TGetInfoReq &a, TGetInfoReq &b); @@ -2294,21 +2315,18 @@ class TGetInfoResp { static const char* ascii_fingerprint; // = "72AFA10A82728B51FDE91092012868DE"; static const uint8_t binary_fingerprint[16]; // = {0x72,0xAF,0xA1,0x0A,0x82,0x72,0x8B,0x51,0xFD,0xE9,0x10,0x92,0x01,0x28,0x68,0xDE}; + TGetInfoResp(const TGetInfoResp&); + TGetInfoResp& operator=(const TGetInfoResp&); TGetInfoResp() { } - virtual ~TGetInfoResp() throw() {} - + virtual ~TGetInfoResp() throw(); TStatus status; TGetInfoValue infoValue; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_infoValue(const TGetInfoValue& val) { - infoValue = val; - } + void __set_infoValue(const TGetInfoValue& val); bool operator == (const TGetInfoResp & rhs) const { @@ -2327,14 +2345,15 @@ class TGetInfoResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj); }; void swap(TGetInfoResp &a, TGetInfoResp &b); typedef struct _TExecuteStatementReq__isset { _TExecuteStatementReq__isset() : confOverlay(false), runAsync(true) {} - bool confOverlay; - bool runAsync; + bool confOverlay :1; + bool runAsync :1; } _TExecuteStatementReq__isset; class TExecuteStatementReq { @@ -2343,11 +2362,12 @@ class TExecuteStatementReq { static const char* ascii_fingerprint; // = "FED75DB77E66D76EC1939A51FB0D96FA"; static const uint8_t binary_fingerprint[16]; // = {0xFE,0xD7,0x5D,0xB7,0x7E,0x66,0xD7,0x6E,0xC1,0x93,0x9A,0x51,0xFB,0x0D,0x96,0xFA}; + TExecuteStatementReq(const TExecuteStatementReq&); + TExecuteStatementReq& operator=(const TExecuteStatementReq&); TExecuteStatementReq() : statement(), runAsync(false) { } - virtual ~TExecuteStatementReq() throw() {} - + virtual ~TExecuteStatementReq() throw(); TSessionHandle sessionHandle; std::string statement; std::map confOverlay; @@ -2355,23 +2375,13 @@ class TExecuteStatementReq { _TExecuteStatementReq__isset __isset; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); - void __set_statement(const std::string& val) { - statement = val; - } + void __set_statement(const std::string& val); - void __set_confOverlay(const std::map & val) { - confOverlay = val; - __isset.confOverlay = true; - } + void __set_confOverlay(const std::map & val); - void __set_runAsync(const bool val) { - runAsync = val; - __isset.runAsync = true; - } + void __set_runAsync(const bool val); bool operator == (const TExecuteStatementReq & rhs) const { @@ -2398,13 +2408,14 @@ class TExecuteStatementReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj); }; void swap(TExecuteStatementReq &a, TExecuteStatementReq &b); typedef struct _TExecuteStatementResp__isset { _TExecuteStatementResp__isset() : operationHandle(false) {} - bool operationHandle; + bool operationHandle :1; } _TExecuteStatementResp__isset; class TExecuteStatementResp { @@ -2413,24 +2424,20 @@ class TExecuteStatementResp { static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; + TExecuteStatementResp(const TExecuteStatementResp&); + TExecuteStatementResp& operator=(const TExecuteStatementResp&); TExecuteStatementResp() { } - virtual ~TExecuteStatementResp() throw() {} - + virtual ~TExecuteStatementResp() throw(); TStatus status; TOperationHandle operationHandle; _TExecuteStatementResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - __isset.operationHandle = true; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TExecuteStatementResp & rhs) const { @@ -2451,6 +2458,7 @@ class TExecuteStatementResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj); }; void swap(TExecuteStatementResp &a, TExecuteStatementResp &b); @@ -2462,16 +2470,15 @@ class TGetTypeInfoReq { static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF"; static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; + TGetTypeInfoReq(const TGetTypeInfoReq&); + TGetTypeInfoReq& operator=(const TGetTypeInfoReq&); TGetTypeInfoReq() { } - virtual ~TGetTypeInfoReq() throw() {} - + virtual ~TGetTypeInfoReq() throw(); TSessionHandle sessionHandle; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); bool operator == (const TGetTypeInfoReq & rhs) const { @@ -2488,13 +2495,14 @@ class TGetTypeInfoReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj); }; void swap(TGetTypeInfoReq &a, TGetTypeInfoReq &b); typedef struct _TGetTypeInfoResp__isset { _TGetTypeInfoResp__isset() : operationHandle(false) {} - bool operationHandle; + bool operationHandle :1; } _TGetTypeInfoResp__isset; class TGetTypeInfoResp { @@ -2503,24 +2511,20 @@ class TGetTypeInfoResp { static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; + TGetTypeInfoResp(const TGetTypeInfoResp&); + TGetTypeInfoResp& operator=(const TGetTypeInfoResp&); TGetTypeInfoResp() { } - virtual ~TGetTypeInfoResp() throw() {} - + virtual ~TGetTypeInfoResp() throw(); TStatus status; TOperationHandle operationHandle; _TGetTypeInfoResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - __isset.operationHandle = true; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TGetTypeInfoResp & rhs) const { @@ -2541,6 +2545,7 @@ class TGetTypeInfoResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetTypeInfoResp& obj); }; void swap(TGetTypeInfoResp &a, TGetTypeInfoResp &b); @@ -2552,16 +2557,15 @@ class TGetCatalogsReq { static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF"; static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; + TGetCatalogsReq(const TGetCatalogsReq&); + TGetCatalogsReq& operator=(const TGetCatalogsReq&); TGetCatalogsReq() { } - virtual ~TGetCatalogsReq() throw() {} - + virtual ~TGetCatalogsReq() throw(); TSessionHandle sessionHandle; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); bool operator == (const TGetCatalogsReq & rhs) const { @@ -2578,13 +2582,14 @@ class TGetCatalogsReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetCatalogsReq& obj); }; void swap(TGetCatalogsReq &a, TGetCatalogsReq &b); typedef struct _TGetCatalogsResp__isset { _TGetCatalogsResp__isset() : operationHandle(false) {} - bool operationHandle; + bool operationHandle :1; } _TGetCatalogsResp__isset; class TGetCatalogsResp { @@ -2593,24 +2598,20 @@ class TGetCatalogsResp { static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; + TGetCatalogsResp(const TGetCatalogsResp&); + TGetCatalogsResp& operator=(const TGetCatalogsResp&); TGetCatalogsResp() { } - virtual ~TGetCatalogsResp() throw() {} - + virtual ~TGetCatalogsResp() throw(); TStatus status; TOperationHandle operationHandle; _TGetCatalogsResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - __isset.operationHandle = true; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TGetCatalogsResp & rhs) const { @@ -2631,14 +2632,15 @@ class TGetCatalogsResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetCatalogsResp& obj); }; void swap(TGetCatalogsResp &a, TGetCatalogsResp &b); typedef struct _TGetSchemasReq__isset { _TGetSchemasReq__isset() : catalogName(false), schemaName(false) {} - bool catalogName; - bool schemaName; + bool catalogName :1; + bool schemaName :1; } _TGetSchemasReq__isset; class TGetSchemasReq { @@ -2647,30 +2649,23 @@ class TGetSchemasReq { static const char* ascii_fingerprint; // = "28A9D12DE8393DD3E73FC1E5AE6E113B"; static const uint8_t binary_fingerprint[16]; // = {0x28,0xA9,0xD1,0x2D,0xE8,0x39,0x3D,0xD3,0xE7,0x3F,0xC1,0xE5,0xAE,0x6E,0x11,0x3B}; + TGetSchemasReq(const TGetSchemasReq&); + TGetSchemasReq& operator=(const TGetSchemasReq&); TGetSchemasReq() : catalogName(), schemaName() { } - virtual ~TGetSchemasReq() throw() {} - + virtual ~TGetSchemasReq() throw(); TSessionHandle sessionHandle; TIdentifier catalogName; TPatternOrIdentifier schemaName; _TGetSchemasReq__isset __isset; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); - void __set_catalogName(const TIdentifier& val) { - catalogName = val; - __isset.catalogName = true; - } + void __set_catalogName(const TIdentifier& val); - void __set_schemaName(const TPatternOrIdentifier& val) { - schemaName = val; - __isset.schemaName = true; - } + void __set_schemaName(const TPatternOrIdentifier& val); bool operator == (const TGetSchemasReq & rhs) const { @@ -2695,13 +2690,14 @@ class TGetSchemasReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetSchemasReq& obj); }; void swap(TGetSchemasReq &a, TGetSchemasReq &b); typedef struct _TGetSchemasResp__isset { _TGetSchemasResp__isset() : operationHandle(false) {} - bool operationHandle; + bool operationHandle :1; } _TGetSchemasResp__isset; class TGetSchemasResp { @@ -2710,24 +2706,20 @@ class TGetSchemasResp { static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; + TGetSchemasResp(const TGetSchemasResp&); + TGetSchemasResp& operator=(const TGetSchemasResp&); TGetSchemasResp() { } - virtual ~TGetSchemasResp() throw() {} - + virtual ~TGetSchemasResp() throw(); TStatus status; TOperationHandle operationHandle; _TGetSchemasResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - __isset.operationHandle = true; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TGetSchemasResp & rhs) const { @@ -2748,16 +2740,17 @@ class TGetSchemasResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetSchemasResp& obj); }; void swap(TGetSchemasResp &a, TGetSchemasResp &b); typedef struct _TGetTablesReq__isset { _TGetTablesReq__isset() : catalogName(false), schemaName(false), tableName(false), tableTypes(false) {} - bool catalogName; - bool schemaName; - bool tableName; - bool tableTypes; + bool catalogName :1; + bool schemaName :1; + bool tableName :1; + bool tableTypes :1; } _TGetTablesReq__isset; class TGetTablesReq { @@ -2766,11 +2759,12 @@ class TGetTablesReq { static const char* ascii_fingerprint; // = "C80DFEE06850052F5A445BE81ED763DB"; static const uint8_t binary_fingerprint[16]; // = {0xC8,0x0D,0xFE,0xE0,0x68,0x50,0x05,0x2F,0x5A,0x44,0x5B,0xE8,0x1E,0xD7,0x63,0xDB}; + TGetTablesReq(const TGetTablesReq&); + TGetTablesReq& operator=(const TGetTablesReq&); TGetTablesReq() : catalogName(), schemaName(), tableName() { } - virtual ~TGetTablesReq() throw() {} - + virtual ~TGetTablesReq() throw(); TSessionHandle sessionHandle; TPatternOrIdentifier catalogName; TPatternOrIdentifier schemaName; @@ -2779,29 +2773,15 @@ class TGetTablesReq { _TGetTablesReq__isset __isset; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); - void __set_catalogName(const TPatternOrIdentifier& val) { - catalogName = val; - __isset.catalogName = true; - } + void __set_catalogName(const TPatternOrIdentifier& val); - void __set_schemaName(const TPatternOrIdentifier& val) { - schemaName = val; - __isset.schemaName = true; - } + void __set_schemaName(const TPatternOrIdentifier& val); - void __set_tableName(const TPatternOrIdentifier& val) { - tableName = val; - __isset.tableName = true; - } + void __set_tableName(const TPatternOrIdentifier& val); - void __set_tableTypes(const std::vector & val) { - tableTypes = val; - __isset.tableTypes = true; - } + void __set_tableTypes(const std::vector & val); bool operator == (const TGetTablesReq & rhs) const { @@ -2834,13 +2814,14 @@ class TGetTablesReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetTablesReq& obj); }; void swap(TGetTablesReq &a, TGetTablesReq &b); typedef struct _TGetTablesResp__isset { _TGetTablesResp__isset() : operationHandle(false) {} - bool operationHandle; + bool operationHandle :1; } _TGetTablesResp__isset; class TGetTablesResp { @@ -2849,24 +2830,20 @@ class TGetTablesResp { static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; + TGetTablesResp(const TGetTablesResp&); + TGetTablesResp& operator=(const TGetTablesResp&); TGetTablesResp() { } - virtual ~TGetTablesResp() throw() {} - + virtual ~TGetTablesResp() throw(); TStatus status; TOperationHandle operationHandle; _TGetTablesResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - __isset.operationHandle = true; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TGetTablesResp & rhs) const { @@ -2887,6 +2864,7 @@ class TGetTablesResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetTablesResp& obj); }; void swap(TGetTablesResp &a, TGetTablesResp &b); @@ -2898,16 +2876,15 @@ class TGetTableTypesReq { static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF"; static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; + TGetTableTypesReq(const TGetTableTypesReq&); + TGetTableTypesReq& operator=(const TGetTableTypesReq&); TGetTableTypesReq() { } - virtual ~TGetTableTypesReq() throw() {} - + virtual ~TGetTableTypesReq() throw(); TSessionHandle sessionHandle; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); bool operator == (const TGetTableTypesReq & rhs) const { @@ -2924,13 +2901,14 @@ class TGetTableTypesReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetTableTypesReq& obj); }; void swap(TGetTableTypesReq &a, TGetTableTypesReq &b); typedef struct _TGetTableTypesResp__isset { _TGetTableTypesResp__isset() : operationHandle(false) {} - bool operationHandle; + bool operationHandle :1; } _TGetTableTypesResp__isset; class TGetTableTypesResp { @@ -2939,24 +2917,20 @@ class TGetTableTypesResp { static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; + TGetTableTypesResp(const TGetTableTypesResp&); + TGetTableTypesResp& operator=(const TGetTableTypesResp&); TGetTableTypesResp() { } - virtual ~TGetTableTypesResp() throw() {} - + virtual ~TGetTableTypesResp() throw(); TStatus status; TOperationHandle operationHandle; _TGetTableTypesResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - __isset.operationHandle = true; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TGetTableTypesResp & rhs) const { @@ -2977,16 +2951,17 @@ class TGetTableTypesResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetTableTypesResp& obj); }; void swap(TGetTableTypesResp &a, TGetTableTypesResp &b); typedef struct _TGetColumnsReq__isset { _TGetColumnsReq__isset() : catalogName(false), schemaName(false), tableName(false), columnName(false) {} - bool catalogName; - bool schemaName; - bool tableName; - bool columnName; + bool catalogName :1; + bool schemaName :1; + bool tableName :1; + bool columnName :1; } _TGetColumnsReq__isset; class TGetColumnsReq { @@ -2995,11 +2970,12 @@ class TGetColumnsReq { static const char* ascii_fingerprint; // = "72D0F28ED33A49B7306DF63EEE956C28"; static const uint8_t binary_fingerprint[16]; // = {0x72,0xD0,0xF2,0x8E,0xD3,0x3A,0x49,0xB7,0x30,0x6D,0xF6,0x3E,0xEE,0x95,0x6C,0x28}; + TGetColumnsReq(const TGetColumnsReq&); + TGetColumnsReq& operator=(const TGetColumnsReq&); TGetColumnsReq() : catalogName(), schemaName(), tableName(), columnName() { } - virtual ~TGetColumnsReq() throw() {} - + virtual ~TGetColumnsReq() throw(); TSessionHandle sessionHandle; TIdentifier catalogName; TPatternOrIdentifier schemaName; @@ -3008,29 +2984,15 @@ class TGetColumnsReq { _TGetColumnsReq__isset __isset; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); - void __set_catalogName(const TIdentifier& val) { - catalogName = val; - __isset.catalogName = true; - } + void __set_catalogName(const TIdentifier& val); - void __set_schemaName(const TPatternOrIdentifier& val) { - schemaName = val; - __isset.schemaName = true; - } + void __set_schemaName(const TPatternOrIdentifier& val); - void __set_tableName(const TPatternOrIdentifier& val) { - tableName = val; - __isset.tableName = true; - } + void __set_tableName(const TPatternOrIdentifier& val); - void __set_columnName(const TPatternOrIdentifier& val) { - columnName = val; - __isset.columnName = true; - } + void __set_columnName(const TPatternOrIdentifier& val); bool operator == (const TGetColumnsReq & rhs) const { @@ -3063,13 +3025,14 @@ class TGetColumnsReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetColumnsReq& obj); }; void swap(TGetColumnsReq &a, TGetColumnsReq &b); typedef struct _TGetColumnsResp__isset { _TGetColumnsResp__isset() : operationHandle(false) {} - bool operationHandle; + bool operationHandle :1; } _TGetColumnsResp__isset; class TGetColumnsResp { @@ -3078,24 +3041,20 @@ class TGetColumnsResp { static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; + TGetColumnsResp(const TGetColumnsResp&); + TGetColumnsResp& operator=(const TGetColumnsResp&); TGetColumnsResp() { } - virtual ~TGetColumnsResp() throw() {} - + virtual ~TGetColumnsResp() throw(); TStatus status; TOperationHandle operationHandle; _TGetColumnsResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - __isset.operationHandle = true; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TGetColumnsResp & rhs) const { @@ -3116,14 +3075,15 @@ class TGetColumnsResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetColumnsResp& obj); }; void swap(TGetColumnsResp &a, TGetColumnsResp &b); typedef struct _TGetFunctionsReq__isset { _TGetFunctionsReq__isset() : catalogName(false), schemaName(false) {} - bool catalogName; - bool schemaName; + bool catalogName :1; + bool schemaName :1; } _TGetFunctionsReq__isset; class TGetFunctionsReq { @@ -3132,11 +3092,12 @@ class TGetFunctionsReq { static const char* ascii_fingerprint; // = "0887E0916ADE4521BF6017B534493138"; static const uint8_t binary_fingerprint[16]; // = {0x08,0x87,0xE0,0x91,0x6A,0xDE,0x45,0x21,0xBF,0x60,0x17,0xB5,0x34,0x49,0x31,0x38}; + TGetFunctionsReq(const TGetFunctionsReq&); + TGetFunctionsReq& operator=(const TGetFunctionsReq&); TGetFunctionsReq() : catalogName(), schemaName(), functionName() { } - virtual ~TGetFunctionsReq() throw() {} - + virtual ~TGetFunctionsReq() throw(); TSessionHandle sessionHandle; TIdentifier catalogName; TPatternOrIdentifier schemaName; @@ -3144,23 +3105,13 @@ class TGetFunctionsReq { _TGetFunctionsReq__isset __isset; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); - void __set_catalogName(const TIdentifier& val) { - catalogName = val; - __isset.catalogName = true; - } + void __set_catalogName(const TIdentifier& val); - void __set_schemaName(const TPatternOrIdentifier& val) { - schemaName = val; - __isset.schemaName = true; - } + void __set_schemaName(const TPatternOrIdentifier& val); - void __set_functionName(const TPatternOrIdentifier& val) { - functionName = val; - } + void __set_functionName(const TPatternOrIdentifier& val); bool operator == (const TGetFunctionsReq & rhs) const { @@ -3187,13 +3138,14 @@ class TGetFunctionsReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetFunctionsReq& obj); }; void swap(TGetFunctionsReq &a, TGetFunctionsReq &b); typedef struct _TGetFunctionsResp__isset { _TGetFunctionsResp__isset() : operationHandle(false) {} - bool operationHandle; + bool operationHandle :1; } _TGetFunctionsResp__isset; class TGetFunctionsResp { @@ -3202,24 +3154,20 @@ class TGetFunctionsResp { static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; + TGetFunctionsResp(const TGetFunctionsResp&); + TGetFunctionsResp& operator=(const TGetFunctionsResp&); TGetFunctionsResp() { } - virtual ~TGetFunctionsResp() throw() {} - + virtual ~TGetFunctionsResp() throw(); TStatus status; TOperationHandle operationHandle; _TGetFunctionsResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - __isset.operationHandle = true; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TGetFunctionsResp & rhs) const { @@ -3240,6 +3188,7 @@ class TGetFunctionsResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetFunctionsResp& obj); }; void swap(TGetFunctionsResp &a, TGetFunctionsResp &b); @@ -3251,16 +3200,15 @@ class TGetOperationStatusReq { static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A"; static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; + TGetOperationStatusReq(const TGetOperationStatusReq&); + TGetOperationStatusReq& operator=(const TGetOperationStatusReq&); TGetOperationStatusReq() { } - virtual ~TGetOperationStatusReq() throw() {} - + virtual ~TGetOperationStatusReq() throw(); TOperationHandle operationHandle; - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TGetOperationStatusReq & rhs) const { @@ -3277,16 +3225,17 @@ class TGetOperationStatusReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetOperationStatusReq& obj); }; void swap(TGetOperationStatusReq &a, TGetOperationStatusReq &b); typedef struct _TGetOperationStatusResp__isset { _TGetOperationStatusResp__isset() : operationState(false), sqlState(false), errorCode(false), errorMessage(false) {} - bool operationState; - bool sqlState; - bool errorCode; - bool errorMessage; + bool operationState :1; + bool sqlState :1; + bool errorCode :1; + bool errorMessage :1; } _TGetOperationStatusResp__isset; class TGetOperationStatusResp { @@ -3295,11 +3244,12 @@ class TGetOperationStatusResp { static const char* ascii_fingerprint; // = "BD124DB87A5A2E7D11945BD1B17F013D"; static const uint8_t binary_fingerprint[16]; // = {0xBD,0x12,0x4D,0xB8,0x7A,0x5A,0x2E,0x7D,0x11,0x94,0x5B,0xD1,0xB1,0x7F,0x01,0x3D}; + TGetOperationStatusResp(const TGetOperationStatusResp&); + TGetOperationStatusResp& operator=(const TGetOperationStatusResp&); TGetOperationStatusResp() : operationState((TOperationState::type)0), sqlState(), errorCode(0), errorMessage() { } - virtual ~TGetOperationStatusResp() throw() {} - + virtual ~TGetOperationStatusResp() throw(); TStatus status; TOperationState::type operationState; std::string sqlState; @@ -3308,29 +3258,15 @@ class TGetOperationStatusResp { _TGetOperationStatusResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_operationState(const TOperationState::type val) { - operationState = val; - __isset.operationState = true; - } + void __set_operationState(const TOperationState::type val); - void __set_sqlState(const std::string& val) { - sqlState = val; - __isset.sqlState = true; - } + void __set_sqlState(const std::string& val); - void __set_errorCode(const int32_t val) { - errorCode = val; - __isset.errorCode = true; - } + void __set_errorCode(const int32_t val); - void __set_errorMessage(const std::string& val) { - errorMessage = val; - __isset.errorMessage = true; - } + void __set_errorMessage(const std::string& val); bool operator == (const TGetOperationStatusResp & rhs) const { @@ -3363,6 +3299,7 @@ class TGetOperationStatusResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetOperationStatusResp& obj); }; void swap(TGetOperationStatusResp &a, TGetOperationStatusResp &b); @@ -3374,16 +3311,15 @@ class TCancelOperationReq { static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A"; static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; + TCancelOperationReq(const TCancelOperationReq&); + TCancelOperationReq& operator=(const TCancelOperationReq&); TCancelOperationReq() { } - virtual ~TCancelOperationReq() throw() {} - + virtual ~TCancelOperationReq() throw(); TOperationHandle operationHandle; - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TCancelOperationReq & rhs) const { @@ -3400,6 +3336,7 @@ class TCancelOperationReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCancelOperationReq& obj); }; void swap(TCancelOperationReq &a, TCancelOperationReq &b); @@ -3411,16 +3348,15 @@ class TCancelOperationResp { static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2"; static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; + TCancelOperationResp(const TCancelOperationResp&); + TCancelOperationResp& operator=(const TCancelOperationResp&); TCancelOperationResp() { } - virtual ~TCancelOperationResp() throw() {} - + virtual ~TCancelOperationResp() throw(); TStatus status; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); bool operator == (const TCancelOperationResp & rhs) const { @@ -3437,6 +3373,7 @@ class TCancelOperationResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCancelOperationResp& obj); }; void swap(TCancelOperationResp &a, TCancelOperationResp &b); @@ -3448,16 +3385,15 @@ class TCloseOperationReq { static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A"; static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; + TCloseOperationReq(const TCloseOperationReq&); + TCloseOperationReq& operator=(const TCloseOperationReq&); TCloseOperationReq() { } - virtual ~TCloseOperationReq() throw() {} - + virtual ~TCloseOperationReq() throw(); TOperationHandle operationHandle; - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TCloseOperationReq & rhs) const { @@ -3474,6 +3410,7 @@ class TCloseOperationReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCloseOperationReq& obj); }; void swap(TCloseOperationReq &a, TCloseOperationReq &b); @@ -3485,16 +3422,15 @@ class TCloseOperationResp { static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2"; static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; + TCloseOperationResp(const TCloseOperationResp&); + TCloseOperationResp& operator=(const TCloseOperationResp&); TCloseOperationResp() { } - virtual ~TCloseOperationResp() throw() {} - + virtual ~TCloseOperationResp() throw(); TStatus status; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); bool operator == (const TCloseOperationResp & rhs) const { @@ -3511,6 +3447,7 @@ class TCloseOperationResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCloseOperationResp& obj); }; void swap(TCloseOperationResp &a, TCloseOperationResp &b); @@ -3522,16 +3459,15 @@ class TGetResultSetMetadataReq { static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A"; static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; + TGetResultSetMetadataReq(const TGetResultSetMetadataReq&); + TGetResultSetMetadataReq& operator=(const TGetResultSetMetadataReq&); TGetResultSetMetadataReq() { } - virtual ~TGetResultSetMetadataReq() throw() {} - + virtual ~TGetResultSetMetadataReq() throw(); TOperationHandle operationHandle; - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - } + void __set_operationHandle(const TOperationHandle& val); bool operator == (const TGetResultSetMetadataReq & rhs) const { @@ -3548,13 +3484,14 @@ class TGetResultSetMetadataReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataReq& obj); }; void swap(TGetResultSetMetadataReq &a, TGetResultSetMetadataReq &b); typedef struct _TGetResultSetMetadataResp__isset { _TGetResultSetMetadataResp__isset() : schema(false) {} - bool schema; + bool schema :1; } _TGetResultSetMetadataResp__isset; class TGetResultSetMetadataResp { @@ -3563,24 +3500,20 @@ class TGetResultSetMetadataResp { static const char* ascii_fingerprint; // = "42CD49B7F49CC1B6D4E6F5FA2D7BE812"; static const uint8_t binary_fingerprint[16]; // = {0x42,0xCD,0x49,0xB7,0xF4,0x9C,0xC1,0xB6,0xD4,0xE6,0xF5,0xFA,0x2D,0x7B,0xE8,0x12}; + TGetResultSetMetadataResp(const TGetResultSetMetadataResp&); + TGetResultSetMetadataResp& operator=(const TGetResultSetMetadataResp&); TGetResultSetMetadataResp() { } - virtual ~TGetResultSetMetadataResp() throw() {} - + virtual ~TGetResultSetMetadataResp() throw(); TStatus status; TTableSchema schema; _TGetResultSetMetadataResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_schema(const TTableSchema& val) { - schema = val; - __isset.schema = true; - } + void __set_schema(const TTableSchema& val); bool operator == (const TGetResultSetMetadataResp & rhs) const { @@ -3601,13 +3534,14 @@ class TGetResultSetMetadataResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataResp& obj); }; void swap(TGetResultSetMetadataResp &a, TGetResultSetMetadataResp &b); typedef struct _TFetchResultsReq__isset { _TFetchResultsReq__isset() : fetchType(true) {} - bool fetchType; + bool fetchType :1; } _TFetchResultsReq__isset; class TFetchResultsReq { @@ -3616,13 +3550,14 @@ class TFetchResultsReq { static const char* ascii_fingerprint; // = "B4CB1E4F8F8F4D50183DD372AD11753A"; static const uint8_t binary_fingerprint[16]; // = {0xB4,0xCB,0x1E,0x4F,0x8F,0x8F,0x4D,0x50,0x18,0x3D,0xD3,0x72,0xAD,0x11,0x75,0x3A}; + TFetchResultsReq(const TFetchResultsReq&); + TFetchResultsReq& operator=(const TFetchResultsReq&); TFetchResultsReq() : orientation((TFetchOrientation::type)0), maxRows(0), fetchType(0) { orientation = (TFetchOrientation::type)0; } - virtual ~TFetchResultsReq() throw() {} - + virtual ~TFetchResultsReq() throw(); TOperationHandle operationHandle; TFetchOrientation::type orientation; int64_t maxRows; @@ -3630,22 +3565,13 @@ class TFetchResultsReq { _TFetchResultsReq__isset __isset; - void __set_operationHandle(const TOperationHandle& val) { - operationHandle = val; - } + void __set_operationHandle(const TOperationHandle& val); - void __set_orientation(const TFetchOrientation::type val) { - orientation = val; - } + void __set_orientation(const TFetchOrientation::type val); - void __set_maxRows(const int64_t val) { - maxRows = val; - } + void __set_maxRows(const int64_t val); - void __set_fetchType(const int16_t val) { - fetchType = val; - __isset.fetchType = true; - } + void __set_fetchType(const int16_t val); bool operator == (const TFetchResultsReq & rhs) const { @@ -3670,14 +3596,15 @@ class TFetchResultsReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TFetchResultsReq& obj); }; void swap(TFetchResultsReq &a, TFetchResultsReq &b); typedef struct _TFetchResultsResp__isset { _TFetchResultsResp__isset() : hasMoreRows(false), results(false) {} - bool hasMoreRows; - bool results; + bool hasMoreRows :1; + bool results :1; } _TFetchResultsResp__isset; class TFetchResultsResp { @@ -3686,30 +3613,23 @@ class TFetchResultsResp { static const char* ascii_fingerprint; // = "FC43BC2D6F3B76D4DB0F34226A745C8E"; static const uint8_t binary_fingerprint[16]; // = {0xFC,0x43,0xBC,0x2D,0x6F,0x3B,0x76,0xD4,0xDB,0x0F,0x34,0x22,0x6A,0x74,0x5C,0x8E}; + TFetchResultsResp(const TFetchResultsResp&); + TFetchResultsResp& operator=(const TFetchResultsResp&); TFetchResultsResp() : hasMoreRows(0) { } - virtual ~TFetchResultsResp() throw() {} - + virtual ~TFetchResultsResp() throw(); TStatus status; bool hasMoreRows; TRowSet results; _TFetchResultsResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_hasMoreRows(const bool val) { - hasMoreRows = val; - __isset.hasMoreRows = true; - } + void __set_hasMoreRows(const bool val); - void __set_results(const TRowSet& val) { - results = val; - __isset.results = true; - } + void __set_results(const TRowSet& val); bool operator == (const TFetchResultsResp & rhs) const { @@ -3734,6 +3654,7 @@ class TFetchResultsResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TFetchResultsResp& obj); }; void swap(TFetchResultsResp &a, TFetchResultsResp &b); @@ -3745,26 +3666,21 @@ class TGetDelegationTokenReq { static const char* ascii_fingerprint; // = "07EA0311716A27924914E4354ED22D6C"; static const uint8_t binary_fingerprint[16]; // = {0x07,0xEA,0x03,0x11,0x71,0x6A,0x27,0x92,0x49,0x14,0xE4,0x35,0x4E,0xD2,0x2D,0x6C}; + TGetDelegationTokenReq(const TGetDelegationTokenReq&); + TGetDelegationTokenReq& operator=(const TGetDelegationTokenReq&); TGetDelegationTokenReq() : owner(), renewer() { } - virtual ~TGetDelegationTokenReq() throw() {} - + virtual ~TGetDelegationTokenReq() throw(); TSessionHandle sessionHandle; std::string owner; std::string renewer; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); - void __set_owner(const std::string& val) { - owner = val; - } + void __set_owner(const std::string& val); - void __set_renewer(const std::string& val) { - renewer = val; - } + void __set_renewer(const std::string& val); bool operator == (const TGetDelegationTokenReq & rhs) const { @@ -3785,13 +3701,14 @@ class TGetDelegationTokenReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenReq& obj); }; void swap(TGetDelegationTokenReq &a, TGetDelegationTokenReq &b); typedef struct _TGetDelegationTokenResp__isset { _TGetDelegationTokenResp__isset() : delegationToken(false) {} - bool delegationToken; + bool delegationToken :1; } _TGetDelegationTokenResp__isset; class TGetDelegationTokenResp { @@ -3800,24 +3717,20 @@ class TGetDelegationTokenResp { static const char* ascii_fingerprint; // = "C0E132DC412CEA08D771EAC38CEA1DA6"; static const uint8_t binary_fingerprint[16]; // = {0xC0,0xE1,0x32,0xDC,0x41,0x2C,0xEA,0x08,0xD7,0x71,0xEA,0xC3,0x8C,0xEA,0x1D,0xA6}; + TGetDelegationTokenResp(const TGetDelegationTokenResp&); + TGetDelegationTokenResp& operator=(const TGetDelegationTokenResp&); TGetDelegationTokenResp() : delegationToken() { } - virtual ~TGetDelegationTokenResp() throw() {} - + virtual ~TGetDelegationTokenResp() throw(); TStatus status; std::string delegationToken; _TGetDelegationTokenResp__isset __isset; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); - void __set_delegationToken(const std::string& val) { - delegationToken = val; - __isset.delegationToken = true; - } + void __set_delegationToken(const std::string& val); bool operator == (const TGetDelegationTokenResp & rhs) const { @@ -3838,6 +3751,7 @@ class TGetDelegationTokenResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenResp& obj); }; void swap(TGetDelegationTokenResp &a, TGetDelegationTokenResp &b); @@ -3849,21 +3763,18 @@ class TCancelDelegationTokenReq { static const char* ascii_fingerprint; // = "1A3D66269336B7EC66998BFE1BECDE75"; static const uint8_t binary_fingerprint[16]; // = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75}; + TCancelDelegationTokenReq(const TCancelDelegationTokenReq&); + TCancelDelegationTokenReq& operator=(const TCancelDelegationTokenReq&); TCancelDelegationTokenReq() : delegationToken() { } - virtual ~TCancelDelegationTokenReq() throw() {} - + virtual ~TCancelDelegationTokenReq() throw(); TSessionHandle sessionHandle; std::string delegationToken; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); - void __set_delegationToken(const std::string& val) { - delegationToken = val; - } + void __set_delegationToken(const std::string& val); bool operator == (const TCancelDelegationTokenReq & rhs) const { @@ -3882,6 +3793,7 @@ class TCancelDelegationTokenReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenReq& obj); }; void swap(TCancelDelegationTokenReq &a, TCancelDelegationTokenReq &b); @@ -3893,16 +3805,15 @@ class TCancelDelegationTokenResp { static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2"; static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; + TCancelDelegationTokenResp(const TCancelDelegationTokenResp&); + TCancelDelegationTokenResp& operator=(const TCancelDelegationTokenResp&); TCancelDelegationTokenResp() { } - virtual ~TCancelDelegationTokenResp() throw() {} - + virtual ~TCancelDelegationTokenResp() throw(); TStatus status; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); bool operator == (const TCancelDelegationTokenResp & rhs) const { @@ -3919,6 +3830,7 @@ class TCancelDelegationTokenResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenResp& obj); }; void swap(TCancelDelegationTokenResp &a, TCancelDelegationTokenResp &b); @@ -3930,21 +3842,18 @@ class TRenewDelegationTokenReq { static const char* ascii_fingerprint; // = "1A3D66269336B7EC66998BFE1BECDE75"; static const uint8_t binary_fingerprint[16]; // = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75}; + TRenewDelegationTokenReq(const TRenewDelegationTokenReq&); + TRenewDelegationTokenReq& operator=(const TRenewDelegationTokenReq&); TRenewDelegationTokenReq() : delegationToken() { } - virtual ~TRenewDelegationTokenReq() throw() {} - + virtual ~TRenewDelegationTokenReq() throw(); TSessionHandle sessionHandle; std::string delegationToken; - void __set_sessionHandle(const TSessionHandle& val) { - sessionHandle = val; - } + void __set_sessionHandle(const TSessionHandle& val); - void __set_delegationToken(const std::string& val) { - delegationToken = val; - } + void __set_delegationToken(const std::string& val); bool operator == (const TRenewDelegationTokenReq & rhs) const { @@ -3963,6 +3872,7 @@ class TRenewDelegationTokenReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenReq& obj); }; void swap(TRenewDelegationTokenReq &a, TRenewDelegationTokenReq &b); @@ -3974,16 +3884,15 @@ class TRenewDelegationTokenResp { static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2"; static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; + TRenewDelegationTokenResp(const TRenewDelegationTokenResp&); + TRenewDelegationTokenResp& operator=(const TRenewDelegationTokenResp&); TRenewDelegationTokenResp() { } - virtual ~TRenewDelegationTokenResp() throw() {} - + virtual ~TRenewDelegationTokenResp() throw(); TStatus status; - void __set_status(const TStatus& val) { - status = val; - } + void __set_status(const TStatus& val); bool operator == (const TRenewDelegationTokenResp & rhs) const { @@ -4000,6 +3909,7 @@ class TRenewDelegationTokenResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenResp& obj); }; void swap(TRenewDelegationTokenResp &a, TRenewDelegationTokenResp &b); diff --git a/service/src/gen/thrift/gen-cpp/ThriftHive.cpp b/service/src/gen/thrift/gen-cpp/ThriftHive.cpp index 865db69..8935c04 100644 --- a/service/src/gen/thrift/gen-cpp/ThriftHive.cpp +++ b/service/src/gen/thrift/gen-cpp/ThriftHive.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -8,6 +8,11 @@ namespace Apache { namespace Hadoop { namespace Hive { + +ThriftHive_execute_args::~ThriftHive_execute_args() throw() { +} + + uint32_t ThriftHive_execute_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -50,6 +55,7 @@ uint32_t ThriftHive_execute_args::read(::apache::thrift::protocol::TProtocol* ip uint32_t ThriftHive_execute_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_execute_args"); xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1); @@ -58,11 +64,18 @@ uint32_t ThriftHive_execute_args::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_execute_pargs::~ThriftHive_execute_pargs() throw() { +} + + uint32_t ThriftHive_execute_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_execute_pargs"); xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1); @@ -71,9 +84,15 @@ uint32_t ThriftHive_execute_pargs::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_execute_result::~ThriftHive_execute_result() throw() { +} + + uint32_t ThriftHive_execute_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -130,6 +149,11 @@ uint32_t ThriftHive_execute_result::write(::apache::thrift::protocol::TProtocol* return xfer; } + +ThriftHive_execute_presult::~ThriftHive_execute_presult() throw() { +} + + uint32_t ThriftHive_execute_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -170,6 +194,11 @@ uint32_t ThriftHive_execute_presult::read(::apache::thrift::protocol::TProtocol* return xfer; } + +ThriftHive_fetchOne_args::~ThriftHive_fetchOne_args() throw() { +} + + uint32_t ThriftHive_fetchOne_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -199,22 +228,36 @@ uint32_t ThriftHive_fetchOne_args::read(::apache::thrift::protocol::TProtocol* i uint32_t ThriftHive_fetchOne_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_fetchOne_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_fetchOne_pargs::~ThriftHive_fetchOne_pargs() throw() { +} + + uint32_t ThriftHive_fetchOne_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_fetchOne_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_fetchOne_result::~ThriftHive_fetchOne_result() throw() { +} + + uint32_t ThriftHive_fetchOne_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -283,6 +326,11 @@ uint32_t ThriftHive_fetchOne_result::write(::apache::thrift::protocol::TProtocol return xfer; } + +ThriftHive_fetchOne_presult::~ThriftHive_fetchOne_presult() throw() { +} + + uint32_t ThriftHive_fetchOne_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -331,6 +379,11 @@ uint32_t ThriftHive_fetchOne_presult::read(::apache::thrift::protocol::TProtocol return xfer; } + +ThriftHive_fetchN_args::~ThriftHive_fetchN_args() throw() { +} + + uint32_t ThriftHive_fetchN_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -373,6 +426,7 @@ uint32_t ThriftHive_fetchN_args::read(::apache::thrift::protocol::TProtocol* ipr uint32_t ThriftHive_fetchN_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_fetchN_args"); xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1); @@ -381,11 +435,18 @@ uint32_t ThriftHive_fetchN_args::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_fetchN_pargs::~ThriftHive_fetchN_pargs() throw() { +} + + uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_fetchN_pargs"); xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1); @@ -394,9 +455,15 @@ uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_fetchN_result::~ThriftHive_fetchN_result() throw() { +} + + uint32_t ThriftHive_fetchN_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -421,14 +488,14 @@ uint32_t ThriftHive_fetchN_result::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1; - ::apache::thrift::protocol::TType _etype4; - xfer += iprot->readListBegin(_etype4, _size1); - this->success.resize(_size1); - uint32_t _i5; - for (_i5 = 0; _i5 < _size1; ++_i5) + uint32_t _size5; + ::apache::thrift::protocol::TType _etype8; + xfer += iprot->readListBegin(_etype8, _size5); + this->success.resize(_size5); + uint32_t _i9; + for (_i9 = 0; _i9 < _size5; ++_i9) { - xfer += iprot->readString(this->success[_i5]); + xfer += iprot->readString(this->success[_i9]); } xfer += iprot->readListEnd(); } @@ -467,10 +534,10 @@ uint32_t ThriftHive_fetchN_result::write(::apache::thrift::protocol::TProtocol* 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 _iter6; - for (_iter6 = this->success.begin(); _iter6 != this->success.end(); ++_iter6) + std::vector ::const_iterator _iter10; + for (_iter10 = this->success.begin(); _iter10 != this->success.end(); ++_iter10) { - xfer += oprot->writeString((*_iter6)); + xfer += oprot->writeString((*_iter10)); } xfer += oprot->writeListEnd(); } @@ -485,6 +552,11 @@ uint32_t ThriftHive_fetchN_result::write(::apache::thrift::protocol::TProtocol* return xfer; } + +ThriftHive_fetchN_presult::~ThriftHive_fetchN_presult() throw() { +} + + uint32_t ThriftHive_fetchN_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -509,14 +581,14 @@ uint32_t ThriftHive_fetchN_presult::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size7; - ::apache::thrift::protocol::TType _etype10; - xfer += iprot->readListBegin(_etype10, _size7); - (*(this->success)).resize(_size7); - uint32_t _i11; - for (_i11 = 0; _i11 < _size7; ++_i11) + uint32_t _size11; + ::apache::thrift::protocol::TType _etype14; + xfer += iprot->readListBegin(_etype14, _size11); + (*(this->success)).resize(_size11); + uint32_t _i15; + for (_i15 = 0; _i15 < _size11; ++_i15) { - xfer += iprot->readString((*(this->success))[_i11]); + xfer += iprot->readString((*(this->success))[_i15]); } xfer += iprot->readListEnd(); } @@ -545,6 +617,11 @@ uint32_t ThriftHive_fetchN_presult::read(::apache::thrift::protocol::TProtocol* return xfer; } + +ThriftHive_fetchAll_args::~ThriftHive_fetchAll_args() throw() { +} + + uint32_t ThriftHive_fetchAll_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -574,22 +651,36 @@ uint32_t ThriftHive_fetchAll_args::read(::apache::thrift::protocol::TProtocol* i uint32_t ThriftHive_fetchAll_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_fetchAll_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_fetchAll_pargs::~ThriftHive_fetchAll_pargs() throw() { +} + + uint32_t ThriftHive_fetchAll_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_fetchAll_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_fetchAll_result::~ThriftHive_fetchAll_result() throw() { +} + + uint32_t ThriftHive_fetchAll_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -614,14 +705,14 @@ uint32_t ThriftHive_fetchAll_result::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size12; - ::apache::thrift::protocol::TType _etype15; - xfer += iprot->readListBegin(_etype15, _size12); - this->success.resize(_size12); - uint32_t _i16; - for (_i16 = 0; _i16 < _size12; ++_i16) + uint32_t _size16; + ::apache::thrift::protocol::TType _etype19; + xfer += iprot->readListBegin(_etype19, _size16); + this->success.resize(_size16); + uint32_t _i20; + for (_i20 = 0; _i20 < _size16; ++_i20) { - xfer += iprot->readString(this->success[_i16]); + xfer += iprot->readString(this->success[_i20]); } xfer += iprot->readListEnd(); } @@ -660,10 +751,10 @@ uint32_t ThriftHive_fetchAll_result::write(::apache::thrift::protocol::TProtocol 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 _iter17; - for (_iter17 = this->success.begin(); _iter17 != this->success.end(); ++_iter17) + std::vector ::const_iterator _iter21; + for (_iter21 = this->success.begin(); _iter21 != this->success.end(); ++_iter21) { - xfer += oprot->writeString((*_iter17)); + xfer += oprot->writeString((*_iter21)); } xfer += oprot->writeListEnd(); } @@ -678,6 +769,11 @@ uint32_t ThriftHive_fetchAll_result::write(::apache::thrift::protocol::TProtocol return xfer; } + +ThriftHive_fetchAll_presult::~ThriftHive_fetchAll_presult() throw() { +} + + uint32_t ThriftHive_fetchAll_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -702,14 +798,14 @@ uint32_t ThriftHive_fetchAll_presult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size18; - ::apache::thrift::protocol::TType _etype21; - xfer += iprot->readListBegin(_etype21, _size18); - (*(this->success)).resize(_size18); - uint32_t _i22; - for (_i22 = 0; _i22 < _size18; ++_i22) + uint32_t _size22; + ::apache::thrift::protocol::TType _etype25; + xfer += iprot->readListBegin(_etype25, _size22); + (*(this->success)).resize(_size22); + uint32_t _i26; + for (_i26 = 0; _i26 < _size22; ++_i26) { - xfer += iprot->readString((*(this->success))[_i22]); + xfer += iprot->readString((*(this->success))[_i26]); } xfer += iprot->readListEnd(); } @@ -738,6 +834,11 @@ uint32_t ThriftHive_fetchAll_presult::read(::apache::thrift::protocol::TProtocol return xfer; } + +ThriftHive_getSchema_args::~ThriftHive_getSchema_args() throw() { +} + + uint32_t ThriftHive_getSchema_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -767,22 +868,36 @@ uint32_t ThriftHive_getSchema_args::read(::apache::thrift::protocol::TProtocol* uint32_t ThriftHive_getSchema_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_getSchema_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_getSchema_pargs::~ThriftHive_getSchema_pargs() throw() { +} + + uint32_t ThriftHive_getSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_getSchema_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_getSchema_result::~ThriftHive_getSchema_result() throw() { +} + + uint32_t ThriftHive_getSchema_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -851,6 +966,11 @@ uint32_t ThriftHive_getSchema_result::write(::apache::thrift::protocol::TProtoco return xfer; } + +ThriftHive_getSchema_presult::~ThriftHive_getSchema_presult() throw() { +} + + uint32_t ThriftHive_getSchema_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -899,6 +1019,11 @@ uint32_t ThriftHive_getSchema_presult::read(::apache::thrift::protocol::TProtoco return xfer; } + +ThriftHive_getThriftSchema_args::~ThriftHive_getThriftSchema_args() throw() { +} + + uint32_t ThriftHive_getThriftSchema_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -928,22 +1053,36 @@ uint32_t ThriftHive_getThriftSchema_args::read(::apache::thrift::protocol::TProt uint32_t ThriftHive_getThriftSchema_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_getThriftSchema_pargs::~ThriftHive_getThriftSchema_pargs() throw() { +} + + uint32_t ThriftHive_getThriftSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_getThriftSchema_result::~ThriftHive_getThriftSchema_result() throw() { +} + + uint32_t ThriftHive_getThriftSchema_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1012,6 +1151,11 @@ uint32_t ThriftHive_getThriftSchema_result::write(::apache::thrift::protocol::TP return xfer; } + +ThriftHive_getThriftSchema_presult::~ThriftHive_getThriftSchema_presult() throw() { +} + + uint32_t ThriftHive_getThriftSchema_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1060,6 +1204,11 @@ uint32_t ThriftHive_getThriftSchema_presult::read(::apache::thrift::protocol::TP return xfer; } + +ThriftHive_getClusterStatus_args::~ThriftHive_getClusterStatus_args() throw() { +} + + uint32_t ThriftHive_getClusterStatus_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1089,22 +1238,36 @@ uint32_t ThriftHive_getClusterStatus_args::read(::apache::thrift::protocol::TPro uint32_t ThriftHive_getClusterStatus_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_getClusterStatus_pargs::~ThriftHive_getClusterStatus_pargs() throw() { +} + + uint32_t ThriftHive_getClusterStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_getClusterStatus_result::~ThriftHive_getClusterStatus_result() throw() { +} + + uint32_t ThriftHive_getClusterStatus_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1173,6 +1336,11 @@ uint32_t ThriftHive_getClusterStatus_result::write(::apache::thrift::protocol::T return xfer; } + +ThriftHive_getClusterStatus_presult::~ThriftHive_getClusterStatus_presult() throw() { +} + + uint32_t ThriftHive_getClusterStatus_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1221,6 +1389,11 @@ uint32_t ThriftHive_getClusterStatus_presult::read(::apache::thrift::protocol::T return xfer; } + +ThriftHive_getQueryPlan_args::~ThriftHive_getQueryPlan_args() throw() { +} + + uint32_t ThriftHive_getQueryPlan_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1250,22 +1423,36 @@ uint32_t ThriftHive_getQueryPlan_args::read(::apache::thrift::protocol::TProtoco uint32_t ThriftHive_getQueryPlan_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_getQueryPlan_pargs::~ThriftHive_getQueryPlan_pargs() throw() { +} + + uint32_t ThriftHive_getQueryPlan_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_getQueryPlan_result::~ThriftHive_getQueryPlan_result() throw() { +} + + uint32_t ThriftHive_getQueryPlan_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1334,6 +1521,11 @@ uint32_t ThriftHive_getQueryPlan_result::write(::apache::thrift::protocol::TProt return xfer; } + +ThriftHive_getQueryPlan_presult::~ThriftHive_getQueryPlan_presult() throw() { +} + + uint32_t ThriftHive_getQueryPlan_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1382,6 +1574,11 @@ uint32_t ThriftHive_getQueryPlan_presult::read(::apache::thrift::protocol::TProt return xfer; } + +ThriftHive_clean_args::~ThriftHive_clean_args() throw() { +} + + uint32_t ThriftHive_clean_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1411,22 +1608,36 @@ uint32_t ThriftHive_clean_args::read(::apache::thrift::protocol::TProtocol* ipro uint32_t ThriftHive_clean_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_clean_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_clean_pargs::~ThriftHive_clean_pargs() throw() { +} + + uint32_t ThriftHive_clean_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("ThriftHive_clean_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } + +ThriftHive_clean_result::~ThriftHive_clean_result() throw() { +} + + uint32_t ThriftHive_clean_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -1465,6 +1676,11 @@ uint32_t ThriftHive_clean_result::write(::apache::thrift::protocol::TProtocol* o return xfer; } + +ThriftHive_clean_presult::~ThriftHive_clean_presult() throw() { +} + + uint32_t ThriftHive_clean_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; diff --git a/service/src/gen/thrift/gen-cpp/ThriftHive.h b/service/src/gen/thrift/gen-cpp/ThriftHive.h index b84362b..e610e50 100644 --- a/service/src/gen/thrift/gen-cpp/ThriftHive.h +++ b/service/src/gen/thrift/gen-cpp/ThriftHive.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -85,24 +85,26 @@ class ThriftHiveNull : virtual public ThriftHiveIf , virtual public ::Apache::H typedef struct _ThriftHive_execute_args__isset { _ThriftHive_execute_args__isset() : query(false) {} - bool query; + bool query :1; } _ThriftHive_execute_args__isset; class ThriftHive_execute_args { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; + + ThriftHive_execute_args(const ThriftHive_execute_args&); + ThriftHive_execute_args& operator=(const ThriftHive_execute_args&); ThriftHive_execute_args() : query() { } - virtual ~ThriftHive_execute_args() throw() {} - + virtual ~ThriftHive_execute_args() throw(); std::string query; _ThriftHive_execute_args__isset __isset; - void __set_query(const std::string& val) { - query = val; - } + void __set_query(const std::string& val); bool operator == (const ThriftHive_execute_args & rhs) const { @@ -119,41 +121,47 @@ class ThriftHive_execute_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_args& obj); }; class ThriftHive_execute_pargs { public: + static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; + static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHive_execute_pargs() throw() {} + virtual ~ThriftHive_execute_pargs() throw(); const std::string* query; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_pargs& obj); }; typedef struct _ThriftHive_execute_result__isset { _ThriftHive_execute_result__isset() : ex(false) {} - bool ex; + bool ex :1; } _ThriftHive_execute_result__isset; class ThriftHive_execute_result { public: + static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0"; + static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0}; + + ThriftHive_execute_result(const ThriftHive_execute_result&); + ThriftHive_execute_result& operator=(const ThriftHive_execute_result&); ThriftHive_execute_result() { } - virtual ~ThriftHive_execute_result() throw() {} - + virtual ~ThriftHive_execute_result() throw(); HiveServerException ex; _ThriftHive_execute_result__isset __isset; - void __set_ex(const HiveServerException& val) { - ex = val; - } + void __set_ex(const HiveServerException& val); bool operator == (const ThriftHive_execute_result & rhs) const { @@ -170,36 +178,44 @@ class ThriftHive_execute_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_result& obj); }; typedef struct _ThriftHive_execute_presult__isset { _ThriftHive_execute_presult__isset() : ex(false) {} - bool ex; + bool ex :1; } _ThriftHive_execute_presult__isset; class ThriftHive_execute_presult { public: + static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0"; + static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0}; - virtual ~ThriftHive_execute_presult() throw() {} + virtual ~ThriftHive_execute_presult() throw(); HiveServerException ex; _ThriftHive_execute_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_presult& obj); }; class ThriftHive_fetchOne_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHive_fetchOne_args(const ThriftHive_fetchOne_args&); + ThriftHive_fetchOne_args& operator=(const ThriftHive_fetchOne_args&); ThriftHive_fetchOne_args() { } - virtual ~ThriftHive_fetchOne_args() throw() {} - + virtual ~ThriftHive_fetchOne_args() throw(); bool operator == (const ThriftHive_fetchOne_args & /* rhs */) const { @@ -214,46 +230,50 @@ class ThriftHive_fetchOne_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_args& obj); }; class ThriftHive_fetchOne_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_fetchOne_pargs() throw() {} + virtual ~ThriftHive_fetchOne_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_pargs& obj); }; typedef struct _ThriftHive_fetchOne_result__isset { _ThriftHive_fetchOne_result__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_fetchOne_result__isset; class ThriftHive_fetchOne_result { public: + static const char* ascii_fingerprint; // = "BD5C3537D3AE5C0248BD3B45C053AE32"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0x5C,0x35,0x37,0xD3,0xAE,0x5C,0x02,0x48,0xBD,0x3B,0x45,0xC0,0x53,0xAE,0x32}; + + ThriftHive_fetchOne_result(const ThriftHive_fetchOne_result&); + ThriftHive_fetchOne_result& operator=(const ThriftHive_fetchOne_result&); ThriftHive_fetchOne_result() : success() { } - virtual ~ThriftHive_fetchOne_result() throw() {} - + virtual ~ThriftHive_fetchOne_result() throw(); std::string success; HiveServerException ex; _ThriftHive_fetchOne_result__isset __isset; - void __set_success(const std::string& val) { - success = val; - } + void __set_success(const std::string& val); - void __set_ex(const HiveServerException& val) { - ex = val; - } + void __set_ex(const HiveServerException& val); bool operator == (const ThriftHive_fetchOne_result & rhs) const { @@ -272,20 +292,23 @@ class ThriftHive_fetchOne_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_result& obj); }; typedef struct _ThriftHive_fetchOne_presult__isset { _ThriftHive_fetchOne_presult__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_fetchOne_presult__isset; class ThriftHive_fetchOne_presult { public: + static const char* ascii_fingerprint; // = "BD5C3537D3AE5C0248BD3B45C053AE32"; + static const uint8_t binary_fingerprint[16]; // = {0xBD,0x5C,0x35,0x37,0xD3,0xAE,0x5C,0x02,0x48,0xBD,0x3B,0x45,0xC0,0x53,0xAE,0x32}; - virtual ~ThriftHive_fetchOne_presult() throw() {} + virtual ~ThriftHive_fetchOne_presult() throw(); std::string* success; HiveServerException ex; @@ -293,28 +316,31 @@ class ThriftHive_fetchOne_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_presult& obj); }; typedef struct _ThriftHive_fetchN_args__isset { _ThriftHive_fetchN_args__isset() : numRows(false) {} - bool numRows; + bool numRows :1; } _ThriftHive_fetchN_args__isset; class ThriftHive_fetchN_args { public: + static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; + + ThriftHive_fetchN_args(const ThriftHive_fetchN_args&); + ThriftHive_fetchN_args& operator=(const ThriftHive_fetchN_args&); ThriftHive_fetchN_args() : numRows(0) { } - virtual ~ThriftHive_fetchN_args() throw() {} - + virtual ~ThriftHive_fetchN_args() throw(); int32_t numRows; _ThriftHive_fetchN_args__isset __isset; - void __set_numRows(const int32_t val) { - numRows = val; - } + void __set_numRows(const int32_t val); bool operator == (const ThriftHive_fetchN_args & rhs) const { @@ -331,47 +357,51 @@ class ThriftHive_fetchN_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_args& obj); }; class ThriftHive_fetchN_pargs { public: + static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4"; + static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; - virtual ~ThriftHive_fetchN_pargs() throw() {} + virtual ~ThriftHive_fetchN_pargs() throw(); const int32_t* numRows; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_pargs& obj); }; typedef struct _ThriftHive_fetchN_result__isset { _ThriftHive_fetchN_result__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_fetchN_result__isset; class ThriftHive_fetchN_result { public: + static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D"; + static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D}; + + ThriftHive_fetchN_result(const ThriftHive_fetchN_result&); + ThriftHive_fetchN_result& operator=(const ThriftHive_fetchN_result&); ThriftHive_fetchN_result() { } - virtual ~ThriftHive_fetchN_result() throw() {} - + virtual ~ThriftHive_fetchN_result() throw(); std::vector success; HiveServerException ex; _ThriftHive_fetchN_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_ex(const HiveServerException& val) { - ex = val; - } + void __set_ex(const HiveServerException& val); bool operator == (const ThriftHive_fetchN_result & rhs) const { @@ -390,20 +420,23 @@ class ThriftHive_fetchN_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_result& obj); }; typedef struct _ThriftHive_fetchN_presult__isset { _ThriftHive_fetchN_presult__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_fetchN_presult__isset; class ThriftHive_fetchN_presult { public: + static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D"; + static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D}; - virtual ~ThriftHive_fetchN_presult() throw() {} + virtual ~ThriftHive_fetchN_presult() throw(); std::vector * success; HiveServerException ex; @@ -411,17 +444,22 @@ class ThriftHive_fetchN_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_presult& obj); }; class ThriftHive_fetchAll_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHive_fetchAll_args(const ThriftHive_fetchAll_args&); + ThriftHive_fetchAll_args& operator=(const ThriftHive_fetchAll_args&); ThriftHive_fetchAll_args() { } - virtual ~ThriftHive_fetchAll_args() throw() {} - + virtual ~ThriftHive_fetchAll_args() throw(); bool operator == (const ThriftHive_fetchAll_args & /* rhs */) const { @@ -436,46 +474,50 @@ class ThriftHive_fetchAll_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_args& obj); }; class ThriftHive_fetchAll_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_fetchAll_pargs() throw() {} + virtual ~ThriftHive_fetchAll_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_pargs& obj); }; typedef struct _ThriftHive_fetchAll_result__isset { _ThriftHive_fetchAll_result__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_fetchAll_result__isset; class ThriftHive_fetchAll_result { public: + static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D"; + static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D}; + + ThriftHive_fetchAll_result(const ThriftHive_fetchAll_result&); + ThriftHive_fetchAll_result& operator=(const ThriftHive_fetchAll_result&); ThriftHive_fetchAll_result() { } - virtual ~ThriftHive_fetchAll_result() throw() {} - + virtual ~ThriftHive_fetchAll_result() throw(); std::vector success; HiveServerException ex; _ThriftHive_fetchAll_result__isset __isset; - void __set_success(const std::vector & val) { - success = val; - } + void __set_success(const std::vector & val); - void __set_ex(const HiveServerException& val) { - ex = val; - } + void __set_ex(const HiveServerException& val); bool operator == (const ThriftHive_fetchAll_result & rhs) const { @@ -494,20 +536,23 @@ class ThriftHive_fetchAll_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_result& obj); }; typedef struct _ThriftHive_fetchAll_presult__isset { _ThriftHive_fetchAll_presult__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_fetchAll_presult__isset; class ThriftHive_fetchAll_presult { public: + static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D"; + static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D}; - virtual ~ThriftHive_fetchAll_presult() throw() {} + virtual ~ThriftHive_fetchAll_presult() throw(); std::vector * success; HiveServerException ex; @@ -515,17 +560,22 @@ class ThriftHive_fetchAll_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_presult& obj); }; class ThriftHive_getSchema_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHive_getSchema_args(const ThriftHive_getSchema_args&); + ThriftHive_getSchema_args& operator=(const ThriftHive_getSchema_args&); ThriftHive_getSchema_args() { } - virtual ~ThriftHive_getSchema_args() throw() {} - + virtual ~ThriftHive_getSchema_args() throw(); bool operator == (const ThriftHive_getSchema_args & /* rhs */) const { @@ -540,46 +590,50 @@ class ThriftHive_getSchema_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_args& obj); }; class ThriftHive_getSchema_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_getSchema_pargs() throw() {} + virtual ~ThriftHive_getSchema_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_pargs& obj); }; typedef struct _ThriftHive_getSchema_result__isset { _ThriftHive_getSchema_result__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_getSchema_result__isset; class ThriftHive_getSchema_result { public: + static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1"; + static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1}; + + ThriftHive_getSchema_result(const ThriftHive_getSchema_result&); + ThriftHive_getSchema_result& operator=(const ThriftHive_getSchema_result&); ThriftHive_getSchema_result() { } - virtual ~ThriftHive_getSchema_result() throw() {} - + virtual ~ThriftHive_getSchema_result() throw(); ::Apache::Hadoop::Hive::Schema success; HiveServerException ex; _ThriftHive_getSchema_result__isset __isset; - void __set_success(const ::Apache::Hadoop::Hive::Schema& val) { - success = val; - } + void __set_success(const ::Apache::Hadoop::Hive::Schema& val); - void __set_ex(const HiveServerException& val) { - ex = val; - } + void __set_ex(const HiveServerException& val); bool operator == (const ThriftHive_getSchema_result & rhs) const { @@ -598,20 +652,23 @@ class ThriftHive_getSchema_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_result& obj); }; typedef struct _ThriftHive_getSchema_presult__isset { _ThriftHive_getSchema_presult__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_getSchema_presult__isset; class ThriftHive_getSchema_presult { public: + static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1"; + static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1}; - virtual ~ThriftHive_getSchema_presult() throw() {} + virtual ~ThriftHive_getSchema_presult() throw(); ::Apache::Hadoop::Hive::Schema* success; HiveServerException ex; @@ -619,17 +676,22 @@ class ThriftHive_getSchema_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_presult& obj); }; class ThriftHive_getThriftSchema_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHive_getThriftSchema_args(const ThriftHive_getThriftSchema_args&); + ThriftHive_getThriftSchema_args& operator=(const ThriftHive_getThriftSchema_args&); ThriftHive_getThriftSchema_args() { } - virtual ~ThriftHive_getThriftSchema_args() throw() {} - + virtual ~ThriftHive_getThriftSchema_args() throw(); bool operator == (const ThriftHive_getThriftSchema_args & /* rhs */) const { @@ -644,46 +706,50 @@ class ThriftHive_getThriftSchema_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_args& obj); }; class ThriftHive_getThriftSchema_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_getThriftSchema_pargs() throw() {} + virtual ~ThriftHive_getThriftSchema_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_pargs& obj); }; typedef struct _ThriftHive_getThriftSchema_result__isset { _ThriftHive_getThriftSchema_result__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_getThriftSchema_result__isset; class ThriftHive_getThriftSchema_result { public: + static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1"; + static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1}; + + ThriftHive_getThriftSchema_result(const ThriftHive_getThriftSchema_result&); + ThriftHive_getThriftSchema_result& operator=(const ThriftHive_getThriftSchema_result&); ThriftHive_getThriftSchema_result() { } - virtual ~ThriftHive_getThriftSchema_result() throw() {} - + virtual ~ThriftHive_getThriftSchema_result() throw(); ::Apache::Hadoop::Hive::Schema success; HiveServerException ex; _ThriftHive_getThriftSchema_result__isset __isset; - void __set_success(const ::Apache::Hadoop::Hive::Schema& val) { - success = val; - } + void __set_success(const ::Apache::Hadoop::Hive::Schema& val); - void __set_ex(const HiveServerException& val) { - ex = val; - } + void __set_ex(const HiveServerException& val); bool operator == (const ThriftHive_getThriftSchema_result & rhs) const { @@ -702,20 +768,23 @@ class ThriftHive_getThriftSchema_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_result& obj); }; typedef struct _ThriftHive_getThriftSchema_presult__isset { _ThriftHive_getThriftSchema_presult__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_getThriftSchema_presult__isset; class ThriftHive_getThriftSchema_presult { public: + static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1"; + static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1}; - virtual ~ThriftHive_getThriftSchema_presult() throw() {} + virtual ~ThriftHive_getThriftSchema_presult() throw(); ::Apache::Hadoop::Hive::Schema* success; HiveServerException ex; @@ -723,17 +792,22 @@ class ThriftHive_getThriftSchema_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_presult& obj); }; class ThriftHive_getClusterStatus_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHive_getClusterStatus_args(const ThriftHive_getClusterStatus_args&); + ThriftHive_getClusterStatus_args& operator=(const ThriftHive_getClusterStatus_args&); ThriftHive_getClusterStatus_args() { } - virtual ~ThriftHive_getClusterStatus_args() throw() {} - + virtual ~ThriftHive_getClusterStatus_args() throw(); bool operator == (const ThriftHive_getClusterStatus_args & /* rhs */) const { @@ -748,46 +822,50 @@ class ThriftHive_getClusterStatus_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_args& obj); }; class ThriftHive_getClusterStatus_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_getClusterStatus_pargs() throw() {} + virtual ~ThriftHive_getClusterStatus_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_pargs& obj); }; typedef struct _ThriftHive_getClusterStatus_result__isset { _ThriftHive_getClusterStatus_result__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_getClusterStatus_result__isset; class ThriftHive_getClusterStatus_result { public: + static const char* ascii_fingerprint; // = "F486E00F8F0F2B6A17A0371997BB7B87"; + static const uint8_t binary_fingerprint[16]; // = {0xF4,0x86,0xE0,0x0F,0x8F,0x0F,0x2B,0x6A,0x17,0xA0,0x37,0x19,0x97,0xBB,0x7B,0x87}; + + ThriftHive_getClusterStatus_result(const ThriftHive_getClusterStatus_result&); + ThriftHive_getClusterStatus_result& operator=(const ThriftHive_getClusterStatus_result&); ThriftHive_getClusterStatus_result() { } - virtual ~ThriftHive_getClusterStatus_result() throw() {} - + virtual ~ThriftHive_getClusterStatus_result() throw(); HiveClusterStatus success; HiveServerException ex; _ThriftHive_getClusterStatus_result__isset __isset; - void __set_success(const HiveClusterStatus& val) { - success = val; - } + void __set_success(const HiveClusterStatus& val); - void __set_ex(const HiveServerException& val) { - ex = val; - } + void __set_ex(const HiveServerException& val); bool operator == (const ThriftHive_getClusterStatus_result & rhs) const { @@ -806,20 +884,23 @@ class ThriftHive_getClusterStatus_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_result& obj); }; typedef struct _ThriftHive_getClusterStatus_presult__isset { _ThriftHive_getClusterStatus_presult__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_getClusterStatus_presult__isset; class ThriftHive_getClusterStatus_presult { public: + static const char* ascii_fingerprint; // = "F486E00F8F0F2B6A17A0371997BB7B87"; + static const uint8_t binary_fingerprint[16]; // = {0xF4,0x86,0xE0,0x0F,0x8F,0x0F,0x2B,0x6A,0x17,0xA0,0x37,0x19,0x97,0xBB,0x7B,0x87}; - virtual ~ThriftHive_getClusterStatus_presult() throw() {} + virtual ~ThriftHive_getClusterStatus_presult() throw(); HiveClusterStatus* success; HiveServerException ex; @@ -827,17 +908,22 @@ class ThriftHive_getClusterStatus_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_presult& obj); }; class ThriftHive_getQueryPlan_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHive_getQueryPlan_args(const ThriftHive_getQueryPlan_args&); + ThriftHive_getQueryPlan_args& operator=(const ThriftHive_getQueryPlan_args&); ThriftHive_getQueryPlan_args() { } - virtual ~ThriftHive_getQueryPlan_args() throw() {} - + virtual ~ThriftHive_getQueryPlan_args() throw(); bool operator == (const ThriftHive_getQueryPlan_args & /* rhs */) const { @@ -852,46 +938,50 @@ class ThriftHive_getQueryPlan_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_args& obj); }; class ThriftHive_getQueryPlan_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_getQueryPlan_pargs() throw() {} + virtual ~ThriftHive_getQueryPlan_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_pargs& obj); }; typedef struct _ThriftHive_getQueryPlan_result__isset { _ThriftHive_getQueryPlan_result__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_getQueryPlan_result__isset; class ThriftHive_getQueryPlan_result { public: + static const char* ascii_fingerprint; // = "0263544CFF7194CEE7DC6128DD5941ED"; + static const uint8_t binary_fingerprint[16]; // = {0x02,0x63,0x54,0x4C,0xFF,0x71,0x94,0xCE,0xE7,0xDC,0x61,0x28,0xDD,0x59,0x41,0xED}; + + ThriftHive_getQueryPlan_result(const ThriftHive_getQueryPlan_result&); + ThriftHive_getQueryPlan_result& operator=(const ThriftHive_getQueryPlan_result&); ThriftHive_getQueryPlan_result() { } - virtual ~ThriftHive_getQueryPlan_result() throw() {} - + virtual ~ThriftHive_getQueryPlan_result() throw(); ::Apache::Hadoop::Hive::QueryPlan success; HiveServerException ex; _ThriftHive_getQueryPlan_result__isset __isset; - void __set_success(const ::Apache::Hadoop::Hive::QueryPlan& val) { - success = val; - } + void __set_success(const ::Apache::Hadoop::Hive::QueryPlan& val); - void __set_ex(const HiveServerException& val) { - ex = val; - } + void __set_ex(const HiveServerException& val); bool operator == (const ThriftHive_getQueryPlan_result & rhs) const { @@ -910,20 +1000,23 @@ class ThriftHive_getQueryPlan_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_result& obj); }; typedef struct _ThriftHive_getQueryPlan_presult__isset { _ThriftHive_getQueryPlan_presult__isset() : success(false), ex(false) {} - bool success; - bool ex; + bool success :1; + bool ex :1; } _ThriftHive_getQueryPlan_presult__isset; class ThriftHive_getQueryPlan_presult { public: + static const char* ascii_fingerprint; // = "0263544CFF7194CEE7DC6128DD5941ED"; + static const uint8_t binary_fingerprint[16]; // = {0x02,0x63,0x54,0x4C,0xFF,0x71,0x94,0xCE,0xE7,0xDC,0x61,0x28,0xDD,0x59,0x41,0xED}; - virtual ~ThriftHive_getQueryPlan_presult() throw() {} + virtual ~ThriftHive_getQueryPlan_presult() throw(); ::Apache::Hadoop::Hive::QueryPlan* success; HiveServerException ex; @@ -931,17 +1024,22 @@ class ThriftHive_getQueryPlan_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_presult& obj); }; class ThriftHive_clean_args { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHive_clean_args(const ThriftHive_clean_args&); + ThriftHive_clean_args& operator=(const ThriftHive_clean_args&); ThriftHive_clean_args() { } - virtual ~ThriftHive_clean_args() throw() {} - + virtual ~ThriftHive_clean_args() throw(); bool operator == (const ThriftHive_clean_args & /* rhs */) const { @@ -956,29 +1054,37 @@ class ThriftHive_clean_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_args& obj); }; class ThriftHive_clean_pargs { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_clean_pargs() throw() {} + virtual ~ThriftHive_clean_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_pargs& obj); }; class ThriftHive_clean_result { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + ThriftHive_clean_result(const ThriftHive_clean_result&); + ThriftHive_clean_result& operator=(const ThriftHive_clean_result&); ThriftHive_clean_result() { } - virtual ~ThriftHive_clean_result() throw() {} - + virtual ~ThriftHive_clean_result() throw(); bool operator == (const ThriftHive_clean_result & /* rhs */) const { @@ -993,26 +1099,29 @@ class ThriftHive_clean_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_result& obj); }; class ThriftHive_clean_presult { public: + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_clean_presult() throw() {} + virtual ~ThriftHive_clean_presult() throw(); uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_presult& obj); }; class ThriftHiveClient : virtual public ThriftHiveIf, public ::Apache::Hadoop::Hive::ThriftHiveMetastoreClient { public: ThriftHiveClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) : ::Apache::Hadoop::Hive::ThriftHiveMetastoreClient(prot, prot) {} - ThriftHiveClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) : - ::Apache::Hadoop::Hive::ThriftHiveMetastoreClient(iprot, oprot) {} + ThriftHiveClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) : ::Apache::Hadoop::Hive::ThriftHiveMetastoreClient(iprot, oprot) {} boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() { return piprot_; } diff --git a/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp b/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp index 3555b03..c3c8482 100644 --- a/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp +++ b/service/src/gen/thrift/gen-cpp/hive_service_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-cpp/hive_service_constants.h b/service/src/gen/thrift/gen-cpp/hive_service_constants.h index e27273c..5878dbe 100644 --- a/service/src/gen/thrift/gen-cpp/hive_service_constants.h +++ b/service/src/gen/thrift/gen-cpp/hive_service_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-cpp/hive_service_types.cpp b/service/src/gen/thrift/gen-cpp/hive_service_types.cpp index 255fb00..4d6cf01 100644 --- a/service/src/gen/thrift/gen-cpp/hive_service_types.cpp +++ b/service/src/gen/thrift/gen-cpp/hive_service_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,6 +7,9 @@ #include "hive_service_types.h" #include +#include + +#include namespace Apache { namespace Hadoop { namespace Hive { @@ -20,6 +23,35 @@ const char* _kJobTrackerStateNames[] = { }; const std::map _JobTrackerState_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(2, _kJobTrackerStateValues, _kJobTrackerStateNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL)); + +HiveClusterStatus::~HiveClusterStatus() throw() { +} + + +void HiveClusterStatus::__set_taskTrackers(const int32_t val) { + this->taskTrackers = val; +} + +void HiveClusterStatus::__set_mapTasks(const int32_t val) { + this->mapTasks = val; +} + +void HiveClusterStatus::__set_reduceTasks(const int32_t val) { + this->reduceTasks = val; +} + +void HiveClusterStatus::__set_maxMapTasks(const int32_t val) { + this->maxMapTasks = val; +} + +void HiveClusterStatus::__set_maxReduceTasks(const int32_t val) { + this->maxReduceTasks = val; +} + +void HiveClusterStatus::__set_state(const JobTrackerState::type val) { + this->state = val; +} + const char* HiveClusterStatus::ascii_fingerprint = "D514EDCFFC86F64A2E924DCD16D4FAD8"; const uint8_t HiveClusterStatus::binary_fingerprint[16] = {0xD5,0x14,0xED,0xCF,0xFC,0x86,0xF6,0x4A,0x2E,0x92,0x4D,0xCD,0x16,0xD4,0xFA,0xD8}; @@ -107,6 +139,7 @@ uint32_t HiveClusterStatus::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("HiveClusterStatus"); xfer += oprot->writeFieldBegin("taskTrackers", ::apache::thrift::protocol::T_I32, 1); @@ -135,6 +168,7 @@ uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -149,6 +183,55 @@ void swap(HiveClusterStatus &a, HiveClusterStatus &b) { swap(a.__isset, b.__isset); } +HiveClusterStatus::HiveClusterStatus(const HiveClusterStatus& other1) { + taskTrackers = other1.taskTrackers; + mapTasks = other1.mapTasks; + reduceTasks = other1.reduceTasks; + maxMapTasks = other1.maxMapTasks; + maxReduceTasks = other1.maxReduceTasks; + state = other1.state; + __isset = other1.__isset; +} +HiveClusterStatus& HiveClusterStatus::operator=(const HiveClusterStatus& other2) { + taskTrackers = other2.taskTrackers; + mapTasks = other2.mapTasks; + reduceTasks = other2.reduceTasks; + maxMapTasks = other2.maxMapTasks; + maxReduceTasks = other2.maxReduceTasks; + state = other2.state; + __isset = other2.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj) { + using apache::thrift::to_string; + out << "HiveClusterStatus("; + out << "taskTrackers=" << to_string(obj.taskTrackers); + out << ", " << "mapTasks=" << to_string(obj.mapTasks); + out << ", " << "reduceTasks=" << to_string(obj.reduceTasks); + out << ", " << "maxMapTasks=" << to_string(obj.maxMapTasks); + out << ", " << "maxReduceTasks=" << to_string(obj.maxReduceTasks); + out << ", " << "state=" << to_string(obj.state); + out << ")"; + return out; +} + + +HiveServerException::~HiveServerException() throw() { +} + + +void HiveServerException::__set_message(const std::string& val) { + this->message = val; +} + +void HiveServerException::__set_errorCode(const int32_t val) { + this->errorCode = val; +} + +void HiveServerException::__set_SQLState(const std::string& val) { + this->SQLState = val; +} + const char* HiveServerException::ascii_fingerprint = "70563A0628F75DF9555F4D24690B1E26"; const uint8_t HiveServerException::binary_fingerprint[16] = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26}; @@ -210,6 +293,7 @@ uint32_t HiveServerException::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; + oprot->incrementRecursionDepth(); xfer += oprot->writeStructBegin("HiveServerException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -226,6 +310,7 @@ uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); + oprot->decrementRecursionDepth(); return xfer; } @@ -237,4 +322,27 @@ void swap(HiveServerException &a, HiveServerException &b) { swap(a.__isset, b.__isset); } +HiveServerException::HiveServerException(const HiveServerException& other3) : TException() { + message = other3.message; + errorCode = other3.errorCode; + SQLState = other3.SQLState; + __isset = other3.__isset; +} +HiveServerException& HiveServerException::operator=(const HiveServerException& other4) { + message = other4.message; + errorCode = other4.errorCode; + SQLState = other4.SQLState; + __isset = other4.__isset; + return *this; +} +std::ostream& operator<<(std::ostream& out, const HiveServerException& obj) { + using apache::thrift::to_string; + out << "HiveServerException("; + out << "message=" << to_string(obj.message); + out << ", " << "errorCode=" << to_string(obj.errorCode); + out << ", " << "SQLState=" << to_string(obj.SQLState); + out << ")"; + return out; +} + }}} // namespace diff --git a/service/src/gen/thrift/gen-cpp/hive_service_types.h b/service/src/gen/thrift/gen-cpp/hive_service_types.h index bc0e652..7fea88c 100644 --- a/service/src/gen/thrift/gen-cpp/hive_service_types.h +++ b/service/src/gen/thrift/gen-cpp/hive_service_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -7,11 +7,14 @@ #ifndef hive_service_TYPES_H #define hive_service_TYPES_H +#include + #include #include #include #include +#include #include "fb303_types.h" #include "hive_metastore_types.h" #include "queryplan_types.h" @@ -28,14 +31,18 @@ struct JobTrackerState { extern const std::map _JobTrackerState_VALUES_TO_NAMES; +class HiveClusterStatus; + +class HiveServerException; + typedef struct _HiveClusterStatus__isset { _HiveClusterStatus__isset() : taskTrackers(false), mapTasks(false), reduceTasks(false), maxMapTasks(false), maxReduceTasks(false), state(false) {} - bool taskTrackers; - bool mapTasks; - bool reduceTasks; - bool maxMapTasks; - bool maxReduceTasks; - bool state; + bool taskTrackers :1; + bool mapTasks :1; + bool reduceTasks :1; + bool maxMapTasks :1; + bool maxReduceTasks :1; + bool state :1; } _HiveClusterStatus__isset; class HiveClusterStatus { @@ -44,11 +51,12 @@ class HiveClusterStatus { static const char* ascii_fingerprint; // = "D514EDCFFC86F64A2E924DCD16D4FAD8"; static const uint8_t binary_fingerprint[16]; // = {0xD5,0x14,0xED,0xCF,0xFC,0x86,0xF6,0x4A,0x2E,0x92,0x4D,0xCD,0x16,0xD4,0xFA,0xD8}; + HiveClusterStatus(const HiveClusterStatus&); + HiveClusterStatus& operator=(const HiveClusterStatus&); HiveClusterStatus() : taskTrackers(0), mapTasks(0), reduceTasks(0), maxMapTasks(0), maxReduceTasks(0), state((JobTrackerState::type)0) { } - virtual ~HiveClusterStatus() throw() {} - + virtual ~HiveClusterStatus() throw(); int32_t taskTrackers; int32_t mapTasks; int32_t reduceTasks; @@ -58,29 +66,17 @@ class HiveClusterStatus { _HiveClusterStatus__isset __isset; - void __set_taskTrackers(const int32_t val) { - taskTrackers = val; - } + void __set_taskTrackers(const int32_t val); - void __set_mapTasks(const int32_t val) { - mapTasks = val; - } + void __set_mapTasks(const int32_t val); - void __set_reduceTasks(const int32_t val) { - reduceTasks = val; - } + void __set_reduceTasks(const int32_t val); - void __set_maxMapTasks(const int32_t val) { - maxMapTasks = val; - } + void __set_maxMapTasks(const int32_t val); - void __set_maxReduceTasks(const int32_t val) { - maxReduceTasks = val; - } + void __set_maxReduceTasks(const int32_t val); - void __set_state(const JobTrackerState::type val) { - state = val; - } + void __set_state(const JobTrackerState::type val); bool operator == (const HiveClusterStatus & rhs) const { @@ -107,15 +103,16 @@ class HiveClusterStatus { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj); }; void swap(HiveClusterStatus &a, HiveClusterStatus &b); typedef struct _HiveServerException__isset { _HiveServerException__isset() : message(false), errorCode(false), SQLState(false) {} - bool message; - bool errorCode; - bool SQLState; + bool message :1; + bool errorCode :1; + bool SQLState :1; } _HiveServerException__isset; class HiveServerException : public ::apache::thrift::TException { @@ -124,28 +121,23 @@ class HiveServerException : public ::apache::thrift::TException { static const char* ascii_fingerprint; // = "70563A0628F75DF9555F4D24690B1E26"; static const uint8_t binary_fingerprint[16]; // = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26}; + HiveServerException(const HiveServerException&); + HiveServerException& operator=(const HiveServerException&); HiveServerException() : message(), errorCode(0), SQLState() { } - virtual ~HiveServerException() throw() {} - + virtual ~HiveServerException() throw(); std::string message; int32_t errorCode; std::string SQLState; _HiveServerException__isset __isset; - void __set_message(const std::string& val) { - message = val; - } + void __set_message(const std::string& val); - void __set_errorCode(const int32_t val) { - errorCode = val; - } + void __set_errorCode(const int32_t val); - void __set_SQLState(const std::string& val) { - SQLState = val; - } + void __set_SQLState(const std::string& val); bool operator == (const HiveServerException & rhs) const { @@ -166,6 +158,7 @@ class HiveServerException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + friend std::ostream& operator<<(std::ostream& out, const HiveServerException& obj); }; void swap(HiveServerException &a, HiveServerException &b); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java index 11566e5..68f9eca 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.service; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class HiveClusterStatus implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class HiveClusterStatus implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveClusterStatus"); private static final org.apache.thrift.protocol.TField TASK_TRACKERS_FIELD_DESC = new org.apache.thrift.protocol.TField("taskTrackers", org.apache.thrift.protocol.TType.I32, (short)1); @@ -529,105 +533,105 @@ public boolean equals(HiveClusterStatus that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_taskTrackers = true; - builder.append(present_taskTrackers); + list.add(present_taskTrackers); if (present_taskTrackers) - builder.append(taskTrackers); + list.add(taskTrackers); boolean present_mapTasks = true; - builder.append(present_mapTasks); + list.add(present_mapTasks); if (present_mapTasks) - builder.append(mapTasks); + list.add(mapTasks); boolean present_reduceTasks = true; - builder.append(present_reduceTasks); + list.add(present_reduceTasks); if (present_reduceTasks) - builder.append(reduceTasks); + list.add(reduceTasks); boolean present_maxMapTasks = true; - builder.append(present_maxMapTasks); + list.add(present_maxMapTasks); if (present_maxMapTasks) - builder.append(maxMapTasks); + list.add(maxMapTasks); boolean present_maxReduceTasks = true; - builder.append(present_maxReduceTasks); + list.add(present_maxReduceTasks); if (present_maxReduceTasks) - builder.append(maxReduceTasks); + list.add(maxReduceTasks); boolean present_state = true && (isSetState()); - builder.append(present_state); + list.add(present_state); if (present_state) - builder.append(state.getValue()); + list.add(state.getValue()); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(HiveClusterStatus other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - HiveClusterStatus typedOther = (HiveClusterStatus)other; - lastComparison = Boolean.valueOf(isSetTaskTrackers()).compareTo(typedOther.isSetTaskTrackers()); + lastComparison = Boolean.valueOf(isSetTaskTrackers()).compareTo(other.isSetTaskTrackers()); if (lastComparison != 0) { return lastComparison; } if (isSetTaskTrackers()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskTrackers, typedOther.taskTrackers); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskTrackers, other.taskTrackers); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMapTasks()).compareTo(typedOther.isSetMapTasks()); + lastComparison = Boolean.valueOf(isSetMapTasks()).compareTo(other.isSetMapTasks()); if (lastComparison != 0) { return lastComparison; } if (isSetMapTasks()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mapTasks, typedOther.mapTasks); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mapTasks, other.mapTasks); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetReduceTasks()).compareTo(typedOther.isSetReduceTasks()); + lastComparison = Boolean.valueOf(isSetReduceTasks()).compareTo(other.isSetReduceTasks()); if (lastComparison != 0) { return lastComparison; } if (isSetReduceTasks()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reduceTasks, typedOther.reduceTasks); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reduceTasks, other.reduceTasks); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMaxMapTasks()).compareTo(typedOther.isSetMaxMapTasks()); + lastComparison = Boolean.valueOf(isSetMaxMapTasks()).compareTo(other.isSetMaxMapTasks()); if (lastComparison != 0) { return lastComparison; } if (isSetMaxMapTasks()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxMapTasks, typedOther.maxMapTasks); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxMapTasks, other.maxMapTasks); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMaxReduceTasks()).compareTo(typedOther.isSetMaxReduceTasks()); + lastComparison = Boolean.valueOf(isSetMaxReduceTasks()).compareTo(other.isSetMaxReduceTasks()); if (lastComparison != 0) { return lastComparison; } if (isSetMaxReduceTasks()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxReduceTasks, typedOther.maxReduceTasks); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxReduceTasks, other.maxReduceTasks); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetState()).compareTo(typedOther.isSetState()); + lastComparison = Boolean.valueOf(isSetState()).compareTo(other.isSetState()); if (lastComparison != 0) { return lastComparison; } if (isSetState()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, typedOther.state); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, other.state); if (lastComparison != 0) { return lastComparison; } @@ -766,7 +770,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HiveClusterStatus s break; case 6: // STATE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.state = JobTrackerState.findByValue(iprot.readI32()); + struct.state = org.apache.hadoop.hive.service.JobTrackerState.findByValue(iprot.readI32()); struct.setStateIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -887,7 +891,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, HiveClusterStatus st struct.setMaxReduceTasksIsSet(true); } if (incoming.get(5)) { - struct.state = JobTrackerState.findByValue(iprot.readI32()); + struct.state = org.apache.hadoop.hive.service.JobTrackerState.findByValue(iprot.readI32()); struct.setStateIsSet(true); } } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java index 353dc8a..89be3c2 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.service; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class HiveServerException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class HiveServerException extends TException implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HiveServerException"); private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -343,60 +347,60 @@ public boolean equals(HiveServerException that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_message = true && (isSetMessage()); - builder.append(present_message); + list.add(present_message); if (present_message) - builder.append(message); + list.add(message); boolean present_errorCode = true; - builder.append(present_errorCode); + list.add(present_errorCode); if (present_errorCode) - builder.append(errorCode); + list.add(errorCode); boolean present_SQLState = true && (isSetSQLState()); - builder.append(present_SQLState); + list.add(present_SQLState); if (present_SQLState) - builder.append(SQLState); + list.add(SQLState); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(HiveServerException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - HiveServerException typedOther = (HiveServerException)other; - lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); + lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(typedOther.isSetErrorCode()); + lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(other.isSetErrorCode()); if (lastComparison != 0) { return lastComparison; } if (isSetErrorCode()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, typedOther.errorCode); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, other.errorCode); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSQLState()).compareTo(typedOther.isSetSQLState()); + lastComparison = Boolean.valueOf(isSetSQLState()).compareTo(other.isSetSQLState()); if (lastComparison != 0) { return lastComparison; } if (isSetSQLState()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.SQLState, typedOther.SQLState); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.SQLState, other.SQLState); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java index 5de66c5..ab48bf7 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java index 1c44789..1fdce97 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.service; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,12 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") public class ThriftHive { public interface Iface extends org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Iface { @@ -57,23 +61,23 @@ public interface AsyncIface extends org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore .AsyncIface { - public void execute(String query, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void execute(String query, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void fetchOne(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void fetchOne(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void fetchN(int numRows, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void fetchN(int numRows, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void fetchAll(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void fetchAll(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void getSchema(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getSchema(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void getThriftSchema(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getThriftSchema(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void getClusterStatus(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getClusterStatus(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void getQueryPlan(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getQueryPlan(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void clean(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void clean(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; } @@ -333,7 +337,7 @@ public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, super(protocolFactory, clientManager, transport); } - public void execute(String query, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void execute(String query, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); execute_call method_call = new execute_call(query, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -342,7 +346,7 @@ public void execute(String query, 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 { + public execute_call(String query, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.query = query; } @@ -365,7 +369,7 @@ public void getResult() throws HiveServerException, org.apache.thrift.TException } } - public void fetchOne(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void fetchOne(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); fetchOne_call method_call = new fetchOne_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -373,7 +377,7 @@ public void fetchOne(org.apache.thrift.async.AsyncMethodCallback } public static class fetchOne_call extends org.apache.thrift.async.TAsyncMethodCall { - public fetchOne_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 { + public fetchOne_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); } @@ -394,7 +398,7 @@ public String getResult() throws HiveServerException, org.apache.thrift.TExcepti } } - public void fetchN(int numRows, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void fetchN(int numRows, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); fetchN_call method_call = new fetchN_call(numRows, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -403,7 +407,7 @@ public void fetchN(int numRows, 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 { + public fetchN_call(int numRows, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.numRows = numRows; } @@ -426,7 +430,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void fetchAll(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void fetchAll(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); fetchAll_call method_call = new fetchAll_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -434,7 +438,7 @@ public void fetchAll(org.apache.thrift.async.AsyncMethodCallback } public static class fetchAll_call extends org.apache.thrift.async.TAsyncMethodCall { - public fetchAll_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 { + public fetchAll_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); } @@ -455,7 +459,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void getSchema(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void getSchema(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); getSchema_call method_call = new getSchema_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -463,7 +467,7 @@ public void getSchema(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 { + public getSchema_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); } @@ -484,7 +488,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void getThriftSchema(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void getThriftSchema(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); getThriftSchema_call method_call = new getThriftSchema_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -492,7 +496,7 @@ public void getThriftSchema(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 { + public getThriftSchema_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); } @@ -513,7 +517,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void getClusterStatus(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void getClusterStatus(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); getClusterStatus_call method_call = new getClusterStatus_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -521,7 +525,7 @@ public void getClusterStatus(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 { + public getClusterStatus_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); } @@ -542,7 +546,7 @@ public HiveClusterStatus getResult() throws HiveServerException, org.apache.thri } } - public void getQueryPlan(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void getQueryPlan(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); getQueryPlan_call method_call = new getQueryPlan_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -550,7 +554,7 @@ public void getQueryPlan(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 { + public getQueryPlan_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); } @@ -571,7 +575,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } - public void clean(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void clean(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); clean_call method_call = new clean_call(resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -579,7 +583,7 @@ public void clean(org.apache.thrift.async.AsyncMethodCallback result } public static class clean_call extends org.apache.thrift.async.TAsyncMethodCall { - public clean_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 { + public clean_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); } @@ -839,7 +843,537 @@ public clean_result getResult(I iface, clean_args args) throws org.apache.thrift } - public static class execute_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class AsyncProcessor extends org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.AsyncProcessor { + private static final Logger LOGGER = LoggerFactory.getLogger(AsyncProcessor.class.getName()); + public AsyncProcessor(I iface) { + super(iface, getProcessMap(new HashMap>())); + } + + protected AsyncProcessor(I iface, Map> processMap) { + super(iface, getProcessMap(processMap)); + } + + private static Map> getProcessMap(Map> processMap) { + processMap.put("execute", new execute()); + processMap.put("fetchOne", new fetchOne()); + processMap.put("fetchN", new fetchN()); + processMap.put("fetchAll", new fetchAll()); + processMap.put("getSchema", new getSchema()); + processMap.put("getThriftSchema", new getThriftSchema()); + processMap.put("getClusterStatus", new getClusterStatus()); + processMap.put("getQueryPlan", new getQueryPlan()); + processMap.put("clean", new clean()); + return processMap; + } + + public static class execute extends org.apache.thrift.AsyncProcessFunction { + public execute() { + super("execute"); + } + + public execute_args getEmptyArgsInstance() { + return new execute_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + execute_result result = new execute_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + execute_result result = new execute_result(); + if (e instanceof HiveServerException) { + result.ex = (HiveServerException) e; + result.setExIsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, execute_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.execute(args.query,resultHandler); + } + } + + public static class fetchOne extends org.apache.thrift.AsyncProcessFunction { + public fetchOne() { + super("fetchOne"); + } + + public fetchOne_args getEmptyArgsInstance() { + return new fetchOne_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(String o) { + fetchOne_result result = new fetchOne_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + fetchOne_result result = new fetchOne_result(); + if (e instanceof HiveServerException) { + result.ex = (HiveServerException) e; + result.setExIsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, fetchOne_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.fetchOne(resultHandler); + } + } + + public static class fetchN extends org.apache.thrift.AsyncProcessFunction> { + public fetchN() { + super("fetchN"); + } + + public fetchN_args getEmptyArgsInstance() { + return new fetchN_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + fetchN_result result = new fetchN_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + fetchN_result result = new fetchN_result(); + if (e instanceof HiveServerException) { + result.ex = (HiveServerException) e; + result.setExIsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, fetchN_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.fetchN(args.numRows,resultHandler); + } + } + + public static class fetchAll extends org.apache.thrift.AsyncProcessFunction> { + public fetchAll() { + super("fetchAll"); + } + + public fetchAll_args getEmptyArgsInstance() { + return new fetchAll_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + fetchAll_result result = new fetchAll_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + fetchAll_result result = new fetchAll_result(); + if (e instanceof HiveServerException) { + result.ex = (HiveServerException) e; + result.setExIsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, fetchAll_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.fetchAll(resultHandler); + } + } + + public static class getSchema extends org.apache.thrift.AsyncProcessFunction { + public getSchema() { + super("getSchema"); + } + + public getSchema_args getEmptyArgsInstance() { + return new getSchema_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(org.apache.hadoop.hive.metastore.api.Schema o) { + getSchema_result result = new getSchema_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + getSchema_result result = new getSchema_result(); + if (e instanceof HiveServerException) { + result.ex = (HiveServerException) e; + result.setExIsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, getSchema_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.getSchema(resultHandler); + } + } + + public static class getThriftSchema extends org.apache.thrift.AsyncProcessFunction { + public getThriftSchema() { + super("getThriftSchema"); + } + + public getThriftSchema_args getEmptyArgsInstance() { + return new getThriftSchema_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(org.apache.hadoop.hive.metastore.api.Schema o) { + getThriftSchema_result result = new getThriftSchema_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + getThriftSchema_result result = new getThriftSchema_result(); + if (e instanceof HiveServerException) { + result.ex = (HiveServerException) e; + result.setExIsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, getThriftSchema_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.getThriftSchema(resultHandler); + } + } + + public static class getClusterStatus extends org.apache.thrift.AsyncProcessFunction { + public getClusterStatus() { + super("getClusterStatus"); + } + + public getClusterStatus_args getEmptyArgsInstance() { + return new getClusterStatus_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(HiveClusterStatus o) { + getClusterStatus_result result = new getClusterStatus_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + getClusterStatus_result result = new getClusterStatus_result(); + if (e instanceof HiveServerException) { + result.ex = (HiveServerException) e; + result.setExIsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, getClusterStatus_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.getClusterStatus(resultHandler); + } + } + + public static class getQueryPlan extends org.apache.thrift.AsyncProcessFunction { + public getQueryPlan() { + super("getQueryPlan"); + } + + public getQueryPlan_args getEmptyArgsInstance() { + return new getQueryPlan_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(org.apache.hadoop.hive.ql.plan.api.QueryPlan o) { + getQueryPlan_result result = new getQueryPlan_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + getQueryPlan_result result = new getQueryPlan_result(); + if (e instanceof HiveServerException) { + result.ex = (HiveServerException) e; + result.setExIsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, getQueryPlan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.getQueryPlan(resultHandler); + } + } + + public static class clean extends org.apache.thrift.AsyncProcessFunction { + public clean() { + super("clean"); + } + + public clean_args getEmptyArgsInstance() { + return new clean_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + clean_result result = new clean_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + clean_result result = new clean_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, clean_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.clean(resultHandler); + } + } + + } + + public static class execute_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("execute_args"); private static final org.apache.thrift.protocol.TField QUERY_FIELD_DESC = new org.apache.thrift.protocol.TField("query", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -1033,30 +1567,30 @@ public boolean equals(execute_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_query = true && (isSetQuery()); - builder.append(present_query); + list.add(present_query); if (present_query) - builder.append(query); + list.add(query); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(execute_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - execute_args typedOther = (execute_args)other; - lastComparison = Boolean.valueOf(isSetQuery()).compareTo(typedOther.isSetQuery()); + lastComparison = Boolean.valueOf(isSetQuery()).compareTo(other.isSetQuery()); if (lastComparison != 0) { return lastComparison; } if (isSetQuery()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.query, typedOther.query); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.query, other.query); if (lastComparison != 0) { return lastComparison; } @@ -1197,7 +1731,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, execute_args struct) } - public static class execute_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class execute_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("execute_result"); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -1391,30 +1925,30 @@ public boolean equals(execute_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_ex = true && (isSetEx()); - builder.append(present_ex); + list.add(present_ex); if (present_ex) - builder.append(ex); + list.add(ex); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(execute_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - execute_result typedOther = (execute_result)other; - lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx()); + lastComparison = Boolean.valueOf(isSetEx()).compareTo(other.isSetEx()); if (lastComparison != 0) { return lastComparison; } if (isSetEx()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, other.ex); if (lastComparison != 0) { return lastComparison; } @@ -1557,7 +2091,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, execute_result struc } - public static class fetchOne_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class fetchOne_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fetchOne_args"); @@ -1687,18 +2221,18 @@ public boolean equals(fetchOne_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(fetchOne_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - fetchOne_args typedOther = (fetchOne_args)other; return 0; } @@ -1803,7 +2337,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fetchOne_args struct } - public static class fetchOne_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class fetchOne_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fetchOne_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0); @@ -2055,45 +2589,45 @@ public boolean equals(fetchOne_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_ex = true && (isSetEx()); - builder.append(present_ex); + list.add(present_ex); if (present_ex) - builder.append(ex); + list.add(ex); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(fetchOne_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - fetchOne_result typedOther = (fetchOne_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx()); + lastComparison = Boolean.valueOf(isSetEx()).compareTo(other.isSetEx()); if (lastComparison != 0) { return lastComparison; } if (isSetEx()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, other.ex); if (lastComparison != 0) { return lastComparison; } @@ -2267,7 +2801,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fetchOne_result stru } - public static class fetchN_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class fetchN_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fetchN_args"); private static final org.apache.thrift.protocol.TField NUM_ROWS_FIELD_DESC = new org.apache.thrift.protocol.TField("numRows", org.apache.thrift.protocol.TType.I32, (short)1); @@ -2463,30 +2997,30 @@ public boolean equals(fetchN_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_numRows = true; - builder.append(present_numRows); + list.add(present_numRows); if (present_numRows) - builder.append(numRows); + list.add(numRows); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(fetchN_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - fetchN_args typedOther = (fetchN_args)other; - lastComparison = Boolean.valueOf(isSetNumRows()).compareTo(typedOther.isSetNumRows()); + lastComparison = Boolean.valueOf(isSetNumRows()).compareTo(other.isSetNumRows()); if (lastComparison != 0) { return lastComparison; } if (isSetNumRows()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numRows, typedOther.numRows); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numRows, other.numRows); if (lastComparison != 0) { return lastComparison; } @@ -2623,7 +3157,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fetchN_args struct) } - public static class fetchN_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class fetchN_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fetchN_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -2729,10 +3263,7 @@ public fetchN_result( */ public fetchN_result(fetchN_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } if (other.isSetEx()) { @@ -2895,45 +3426,45 @@ public boolean equals(fetchN_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_ex = true && (isSetEx()); - builder.append(present_ex); + list.add(present_ex); if (present_ex) - builder.append(ex); + list.add(ex); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(fetchN_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - fetchN_result typedOther = (fetchN_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx()); + lastComparison = Boolean.valueOf(isSetEx()).compareTo(other.isSetEx()); if (lastComparison != 0) { return lastComparison; } if (isSetEx()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, other.ex); if (lastComparison != 0) { return lastComparison; } @@ -3021,11 +3552,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, fetchN_result struc { org.apache.thrift.protocol.TList _list0 = iprot.readListBegin(); struct.success = new ArrayList(_list0.size); - for (int _i1 = 0; _i1 < _list0.size; ++_i1) + String _elem1; + for (int _i2 = 0; _i2 < _list0.size; ++_i2) { - String _elem2; // optional - _elem2 = iprot.readString(); - struct.success.add(_elem2); + _elem1 = iprot.readString(); + struct.success.add(_elem1); } iprot.readListEnd(); } @@ -3120,11 +3651,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fetchN_result struct { org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.success = new ArrayList(_list5.size); - for (int _i6 = 0; _i6 < _list5.size; ++_i6) + String _elem6; + for (int _i7 = 0; _i7 < _list5.size; ++_i7) { - String _elem7; // optional - _elem7 = iprot.readString(); - struct.success.add(_elem7); + _elem6 = iprot.readString(); + struct.success.add(_elem6); } } struct.setSuccessIsSet(true); @@ -3139,7 +3670,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fetchN_result struct } - public static class fetchAll_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class fetchAll_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fetchAll_args"); @@ -3269,18 +3800,18 @@ public boolean equals(fetchAll_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(fetchAll_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - fetchAll_args typedOther = (fetchAll_args)other; return 0; } @@ -3385,7 +3916,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fetchAll_args struct } - public static class fetchAll_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class fetchAll_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fetchAll_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); @@ -3491,10 +4022,7 @@ public fetchAll_result( */ public fetchAll_result(fetchAll_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(); - for (String other_element : other.success) { - __this__success.add(other_element); - } + List __this__success = new ArrayList(other.success); this.success = __this__success; } if (other.isSetEx()) { @@ -3657,45 +4185,45 @@ public boolean equals(fetchAll_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_ex = true && (isSetEx()); - builder.append(present_ex); + list.add(present_ex); if (present_ex) - builder.append(ex); + list.add(ex); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(fetchAll_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - fetchAll_result typedOther = (fetchAll_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx()); + lastComparison = Boolean.valueOf(isSetEx()).compareTo(other.isSetEx()); if (lastComparison != 0) { return lastComparison; } if (isSetEx()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, other.ex); if (lastComparison != 0) { return lastComparison; } @@ -3783,11 +4311,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, fetchAll_result str { org.apache.thrift.protocol.TList _list8 = iprot.readListBegin(); struct.success = new ArrayList(_list8.size); - for (int _i9 = 0; _i9 < _list8.size; ++_i9) + String _elem9; + for (int _i10 = 0; _i10 < _list8.size; ++_i10) { - String _elem10; // optional - _elem10 = iprot.readString(); - struct.success.add(_elem10); + _elem9 = iprot.readString(); + struct.success.add(_elem9); } iprot.readListEnd(); } @@ -3882,11 +4410,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fetchAll_result stru { org.apache.thrift.protocol.TList _list13 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.success = new ArrayList(_list13.size); - for (int _i14 = 0; _i14 < _list13.size; ++_i14) + String _elem14; + for (int _i15 = 0; _i15 < _list13.size; ++_i15) { - String _elem15; // optional - _elem15 = iprot.readString(); - struct.success.add(_elem15); + _elem14 = iprot.readString(); + struct.success.add(_elem14); } } struct.setSuccessIsSet(true); @@ -3901,7 +4429,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fetchAll_result stru } - public static class getSchema_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class getSchema_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSchema_args"); @@ -4031,18 +4559,18 @@ public boolean equals(getSchema_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(getSchema_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - getSchema_args typedOther = (getSchema_args)other; return 0; } @@ -4147,7 +4675,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getSchema_args struc } - public static class getSchema_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class getSchema_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSchema_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); @@ -4399,45 +4927,45 @@ public boolean equals(getSchema_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_ex = true && (isSetEx()); - builder.append(present_ex); + list.add(present_ex); if (present_ex) - builder.append(ex); + list.add(ex); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(getSchema_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - getSchema_result typedOther = (getSchema_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx()); + lastComparison = Boolean.valueOf(isSetEx()).compareTo(other.isSetEx()); if (lastComparison != 0) { return lastComparison; } if (isSetEx()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, other.ex); if (lastComparison != 0) { return lastComparison; } @@ -4616,7 +5144,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getSchema_result str } - public static class getThriftSchema_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class getThriftSchema_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getThriftSchema_args"); @@ -4746,18 +5274,18 @@ public boolean equals(getThriftSchema_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(getThriftSchema_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - getThriftSchema_args typedOther = (getThriftSchema_args)other; return 0; } @@ -4862,7 +5390,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getThriftSchema_args } - public static class getThriftSchema_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class getThriftSchema_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getThriftSchema_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); @@ -5114,45 +5642,45 @@ public boolean equals(getThriftSchema_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_ex = true && (isSetEx()); - builder.append(present_ex); + list.add(present_ex); if (present_ex) - builder.append(ex); + list.add(ex); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(getThriftSchema_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - getThriftSchema_result typedOther = (getThriftSchema_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx()); + lastComparison = Boolean.valueOf(isSetEx()).compareTo(other.isSetEx()); if (lastComparison != 0) { return lastComparison; } if (isSetEx()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, other.ex); if (lastComparison != 0) { return lastComparison; } @@ -5331,7 +5859,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getThriftSchema_resu } - public static class getClusterStatus_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class getClusterStatus_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getClusterStatus_args"); @@ -5461,18 +5989,18 @@ public boolean equals(getClusterStatus_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(getClusterStatus_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - getClusterStatus_args typedOther = (getClusterStatus_args)other; return 0; } @@ -5577,7 +6105,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getClusterStatus_arg } - public static class getClusterStatus_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class getClusterStatus_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getClusterStatus_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); @@ -5829,45 +6357,45 @@ public boolean equals(getClusterStatus_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_ex = true && (isSetEx()); - builder.append(present_ex); + list.add(present_ex); if (present_ex) - builder.append(ex); + list.add(ex); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(getClusterStatus_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - getClusterStatus_result typedOther = (getClusterStatus_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx()); + lastComparison = Boolean.valueOf(isSetEx()).compareTo(other.isSetEx()); if (lastComparison != 0) { return lastComparison; } if (isSetEx()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, other.ex); if (lastComparison != 0) { return lastComparison; } @@ -6046,7 +6574,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getClusterStatus_res } - public static class getQueryPlan_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class getQueryPlan_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getQueryPlan_args"); @@ -6176,18 +6704,18 @@ public boolean equals(getQueryPlan_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(getQueryPlan_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - getQueryPlan_args typedOther = (getQueryPlan_args)other; return 0; } @@ -6292,7 +6820,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getQueryPlan_args st } - public static class getQueryPlan_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class getQueryPlan_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getQueryPlan_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); @@ -6544,45 +7072,45 @@ public boolean equals(getQueryPlan_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); boolean present_ex = true && (isSetEx()); - builder.append(present_ex); + list.add(present_ex); if (present_ex) - builder.append(ex); + list.add(ex); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(getQueryPlan_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - getQueryPlan_result typedOther = (getQueryPlan_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx()); + lastComparison = Boolean.valueOf(isSetEx()).compareTo(other.isSetEx()); if (lastComparison != 0) { return lastComparison; } if (isSetEx()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, other.ex); if (lastComparison != 0) { return lastComparison; } @@ -6761,7 +7289,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, getQueryPlan_result } - public static class clean_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class clean_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("clean_args"); @@ -6891,18 +7419,18 @@ public boolean equals(clean_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(clean_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - clean_args typedOther = (clean_args)other; return 0; } @@ -7007,7 +7535,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, clean_args struct) t } - public static class clean_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class clean_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("clean_result"); @@ -7137,18 +7665,18 @@ public boolean equals(clean_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(clean_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - clean_result typedOther = (clean_result)other; return 0; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java index 6323d34..dfb23b2 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TArrayTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TArrayTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TArrayTypeEntry"); private static final org.apache.thrift.protocol.TField OBJECT_TYPE_PTR_FIELD_DESC = new org.apache.thrift.protocol.TField("objectTypePtr", org.apache.thrift.protocol.TType.I32, (short)1); @@ -227,30 +231,30 @@ public boolean equals(TArrayTypeEntry that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_objectTypePtr = true; - builder.append(present_objectTypePtr); + list.add(present_objectTypePtr); if (present_objectTypePtr) - builder.append(objectTypePtr); + list.add(objectTypePtr); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TArrayTypeEntry other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TArrayTypeEntry typedOther = (TArrayTypeEntry)other; - lastComparison = Boolean.valueOf(isSetObjectTypePtr()).compareTo(typedOther.isSetObjectTypePtr()); + lastComparison = Boolean.valueOf(isSetObjectTypePtr()).compareTo(other.isSetObjectTypePtr()); if (lastComparison != 0) { return lastComparison; } if (isSetObjectTypePtr()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.objectTypePtr, typedOther.objectTypePtr); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.objectTypePtr, other.objectTypePtr); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java index 6b1b054..f3e60ba 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TBinaryColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TBinaryColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TBinaryColumn"); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -129,7 +133,7 @@ public TBinaryColumn( { this(); this.values = values; - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } /** @@ -137,17 +141,11 @@ public TBinaryColumn( */ public TBinaryColumn(TBinaryColumn other) { if (other.isSetValues()) { - List __this__values = new ArrayList(); - for (ByteBuffer other_element : other.values) { - ByteBuffer temp_binary_element = org.apache.thrift.TBaseHelper.copyBinary(other_element); -; - __this__values.add(temp_binary_element); - } + List __this__values = new ArrayList(other.values); this.values = __this__values; } if (other.isSetNulls()) { this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls); -; } } @@ -205,15 +203,15 @@ public void setValuesIsSet(boolean value) { } public ByteBuffer bufferForNulls() { - return nulls; + return org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void setNulls(byte[] nulls) { - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls)); + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length)); } public void setNulls(ByteBuffer nulls) { - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void unsetNulls() { @@ -315,45 +313,45 @@ public boolean equals(TBinaryColumn that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_values = true && (isSetValues()); - builder.append(present_values); + list.add(present_values); if (present_values) - builder.append(values); + list.add(values); boolean present_nulls = true && (isSetNulls()); - builder.append(present_nulls); + list.add(present_nulls); if (present_nulls) - builder.append(nulls); + list.add(nulls); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TBinaryColumn other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TBinaryColumn typedOther = (TBinaryColumn)other; - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues()); + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls()); + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls); if (lastComparison != 0) { return lastComparison; } @@ -449,11 +447,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TBinaryColumn struc { org.apache.thrift.protocol.TList _list110 = iprot.readListBegin(); struct.values = new ArrayList(_list110.size); - for (int _i111 = 0; _i111 < _list110.size; ++_i111) + ByteBuffer _elem111; + for (int _i112 = 0; _i112 < _list110.size; ++_i112) { - ByteBuffer _elem112; // optional - _elem112 = iprot.readBinary(); - struct.values.add(_elem112); + _elem111 = iprot.readBinary(); + struct.values.add(_elem111); } iprot.readListEnd(); } @@ -533,11 +531,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TBinaryColumn struct { org.apache.thrift.protocol.TList _list115 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.values = new ArrayList(_list115.size); - for (int _i116 = 0; _i116 < _list115.size; ++_i116) + ByteBuffer _elem116; + for (int _i117 = 0; _i117 < _list115.size; ++_i117) { - ByteBuffer _elem117; // optional - _elem117 = iprot.readBinary(); - struct.values.add(_elem117); + _elem116 = iprot.readBinary(); + struct.values.add(_elem116); } } struct.setValuesIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java index efd571c..dd18078 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TBoolColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TBoolColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TBoolColumn"); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -129,7 +133,7 @@ public TBoolColumn( { this(); this.values = values; - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } /** @@ -137,15 +141,11 @@ public TBoolColumn( */ public TBoolColumn(TBoolColumn other) { if (other.isSetValues()) { - List __this__values = new ArrayList(); - for (Boolean other_element : other.values) { - __this__values.add(other_element); - } + List __this__values = new ArrayList(other.values); this.values = __this__values; } if (other.isSetNulls()) { this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls); -; } } @@ -203,15 +203,15 @@ public void setValuesIsSet(boolean value) { } public ByteBuffer bufferForNulls() { - return nulls; + return org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void setNulls(byte[] nulls) { - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls)); + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length)); } public void setNulls(ByteBuffer nulls) { - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void unsetNulls() { @@ -313,45 +313,45 @@ public boolean equals(TBoolColumn that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_values = true && (isSetValues()); - builder.append(present_values); + list.add(present_values); if (present_values) - builder.append(values); + list.add(values); boolean present_nulls = true && (isSetNulls()); - builder.append(present_nulls); + list.add(present_nulls); if (present_nulls) - builder.append(nulls); + list.add(nulls); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TBoolColumn other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TBoolColumn typedOther = (TBoolColumn)other; - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues()); + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls()); + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls); if (lastComparison != 0) { return lastComparison; } @@ -447,11 +447,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TBoolColumn struct) { org.apache.thrift.protocol.TList _list54 = iprot.readListBegin(); struct.values = new ArrayList(_list54.size); - for (int _i55 = 0; _i55 < _list54.size; ++_i55) + boolean _elem55; + for (int _i56 = 0; _i56 < _list54.size; ++_i56) { - boolean _elem56; // optional - _elem56 = iprot.readBool(); - struct.values.add(_elem56); + _elem55 = iprot.readBool(); + struct.values.add(_elem55); } iprot.readListEnd(); } @@ -531,11 +531,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TBoolColumn struct) { org.apache.thrift.protocol.TList _list59 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.BOOL, iprot.readI32()); struct.values = new ArrayList(_list59.size); - for (int _i60 = 0; _i60 < _list59.size; ++_i60) + boolean _elem60; + for (int _i61 = 0; _i61 < _list59.size; ++_i61) { - boolean _elem61; // optional - _elem61 = iprot.readBool(); - struct.values.add(_elem61); + _elem60 = iprot.readBool(); + struct.values.add(_elem60); } } struct.setValuesIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java index c7495ee..9e9dd3f 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TBoolValue implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TBoolValue implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TBoolValue"); private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.BOOL, (short)1); @@ -105,7 +109,7 @@ public String getFieldName() { // isset id assignments private static final int __VALUE_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.VALUE}; + private static final _Fields optionals[] = {_Fields.VALUE}; 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); @@ -220,30 +224,30 @@ public boolean equals(TBoolValue that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_value = true && (isSetValue()); - builder.append(present_value); + list.add(present_value); if (present_value) - builder.append(value); + list.add(value); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TBoolValue other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TBoolValue typedOther = (TBoolValue)other; - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue()); + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); if (lastComparison != 0) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java index 169bfde..e3b3924 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TByteColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TByteColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TByteColumn"); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -129,7 +133,7 @@ public TByteColumn( { this(); this.values = values; - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } /** @@ -137,15 +141,11 @@ public TByteColumn( */ public TByteColumn(TByteColumn other) { if (other.isSetValues()) { - List __this__values = new ArrayList(); - for (Byte other_element : other.values) { - __this__values.add(other_element); - } + List __this__values = new ArrayList(other.values); this.values = __this__values; } if (other.isSetNulls()) { this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls); -; } } @@ -203,15 +203,15 @@ public void setValuesIsSet(boolean value) { } public ByteBuffer bufferForNulls() { - return nulls; + return org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void setNulls(byte[] nulls) { - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls)); + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length)); } public void setNulls(ByteBuffer nulls) { - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void unsetNulls() { @@ -313,45 +313,45 @@ public boolean equals(TByteColumn that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_values = true && (isSetValues()); - builder.append(present_values); + list.add(present_values); if (present_values) - builder.append(values); + list.add(values); boolean present_nulls = true && (isSetNulls()); - builder.append(present_nulls); + list.add(present_nulls); if (present_nulls) - builder.append(nulls); + list.add(nulls); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TByteColumn other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TByteColumn typedOther = (TByteColumn)other; - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues()); + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls()); + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls); if (lastComparison != 0) { return lastComparison; } @@ -447,11 +447,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TByteColumn struct) { org.apache.thrift.protocol.TList _list62 = iprot.readListBegin(); struct.values = new ArrayList(_list62.size); - for (int _i63 = 0; _i63 < _list62.size; ++_i63) + byte _elem63; + for (int _i64 = 0; _i64 < _list62.size; ++_i64) { - byte _elem64; // optional - _elem64 = iprot.readByte(); - struct.values.add(_elem64); + _elem63 = iprot.readByte(); + struct.values.add(_elem63); } iprot.readListEnd(); } @@ -531,11 +531,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TByteColumn struct) { org.apache.thrift.protocol.TList _list67 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.BYTE, iprot.readI32()); struct.values = new ArrayList(_list67.size); - for (int _i68 = 0; _i68 < _list67.size; ++_i68) + byte _elem68; + for (int _i69 = 0; _i69 < _list67.size; ++_i69) { - byte _elem69; // optional - _elem69 = iprot.readByte(); - struct.values.add(_elem69); + _elem68 = iprot.readByte(); + struct.values.add(_elem68); } } struct.setValuesIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java index 23d9693..3a5640a 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TByteValue implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TByteValue implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TByteValue"); private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.BYTE, (short)1); @@ -105,7 +109,7 @@ public String getFieldName() { // isset id assignments private static final int __VALUE_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.VALUE}; + private static final _Fields optionals[] = {_Fields.VALUE}; 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); @@ -220,30 +224,30 @@ public boolean equals(TByteValue that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_value = true && (isSetValue()); - builder.append(present_value); + list.add(present_value); if (present_value) - builder.append(value); + list.add(value); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TByteValue other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TByteValue typedOther = (TByteValue)other; - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue()); + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); if (lastComparison != 0) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java index 54851b8..a6a53a2 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,12 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") public class TCLIService { public interface Iface { @@ -77,43 +81,43 @@ public interface AsyncIface { - public void OpenSession(TOpenSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void OpenSession(TOpenSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void CloseSession(TCloseSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void CloseSession(TCloseSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void GetInfo(TGetInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void GetInfo(TGetInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void ExecuteStatement(TExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void ExecuteStatement(TExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void GetTypeInfo(TGetTypeInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void GetTypeInfo(TGetTypeInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void GetCatalogs(TGetCatalogsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void GetCatalogs(TGetCatalogsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void GetSchemas(TGetSchemasReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void GetSchemas(TGetSchemasReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void GetTables(TGetTablesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void GetTables(TGetTablesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void GetTableTypes(TGetTableTypesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void GetTableTypes(TGetTableTypesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void GetColumns(TGetColumnsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void GetColumns(TGetColumnsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void GetFunctions(TGetFunctionsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void GetFunctions(TGetFunctionsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void GetOperationStatus(TGetOperationStatusReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void GetOperationStatus(TGetOperationStatusReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void CancelOperation(TCancelOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void CancelOperation(TCancelOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void CloseOperation(TCloseOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void CloseOperation(TCloseOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void GetResultSetMetadata(TGetResultSetMetadataReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void GetResultSetMetadata(TGetResultSetMetadataReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void FetchResults(TFetchResultsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void FetchResults(TFetchResultsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void GetDelegationToken(TGetDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void GetDelegationToken(TGetDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void CancelDelegationToken(TCancelDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void CancelDelegationToken(TCancelDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void RenewDelegationToken(TRenewDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void RenewDelegationToken(TRenewDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; } @@ -592,7 +596,7 @@ public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, super(protocolFactory, clientManager, transport); } - public void OpenSession(TOpenSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void OpenSession(TOpenSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); OpenSession_call method_call = new OpenSession_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -601,7 +605,7 @@ public void OpenSession(TOpenSessionReq req, org.apache.thrift.async.AsyncMethod public static class OpenSession_call extends org.apache.thrift.async.TAsyncMethodCall { private TOpenSessionReq req; - public OpenSession_call(TOpenSessionReq req, 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 { + public OpenSession_call(TOpenSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -624,7 +628,7 @@ public TOpenSessionResp getResult() throws org.apache.thrift.TException { } } - public void CloseSession(TCloseSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void CloseSession(TCloseSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); CloseSession_call method_call = new CloseSession_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -633,7 +637,7 @@ public void CloseSession(TCloseSessionReq req, org.apache.thrift.async.AsyncMeth public static class CloseSession_call extends org.apache.thrift.async.TAsyncMethodCall { private TCloseSessionReq req; - public CloseSession_call(TCloseSessionReq req, 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 { + public CloseSession_call(TCloseSessionReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -656,7 +660,7 @@ public TCloseSessionResp getResult() throws org.apache.thrift.TException { } } - public void GetInfo(TGetInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void GetInfo(TGetInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); GetInfo_call method_call = new GetInfo_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -665,7 +669,7 @@ public void GetInfo(TGetInfoReq req, org.apache.thrift.async.AsyncMethodCallback public static class GetInfo_call extends org.apache.thrift.async.TAsyncMethodCall { private TGetInfoReq req; - public GetInfo_call(TGetInfoReq req, 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 { + public GetInfo_call(TGetInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -688,7 +692,7 @@ public TGetInfoResp getResult() throws org.apache.thrift.TException { } } - public void ExecuteStatement(TExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void ExecuteStatement(TExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); ExecuteStatement_call method_call = new ExecuteStatement_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -697,7 +701,7 @@ public void ExecuteStatement(TExecuteStatementReq req, org.apache.thrift.async.A public static class ExecuteStatement_call extends org.apache.thrift.async.TAsyncMethodCall { private TExecuteStatementReq req; - public ExecuteStatement_call(TExecuteStatementReq req, 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 { + public ExecuteStatement_call(TExecuteStatementReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -720,7 +724,7 @@ public TExecuteStatementResp getResult() throws org.apache.thrift.TException { } } - public void GetTypeInfo(TGetTypeInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void GetTypeInfo(TGetTypeInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); GetTypeInfo_call method_call = new GetTypeInfo_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -729,7 +733,7 @@ public void GetTypeInfo(TGetTypeInfoReq req, org.apache.thrift.async.AsyncMethod public static class GetTypeInfo_call extends org.apache.thrift.async.TAsyncMethodCall { private TGetTypeInfoReq req; - public GetTypeInfo_call(TGetTypeInfoReq req, 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 { + public GetTypeInfo_call(TGetTypeInfoReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -752,7 +756,7 @@ public TGetTypeInfoResp getResult() throws org.apache.thrift.TException { } } - public void GetCatalogs(TGetCatalogsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void GetCatalogs(TGetCatalogsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); GetCatalogs_call method_call = new GetCatalogs_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -761,7 +765,7 @@ public void GetCatalogs(TGetCatalogsReq req, org.apache.thrift.async.AsyncMethod public static class GetCatalogs_call extends org.apache.thrift.async.TAsyncMethodCall { private TGetCatalogsReq req; - public GetCatalogs_call(TGetCatalogsReq req, 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 { + public GetCatalogs_call(TGetCatalogsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -784,7 +788,7 @@ public TGetCatalogsResp getResult() throws org.apache.thrift.TException { } } - public void GetSchemas(TGetSchemasReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void GetSchemas(TGetSchemasReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); GetSchemas_call method_call = new GetSchemas_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -793,7 +797,7 @@ public void GetSchemas(TGetSchemasReq req, org.apache.thrift.async.AsyncMethodCa public static class GetSchemas_call extends org.apache.thrift.async.TAsyncMethodCall { private TGetSchemasReq req; - public GetSchemas_call(TGetSchemasReq req, 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 { + public GetSchemas_call(TGetSchemasReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -816,7 +820,7 @@ public TGetSchemasResp getResult() throws org.apache.thrift.TException { } } - public void GetTables(TGetTablesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void GetTables(TGetTablesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); GetTables_call method_call = new GetTables_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -825,7 +829,7 @@ public void GetTables(TGetTablesReq req, org.apache.thrift.async.AsyncMethodCall public static class GetTables_call extends org.apache.thrift.async.TAsyncMethodCall { private TGetTablesReq req; - public GetTables_call(TGetTablesReq req, 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 { + public GetTables_call(TGetTablesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -848,7 +852,7 @@ public TGetTablesResp getResult() throws org.apache.thrift.TException { } } - public void GetTableTypes(TGetTableTypesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void GetTableTypes(TGetTableTypesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); GetTableTypes_call method_call = new GetTableTypes_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -857,7 +861,7 @@ public void GetTableTypes(TGetTableTypesReq req, org.apache.thrift.async.AsyncMe public static class GetTableTypes_call extends org.apache.thrift.async.TAsyncMethodCall { private TGetTableTypesReq req; - public GetTableTypes_call(TGetTableTypesReq req, 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 { + public GetTableTypes_call(TGetTableTypesReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -880,7 +884,7 @@ public TGetTableTypesResp getResult() throws org.apache.thrift.TException { } } - public void GetColumns(TGetColumnsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void GetColumns(TGetColumnsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); GetColumns_call method_call = new GetColumns_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -889,7 +893,7 @@ public void GetColumns(TGetColumnsReq req, org.apache.thrift.async.AsyncMethodCa public static class GetColumns_call extends org.apache.thrift.async.TAsyncMethodCall { private TGetColumnsReq req; - public GetColumns_call(TGetColumnsReq req, 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 { + public GetColumns_call(TGetColumnsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -912,7 +916,7 @@ public TGetColumnsResp getResult() throws org.apache.thrift.TException { } } - public void GetFunctions(TGetFunctionsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void GetFunctions(TGetFunctionsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); GetFunctions_call method_call = new GetFunctions_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -921,7 +925,7 @@ public void GetFunctions(TGetFunctionsReq req, org.apache.thrift.async.AsyncMeth public static class GetFunctions_call extends org.apache.thrift.async.TAsyncMethodCall { private TGetFunctionsReq req; - public GetFunctions_call(TGetFunctionsReq req, 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 { + public GetFunctions_call(TGetFunctionsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -944,7 +948,7 @@ public TGetFunctionsResp getResult() throws org.apache.thrift.TException { } } - public void GetOperationStatus(TGetOperationStatusReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void GetOperationStatus(TGetOperationStatusReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); GetOperationStatus_call method_call = new GetOperationStatus_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -953,7 +957,7 @@ public void GetOperationStatus(TGetOperationStatusReq req, org.apache.thrift.asy public static class GetOperationStatus_call extends org.apache.thrift.async.TAsyncMethodCall { private TGetOperationStatusReq req; - public GetOperationStatus_call(TGetOperationStatusReq req, 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 { + public GetOperationStatus_call(TGetOperationStatusReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -976,7 +980,7 @@ public TGetOperationStatusResp getResult() throws org.apache.thrift.TException { } } - public void CancelOperation(TCancelOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void CancelOperation(TCancelOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); CancelOperation_call method_call = new CancelOperation_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -985,7 +989,7 @@ public void CancelOperation(TCancelOperationReq req, org.apache.thrift.async.Asy public static class CancelOperation_call extends org.apache.thrift.async.TAsyncMethodCall { private TCancelOperationReq req; - public CancelOperation_call(TCancelOperationReq req, 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 { + public CancelOperation_call(TCancelOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -1008,7 +1012,7 @@ public TCancelOperationResp getResult() throws org.apache.thrift.TException { } } - public void CloseOperation(TCloseOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void CloseOperation(TCloseOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); CloseOperation_call method_call = new CloseOperation_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -1017,7 +1021,7 @@ public void CloseOperation(TCloseOperationReq req, org.apache.thrift.async.Async public static class CloseOperation_call extends org.apache.thrift.async.TAsyncMethodCall { private TCloseOperationReq req; - public CloseOperation_call(TCloseOperationReq req, 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 { + public CloseOperation_call(TCloseOperationReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -1040,7 +1044,7 @@ public TCloseOperationResp getResult() throws org.apache.thrift.TException { } } - public void GetResultSetMetadata(TGetResultSetMetadataReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void GetResultSetMetadata(TGetResultSetMetadataReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); GetResultSetMetadata_call method_call = new GetResultSetMetadata_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -1049,7 +1053,7 @@ public void GetResultSetMetadata(TGetResultSetMetadataReq req, org.apache.thrift public static class GetResultSetMetadata_call extends org.apache.thrift.async.TAsyncMethodCall { private TGetResultSetMetadataReq req; - public GetResultSetMetadata_call(TGetResultSetMetadataReq req, 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 { + public GetResultSetMetadata_call(TGetResultSetMetadataReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -1072,7 +1076,7 @@ public TGetResultSetMetadataResp getResult() throws org.apache.thrift.TException } } - public void FetchResults(TFetchResultsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void FetchResults(TFetchResultsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); FetchResults_call method_call = new FetchResults_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -1081,7 +1085,7 @@ public void FetchResults(TFetchResultsReq req, org.apache.thrift.async.AsyncMeth public static class FetchResults_call extends org.apache.thrift.async.TAsyncMethodCall { private TFetchResultsReq req; - public FetchResults_call(TFetchResultsReq req, 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 { + public FetchResults_call(TFetchResultsReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -1104,7 +1108,7 @@ public TFetchResultsResp getResult() throws org.apache.thrift.TException { } } - public void GetDelegationToken(TGetDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void GetDelegationToken(TGetDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); GetDelegationToken_call method_call = new GetDelegationToken_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -1113,7 +1117,7 @@ public void GetDelegationToken(TGetDelegationTokenReq req, org.apache.thrift.asy public static class GetDelegationToken_call extends org.apache.thrift.async.TAsyncMethodCall { private TGetDelegationTokenReq req; - public GetDelegationToken_call(TGetDelegationTokenReq req, 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 { + public GetDelegationToken_call(TGetDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -1136,7 +1140,7 @@ public TGetDelegationTokenResp getResult() throws org.apache.thrift.TException { } } - public void CancelDelegationToken(TCancelDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void CancelDelegationToken(TCancelDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); CancelDelegationToken_call method_call = new CancelDelegationToken_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -1145,7 +1149,7 @@ public void CancelDelegationToken(TCancelDelegationTokenReq req, org.apache.thri public static class CancelDelegationToken_call extends org.apache.thrift.async.TAsyncMethodCall { private TCancelDelegationTokenReq req; - public CancelDelegationToken_call(TCancelDelegationTokenReq req, 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 { + public CancelDelegationToken_call(TCancelDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -1168,7 +1172,7 @@ public TCancelDelegationTokenResp getResult() throws org.apache.thrift.TExceptio } } - public void RenewDelegationToken(TRenewDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void RenewDelegationToken(TRenewDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); RenewDelegationToken_call method_call = new RenewDelegationToken_call(req, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; @@ -1177,7 +1181,7 @@ public void RenewDelegationToken(TRenewDelegationTokenReq req, org.apache.thrift public static class RenewDelegationToken_call extends org.apache.thrift.async.TAsyncMethodCall { private TRenewDelegationTokenReq req; - public RenewDelegationToken_call(TRenewDelegationTokenReq req, 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 { + public RenewDelegationToken_call(TRenewDelegationTokenReq req, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.req = req; } @@ -1617,7 +1621,1011 @@ public RenewDelegationToken_result getResult(I iface, RenewDelegationToken_args } - public static class OpenSession_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class AsyncProcessor extends org.apache.thrift.TBaseAsyncProcessor { + private static final Logger LOGGER = LoggerFactory.getLogger(AsyncProcessor.class.getName()); + public AsyncProcessor(I iface) { + super(iface, getProcessMap(new HashMap>())); + } + + protected AsyncProcessor(I iface, Map> processMap) { + super(iface, getProcessMap(processMap)); + } + + private static Map> getProcessMap(Map> processMap) { + processMap.put("OpenSession", new OpenSession()); + processMap.put("CloseSession", new CloseSession()); + processMap.put("GetInfo", new GetInfo()); + processMap.put("ExecuteStatement", new ExecuteStatement()); + processMap.put("GetTypeInfo", new GetTypeInfo()); + processMap.put("GetCatalogs", new GetCatalogs()); + processMap.put("GetSchemas", new GetSchemas()); + processMap.put("GetTables", new GetTables()); + processMap.put("GetTableTypes", new GetTableTypes()); + processMap.put("GetColumns", new GetColumns()); + processMap.put("GetFunctions", new GetFunctions()); + processMap.put("GetOperationStatus", new GetOperationStatus()); + processMap.put("CancelOperation", new CancelOperation()); + processMap.put("CloseOperation", new CloseOperation()); + processMap.put("GetResultSetMetadata", new GetResultSetMetadata()); + processMap.put("FetchResults", new FetchResults()); + processMap.put("GetDelegationToken", new GetDelegationToken()); + processMap.put("CancelDelegationToken", new CancelDelegationToken()); + processMap.put("RenewDelegationToken", new RenewDelegationToken()); + return processMap; + } + + public static class OpenSession extends org.apache.thrift.AsyncProcessFunction { + public OpenSession() { + super("OpenSession"); + } + + public OpenSession_args getEmptyArgsInstance() { + return new OpenSession_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TOpenSessionResp o) { + OpenSession_result result = new OpenSession_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + OpenSession_result result = new OpenSession_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, OpenSession_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.OpenSession(args.req,resultHandler); + } + } + + public static class CloseSession extends org.apache.thrift.AsyncProcessFunction { + public CloseSession() { + super("CloseSession"); + } + + public CloseSession_args getEmptyArgsInstance() { + return new CloseSession_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TCloseSessionResp o) { + CloseSession_result result = new CloseSession_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + CloseSession_result result = new CloseSession_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, CloseSession_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.CloseSession(args.req,resultHandler); + } + } + + public static class GetInfo extends org.apache.thrift.AsyncProcessFunction { + public GetInfo() { + super("GetInfo"); + } + + public GetInfo_args getEmptyArgsInstance() { + return new GetInfo_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TGetInfoResp o) { + GetInfo_result result = new GetInfo_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + GetInfo_result result = new GetInfo_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, GetInfo_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.GetInfo(args.req,resultHandler); + } + } + + public static class ExecuteStatement extends org.apache.thrift.AsyncProcessFunction { + public ExecuteStatement() { + super("ExecuteStatement"); + } + + public ExecuteStatement_args getEmptyArgsInstance() { + return new ExecuteStatement_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TExecuteStatementResp o) { + ExecuteStatement_result result = new ExecuteStatement_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + ExecuteStatement_result result = new ExecuteStatement_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, ExecuteStatement_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.ExecuteStatement(args.req,resultHandler); + } + } + + public static class GetTypeInfo extends org.apache.thrift.AsyncProcessFunction { + public GetTypeInfo() { + super("GetTypeInfo"); + } + + public GetTypeInfo_args getEmptyArgsInstance() { + return new GetTypeInfo_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TGetTypeInfoResp o) { + GetTypeInfo_result result = new GetTypeInfo_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + GetTypeInfo_result result = new GetTypeInfo_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, GetTypeInfo_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.GetTypeInfo(args.req,resultHandler); + } + } + + public static class GetCatalogs extends org.apache.thrift.AsyncProcessFunction { + public GetCatalogs() { + super("GetCatalogs"); + } + + public GetCatalogs_args getEmptyArgsInstance() { + return new GetCatalogs_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TGetCatalogsResp o) { + GetCatalogs_result result = new GetCatalogs_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + GetCatalogs_result result = new GetCatalogs_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, GetCatalogs_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.GetCatalogs(args.req,resultHandler); + } + } + + public static class GetSchemas extends org.apache.thrift.AsyncProcessFunction { + public GetSchemas() { + super("GetSchemas"); + } + + public GetSchemas_args getEmptyArgsInstance() { + return new GetSchemas_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TGetSchemasResp o) { + GetSchemas_result result = new GetSchemas_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + GetSchemas_result result = new GetSchemas_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, GetSchemas_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.GetSchemas(args.req,resultHandler); + } + } + + public static class GetTables extends org.apache.thrift.AsyncProcessFunction { + public GetTables() { + super("GetTables"); + } + + public GetTables_args getEmptyArgsInstance() { + return new GetTables_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TGetTablesResp o) { + GetTables_result result = new GetTables_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + GetTables_result result = new GetTables_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, GetTables_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.GetTables(args.req,resultHandler); + } + } + + public static class GetTableTypes extends org.apache.thrift.AsyncProcessFunction { + public GetTableTypes() { + super("GetTableTypes"); + } + + public GetTableTypes_args getEmptyArgsInstance() { + return new GetTableTypes_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TGetTableTypesResp o) { + GetTableTypes_result result = new GetTableTypes_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + GetTableTypes_result result = new GetTableTypes_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, GetTableTypes_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.GetTableTypes(args.req,resultHandler); + } + } + + public static class GetColumns extends org.apache.thrift.AsyncProcessFunction { + public GetColumns() { + super("GetColumns"); + } + + public GetColumns_args getEmptyArgsInstance() { + return new GetColumns_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TGetColumnsResp o) { + GetColumns_result result = new GetColumns_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + GetColumns_result result = new GetColumns_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, GetColumns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.GetColumns(args.req,resultHandler); + } + } + + public static class GetFunctions extends org.apache.thrift.AsyncProcessFunction { + public GetFunctions() { + super("GetFunctions"); + } + + public GetFunctions_args getEmptyArgsInstance() { + return new GetFunctions_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TGetFunctionsResp o) { + GetFunctions_result result = new GetFunctions_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + GetFunctions_result result = new GetFunctions_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, GetFunctions_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.GetFunctions(args.req,resultHandler); + } + } + + public static class GetOperationStatus extends org.apache.thrift.AsyncProcessFunction { + public GetOperationStatus() { + super("GetOperationStatus"); + } + + public GetOperationStatus_args getEmptyArgsInstance() { + return new GetOperationStatus_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TGetOperationStatusResp o) { + GetOperationStatus_result result = new GetOperationStatus_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + GetOperationStatus_result result = new GetOperationStatus_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, GetOperationStatus_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.GetOperationStatus(args.req,resultHandler); + } + } + + public static class CancelOperation extends org.apache.thrift.AsyncProcessFunction { + public CancelOperation() { + super("CancelOperation"); + } + + public CancelOperation_args getEmptyArgsInstance() { + return new CancelOperation_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TCancelOperationResp o) { + CancelOperation_result result = new CancelOperation_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + CancelOperation_result result = new CancelOperation_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, CancelOperation_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.CancelOperation(args.req,resultHandler); + } + } + + public static class CloseOperation extends org.apache.thrift.AsyncProcessFunction { + public CloseOperation() { + super("CloseOperation"); + } + + public CloseOperation_args getEmptyArgsInstance() { + return new CloseOperation_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TCloseOperationResp o) { + CloseOperation_result result = new CloseOperation_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + CloseOperation_result result = new CloseOperation_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, CloseOperation_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.CloseOperation(args.req,resultHandler); + } + } + + public static class GetResultSetMetadata extends org.apache.thrift.AsyncProcessFunction { + public GetResultSetMetadata() { + super("GetResultSetMetadata"); + } + + public GetResultSetMetadata_args getEmptyArgsInstance() { + return new GetResultSetMetadata_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TGetResultSetMetadataResp o) { + GetResultSetMetadata_result result = new GetResultSetMetadata_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + GetResultSetMetadata_result result = new GetResultSetMetadata_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, GetResultSetMetadata_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.GetResultSetMetadata(args.req,resultHandler); + } + } + + public static class FetchResults extends org.apache.thrift.AsyncProcessFunction { + public FetchResults() { + super("FetchResults"); + } + + public FetchResults_args getEmptyArgsInstance() { + return new FetchResults_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TFetchResultsResp o) { + FetchResults_result result = new FetchResults_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + FetchResults_result result = new FetchResults_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, FetchResults_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.FetchResults(args.req,resultHandler); + } + } + + public static class GetDelegationToken extends org.apache.thrift.AsyncProcessFunction { + public GetDelegationToken() { + super("GetDelegationToken"); + } + + public GetDelegationToken_args getEmptyArgsInstance() { + return new GetDelegationToken_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TGetDelegationTokenResp o) { + GetDelegationToken_result result = new GetDelegationToken_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + GetDelegationToken_result result = new GetDelegationToken_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, GetDelegationToken_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.GetDelegationToken(args.req,resultHandler); + } + } + + public static class CancelDelegationToken extends org.apache.thrift.AsyncProcessFunction { + public CancelDelegationToken() { + super("CancelDelegationToken"); + } + + public CancelDelegationToken_args getEmptyArgsInstance() { + return new CancelDelegationToken_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TCancelDelegationTokenResp o) { + CancelDelegationToken_result result = new CancelDelegationToken_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + CancelDelegationToken_result result = new CancelDelegationToken_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, CancelDelegationToken_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.CancelDelegationToken(args.req,resultHandler); + } + } + + public static class RenewDelegationToken extends org.apache.thrift.AsyncProcessFunction { + public RenewDelegationToken() { + super("RenewDelegationToken"); + } + + public RenewDelegationToken_args getEmptyArgsInstance() { + return new RenewDelegationToken_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(TRenewDelegationTokenResp o) { + RenewDelegationToken_result result = new RenewDelegationToken_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + RenewDelegationToken_result result = new RenewDelegationToken_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, RenewDelegationToken_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.RenewDelegationToken(args.req,resultHandler); + } + } + + } + + public static class OpenSession_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OpenSession_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -1811,30 +2819,30 @@ public boolean equals(OpenSession_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(OpenSession_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - OpenSession_args typedOther = (OpenSession_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -1980,7 +2988,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, OpenSession_args str } - public static class OpenSession_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class OpenSession_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OpenSession_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); @@ -2174,30 +3182,30 @@ public boolean equals(OpenSession_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(OpenSession_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - OpenSession_result typedOther = (OpenSession_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -2343,7 +3351,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, OpenSession_result s } - public static class CloseSession_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class CloseSession_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CloseSession_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -2537,30 +3545,30 @@ public boolean equals(CloseSession_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CloseSession_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CloseSession_args typedOther = (CloseSession_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -2706,7 +3714,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CloseSession_args st } - public static class CloseSession_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class CloseSession_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CloseSession_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); @@ -2900,30 +3908,30 @@ public boolean equals(CloseSession_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CloseSession_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CloseSession_result typedOther = (CloseSession_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -3069,7 +4077,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CloseSession_result } - public static class GetInfo_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetInfo_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetInfo_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -3263,30 +4271,30 @@ public boolean equals(GetInfo_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetInfo_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetInfo_args typedOther = (GetInfo_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -3432,7 +4440,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetInfo_args struct) } - public static class GetInfo_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetInfo_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetInfo_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); @@ -3626,30 +4634,30 @@ public boolean equals(GetInfo_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetInfo_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetInfo_result typedOther = (GetInfo_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -3795,7 +4803,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetInfo_result struc } - public static class ExecuteStatement_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class ExecuteStatement_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExecuteStatement_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -3989,30 +4997,30 @@ public boolean equals(ExecuteStatement_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ExecuteStatement_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ExecuteStatement_args typedOther = (ExecuteStatement_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -4158,7 +5166,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ExecuteStatement_arg } - public static class ExecuteStatement_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class ExecuteStatement_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ExecuteStatement_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); @@ -4352,30 +5360,30 @@ public boolean equals(ExecuteStatement_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(ExecuteStatement_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - ExecuteStatement_result typedOther = (ExecuteStatement_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -4521,7 +5529,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ExecuteStatement_res } - public static class GetTypeInfo_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetTypeInfo_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetTypeInfo_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -4715,30 +5723,30 @@ public boolean equals(GetTypeInfo_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetTypeInfo_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetTypeInfo_args typedOther = (GetTypeInfo_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -4884,7 +5892,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTypeInfo_args str } - public static class GetTypeInfo_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetTypeInfo_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetTypeInfo_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); @@ -5078,30 +6086,30 @@ public boolean equals(GetTypeInfo_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetTypeInfo_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetTypeInfo_result typedOther = (GetTypeInfo_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -5247,7 +6255,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTypeInfo_result s } - public static class GetCatalogs_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetCatalogs_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetCatalogs_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -5441,30 +6449,30 @@ public boolean equals(GetCatalogs_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetCatalogs_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetCatalogs_args typedOther = (GetCatalogs_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -5610,7 +6618,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetCatalogs_args str } - public static class GetCatalogs_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetCatalogs_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetCatalogs_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); @@ -5804,30 +6812,30 @@ public boolean equals(GetCatalogs_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetCatalogs_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetCatalogs_result typedOther = (GetCatalogs_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -5973,7 +6981,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetCatalogs_result s } - public static class GetSchemas_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetSchemas_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetSchemas_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -6167,30 +7175,30 @@ public boolean equals(GetSchemas_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetSchemas_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetSchemas_args typedOther = (GetSchemas_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -6336,7 +7344,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetSchemas_args stru } - public static class GetSchemas_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetSchemas_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetSchemas_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); @@ -6530,30 +7538,30 @@ public boolean equals(GetSchemas_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetSchemas_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetSchemas_result typedOther = (GetSchemas_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -6699,7 +7707,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetSchemas_result st } - public static class GetTables_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetTables_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetTables_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -6893,30 +7901,30 @@ public boolean equals(GetTables_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetTables_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetTables_args typedOther = (GetTables_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -7062,7 +8070,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTables_args struc } - public static class GetTables_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetTables_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetTables_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); @@ -7256,30 +8264,30 @@ public boolean equals(GetTables_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetTables_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetTables_result typedOther = (GetTables_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -7425,7 +8433,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTables_result str } - public static class GetTableTypes_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetTableTypes_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetTableTypes_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -7619,30 +8627,30 @@ public boolean equals(GetTableTypes_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetTableTypes_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetTableTypes_args typedOther = (GetTableTypes_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -7788,7 +8796,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTableTypes_args s } - public static class GetTableTypes_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetTableTypes_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetTableTypes_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); @@ -7982,30 +8990,30 @@ public boolean equals(GetTableTypes_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetTableTypes_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetTableTypes_result typedOther = (GetTableTypes_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -8151,7 +9159,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTableTypes_result } - public static class GetColumns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetColumns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetColumns_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -8345,30 +9353,30 @@ public boolean equals(GetColumns_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetColumns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetColumns_args typedOther = (GetColumns_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -8514,7 +9522,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetColumns_args stru } - public static class GetColumns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetColumns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetColumns_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); @@ -8708,30 +9716,30 @@ public boolean equals(GetColumns_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetColumns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetColumns_result typedOther = (GetColumns_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -8877,7 +9885,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetColumns_result st } - public static class GetFunctions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetFunctions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetFunctions_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -9071,30 +10079,30 @@ public boolean equals(GetFunctions_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetFunctions_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetFunctions_args typedOther = (GetFunctions_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -9240,7 +10248,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetFunctions_args st } - public static class GetFunctions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetFunctions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetFunctions_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); @@ -9434,30 +10442,30 @@ public boolean equals(GetFunctions_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetFunctions_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetFunctions_result typedOther = (GetFunctions_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -9603,7 +10611,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetFunctions_result } - public static class GetOperationStatus_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetOperationStatus_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetOperationStatus_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -9797,30 +10805,30 @@ public boolean equals(GetOperationStatus_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetOperationStatus_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetOperationStatus_args typedOther = (GetOperationStatus_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -9966,7 +10974,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOperationStatus_a } - public static class GetOperationStatus_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetOperationStatus_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetOperationStatus_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); @@ -10160,30 +11168,30 @@ public boolean equals(GetOperationStatus_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetOperationStatus_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetOperationStatus_result typedOther = (GetOperationStatus_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -10329,7 +11337,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOperationStatus_r } - public static class CancelOperation_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class CancelOperation_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CancelOperation_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -10523,30 +11531,30 @@ public boolean equals(CancelOperation_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CancelOperation_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CancelOperation_args typedOther = (CancelOperation_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -10692,7 +11700,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CancelOperation_args } - public static class CancelOperation_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class CancelOperation_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CancelOperation_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); @@ -10886,30 +11894,30 @@ public boolean equals(CancelOperation_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CancelOperation_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CancelOperation_result typedOther = (CancelOperation_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -11055,7 +12063,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CancelOperation_resu } - public static class CloseOperation_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class CloseOperation_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CloseOperation_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -11249,30 +12257,30 @@ public boolean equals(CloseOperation_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CloseOperation_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CloseOperation_args typedOther = (CloseOperation_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -11418,7 +12426,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CloseOperation_args } - public static class CloseOperation_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class CloseOperation_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CloseOperation_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); @@ -11612,30 +12620,30 @@ public boolean equals(CloseOperation_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CloseOperation_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CloseOperation_result typedOther = (CloseOperation_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -11781,7 +12789,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CloseOperation_resul } - public static class GetResultSetMetadata_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetResultSetMetadata_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetResultSetMetadata_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -11975,30 +12983,30 @@ public boolean equals(GetResultSetMetadata_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetResultSetMetadata_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetResultSetMetadata_args typedOther = (GetResultSetMetadata_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -12144,7 +13152,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetResultSetMetadata } - public static class GetResultSetMetadata_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetResultSetMetadata_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetResultSetMetadata_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); @@ -12338,30 +13346,30 @@ public boolean equals(GetResultSetMetadata_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetResultSetMetadata_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetResultSetMetadata_result typedOther = (GetResultSetMetadata_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -12507,7 +13515,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetResultSetMetadata } - public static class FetchResults_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class FetchResults_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FetchResults_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -12701,30 +13709,30 @@ public boolean equals(FetchResults_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(FetchResults_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - FetchResults_args typedOther = (FetchResults_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -12870,7 +13878,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FetchResults_args st } - public static class FetchResults_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class FetchResults_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FetchResults_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); @@ -13064,30 +14072,30 @@ public boolean equals(FetchResults_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(FetchResults_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - FetchResults_result typedOther = (FetchResults_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -13233,7 +14241,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FetchResults_result } - public static class GetDelegationToken_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetDelegationToken_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetDelegationToken_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -13427,30 +14435,30 @@ public boolean equals(GetDelegationToken_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetDelegationToken_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetDelegationToken_args typedOther = (GetDelegationToken_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -13596,7 +14604,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetDelegationToken_a } - public static class GetDelegationToken_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class GetDelegationToken_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetDelegationToken_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); @@ -13790,30 +14798,30 @@ public boolean equals(GetDelegationToken_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(GetDelegationToken_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - GetDelegationToken_result typedOther = (GetDelegationToken_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -13959,7 +14967,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetDelegationToken_r } - public static class CancelDelegationToken_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class CancelDelegationToken_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CancelDelegationToken_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -14153,30 +15161,30 @@ public boolean equals(CancelDelegationToken_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CancelDelegationToken_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CancelDelegationToken_args typedOther = (CancelDelegationToken_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -14322,7 +15330,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CancelDelegationToke } - public static class CancelDelegationToken_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class CancelDelegationToken_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CancelDelegationToken_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); @@ -14516,30 +15524,30 @@ public boolean equals(CancelDelegationToken_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(CancelDelegationToken_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - CancelDelegationToken_result typedOther = (CancelDelegationToken_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } @@ -14685,7 +15693,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CancelDelegationToke } - public static class RenewDelegationToken_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class RenewDelegationToken_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RenewDelegationToken_args"); private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -14879,30 +15887,30 @@ public boolean equals(RenewDelegationToken_args that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_req = true && (isSetReq()); - builder.append(present_req); + list.add(present_req); if (present_req) - builder.append(req); + list.add(req); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(RenewDelegationToken_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - RenewDelegationToken_args typedOther = (RenewDelegationToken_args)other; - lastComparison = Boolean.valueOf(isSetReq()).compareTo(typedOther.isSetReq()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, typedOther.req); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -15048,7 +16056,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, RenewDelegationToken } - public static class RenewDelegationToken_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + public static class RenewDelegationToken_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RenewDelegationToken_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); @@ -15242,30 +16250,30 @@ public boolean equals(RenewDelegationToken_result that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_success = true && (isSetSuccess()); - builder.append(present_success); + list.add(present_success); if (present_success) - builder.append(success); + list.add(success); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(RenewDelegationToken_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - RenewDelegationToken_result typedOther = (RenewDelegationToken_result)other; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java index 25a38b1..046eb15 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class TCLIServiceConstants { public static final Set PRIMITIVE_TYPES = new HashSet(); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java index e23fcdd..3cf8031 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TCancelDelegationTokenReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TCancelDelegationTokenReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelDelegationTokenReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -283,45 +287,45 @@ public boolean equals(TCancelDelegationTokenReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); boolean present_delegationToken = true && (isSetDelegationToken()); - builder.append(present_delegationToken); + list.add(present_delegationToken); if (present_delegationToken) - builder.append(delegationToken); + list.add(delegationToken); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TCancelDelegationTokenReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TCancelDelegationTokenReq typedOther = (TCancelDelegationTokenReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(typedOther.isSetDelegationToken()); + lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(other.isSetDelegationToken()); if (lastComparison != 0) { return lastComparison; } if (isSetDelegationToken()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, typedOther.delegationToken); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, other.delegationToken); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java index 77c9ee7..1d15e19 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TCancelDelegationTokenResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TCancelDelegationTokenResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelDelegationTokenResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TCancelDelegationTokenResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TCancelDelegationTokenResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TCancelDelegationTokenResp typedOther = (TCancelDelegationTokenResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java index 45eac48..504c68c 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TCancelOperationReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TCancelOperationReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelOperationReq"); private static final org.apache.thrift.protocol.TField OPERATION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("operationHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TCancelOperationReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TCancelOperationReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TCancelOperationReq typedOther = (TCancelOperationReq)other; - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java index 2a39414..3f298d2 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TCancelOperationResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TCancelOperationResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCancelOperationResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TCancelOperationResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TCancelOperationResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TCancelOperationResp typedOther = (TCancelOperationResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java index 0cbb7cc..f282791 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TCloseOperationReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TCloseOperationReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseOperationReq"); private static final org.apache.thrift.protocol.TField OPERATION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("operationHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TCloseOperationReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TCloseOperationReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TCloseOperationReq typedOther = (TCloseOperationReq)other; - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java index 7334d67..5b339e7 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TCloseOperationResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TCloseOperationResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseOperationResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TCloseOperationResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TCloseOperationResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TCloseOperationResp typedOther = (TCloseOperationResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java index 027e829..bfb5ebd 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TCloseSessionReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TCloseSessionReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseSessionReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TCloseSessionReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TCloseSessionReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TCloseSessionReq typedOther = (TCloseSessionReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java index 168c8fc..c2e81d5 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TCloseSessionResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TCloseSessionResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TCloseSessionResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TCloseSessionResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TCloseSessionResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TCloseSessionResp typedOther = (TCloseSessionResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java index bfe50c7..1bda69d 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class TColumn extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumn"); private static final org.apache.thrift.protocol.TField BOOL_VAL_FIELD_DESC = new org.apache.thrift.protocol.TField("boolVal", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -345,6 +348,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } } @@ -697,19 +701,19 @@ public int compareTo(TColumn other) { @Override public int hashCode() { - HashCodeBuilder hcb = new HashCodeBuilder(); - hcb.append(this.getClass().getName()); + List list = new ArrayList(); + list.add(this.getClass().getName()); org.apache.thrift.TFieldIdEnum setField = getSetField(); if (setField != null) { - hcb.append(setField.getThriftFieldId()); + list.add(setField.getThriftFieldId()); Object value = getFieldValue(); if (value instanceof org.apache.thrift.TEnum) { - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue()); + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue()); } else { - hcb.append(value); + list.add(value); } } - return hcb.toHashCode(); + return list.hashCode(); } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java index 247db64..1a08735 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TColumnDesc implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TColumnDesc implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnDesc"); private static final org.apache.thrift.protocol.TField COLUMN_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("columnName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -120,7 +124,7 @@ public String getFieldName() { // isset id assignments private static final int __POSITION_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.COMMENT}; + private static final _Fields optionals[] = {_Fields.COMMENT}; 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); @@ -400,75 +404,75 @@ public boolean equals(TColumnDesc that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_columnName = true && (isSetColumnName()); - builder.append(present_columnName); + list.add(present_columnName); if (present_columnName) - builder.append(columnName); + list.add(columnName); boolean present_typeDesc = true && (isSetTypeDesc()); - builder.append(present_typeDesc); + list.add(present_typeDesc); if (present_typeDesc) - builder.append(typeDesc); + list.add(typeDesc); boolean present_position = true; - builder.append(present_position); + list.add(present_position); if (present_position) - builder.append(position); + list.add(position); boolean present_comment = true && (isSetComment()); - builder.append(present_comment); + list.add(present_comment); if (present_comment) - builder.append(comment); + list.add(comment); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TColumnDesc other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TColumnDesc typedOther = (TColumnDesc)other; - lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(typedOther.isSetColumnName()); + lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(other.isSetColumnName()); if (lastComparison != 0) { return lastComparison; } if (isSetColumnName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, typedOther.columnName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, other.columnName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTypeDesc()).compareTo(typedOther.isSetTypeDesc()); + lastComparison = Boolean.valueOf(isSetTypeDesc()).compareTo(other.isSetTypeDesc()); if (lastComparison != 0) { return lastComparison; } if (isSetTypeDesc()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeDesc, typedOther.typeDesc); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeDesc, other.typeDesc); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPosition()).compareTo(typedOther.isSetPosition()); + lastComparison = Boolean.valueOf(isSetPosition()).compareTo(other.isSetPosition()); if (lastComparison != 0) { return lastComparison; } if (isSetPosition()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.position, typedOther.position); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.position, other.position); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetComment()).compareTo(typedOther.isSetComment()); + lastComparison = Boolean.valueOf(isSetComment()).compareTo(other.isSetComment()); if (lastComparison != 0) { return lastComparison; } if (isSetComment()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comment, typedOther.comment); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comment, other.comment); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java index 44da2cd..61aee4d 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class TColumnValue extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnValue"); private static final org.apache.thrift.protocol.TField BOOL_VAL_FIELD_DESC = new org.apache.thrift.protocol.TField("boolVal", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -318,6 +321,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } } @@ -636,19 +640,19 @@ public int compareTo(TColumnValue other) { @Override public int hashCode() { - HashCodeBuilder hcb = new HashCodeBuilder(); - hcb.append(this.getClass().getName()); + List list = new ArrayList(); + list.add(this.getClass().getName()); org.apache.thrift.TFieldIdEnum setField = getSetField(); if (setField != null) { - hcb.append(setField.getThriftFieldId()); + list.add(setField.getThriftFieldId()); Object value = getFieldValue(); if (value instanceof org.apache.thrift.TEnum) { - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue()); + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue()); } else { - hcb.append(value); + list.add(value); } } - return hcb.toHashCode(); + return list.hashCode(); } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java index 4fc5454..58a065e 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TDoubleColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TDoubleColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TDoubleColumn"); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -129,7 +133,7 @@ public TDoubleColumn( { this(); this.values = values; - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } /** @@ -137,15 +141,11 @@ public TDoubleColumn( */ public TDoubleColumn(TDoubleColumn other) { if (other.isSetValues()) { - List __this__values = new ArrayList(); - for (Double other_element : other.values) { - __this__values.add(other_element); - } + List __this__values = new ArrayList(other.values); this.values = __this__values; } if (other.isSetNulls()) { this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls); -; } } @@ -203,15 +203,15 @@ public void setValuesIsSet(boolean value) { } public ByteBuffer bufferForNulls() { - return nulls; + return org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void setNulls(byte[] nulls) { - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls)); + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length)); } public void setNulls(ByteBuffer nulls) { - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void unsetNulls() { @@ -313,45 +313,45 @@ public boolean equals(TDoubleColumn that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_values = true && (isSetValues()); - builder.append(present_values); + list.add(present_values); if (present_values) - builder.append(values); + list.add(values); boolean present_nulls = true && (isSetNulls()); - builder.append(present_nulls); + list.add(present_nulls); if (present_nulls) - builder.append(nulls); + list.add(nulls); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TDoubleColumn other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TDoubleColumn typedOther = (TDoubleColumn)other; - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues()); + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls()); + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls); if (lastComparison != 0) { return lastComparison; } @@ -447,11 +447,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TDoubleColumn struc { org.apache.thrift.protocol.TList _list94 = iprot.readListBegin(); struct.values = new ArrayList(_list94.size); - for (int _i95 = 0; _i95 < _list94.size; ++_i95) + double _elem95; + for (int _i96 = 0; _i96 < _list94.size; ++_i96) { - double _elem96; // optional - _elem96 = iprot.readDouble(); - struct.values.add(_elem96); + _elem95 = iprot.readDouble(); + struct.values.add(_elem95); } iprot.readListEnd(); } @@ -531,11 +531,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TDoubleColumn struct { org.apache.thrift.protocol.TList _list99 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.DOUBLE, iprot.readI32()); struct.values = new ArrayList(_list99.size); - for (int _i100 = 0; _i100 < _list99.size; ++_i100) + double _elem100; + for (int _i101 = 0; _i101 < _list99.size; ++_i101) { - double _elem101; // optional - _elem101 = iprot.readDouble(); - struct.values.add(_elem101); + _elem100 = iprot.readDouble(); + struct.values.add(_elem100); } } struct.setValuesIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java index d215736..01a3b15 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TDoubleValue implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TDoubleValue implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TDoubleValue"); private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.DOUBLE, (short)1); @@ -105,7 +109,7 @@ public String getFieldName() { // isset id assignments private static final int __VALUE_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.VALUE}; + private static final _Fields optionals[] = {_Fields.VALUE}; 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); @@ -220,30 +224,30 @@ public boolean equals(TDoubleValue that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_value = true && (isSetValue()); - builder.append(present_value); + list.add(present_value); if (present_value) - builder.append(value); + list.add(value); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TDoubleValue other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TDoubleValue typedOther = (TDoubleValue)other; - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue()); + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); if (lastComparison != 0) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java index 4f157ad..544e30d 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TExecuteStatementReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TExecuteStatementReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TExecuteStatementReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -120,7 +124,7 @@ public String getFieldName() { // isset id assignments private static final int __RUNASYNC_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.CONF_OVERLAY,_Fields.RUN_ASYNC}; + private static final _Fields optionals[] = {_Fields.CONF_OVERLAY,_Fields.RUN_ASYNC}; 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); @@ -164,18 +168,7 @@ public TExecuteStatementReq(TExecuteStatementReq other) { this.statement = other.statement; } if (other.isSetConfOverlay()) { - Map __this__confOverlay = new HashMap(); - for (Map.Entry other_element : other.confOverlay.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__confOverlay_copy_key = other_element_key; - - String __this__confOverlay_copy_value = other_element_value; - - __this__confOverlay.put(__this__confOverlay_copy_key, __this__confOverlay_copy_value); - } + Map __this__confOverlay = new HashMap(other.confOverlay); this.confOverlay = __this__confOverlay; } this.runAsync = other.runAsync; @@ -424,75 +417,75 @@ public boolean equals(TExecuteStatementReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); boolean present_statement = true && (isSetStatement()); - builder.append(present_statement); + list.add(present_statement); if (present_statement) - builder.append(statement); + list.add(statement); boolean present_confOverlay = true && (isSetConfOverlay()); - builder.append(present_confOverlay); + list.add(present_confOverlay); if (present_confOverlay) - builder.append(confOverlay); + list.add(confOverlay); boolean present_runAsync = true && (isSetRunAsync()); - builder.append(present_runAsync); + list.add(present_runAsync); if (present_runAsync) - builder.append(runAsync); + list.add(runAsync); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TExecuteStatementReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TExecuteStatementReq typedOther = (TExecuteStatementReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStatement()).compareTo(typedOther.isSetStatement()); + lastComparison = Boolean.valueOf(isSetStatement()).compareTo(other.isSetStatement()); if (lastComparison != 0) { return lastComparison; } if (isSetStatement()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statement, typedOther.statement); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statement, other.statement); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetConfOverlay()).compareTo(typedOther.isSetConfOverlay()); + lastComparison = Boolean.valueOf(isSetConfOverlay()).compareTo(other.isSetConfOverlay()); if (lastComparison != 0) { return lastComparison; } if (isSetConfOverlay()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.confOverlay, typedOther.confOverlay); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.confOverlay, other.confOverlay); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRunAsync()).compareTo(typedOther.isSetRunAsync()); + lastComparison = Boolean.valueOf(isSetRunAsync()).compareTo(other.isSetRunAsync()); if (lastComparison != 0) { return lastComparison; } if (isSetRunAsync()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.runAsync, typedOther.runAsync); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.runAsync, other.runAsync); if (lastComparison != 0) { return lastComparison; } @@ -626,13 +619,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TExecuteStatementRe { org.apache.thrift.protocol.TMap _map162 = iprot.readMapBegin(); struct.confOverlay = new HashMap(2*_map162.size); - for (int _i163 = 0; _i163 < _map162.size; ++_i163) + String _key163; + String _val164; + for (int _i165 = 0; _i165 < _map162.size; ++_i165) { - String _key164; // required - String _val165; // required - _key164 = iprot.readString(); - _val165 = iprot.readString(); - struct.confOverlay.put(_key164, _val165); + _key163 = iprot.readString(); + _val164 = iprot.readString(); + struct.confOverlay.put(_key163, _val164); } iprot.readMapEnd(); } @@ -747,13 +740,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TExecuteStatementReq { org.apache.thrift.protocol.TMap _map168 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.confOverlay = new HashMap(2*_map168.size); - for (int _i169 = 0; _i169 < _map168.size; ++_i169) + String _key169; + String _val170; + for (int _i171 = 0; _i171 < _map168.size; ++_i171) { - String _key170; // required - String _val171; // required - _key170 = iprot.readString(); - _val171 = iprot.readString(); - struct.confOverlay.put(_key170, _val171); + _key169 = iprot.readString(); + _val170 = iprot.readString(); + struct.confOverlay.put(_key169, _val170); } } struct.setConfOverlayIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java index fdde51e..429d019 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TExecuteStatementResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TExecuteStatementResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TExecuteStatementResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -108,7 +112,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.OPERATION_HANDLE}; + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE}; 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); @@ -282,45 +286,45 @@ public boolean equals(TExecuteStatementResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TExecuteStatementResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TExecuteStatementResp typedOther = (TExecuteStatementResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java index b2a22ef..64713e8 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java index 068711f..5c85313 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TFetchResultsReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TFetchResultsReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TFetchResultsReq"); private static final org.apache.thrift.protocol.TField OPERATION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("operationHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -125,7 +129,7 @@ public String getFieldName() { private static final int __MAXROWS_ISSET_ID = 0; private static final int __FETCHTYPE_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.FETCH_TYPE}; + private static final _Fields optionals[] = {_Fields.FETCH_TYPE}; 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); @@ -416,75 +420,75 @@ public boolean equals(TFetchResultsReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); boolean present_orientation = true && (isSetOrientation()); - builder.append(present_orientation); + list.add(present_orientation); if (present_orientation) - builder.append(orientation.getValue()); + list.add(orientation.getValue()); boolean present_maxRows = true; - builder.append(present_maxRows); + list.add(present_maxRows); if (present_maxRows) - builder.append(maxRows); + list.add(maxRows); boolean present_fetchType = true && (isSetFetchType()); - builder.append(present_fetchType); + list.add(present_fetchType); if (present_fetchType) - builder.append(fetchType); + list.add(fetchType); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TFetchResultsReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TFetchResultsReq typedOther = (TFetchResultsReq)other; - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOrientation()).compareTo(typedOther.isSetOrientation()); + lastComparison = Boolean.valueOf(isSetOrientation()).compareTo(other.isSetOrientation()); if (lastComparison != 0) { return lastComparison; } if (isSetOrientation()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orientation, typedOther.orientation); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orientation, other.orientation); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMaxRows()).compareTo(typedOther.isSetMaxRows()); + lastComparison = Boolean.valueOf(isSetMaxRows()).compareTo(other.isSetMaxRows()); if (lastComparison != 0) { return lastComparison; } if (isSetMaxRows()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxRows, typedOther.maxRows); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxRows, other.maxRows); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetFetchType()).compareTo(typedOther.isSetFetchType()); + lastComparison = Boolean.valueOf(isSetFetchType()).compareTo(other.isSetFetchType()); if (lastComparison != 0) { return lastComparison; } if (isSetFetchType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fetchType, typedOther.fetchType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fetchType, other.fetchType); if (lastComparison != 0) { return lastComparison; } @@ -605,7 +609,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TFetchResultsReq st break; case 2: // ORIENTATION if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.orientation = TFetchOrientation.findByValue(iprot.readI32()); + struct.orientation = org.apache.hive.service.cli.thrift.TFetchOrientation.findByValue(iprot.readI32()); struct.setOrientationIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -694,7 +698,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TFetchResultsReq str struct.operationHandle = new TOperationHandle(); struct.operationHandle.read(iprot); struct.setOperationHandleIsSet(true); - struct.orientation = TFetchOrientation.findByValue(iprot.readI32()); + struct.orientation = org.apache.hive.service.cli.thrift.TFetchOrientation.findByValue(iprot.readI32()); struct.setOrientationIsSet(true); struct.maxRows = iprot.readI64(); struct.setMaxRowsIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java index 19991f1..9577471 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TFetchResultsResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TFetchResultsResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TFetchResultsResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -115,7 +119,7 @@ public String getFieldName() { // isset id assignments private static final int __HASMOREROWS_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.HAS_MORE_ROWS,_Fields.RESULTS}; + private static final _Fields optionals[] = {_Fields.HAS_MORE_ROWS,_Fields.RESULTS}; 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); @@ -339,60 +343,60 @@ public boolean equals(TFetchResultsResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_hasMoreRows = true && (isSetHasMoreRows()); - builder.append(present_hasMoreRows); + list.add(present_hasMoreRows); if (present_hasMoreRows) - builder.append(hasMoreRows); + list.add(hasMoreRows); boolean present_results = true && (isSetResults()); - builder.append(present_results); + list.add(present_results); if (present_results) - builder.append(results); + list.add(results); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TFetchResultsResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TFetchResultsResp typedOther = (TFetchResultsResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHasMoreRows()).compareTo(typedOther.isSetHasMoreRows()); + lastComparison = Boolean.valueOf(isSetHasMoreRows()).compareTo(other.isSetHasMoreRows()); if (lastComparison != 0) { return lastComparison; } if (isSetHasMoreRows()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasMoreRows, typedOther.hasMoreRows); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasMoreRows, other.hasMoreRows); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetResults()).compareTo(typedOther.isSetResults()); + lastComparison = Boolean.valueOf(isSetResults()).compareTo(other.isSetResults()); if (lastComparison != 0) { return lastComparison; } if (isSetResults()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.results, typedOther.results); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.results, other.results); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java index cfd157f..6a65018 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetCatalogsReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetCatalogsReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetCatalogsReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TGetCatalogsReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetCatalogsReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetCatalogsReq typedOther = (TGetCatalogsReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java index 1c5a354..c31d72d 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetCatalogsResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetCatalogsResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetCatalogsResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -108,7 +112,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.OPERATION_HANDLE}; + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE}; 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); @@ -282,45 +286,45 @@ public boolean equals(TGetCatalogsResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetCatalogsResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetCatalogsResp typedOther = (TGetCatalogsResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java index a2c793b..5d33d15 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetColumnsReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetColumnsReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetColumnsReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -123,7 +127,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME,_Fields.TABLE_NAME,_Fields.COLUMN_NAME}; + private static final _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME,_Fields.TABLE_NAME,_Fields.COLUMN_NAME}; 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); @@ -450,90 +454,90 @@ public boolean equals(TGetColumnsReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); boolean present_catalogName = true && (isSetCatalogName()); - builder.append(present_catalogName); + list.add(present_catalogName); if (present_catalogName) - builder.append(catalogName); + list.add(catalogName); boolean present_schemaName = true && (isSetSchemaName()); - builder.append(present_schemaName); + list.add(present_schemaName); if (present_schemaName) - builder.append(schemaName); + list.add(schemaName); boolean present_tableName = true && (isSetTableName()); - builder.append(present_tableName); + list.add(present_tableName); if (present_tableName) - builder.append(tableName); + list.add(tableName); boolean present_columnName = true && (isSetColumnName()); - builder.append(present_columnName); + list.add(present_columnName); if (present_columnName) - builder.append(columnName); + list.add(columnName); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetColumnsReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetColumnsReq typedOther = (TGetColumnsReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(typedOther.isSetCatalogName()); + lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(other.isSetCatalogName()); if (lastComparison != 0) { return lastComparison; } if (isSetCatalogName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, typedOther.catalogName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, other.catalogName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(typedOther.isSetSchemaName()); + lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(other.isSetSchemaName()); if (lastComparison != 0) { return lastComparison; } if (isSetSchemaName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, typedOther.schemaName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, other.schemaName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); + lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(typedOther.isSetColumnName()); + lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(other.isSetColumnName()); if (lastComparison != 0) { return lastComparison; } if (isSetColumnName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, typedOther.columnName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, other.columnName); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java index d6cf1be..7d2a32e 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetColumnsResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetColumnsResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetColumnsResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -108,7 +112,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.OPERATION_HANDLE}; + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE}; 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); @@ -282,45 +286,45 @@ public boolean equals(TGetColumnsResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetColumnsResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetColumnsResp typedOther = (TGetColumnsResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java index 6c6bb00..b8d6d82 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetDelegationTokenReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetDelegationTokenReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetDelegationTokenReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -341,60 +345,60 @@ public boolean equals(TGetDelegationTokenReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); boolean present_owner = true && (isSetOwner()); - builder.append(present_owner); + list.add(present_owner); if (present_owner) - builder.append(owner); + list.add(owner); boolean present_renewer = true && (isSetRenewer()); - builder.append(present_renewer); + list.add(present_renewer); if (present_renewer) - builder.append(renewer); + list.add(renewer); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetDelegationTokenReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetDelegationTokenReq typedOther = (TGetDelegationTokenReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOwner()).compareTo(typedOther.isSetOwner()); + lastComparison = Boolean.valueOf(isSetOwner()).compareTo(other.isSetOwner()); if (lastComparison != 0) { return lastComparison; } if (isSetOwner()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.owner, typedOther.owner); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.owner, other.owner); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRenewer()).compareTo(typedOther.isSetRenewer()); + lastComparison = Boolean.valueOf(isSetRenewer()).compareTo(other.isSetRenewer()); if (lastComparison != 0) { return lastComparison; } if (isSetRenewer()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.renewer, typedOther.renewer); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.renewer, other.renewer); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java index d14c5e0..a0f1834 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetDelegationTokenResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetDelegationTokenResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetDelegationTokenResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -108,7 +112,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.DELEGATION_TOKEN}; + private static final _Fields optionals[] = {_Fields.DELEGATION_TOKEN}; 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); @@ -282,45 +286,45 @@ public boolean equals(TGetDelegationTokenResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_delegationToken = true && (isSetDelegationToken()); - builder.append(present_delegationToken); + list.add(present_delegationToken); if (present_delegationToken) - builder.append(delegationToken); + list.add(delegationToken); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetDelegationTokenResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetDelegationTokenResp typedOther = (TGetDelegationTokenResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(typedOther.isSetDelegationToken()); + lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(other.isSetDelegationToken()); if (lastComparison != 0) { return lastComparison; } if (isSetDelegationToken()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, typedOther.delegationToken); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, other.delegationToken); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java index ff45ee0..0a3deee 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetFunctionsReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetFunctionsReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetFunctionsReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -118,7 +122,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME}; + private static final _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME}; 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); @@ -396,75 +400,75 @@ public boolean equals(TGetFunctionsReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); boolean present_catalogName = true && (isSetCatalogName()); - builder.append(present_catalogName); + list.add(present_catalogName); if (present_catalogName) - builder.append(catalogName); + list.add(catalogName); boolean present_schemaName = true && (isSetSchemaName()); - builder.append(present_schemaName); + list.add(present_schemaName); if (present_schemaName) - builder.append(schemaName); + list.add(schemaName); boolean present_functionName = true && (isSetFunctionName()); - builder.append(present_functionName); + list.add(present_functionName); if (present_functionName) - builder.append(functionName); + list.add(functionName); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetFunctionsReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetFunctionsReq typedOther = (TGetFunctionsReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(typedOther.isSetCatalogName()); + lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(other.isSetCatalogName()); if (lastComparison != 0) { return lastComparison; } if (isSetCatalogName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, typedOther.catalogName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, other.catalogName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(typedOther.isSetSchemaName()); + lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(other.isSetSchemaName()); if (lastComparison != 0) { return lastComparison; } if (isSetSchemaName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, typedOther.schemaName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, other.schemaName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetFunctionName()).compareTo(typedOther.isSetFunctionName()); + lastComparison = Boolean.valueOf(isSetFunctionName()).compareTo(other.isSetFunctionName()); if (lastComparison != 0) { return lastComparison; } if (isSetFunctionName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.functionName, typedOther.functionName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.functionName, other.functionName); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java index 3adafda..ee7b277 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetFunctionsResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetFunctionsResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetFunctionsResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -108,7 +112,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.OPERATION_HANDLE}; + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE}; 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); @@ -282,45 +286,45 @@ public boolean equals(TGetFunctionsResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetFunctionsResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetFunctionsResp typedOther = (TGetFunctionsResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java index 0139bf0..48714f5 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetInfoReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetInfoReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetInfoReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -295,45 +299,45 @@ public boolean equals(TGetInfoReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); boolean present_infoType = true && (isSetInfoType()); - builder.append(present_infoType); + list.add(present_infoType); if (present_infoType) - builder.append(infoType.getValue()); + list.add(infoType.getValue()); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetInfoReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetInfoReq typedOther = (TGetInfoReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetInfoType()).compareTo(typedOther.isSetInfoType()); + lastComparison = Boolean.valueOf(isSetInfoType()).compareTo(other.isSetInfoType()); if (lastComparison != 0) { return lastComparison; } if (isSetInfoType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoType, typedOther.infoType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoType, other.infoType); if (lastComparison != 0) { return lastComparison; } @@ -438,7 +442,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TGetInfoReq struct) break; case 2: // INFO_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.infoType = TGetInfoType.findByValue(iprot.readI32()); + struct.infoType = org.apache.hive.service.cli.thrift.TGetInfoType.findByValue(iprot.readI32()); struct.setInfoTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -494,7 +498,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TGetInfoReq struct) struct.sessionHandle = new TSessionHandle(); struct.sessionHandle.read(iprot); struct.setSessionHandleIsSet(true); - struct.infoType = TGetInfoType.findByValue(iprot.readI32()); + struct.infoType = org.apache.hive.service.cli.thrift.TGetInfoType.findByValue(iprot.readI32()); struct.setInfoTypeIsSet(true); } } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java index 2faaa92..3fad6d8 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetInfoResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetInfoResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetInfoResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -283,45 +287,45 @@ public boolean equals(TGetInfoResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_infoValue = true && (isSetInfoValue()); - builder.append(present_infoValue); + list.add(present_infoValue); if (present_infoValue) - builder.append(infoValue); + list.add(infoValue); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetInfoResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetInfoResp typedOther = (TGetInfoResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetInfoValue()).compareTo(typedOther.isSetInfoValue()); + lastComparison = Boolean.valueOf(isSetInfoValue()).compareTo(other.isSetInfoValue()); if (lastComparison != 0) { return lastComparison; } if (isSetInfoValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoValue, typedOther.infoValue); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoValue, other.infoValue); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java index d9dd624..f4dc73d 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java index 4fe59b1..af1224d 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class TGetInfoValue extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetInfoValue"); private static final org.apache.thrift.protocol.TField STRING_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("stringValue", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -285,6 +288,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } } @@ -558,19 +562,19 @@ public int compareTo(TGetInfoValue other) { @Override public int hashCode() { - HashCodeBuilder hcb = new HashCodeBuilder(); - hcb.append(this.getClass().getName()); + List list = new ArrayList(); + list.add(this.getClass().getName()); org.apache.thrift.TFieldIdEnum setField = getSetField(); if (setField != null) { - hcb.append(setField.getThriftFieldId()); + list.add(setField.getThriftFieldId()); Object value = getFieldValue(); if (value instanceof org.apache.thrift.TEnum) { - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue()); + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue()); } else { - hcb.append(value); + list.add(value); } } - return hcb.toHashCode(); + return list.hashCode(); } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java index b88591e..a0e211c 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetOperationStatusReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetOperationStatusReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetOperationStatusReq"); private static final org.apache.thrift.protocol.TField OPERATION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("operationHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TGetOperationStatusReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetOperationStatusReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetOperationStatusReq typedOther = (TGetOperationStatusReq)other; - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java index 94ba6bb..8500246 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetOperationStatusResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetOperationStatusResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetOperationStatusResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -129,7 +133,7 @@ public String getFieldName() { // isset id assignments private static final int __ERRORCODE_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.OPERATION_STATE,_Fields.SQL_STATE,_Fields.ERROR_CODE,_Fields.ERROR_MESSAGE}; + private static final _Fields optionals[] = {_Fields.OPERATION_STATE,_Fields.SQL_STATE,_Fields.ERROR_CODE,_Fields.ERROR_MESSAGE}; 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); @@ -463,90 +467,90 @@ public boolean equals(TGetOperationStatusResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_operationState = true && (isSetOperationState()); - builder.append(present_operationState); + list.add(present_operationState); if (present_operationState) - builder.append(operationState.getValue()); + list.add(operationState.getValue()); boolean present_sqlState = true && (isSetSqlState()); - builder.append(present_sqlState); + list.add(present_sqlState); if (present_sqlState) - builder.append(sqlState); + list.add(sqlState); boolean present_errorCode = true && (isSetErrorCode()); - builder.append(present_errorCode); + list.add(present_errorCode); if (present_errorCode) - builder.append(errorCode); + list.add(errorCode); boolean present_errorMessage = true && (isSetErrorMessage()); - builder.append(present_errorMessage); + list.add(present_errorMessage); if (present_errorMessage) - builder.append(errorMessage); + list.add(errorMessage); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetOperationStatusResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetOperationStatusResp typedOther = (TGetOperationStatusResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperationState()).compareTo(typedOther.isSetOperationState()); + lastComparison = Boolean.valueOf(isSetOperationState()).compareTo(other.isSetOperationState()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationState()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationState, typedOther.operationState); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationState, other.operationState); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSqlState()).compareTo(typedOther.isSetSqlState()); + lastComparison = Boolean.valueOf(isSetSqlState()).compareTo(other.isSetSqlState()); if (lastComparison != 0) { return lastComparison; } if (isSetSqlState()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sqlState, typedOther.sqlState); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sqlState, other.sqlState); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(typedOther.isSetErrorCode()); + lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(other.isSetErrorCode()); if (lastComparison != 0) { return lastComparison; } if (isSetErrorCode()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, typedOther.errorCode); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, other.errorCode); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetErrorMessage()).compareTo(typedOther.isSetErrorMessage()); + lastComparison = Boolean.valueOf(isSetErrorMessage()).compareTo(other.isSetErrorMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetErrorMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorMessage, typedOther.errorMessage); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorMessage, other.errorMessage); if (lastComparison != 0) { return lastComparison; } @@ -677,7 +681,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TGetOperationStatus break; case 2: // OPERATION_STATE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.operationState = TOperationState.findByValue(iprot.readI32()); + struct.operationState = org.apache.hive.service.cli.thrift.TOperationState.findByValue(iprot.readI32()); struct.setOperationStateIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -805,7 +809,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TGetOperationStatusR struct.setStatusIsSet(true); BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { - struct.operationState = TOperationState.findByValue(iprot.readI32()); + struct.operationState = org.apache.hive.service.cli.thrift.TOperationState.findByValue(iprot.readI32()); struct.setOperationStateIsSet(true); } if (incoming.get(1)) { diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java index 3bf363c..3f182a7 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetResultSetMetadataReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetResultSetMetadataReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetResultSetMetadataReq"); private static final org.apache.thrift.protocol.TField OPERATION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("operationHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TGetResultSetMetadataReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetResultSetMetadataReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetResultSetMetadataReq typedOther = (TGetResultSetMetadataReq)other; - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java index a9bef9f..9da3811 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetResultSetMetadataResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetResultSetMetadataResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetResultSetMetadataResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -108,7 +112,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.SCHEMA}; + private static final _Fields optionals[] = {_Fields.SCHEMA}; 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); @@ -282,45 +286,45 @@ public boolean equals(TGetResultSetMetadataResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_schema = true && (isSetSchema()); - builder.append(present_schema); + list.add(present_schema); if (present_schema) - builder.append(schema); + list.add(schema); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetResultSetMetadataResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetResultSetMetadataResp typedOther = (TGetResultSetMetadataResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSchema()).compareTo(typedOther.isSetSchema()); + lastComparison = Boolean.valueOf(isSetSchema()).compareTo(other.isSetSchema()); if (lastComparison != 0) { return lastComparison; } if (isSetSchema()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schema, typedOther.schema); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schema, other.schema); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java index c2aadaa..0e755ba 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetSchemasReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetSchemasReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetSchemasReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -113,7 +117,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME}; + private static final _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME}; 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); @@ -338,60 +342,60 @@ public boolean equals(TGetSchemasReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); boolean present_catalogName = true && (isSetCatalogName()); - builder.append(present_catalogName); + list.add(present_catalogName); if (present_catalogName) - builder.append(catalogName); + list.add(catalogName); boolean present_schemaName = true && (isSetSchemaName()); - builder.append(present_schemaName); + list.add(present_schemaName); if (present_schemaName) - builder.append(schemaName); + list.add(schemaName); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetSchemasReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetSchemasReq typedOther = (TGetSchemasReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(typedOther.isSetCatalogName()); + lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(other.isSetCatalogName()); if (lastComparison != 0) { return lastComparison; } if (isSetCatalogName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, typedOther.catalogName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, other.catalogName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(typedOther.isSetSchemaName()); + lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(other.isSetSchemaName()); if (lastComparison != 0) { return lastComparison; } if (isSetSchemaName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, typedOther.schemaName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, other.schemaName); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java index ac1ea3e..1741d02 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetSchemasResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetSchemasResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetSchemasResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -108,7 +112,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.OPERATION_HANDLE}; + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE}; 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); @@ -282,45 +286,45 @@ public boolean equals(TGetSchemasResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetSchemasResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetSchemasResp typedOther = (TGetSchemasResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java index 6f2c713..a8bc376 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetTableTypesReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetTableTypesReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTableTypesReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TGetTableTypesReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetTableTypesReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetTableTypesReq typedOther = (TGetTableTypesReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java index 6f33fbc..e5b8b0e 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetTableTypesResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetTableTypesResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTableTypesResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -108,7 +112,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.OPERATION_HANDLE}; + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE}; 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); @@ -282,45 +286,45 @@ public boolean equals(TGetTableTypesResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetTableTypesResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetTableTypesResp typedOther = (TGetTableTypesResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java index c973fcc..9c07559 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetTablesReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetTablesReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTablesReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -123,7 +127,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME,_Fields.TABLE_NAME,_Fields.TABLE_TYPES}; + private static final _Fields optionals[] = {_Fields.CATALOG_NAME,_Fields.SCHEMA_NAME,_Fields.TABLE_NAME,_Fields.TABLE_TYPES}; 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); @@ -169,10 +173,7 @@ public TGetTablesReq(TGetTablesReq other) { this.tableName = other.tableName; } if (other.isSetTableTypes()) { - List __this__tableTypes = new ArrayList(); - for (String other_element : other.tableTypes) { - __this__tableTypes.add(other_element); - } + List __this__tableTypes = new ArrayList(other.tableTypes); this.tableTypes = __this__tableTypes; } } @@ -470,90 +471,90 @@ public boolean equals(TGetTablesReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); boolean present_catalogName = true && (isSetCatalogName()); - builder.append(present_catalogName); + list.add(present_catalogName); if (present_catalogName) - builder.append(catalogName); + list.add(catalogName); boolean present_schemaName = true && (isSetSchemaName()); - builder.append(present_schemaName); + list.add(present_schemaName); if (present_schemaName) - builder.append(schemaName); + list.add(schemaName); boolean present_tableName = true && (isSetTableName()); - builder.append(present_tableName); + list.add(present_tableName); if (present_tableName) - builder.append(tableName); + list.add(tableName); boolean present_tableTypes = true && (isSetTableTypes()); - builder.append(present_tableTypes); + list.add(present_tableTypes); if (present_tableTypes) - builder.append(tableTypes); + list.add(tableTypes); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetTablesReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetTablesReq typedOther = (TGetTablesReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(typedOther.isSetCatalogName()); + lastComparison = Boolean.valueOf(isSetCatalogName()).compareTo(other.isSetCatalogName()); if (lastComparison != 0) { return lastComparison; } if (isSetCatalogName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, typedOther.catalogName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, other.catalogName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(typedOther.isSetSchemaName()); + lastComparison = Boolean.valueOf(isSetSchemaName()).compareTo(other.isSetSchemaName()); if (lastComparison != 0) { return lastComparison; } if (isSetSchemaName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, typedOther.schemaName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, other.schemaName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); + lastComparison = Boolean.valueOf(isSetTableName()).compareTo(other.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTableTypes()).compareTo(typedOther.isSetTableTypes()); + lastComparison = Boolean.valueOf(isSetTableTypes()).compareTo(other.isSetTableTypes()); if (lastComparison != 0) { return lastComparison; } if (isSetTableTypes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableTypes, typedOther.tableTypes); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableTypes, other.tableTypes); if (lastComparison != 0) { return lastComparison; } @@ -713,11 +714,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TGetTablesReq struc { org.apache.thrift.protocol.TList _list172 = iprot.readListBegin(); struct.tableTypes = new ArrayList(_list172.size); - for (int _i173 = 0; _i173 < _list172.size; ++_i173) + String _elem173; + for (int _i174 = 0; _i174 < _list172.size; ++_i174) { - String _elem174; // optional - _elem174 = iprot.readString(); - struct.tableTypes.add(_elem174); + _elem173 = iprot.readString(); + struct.tableTypes.add(_elem173); } iprot.readListEnd(); } @@ -854,11 +855,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TGetTablesReq struct { org.apache.thrift.protocol.TList _list177 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.tableTypes = new ArrayList(_list177.size); - for (int _i178 = 0; _i178 < _list177.size; ++_i178) + String _elem178; + for (int _i179 = 0; _i179 < _list177.size; ++_i179) { - String _elem179; // optional - _elem179 = iprot.readString(); - struct.tableTypes.add(_elem179); + _elem178 = iprot.readString(); + struct.tableTypes.add(_elem178); } } struct.setTableTypesIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java index d526f44..222584a 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetTablesResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetTablesResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTablesResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -108,7 +112,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.OPERATION_HANDLE}; + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE}; 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); @@ -282,45 +286,45 @@ public boolean equals(TGetTablesResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetTablesResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetTablesResp typedOther = (TGetTablesResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java index d40115e..f7d2a97 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetTypeInfoReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetTypeInfoReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTypeInfoReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TGetTypeInfoReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetTypeInfoReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetTypeInfoReq typedOther = (TGetTypeInfoReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java index 59be1a3..5dfdc9b 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TGetTypeInfoResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TGetTypeInfoResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetTypeInfoResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -108,7 +112,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.OPERATION_HANDLE}; + private static final _Fields optionals[] = {_Fields.OPERATION_HANDLE}; 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); @@ -282,45 +286,45 @@ public boolean equals(TGetTypeInfoResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_operationHandle = true && (isSetOperationHandle()); - builder.append(present_operationHandle); + list.add(present_operationHandle); if (present_operationHandle) - builder.append(operationHandle); + list.add(operationHandle); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TGetTypeInfoResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TGetTypeInfoResp typedOther = (TGetTypeInfoResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(typedOther.isSetOperationHandle()); + lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, typedOther.operationHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java index 368273c..28b97bc 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class THandleIdentifier implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class THandleIdentifier implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("THandleIdentifier"); private static final org.apache.thrift.protocol.TField GUID_FIELD_DESC = new org.apache.thrift.protocol.TField("guid", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -127,8 +131,8 @@ public THandleIdentifier( ByteBuffer secret) { this(); - this.guid = guid; - this.secret = secret; + this.guid = org.apache.thrift.TBaseHelper.copyBinary(guid); + this.secret = org.apache.thrift.TBaseHelper.copyBinary(secret); } /** @@ -137,11 +141,9 @@ public THandleIdentifier( public THandleIdentifier(THandleIdentifier other) { if (other.isSetGuid()) { this.guid = org.apache.thrift.TBaseHelper.copyBinary(other.guid); -; } if (other.isSetSecret()) { this.secret = org.apache.thrift.TBaseHelper.copyBinary(other.secret); -; } } @@ -161,15 +163,15 @@ public void clear() { } public ByteBuffer bufferForGuid() { - return guid; + return org.apache.thrift.TBaseHelper.copyBinary(guid); } public void setGuid(byte[] guid) { - setGuid(guid == null ? (ByteBuffer)null : ByteBuffer.wrap(guid)); + this.guid = guid == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(guid, guid.length)); } public void setGuid(ByteBuffer guid) { - this.guid = guid; + this.guid = org.apache.thrift.TBaseHelper.copyBinary(guid); } public void unsetGuid() { @@ -193,15 +195,15 @@ public void setGuidIsSet(boolean value) { } public ByteBuffer bufferForSecret() { - return secret; + return org.apache.thrift.TBaseHelper.copyBinary(secret); } public void setSecret(byte[] secret) { - setSecret(secret == null ? (ByteBuffer)null : ByteBuffer.wrap(secret)); + this.secret = secret == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(secret, secret.length)); } public void setSecret(ByteBuffer secret) { - this.secret = secret; + this.secret = org.apache.thrift.TBaseHelper.copyBinary(secret); } public void unsetSecret() { @@ -303,45 +305,45 @@ public boolean equals(THandleIdentifier that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_guid = true && (isSetGuid()); - builder.append(present_guid); + list.add(present_guid); if (present_guid) - builder.append(guid); + list.add(guid); boolean present_secret = true && (isSetSecret()); - builder.append(present_secret); + list.add(present_secret); if (present_secret) - builder.append(secret); + list.add(secret); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(THandleIdentifier other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - THandleIdentifier typedOther = (THandleIdentifier)other; - lastComparison = Boolean.valueOf(isSetGuid()).compareTo(typedOther.isSetGuid()); + lastComparison = Boolean.valueOf(isSetGuid()).compareTo(other.isSetGuid()); if (lastComparison != 0) { return lastComparison; } if (isSetGuid()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.guid, typedOther.guid); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.guid, other.guid); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSecret()).compareTo(typedOther.isSetSecret()); + lastComparison = Boolean.valueOf(isSetSecret()).compareTo(other.isSetSecret()); if (lastComparison != 0) { return lastComparison; } if (isSetSecret()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.secret, typedOther.secret); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.secret, other.secret); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java index c836630..6b030e5 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TI16Column implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TI16Column implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI16Column"); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -129,7 +133,7 @@ public TI16Column( { this(); this.values = values; - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } /** @@ -137,15 +141,11 @@ public TI16Column( */ public TI16Column(TI16Column other) { if (other.isSetValues()) { - List __this__values = new ArrayList(); - for (Short other_element : other.values) { - __this__values.add(other_element); - } + List __this__values = new ArrayList(other.values); this.values = __this__values; } if (other.isSetNulls()) { this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls); -; } } @@ -203,15 +203,15 @@ public void setValuesIsSet(boolean value) { } public ByteBuffer bufferForNulls() { - return nulls; + return org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void setNulls(byte[] nulls) { - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls)); + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length)); } public void setNulls(ByteBuffer nulls) { - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void unsetNulls() { @@ -313,45 +313,45 @@ public boolean equals(TI16Column that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_values = true && (isSetValues()); - builder.append(present_values); + list.add(present_values); if (present_values) - builder.append(values); + list.add(values); boolean present_nulls = true && (isSetNulls()); - builder.append(present_nulls); + list.add(present_nulls); if (present_nulls) - builder.append(nulls); + list.add(nulls); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TI16Column other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TI16Column typedOther = (TI16Column)other; - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues()); + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls()); + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls); if (lastComparison != 0) { return lastComparison; } @@ -447,11 +447,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TI16Column struct) { org.apache.thrift.protocol.TList _list70 = iprot.readListBegin(); struct.values = new ArrayList(_list70.size); - for (int _i71 = 0; _i71 < _list70.size; ++_i71) + short _elem71; + for (int _i72 = 0; _i72 < _list70.size; ++_i72) { - short _elem72; // optional - _elem72 = iprot.readI16(); - struct.values.add(_elem72); + _elem71 = iprot.readI16(); + struct.values.add(_elem71); } iprot.readListEnd(); } @@ -531,11 +531,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TI16Column struct) t { org.apache.thrift.protocol.TList _list75 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I16, iprot.readI32()); struct.values = new ArrayList(_list75.size); - for (int _i76 = 0; _i76 < _list75.size; ++_i76) + short _elem76; + for (int _i77 = 0; _i77 < _list75.size; ++_i77) { - short _elem77; // optional - _elem77 = iprot.readI16(); - struct.values.add(_elem77); + _elem76 = iprot.readI16(); + struct.values.add(_elem76); } } struct.setValuesIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java index bb5ae96..0677252 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TI16Value implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TI16Value implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI16Value"); private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.I16, (short)1); @@ -105,7 +109,7 @@ public String getFieldName() { // isset id assignments private static final int __VALUE_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.VALUE}; + private static final _Fields optionals[] = {_Fields.VALUE}; 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); @@ -220,30 +224,30 @@ public boolean equals(TI16Value that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_value = true && (isSetValue()); - builder.append(present_value); + list.add(present_value); if (present_value) - builder.append(value); + list.add(value); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TI16Value other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TI16Value typedOther = (TI16Value)other; - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue()); + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); if (lastComparison != 0) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java index 6c6c5f3..1184482 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TI32Column implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TI32Column implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI32Column"); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -129,7 +133,7 @@ public TI32Column( { this(); this.values = values; - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } /** @@ -137,15 +141,11 @@ public TI32Column( */ public TI32Column(TI32Column other) { if (other.isSetValues()) { - List __this__values = new ArrayList(); - for (Integer other_element : other.values) { - __this__values.add(other_element); - } + List __this__values = new ArrayList(other.values); this.values = __this__values; } if (other.isSetNulls()) { this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls); -; } } @@ -203,15 +203,15 @@ public void setValuesIsSet(boolean value) { } public ByteBuffer bufferForNulls() { - return nulls; + return org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void setNulls(byte[] nulls) { - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls)); + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length)); } public void setNulls(ByteBuffer nulls) { - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void unsetNulls() { @@ -313,45 +313,45 @@ public boolean equals(TI32Column that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_values = true && (isSetValues()); - builder.append(present_values); + list.add(present_values); if (present_values) - builder.append(values); + list.add(values); boolean present_nulls = true && (isSetNulls()); - builder.append(present_nulls); + list.add(present_nulls); if (present_nulls) - builder.append(nulls); + list.add(nulls); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TI32Column other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TI32Column typedOther = (TI32Column)other; - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues()); + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls()); + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls); if (lastComparison != 0) { return lastComparison; } @@ -447,11 +447,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TI32Column struct) { org.apache.thrift.protocol.TList _list78 = iprot.readListBegin(); struct.values = new ArrayList(_list78.size); - for (int _i79 = 0; _i79 < _list78.size; ++_i79) + int _elem79; + for (int _i80 = 0; _i80 < _list78.size; ++_i80) { - int _elem80; // optional - _elem80 = iprot.readI32(); - struct.values.add(_elem80); + _elem79 = iprot.readI32(); + struct.values.add(_elem79); } iprot.readListEnd(); } @@ -531,11 +531,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TI32Column struct) t { org.apache.thrift.protocol.TList _list83 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); struct.values = new ArrayList(_list83.size); - for (int _i84 = 0; _i84 < _list83.size; ++_i84) + int _elem84; + for (int _i85 = 0; _i85 < _list83.size; ++_i85) { - int _elem85; // optional - _elem85 = iprot.readI32(); - struct.values.add(_elem85); + _elem84 = iprot.readI32(); + struct.values.add(_elem84); } } struct.setValuesIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java index 059408b..ae1689e 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TI32Value implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TI32Value implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI32Value"); private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.I32, (short)1); @@ -105,7 +109,7 @@ public String getFieldName() { // isset id assignments private static final int __VALUE_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.VALUE}; + private static final _Fields optionals[] = {_Fields.VALUE}; 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); @@ -220,30 +224,30 @@ public boolean equals(TI32Value that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_value = true && (isSetValue()); - builder.append(present_value); + list.add(present_value); if (present_value) - builder.append(value); + list.add(value); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TI32Value other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TI32Value typedOther = (TI32Value)other; - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue()); + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); if (lastComparison != 0) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java index cc383ed..6be90f8 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TI64Column implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TI64Column implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI64Column"); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -129,7 +133,7 @@ public TI64Column( { this(); this.values = values; - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } /** @@ -137,15 +141,11 @@ public TI64Column( */ public TI64Column(TI64Column other) { if (other.isSetValues()) { - List __this__values = new ArrayList(); - for (Long other_element : other.values) { - __this__values.add(other_element); - } + List __this__values = new ArrayList(other.values); this.values = __this__values; } if (other.isSetNulls()) { this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls); -; } } @@ -203,15 +203,15 @@ public void setValuesIsSet(boolean value) { } public ByteBuffer bufferForNulls() { - return nulls; + return org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void setNulls(byte[] nulls) { - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls)); + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length)); } public void setNulls(ByteBuffer nulls) { - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void unsetNulls() { @@ -313,45 +313,45 @@ public boolean equals(TI64Column that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_values = true && (isSetValues()); - builder.append(present_values); + list.add(present_values); if (present_values) - builder.append(values); + list.add(values); boolean present_nulls = true && (isSetNulls()); - builder.append(present_nulls); + list.add(present_nulls); if (present_nulls) - builder.append(nulls); + list.add(nulls); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TI64Column other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TI64Column typedOther = (TI64Column)other; - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues()); + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls()); + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls); if (lastComparison != 0) { return lastComparison; } @@ -447,11 +447,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TI64Column struct) { org.apache.thrift.protocol.TList _list86 = iprot.readListBegin(); struct.values = new ArrayList(_list86.size); - for (int _i87 = 0; _i87 < _list86.size; ++_i87) + long _elem87; + for (int _i88 = 0; _i88 < _list86.size; ++_i88) { - long _elem88; // optional - _elem88 = iprot.readI64(); - struct.values.add(_elem88); + _elem87 = iprot.readI64(); + struct.values.add(_elem87); } iprot.readListEnd(); } @@ -531,11 +531,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TI64Column struct) t { org.apache.thrift.protocol.TList _list91 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.values = new ArrayList(_list91.size); - for (int _i92 = 0; _i92 < _list91.size; ++_i92) + long _elem92; + for (int _i93 = 0; _i93 < _list91.size; ++_i93) { - long _elem93; // optional - _elem93 = iprot.readI64(); - struct.values.add(_elem93); + _elem92 = iprot.readI64(); + struct.values.add(_elem92); } } struct.setValuesIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java index 9a941cc..e1a8cf0 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TI64Value implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TI64Value implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TI64Value"); private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.I64, (short)1); @@ -105,7 +109,7 @@ public String getFieldName() { // isset id assignments private static final int __VALUE_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.VALUE}; + private static final _Fields optionals[] = {_Fields.VALUE}; 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); @@ -220,30 +224,30 @@ public boolean equals(TI64Value that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_value = true && (isSetValue()); - builder.append(present_value); + list.add(present_value); if (present_value) - builder.append(value); + list.add(value); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TI64Value other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TI64Value typedOther = (TI64Value)other; - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue()); + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); if (lastComparison != 0) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java index 425603c..51fd290 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TMapTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TMapTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TMapTypeEntry"); private static final org.apache.thrift.protocol.TField KEY_TYPE_PTR_FIELD_DESC = new org.apache.thrift.protocol.TField("keyTypePtr", org.apache.thrift.protocol.TType.I32, (short)1); @@ -285,45 +289,45 @@ public boolean equals(TMapTypeEntry that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_keyTypePtr = true; - builder.append(present_keyTypePtr); + list.add(present_keyTypePtr); if (present_keyTypePtr) - builder.append(keyTypePtr); + list.add(keyTypePtr); boolean present_valueTypePtr = true; - builder.append(present_valueTypePtr); + list.add(present_valueTypePtr); if (present_valueTypePtr) - builder.append(valueTypePtr); + list.add(valueTypePtr); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TMapTypeEntry other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TMapTypeEntry typedOther = (TMapTypeEntry)other; - lastComparison = Boolean.valueOf(isSetKeyTypePtr()).compareTo(typedOther.isSetKeyTypePtr()); + lastComparison = Boolean.valueOf(isSetKeyTypePtr()).compareTo(other.isSetKeyTypePtr()); if (lastComparison != 0) { return lastComparison; } if (isSetKeyTypePtr()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.keyTypePtr, typedOther.keyTypePtr); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.keyTypePtr, other.keyTypePtr); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetValueTypePtr()).compareTo(typedOther.isSetValueTypePtr()); + lastComparison = Boolean.valueOf(isSetValueTypePtr()).compareTo(other.isSetValueTypePtr()); if (lastComparison != 0) { return lastComparison; } if (isSetValueTypePtr()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.valueTypePtr, typedOther.valueTypePtr); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.valueTypePtr, other.valueTypePtr); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java index c048161..72475df 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TOpenSessionReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TOpenSessionReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOpenSessionReq"); private static final org.apache.thrift.protocol.TField CLIENT_PROTOCOL_FIELD_DESC = new org.apache.thrift.protocol.TField("client_protocol", org.apache.thrift.protocol.TType.I32, (short)1); @@ -122,7 +126,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.USERNAME,_Fields.PASSWORD,_Fields.CONFIGURATION}; + private static final _Fields optionals[] = {_Fields.USERNAME,_Fields.PASSWORD,_Fields.CONFIGURATION}; 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); @@ -166,18 +170,7 @@ public TOpenSessionReq(TOpenSessionReq other) { this.password = other.password; } if (other.isSetConfiguration()) { - Map __this__configuration = new HashMap(); - for (Map.Entry other_element : other.configuration.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__configuration_copy_key = other_element_key; - - String __this__configuration_copy_value = other_element_value; - - __this__configuration.put(__this__configuration_copy_key, __this__configuration_copy_value); - } + Map __this__configuration = new HashMap(other.configuration); this.configuration = __this__configuration; } } @@ -434,75 +427,75 @@ public boolean equals(TOpenSessionReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_client_protocol = true && (isSetClient_protocol()); - builder.append(present_client_protocol); + list.add(present_client_protocol); if (present_client_protocol) - builder.append(client_protocol.getValue()); + list.add(client_protocol.getValue()); boolean present_username = true && (isSetUsername()); - builder.append(present_username); + list.add(present_username); if (present_username) - builder.append(username); + list.add(username); boolean present_password = true && (isSetPassword()); - builder.append(present_password); + list.add(present_password); if (present_password) - builder.append(password); + list.add(password); boolean present_configuration = true && (isSetConfiguration()); - builder.append(present_configuration); + list.add(present_configuration); if (present_configuration) - builder.append(configuration); + list.add(configuration); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TOpenSessionReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TOpenSessionReq typedOther = (TOpenSessionReq)other; - lastComparison = Boolean.valueOf(isSetClient_protocol()).compareTo(typedOther.isSetClient_protocol()); + lastComparison = Boolean.valueOf(isSetClient_protocol()).compareTo(other.isSetClient_protocol()); if (lastComparison != 0) { return lastComparison; } if (isSetClient_protocol()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.client_protocol, typedOther.client_protocol); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.client_protocol, other.client_protocol); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetUsername()).compareTo(typedOther.isSetUsername()); + lastComparison = Boolean.valueOf(isSetUsername()).compareTo(other.isSetUsername()); if (lastComparison != 0) { return lastComparison; } if (isSetUsername()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.username, typedOther.username); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.username, other.username); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPassword()).compareTo(typedOther.isSetPassword()); + lastComparison = Boolean.valueOf(isSetPassword()).compareTo(other.isSetPassword()); if (lastComparison != 0) { return lastComparison; } if (isSetPassword()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.password, typedOther.password); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.password, other.password); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetConfiguration()).compareTo(typedOther.isSetConfiguration()); + lastComparison = Boolean.valueOf(isSetConfiguration()).compareTo(other.isSetConfiguration()); if (lastComparison != 0) { return lastComparison; } if (isSetConfiguration()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.configuration, typedOther.configuration); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.configuration, other.configuration); if (lastComparison != 0) { return lastComparison; } @@ -613,7 +606,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TOpenSessionReq str switch (schemeField.id) { case 1: // CLIENT_PROTOCOL if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.client_protocol = TProtocolVersion.findByValue(iprot.readI32()); + struct.client_protocol = org.apache.hive.service.cli.thrift.TProtocolVersion.findByValue(iprot.readI32()); struct.setClient_protocolIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -640,13 +633,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TOpenSessionReq str { org.apache.thrift.protocol.TMap _map142 = iprot.readMapBegin(); struct.configuration = new HashMap(2*_map142.size); - for (int _i143 = 0; _i143 < _map142.size; ++_i143) + String _key143; + String _val144; + for (int _i145 = 0; _i145 < _map142.size; ++_i145) { - String _key144; // required - String _val145; // required - _key144 = iprot.readString(); - _val145 = iprot.readString(); - struct.configuration.put(_key144, _val145); + _key143 = iprot.readString(); + _val144 = iprot.readString(); + struct.configuration.put(_key143, _val144); } iprot.readMapEnd(); } @@ -752,7 +745,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TOpenSessionReq str @Override public void read(org.apache.thrift.protocol.TProtocol prot, TOpenSessionReq struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - struct.client_protocol = TProtocolVersion.findByValue(iprot.readI32()); + struct.client_protocol = org.apache.hive.service.cli.thrift.TProtocolVersion.findByValue(iprot.readI32()); struct.setClient_protocolIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { @@ -767,13 +760,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TOpenSessionReq stru { org.apache.thrift.protocol.TMap _map148 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.configuration = new HashMap(2*_map148.size); - for (int _i149 = 0; _i149 < _map148.size; ++_i149) + String _key149; + String _val150; + for (int _i151 = 0; _i151 < _map148.size; ++_i151) { - String _key150; // required - String _val151; // required - _key150 = iprot.readString(); - _val151 = iprot.readString(); - struct.configuration.put(_key150, _val151); + _key149 = iprot.readString(); + _val150 = iprot.readString(); + struct.configuration.put(_key149, _val150); } } struct.setConfigurationIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java index 351f78b..56985c1 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TOpenSessionResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TOpenSessionResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOpenSessionResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -122,7 +126,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.SESSION_HANDLE,_Fields.CONFIGURATION}; + private static final _Fields optionals[] = {_Fields.SESSION_HANDLE,_Fields.CONFIGURATION}; 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); @@ -168,18 +172,7 @@ public TOpenSessionResp(TOpenSessionResp other) { this.sessionHandle = new TSessionHandle(other.sessionHandle); } if (other.isSetConfiguration()) { - Map __this__configuration = new HashMap(); - for (Map.Entry other_element : other.configuration.entrySet()) { - - String other_element_key = other_element.getKey(); - String other_element_value = other_element.getValue(); - - String __this__configuration_copy_key = other_element_key; - - String __this__configuration_copy_value = other_element_value; - - __this__configuration.put(__this__configuration_copy_key, __this__configuration_copy_value); - } + Map __this__configuration = new HashMap(other.configuration); this.configuration = __this__configuration; } } @@ -436,75 +429,75 @@ public boolean equals(TOpenSessionResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); boolean present_serverProtocolVersion = true && (isSetServerProtocolVersion()); - builder.append(present_serverProtocolVersion); + list.add(present_serverProtocolVersion); if (present_serverProtocolVersion) - builder.append(serverProtocolVersion.getValue()); + list.add(serverProtocolVersion.getValue()); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); boolean present_configuration = true && (isSetConfiguration()); - builder.append(present_configuration); + list.add(present_configuration); if (present_configuration) - builder.append(configuration); + list.add(configuration); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TOpenSessionResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TOpenSessionResp typedOther = (TOpenSessionResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetServerProtocolVersion()).compareTo(typedOther.isSetServerProtocolVersion()); + lastComparison = Boolean.valueOf(isSetServerProtocolVersion()).compareTo(other.isSetServerProtocolVersion()); if (lastComparison != 0) { return lastComparison; } if (isSetServerProtocolVersion()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverProtocolVersion, typedOther.serverProtocolVersion); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverProtocolVersion, other.serverProtocolVersion); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetConfiguration()).compareTo(typedOther.isSetConfiguration()); + lastComparison = Boolean.valueOf(isSetConfiguration()).compareTo(other.isSetConfiguration()); if (lastComparison != 0) { return lastComparison; } if (isSetConfiguration()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.configuration, typedOther.configuration); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.configuration, other.configuration); if (lastComparison != 0) { return lastComparison; } @@ -632,7 +625,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TOpenSessionResp st break; case 2: // SERVER_PROTOCOL_VERSION if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.serverProtocolVersion = TProtocolVersion.findByValue(iprot.readI32()); + struct.serverProtocolVersion = org.apache.hive.service.cli.thrift.TProtocolVersion.findByValue(iprot.readI32()); struct.setServerProtocolVersionIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -652,13 +645,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TOpenSessionResp st { org.apache.thrift.protocol.TMap _map152 = iprot.readMapBegin(); struct.configuration = new HashMap(2*_map152.size); - for (int _i153 = 0; _i153 < _map152.size; ++_i153) + String _key153; + String _val154; + for (int _i155 = 0; _i155 < _map152.size; ++_i155) { - String _key154; // required - String _val155; // required - _key154 = iprot.readString(); - _val155 = iprot.readString(); - struct.configuration.put(_key154, _val155); + _key153 = iprot.readString(); + _val154 = iprot.readString(); + struct.configuration.put(_key153, _val154); } iprot.readMapEnd(); } @@ -760,7 +753,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TOpenSessionResp str struct.status = new TStatus(); struct.status.read(iprot); struct.setStatusIsSet(true); - struct.serverProtocolVersion = TProtocolVersion.findByValue(iprot.readI32()); + struct.serverProtocolVersion = org.apache.hive.service.cli.thrift.TProtocolVersion.findByValue(iprot.readI32()); struct.setServerProtocolVersionIsSet(true); BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { @@ -772,13 +765,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TOpenSessionResp str { org.apache.thrift.protocol.TMap _map158 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.configuration = new HashMap(2*_map158.size); - for (int _i159 = 0; _i159 < _map158.size; ++_i159) + String _key159; + String _val160; + for (int _i161 = 0; _i161 < _map158.size; ++_i161) { - String _key160; // required - String _val161; // required - _key160 = iprot.readString(); - _val161 = iprot.readString(); - struct.configuration.put(_key160, _val161); + _key159 = iprot.readString(); + _val160 = iprot.readString(); + struct.configuration.put(_key159, _val160); } } struct.setConfigurationIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java index 8fbd875..06f9539 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TOperationHandle implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TOperationHandle implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TOperationHandle"); private static final org.apache.thrift.protocol.TField OPERATION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("operationId", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -125,7 +129,7 @@ public String getFieldName() { private static final int __HASRESULTSET_ISSET_ID = 0; private static final int __MODIFIEDROWCOUNT_ISSET_ID = 1; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.MODIFIED_ROW_COUNT}; + private static final _Fields optionals[] = {_Fields.MODIFIED_ROW_COUNT}; 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); @@ -411,75 +415,75 @@ public boolean equals(TOperationHandle that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_operationId = true && (isSetOperationId()); - builder.append(present_operationId); + list.add(present_operationId); if (present_operationId) - builder.append(operationId); + list.add(operationId); boolean present_operationType = true && (isSetOperationType()); - builder.append(present_operationType); + list.add(present_operationType); if (present_operationType) - builder.append(operationType.getValue()); + list.add(operationType.getValue()); boolean present_hasResultSet = true; - builder.append(present_hasResultSet); + list.add(present_hasResultSet); if (present_hasResultSet) - builder.append(hasResultSet); + list.add(hasResultSet); boolean present_modifiedRowCount = true && (isSetModifiedRowCount()); - builder.append(present_modifiedRowCount); + list.add(present_modifiedRowCount); if (present_modifiedRowCount) - builder.append(modifiedRowCount); + list.add(modifiedRowCount); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TOperationHandle other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TOperationHandle typedOther = (TOperationHandle)other; - lastComparison = Boolean.valueOf(isSetOperationId()).compareTo(typedOther.isSetOperationId()); + lastComparison = Boolean.valueOf(isSetOperationId()).compareTo(other.isSetOperationId()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationId, typedOther.operationId); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationId, other.operationId); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetOperationType()).compareTo(typedOther.isSetOperationType()); + lastComparison = Boolean.valueOf(isSetOperationType()).compareTo(other.isSetOperationType()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationType, typedOther.operationType); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationType, other.operationType); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetHasResultSet()).compareTo(typedOther.isSetHasResultSet()); + lastComparison = Boolean.valueOf(isSetHasResultSet()).compareTo(other.isSetHasResultSet()); if (lastComparison != 0) { return lastComparison; } if (isSetHasResultSet()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasResultSet, typedOther.hasResultSet); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasResultSet, other.hasResultSet); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetModifiedRowCount()).compareTo(typedOther.isSetModifiedRowCount()); + lastComparison = Boolean.valueOf(isSetModifiedRowCount()).compareTo(other.isSetModifiedRowCount()); if (lastComparison != 0) { return lastComparison; } if (isSetModifiedRowCount()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modifiedRowCount, typedOther.modifiedRowCount); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modifiedRowCount, other.modifiedRowCount); if (lastComparison != 0) { return lastComparison; } @@ -600,7 +604,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TOperationHandle st break; case 2: // OPERATION_TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.operationType = TOperationType.findByValue(iprot.readI32()); + struct.operationType = org.apache.hive.service.cli.thrift.TOperationType.findByValue(iprot.readI32()); struct.setOperationTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -689,7 +693,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TOperationHandle str struct.operationId = new THandleIdentifier(); struct.operationId.read(iprot); struct.setOperationIdIsSet(true); - struct.operationType = TOperationType.findByValue(iprot.readI32()); + struct.operationType = org.apache.hive.service.cli.thrift.TOperationType.findByValue(iprot.readI32()); struct.setOperationTypeIsSet(true); struct.hasResultSet = iprot.readBool(); struct.setHasResultSetIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java index 2198662..2dfde1c 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java index b6d4b2f..6927740 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java index 9d2abf2..324ef03 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TPrimitiveTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TPrimitiveTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TPrimitiveTypeEntry"); private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)1); @@ -112,7 +116,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.TYPE_QUALIFIERS}; + private static final _Fields optionals[] = {_Fields.TYPE_QUALIFIERS}; 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); @@ -294,45 +298,45 @@ public boolean equals(TPrimitiveTypeEntry that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_type = true && (isSetType()); - builder.append(present_type); + list.add(present_type); if (present_type) - builder.append(type.getValue()); + list.add(type.getValue()); boolean present_typeQualifiers = true && (isSetTypeQualifiers()); - builder.append(present_typeQualifiers); + list.add(present_typeQualifiers); if (present_typeQualifiers) - builder.append(typeQualifiers); + list.add(typeQualifiers); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TPrimitiveTypeEntry other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TPrimitiveTypeEntry typedOther = (TPrimitiveTypeEntry)other; - lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType()); + lastComparison = Boolean.valueOf(isSetType()).compareTo(other.isSetType()); if (lastComparison != 0) { return lastComparison; } if (isSetType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTypeQualifiers()).compareTo(typedOther.isSetTypeQualifiers()); + lastComparison = Boolean.valueOf(isSetTypeQualifiers()).compareTo(other.isSetTypeQualifiers()); if (lastComparison != 0) { return lastComparison; } if (isSetTypeQualifiers()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeQualifiers, typedOther.typeQualifiers); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeQualifiers, other.typeQualifiers); if (lastComparison != 0) { return lastComparison; } @@ -426,7 +430,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TPrimitiveTypeEntry switch (schemeField.id) { case 1: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.type = TTypeId.findByValue(iprot.readI32()); + struct.type = org.apache.hive.service.cli.thrift.TTypeId.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -497,7 +501,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TPrimitiveTypeEntry @Override public void read(org.apache.thrift.protocol.TProtocol prot, TPrimitiveTypeEntry struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - struct.type = TTypeId.findByValue(iprot.readI32()); + struct.type = org.apache.hive.service.cli.thrift.TTypeId.findByValue(iprot.readI32()); struct.setTypeIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java index a4279d2..6e714c6 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java index a3e39c8..950dd15 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TRenewDelegationTokenReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TRenewDelegationTokenReq implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRenewDelegationTokenReq"); private static final org.apache.thrift.protocol.TField SESSION_HANDLE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionHandle", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -283,45 +287,45 @@ public boolean equals(TRenewDelegationTokenReq that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionHandle = true && (isSetSessionHandle()); - builder.append(present_sessionHandle); + list.add(present_sessionHandle); if (present_sessionHandle) - builder.append(sessionHandle); + list.add(sessionHandle); boolean present_delegationToken = true && (isSetDelegationToken()); - builder.append(present_delegationToken); + list.add(present_delegationToken); if (present_delegationToken) - builder.append(delegationToken); + list.add(delegationToken); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TRenewDelegationTokenReq other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TRenewDelegationTokenReq typedOther = (TRenewDelegationTokenReq)other; - lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(typedOther.isSetSessionHandle()); + lastComparison = Boolean.valueOf(isSetSessionHandle()).compareTo(other.isSetSessionHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionHandle()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, typedOther.sessionHandle); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionHandle, other.sessionHandle); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(typedOther.isSetDelegationToken()); + lastComparison = Boolean.valueOf(isSetDelegationToken()).compareTo(other.isSetDelegationToken()); if (lastComparison != 0) { return lastComparison; } if (isSetDelegationToken()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, typedOther.delegationToken); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delegationToken, other.delegationToken); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java index 5f3eb6c..403b47a 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TRenewDelegationTokenResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TRenewDelegationTokenResp implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRenewDelegationTokenResp"); private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TRenewDelegationTokenResp that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_status = true && (isSetStatus()); - builder.append(present_status); + list.add(present_status); if (present_status) - builder.append(status); + list.add(status); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TRenewDelegationTokenResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TRenewDelegationTokenResp typedOther = (TRenewDelegationTokenResp)other; - lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus()); + lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java index a44cfb0..9822d82 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TRow implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TRow implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRow"); private static final org.apache.thrift.protocol.TField COL_VALS_FIELD_DESC = new org.apache.thrift.protocol.TField("colVals", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public TRow( */ public TRow(TRow other) { if (other.isSetColVals()) { - List __this__colVals = new ArrayList(); + List __this__colVals = new ArrayList(other.colVals.size()); for (TColumnValue other_element : other.colVals) { __this__colVals.add(new TColumnValue(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(TRow that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_colVals = true && (isSetColVals()); - builder.append(present_colVals); + list.add(present_colVals); if (present_colVals) - builder.append(colVals); + list.add(colVals); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TRow other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TRow typedOther = (TRow)other; - lastComparison = Boolean.valueOf(isSetColVals()).compareTo(typedOther.isSetColVals()); + lastComparison = Boolean.valueOf(isSetColVals()).compareTo(other.isSetColVals()); if (lastComparison != 0) { return lastComparison; } if (isSetColVals()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colVals, typedOther.colVals); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colVals, other.colVals); if (lastComparison != 0) { return lastComparison; } @@ -352,12 +356,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TRow struct) throws { org.apache.thrift.protocol.TList _list46 = iprot.readListBegin(); struct.colVals = new ArrayList(_list46.size); - for (int _i47 = 0; _i47 < _list46.size; ++_i47) + TColumnValue _elem47; + for (int _i48 = 0; _i48 < _list46.size; ++_i48) { - TColumnValue _elem48; // optional - _elem48 = new TColumnValue(); - _elem48.read(iprot); - struct.colVals.add(_elem48); + _elem47 = new TColumnValue(); + _elem47.read(iprot); + struct.colVals.add(_elem47); } iprot.readListEnd(); } @@ -423,12 +427,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TRow struct) throws { org.apache.thrift.protocol.TList _list51 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.colVals = new ArrayList(_list51.size); - for (int _i52 = 0; _i52 < _list51.size; ++_i52) + TColumnValue _elem52; + for (int _i53 = 0; _i53 < _list51.size; ++_i53) { - TColumnValue _elem53; // optional - _elem53 = new TColumnValue(); - _elem53.read(iprot); - struct.colVals.add(_elem53); + _elem52 = new TColumnValue(); + _elem52.read(iprot); + struct.colVals.add(_elem52); } } struct.setColValsIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java index d16c8a4..af3d4c0 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TRowSet implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TRowSet implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TRowSet"); private static final org.apache.thrift.protocol.TField START_ROW_OFFSET_FIELD_DESC = new org.apache.thrift.protocol.TField("startRowOffset", org.apache.thrift.protocol.TType.I64, (short)1); @@ -115,7 +119,7 @@ public String getFieldName() { // isset id assignments private static final int __STARTROWOFFSET_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.COLUMNS}; + private static final _Fields optionals[] = {_Fields.COLUMNS}; 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); @@ -151,14 +155,14 @@ public TRowSet(TRowSet other) { __isset_bitfield = other.__isset_bitfield; this.startRowOffset = other.startRowOffset; if (other.isSetRows()) { - List __this__rows = new ArrayList(); + List __this__rows = new ArrayList(other.rows.size()); for (TRow other_element : other.rows) { __this__rows.add(new TRow(other_element)); } this.rows = __this__rows; } if (other.isSetColumns()) { - List __this__columns = new ArrayList(); + List __this__columns = new ArrayList(other.columns.size()); for (TColumn other_element : other.columns) { __this__columns.add(new TColumn(other_element)); } @@ -382,60 +386,60 @@ public boolean equals(TRowSet that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_startRowOffset = true; - builder.append(present_startRowOffset); + list.add(present_startRowOffset); if (present_startRowOffset) - builder.append(startRowOffset); + list.add(startRowOffset); boolean present_rows = true && (isSetRows()); - builder.append(present_rows); + list.add(present_rows); if (present_rows) - builder.append(rows); + list.add(rows); boolean present_columns = true && (isSetColumns()); - builder.append(present_columns); + list.add(present_columns); if (present_columns) - builder.append(columns); + list.add(columns); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TRowSet other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TRowSet typedOther = (TRowSet)other; - lastComparison = Boolean.valueOf(isSetStartRowOffset()).compareTo(typedOther.isSetStartRowOffset()); + lastComparison = Boolean.valueOf(isSetStartRowOffset()).compareTo(other.isSetStartRowOffset()); if (lastComparison != 0) { return lastComparison; } if (isSetStartRowOffset()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRowOffset, typedOther.startRowOffset); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRowOffset, other.startRowOffset); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRows()).compareTo(typedOther.isSetRows()); + lastComparison = Boolean.valueOf(isSetRows()).compareTo(other.isSetRows()); if (lastComparison != 0) { return lastComparison; } if (isSetRows()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rows, typedOther.rows); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetColumns()).compareTo(typedOther.isSetColumns()); + lastComparison = Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, typedOther.columns); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -547,12 +551,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TRowSet struct) thr { org.apache.thrift.protocol.TList _list118 = iprot.readListBegin(); struct.rows = new ArrayList(_list118.size); - for (int _i119 = 0; _i119 < _list118.size; ++_i119) + TRow _elem119; + for (int _i120 = 0; _i120 < _list118.size; ++_i120) { - TRow _elem120; // optional - _elem120 = new TRow(); - _elem120.read(iprot); - struct.rows.add(_elem120); + _elem119 = new TRow(); + _elem119.read(iprot); + struct.rows.add(_elem119); } iprot.readListEnd(); } @@ -566,12 +570,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TRowSet struct) thr { org.apache.thrift.protocol.TList _list121 = iprot.readListBegin(); struct.columns = new ArrayList(_list121.size); - for (int _i122 = 0; _i122 < _list121.size; ++_i122) + TColumn _elem122; + for (int _i123 = 0; _i123 < _list121.size; ++_i123) { - TColumn _elem123; // optional - _elem123 = new TColumn(); - _elem123.read(iprot); - struct.columns.add(_elem123); + _elem122 = new TColumn(); + _elem122.read(iprot); + struct.columns.add(_elem122); } iprot.readListEnd(); } @@ -671,12 +675,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TRowSet struct) thro { org.apache.thrift.protocol.TList _list128 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.rows = new ArrayList(_list128.size); - for (int _i129 = 0; _i129 < _list128.size; ++_i129) + TRow _elem129; + for (int _i130 = 0; _i130 < _list128.size; ++_i130) { - TRow _elem130; // optional - _elem130 = new TRow(); - _elem130.read(iprot); - struct.rows.add(_elem130); + _elem129 = new TRow(); + _elem129.read(iprot); + struct.rows.add(_elem129); } } struct.setRowsIsSet(true); @@ -685,12 +689,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TRowSet struct) thro { org.apache.thrift.protocol.TList _list131 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.columns = new ArrayList(_list131.size); - for (int _i132 = 0; _i132 < _list131.size; ++_i132) + TColumn _elem132; + for (int _i133 = 0; _i133 < _list131.size; ++_i133) { - TColumn _elem133; // optional - _elem133 = new TColumn(); - _elem133.read(iprot); - struct.columns.add(_elem133); + _elem132 = new TColumn(); + _elem132.read(iprot); + struct.columns.add(_elem132); } } struct.setColumnsIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java index 82c00dd..bbaffb7 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TSessionHandle implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TSessionHandle implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TSessionHandle"); private static final org.apache.thrift.protocol.TField SESSION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionId", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TSessionHandle that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_sessionId = true && (isSetSessionId()); - builder.append(present_sessionId); + list.add(present_sessionId); if (present_sessionId) - builder.append(sessionId); + list.add(sessionId); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TSessionHandle other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TSessionHandle typedOther = (TSessionHandle)other; - lastComparison = Boolean.valueOf(isSetSessionId()).compareTo(typedOther.isSetSessionId()); + lastComparison = Boolean.valueOf(isSetSessionId()).compareTo(other.isSetSessionId()); if (lastComparison != 0) { return lastComparison; } if (isSetSessionId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionId, typedOther.sessionId); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionId, other.sessionId); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java index 24a746e..69fd3bf 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TStatus implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TStatus implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStatus"); private static final org.apache.thrift.protocol.TField STATUS_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("statusCode", org.apache.thrift.protocol.TType.I32, (short)1); @@ -129,7 +133,7 @@ public String getFieldName() { // isset id assignments private static final int __ERRORCODE_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.INFO_MESSAGES,_Fields.SQL_STATE,_Fields.ERROR_CODE,_Fields.ERROR_MESSAGE}; + private static final _Fields optionals[] = {_Fields.INFO_MESSAGES,_Fields.SQL_STATE,_Fields.ERROR_CODE,_Fields.ERROR_MESSAGE}; 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); @@ -167,10 +171,7 @@ public TStatus(TStatus other) { this.statusCode = other.statusCode; } if (other.isSetInfoMessages()) { - List __this__infoMessages = new ArrayList(); - for (String other_element : other.infoMessages) { - __this__infoMessages.add(other_element); - } + List __this__infoMessages = new ArrayList(other.infoMessages); this.infoMessages = __this__infoMessages; } if (other.isSetSqlState()) { @@ -483,90 +484,90 @@ public boolean equals(TStatus that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_statusCode = true && (isSetStatusCode()); - builder.append(present_statusCode); + list.add(present_statusCode); if (present_statusCode) - builder.append(statusCode.getValue()); + list.add(statusCode.getValue()); boolean present_infoMessages = true && (isSetInfoMessages()); - builder.append(present_infoMessages); + list.add(present_infoMessages); if (present_infoMessages) - builder.append(infoMessages); + list.add(infoMessages); boolean present_sqlState = true && (isSetSqlState()); - builder.append(present_sqlState); + list.add(present_sqlState); if (present_sqlState) - builder.append(sqlState); + list.add(sqlState); boolean present_errorCode = true && (isSetErrorCode()); - builder.append(present_errorCode); + list.add(present_errorCode); if (present_errorCode) - builder.append(errorCode); + list.add(errorCode); boolean present_errorMessage = true && (isSetErrorMessage()); - builder.append(present_errorMessage); + list.add(present_errorMessage); if (present_errorMessage) - builder.append(errorMessage); + list.add(errorMessage); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TStatus other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TStatus typedOther = (TStatus)other; - lastComparison = Boolean.valueOf(isSetStatusCode()).compareTo(typedOther.isSetStatusCode()); + lastComparison = Boolean.valueOf(isSetStatusCode()).compareTo(other.isSetStatusCode()); if (lastComparison != 0) { return lastComparison; } if (isSetStatusCode()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statusCode, typedOther.statusCode); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statusCode, other.statusCode); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetInfoMessages()).compareTo(typedOther.isSetInfoMessages()); + lastComparison = Boolean.valueOf(isSetInfoMessages()).compareTo(other.isSetInfoMessages()); if (lastComparison != 0) { return lastComparison; } if (isSetInfoMessages()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoMessages, typedOther.infoMessages); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.infoMessages, other.infoMessages); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSqlState()).compareTo(typedOther.isSetSqlState()); + lastComparison = Boolean.valueOf(isSetSqlState()).compareTo(other.isSetSqlState()); if (lastComparison != 0) { return lastComparison; } if (isSetSqlState()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sqlState, typedOther.sqlState); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sqlState, other.sqlState); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(typedOther.isSetErrorCode()); + lastComparison = Boolean.valueOf(isSetErrorCode()).compareTo(other.isSetErrorCode()); if (lastComparison != 0) { return lastComparison; } if (isSetErrorCode()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, typedOther.errorCode); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorCode, other.errorCode); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetErrorMessage()).compareTo(typedOther.isSetErrorMessage()); + lastComparison = Boolean.valueOf(isSetErrorMessage()).compareTo(other.isSetErrorMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetErrorMessage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorMessage, typedOther.errorMessage); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorMessage, other.errorMessage); if (lastComparison != 0) { return lastComparison; } @@ -685,7 +686,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TStatus struct) thr switch (schemeField.id) { case 1: // STATUS_CODE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.statusCode = TStatusCode.findByValue(iprot.readI32()); + struct.statusCode = org.apache.hive.service.cli.thrift.TStatusCode.findByValue(iprot.readI32()); struct.setStatusCodeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -696,11 +697,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TStatus struct) thr { org.apache.thrift.protocol.TList _list134 = iprot.readListBegin(); struct.infoMessages = new ArrayList(_list134.size); - for (int _i135 = 0; _i135 < _list134.size; ++_i135) + String _elem135; + for (int _i136 = 0; _i136 < _list134.size; ++_i136) { - String _elem136; // optional - _elem136 = iprot.readString(); - struct.infoMessages.add(_elem136); + _elem135 = iprot.readString(); + struct.infoMessages.add(_elem135); } iprot.readListEnd(); } @@ -839,18 +840,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TStatus struct) thr @Override public void read(org.apache.thrift.protocol.TProtocol prot, TStatus struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - struct.statusCode = TStatusCode.findByValue(iprot.readI32()); + struct.statusCode = org.apache.hive.service.cli.thrift.TStatusCode.findByValue(iprot.readI32()); struct.setStatusCodeIsSet(true); BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { org.apache.thrift.protocol.TList _list139 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.infoMessages = new ArrayList(_list139.size); - for (int _i140 = 0; _i140 < _list139.size; ++_i140) + String _elem140; + for (int _i141 = 0; _i141 < _list139.size; ++_i141) { - String _elem141; // optional - _elem141 = iprot.readString(); - struct.infoMessages.add(_elem141); + _elem140 = iprot.readString(); + struct.infoMessages.add(_elem140); } } struct.setInfoMessagesIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java index e7fde45..91d1a97 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java index 3dae460..0dd69ab 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TStringColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TStringColumn implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStringColumn"); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField("values", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -129,7 +133,7 @@ public TStringColumn( { this(); this.values = values; - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } /** @@ -137,15 +141,11 @@ public TStringColumn( */ public TStringColumn(TStringColumn other) { if (other.isSetValues()) { - List __this__values = new ArrayList(); - for (String other_element : other.values) { - __this__values.add(other_element); - } + List __this__values = new ArrayList(other.values); this.values = __this__values; } if (other.isSetNulls()) { this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls); -; } } @@ -203,15 +203,15 @@ public void setValuesIsSet(boolean value) { } public ByteBuffer bufferForNulls() { - return nulls; + return org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void setNulls(byte[] nulls) { - setNulls(nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(nulls)); + this.nulls = nulls == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(nulls, nulls.length)); } public void setNulls(ByteBuffer nulls) { - this.nulls = nulls; + this.nulls = org.apache.thrift.TBaseHelper.copyBinary(nulls); } public void unsetNulls() { @@ -313,45 +313,45 @@ public boolean equals(TStringColumn that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_values = true && (isSetValues()); - builder.append(present_values); + list.add(present_values); if (present_values) - builder.append(values); + list.add(values); boolean present_nulls = true && (isSetNulls()); - builder.append(present_nulls); + list.add(present_nulls); if (present_nulls) - builder.append(nulls); + list.add(nulls); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TStringColumn other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TStringColumn typedOther = (TStringColumn)other; - lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues()); + lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, typedOther.values); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNulls()).compareTo(typedOther.isSetNulls()); + lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNulls()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, typedOther.nulls); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls); if (lastComparison != 0) { return lastComparison; } @@ -447,11 +447,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TStringColumn struc { org.apache.thrift.protocol.TList _list102 = iprot.readListBegin(); struct.values = new ArrayList(_list102.size); - for (int _i103 = 0; _i103 < _list102.size; ++_i103) + String _elem103; + for (int _i104 = 0; _i104 < _list102.size; ++_i104) { - String _elem104; // optional - _elem104 = iprot.readString(); - struct.values.add(_elem104); + _elem103 = iprot.readString(); + struct.values.add(_elem103); } iprot.readListEnd(); } @@ -531,11 +531,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TStringColumn struct { org.apache.thrift.protocol.TList _list107 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.values = new ArrayList(_list107.size); - for (int _i108 = 0; _i108 < _list107.size; ++_i108) + String _elem108; + for (int _i109 = 0; _i109 < _list107.size; ++_i109) { - String _elem109; // optional - _elem109 = iprot.readString(); - struct.values.add(_elem109); + _elem108 = iprot.readString(); + struct.values.add(_elem108); } } struct.setValuesIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java index af7a109..a91b130 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TStringValue implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TStringValue implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStringValue"); private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -103,7 +107,7 @@ public String getFieldName() { } // isset id assignments - private _Fields optionals[] = {_Fields.VALUE}; + private static final _Fields optionals[] = {_Fields.VALUE}; 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); @@ -219,30 +223,30 @@ public boolean equals(TStringValue that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_value = true && (isSetValue()); - builder.append(present_value); + list.add(present_value); if (present_value) - builder.append(value); + list.add(value); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TStringValue other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TStringValue typedOther = (TStringValue)other; - lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue()); + lastComparison = Boolean.valueOf(isSetValue()).compareTo(other.isSetValue()); if (lastComparison != 0) { return lastComparison; } if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java index 20f5fb6..b43b664 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TStructTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TStructTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TStructTypeEntry"); private static final org.apache.thrift.protocol.TField NAME_TO_TYPE_PTR_FIELD_DESC = new org.apache.thrift.protocol.TField("nameToTypePtr", org.apache.thrift.protocol.TType.MAP, (short)1); @@ -129,7 +133,7 @@ public TStructTypeEntry( */ public TStructTypeEntry(TStructTypeEntry other) { if (other.isSetNameToTypePtr()) { - Map __this__nameToTypePtr = new HashMap(); + Map __this__nameToTypePtr = new HashMap(other.nameToTypePtr.size()); for (Map.Entry other_element : other.nameToTypePtr.entrySet()) { String other_element_key = other_element.getKey(); @@ -250,30 +254,30 @@ public boolean equals(TStructTypeEntry that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_nameToTypePtr = true && (isSetNameToTypePtr()); - builder.append(present_nameToTypePtr); + list.add(present_nameToTypePtr); if (present_nameToTypePtr) - builder.append(nameToTypePtr); + list.add(nameToTypePtr); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TStructTypeEntry other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TStructTypeEntry typedOther = (TStructTypeEntry)other; - lastComparison = Boolean.valueOf(isSetNameToTypePtr()).compareTo(typedOther.isSetNameToTypePtr()); + lastComparison = Boolean.valueOf(isSetNameToTypePtr()).compareTo(other.isSetNameToTypePtr()); if (lastComparison != 0) { return lastComparison; } if (isSetNameToTypePtr()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nameToTypePtr, typedOther.nameToTypePtr); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nameToTypePtr, other.nameToTypePtr); if (lastComparison != 0) { return lastComparison; } @@ -357,13 +361,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TStructTypeEntry st { org.apache.thrift.protocol.TMap _map10 = iprot.readMapBegin(); struct.nameToTypePtr = new HashMap(2*_map10.size); - for (int _i11 = 0; _i11 < _map10.size; ++_i11) + String _key11; + int _val12; + for (int _i13 = 0; _i13 < _map10.size; ++_i13) { - String _key12; // required - int _val13; // required - _key12 = iprot.readString(); - _val13 = iprot.readI32(); - struct.nameToTypePtr.put(_key12, _val13); + _key11 = iprot.readString(); + _val12 = iprot.readI32(); + struct.nameToTypePtr.put(_key11, _val12); } iprot.readMapEnd(); } @@ -431,13 +435,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TStructTypeEntry str { org.apache.thrift.protocol.TMap _map16 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I32, iprot.readI32()); struct.nameToTypePtr = new HashMap(2*_map16.size); - for (int _i17 = 0; _i17 < _map16.size; ++_i17) + String _key17; + int _val18; + for (int _i19 = 0; _i19 < _map16.size; ++_i19) { - String _key18; // required - int _val19; // required - _key18 = iprot.readString(); - _val19 = iprot.readI32(); - struct.nameToTypePtr.put(_key18, _val19); + _key17 = iprot.readString(); + _val18 = iprot.readI32(); + struct.nameToTypePtr.put(_key17, _val18); } } struct.setNameToTypePtrIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java index ff5e54d..aa1efce 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TTableSchema implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TTableSchema implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTableSchema"); private static final org.apache.thrift.protocol.TField COLUMNS_FIELD_DESC = new org.apache.thrift.protocol.TField("columns", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public TTableSchema( */ public TTableSchema(TTableSchema other) { if (other.isSetColumns()) { - List __this__columns = new ArrayList(); + List __this__columns = new ArrayList(other.columns.size()); for (TColumnDesc other_element : other.columns) { __this__columns.add(new TColumnDesc(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(TTableSchema that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_columns = true && (isSetColumns()); - builder.append(present_columns); + list.add(present_columns); if (present_columns) - builder.append(columns); + list.add(columns); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TTableSchema other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TTableSchema typedOther = (TTableSchema)other; - lastComparison = Boolean.valueOf(isSetColumns()).compareTo(typedOther.isSetColumns()); + lastComparison = Boolean.valueOf(isSetColumns()).compareTo(other.isSetColumns()); if (lastComparison != 0) { return lastComparison; } if (isSetColumns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, typedOther.columns); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, other.columns); if (lastComparison != 0) { return lastComparison; } @@ -352,12 +356,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TTableSchema struct { org.apache.thrift.protocol.TList _list38 = iprot.readListBegin(); struct.columns = new ArrayList(_list38.size); - for (int _i39 = 0; _i39 < _list38.size; ++_i39) + TColumnDesc _elem39; + for (int _i40 = 0; _i40 < _list38.size; ++_i40) { - TColumnDesc _elem40; // optional - _elem40 = new TColumnDesc(); - _elem40.read(iprot); - struct.columns.add(_elem40); + _elem39 = new TColumnDesc(); + _elem39.read(iprot); + struct.columns.add(_elem39); } iprot.readListEnd(); } @@ -423,12 +427,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TTableSchema struct) { org.apache.thrift.protocol.TList _list43 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.columns = new ArrayList(_list43.size); - for (int _i44 = 0; _i44 < _list43.size; ++_i44) + TColumnDesc _elem44; + for (int _i45 = 0; _i45 < _list43.size; ++_i45) { - TColumnDesc _elem45; // optional - _elem45 = new TColumnDesc(); - _elem45.read(iprot); - struct.columns.add(_elem45); + _elem44 = new TColumnDesc(); + _elem44.read(iprot); + struct.columns.add(_elem44); } } struct.setColumnsIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java index 251f86a..36a8ee5 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TTypeDesc implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TTypeDesc implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeDesc"); private static final org.apache.thrift.protocol.TField TYPES_FIELD_DESC = new org.apache.thrift.protocol.TField("types", org.apache.thrift.protocol.TType.LIST, (short)1); @@ -128,7 +132,7 @@ public TTypeDesc( */ public TTypeDesc(TTypeDesc other) { if (other.isSetTypes()) { - List __this__types = new ArrayList(); + List __this__types = new ArrayList(other.types.size()); for (TTypeEntry other_element : other.types) { __this__types.add(new TTypeEntry(other_element)); } @@ -245,30 +249,30 @@ public boolean equals(TTypeDesc that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_types = true && (isSetTypes()); - builder.append(present_types); + list.add(present_types); if (present_types) - builder.append(types); + list.add(types); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TTypeDesc other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TTypeDesc typedOther = (TTypeDesc)other; - lastComparison = Boolean.valueOf(isSetTypes()).compareTo(typedOther.isSetTypes()); + lastComparison = Boolean.valueOf(isSetTypes()).compareTo(other.isSetTypes()); if (lastComparison != 0) { return lastComparison; } if (isSetTypes()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.types, typedOther.types); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.types, other.types); if (lastComparison != 0) { return lastComparison; } @@ -352,12 +356,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TTypeDesc struct) t { org.apache.thrift.protocol.TList _list30 = iprot.readListBegin(); struct.types = new ArrayList(_list30.size); - for (int _i31 = 0; _i31 < _list30.size; ++_i31) + TTypeEntry _elem31; + for (int _i32 = 0; _i32 < _list30.size; ++_i32) { - TTypeEntry _elem32; // optional - _elem32 = new TTypeEntry(); - _elem32.read(iprot); - struct.types.add(_elem32); + _elem31 = new TTypeEntry(); + _elem31.read(iprot); + struct.types.add(_elem31); } iprot.readListEnd(); } @@ -423,12 +427,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TTypeDesc struct) th { org.apache.thrift.protocol.TList _list35 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.types = new ArrayList(_list35.size); - for (int _i36 = 0; _i36 < _list35.size; ++_i36) + TTypeEntry _elem36; + for (int _i37 = 0; _i37 < _list35.size; ++_i37) { - TTypeEntry _elem37; // optional - _elem37 = new TTypeEntry(); - _elem37.read(iprot); - struct.types.add(_elem37); + _elem36 = new TTypeEntry(); + _elem36.read(iprot); + struct.types.add(_elem36); } } struct.setTypesIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java index af7c0b4..203d3b9 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class TTypeEntry extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeEntry"); private static final org.apache.thrift.protocol.TField PRIMITIVE_ENTRY_FIELD_DESC = new org.apache.thrift.protocol.TField("primitiveEntry", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -291,6 +294,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } } @@ -575,19 +579,19 @@ public int compareTo(TTypeEntry other) { @Override public int hashCode() { - HashCodeBuilder hcb = new HashCodeBuilder(); - hcb.append(this.getClass().getName()); + List list = new ArrayList(); + list.add(this.getClass().getName()); org.apache.thrift.TFieldIdEnum setField = getSetField(); if (setField != null) { - hcb.append(setField.getThriftFieldId()); + list.add(setField.getThriftFieldId()); Object value = getFieldValue(); if (value instanceof org.apache.thrift.TEnum) { - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue()); + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue()); } else { - hcb.append(value); + list.add(value); } } - return hcb.toHashCode(); + return list.hashCode(); } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java index 40f0589..e6f2336 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java index 8c40687..54df6dc 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,9 +29,11 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) public class TTypeQualifierValue extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeQualifierValue"); private static final org.apache.thrift.protocol.TField I32_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("i32Value", org.apache.thrift.protocol.TType.I32, (short)1); @@ -181,6 +184,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); return null; } } @@ -326,19 +330,19 @@ public int compareTo(TTypeQualifierValue other) { @Override public int hashCode() { - HashCodeBuilder hcb = new HashCodeBuilder(); - hcb.append(this.getClass().getName()); + List list = new ArrayList(); + list.add(this.getClass().getName()); org.apache.thrift.TFieldIdEnum setField = getSetField(); if (setField != null) { - hcb.append(setField.getThriftFieldId()); + list.add(setField.getThriftFieldId()); Object value = getFieldValue(); if (value instanceof org.apache.thrift.TEnum) { - hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue()); + list.add(((org.apache.thrift.TEnum)getFieldValue()).getValue()); } else { - hcb.append(value); + list.add(value); } } - return hcb.toHashCode(); + return list.hashCode(); } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java index 3935555..b5f45b5 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TTypeQualifiers implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TTypeQualifiers implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeQualifiers"); private static final org.apache.thrift.protocol.TField QUALIFIERS_FIELD_DESC = new org.apache.thrift.protocol.TField("qualifiers", org.apache.thrift.protocol.TType.MAP, (short)1); @@ -129,7 +133,7 @@ public TTypeQualifiers( */ public TTypeQualifiers(TTypeQualifiers other) { if (other.isSetQualifiers()) { - Map __this__qualifiers = new HashMap(); + Map __this__qualifiers = new HashMap(other.qualifiers.size()); for (Map.Entry other_element : other.qualifiers.entrySet()) { String other_element_key = other_element.getKey(); @@ -250,30 +254,30 @@ public boolean equals(TTypeQualifiers that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_qualifiers = true && (isSetQualifiers()); - builder.append(present_qualifiers); + list.add(present_qualifiers); if (present_qualifiers) - builder.append(qualifiers); + list.add(qualifiers); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TTypeQualifiers other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TTypeQualifiers typedOther = (TTypeQualifiers)other; - lastComparison = Boolean.valueOf(isSetQualifiers()).compareTo(typedOther.isSetQualifiers()); + lastComparison = Boolean.valueOf(isSetQualifiers()).compareTo(other.isSetQualifiers()); if (lastComparison != 0) { return lastComparison; } if (isSetQualifiers()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifiers, typedOther.qualifiers); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifiers, other.qualifiers); if (lastComparison != 0) { return lastComparison; } @@ -357,14 +361,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TTypeQualifiers str { org.apache.thrift.protocol.TMap _map0 = iprot.readMapBegin(); struct.qualifiers = new HashMap(2*_map0.size); - for (int _i1 = 0; _i1 < _map0.size; ++_i1) + String _key1; + TTypeQualifierValue _val2; + for (int _i3 = 0; _i3 < _map0.size; ++_i3) { - String _key2; // required - TTypeQualifierValue _val3; // required - _key2 = iprot.readString(); - _val3 = new TTypeQualifierValue(); - _val3.read(iprot); - struct.qualifiers.put(_key2, _val3); + _key1 = iprot.readString(); + _val2 = new TTypeQualifierValue(); + _val2.read(iprot); + struct.qualifiers.put(_key1, _val2); } iprot.readMapEnd(); } @@ -432,14 +436,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TTypeQualifiers stru { org.apache.thrift.protocol.TMap _map6 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.qualifiers = new HashMap(2*_map6.size); - for (int _i7 = 0; _i7 < _map6.size; ++_i7) + String _key7; + TTypeQualifierValue _val8; + for (int _i9 = 0; _i9 < _map6.size; ++_i9) { - String _key8; // required - TTypeQualifierValue _val9; // required - _key8 = iprot.readString(); - _val9 = new TTypeQualifierValue(); - _val9.read(iprot); - struct.qualifiers.put(_key8, _val9); + _key7 = iprot.readString(); + _val8 = new TTypeQualifierValue(); + _val8.read(iprot); + struct.qualifiers.put(_key7, _val8); } } struct.setQualifiersIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java index 73dd45d..cde87d0 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TUnionTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TUnionTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TUnionTypeEntry"); private static final org.apache.thrift.protocol.TField NAME_TO_TYPE_PTR_FIELD_DESC = new org.apache.thrift.protocol.TField("nameToTypePtr", org.apache.thrift.protocol.TType.MAP, (short)1); @@ -129,7 +133,7 @@ public TUnionTypeEntry( */ public TUnionTypeEntry(TUnionTypeEntry other) { if (other.isSetNameToTypePtr()) { - Map __this__nameToTypePtr = new HashMap(); + Map __this__nameToTypePtr = new HashMap(other.nameToTypePtr.size()); for (Map.Entry other_element : other.nameToTypePtr.entrySet()) { String other_element_key = other_element.getKey(); @@ -250,30 +254,30 @@ public boolean equals(TUnionTypeEntry that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_nameToTypePtr = true && (isSetNameToTypePtr()); - builder.append(present_nameToTypePtr); + list.add(present_nameToTypePtr); if (present_nameToTypePtr) - builder.append(nameToTypePtr); + list.add(nameToTypePtr); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TUnionTypeEntry other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TUnionTypeEntry typedOther = (TUnionTypeEntry)other; - lastComparison = Boolean.valueOf(isSetNameToTypePtr()).compareTo(typedOther.isSetNameToTypePtr()); + lastComparison = Boolean.valueOf(isSetNameToTypePtr()).compareTo(other.isSetNameToTypePtr()); if (lastComparison != 0) { return lastComparison; } if (isSetNameToTypePtr()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nameToTypePtr, typedOther.nameToTypePtr); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nameToTypePtr, other.nameToTypePtr); if (lastComparison != 0) { return lastComparison; } @@ -357,13 +361,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TUnionTypeEntry str { org.apache.thrift.protocol.TMap _map20 = iprot.readMapBegin(); struct.nameToTypePtr = new HashMap(2*_map20.size); - for (int _i21 = 0; _i21 < _map20.size; ++_i21) + String _key21; + int _val22; + for (int _i23 = 0; _i23 < _map20.size; ++_i23) { - String _key22; // required - int _val23; // required - _key22 = iprot.readString(); - _val23 = iprot.readI32(); - struct.nameToTypePtr.put(_key22, _val23); + _key21 = iprot.readString(); + _val22 = iprot.readI32(); + struct.nameToTypePtr.put(_key21, _val22); } iprot.readMapEnd(); } @@ -431,13 +435,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TUnionTypeEntry stru { org.apache.thrift.protocol.TMap _map26 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I32, iprot.readI32()); struct.nameToTypePtr = new HashMap(2*_map26.size); - for (int _i27 = 0; _i27 < _map26.size; ++_i27) + String _key27; + int _val28; + for (int _i29 = 0; _i29 < _map26.size; ++_i29) { - String _key28; // required - int _val29; // required - _key28 = iprot.readString(); - _val29 = iprot.readI32(); - struct.nameToTypePtr.put(_key28, _val29); + _key27 = iprot.readString(); + _val28 = iprot.readI32(); + struct.nameToTypePtr.put(_key27, _val28); } } struct.setNameToTypePtrIsSet(true); diff --git a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java index 3a111a2..26400c3 100644 --- a/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java +++ b/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java @@ -1,12 +1,11 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hive.service.cli.thrift; -import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; @@ -16,6 +15,8 @@ import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -28,10 +29,13 @@ import java.util.BitSet; import java.nio.ByteBuffer; import java.util.Arrays; +import javax.annotation.Generated; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class TUserDefinedTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-7-23") +public class TUserDefinedTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TUserDefinedTypeEntry"); private static final org.apache.thrift.protocol.TField TYPE_CLASS_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("typeClassName", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -225,30 +229,30 @@ public boolean equals(TUserDefinedTypeEntry that) { @Override public int hashCode() { - HashCodeBuilder builder = new HashCodeBuilder(); + List list = new ArrayList(); boolean present_typeClassName = true && (isSetTypeClassName()); - builder.append(present_typeClassName); + list.add(present_typeClassName); if (present_typeClassName) - builder.append(typeClassName); + list.add(typeClassName); - return builder.toHashCode(); + return list.hashCode(); } + @Override public int compareTo(TUserDefinedTypeEntry other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TUserDefinedTypeEntry typedOther = (TUserDefinedTypeEntry)other; - lastComparison = Boolean.valueOf(isSetTypeClassName()).compareTo(typedOther.isSetTypeClassName()); + lastComparison = Boolean.valueOf(isSetTypeClassName()).compareTo(other.isSetTypeClassName()); if (lastComparison != 0) { return lastComparison; } if (isSetTypeClassName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeClassName, typedOther.typeClassName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeClassName, other.typeClassName); if (lastComparison != 0) { return lastComparison; } diff --git a/service/src/gen/thrift/gen-php/TCLIService.php b/service/src/gen/thrift/gen-php/TCLIService.php index d246296..f5dd904 100644 --- a/service/src/gen/thrift/gen-php/TCLIService.php +++ b/service/src/gen/thrift/gen-php/TCLIService.php @@ -1,7 +1,7 @@ req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'OpenSession', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -74,7 +151,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_OpenSession() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_OpenSession_result', $this->input_->isStrictRead()); else { @@ -109,7 +186,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_CloseSession_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'CloseSession', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -125,7 +202,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_CloseSession() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_CloseSession_result', $this->input_->isStrictRead()); else { @@ -160,7 +237,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_GetInfo_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'GetInfo', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -176,7 +253,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_GetInfo() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetInfo_result', $this->input_->isStrictRead()); else { @@ -211,7 +288,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_ExecuteStatement_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'ExecuteStatement', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -227,7 +304,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_ExecuteStatement() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_ExecuteStatement_result', $this->input_->isStrictRead()); else { @@ -262,7 +339,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_GetTypeInfo_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'GetTypeInfo', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -278,7 +355,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_GetTypeInfo() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetTypeInfo_result', $this->input_->isStrictRead()); else { @@ -313,7 +390,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_GetCatalogs_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'GetCatalogs', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -329,7 +406,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_GetCatalogs() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetCatalogs_result', $this->input_->isStrictRead()); else { @@ -364,7 +441,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_GetSchemas_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'GetSchemas', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -380,7 +457,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_GetSchemas() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetSchemas_result', $this->input_->isStrictRead()); else { @@ -415,7 +492,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_GetTables_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'GetTables', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -431,7 +508,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_GetTables() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetTables_result', $this->input_->isStrictRead()); else { @@ -466,7 +543,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_GetTableTypes_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'GetTableTypes', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -482,7 +559,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_GetTableTypes() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetTableTypes_result', $this->input_->isStrictRead()); else { @@ -517,7 +594,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_GetColumns_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'GetColumns', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -533,7 +610,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_GetColumns() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetColumns_result', $this->input_->isStrictRead()); else { @@ -568,7 +645,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_GetFunctions_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'GetFunctions', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -584,7 +661,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_GetFunctions() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetFunctions_result', $this->input_->isStrictRead()); else { @@ -619,7 +696,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_GetOperationStatus_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'GetOperationStatus', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -635,7 +712,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_GetOperationStatus() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetOperationStatus_result', $this->input_->isStrictRead()); else { @@ -670,7 +747,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_CancelOperation_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'CancelOperation', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -686,7 +763,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_CancelOperation() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_CancelOperation_result', $this->input_->isStrictRead()); else { @@ -721,7 +798,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_CloseOperation_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'CloseOperation', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -737,7 +814,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_CloseOperation() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_CloseOperation_result', $this->input_->isStrictRead()); else { @@ -772,7 +849,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_GetResultSetMetadata_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'GetResultSetMetadata', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -788,7 +865,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_GetResultSetMetadata() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetResultSetMetadata_result', $this->input_->isStrictRead()); else { @@ -823,7 +900,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_FetchResults_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'FetchResults', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -839,7 +916,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_FetchResults() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_FetchResults_result', $this->input_->isStrictRead()); else { @@ -874,7 +951,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_GetDelegationToken_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'GetDelegationToken', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -890,7 +967,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_GetDelegationToken() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_GetDelegationToken_result', $this->input_->isStrictRead()); else { @@ -925,7 +1002,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_CancelDelegationToken_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'CancelDelegationToken', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -941,7 +1018,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_CancelDelegationToken() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_CancelDelegationToken_result', $this->input_->isStrictRead()); else { @@ -976,7 +1053,7 @@ class TCLIServiceClient implements \TCLIServiceIf { { $args = new \TCLIService_RenewDelegationToken_args(); $args->req = $req; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'RenewDelegationToken', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -992,7 +1069,7 @@ class TCLIServiceClient implements \TCLIServiceIf { public function recv_RenewDelegationToken() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\TCLIService_RenewDelegationToken_result', $this->input_->isStrictRead()); else { @@ -1024,6 +1101,9 @@ class TCLIServiceClient implements \TCLIServiceIf { class TCLIService_OpenSession_args { static $_TSPEC; + /** + * @var \TOpenSessionReq + */ public $req = null; public function __construct($vals=null) { @@ -1101,6 +1181,9 @@ class TCLIService_OpenSession_args { class TCLIService_OpenSession_result { static $_TSPEC; + /** + * @var \TOpenSessionResp + */ public $success = null; public function __construct($vals=null) { @@ -1178,6 +1261,9 @@ class TCLIService_OpenSession_result { class TCLIService_CloseSession_args { static $_TSPEC; + /** + * @var \TCloseSessionReq + */ public $req = null; public function __construct($vals=null) { @@ -1255,6 +1341,9 @@ class TCLIService_CloseSession_args { class TCLIService_CloseSession_result { static $_TSPEC; + /** + * @var \TCloseSessionResp + */ public $success = null; public function __construct($vals=null) { @@ -1332,6 +1421,9 @@ class TCLIService_CloseSession_result { class TCLIService_GetInfo_args { static $_TSPEC; + /** + * @var \TGetInfoReq + */ public $req = null; public function __construct($vals=null) { @@ -1409,6 +1501,9 @@ class TCLIService_GetInfo_args { class TCLIService_GetInfo_result { static $_TSPEC; + /** + * @var \TGetInfoResp + */ public $success = null; public function __construct($vals=null) { @@ -1486,6 +1581,9 @@ class TCLIService_GetInfo_result { class TCLIService_ExecuteStatement_args { static $_TSPEC; + /** + * @var \TExecuteStatementReq + */ public $req = null; public function __construct($vals=null) { @@ -1563,6 +1661,9 @@ class TCLIService_ExecuteStatement_args { class TCLIService_ExecuteStatement_result { static $_TSPEC; + /** + * @var \TExecuteStatementResp + */ public $success = null; public function __construct($vals=null) { @@ -1640,6 +1741,9 @@ class TCLIService_ExecuteStatement_result { class TCLIService_GetTypeInfo_args { static $_TSPEC; + /** + * @var \TGetTypeInfoReq + */ public $req = null; public function __construct($vals=null) { @@ -1717,6 +1821,9 @@ class TCLIService_GetTypeInfo_args { class TCLIService_GetTypeInfo_result { static $_TSPEC; + /** + * @var \TGetTypeInfoResp + */ public $success = null; public function __construct($vals=null) { @@ -1794,6 +1901,9 @@ class TCLIService_GetTypeInfo_result { class TCLIService_GetCatalogs_args { static $_TSPEC; + /** + * @var \TGetCatalogsReq + */ public $req = null; public function __construct($vals=null) { @@ -1871,6 +1981,9 @@ class TCLIService_GetCatalogs_args { class TCLIService_GetCatalogs_result { static $_TSPEC; + /** + * @var \TGetCatalogsResp + */ public $success = null; public function __construct($vals=null) { @@ -1948,6 +2061,9 @@ class TCLIService_GetCatalogs_result { class TCLIService_GetSchemas_args { static $_TSPEC; + /** + * @var \TGetSchemasReq + */ public $req = null; public function __construct($vals=null) { @@ -2025,6 +2141,9 @@ class TCLIService_GetSchemas_args { class TCLIService_GetSchemas_result { static $_TSPEC; + /** + * @var \TGetSchemasResp + */ public $success = null; public function __construct($vals=null) { @@ -2102,6 +2221,9 @@ class TCLIService_GetSchemas_result { class TCLIService_GetTables_args { static $_TSPEC; + /** + * @var \TGetTablesReq + */ public $req = null; public function __construct($vals=null) { @@ -2179,6 +2301,9 @@ class TCLIService_GetTables_args { class TCLIService_GetTables_result { static $_TSPEC; + /** + * @var \TGetTablesResp + */ public $success = null; public function __construct($vals=null) { @@ -2256,6 +2381,9 @@ class TCLIService_GetTables_result { class TCLIService_GetTableTypes_args { static $_TSPEC; + /** + * @var \TGetTableTypesReq + */ public $req = null; public function __construct($vals=null) { @@ -2333,6 +2461,9 @@ class TCLIService_GetTableTypes_args { class TCLIService_GetTableTypes_result { static $_TSPEC; + /** + * @var \TGetTableTypesResp + */ public $success = null; public function __construct($vals=null) { @@ -2410,6 +2541,9 @@ class TCLIService_GetTableTypes_result { class TCLIService_GetColumns_args { static $_TSPEC; + /** + * @var \TGetColumnsReq + */ public $req = null; public function __construct($vals=null) { @@ -2487,6 +2621,9 @@ class TCLIService_GetColumns_args { class TCLIService_GetColumns_result { static $_TSPEC; + /** + * @var \TGetColumnsResp + */ public $success = null; public function __construct($vals=null) { @@ -2564,6 +2701,9 @@ class TCLIService_GetColumns_result { class TCLIService_GetFunctions_args { static $_TSPEC; + /** + * @var \TGetFunctionsReq + */ public $req = null; public function __construct($vals=null) { @@ -2641,6 +2781,9 @@ class TCLIService_GetFunctions_args { class TCLIService_GetFunctions_result { static $_TSPEC; + /** + * @var \TGetFunctionsResp + */ public $success = null; public function __construct($vals=null) { @@ -2718,6 +2861,9 @@ class TCLIService_GetFunctions_result { class TCLIService_GetOperationStatus_args { static $_TSPEC; + /** + * @var \TGetOperationStatusReq + */ public $req = null; public function __construct($vals=null) { @@ -2795,6 +2941,9 @@ class TCLIService_GetOperationStatus_args { class TCLIService_GetOperationStatus_result { static $_TSPEC; + /** + * @var \TGetOperationStatusResp + */ public $success = null; public function __construct($vals=null) { @@ -2872,6 +3021,9 @@ class TCLIService_GetOperationStatus_result { class TCLIService_CancelOperation_args { static $_TSPEC; + /** + * @var \TCancelOperationReq + */ public $req = null; public function __construct($vals=null) { @@ -2949,6 +3101,9 @@ class TCLIService_CancelOperation_args { class TCLIService_CancelOperation_result { static $_TSPEC; + /** + * @var \TCancelOperationResp + */ public $success = null; public function __construct($vals=null) { @@ -3026,6 +3181,9 @@ class TCLIService_CancelOperation_result { class TCLIService_CloseOperation_args { static $_TSPEC; + /** + * @var \TCloseOperationReq + */ public $req = null; public function __construct($vals=null) { @@ -3103,6 +3261,9 @@ class TCLIService_CloseOperation_args { class TCLIService_CloseOperation_result { static $_TSPEC; + /** + * @var \TCloseOperationResp + */ public $success = null; public function __construct($vals=null) { @@ -3180,6 +3341,9 @@ class TCLIService_CloseOperation_result { class TCLIService_GetResultSetMetadata_args { static $_TSPEC; + /** + * @var \TGetResultSetMetadataReq + */ public $req = null; public function __construct($vals=null) { @@ -3257,6 +3421,9 @@ class TCLIService_GetResultSetMetadata_args { class TCLIService_GetResultSetMetadata_result { static $_TSPEC; + /** + * @var \TGetResultSetMetadataResp + */ public $success = null; public function __construct($vals=null) { @@ -3334,6 +3501,9 @@ class TCLIService_GetResultSetMetadata_result { class TCLIService_FetchResults_args { static $_TSPEC; + /** + * @var \TFetchResultsReq + */ public $req = null; public function __construct($vals=null) { @@ -3411,6 +3581,9 @@ class TCLIService_FetchResults_args { class TCLIService_FetchResults_result { static $_TSPEC; + /** + * @var \TFetchResultsResp + */ public $success = null; public function __construct($vals=null) { @@ -3488,6 +3661,9 @@ class TCLIService_FetchResults_result { class TCLIService_GetDelegationToken_args { static $_TSPEC; + /** + * @var \TGetDelegationTokenReq + */ public $req = null; public function __construct($vals=null) { @@ -3565,6 +3741,9 @@ class TCLIService_GetDelegationToken_args { class TCLIService_GetDelegationToken_result { static $_TSPEC; + /** + * @var \TGetDelegationTokenResp + */ public $success = null; public function __construct($vals=null) { @@ -3642,6 +3821,9 @@ class TCLIService_GetDelegationToken_result { class TCLIService_CancelDelegationToken_args { static $_TSPEC; + /** + * @var \TCancelDelegationTokenReq + */ public $req = null; public function __construct($vals=null) { @@ -3719,6 +3901,9 @@ class TCLIService_CancelDelegationToken_args { class TCLIService_CancelDelegationToken_result { static $_TSPEC; + /** + * @var \TCancelDelegationTokenResp + */ public $success = null; public function __construct($vals=null) { @@ -3796,6 +3981,9 @@ class TCLIService_CancelDelegationToken_result { class TCLIService_RenewDelegationToken_args { static $_TSPEC; + /** + * @var \TRenewDelegationTokenReq + */ public $req = null; public function __construct($vals=null) { @@ -3873,6 +4061,9 @@ class TCLIService_RenewDelegationToken_args { class TCLIService_RenewDelegationToken_result { static $_TSPEC; + /** + * @var \TRenewDelegationTokenResp + */ public $success = null; public function __construct($vals=null) { diff --git a/service/src/gen/thrift/gen-php/ThriftHive.php b/service/src/gen/thrift/gen-php/ThriftHive.php index 8fc3ff4..2c783b6 100644 --- a/service/src/gen/thrift/gen-php/ThriftHive.php +++ b/service/src/gen/thrift/gen-php/ThriftHive.php @@ -1,7 +1,7 @@ query = $query; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'execute', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -58,7 +94,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function recv_execute() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\ThriftHive_execute_result', $this->input_->isStrictRead()); else { @@ -92,7 +128,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function send_fetchOne() { $args = new \ThriftHive_fetchOne_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'fetchOne', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -108,7 +144,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function recv_fetchOne() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\ThriftHive_fetchOne_result', $this->input_->isStrictRead()); else { @@ -146,7 +182,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ { $args = new \ThriftHive_fetchN_args(); $args->numRows = $numRows; - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'fetchN', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -162,7 +198,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function recv_fetchN() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\ThriftHive_fetchN_result', $this->input_->isStrictRead()); else { @@ -199,7 +235,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function send_fetchAll() { $args = new \ThriftHive_fetchAll_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'fetchAll', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -215,7 +251,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function recv_fetchAll() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\ThriftHive_fetchAll_result', $this->input_->isStrictRead()); else { @@ -252,7 +288,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function send_getSchema() { $args = new \ThriftHive_getSchema_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'getSchema', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -268,7 +304,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function recv_getSchema() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\ThriftHive_getSchema_result', $this->input_->isStrictRead()); else { @@ -305,7 +341,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function send_getThriftSchema() { $args = new \ThriftHive_getThriftSchema_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'getThriftSchema', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -321,7 +357,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function recv_getThriftSchema() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\ThriftHive_getThriftSchema_result', $this->input_->isStrictRead()); else { @@ -358,7 +394,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function send_getClusterStatus() { $args = new \ThriftHive_getClusterStatus_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'getClusterStatus', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -374,7 +410,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function recv_getClusterStatus() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\ThriftHive_getClusterStatus_result', $this->input_->isStrictRead()); else { @@ -411,7 +447,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function send_getQueryPlan() { $args = new \ThriftHive_getQueryPlan_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'getQueryPlan', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -427,7 +463,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function recv_getQueryPlan() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\ThriftHive_getQueryPlan_result', $this->input_->isStrictRead()); else { @@ -464,7 +500,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function send_clean() { $args = new \ThriftHive_clean_args(); - $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { thrift_protocol_write_binary($this->output_, 'clean', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); @@ -480,7 +516,7 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ public function recv_clean() { - $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\ThriftHive_clean_result', $this->input_->isStrictRead()); else { @@ -509,6 +545,9 @@ class ThriftHiveClient extends \metastore\ThriftHiveMetastoreClient implements \ class ThriftHive_execute_args { static $_TSPEC; + /** + * @var string + */ public $query = null; public function __construct($vals=null) { @@ -581,6 +620,9 @@ class ThriftHive_execute_args { class ThriftHive_execute_result { static $_TSPEC; + /** + * @var \HiveServerException + */ public $ex = null; public function __construct($vals=null) { @@ -705,7 +747,13 @@ class ThriftHive_fetchOne_args { class ThriftHive_fetchOne_result { static $_TSPEC; + /** + * @var string + */ public $success = null; + /** + * @var \HiveServerException + */ public $ex = null; public function __construct($vals=null) { @@ -799,6 +847,9 @@ class ThriftHive_fetchOne_result { class ThriftHive_fetchN_args { static $_TSPEC; + /** + * @var int + */ public $numRows = null; public function __construct($vals=null) { @@ -871,7 +922,13 @@ class ThriftHive_fetchN_args { class ThriftHive_fetchN_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \HiveServerException + */ public $ex = null; public function __construct($vals=null) { @@ -1041,7 +1098,13 @@ class ThriftHive_fetchAll_args { class ThriftHive_fetchAll_result { static $_TSPEC; + /** + * @var string[] + */ public $success = null; + /** + * @var \HiveServerException + */ public $ex = null; public function __construct($vals=null) { @@ -1211,7 +1274,13 @@ class ThriftHive_getSchema_args { class ThriftHive_getSchema_result { static $_TSPEC; + /** + * @var \metastore\Schema + */ public $success = null; + /** + * @var \HiveServerException + */ public $ex = null; public function __construct($vals=null) { @@ -1360,7 +1429,13 @@ class ThriftHive_getThriftSchema_args { class ThriftHive_getThriftSchema_result { static $_TSPEC; + /** + * @var \metastore\Schema + */ public $success = null; + /** + * @var \HiveServerException + */ public $ex = null; public function __construct($vals=null) { @@ -1509,7 +1584,13 @@ class ThriftHive_getClusterStatus_args { class ThriftHive_getClusterStatus_result { static $_TSPEC; + /** + * @var \HiveClusterStatus + */ public $success = null; + /** + * @var \HiveServerException + */ public $ex = null; public function __construct($vals=null) { @@ -1658,7 +1739,13 @@ class ThriftHive_getQueryPlan_args { class ThriftHive_getQueryPlan_result { static $_TSPEC; + /** + * @var \QueryPlan + */ public $success = null; + /** + * @var \HiveServerException + */ public $ex = null; public function __construct($vals=null) { diff --git a/service/src/gen/thrift/gen-php/Types.php b/service/src/gen/thrift/gen-php/Types.php index f4225ad..d8f3c5b 100644 --- a/service/src/gen/thrift/gen-php/Types.php +++ b/service/src/gen/thrift/gen-php/Types.php @@ -2,7 +2,7 @@ namespace ; /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -13,6 +13,7 @@ use Thrift\Type\TMessageType; use Thrift\Exception\TException; use Thrift\Exception\TProtocolException; use Thrift\Protocol\TProtocol; +use Thrift\Protocol\TBinaryProtocolAccelerated; use Thrift\Exception\TApplicationException; @@ -28,11 +29,29 @@ final class JobTrackerState { class HiveClusterStatus { static $_TSPEC; + /** + * @var int + */ public $taskTrackers = null; + /** + * @var int + */ public $mapTasks = null; + /** + * @var int + */ public $reduceTasks = null; + /** + * @var int + */ public $maxMapTasks = null; + /** + * @var int + */ public $maxReduceTasks = null; + /** + * @var int + */ public $state = null; public function __construct($vals=null) { @@ -200,8 +219,17 @@ class HiveClusterStatus { class HiveServerException extends TException { static $_TSPEC; + /** + * @var string + */ public $message = null; + /** + * @var int + */ public $errorCode = null; + /** + * @var string + */ public $SQLState = null; public function __construct($vals=null) { diff --git a/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote b/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote old mode 100644 new mode 100755 index f6ff43f..2bfca56 --- a/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote +++ b/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -12,37 +12,38 @@ import pprint from urlparse import urlparse from thrift.transport import TTransport from thrift.transport import TSocket +from thrift.transport import TSSLSocket from thrift.transport import THttpClient from thrift.protocol import TBinaryProtocol -import TCLIService -from ttypes import * +from TCLIService import TCLIService +from TCLIService.ttypes import * if len(sys.argv) <= 1 or sys.argv[1] == '--help': - print '' - print 'Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] function [arg1 [arg2...]]' - print '' - print 'Functions:' - print ' TOpenSessionResp OpenSession(TOpenSessionReq req)' - print ' TCloseSessionResp CloseSession(TCloseSessionReq req)' - print ' TGetInfoResp GetInfo(TGetInfoReq req)' - print ' TExecuteStatementResp ExecuteStatement(TExecuteStatementReq req)' - print ' TGetTypeInfoResp GetTypeInfo(TGetTypeInfoReq req)' - print ' TGetCatalogsResp GetCatalogs(TGetCatalogsReq req)' - print ' TGetSchemasResp GetSchemas(TGetSchemasReq req)' - print ' TGetTablesResp GetTables(TGetTablesReq req)' - print ' TGetTableTypesResp GetTableTypes(TGetTableTypesReq req)' - print ' TGetColumnsResp GetColumns(TGetColumnsReq req)' - print ' TGetFunctionsResp GetFunctions(TGetFunctionsReq req)' - print ' TGetOperationStatusResp GetOperationStatus(TGetOperationStatusReq req)' - print ' TCancelOperationResp CancelOperation(TCancelOperationReq req)' - print ' TCloseOperationResp CloseOperation(TCloseOperationReq req)' - print ' TGetResultSetMetadataResp GetResultSetMetadata(TGetResultSetMetadataReq req)' - print ' TFetchResultsResp FetchResults(TFetchResultsReq req)' - print ' TGetDelegationTokenResp GetDelegationToken(TGetDelegationTokenReq req)' - print ' TCancelDelegationTokenResp CancelDelegationToken(TCancelDelegationTokenReq req)' - print ' TRenewDelegationTokenResp RenewDelegationToken(TRenewDelegationTokenReq req)' - print '' + print('') + print('Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] [-s[sl]] function [arg1 [arg2...]]') + print('') + print('Functions:') + print(' TOpenSessionResp OpenSession(TOpenSessionReq req)') + print(' TCloseSessionResp CloseSession(TCloseSessionReq req)') + print(' TGetInfoResp GetInfo(TGetInfoReq req)') + print(' TExecuteStatementResp ExecuteStatement(TExecuteStatementReq req)') + print(' TGetTypeInfoResp GetTypeInfo(TGetTypeInfoReq req)') + print(' TGetCatalogsResp GetCatalogs(TGetCatalogsReq req)') + print(' TGetSchemasResp GetSchemas(TGetSchemasReq req)') + print(' TGetTablesResp GetTables(TGetTablesReq req)') + print(' TGetTableTypesResp GetTableTypes(TGetTableTypesReq req)') + print(' TGetColumnsResp GetColumns(TGetColumnsReq req)') + print(' TGetFunctionsResp GetFunctions(TGetFunctionsReq req)') + print(' TGetOperationStatusResp GetOperationStatus(TGetOperationStatusReq req)') + print(' TCancelOperationResp CancelOperation(TCancelOperationReq req)') + print(' TCloseOperationResp CloseOperation(TCloseOperationReq req)') + print(' TGetResultSetMetadataResp GetResultSetMetadata(TGetResultSetMetadataReq req)') + print(' TFetchResultsResp FetchResults(TFetchResultsReq req)') + print(' TGetDelegationTokenResp GetDelegationToken(TGetDelegationTokenReq req)') + print(' TCancelDelegationTokenResp CancelDelegationToken(TCancelDelegationTokenReq req)') + print(' TRenewDelegationTokenResp RenewDelegationToken(TRenewDelegationTokenReq req)') + print('') sys.exit(0) pp = pprint.PrettyPrinter(indent = 2) @@ -50,6 +51,7 @@ host = 'localhost' port = 9090 uri = '' framed = False +ssl = False http = False argi = 1 @@ -78,13 +80,17 @@ if sys.argv[argi] == '-f' or sys.argv[argi] == '-framed': framed = True argi += 1 +if sys.argv[argi] == '-s' or sys.argv[argi] == '-ssl': + ssl = True + argi += 1 + cmd = sys.argv[argi] args = sys.argv[argi+1:] if http: transport = THttpClient.THttpClient(host, port, uri) else: - socket = TSocket.TSocket(host, port) + socket = TSSLSocket.TSSLSocket(host, port, validate=False) if ssl else TSocket.TSocket(host, port) if framed: transport = TTransport.TFramedTransport(socket) else: @@ -95,120 +101,120 @@ transport.open() if cmd == 'OpenSession': if len(args) != 1: - print 'OpenSession requires 1 args' + print('OpenSession requires 1 args') sys.exit(1) pp.pprint(client.OpenSession(eval(args[0]),)) elif cmd == 'CloseSession': if len(args) != 1: - print 'CloseSession requires 1 args' + print('CloseSession requires 1 args') sys.exit(1) pp.pprint(client.CloseSession(eval(args[0]),)) elif cmd == 'GetInfo': if len(args) != 1: - print 'GetInfo requires 1 args' + print('GetInfo requires 1 args') sys.exit(1) pp.pprint(client.GetInfo(eval(args[0]),)) elif cmd == 'ExecuteStatement': if len(args) != 1: - print 'ExecuteStatement requires 1 args' + print('ExecuteStatement requires 1 args') sys.exit(1) pp.pprint(client.ExecuteStatement(eval(args[0]),)) elif cmd == 'GetTypeInfo': if len(args) != 1: - print 'GetTypeInfo requires 1 args' + print('GetTypeInfo requires 1 args') sys.exit(1) pp.pprint(client.GetTypeInfo(eval(args[0]),)) elif cmd == 'GetCatalogs': if len(args) != 1: - print 'GetCatalogs requires 1 args' + print('GetCatalogs requires 1 args') sys.exit(1) pp.pprint(client.GetCatalogs(eval(args[0]),)) elif cmd == 'GetSchemas': if len(args) != 1: - print 'GetSchemas requires 1 args' + print('GetSchemas requires 1 args') sys.exit(1) pp.pprint(client.GetSchemas(eval(args[0]),)) elif cmd == 'GetTables': if len(args) != 1: - print 'GetTables requires 1 args' + print('GetTables requires 1 args') sys.exit(1) pp.pprint(client.GetTables(eval(args[0]),)) elif cmd == 'GetTableTypes': if len(args) != 1: - print 'GetTableTypes requires 1 args' + print('GetTableTypes requires 1 args') sys.exit(1) pp.pprint(client.GetTableTypes(eval(args[0]),)) elif cmd == 'GetColumns': if len(args) != 1: - print 'GetColumns requires 1 args' + print('GetColumns requires 1 args') sys.exit(1) pp.pprint(client.GetColumns(eval(args[0]),)) elif cmd == 'GetFunctions': if len(args) != 1: - print 'GetFunctions requires 1 args' + print('GetFunctions requires 1 args') sys.exit(1) pp.pprint(client.GetFunctions(eval(args[0]),)) elif cmd == 'GetOperationStatus': if len(args) != 1: - print 'GetOperationStatus requires 1 args' + print('GetOperationStatus requires 1 args') sys.exit(1) pp.pprint(client.GetOperationStatus(eval(args[0]),)) elif cmd == 'CancelOperation': if len(args) != 1: - print 'CancelOperation requires 1 args' + print('CancelOperation requires 1 args') sys.exit(1) pp.pprint(client.CancelOperation(eval(args[0]),)) elif cmd == 'CloseOperation': if len(args) != 1: - print 'CloseOperation requires 1 args' + print('CloseOperation requires 1 args') sys.exit(1) pp.pprint(client.CloseOperation(eval(args[0]),)) elif cmd == 'GetResultSetMetadata': if len(args) != 1: - print 'GetResultSetMetadata requires 1 args' + print('GetResultSetMetadata requires 1 args') sys.exit(1) pp.pprint(client.GetResultSetMetadata(eval(args[0]),)) elif cmd == 'FetchResults': if len(args) != 1: - print 'FetchResults requires 1 args' + print('FetchResults requires 1 args') sys.exit(1) pp.pprint(client.FetchResults(eval(args[0]),)) elif cmd == 'GetDelegationToken': if len(args) != 1: - print 'GetDelegationToken requires 1 args' + print('GetDelegationToken requires 1 args') sys.exit(1) pp.pprint(client.GetDelegationToken(eval(args[0]),)) elif cmd == 'CancelDelegationToken': if len(args) != 1: - print 'CancelDelegationToken requires 1 args' + print('CancelDelegationToken requires 1 args') sys.exit(1) pp.pprint(client.CancelDelegationToken(eval(args[0]),)) elif cmd == 'RenewDelegationToken': if len(args) != 1: - print 'RenewDelegationToken requires 1 args' + print('RenewDelegationToken requires 1 args') sys.exit(1) pp.pprint(client.RenewDelegationToken(eval(args[0]),)) else: - print 'Unrecognized method %s' % cmd + print('Unrecognized method %s' % cmd) sys.exit(1) transport.close() diff --git a/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py b/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py index ebc6574..0067195 100644 --- a/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py +++ b/service/src/gen/thrift/gen-py/TCLIService/TCLIService.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -175,16 +175,17 @@ def send_OpenSession(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_OpenSession(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_OpenSession(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = OpenSession_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "OpenSession failed: unknown result"); @@ -205,16 +206,17 @@ def send_CloseSession(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_CloseSession(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_CloseSession(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = CloseSession_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseSession failed: unknown result"); @@ -235,16 +237,17 @@ def send_GetInfo(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_GetInfo(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_GetInfo(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = GetInfo_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "GetInfo failed: unknown result"); @@ -265,16 +268,17 @@ def send_ExecuteStatement(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_ExecuteStatement(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_ExecuteStatement(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = ExecuteStatement_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "ExecuteStatement failed: unknown result"); @@ -295,16 +299,17 @@ def send_GetTypeInfo(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_GetTypeInfo(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_GetTypeInfo(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = GetTypeInfo_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTypeInfo failed: unknown result"); @@ -325,16 +330,17 @@ def send_GetCatalogs(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_GetCatalogs(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_GetCatalogs(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = GetCatalogs_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "GetCatalogs failed: unknown result"); @@ -355,16 +361,17 @@ def send_GetSchemas(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_GetSchemas(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_GetSchemas(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = GetSchemas_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "GetSchemas failed: unknown result"); @@ -385,16 +392,17 @@ def send_GetTables(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_GetTables(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_GetTables(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = GetTables_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTables failed: unknown result"); @@ -415,16 +423,17 @@ def send_GetTableTypes(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_GetTableTypes(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_GetTableTypes(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = GetTableTypes_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "GetTableTypes failed: unknown result"); @@ -445,16 +454,17 @@ def send_GetColumns(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_GetColumns(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_GetColumns(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = GetColumns_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "GetColumns failed: unknown result"); @@ -475,16 +485,17 @@ def send_GetFunctions(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_GetFunctions(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_GetFunctions(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = GetFunctions_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "GetFunctions failed: unknown result"); @@ -505,16 +516,17 @@ def send_GetOperationStatus(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_GetOperationStatus(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_GetOperationStatus(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = GetOperationStatus_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "GetOperationStatus failed: unknown result"); @@ -535,16 +547,17 @@ def send_CancelOperation(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_CancelOperation(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_CancelOperation(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = CancelOperation_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelOperation failed: unknown result"); @@ -565,16 +578,17 @@ def send_CloseOperation(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_CloseOperation(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_CloseOperation(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = CloseOperation_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "CloseOperation failed: unknown result"); @@ -595,16 +609,17 @@ def send_GetResultSetMetadata(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_GetResultSetMetadata(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_GetResultSetMetadata(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = GetResultSetMetadata_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "GetResultSetMetadata failed: unknown result"); @@ -625,16 +640,17 @@ def send_FetchResults(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_FetchResults(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_FetchResults(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = FetchResults_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "FetchResults failed: unknown result"); @@ -655,16 +671,17 @@ def send_GetDelegationToken(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_GetDelegationToken(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_GetDelegationToken(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = GetDelegationToken_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "GetDelegationToken failed: unknown result"); @@ -685,16 +702,17 @@ def send_CancelDelegationToken(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_CancelDelegationToken(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_CancelDelegationToken(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = CancelDelegationToken_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "CancelDelegationToken failed: unknown result"); @@ -715,16 +733,17 @@ def send_RenewDelegationToken(self, req): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_RenewDelegationToken(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_RenewDelegationToken(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = RenewDelegationToken_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "RenewDelegationToken failed: unknown result"); @@ -1031,6 +1050,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1091,6 +1115,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1152,6 +1181,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1212,6 +1246,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1273,6 +1312,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1333,6 +1377,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1394,6 +1443,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1454,6 +1508,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1515,6 +1574,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1575,6 +1639,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1636,6 +1705,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1696,6 +1770,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1757,6 +1836,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1817,6 +1901,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1878,6 +1967,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1938,6 +2032,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1999,6 +2098,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2059,6 +2163,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2120,6 +2229,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2180,6 +2294,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2241,6 +2360,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2301,6 +2425,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2362,6 +2491,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2422,6 +2556,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2483,6 +2622,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2543,6 +2687,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2604,6 +2753,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2664,6 +2818,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2725,6 +2884,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2785,6 +2949,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2846,6 +3015,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2906,6 +3080,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2967,6 +3146,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3027,6 +3211,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3088,6 +3277,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3148,6 +3342,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3209,6 +3408,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.req) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3269,6 +3473,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] diff --git a/service/src/gen/thrift/gen-py/TCLIService/constants.py b/service/src/gen/thrift/gen-py/TCLIService/constants.py index eafcb05..9fb1a86 100644 --- a/service/src/gen/thrift/gen-py/TCLIService/constants.py +++ b/service/src/gen/thrift/gen-py/TCLIService/constants.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/service/src/gen/thrift/gen-py/TCLIService/ttypes.py b/service/src/gen/thrift/gen-py/TCLIService/ttypes.py index 068727c..efee8ef 100644 --- a/service/src/gen/thrift/gen-py/TCLIService/ttypes.py +++ b/service/src/gen/thrift/gen-py/TCLIService/ttypes.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -449,6 +449,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.i32Value) + value = (value * 31) ^ hash(self.stringValue) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -486,7 +492,7 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.qualifiers = {} - (_ktype1, _vtype2, _size0 ) = iprot.readMapBegin() + (_ktype1, _vtype2, _size0 ) = iprot.readMapBegin() for _i4 in xrange(_size0): _key5 = iprot.readString(); _val6 = TTypeQualifierValue() @@ -522,6 +528,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.qualifiers) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -597,6 +608,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.type) + value = (value * 31) ^ hash(self.typeQualifiers) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -659,6 +676,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.objectTypePtr) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -735,6 +757,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.keyTypePtr) + value = (value * 31) ^ hash(self.valueTypePtr) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -772,7 +800,7 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.nameToTypePtr = {} - (_ktype10, _vtype11, _size9 ) = iprot.readMapBegin() + (_ktype10, _vtype11, _size9 ) = iprot.readMapBegin() for _i13 in xrange(_size9): _key14 = iprot.readString(); _val15 = iprot.readI32(); @@ -807,6 +835,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.nameToTypePtr) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -844,7 +877,7 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.nameToTypePtr = {} - (_ktype19, _vtype20, _size18 ) = iprot.readMapBegin() + (_ktype19, _vtype20, _size18 ) = iprot.readMapBegin() for _i22 in xrange(_size18): _key23 = iprot.readString(); _val24 = iprot.readI32(); @@ -879,6 +912,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.nameToTypePtr) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -941,6 +979,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.typeClassName) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1067,6 +1110,16 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.primitiveEntry) + value = (value * 31) ^ hash(self.arrayEntry) + value = (value * 31) ^ hash(self.mapEntry) + value = (value * 31) ^ hash(self.structEntry) + value = (value * 31) ^ hash(self.unionEntry) + value = (value * 31) ^ hash(self.userDefinedTypeEntry) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1138,6 +1191,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.types) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1241,6 +1299,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.columnName) + value = (value * 31) ^ hash(self.typeDesc) + value = (value * 31) ^ hash(self.position) + value = (value * 31) ^ hash(self.comment) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1312,6 +1378,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.columns) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1372,6 +1443,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.value) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1432,6 +1508,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.value) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1492,6 +1573,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.value) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1552,6 +1638,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.value) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1612,6 +1703,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.value) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1672,6 +1768,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.value) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1732,6 +1833,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.value) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1871,6 +1977,17 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.boolVal) + value = (value * 31) ^ hash(self.byteVal) + value = (value * 31) ^ hash(self.i16Val) + value = (value * 31) ^ hash(self.i32Val) + value = (value * 31) ^ hash(self.i64Val) + value = (value * 31) ^ hash(self.doubleVal) + value = (value * 31) ^ hash(self.stringVal) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1942,6 +2059,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.colVals) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2026,6 +2148,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.values) + value = (value * 31) ^ hash(self.nulls) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2110,6 +2238,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.values) + value = (value * 31) ^ hash(self.nulls) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2194,6 +2328,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.values) + value = (value * 31) ^ hash(self.nulls) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2278,6 +2418,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.values) + value = (value * 31) ^ hash(self.nulls) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2362,6 +2508,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.values) + value = (value * 31) ^ hash(self.nulls) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2446,6 +2598,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.values) + value = (value * 31) ^ hash(self.nulls) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2530,6 +2688,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.values) + value = (value * 31) ^ hash(self.nulls) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2614,6 +2778,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.values) + value = (value * 31) ^ hash(self.nulls) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2766,6 +2936,18 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.boolVal) + value = (value * 31) ^ hash(self.byteVal) + value = (value * 31) ^ hash(self.i16Val) + value = (value * 31) ^ hash(self.i32Val) + value = (value * 31) ^ hash(self.i64Val) + value = (value * 31) ^ hash(self.doubleVal) + value = (value * 31) ^ hash(self.stringVal) + value = (value * 31) ^ hash(self.binaryVal) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2872,6 +3054,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.startRowOffset) + value = (value * 31) ^ hash(self.rows) + value = (value * 31) ^ hash(self.columns) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -2990,6 +3179,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.statusCode) + value = (value * 31) ^ hash(self.infoMessages) + value = (value * 31) ^ hash(self.sqlState) + value = (value * 31) ^ hash(self.errorCode) + value = (value * 31) ^ hash(self.errorMessage) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3066,6 +3264,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.guid) + value = (value * 31) ^ hash(self.secret) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3129,6 +3333,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionId) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3232,6 +3441,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.operationId) + value = (value * 31) ^ hash(self.operationType) + value = (value * 31) ^ hash(self.hasResultSet) + value = (value * 31) ^ hash(self.modifiedRowCount) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3293,7 +3510,7 @@ def read(self, iprot): elif fid == 4: if ftype == TType.MAP: self.configuration = {} - (_ktype126, _vtype127, _size125 ) = iprot.readMapBegin() + (_ktype126, _vtype127, _size125 ) = iprot.readMapBegin() for _i129 in xrange(_size125): _key130 = iprot.readString(); _val131 = iprot.readString(); @@ -3340,6 +3557,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.client_protocol) + value = (value * 31) ^ hash(self.username) + value = (value * 31) ^ hash(self.password) + value = (value * 31) ^ hash(self.configuration) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3403,7 +3628,7 @@ def read(self, iprot): elif fid == 4: if ftype == TType.MAP: self.configuration = {} - (_ktype135, _vtype136, _size134 ) = iprot.readMapBegin() + (_ktype135, _vtype136, _size134 ) = iprot.readMapBegin() for _i138 in xrange(_size134): _key139 = iprot.readString(); _val140 = iprot.readString(); @@ -3452,6 +3677,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.serverProtocolVersion) + value = (value * 31) ^ hash(self.sessionHandle) + value = (value * 31) ^ hash(self.configuration) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3515,6 +3748,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3578,6 +3816,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3698,6 +3941,16 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.stringValue) + value = (value * 31) ^ hash(self.smallIntValue) + value = (value * 31) ^ hash(self.integerBitmask) + value = (value * 31) ^ hash(self.integerFlag) + value = (value * 31) ^ hash(self.binaryValue) + value = (value * 31) ^ hash(self.lenValue) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3775,6 +4028,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + value = (value * 31) ^ hash(self.infoType) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3853,6 +4112,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.infoValue) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -3910,7 +4175,7 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.confOverlay = {} - (_ktype144, _vtype145, _size143 ) = iprot.readMapBegin() + (_ktype144, _vtype145, _size143 ) = iprot.readMapBegin() for _i147 in xrange(_size143): _key148 = iprot.readString(); _val149 = iprot.readString(); @@ -3964,6 +4229,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + value = (value * 31) ^ hash(self.statement) + value = (value * 31) ^ hash(self.confOverlay) + value = (value * 31) ^ hash(self.runAsync) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4040,6 +4313,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4103,6 +4382,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4179,6 +4463,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4242,6 +4532,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4318,6 +4613,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4405,6 +4706,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + value = (value * 31) ^ hash(self.catalogName) + value = (value * 31) ^ hash(self.schemaName) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4481,6 +4789,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4600,6 +4914,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + value = (value * 31) ^ hash(self.catalogName) + value = (value * 31) ^ hash(self.schemaName) + value = (value * 31) ^ hash(self.tableName) + value = (value * 31) ^ hash(self.tableTypes) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4676,6 +4999,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4739,6 +5068,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4815,6 +5149,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -4926,6 +5266,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + value = (value * 31) ^ hash(self.catalogName) + value = (value * 31) ^ hash(self.schemaName) + value = (value * 31) ^ hash(self.tableName) + value = (value * 31) ^ hash(self.columnName) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5002,6 +5351,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5103,6 +5458,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + value = (value * 31) ^ hash(self.catalogName) + value = (value * 31) ^ hash(self.schemaName) + value = (value * 31) ^ hash(self.functionName) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5179,6 +5542,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5242,6 +5611,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5353,6 +5727,15 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.operationState) + value = (value * 31) ^ hash(self.sqlState) + value = (value * 31) ^ hash(self.errorCode) + value = (value * 31) ^ hash(self.errorMessage) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5416,6 +5799,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5479,6 +5867,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5542,6 +5935,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5605,6 +6003,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5668,6 +6071,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.operationHandle) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5744,6 +6152,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.schema) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5847,6 +6261,14 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.operationHandle) + value = (value * 31) ^ hash(self.orientation) + value = (value * 31) ^ hash(self.maxRows) + value = (value * 31) ^ hash(self.fetchType) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -5935,6 +6357,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.hasMoreRows) + value = (value * 31) ^ hash(self.results) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6026,6 +6455,13 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + value = (value * 31) ^ hash(self.owner) + value = (value * 31) ^ hash(self.renewer) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6101,6 +6537,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + value = (value * 31) ^ hash(self.delegationToken) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6178,6 +6620,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + value = (value * 31) ^ hash(self.delegationToken) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6241,6 +6689,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6318,6 +6771,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.sessionHandle) + value = (value * 31) ^ hash(self.delegationToken) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -6381,6 +6840,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.status) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] diff --git a/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote b/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote old mode 100644 new mode 100755 index 1a5cf83..747c2be --- a/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote +++ b/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -12,27 +12,165 @@ import pprint from urlparse import urlparse from thrift.transport import TTransport from thrift.transport import TSocket +from thrift.transport import TSSLSocket from thrift.transport import THttpClient from thrift.protocol import TBinaryProtocol -import ThriftHive -from ttypes import * +from hive_service import ThriftHive +from hive_service.ttypes import * if len(sys.argv) <= 1 or sys.argv[1] == '--help': - print '' - print 'Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] function [arg1 [arg2...]]' - print '' - print 'Functions:' - print ' void execute(string query)' - print ' string fetchOne()' - print ' fetchN(i32 numRows)' - print ' fetchAll()' - print ' Schema getSchema()' - print ' Schema getThriftSchema()' - print ' HiveClusterStatus getClusterStatus()' - print ' QueryPlan getQueryPlan()' - print ' void clean()' - print '' + print('') + print('Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] [-s[sl]] function [arg1 [arg2...]]') + print('') + print('Functions:') + print(' void execute(string query)') + print(' string fetchOne()') + print(' fetchN(i32 numRows)') + print(' fetchAll()') + print(' Schema getSchema()') + print(' Schema getThriftSchema()') + print(' HiveClusterStatus getClusterStatus()') + print(' QueryPlan getQueryPlan()') + print(' void clean()') + print(' string getMetaConf(string key)') + print(' void setMetaConf(string key, string value)') + print(' void create_database(Database database)') + print(' Database get_database(string name)') + print(' void drop_database(string name, bool deleteData, bool cascade)') + print(' get_databases(string pattern)') + print(' get_all_databases()') + print(' void alter_database(string dbname, Database db)') + print(' Type get_type(string name)') + print(' bool create_type(Type type)') + print(' bool drop_type(string type)') + print(' get_type_all(string name)') + print(' get_fields(string db_name, string table_name)') + print(' get_fields_with_environment_context(string db_name, string table_name, EnvironmentContext environment_context)') + print(' get_schema(string db_name, string table_name)') + print(' get_schema_with_environment_context(string db_name, string table_name, EnvironmentContext environment_context)') + print(' void create_table(Table tbl)') + print(' void create_table_with_environment_context(Table tbl, EnvironmentContext environment_context)') + print(' void drop_table(string dbname, string name, bool deleteData)') + print(' void drop_table_with_environment_context(string dbname, string name, bool deleteData, EnvironmentContext environment_context)') + print(' get_tables(string db_name, string pattern)') + print(' get_all_tables(string db_name)') + print(' Table get_table(string dbname, string tbl_name)') + print(' get_table_objects_by_name(string dbname, tbl_names)') + print(' get_table_names_by_filter(string dbname, string filter, i16 max_tables)') + print(' void alter_table(string dbname, string tbl_name, Table new_tbl)') + print(' void alter_table_with_environment_context(string dbname, string tbl_name, Table new_tbl, EnvironmentContext environment_context)') + print(' void alter_table_with_cascade(string dbname, string tbl_name, Table new_tbl, bool cascade)') + print(' Partition add_partition(Partition new_part)') + print(' Partition add_partition_with_environment_context(Partition new_part, EnvironmentContext environment_context)') + print(' i32 add_partitions( new_parts)') + print(' i32 add_partitions_pspec( new_parts)') + print(' Partition append_partition(string db_name, string tbl_name, part_vals)') + print(' AddPartitionsResult add_partitions_req(AddPartitionsRequest request)') + print(' Partition append_partition_with_environment_context(string db_name, string tbl_name, part_vals, EnvironmentContext environment_context)') + print(' Partition append_partition_by_name(string db_name, string tbl_name, string part_name)') + print(' Partition append_partition_by_name_with_environment_context(string db_name, string tbl_name, string part_name, EnvironmentContext environment_context)') + print(' bool drop_partition(string db_name, string tbl_name, part_vals, bool deleteData)') + print(' bool drop_partition_with_environment_context(string db_name, string tbl_name, part_vals, bool deleteData, EnvironmentContext environment_context)') + print(' bool drop_partition_by_name(string db_name, string tbl_name, string part_name, bool deleteData)') + print(' bool drop_partition_by_name_with_environment_context(string db_name, string tbl_name, string part_name, bool deleteData, EnvironmentContext environment_context)') + print(' DropPartitionsResult drop_partitions_req(DropPartitionsRequest req)') + print(' Partition get_partition(string db_name, string tbl_name, part_vals)') + print(' Partition exchange_partition( partitionSpecs, string source_db, string source_table_name, string dest_db, string dest_table_name)') + print(' Partition get_partition_with_auth(string db_name, string tbl_name, part_vals, string user_name, group_names)') + print(' Partition get_partition_by_name(string db_name, string tbl_name, string part_name)') + print(' get_partitions(string db_name, string tbl_name, i16 max_parts)') + print(' get_partitions_with_auth(string db_name, string tbl_name, i16 max_parts, string user_name, group_names)') + print(' get_partitions_pspec(string db_name, string tbl_name, i32 max_parts)') + print(' get_partition_names(string db_name, string tbl_name, i16 max_parts)') + print(' get_partitions_ps(string db_name, string tbl_name, part_vals, i16 max_parts)') + print(' get_partitions_ps_with_auth(string db_name, string tbl_name, part_vals, i16 max_parts, string user_name, group_names)') + print(' get_partition_names_ps(string db_name, string tbl_name, part_vals, i16 max_parts)') + print(' get_partitions_by_filter(string db_name, string tbl_name, string filter, i16 max_parts)') + print(' get_part_specs_by_filter(string db_name, string tbl_name, string filter, i32 max_parts)') + print(' PartitionsByExprResult get_partitions_by_expr(PartitionsByExprRequest req)') + print(' get_partitions_by_names(string db_name, string tbl_name, names)') + print(' void alter_partition(string db_name, string tbl_name, Partition new_part)') + print(' void alter_partitions(string db_name, string tbl_name, new_parts)') + print(' void alter_partition_with_environment_context(string db_name, string tbl_name, Partition new_part, EnvironmentContext environment_context)') + print(' void rename_partition(string db_name, string tbl_name, part_vals, Partition new_part)') + print(' bool partition_name_has_valid_characters( part_vals, bool throw_exception)') + print(' string get_config_value(string name, string defaultValue)') + print(' partition_name_to_vals(string part_name)') + print(' partition_name_to_spec(string part_name)') + print(' void markPartitionForEvent(string db_name, string tbl_name, part_vals, PartitionEventType eventType)') + print(' bool isPartitionMarkedForEvent(string db_name, string tbl_name, part_vals, PartitionEventType eventType)') + print(' Index add_index(Index new_index, Table index_table)') + print(' void alter_index(string dbname, string base_tbl_name, string idx_name, Index new_idx)') + print(' bool drop_index_by_name(string db_name, string tbl_name, string index_name, bool deleteData)') + print(' Index get_index_by_name(string db_name, string tbl_name, string index_name)') + print(' get_indexes(string db_name, string tbl_name, i16 max_indexes)') + print(' get_index_names(string db_name, string tbl_name, i16 max_indexes)') + print(' bool update_table_column_statistics(ColumnStatistics stats_obj)') + print(' bool update_partition_column_statistics(ColumnStatistics stats_obj)') + print(' ColumnStatistics get_table_column_statistics(string db_name, string tbl_name, string col_name)') + print(' ColumnStatistics get_partition_column_statistics(string db_name, string tbl_name, string part_name, string col_name)') + print(' TableStatsResult get_table_statistics_req(TableStatsRequest request)') + print(' PartitionsStatsResult get_partitions_statistics_req(PartitionsStatsRequest request)') + print(' AggrStats get_aggr_stats_for(PartitionsStatsRequest request)') + print(' bool set_aggr_stats_for(SetPartitionsStatsRequest request)') + print(' bool delete_partition_column_statistics(string db_name, string tbl_name, string part_name, string col_name)') + print(' bool delete_table_column_statistics(string db_name, string tbl_name, string col_name)') + print(' void create_function(Function func)') + print(' void drop_function(string dbName, string funcName)') + 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()') + print(' bool grant_role(string role_name, string principal_name, PrincipalType principal_type, string grantor, PrincipalType grantorType, bool grant_option)') + print(' bool revoke_role(string role_name, string principal_name, PrincipalType principal_type)') + print(' list_roles(string principal_name, PrincipalType principal_type)') + print(' GrantRevokeRoleResponse grant_revoke_role(GrantRevokeRoleRequest request)') + print(' GetPrincipalsInRoleResponse get_principals_in_role(GetPrincipalsInRoleRequest request)') + print(' GetRoleGrantsForPrincipalResponse get_role_grants_for_principal(GetRoleGrantsForPrincipalRequest request)') + print(' PrincipalPrivilegeSet get_privilege_set(HiveObjectRef hiveObject, string user_name, group_names)') + print(' list_privileges(string principal_name, PrincipalType principal_type, HiveObjectRef hiveObject)') + print(' bool grant_privileges(PrivilegeBag privileges)') + print(' bool revoke_privileges(PrivilegeBag privileges)') + print(' GrantRevokePrivilegeResponse grant_revoke_privileges(GrantRevokePrivilegeRequest request)') + print(' set_ugi(string user_name, group_names)') + print(' string get_delegation_token(string token_owner, string renewer_kerberos_principal_name)') + print(' i64 renew_delegation_token(string token_str_form)') + print(' void cancel_delegation_token(string token_str_form)') + print(' GetOpenTxnsResponse get_open_txns()') + print(' GetOpenTxnsInfoResponse get_open_txns_info()') + print(' OpenTxnsResponse open_txns(OpenTxnRequest rqst)') + print(' void abort_txn(AbortTxnRequest rqst)') + print(' void commit_txn(CommitTxnRequest rqst)') + print(' LockResponse lock(LockRequest rqst)') + print(' LockResponse check_lock(CheckLockRequest rqst)') + print(' void unlock(UnlockRequest rqst)') + print(' ShowLocksResponse show_locks(ShowLocksRequest rqst)') + print(' void heartbeat(HeartbeatRequest ids)') + print(' HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest txns)') + print(' void compact(CompactionRequest rqst)') + print(' ShowCompactResponse show_compact(ShowCompactRequest rqst)') + print(' void add_dynamic_partitions(AddDynamicPartitions rqst)') + print(' NotificationEventResponse get_next_notification(NotificationEventRequest rqst)') + print(' CurrentNotificationEventId get_current_notificationEventId()') + print(' FireEventResponse fire_listener_event(FireEventRequest rqst)') + print(' string getName()') + print(' string getVersion()') + print(' fb_status getStatus()') + print(' string getStatusDetails()') + print(' getCounters()') + print(' i64 getCounter(string key)') + print(' void setOption(string key, string value)') + print(' string getOption(string key)') + print(' getOptions()') + print(' i64 aliveSince()') + print(' reflection_limited.Service getLimitedReflection()') + print(' void reinitialize()') + print(' void shutdown()') + print('') sys.exit(0) pp = pprint.PrettyPrinter(indent = 2) @@ -40,6 +178,7 @@ host = 'localhost' port = 9090 uri = '' framed = False +ssl = False http = False argi = 1 @@ -68,13 +207,17 @@ if sys.argv[argi] == '-f' or sys.argv[argi] == '-framed': framed = True argi += 1 +if sys.argv[argi] == '-s' or sys.argv[argi] == '-ssl': + ssl = True + argi += 1 + cmd = sys.argv[argi] args = sys.argv[argi+1:] if http: transport = THttpClient.THttpClient(host, port, uri) else: - socket = TSocket.TSocket(host, port) + socket = TSSLSocket.TSSLSocket(host, port, validate=False) if ssl else TSocket.TSocket(host, port) if framed: transport = TTransport.TFramedTransport(socket) else: @@ -85,60 +228,882 @@ transport.open() if cmd == 'execute': if len(args) != 1: - print 'execute requires 1 args' + print('execute requires 1 args') sys.exit(1) pp.pprint(client.execute(args[0],)) elif cmd == 'fetchOne': if len(args) != 0: - print 'fetchOne requires 0 args' + print('fetchOne requires 0 args') sys.exit(1) pp.pprint(client.fetchOne()) elif cmd == 'fetchN': if len(args) != 1: - print 'fetchN requires 1 args' + print('fetchN requires 1 args') sys.exit(1) pp.pprint(client.fetchN(eval(args[0]),)) elif cmd == 'fetchAll': if len(args) != 0: - print 'fetchAll requires 0 args' + print('fetchAll requires 0 args') sys.exit(1) pp.pprint(client.fetchAll()) elif cmd == 'getSchema': if len(args) != 0: - print 'getSchema requires 0 args' + print('getSchema requires 0 args') sys.exit(1) pp.pprint(client.getSchema()) elif cmd == 'getThriftSchema': if len(args) != 0: - print 'getThriftSchema requires 0 args' + print('getThriftSchema requires 0 args') sys.exit(1) pp.pprint(client.getThriftSchema()) elif cmd == 'getClusterStatus': if len(args) != 0: - print 'getClusterStatus requires 0 args' + print('getClusterStatus requires 0 args') sys.exit(1) pp.pprint(client.getClusterStatus()) elif cmd == 'getQueryPlan': if len(args) != 0: - print 'getQueryPlan requires 0 args' + print('getQueryPlan requires 0 args') sys.exit(1) pp.pprint(client.getQueryPlan()) elif cmd == 'clean': if len(args) != 0: - print 'clean requires 0 args' + print('clean requires 0 args') sys.exit(1) pp.pprint(client.clean()) +elif cmd == 'getMetaConf': + if len(args) != 1: + print('getMetaConf requires 1 args') + sys.exit(1) + pp.pprint(client.getMetaConf(args[0],)) + +elif cmd == 'setMetaConf': + if len(args) != 2: + print('setMetaConf requires 2 args') + sys.exit(1) + pp.pprint(client.setMetaConf(args[0],args[1],)) + +elif cmd == 'create_database': + if len(args) != 1: + print('create_database requires 1 args') + sys.exit(1) + pp.pprint(client.create_database(eval(args[0]),)) + +elif cmd == 'get_database': + if len(args) != 1: + print('get_database requires 1 args') + sys.exit(1) + pp.pprint(client.get_database(args[0],)) + +elif cmd == 'drop_database': + if len(args) != 3: + print('drop_database requires 3 args') + sys.exit(1) + pp.pprint(client.drop_database(args[0],eval(args[1]),eval(args[2]),)) + +elif cmd == 'get_databases': + if len(args) != 1: + print('get_databases requires 1 args') + sys.exit(1) + pp.pprint(client.get_databases(args[0],)) + +elif cmd == 'get_all_databases': + if len(args) != 0: + print('get_all_databases requires 0 args') + sys.exit(1) + pp.pprint(client.get_all_databases()) + +elif cmd == 'alter_database': + if len(args) != 2: + print('alter_database requires 2 args') + sys.exit(1) + pp.pprint(client.alter_database(args[0],eval(args[1]),)) + +elif cmd == 'get_type': + if len(args) != 1: + print('get_type requires 1 args') + sys.exit(1) + pp.pprint(client.get_type(args[0],)) + +elif cmd == 'create_type': + if len(args) != 1: + print('create_type requires 1 args') + sys.exit(1) + pp.pprint(client.create_type(eval(args[0]),)) + +elif cmd == 'drop_type': + if len(args) != 1: + print('drop_type requires 1 args') + sys.exit(1) + pp.pprint(client.drop_type(args[0],)) + +elif cmd == 'get_type_all': + if len(args) != 1: + print('get_type_all requires 1 args') + sys.exit(1) + pp.pprint(client.get_type_all(args[0],)) + +elif cmd == 'get_fields': + if len(args) != 2: + print('get_fields requires 2 args') + sys.exit(1) + pp.pprint(client.get_fields(args[0],args[1],)) + +elif cmd == 'get_fields_with_environment_context': + if len(args) != 3: + print('get_fields_with_environment_context requires 3 args') + sys.exit(1) + pp.pprint(client.get_fields_with_environment_context(args[0],args[1],eval(args[2]),)) + +elif cmd == 'get_schema': + if len(args) != 2: + print('get_schema requires 2 args') + sys.exit(1) + pp.pprint(client.get_schema(args[0],args[1],)) + +elif cmd == 'get_schema_with_environment_context': + if len(args) != 3: + print('get_schema_with_environment_context requires 3 args') + sys.exit(1) + pp.pprint(client.get_schema_with_environment_context(args[0],args[1],eval(args[2]),)) + +elif cmd == 'create_table': + if len(args) != 1: + print('create_table requires 1 args') + sys.exit(1) + pp.pprint(client.create_table(eval(args[0]),)) + +elif cmd == 'create_table_with_environment_context': + if len(args) != 2: + print('create_table_with_environment_context requires 2 args') + sys.exit(1) + pp.pprint(client.create_table_with_environment_context(eval(args[0]),eval(args[1]),)) + +elif cmd == 'drop_table': + if len(args) != 3: + print('drop_table requires 3 args') + sys.exit(1) + pp.pprint(client.drop_table(args[0],args[1],eval(args[2]),)) + +elif cmd == 'drop_table_with_environment_context': + if len(args) != 4: + print('drop_table_with_environment_context requires 4 args') + sys.exit(1) + pp.pprint(client.drop_table_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),)) + +elif cmd == 'get_tables': + if len(args) != 2: + print('get_tables requires 2 args') + sys.exit(1) + pp.pprint(client.get_tables(args[0],args[1],)) + +elif cmd == 'get_all_tables': + if len(args) != 1: + print('get_all_tables requires 1 args') + sys.exit(1) + pp.pprint(client.get_all_tables(args[0],)) + +elif cmd == 'get_table': + if len(args) != 2: + print('get_table requires 2 args') + sys.exit(1) + pp.pprint(client.get_table(args[0],args[1],)) + +elif cmd == 'get_table_objects_by_name': + if len(args) != 2: + print('get_table_objects_by_name requires 2 args') + sys.exit(1) + pp.pprint(client.get_table_objects_by_name(args[0],eval(args[1]),)) + +elif cmd == 'get_table_names_by_filter': + if len(args) != 3: + print('get_table_names_by_filter requires 3 args') + sys.exit(1) + pp.pprint(client.get_table_names_by_filter(args[0],args[1],eval(args[2]),)) + +elif cmd == 'alter_table': + if len(args) != 3: + print('alter_table requires 3 args') + sys.exit(1) + pp.pprint(client.alter_table(args[0],args[1],eval(args[2]),)) + +elif cmd == 'alter_table_with_environment_context': + if len(args) != 4: + print('alter_table_with_environment_context requires 4 args') + sys.exit(1) + pp.pprint(client.alter_table_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),)) + +elif cmd == 'alter_table_with_cascade': + if len(args) != 4: + print('alter_table_with_cascade requires 4 args') + sys.exit(1) + pp.pprint(client.alter_table_with_cascade(args[0],args[1],eval(args[2]),eval(args[3]),)) + +elif cmd == 'add_partition': + if len(args) != 1: + print('add_partition requires 1 args') + sys.exit(1) + pp.pprint(client.add_partition(eval(args[0]),)) + +elif cmd == 'add_partition_with_environment_context': + if len(args) != 2: + print('add_partition_with_environment_context requires 2 args') + sys.exit(1) + pp.pprint(client.add_partition_with_environment_context(eval(args[0]),eval(args[1]),)) + +elif cmd == 'add_partitions': + if len(args) != 1: + print('add_partitions requires 1 args') + sys.exit(1) + pp.pprint(client.add_partitions(eval(args[0]),)) + +elif cmd == 'add_partitions_pspec': + if len(args) != 1: + print('add_partitions_pspec requires 1 args') + sys.exit(1) + pp.pprint(client.add_partitions_pspec(eval(args[0]),)) + +elif cmd == 'append_partition': + if len(args) != 3: + print('append_partition requires 3 args') + sys.exit(1) + pp.pprint(client.append_partition(args[0],args[1],eval(args[2]),)) + +elif cmd == 'add_partitions_req': + if len(args) != 1: + print('add_partitions_req requires 1 args') + sys.exit(1) + pp.pprint(client.add_partitions_req(eval(args[0]),)) + +elif cmd == 'append_partition_with_environment_context': + if len(args) != 4: + print('append_partition_with_environment_context requires 4 args') + sys.exit(1) + pp.pprint(client.append_partition_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),)) + +elif cmd == 'append_partition_by_name': + if len(args) != 3: + print('append_partition_by_name requires 3 args') + sys.exit(1) + pp.pprint(client.append_partition_by_name(args[0],args[1],args[2],)) + +elif cmd == 'append_partition_by_name_with_environment_context': + if len(args) != 4: + print('append_partition_by_name_with_environment_context requires 4 args') + sys.exit(1) + pp.pprint(client.append_partition_by_name_with_environment_context(args[0],args[1],args[2],eval(args[3]),)) + +elif cmd == 'drop_partition': + if len(args) != 4: + print('drop_partition requires 4 args') + sys.exit(1) + pp.pprint(client.drop_partition(args[0],args[1],eval(args[2]),eval(args[3]),)) + +elif cmd == 'drop_partition_with_environment_context': + if len(args) != 5: + print('drop_partition_with_environment_context requires 5 args') + sys.exit(1) + pp.pprint(client.drop_partition_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),eval(args[4]),)) + +elif cmd == 'drop_partition_by_name': + if len(args) != 4: + print('drop_partition_by_name requires 4 args') + sys.exit(1) + pp.pprint(client.drop_partition_by_name(args[0],args[1],args[2],eval(args[3]),)) + +elif cmd == 'drop_partition_by_name_with_environment_context': + if len(args) != 5: + print('drop_partition_by_name_with_environment_context requires 5 args') + sys.exit(1) + pp.pprint(client.drop_partition_by_name_with_environment_context(args[0],args[1],args[2],eval(args[3]),eval(args[4]),)) + +elif cmd == 'drop_partitions_req': + if len(args) != 1: + print('drop_partitions_req requires 1 args') + sys.exit(1) + pp.pprint(client.drop_partitions_req(eval(args[0]),)) + +elif cmd == 'get_partition': + if len(args) != 3: + print('get_partition requires 3 args') + sys.exit(1) + pp.pprint(client.get_partition(args[0],args[1],eval(args[2]),)) + +elif cmd == 'exchange_partition': + if len(args) != 5: + print('exchange_partition requires 5 args') + sys.exit(1) + pp.pprint(client.exchange_partition(eval(args[0]),args[1],args[2],args[3],args[4],)) + +elif cmd == 'get_partition_with_auth': + if len(args) != 5: + print('get_partition_with_auth requires 5 args') + sys.exit(1) + pp.pprint(client.get_partition_with_auth(args[0],args[1],eval(args[2]),args[3],eval(args[4]),)) + +elif cmd == 'get_partition_by_name': + if len(args) != 3: + print('get_partition_by_name requires 3 args') + sys.exit(1) + pp.pprint(client.get_partition_by_name(args[0],args[1],args[2],)) + +elif cmd == 'get_partitions': + if len(args) != 3: + print('get_partitions requires 3 args') + sys.exit(1) + pp.pprint(client.get_partitions(args[0],args[1],eval(args[2]),)) + +elif cmd == 'get_partitions_with_auth': + if len(args) != 5: + print('get_partitions_with_auth requires 5 args') + sys.exit(1) + pp.pprint(client.get_partitions_with_auth(args[0],args[1],eval(args[2]),args[3],eval(args[4]),)) + +elif cmd == 'get_partitions_pspec': + if len(args) != 3: + print('get_partitions_pspec requires 3 args') + sys.exit(1) + pp.pprint(client.get_partitions_pspec(args[0],args[1],eval(args[2]),)) + +elif cmd == 'get_partition_names': + if len(args) != 3: + print('get_partition_names requires 3 args') + sys.exit(1) + pp.pprint(client.get_partition_names(args[0],args[1],eval(args[2]),)) + +elif cmd == 'get_partitions_ps': + if len(args) != 4: + print('get_partitions_ps requires 4 args') + sys.exit(1) + pp.pprint(client.get_partitions_ps(args[0],args[1],eval(args[2]),eval(args[3]),)) + +elif cmd == 'get_partitions_ps_with_auth': + if len(args) != 6: + print('get_partitions_ps_with_auth requires 6 args') + sys.exit(1) + pp.pprint(client.get_partitions_ps_with_auth(args[0],args[1],eval(args[2]),eval(args[3]),args[4],eval(args[5]),)) + +elif cmd == 'get_partition_names_ps': + if len(args) != 4: + print('get_partition_names_ps requires 4 args') + sys.exit(1) + pp.pprint(client.get_partition_names_ps(args[0],args[1],eval(args[2]),eval(args[3]),)) + +elif cmd == 'get_partitions_by_filter': + if len(args) != 4: + print('get_partitions_by_filter requires 4 args') + sys.exit(1) + pp.pprint(client.get_partitions_by_filter(args[0],args[1],args[2],eval(args[3]),)) + +elif cmd == 'get_part_specs_by_filter': + if len(args) != 4: + print('get_part_specs_by_filter requires 4 args') + sys.exit(1) + pp.pprint(client.get_part_specs_by_filter(args[0],args[1],args[2],eval(args[3]),)) + +elif cmd == 'get_partitions_by_expr': + if len(args) != 1: + print('get_partitions_by_expr requires 1 args') + sys.exit(1) + pp.pprint(client.get_partitions_by_expr(eval(args[0]),)) + +elif cmd == 'get_partitions_by_names': + if len(args) != 3: + print('get_partitions_by_names requires 3 args') + sys.exit(1) + pp.pprint(client.get_partitions_by_names(args[0],args[1],eval(args[2]),)) + +elif cmd == 'alter_partition': + if len(args) != 3: + print('alter_partition requires 3 args') + sys.exit(1) + pp.pprint(client.alter_partition(args[0],args[1],eval(args[2]),)) + +elif cmd == 'alter_partitions': + if len(args) != 3: + print('alter_partitions requires 3 args') + sys.exit(1) + pp.pprint(client.alter_partitions(args[0],args[1],eval(args[2]),)) + +elif cmd == 'alter_partition_with_environment_context': + if len(args) != 4: + print('alter_partition_with_environment_context requires 4 args') + sys.exit(1) + pp.pprint(client.alter_partition_with_environment_context(args[0],args[1],eval(args[2]),eval(args[3]),)) + +elif cmd == 'rename_partition': + if len(args) != 4: + print('rename_partition requires 4 args') + sys.exit(1) + pp.pprint(client.rename_partition(args[0],args[1],eval(args[2]),eval(args[3]),)) + +elif cmd == 'partition_name_has_valid_characters': + if len(args) != 2: + print('partition_name_has_valid_characters requires 2 args') + sys.exit(1) + pp.pprint(client.partition_name_has_valid_characters(eval(args[0]),eval(args[1]),)) + +elif cmd == 'get_config_value': + if len(args) != 2: + print('get_config_value requires 2 args') + sys.exit(1) + pp.pprint(client.get_config_value(args[0],args[1],)) + +elif cmd == 'partition_name_to_vals': + if len(args) != 1: + print('partition_name_to_vals requires 1 args') + sys.exit(1) + pp.pprint(client.partition_name_to_vals(args[0],)) + +elif cmd == 'partition_name_to_spec': + if len(args) != 1: + print('partition_name_to_spec requires 1 args') + sys.exit(1) + pp.pprint(client.partition_name_to_spec(args[0],)) + +elif cmd == 'markPartitionForEvent': + if len(args) != 4: + print('markPartitionForEvent requires 4 args') + sys.exit(1) + pp.pprint(client.markPartitionForEvent(args[0],args[1],eval(args[2]),eval(args[3]),)) + +elif cmd == 'isPartitionMarkedForEvent': + if len(args) != 4: + print('isPartitionMarkedForEvent requires 4 args') + sys.exit(1) + pp.pprint(client.isPartitionMarkedForEvent(args[0],args[1],eval(args[2]),eval(args[3]),)) + +elif cmd == 'add_index': + if len(args) != 2: + print('add_index requires 2 args') + sys.exit(1) + pp.pprint(client.add_index(eval(args[0]),eval(args[1]),)) + +elif cmd == 'alter_index': + if len(args) != 4: + print('alter_index requires 4 args') + sys.exit(1) + pp.pprint(client.alter_index(args[0],args[1],args[2],eval(args[3]),)) + +elif cmd == 'drop_index_by_name': + if len(args) != 4: + print('drop_index_by_name requires 4 args') + sys.exit(1) + pp.pprint(client.drop_index_by_name(args[0],args[1],args[2],eval(args[3]),)) + +elif cmd == 'get_index_by_name': + if len(args) != 3: + print('get_index_by_name requires 3 args') + sys.exit(1) + pp.pprint(client.get_index_by_name(args[0],args[1],args[2],)) + +elif cmd == 'get_indexes': + if len(args) != 3: + print('get_indexes requires 3 args') + sys.exit(1) + pp.pprint(client.get_indexes(args[0],args[1],eval(args[2]),)) + +elif cmd == 'get_index_names': + if len(args) != 3: + print('get_index_names requires 3 args') + sys.exit(1) + pp.pprint(client.get_index_names(args[0],args[1],eval(args[2]),)) + +elif cmd == 'update_table_column_statistics': + if len(args) != 1: + print('update_table_column_statistics requires 1 args') + sys.exit(1) + pp.pprint(client.update_table_column_statistics(eval(args[0]),)) + +elif cmd == 'update_partition_column_statistics': + if len(args) != 1: + print('update_partition_column_statistics requires 1 args') + sys.exit(1) + pp.pprint(client.update_partition_column_statistics(eval(args[0]),)) + +elif cmd == 'get_table_column_statistics': + if len(args) != 3: + print('get_table_column_statistics requires 3 args') + sys.exit(1) + pp.pprint(client.get_table_column_statistics(args[0],args[1],args[2],)) + +elif cmd == 'get_partition_column_statistics': + if len(args) != 4: + print('get_partition_column_statistics requires 4 args') + sys.exit(1) + pp.pprint(client.get_partition_column_statistics(args[0],args[1],args[2],args[3],)) + +elif cmd == 'get_table_statistics_req': + if len(args) != 1: + print('get_table_statistics_req requires 1 args') + sys.exit(1) + pp.pprint(client.get_table_statistics_req(eval(args[0]),)) + +elif cmd == 'get_partitions_statistics_req': + if len(args) != 1: + print('get_partitions_statistics_req requires 1 args') + sys.exit(1) + pp.pprint(client.get_partitions_statistics_req(eval(args[0]),)) + +elif cmd == 'get_aggr_stats_for': + if len(args) != 1: + print('get_aggr_stats_for requires 1 args') + sys.exit(1) + pp.pprint(client.get_aggr_stats_for(eval(args[0]),)) + +elif cmd == 'set_aggr_stats_for': + if len(args) != 1: + print('set_aggr_stats_for requires 1 args') + sys.exit(1) + pp.pprint(client.set_aggr_stats_for(eval(args[0]),)) + +elif cmd == 'delete_partition_column_statistics': + if len(args) != 4: + print('delete_partition_column_statistics requires 4 args') + sys.exit(1) + pp.pprint(client.delete_partition_column_statistics(args[0],args[1],args[2],args[3],)) + +elif cmd == 'delete_table_column_statistics': + if len(args) != 3: + print('delete_table_column_statistics requires 3 args') + sys.exit(1) + pp.pprint(client.delete_table_column_statistics(args[0],args[1],args[2],)) + +elif cmd == 'create_function': + if len(args) != 1: + print('create_function requires 1 args') + sys.exit(1) + pp.pprint(client.create_function(eval(args[0]),)) + +elif cmd == 'drop_function': + if len(args) != 2: + print('drop_function requires 2 args') + sys.exit(1) + pp.pprint(client.drop_function(args[0],args[1],)) + +elif cmd == 'alter_function': + if len(args) != 3: + print('alter_function requires 3 args') + sys.exit(1) + pp.pprint(client.alter_function(args[0],args[1],eval(args[2]),)) + +elif cmd == 'get_functions': + if len(args) != 2: + print('get_functions requires 2 args') + sys.exit(1) + pp.pprint(client.get_functions(args[0],args[1],)) + +elif cmd == 'get_function': + if len(args) != 2: + print('get_function requires 2 args') + 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') + sys.exit(1) + pp.pprint(client.create_role(eval(args[0]),)) + +elif cmd == 'drop_role': + if len(args) != 1: + print('drop_role requires 1 args') + sys.exit(1) + pp.pprint(client.drop_role(args[0],)) + +elif cmd == 'get_role_names': + if len(args) != 0: + print('get_role_names requires 0 args') + sys.exit(1) + pp.pprint(client.get_role_names()) + +elif cmd == 'grant_role': + if len(args) != 6: + print('grant_role requires 6 args') + sys.exit(1) + pp.pprint(client.grant_role(args[0],args[1],eval(args[2]),args[3],eval(args[4]),eval(args[5]),)) + +elif cmd == 'revoke_role': + if len(args) != 3: + print('revoke_role requires 3 args') + sys.exit(1) + pp.pprint(client.revoke_role(args[0],args[1],eval(args[2]),)) + +elif cmd == 'list_roles': + if len(args) != 2: + print('list_roles requires 2 args') + sys.exit(1) + pp.pprint(client.list_roles(args[0],eval(args[1]),)) + +elif cmd == 'grant_revoke_role': + if len(args) != 1: + print('grant_revoke_role requires 1 args') + sys.exit(1) + pp.pprint(client.grant_revoke_role(eval(args[0]),)) + +elif cmd == 'get_principals_in_role': + if len(args) != 1: + print('get_principals_in_role requires 1 args') + sys.exit(1) + pp.pprint(client.get_principals_in_role(eval(args[0]),)) + +elif cmd == 'get_role_grants_for_principal': + if len(args) != 1: + print('get_role_grants_for_principal requires 1 args') + sys.exit(1) + pp.pprint(client.get_role_grants_for_principal(eval(args[0]),)) + +elif cmd == 'get_privilege_set': + if len(args) != 3: + print('get_privilege_set requires 3 args') + sys.exit(1) + pp.pprint(client.get_privilege_set(eval(args[0]),args[1],eval(args[2]),)) + +elif cmd == 'list_privileges': + if len(args) != 3: + print('list_privileges requires 3 args') + sys.exit(1) + pp.pprint(client.list_privileges(args[0],eval(args[1]),eval(args[2]),)) + +elif cmd == 'grant_privileges': + if len(args) != 1: + print('grant_privileges requires 1 args') + sys.exit(1) + pp.pprint(client.grant_privileges(eval(args[0]),)) + +elif cmd == 'revoke_privileges': + if len(args) != 1: + print('revoke_privileges requires 1 args') + sys.exit(1) + pp.pprint(client.revoke_privileges(eval(args[0]),)) + +elif cmd == 'grant_revoke_privileges': + if len(args) != 1: + print('grant_revoke_privileges requires 1 args') + sys.exit(1) + pp.pprint(client.grant_revoke_privileges(eval(args[0]),)) + +elif cmd == 'set_ugi': + if len(args) != 2: + print('set_ugi requires 2 args') + sys.exit(1) + pp.pprint(client.set_ugi(args[0],eval(args[1]),)) + +elif cmd == 'get_delegation_token': + if len(args) != 2: + print('get_delegation_token requires 2 args') + sys.exit(1) + pp.pprint(client.get_delegation_token(args[0],args[1],)) + +elif cmd == 'renew_delegation_token': + if len(args) != 1: + print('renew_delegation_token requires 1 args') + sys.exit(1) + pp.pprint(client.renew_delegation_token(args[0],)) + +elif cmd == 'cancel_delegation_token': + if len(args) != 1: + print('cancel_delegation_token requires 1 args') + sys.exit(1) + pp.pprint(client.cancel_delegation_token(args[0],)) + +elif cmd == 'get_open_txns': + if len(args) != 0: + print('get_open_txns requires 0 args') + sys.exit(1) + pp.pprint(client.get_open_txns()) + +elif cmd == 'get_open_txns_info': + if len(args) != 0: + print('get_open_txns_info requires 0 args') + sys.exit(1) + pp.pprint(client.get_open_txns_info()) + +elif cmd == 'open_txns': + if len(args) != 1: + print('open_txns requires 1 args') + sys.exit(1) + pp.pprint(client.open_txns(eval(args[0]),)) + +elif cmd == 'abort_txn': + if len(args) != 1: + print('abort_txn requires 1 args') + sys.exit(1) + pp.pprint(client.abort_txn(eval(args[0]),)) + +elif cmd == 'commit_txn': + if len(args) != 1: + print('commit_txn requires 1 args') + sys.exit(1) + pp.pprint(client.commit_txn(eval(args[0]),)) + +elif cmd == 'lock': + if len(args) != 1: + print('lock requires 1 args') + sys.exit(1) + pp.pprint(client.lock(eval(args[0]),)) + +elif cmd == 'check_lock': + if len(args) != 1: + print('check_lock requires 1 args') + sys.exit(1) + pp.pprint(client.check_lock(eval(args[0]),)) + +elif cmd == 'unlock': + if len(args) != 1: + print('unlock requires 1 args') + sys.exit(1) + pp.pprint(client.unlock(eval(args[0]),)) + +elif cmd == 'show_locks': + if len(args) != 1: + print('show_locks requires 1 args') + sys.exit(1) + pp.pprint(client.show_locks(eval(args[0]),)) + +elif cmd == 'heartbeat': + if len(args) != 1: + print('heartbeat requires 1 args') + sys.exit(1) + pp.pprint(client.heartbeat(eval(args[0]),)) + +elif cmd == 'heartbeat_txn_range': + if len(args) != 1: + print('heartbeat_txn_range requires 1 args') + sys.exit(1) + pp.pprint(client.heartbeat_txn_range(eval(args[0]),)) + +elif cmd == 'compact': + if len(args) != 1: + print('compact requires 1 args') + sys.exit(1) + pp.pprint(client.compact(eval(args[0]),)) + +elif cmd == 'show_compact': + if len(args) != 1: + print('show_compact requires 1 args') + sys.exit(1) + pp.pprint(client.show_compact(eval(args[0]),)) + +elif cmd == 'add_dynamic_partitions': + if len(args) != 1: + print('add_dynamic_partitions requires 1 args') + sys.exit(1) + pp.pprint(client.add_dynamic_partitions(eval(args[0]),)) + +elif cmd == 'get_next_notification': + if len(args) != 1: + print('get_next_notification requires 1 args') + sys.exit(1) + pp.pprint(client.get_next_notification(eval(args[0]),)) + +elif cmd == 'get_current_notificationEventId': + if len(args) != 0: + print('get_current_notificationEventId requires 0 args') + sys.exit(1) + pp.pprint(client.get_current_notificationEventId()) + +elif cmd == 'fire_listener_event': + if len(args) != 1: + print('fire_listener_event requires 1 args') + sys.exit(1) + pp.pprint(client.fire_listener_event(eval(args[0]),)) + +elif cmd == 'getName': + if len(args) != 0: + print('getName requires 0 args') + sys.exit(1) + pp.pprint(client.getName()) + +elif cmd == 'getVersion': + if len(args) != 0: + print('getVersion requires 0 args') + sys.exit(1) + pp.pprint(client.getVersion()) + +elif cmd == 'getStatus': + if len(args) != 0: + print('getStatus requires 0 args') + sys.exit(1) + pp.pprint(client.getStatus()) + +elif cmd == 'getStatusDetails': + if len(args) != 0: + print('getStatusDetails requires 0 args') + sys.exit(1) + pp.pprint(client.getStatusDetails()) + +elif cmd == 'getCounters': + if len(args) != 0: + print('getCounters requires 0 args') + sys.exit(1) + pp.pprint(client.getCounters()) + +elif cmd == 'getCounter': + if len(args) != 1: + print('getCounter requires 1 args') + sys.exit(1) + pp.pprint(client.getCounter(args[0],)) + +elif cmd == 'setOption': + if len(args) != 2: + print('setOption requires 2 args') + sys.exit(1) + pp.pprint(client.setOption(args[0],args[1],)) + +elif cmd == 'getOption': + if len(args) != 1: + print('getOption requires 1 args') + sys.exit(1) + pp.pprint(client.getOption(args[0],)) + +elif cmd == 'getOptions': + if len(args) != 0: + print('getOptions requires 0 args') + sys.exit(1) + pp.pprint(client.getOptions()) + +elif cmd == 'aliveSince': + if len(args) != 0: + print('aliveSince requires 0 args') + sys.exit(1) + pp.pprint(client.aliveSince()) + +elif cmd == 'getLimitedReflection': + if len(args) != 0: + print('getLimitedReflection requires 0 args') + sys.exit(1) + pp.pprint(client.getLimitedReflection()) + +elif cmd == 'reinitialize': + if len(args) != 0: + print('reinitialize requires 0 args') + sys.exit(1) + pp.pprint(client.reinitialize()) + +elif cmd == 'shutdown': + if len(args) != 0: + print('shutdown requires 0 args') + sys.exit(1) + pp.pprint(client.shutdown()) + else: - print 'Unrecognized method %s' % cmd + print('Unrecognized method %s' % cmd) sys.exit(1) transport.close() diff --git a/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py b/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py index 33912f9..177531d 100644 --- a/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py +++ b/service/src/gen/thrift/gen-py/hive_service/ThriftHive.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -26,7 +26,7 @@ def execute(self, query): """ pass - def fetchOne(self, ): + def fetchOne(self): pass def fetchN(self, numRows): @@ -36,22 +36,22 @@ def fetchN(self, numRows): """ pass - def fetchAll(self, ): + def fetchAll(self): pass - def getSchema(self, ): + def getSchema(self): pass - def getThriftSchema(self, ): + def getThriftSchema(self): pass - def getClusterStatus(self, ): + def getClusterStatus(self): pass - def getQueryPlan(self, ): + def getQueryPlan(self): pass - def clean(self, ): + def clean(self): pass @@ -75,41 +75,43 @@ def send_execute(self, query): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_execute(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_execute(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = execute_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.ex is not None: raise result.ex return - def fetchOne(self, ): + def fetchOne(self): self.send_fetchOne() return self.recv_fetchOne() - def send_fetchOne(self, ): + def send_fetchOne(self): self._oprot.writeMessageBegin('fetchOne', TMessageType.CALL, self._seqid) args = fetchOne_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_fetchOne(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_fetchOne(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = fetchOne_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.ex is not None: @@ -132,178 +134,185 @@ def send_fetchN(self, numRows): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_fetchN(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_fetchN(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = fetchN_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.ex is not None: raise result.ex raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchN failed: unknown result"); - def fetchAll(self, ): + def fetchAll(self): self.send_fetchAll() return self.recv_fetchAll() - def send_fetchAll(self, ): + def send_fetchAll(self): self._oprot.writeMessageBegin('fetchAll', TMessageType.CALL, self._seqid) args = fetchAll_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_fetchAll(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_fetchAll(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = fetchAll_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.ex is not None: raise result.ex raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchAll failed: unknown result"); - def getSchema(self, ): + def getSchema(self): self.send_getSchema() return self.recv_getSchema() - def send_getSchema(self, ): + def send_getSchema(self): self._oprot.writeMessageBegin('getSchema', TMessageType.CALL, self._seqid) args = getSchema_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getSchema(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_getSchema(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = getSchema_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.ex is not None: raise result.ex raise TApplicationException(TApplicationException.MISSING_RESULT, "getSchema failed: unknown result"); - def getThriftSchema(self, ): + def getThriftSchema(self): self.send_getThriftSchema() return self.recv_getThriftSchema() - def send_getThriftSchema(self, ): + def send_getThriftSchema(self): self._oprot.writeMessageBegin('getThriftSchema', TMessageType.CALL, self._seqid) args = getThriftSchema_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getThriftSchema(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_getThriftSchema(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = getThriftSchema_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.ex is not None: raise result.ex raise TApplicationException(TApplicationException.MISSING_RESULT, "getThriftSchema failed: unknown result"); - def getClusterStatus(self, ): + def getClusterStatus(self): self.send_getClusterStatus() return self.recv_getClusterStatus() - def send_getClusterStatus(self, ): + def send_getClusterStatus(self): self._oprot.writeMessageBegin('getClusterStatus', TMessageType.CALL, self._seqid) args = getClusterStatus_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getClusterStatus(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_getClusterStatus(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = getClusterStatus_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.ex is not None: raise result.ex raise TApplicationException(TApplicationException.MISSING_RESULT, "getClusterStatus failed: unknown result"); - def getQueryPlan(self, ): + def getQueryPlan(self): self.send_getQueryPlan() return self.recv_getQueryPlan() - def send_getQueryPlan(self, ): + def send_getQueryPlan(self): self._oprot.writeMessageBegin('getQueryPlan', TMessageType.CALL, self._seqid) args = getQueryPlan_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getQueryPlan(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_getQueryPlan(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = getQueryPlan_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() if result.success is not None: return result.success if result.ex is not None: raise result.ex raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueryPlan failed: unknown result"); - def clean(self, ): + def clean(self): self.send_clean() self.recv_clean() - def send_clean(self, ): + def send_clean(self): self._oprot.writeMessageBegin('clean', TMessageType.CALL, self._seqid) args = clean_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_clean(self, ): - (fname, mtype, rseqid) = self._iprot.readMessageBegin() + def recv_clean(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() - x.read(self._iprot) - self._iprot.readMessageEnd() + x.read(iprot) + iprot.readMessageEnd() raise x result = clean_result() - result.read(self._iprot) - self._iprot.readMessageEnd() + result.read(iprot) + iprot.readMessageEnd() return @@ -342,7 +351,7 @@ def process_execute(self, seqid, iprot, oprot): result = execute_result() try: self._handler.execute(args.query) - except HiveServerException as ex: + except HiveServerException, ex: result.ex = ex oprot.writeMessageBegin("execute", TMessageType.REPLY, seqid) result.write(oprot) @@ -356,7 +365,7 @@ def process_fetchOne(self, seqid, iprot, oprot): result = fetchOne_result() try: result.success = self._handler.fetchOne() - except HiveServerException as ex: + except HiveServerException, ex: result.ex = ex oprot.writeMessageBegin("fetchOne", TMessageType.REPLY, seqid) result.write(oprot) @@ -370,7 +379,7 @@ def process_fetchN(self, seqid, iprot, oprot): result = fetchN_result() try: result.success = self._handler.fetchN(args.numRows) - except HiveServerException as ex: + except HiveServerException, ex: result.ex = ex oprot.writeMessageBegin("fetchN", TMessageType.REPLY, seqid) result.write(oprot) @@ -384,7 +393,7 @@ def process_fetchAll(self, seqid, iprot, oprot): result = fetchAll_result() try: result.success = self._handler.fetchAll() - except HiveServerException as ex: + except HiveServerException, ex: result.ex = ex oprot.writeMessageBegin("fetchAll", TMessageType.REPLY, seqid) result.write(oprot) @@ -398,7 +407,7 @@ def process_getSchema(self, seqid, iprot, oprot): result = getSchema_result() try: result.success = self._handler.getSchema() - except HiveServerException as ex: + except HiveServerException, ex: result.ex = ex oprot.writeMessageBegin("getSchema", TMessageType.REPLY, seqid) result.write(oprot) @@ -412,7 +421,7 @@ def process_getThriftSchema(self, seqid, iprot, oprot): result = getThriftSchema_result() try: result.success = self._handler.getThriftSchema() - except HiveServerException as ex: + except HiveServerException, ex: result.ex = ex oprot.writeMessageBegin("getThriftSchema", TMessageType.REPLY, seqid) result.write(oprot) @@ -426,7 +435,7 @@ def process_getClusterStatus(self, seqid, iprot, oprot): result = getClusterStatus_result() try: result.success = self._handler.getClusterStatus() - except HiveServerException as ex: + except HiveServerException, ex: result.ex = ex oprot.writeMessageBegin("getClusterStatus", TMessageType.REPLY, seqid) result.write(oprot) @@ -440,7 +449,7 @@ def process_getQueryPlan(self, seqid, iprot, oprot): result = getQueryPlan_result() try: result.success = self._handler.getQueryPlan() - except HiveServerException as ex: + except HiveServerException, ex: result.ex = ex oprot.writeMessageBegin("getQueryPlan", TMessageType.REPLY, seqid) result.write(oprot) @@ -510,6 +519,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.query) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -571,6 +585,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.ex) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -613,6 +632,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -685,6 +708,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.ex) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -745,6 +774,11 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.numRows) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -825,6 +859,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.ex) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -867,6 +907,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -947,6 +991,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.ex) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -989,6 +1039,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1062,6 +1116,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.ex) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1104,6 +1164,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1177,6 +1241,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.ex) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1219,6 +1289,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1292,6 +1366,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.ex) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1334,6 +1414,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1407,6 +1491,12 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.ex) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1449,6 +1539,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -1491,6 +1585,10 @@ def validate(self): return + def __hash__(self): + value = 17 + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] diff --git a/service/src/gen/thrift/gen-py/hive_service/constants.py b/service/src/gen/thrift/gen-py/hive_service/constants.py index a236326..99717a9 100644 --- a/service/src/gen/thrift/gen-py/hive_service/constants.py +++ b/service/src/gen/thrift/gen-py/hive_service/constants.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/service/src/gen/thrift/gen-py/hive_service/ttypes.py b/service/src/gen/thrift/gen-py/hive_service/ttypes.py index e5f4095..29eb916 100644 --- a/service/src/gen/thrift/gen-py/hive_service/ttypes.py +++ b/service/src/gen/thrift/gen-py/hive_service/ttypes.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -144,6 +144,16 @@ def validate(self): return + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.taskTrackers) + value = (value * 31) ^ hash(self.mapTasks) + value = (value * 31) ^ hash(self.reduceTasks) + value = (value * 31) ^ hash(self.maxMapTasks) + value = (value * 31) ^ hash(self.maxReduceTasks) + value = (value * 31) ^ hash(self.state) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] @@ -231,6 +241,13 @@ def validate(self): def __str__(self): return repr(self) + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.message) + value = (value * 31) ^ hash(self.errorCode) + value = (value * 31) ^ hash(self.SQLState) + return value + def __repr__(self): L = ['%s=%r' % (key, value) for key, value in self.__dict__.iteritems()] diff --git a/service/src/gen/thrift/gen-rb/hive_service_constants.rb b/service/src/gen/thrift/gen-rb/hive_service_constants.rb index 0f908b5..73f4d7b 100644 --- a/service/src/gen/thrift/gen-rb/hive_service_constants.rb +++ b/service/src/gen/thrift/gen-rb/hive_service_constants.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/service/src/gen/thrift/gen-rb/hive_service_types.rb b/service/src/gen/thrift/gen-rb/hive_service_types.rb index e5913bd..f97a6fb 100644 --- a/service/src/gen/thrift/gen-rb/hive_service_types.rb +++ b/service/src/gen/thrift/gen-rb/hive_service_types.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb index fd1ca9a..f754d7d 100644 --- a/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb +++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb index 4b8ddae..3f72769 100644 --- a/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb +++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb b/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb index b482533..bfb2b69 100644 --- a/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb +++ b/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/service/src/gen/thrift/gen-rb/thrift_hive.rb b/service/src/gen/thrift/gen-rb/thrift_hive.rb index 8da94bb..6859ceb 100644 --- a/service/src/gen/thrift/gen-rb/thrift_hive.rb +++ b/service/src/gen/thrift/gen-rb/thrift_hive.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.0) +# Autogenerated by Thrift Compiler (0.9.2) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING #