diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 453d5fd7f3..6c6b970089 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -21273,6 +21273,304 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: } +ThriftHiveMetastore_get_partition_locations_args::~ThriftHiveMetastore_get_partition_locations_args() noexcept { +} + + +uint32_t ThriftHiveMetastore_get_partition_locations_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->db_name); + this->__isset.db_name = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->tblName); + this->__isset.tblName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I16) { + xfer += iprot->readI16(this->max_parts); + this->__isset.max_parts = 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_partition_locations_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_locations_args"); + + xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->db_name); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tblName", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->tblName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 3); + xfer += oprot->writeI16(this->max_parts); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_partition_locations_pargs::~ThriftHiveMetastore_get_partition_locations_pargs() noexcept { +} + + +uint32_t ThriftHiveMetastore_get_partition_locations_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_locations_pargs"); + + xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString((*(this->db_name))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tblName", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->tblName))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max_parts", ::apache::thrift::protocol::T_I16, 3); + xfer += oprot->writeI16((*(this->max_parts))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_partition_locations_result::~ThriftHiveMetastore_get_partition_locations_result() noexcept { +} + + +uint32_t ThriftHiveMetastore_get_partition_locations_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + 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_MAP) { + { + this->success.clear(); + uint32_t _size2021; + ::apache::thrift::protocol::TType _ktype2022; + ::apache::thrift::protocol::TType _vtype2023; + xfer += iprot->readMapBegin(_ktype2022, _vtype2023, _size2021); + uint32_t _i2025; + for (_i2025 = 0; _i2025 < _size2021; ++_i2025) + { + std::string _key2026; + xfer += iprot->readString(_key2026); + std::string& _val2027 = this->success[_key2026]; + xfer += iprot->readString(_val2027); + } + xfer += iprot->readMapEnd(); + } + 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_partition_locations_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_locations_result"); + + if (this->__isset.success) { + 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 _iter2028; + for (_iter2028 = this->success.begin(); _iter2028 != this->success.end(); ++_iter2028) + { + xfer += oprot->writeString(_iter2028->first); + xfer += oprot->writeString(_iter2028->second); + } + xfer += oprot->writeMapEnd(); + } + 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_partition_locations_presult::~ThriftHiveMetastore_get_partition_locations_presult() noexcept { +} + + +uint32_t ThriftHiveMetastore_get_partition_locations_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + 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_MAP) { + { + (*(this->success)).clear(); + uint32_t _size2029; + ::apache::thrift::protocol::TType _ktype2030; + ::apache::thrift::protocol::TType _vtype2031; + xfer += iprot->readMapBegin(_ktype2030, _vtype2031, _size2029); + uint32_t _i2033; + for (_i2033 = 0; _i2033 < _size2029; ++_i2033) + { + std::string _key2034; + xfer += iprot->readString(_key2034); + std::string& _val2035 = (*(this->success))[_key2034]; + xfer += iprot->readString(_val2035); + } + xfer += iprot->readMapEnd(); + } + 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; +} + + ThriftHiveMetastore_get_partition_values_args::~ThriftHiveMetastore_get_partition_values_args() noexcept { } @@ -21545,14 +21843,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 _size2021; - ::apache::thrift::protocol::TType _etype2024; - xfer += iprot->readListBegin(_etype2024, _size2021); - this->part_vals.resize(_size2021); - uint32_t _i2025; - for (_i2025 = 0; _i2025 < _size2021; ++_i2025) + uint32_t _size2036; + ::apache::thrift::protocol::TType _etype2039; + xfer += iprot->readListBegin(_etype2039, _size2036); + this->part_vals.resize(_size2036); + uint32_t _i2040; + for (_i2040 = 0; _i2040 < _size2036; ++_i2040) { - xfer += iprot->readString(this->part_vals[_i2025]); + xfer += iprot->readString(this->part_vals[_i2040]); } xfer += iprot->readListEnd(); } @@ -21597,10 +21895,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 _iter2026; - for (_iter2026 = this->part_vals.begin(); _iter2026 != this->part_vals.end(); ++_iter2026) + std::vector ::const_iterator _iter2041; + for (_iter2041 = this->part_vals.begin(); _iter2041 != this->part_vals.end(); ++_iter2041) { - xfer += oprot->writeString((*_iter2026)); + xfer += oprot->writeString((*_iter2041)); } xfer += oprot->writeListEnd(); } @@ -21636,10 +21934,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 _iter2027; - for (_iter2027 = (*(this->part_vals)).begin(); _iter2027 != (*(this->part_vals)).end(); ++_iter2027) + std::vector ::const_iterator _iter2042; + for (_iter2042 = (*(this->part_vals)).begin(); _iter2042 != (*(this->part_vals)).end(); ++_iter2042) { - xfer += oprot->writeString((*_iter2027)); + xfer += oprot->writeString((*_iter2042)); } xfer += oprot->writeListEnd(); } @@ -21684,14 +21982,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2028; - ::apache::thrift::protocol::TType _etype2031; - xfer += iprot->readListBegin(_etype2031, _size2028); - this->success.resize(_size2028); - uint32_t _i2032; - for (_i2032 = 0; _i2032 < _size2028; ++_i2032) + uint32_t _size2043; + ::apache::thrift::protocol::TType _etype2046; + xfer += iprot->readListBegin(_etype2046, _size2043); + this->success.resize(_size2043); + uint32_t _i2047; + for (_i2047 = 0; _i2047 < _size2043; ++_i2047) { - xfer += this->success[_i2032].read(iprot); + xfer += this->success[_i2047].read(iprot); } xfer += iprot->readListEnd(); } @@ -21738,10 +22036,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 _iter2033; - for (_iter2033 = this->success.begin(); _iter2033 != this->success.end(); ++_iter2033) + std::vector ::const_iterator _iter2048; + for (_iter2048 = this->success.begin(); _iter2048 != this->success.end(); ++_iter2048) { - xfer += (*_iter2033).write(oprot); + xfer += (*_iter2048).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21790,14 +22088,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2034; - ::apache::thrift::protocol::TType _etype2037; - xfer += iprot->readListBegin(_etype2037, _size2034); - (*(this->success)).resize(_size2034); - uint32_t _i2038; - for (_i2038 = 0; _i2038 < _size2034; ++_i2038) + uint32_t _size2049; + ::apache::thrift::protocol::TType _etype2052; + xfer += iprot->readListBegin(_etype2052, _size2049); + (*(this->success)).resize(_size2049); + uint32_t _i2053; + for (_i2053 = 0; _i2053 < _size2049; ++_i2053) { - xfer += (*(this->success))[_i2038].read(iprot); + xfer += (*(this->success))[_i2053].read(iprot); } xfer += iprot->readListEnd(); } @@ -21880,14 +22178,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 _size2039; - ::apache::thrift::protocol::TType _etype2042; - xfer += iprot->readListBegin(_etype2042, _size2039); - this->part_vals.resize(_size2039); - uint32_t _i2043; - for (_i2043 = 0; _i2043 < _size2039; ++_i2043) + uint32_t _size2054; + ::apache::thrift::protocol::TType _etype2057; + xfer += iprot->readListBegin(_etype2057, _size2054); + this->part_vals.resize(_size2054); + uint32_t _i2058; + for (_i2058 = 0; _i2058 < _size2054; ++_i2058) { - xfer += iprot->readString(this->part_vals[_i2043]); + xfer += iprot->readString(this->part_vals[_i2058]); } xfer += iprot->readListEnd(); } @@ -21916,14 +22214,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 _size2044; - ::apache::thrift::protocol::TType _etype2047; - xfer += iprot->readListBegin(_etype2047, _size2044); - this->group_names.resize(_size2044); - uint32_t _i2048; - for (_i2048 = 0; _i2048 < _size2044; ++_i2048) + uint32_t _size2059; + ::apache::thrift::protocol::TType _etype2062; + xfer += iprot->readListBegin(_etype2062, _size2059); + this->group_names.resize(_size2059); + uint32_t _i2063; + for (_i2063 = 0; _i2063 < _size2059; ++_i2063) { - xfer += iprot->readString(this->group_names[_i2048]); + xfer += iprot->readString(this->group_names[_i2063]); } xfer += iprot->readListEnd(); } @@ -21960,10 +22258,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 _iter2049; - for (_iter2049 = this->part_vals.begin(); _iter2049 != this->part_vals.end(); ++_iter2049) + std::vector ::const_iterator _iter2064; + for (_iter2064 = this->part_vals.begin(); _iter2064 != this->part_vals.end(); ++_iter2064) { - xfer += oprot->writeString((*_iter2049)); + xfer += oprot->writeString((*_iter2064)); } xfer += oprot->writeListEnd(); } @@ -21980,10 +22278,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 _iter2050; - for (_iter2050 = this->group_names.begin(); _iter2050 != this->group_names.end(); ++_iter2050) + std::vector ::const_iterator _iter2065; + for (_iter2065 = this->group_names.begin(); _iter2065 != this->group_names.end(); ++_iter2065) { - xfer += oprot->writeString((*_iter2050)); + xfer += oprot->writeString((*_iter2065)); } xfer += oprot->writeListEnd(); } @@ -22015,10 +22313,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 _iter2051; - for (_iter2051 = (*(this->part_vals)).begin(); _iter2051 != (*(this->part_vals)).end(); ++_iter2051) + std::vector ::const_iterator _iter2066; + for (_iter2066 = (*(this->part_vals)).begin(); _iter2066 != (*(this->part_vals)).end(); ++_iter2066) { - xfer += oprot->writeString((*_iter2051)); + xfer += oprot->writeString((*_iter2066)); } xfer += oprot->writeListEnd(); } @@ -22035,10 +22333,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 _iter2052; - for (_iter2052 = (*(this->group_names)).begin(); _iter2052 != (*(this->group_names)).end(); ++_iter2052) + std::vector ::const_iterator _iter2067; + for (_iter2067 = (*(this->group_names)).begin(); _iter2067 != (*(this->group_names)).end(); ++_iter2067) { - xfer += oprot->writeString((*_iter2052)); + xfer += oprot->writeString((*_iter2067)); } xfer += oprot->writeListEnd(); } @@ -22079,14 +22377,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2053; - ::apache::thrift::protocol::TType _etype2056; - xfer += iprot->readListBegin(_etype2056, _size2053); - this->success.resize(_size2053); - uint32_t _i2057; - for (_i2057 = 0; _i2057 < _size2053; ++_i2057) + uint32_t _size2068; + ::apache::thrift::protocol::TType _etype2071; + xfer += iprot->readListBegin(_etype2071, _size2068); + this->success.resize(_size2068); + uint32_t _i2072; + for (_i2072 = 0; _i2072 < _size2068; ++_i2072) { - xfer += this->success[_i2057].read(iprot); + xfer += this->success[_i2072].read(iprot); } xfer += iprot->readListEnd(); } @@ -22133,10 +22431,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 _iter2058; - for (_iter2058 = this->success.begin(); _iter2058 != this->success.end(); ++_iter2058) + std::vector ::const_iterator _iter2073; + for (_iter2073 = this->success.begin(); _iter2073 != this->success.end(); ++_iter2073) { - xfer += (*_iter2058).write(oprot); + xfer += (*_iter2073).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22185,14 +22483,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2059; - ::apache::thrift::protocol::TType _etype2062; - xfer += iprot->readListBegin(_etype2062, _size2059); - (*(this->success)).resize(_size2059); - uint32_t _i2063; - for (_i2063 = 0; _i2063 < _size2059; ++_i2063) + uint32_t _size2074; + ::apache::thrift::protocol::TType _etype2077; + xfer += iprot->readListBegin(_etype2077, _size2074); + (*(this->success)).resize(_size2074); + uint32_t _i2078; + for (_i2078 = 0; _i2078 < _size2074; ++_i2078) { - xfer += (*(this->success))[_i2063].read(iprot); + xfer += (*(this->success))[_i2078].read(iprot); } xfer += iprot->readListEnd(); } @@ -22502,14 +22800,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 _size2064; - ::apache::thrift::protocol::TType _etype2067; - xfer += iprot->readListBegin(_etype2067, _size2064); - this->part_vals.resize(_size2064); - uint32_t _i2068; - for (_i2068 = 0; _i2068 < _size2064; ++_i2068) + uint32_t _size2079; + ::apache::thrift::protocol::TType _etype2082; + xfer += iprot->readListBegin(_etype2082, _size2079); + this->part_vals.resize(_size2079); + uint32_t _i2083; + for (_i2083 = 0; _i2083 < _size2079; ++_i2083) { - xfer += iprot->readString(this->part_vals[_i2068]); + xfer += iprot->readString(this->part_vals[_i2083]); } xfer += iprot->readListEnd(); } @@ -22554,10 +22852,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 _iter2069; - for (_iter2069 = this->part_vals.begin(); _iter2069 != this->part_vals.end(); ++_iter2069) + std::vector ::const_iterator _iter2084; + for (_iter2084 = this->part_vals.begin(); _iter2084 != this->part_vals.end(); ++_iter2084) { - xfer += oprot->writeString((*_iter2069)); + xfer += oprot->writeString((*_iter2084)); } xfer += oprot->writeListEnd(); } @@ -22593,10 +22891,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 _iter2070; - for (_iter2070 = (*(this->part_vals)).begin(); _iter2070 != (*(this->part_vals)).end(); ++_iter2070) + std::vector ::const_iterator _iter2085; + for (_iter2085 = (*(this->part_vals)).begin(); _iter2085 != (*(this->part_vals)).end(); ++_iter2085) { - xfer += oprot->writeString((*_iter2070)); + xfer += oprot->writeString((*_iter2085)); } xfer += oprot->writeListEnd(); } @@ -22641,14 +22939,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2071; - ::apache::thrift::protocol::TType _etype2074; - xfer += iprot->readListBegin(_etype2074, _size2071); - this->success.resize(_size2071); - uint32_t _i2075; - for (_i2075 = 0; _i2075 < _size2071; ++_i2075) + uint32_t _size2086; + ::apache::thrift::protocol::TType _etype2089; + xfer += iprot->readListBegin(_etype2089, _size2086); + this->success.resize(_size2086); + uint32_t _i2090; + for (_i2090 = 0; _i2090 < _size2086; ++_i2090) { - xfer += iprot->readString(this->success[_i2075]); + xfer += iprot->readString(this->success[_i2090]); } xfer += iprot->readListEnd(); } @@ -22695,10 +22993,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 _iter2076; - for (_iter2076 = this->success.begin(); _iter2076 != this->success.end(); ++_iter2076) + std::vector ::const_iterator _iter2091; + for (_iter2091 = this->success.begin(); _iter2091 != this->success.end(); ++_iter2091) { - xfer += oprot->writeString((*_iter2076)); + xfer += oprot->writeString((*_iter2091)); } xfer += oprot->writeListEnd(); } @@ -22747,14 +23045,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2077; - ::apache::thrift::protocol::TType _etype2080; - xfer += iprot->readListBegin(_etype2080, _size2077); - (*(this->success)).resize(_size2077); - uint32_t _i2081; - for (_i2081 = 0; _i2081 < _size2077; ++_i2081) + uint32_t _size2092; + ::apache::thrift::protocol::TType _etype2095; + xfer += iprot->readListBegin(_etype2095, _size2092); + (*(this->success)).resize(_size2092); + uint32_t _i2096; + for (_i2096 = 0; _i2096 < _size2092; ++_i2096) { - xfer += iprot->readString((*(this->success))[_i2081]); + xfer += iprot->readString((*(this->success))[_i2096]); } xfer += iprot->readListEnd(); } @@ -23127,14 +23425,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_req_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2082; - ::apache::thrift::protocol::TType _etype2085; - xfer += iprot->readListBegin(_etype2085, _size2082); - this->success.resize(_size2082); - uint32_t _i2086; - for (_i2086 = 0; _i2086 < _size2082; ++_i2086) + uint32_t _size2097; + ::apache::thrift::protocol::TType _etype2100; + xfer += iprot->readListBegin(_etype2100, _size2097); + this->success.resize(_size2097); + uint32_t _i2101; + for (_i2101 = 0; _i2101 < _size2097; ++_i2101) { - xfer += iprot->readString(this->success[_i2086]); + xfer += iprot->readString(this->success[_i2101]); } xfer += iprot->readListEnd(); } @@ -23181,10 +23479,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_req_result::write(::apache::thr 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 _iter2087; - for (_iter2087 = this->success.begin(); _iter2087 != this->success.end(); ++_iter2087) + std::vector ::const_iterator _iter2102; + for (_iter2102 = this->success.begin(); _iter2102 != this->success.end(); ++_iter2102) { - xfer += oprot->writeString((*_iter2087)); + xfer += oprot->writeString((*_iter2102)); } xfer += oprot->writeListEnd(); } @@ -23233,14 +23531,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_req_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2088; - ::apache::thrift::protocol::TType _etype2091; - xfer += iprot->readListBegin(_etype2091, _size2088); - (*(this->success)).resize(_size2088); - uint32_t _i2092; - for (_i2092 = 0; _i2092 < _size2088; ++_i2092) + uint32_t _size2103; + ::apache::thrift::protocol::TType _etype2106; + xfer += iprot->readListBegin(_etype2106, _size2103); + (*(this->success)).resize(_size2103); + uint32_t _i2107; + for (_i2107 = 0; _i2107 < _size2103; ++_i2107) { - xfer += iprot->readString((*(this->success))[_i2092]); + xfer += iprot->readString((*(this->success))[_i2107]); } xfer += iprot->readListEnd(); } @@ -23434,14 +23732,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2093; - ::apache::thrift::protocol::TType _etype2096; - xfer += iprot->readListBegin(_etype2096, _size2093); - this->success.resize(_size2093); - uint32_t _i2097; - for (_i2097 = 0; _i2097 < _size2093; ++_i2097) + uint32_t _size2108; + ::apache::thrift::protocol::TType _etype2111; + xfer += iprot->readListBegin(_etype2111, _size2108); + this->success.resize(_size2108); + uint32_t _i2112; + for (_i2112 = 0; _i2112 < _size2108; ++_i2112) { - xfer += this->success[_i2097].read(iprot); + xfer += this->success[_i2112].read(iprot); } xfer += iprot->readListEnd(); } @@ -23488,10 +23786,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 _iter2098; - for (_iter2098 = this->success.begin(); _iter2098 != this->success.end(); ++_iter2098) + std::vector ::const_iterator _iter2113; + for (_iter2113 = this->success.begin(); _iter2113 != this->success.end(); ++_iter2113) { - xfer += (*_iter2098).write(oprot); + xfer += (*_iter2113).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23540,14 +23838,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2099; - ::apache::thrift::protocol::TType _etype2102; - xfer += iprot->readListBegin(_etype2102, _size2099); - (*(this->success)).resize(_size2099); - uint32_t _i2103; - for (_i2103 = 0; _i2103 < _size2099; ++_i2103) + uint32_t _size2114; + ::apache::thrift::protocol::TType _etype2117; + xfer += iprot->readListBegin(_etype2117, _size2114); + (*(this->success)).resize(_size2114); + uint32_t _i2118; + for (_i2118 = 0; _i2118 < _size2114; ++_i2118) { - xfer += (*(this->success))[_i2103].read(iprot); + xfer += (*(this->success))[_i2118].read(iprot); } xfer += iprot->readListEnd(); } @@ -23741,14 +24039,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 _size2104; - ::apache::thrift::protocol::TType _etype2107; - xfer += iprot->readListBegin(_etype2107, _size2104); - this->success.resize(_size2104); - uint32_t _i2108; - for (_i2108 = 0; _i2108 < _size2104; ++_i2108) + uint32_t _size2119; + ::apache::thrift::protocol::TType _etype2122; + xfer += iprot->readListBegin(_etype2122, _size2119); + this->success.resize(_size2119); + uint32_t _i2123; + for (_i2123 = 0; _i2123 < _size2119; ++_i2123) { - xfer += this->success[_i2108].read(iprot); + xfer += this->success[_i2123].read(iprot); } xfer += iprot->readListEnd(); } @@ -23795,10 +24093,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 _iter2109; - for (_iter2109 = this->success.begin(); _iter2109 != this->success.end(); ++_iter2109) + std::vector ::const_iterator _iter2124; + for (_iter2124 = this->success.begin(); _iter2124 != this->success.end(); ++_iter2124) { - xfer += (*_iter2109).write(oprot); + xfer += (*_iter2124).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23847,14 +24145,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 _size2110; - ::apache::thrift::protocol::TType _etype2113; - xfer += iprot->readListBegin(_etype2113, _size2110); - (*(this->success)).resize(_size2110); - uint32_t _i2114; - for (_i2114 = 0; _i2114 < _size2110; ++_i2114) + uint32_t _size2125; + ::apache::thrift::protocol::TType _etype2128; + xfer += iprot->readListBegin(_etype2128, _size2125); + (*(this->success)).resize(_size2125); + uint32_t _i2129; + for (_i2129 = 0; _i2129 < _size2125; ++_i2129) { - xfer += (*(this->success))[_i2114].read(iprot); + xfer += (*(this->success))[_i2129].read(iprot); } xfer += iprot->readListEnd(); } @@ -24650,14 +24948,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size2115; - ::apache::thrift::protocol::TType _etype2118; - xfer += iprot->readListBegin(_etype2118, _size2115); - this->names.resize(_size2115); - uint32_t _i2119; - for (_i2119 = 0; _i2119 < _size2115; ++_i2119) + uint32_t _size2130; + ::apache::thrift::protocol::TType _etype2133; + xfer += iprot->readListBegin(_etype2133, _size2130); + this->names.resize(_size2130); + uint32_t _i2134; + for (_i2134 = 0; _i2134 < _size2130; ++_i2134) { - xfer += iprot->readString(this->names[_i2119]); + xfer += iprot->readString(this->names[_i2134]); } xfer += iprot->readListEnd(); } @@ -24694,10 +24992,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 _iter2120; - for (_iter2120 = this->names.begin(); _iter2120 != this->names.end(); ++_iter2120) + std::vector ::const_iterator _iter2135; + for (_iter2135 = this->names.begin(); _iter2135 != this->names.end(); ++_iter2135) { - xfer += oprot->writeString((*_iter2120)); + xfer += oprot->writeString((*_iter2135)); } xfer += oprot->writeListEnd(); } @@ -24729,10 +25027,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 _iter2121; - for (_iter2121 = (*(this->names)).begin(); _iter2121 != (*(this->names)).end(); ++_iter2121) + std::vector ::const_iterator _iter2136; + for (_iter2136 = (*(this->names)).begin(); _iter2136 != (*(this->names)).end(); ++_iter2136) { - xfer += oprot->writeString((*_iter2121)); + xfer += oprot->writeString((*_iter2136)); } xfer += oprot->writeListEnd(); } @@ -24773,14 +25071,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2122; - ::apache::thrift::protocol::TType _etype2125; - xfer += iprot->readListBegin(_etype2125, _size2122); - this->success.resize(_size2122); - uint32_t _i2126; - for (_i2126 = 0; _i2126 < _size2122; ++_i2126) + uint32_t _size2137; + ::apache::thrift::protocol::TType _etype2140; + xfer += iprot->readListBegin(_etype2140, _size2137); + this->success.resize(_size2137); + uint32_t _i2141; + for (_i2141 = 0; _i2141 < _size2137; ++_i2141) { - xfer += this->success[_i2126].read(iprot); + xfer += this->success[_i2141].read(iprot); } xfer += iprot->readListEnd(); } @@ -24827,10 +25125,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 _iter2127; - for (_iter2127 = this->success.begin(); _iter2127 != this->success.end(); ++_iter2127) + std::vector ::const_iterator _iter2142; + for (_iter2142 = this->success.begin(); _iter2142 != this->success.end(); ++_iter2142) { - xfer += (*_iter2127).write(oprot); + xfer += (*_iter2142).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24879,14 +25177,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2128; - ::apache::thrift::protocol::TType _etype2131; - xfer += iprot->readListBegin(_etype2131, _size2128); - (*(this->success)).resize(_size2128); - uint32_t _i2132; - for (_i2132 = 0; _i2132 < _size2128; ++_i2132) + uint32_t _size2143; + ::apache::thrift::protocol::TType _etype2146; + xfer += iprot->readListBegin(_etype2146, _size2143); + (*(this->success)).resize(_size2143); + uint32_t _i2147; + for (_i2147 = 0; _i2147 < _size2143; ++_i2147) { - xfer += (*(this->success))[_i2132].read(iprot); + xfer += (*(this->success))[_i2147].read(iprot); } xfer += iprot->readListEnd(); } @@ -25435,14 +25733,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size2133; - ::apache::thrift::protocol::TType _etype2136; - xfer += iprot->readListBegin(_etype2136, _size2133); - this->new_parts.resize(_size2133); - uint32_t _i2137; - for (_i2137 = 0; _i2137 < _size2133; ++_i2137) + uint32_t _size2148; + ::apache::thrift::protocol::TType _etype2151; + xfer += iprot->readListBegin(_etype2151, _size2148); + this->new_parts.resize(_size2148); + uint32_t _i2152; + for (_i2152 = 0; _i2152 < _size2148; ++_i2152) { - xfer += this->new_parts[_i2137].read(iprot); + xfer += this->new_parts[_i2152].read(iprot); } xfer += iprot->readListEnd(); } @@ -25479,10 +25777,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 _iter2138; - for (_iter2138 = this->new_parts.begin(); _iter2138 != this->new_parts.end(); ++_iter2138) + std::vector ::const_iterator _iter2153; + for (_iter2153 = this->new_parts.begin(); _iter2153 != this->new_parts.end(); ++_iter2153) { - xfer += (*_iter2138).write(oprot); + xfer += (*_iter2153).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25514,10 +25812,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 _iter2139; - for (_iter2139 = (*(this->new_parts)).begin(); _iter2139 != (*(this->new_parts)).end(); ++_iter2139) + std::vector ::const_iterator _iter2154; + for (_iter2154 = (*(this->new_parts)).begin(); _iter2154 != (*(this->new_parts)).end(); ++_iter2154) { - xfer += (*_iter2139).write(oprot); + xfer += (*_iter2154).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25702,14 +26000,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size2140; - ::apache::thrift::protocol::TType _etype2143; - xfer += iprot->readListBegin(_etype2143, _size2140); - this->new_parts.resize(_size2140); - uint32_t _i2144; - for (_i2144 = 0; _i2144 < _size2140; ++_i2144) + uint32_t _size2155; + ::apache::thrift::protocol::TType _etype2158; + xfer += iprot->readListBegin(_etype2158, _size2155); + this->new_parts.resize(_size2155); + uint32_t _i2159; + for (_i2159 = 0; _i2159 < _size2155; ++_i2159) { - xfer += this->new_parts[_i2144].read(iprot); + xfer += this->new_parts[_i2159].read(iprot); } xfer += iprot->readListEnd(); } @@ -25754,10 +26052,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::wri xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter2145; - for (_iter2145 = this->new_parts.begin(); _iter2145 != this->new_parts.end(); ++_iter2145) + std::vector ::const_iterator _iter2160; + for (_iter2160 = this->new_parts.begin(); _iter2160 != this->new_parts.end(); ++_iter2160) { - xfer += (*_iter2145).write(oprot); + xfer += (*_iter2160).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25793,10 +26091,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter2146; - for (_iter2146 = (*(this->new_parts)).begin(); _iter2146 != (*(this->new_parts)).end(); ++_iter2146) + std::vector ::const_iterator _iter2161; + for (_iter2161 = (*(this->new_parts)).begin(); _iter2161 != (*(this->new_parts)).end(); ++_iter2161) { - xfer += (*_iter2146).write(oprot); + xfer += (*_iter2161).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26467,14 +26765,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size2147; - ::apache::thrift::protocol::TType _etype2150; - xfer += iprot->readListBegin(_etype2150, _size2147); - this->part_vals.resize(_size2147); - uint32_t _i2151; - for (_i2151 = 0; _i2151 < _size2147; ++_i2151) + uint32_t _size2162; + ::apache::thrift::protocol::TType _etype2165; + xfer += iprot->readListBegin(_etype2165, _size2162); + this->part_vals.resize(_size2162); + uint32_t _i2166; + for (_i2166 = 0; _i2166 < _size2162; ++_i2166) { - xfer += iprot->readString(this->part_vals[_i2151]); + xfer += iprot->readString(this->part_vals[_i2166]); } xfer += iprot->readListEnd(); } @@ -26519,10 +26817,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 _iter2152; - for (_iter2152 = this->part_vals.begin(); _iter2152 != this->part_vals.end(); ++_iter2152) + std::vector ::const_iterator _iter2167; + for (_iter2167 = this->part_vals.begin(); _iter2167 != this->part_vals.end(); ++_iter2167) { - xfer += oprot->writeString((*_iter2152)); + xfer += oprot->writeString((*_iter2167)); } xfer += oprot->writeListEnd(); } @@ -26558,10 +26856,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 _iter2153; - for (_iter2153 = (*(this->part_vals)).begin(); _iter2153 != (*(this->part_vals)).end(); ++_iter2153) + std::vector ::const_iterator _iter2168; + for (_iter2168 = (*(this->part_vals)).begin(); _iter2168 != (*(this->part_vals)).end(); ++_iter2168) { - xfer += oprot->writeString((*_iter2153)); + xfer += oprot->writeString((*_iter2168)); } xfer += oprot->writeListEnd(); } @@ -26961,14 +27259,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 _size2154; - ::apache::thrift::protocol::TType _etype2157; - xfer += iprot->readListBegin(_etype2157, _size2154); - this->part_vals.resize(_size2154); - uint32_t _i2158; - for (_i2158 = 0; _i2158 < _size2154; ++_i2158) + uint32_t _size2169; + ::apache::thrift::protocol::TType _etype2172; + xfer += iprot->readListBegin(_etype2172, _size2169); + this->part_vals.resize(_size2169); + uint32_t _i2173; + for (_i2173 = 0; _i2173 < _size2169; ++_i2173) { - xfer += iprot->readString(this->part_vals[_i2158]); + xfer += iprot->readString(this->part_vals[_i2173]); } xfer += iprot->readListEnd(); } @@ -27005,10 +27303,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter2159; - for (_iter2159 = this->part_vals.begin(); _iter2159 != this->part_vals.end(); ++_iter2159) + std::vector ::const_iterator _iter2174; + for (_iter2174 = this->part_vals.begin(); _iter2174 != this->part_vals.end(); ++_iter2174) { - xfer += oprot->writeString((*_iter2159)); + xfer += oprot->writeString((*_iter2174)); } xfer += oprot->writeListEnd(); } @@ -27036,10 +27334,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter2160; - for (_iter2160 = (*(this->part_vals)).begin(); _iter2160 != (*(this->part_vals)).end(); ++_iter2160) + std::vector ::const_iterator _iter2175; + for (_iter2175 = (*(this->part_vals)).begin(); _iter2175 != (*(this->part_vals)).end(); ++_iter2175) { - xfer += oprot->writeString((*_iter2160)); + xfer += oprot->writeString((*_iter2175)); } xfer += oprot->writeListEnd(); } @@ -27514,14 +27812,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2161; - ::apache::thrift::protocol::TType _etype2164; - xfer += iprot->readListBegin(_etype2164, _size2161); - this->success.resize(_size2161); - uint32_t _i2165; - for (_i2165 = 0; _i2165 < _size2161; ++_i2165) + uint32_t _size2176; + ::apache::thrift::protocol::TType _etype2179; + xfer += iprot->readListBegin(_etype2179, _size2176); + this->success.resize(_size2176); + uint32_t _i2180; + for (_i2180 = 0; _i2180 < _size2176; ++_i2180) { - xfer += iprot->readString(this->success[_i2165]); + xfer += iprot->readString(this->success[_i2180]); } xfer += iprot->readListEnd(); } @@ -27560,10 +27858,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 _iter2166; - for (_iter2166 = this->success.begin(); _iter2166 != this->success.end(); ++_iter2166) + std::vector ::const_iterator _iter2181; + for (_iter2181 = this->success.begin(); _iter2181 != this->success.end(); ++_iter2181) { - xfer += oprot->writeString((*_iter2166)); + xfer += oprot->writeString((*_iter2181)); } xfer += oprot->writeListEnd(); } @@ -27608,14 +27906,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2167; - ::apache::thrift::protocol::TType _etype2170; - xfer += iprot->readListBegin(_etype2170, _size2167); - (*(this->success)).resize(_size2167); - uint32_t _i2171; - for (_i2171 = 0; _i2171 < _size2167; ++_i2171) + uint32_t _size2182; + ::apache::thrift::protocol::TType _etype2185; + xfer += iprot->readListBegin(_etype2185, _size2182); + (*(this->success)).resize(_size2182); + uint32_t _i2186; + for (_i2186 = 0; _i2186 < _size2182; ++_i2186) { - xfer += iprot->readString((*(this->success))[_i2171]); + xfer += iprot->readString((*(this->success))[_i2186]); } xfer += iprot->readListEnd(); } @@ -27753,17 +28051,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size2172; - ::apache::thrift::protocol::TType _ktype2173; - ::apache::thrift::protocol::TType _vtype2174; - xfer += iprot->readMapBegin(_ktype2173, _vtype2174, _size2172); - uint32_t _i2176; - for (_i2176 = 0; _i2176 < _size2172; ++_i2176) + uint32_t _size2187; + ::apache::thrift::protocol::TType _ktype2188; + ::apache::thrift::protocol::TType _vtype2189; + xfer += iprot->readMapBegin(_ktype2188, _vtype2189, _size2187); + uint32_t _i2191; + for (_i2191 = 0; _i2191 < _size2187; ++_i2191) { - std::string _key2177; - xfer += iprot->readString(_key2177); - std::string& _val2178 = this->success[_key2177]; - xfer += iprot->readString(_val2178); + std::string _key2192; + xfer += iprot->readString(_key2192); + std::string& _val2193 = this->success[_key2192]; + xfer += iprot->readString(_val2193); } xfer += iprot->readMapEnd(); } @@ -27802,11 +28100,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 _iter2179; - for (_iter2179 = this->success.begin(); _iter2179 != this->success.end(); ++_iter2179) + std::map ::const_iterator _iter2194; + for (_iter2194 = this->success.begin(); _iter2194 != this->success.end(); ++_iter2194) { - xfer += oprot->writeString(_iter2179->first); - xfer += oprot->writeString(_iter2179->second); + xfer += oprot->writeString(_iter2194->first); + xfer += oprot->writeString(_iter2194->second); } xfer += oprot->writeMapEnd(); } @@ -27851,17 +28149,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size2180; - ::apache::thrift::protocol::TType _ktype2181; - ::apache::thrift::protocol::TType _vtype2182; - xfer += iprot->readMapBegin(_ktype2181, _vtype2182, _size2180); - uint32_t _i2184; - for (_i2184 = 0; _i2184 < _size2180; ++_i2184) + uint32_t _size2195; + ::apache::thrift::protocol::TType _ktype2196; + ::apache::thrift::protocol::TType _vtype2197; + xfer += iprot->readMapBegin(_ktype2196, _vtype2197, _size2195); + uint32_t _i2199; + for (_i2199 = 0; _i2199 < _size2195; ++_i2199) { - std::string _key2185; - xfer += iprot->readString(_key2185); - std::string& _val2186 = (*(this->success))[_key2185]; - xfer += iprot->readString(_val2186); + std::string _key2200; + xfer += iprot->readString(_key2200); + std::string& _val2201 = (*(this->success))[_key2200]; + xfer += iprot->readString(_val2201); } xfer += iprot->readMapEnd(); } @@ -27936,17 +28234,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size2187; - ::apache::thrift::protocol::TType _ktype2188; - ::apache::thrift::protocol::TType _vtype2189; - xfer += iprot->readMapBegin(_ktype2188, _vtype2189, _size2187); - uint32_t _i2191; - for (_i2191 = 0; _i2191 < _size2187; ++_i2191) + uint32_t _size2202; + ::apache::thrift::protocol::TType _ktype2203; + ::apache::thrift::protocol::TType _vtype2204; + xfer += iprot->readMapBegin(_ktype2203, _vtype2204, _size2202); + uint32_t _i2206; + for (_i2206 = 0; _i2206 < _size2202; ++_i2206) { - std::string _key2192; - xfer += iprot->readString(_key2192); - std::string& _val2193 = this->part_vals[_key2192]; - xfer += iprot->readString(_val2193); + std::string _key2207; + xfer += iprot->readString(_key2207); + std::string& _val2208 = this->part_vals[_key2207]; + xfer += iprot->readString(_val2208); } xfer += iprot->readMapEnd(); } @@ -27957,9 +28255,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2194; - xfer += iprot->readI32(ecast2194); - this->eventType = (PartitionEventType::type)ecast2194; + int32_t ecast2209; + xfer += iprot->readI32(ecast2209); + this->eventType = (PartitionEventType::type)ecast2209; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -27993,11 +28291,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 _iter2195; - for (_iter2195 = this->part_vals.begin(); _iter2195 != this->part_vals.end(); ++_iter2195) + std::map ::const_iterator _iter2210; + for (_iter2210 = this->part_vals.begin(); _iter2210 != this->part_vals.end(); ++_iter2210) { - xfer += oprot->writeString(_iter2195->first); - xfer += oprot->writeString(_iter2195->second); + xfer += oprot->writeString(_iter2210->first); + xfer += oprot->writeString(_iter2210->second); } xfer += oprot->writeMapEnd(); } @@ -28033,11 +28331,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 _iter2196; - for (_iter2196 = (*(this->part_vals)).begin(); _iter2196 != (*(this->part_vals)).end(); ++_iter2196) + std::map ::const_iterator _iter2211; + for (_iter2211 = (*(this->part_vals)).begin(); _iter2211 != (*(this->part_vals)).end(); ++_iter2211) { - xfer += oprot->writeString(_iter2196->first); - xfer += oprot->writeString(_iter2196->second); + xfer += oprot->writeString(_iter2211->first); + xfer += oprot->writeString(_iter2211->second); } xfer += oprot->writeMapEnd(); } @@ -28306,17 +28604,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size2197; - ::apache::thrift::protocol::TType _ktype2198; - ::apache::thrift::protocol::TType _vtype2199; - xfer += iprot->readMapBegin(_ktype2198, _vtype2199, _size2197); - uint32_t _i2201; - for (_i2201 = 0; _i2201 < _size2197; ++_i2201) + uint32_t _size2212; + ::apache::thrift::protocol::TType _ktype2213; + ::apache::thrift::protocol::TType _vtype2214; + xfer += iprot->readMapBegin(_ktype2213, _vtype2214, _size2212); + uint32_t _i2216; + for (_i2216 = 0; _i2216 < _size2212; ++_i2216) { - std::string _key2202; - xfer += iprot->readString(_key2202); - std::string& _val2203 = this->part_vals[_key2202]; - xfer += iprot->readString(_val2203); + std::string _key2217; + xfer += iprot->readString(_key2217); + std::string& _val2218 = this->part_vals[_key2217]; + xfer += iprot->readString(_val2218); } xfer += iprot->readMapEnd(); } @@ -28327,9 +28625,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2204; - xfer += iprot->readI32(ecast2204); - this->eventType = (PartitionEventType::type)ecast2204; + int32_t ecast2219; + xfer += iprot->readI32(ecast2219); + this->eventType = (PartitionEventType::type)ecast2219; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -28363,11 +28661,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 _iter2205; - for (_iter2205 = this->part_vals.begin(); _iter2205 != this->part_vals.end(); ++_iter2205) + std::map ::const_iterator _iter2220; + for (_iter2220 = this->part_vals.begin(); _iter2220 != this->part_vals.end(); ++_iter2220) { - xfer += oprot->writeString(_iter2205->first); - xfer += oprot->writeString(_iter2205->second); + xfer += oprot->writeString(_iter2220->first); + xfer += oprot->writeString(_iter2220->second); } xfer += oprot->writeMapEnd(); } @@ -28403,11 +28701,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 _iter2206; - for (_iter2206 = (*(this->part_vals)).begin(); _iter2206 != (*(this->part_vals)).end(); ++_iter2206) + std::map ::const_iterator _iter2221; + for (_iter2221 = (*(this->part_vals)).begin(); _iter2221 != (*(this->part_vals)).end(); ++_iter2221) { - xfer += oprot->writeString(_iter2206->first); - xfer += oprot->writeString(_iter2206->second); + xfer += oprot->writeString(_iter2221->first); + xfer += oprot->writeString(_iter2221->second); } xfer += oprot->writeMapEnd(); } @@ -34349,14 +34647,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2207; - ::apache::thrift::protocol::TType _etype2210; - xfer += iprot->readListBegin(_etype2210, _size2207); - this->success.resize(_size2207); - uint32_t _i2211; - for (_i2211 = 0; _i2211 < _size2207; ++_i2211) + uint32_t _size2222; + ::apache::thrift::protocol::TType _etype2225; + xfer += iprot->readListBegin(_etype2225, _size2222); + this->success.resize(_size2222); + uint32_t _i2226; + for (_i2226 = 0; _i2226 < _size2222; ++_i2226) { - xfer += iprot->readString(this->success[_i2211]); + xfer += iprot->readString(this->success[_i2226]); } xfer += iprot->readListEnd(); } @@ -34395,10 +34693,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 _iter2212; - for (_iter2212 = this->success.begin(); _iter2212 != this->success.end(); ++_iter2212) + std::vector ::const_iterator _iter2227; + for (_iter2227 = this->success.begin(); _iter2227 != this->success.end(); ++_iter2227) { - xfer += oprot->writeString((*_iter2212)); + xfer += oprot->writeString((*_iter2227)); } xfer += oprot->writeListEnd(); } @@ -34443,14 +34741,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2213; - ::apache::thrift::protocol::TType _etype2216; - xfer += iprot->readListBegin(_etype2216, _size2213); - (*(this->success)).resize(_size2213); - uint32_t _i2217; - for (_i2217 = 0; _i2217 < _size2213; ++_i2217) + uint32_t _size2228; + ::apache::thrift::protocol::TType _etype2231; + xfer += iprot->readListBegin(_etype2231, _size2228); + (*(this->success)).resize(_size2228); + uint32_t _i2232; + for (_i2232 = 0; _i2232 < _size2228; ++_i2232) { - xfer += iprot->readString((*(this->success))[_i2217]); + xfer += iprot->readString((*(this->success))[_i2232]); } xfer += iprot->readListEnd(); } @@ -35410,14 +35708,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2218; - ::apache::thrift::protocol::TType _etype2221; - xfer += iprot->readListBegin(_etype2221, _size2218); - this->success.resize(_size2218); - uint32_t _i2222; - for (_i2222 = 0; _i2222 < _size2218; ++_i2222) + uint32_t _size2233; + ::apache::thrift::protocol::TType _etype2236; + xfer += iprot->readListBegin(_etype2236, _size2233); + this->success.resize(_size2233); + uint32_t _i2237; + for (_i2237 = 0; _i2237 < _size2233; ++_i2237) { - xfer += iprot->readString(this->success[_i2222]); + xfer += iprot->readString(this->success[_i2237]); } xfer += iprot->readListEnd(); } @@ -35456,10 +35754,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 _iter2223; - for (_iter2223 = this->success.begin(); _iter2223 != this->success.end(); ++_iter2223) + std::vector ::const_iterator _iter2238; + for (_iter2238 = this->success.begin(); _iter2238 != this->success.end(); ++_iter2238) { - xfer += oprot->writeString((*_iter2223)); + xfer += oprot->writeString((*_iter2238)); } xfer += oprot->writeListEnd(); } @@ -35504,14 +35802,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2224; - ::apache::thrift::protocol::TType _etype2227; - xfer += iprot->readListBegin(_etype2227, _size2224); - (*(this->success)).resize(_size2224); - uint32_t _i2228; - for (_i2228 = 0; _i2228 < _size2224; ++_i2228) + uint32_t _size2239; + ::apache::thrift::protocol::TType _etype2242; + xfer += iprot->readListBegin(_etype2242, _size2239); + (*(this->success)).resize(_size2239); + uint32_t _i2243; + for (_i2243 = 0; _i2243 < _size2239; ++_i2243) { - xfer += iprot->readString((*(this->success))[_i2228]); + xfer += iprot->readString((*(this->success))[_i2243]); } xfer += iprot->readListEnd(); } @@ -35584,9 +35882,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2229; - xfer += iprot->readI32(ecast2229); - this->principal_type = (PrincipalType::type)ecast2229; + int32_t ecast2244; + xfer += iprot->readI32(ecast2244); + this->principal_type = (PrincipalType::type)ecast2244; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -35602,9 +35900,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2230; - xfer += iprot->readI32(ecast2230); - this->grantorType = (PrincipalType::type)ecast2230; + int32_t ecast2245; + xfer += iprot->readI32(ecast2245); + this->grantorType = (PrincipalType::type)ecast2245; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -35875,9 +36173,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2231; - xfer += iprot->readI32(ecast2231); - this->principal_type = (PrincipalType::type)ecast2231; + int32_t ecast2246; + xfer += iprot->readI32(ecast2246); + this->principal_type = (PrincipalType::type)ecast2246; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -36108,9 +36406,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2232; - xfer += iprot->readI32(ecast2232); - this->principal_type = (PrincipalType::type)ecast2232; + int32_t ecast2247; + xfer += iprot->readI32(ecast2247); + this->principal_type = (PrincipalType::type)ecast2247; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -36199,14 +36497,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2233; - ::apache::thrift::protocol::TType _etype2236; - xfer += iprot->readListBegin(_etype2236, _size2233); - this->success.resize(_size2233); - uint32_t _i2237; - for (_i2237 = 0; _i2237 < _size2233; ++_i2237) + uint32_t _size2248; + ::apache::thrift::protocol::TType _etype2251; + xfer += iprot->readListBegin(_etype2251, _size2248); + this->success.resize(_size2248); + uint32_t _i2252; + for (_i2252 = 0; _i2252 < _size2248; ++_i2252) { - xfer += this->success[_i2237].read(iprot); + xfer += this->success[_i2252].read(iprot); } xfer += iprot->readListEnd(); } @@ -36245,10 +36543,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 _iter2238; - for (_iter2238 = this->success.begin(); _iter2238 != this->success.end(); ++_iter2238) + std::vector ::const_iterator _iter2253; + for (_iter2253 = this->success.begin(); _iter2253 != this->success.end(); ++_iter2253) { - xfer += (*_iter2238).write(oprot); + xfer += (*_iter2253).write(oprot); } xfer += oprot->writeListEnd(); } @@ -36293,14 +36591,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2239; - ::apache::thrift::protocol::TType _etype2242; - xfer += iprot->readListBegin(_etype2242, _size2239); - (*(this->success)).resize(_size2239); - uint32_t _i2243; - for (_i2243 = 0; _i2243 < _size2239; ++_i2243) + uint32_t _size2254; + ::apache::thrift::protocol::TType _etype2257; + xfer += iprot->readListBegin(_etype2257, _size2254); + (*(this->success)).resize(_size2254); + uint32_t _i2258; + for (_i2258 = 0; _i2258 < _size2254; ++_i2258) { - xfer += (*(this->success))[_i2243].read(iprot); + xfer += (*(this->success))[_i2258].read(iprot); } xfer += iprot->readListEnd(); } @@ -36996,14 +37294,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 _size2244; - ::apache::thrift::protocol::TType _etype2247; - xfer += iprot->readListBegin(_etype2247, _size2244); - this->group_names.resize(_size2244); - uint32_t _i2248; - for (_i2248 = 0; _i2248 < _size2244; ++_i2248) + uint32_t _size2259; + ::apache::thrift::protocol::TType _etype2262; + xfer += iprot->readListBegin(_etype2262, _size2259); + this->group_names.resize(_size2259); + uint32_t _i2263; + for (_i2263 = 0; _i2263 < _size2259; ++_i2263) { - xfer += iprot->readString(this->group_names[_i2248]); + xfer += iprot->readString(this->group_names[_i2263]); } xfer += iprot->readListEnd(); } @@ -37040,10 +37338,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 _iter2249; - for (_iter2249 = this->group_names.begin(); _iter2249 != this->group_names.end(); ++_iter2249) + std::vector ::const_iterator _iter2264; + for (_iter2264 = this->group_names.begin(); _iter2264 != this->group_names.end(); ++_iter2264) { - xfer += oprot->writeString((*_iter2249)); + xfer += oprot->writeString((*_iter2264)); } xfer += oprot->writeListEnd(); } @@ -37075,10 +37373,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 _iter2250; - for (_iter2250 = (*(this->group_names)).begin(); _iter2250 != (*(this->group_names)).end(); ++_iter2250) + std::vector ::const_iterator _iter2265; + for (_iter2265 = (*(this->group_names)).begin(); _iter2265 != (*(this->group_names)).end(); ++_iter2265) { - xfer += oprot->writeString((*_iter2250)); + xfer += oprot->writeString((*_iter2265)); } xfer += oprot->writeListEnd(); } @@ -37253,9 +37551,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast2251; - xfer += iprot->readI32(ecast2251); - this->principal_type = (PrincipalType::type)ecast2251; + int32_t ecast2266; + xfer += iprot->readI32(ecast2266); + this->principal_type = (PrincipalType::type)ecast2266; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -37360,14 +37658,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2252; - ::apache::thrift::protocol::TType _etype2255; - xfer += iprot->readListBegin(_etype2255, _size2252); - this->success.resize(_size2252); - uint32_t _i2256; - for (_i2256 = 0; _i2256 < _size2252; ++_i2256) + uint32_t _size2267; + ::apache::thrift::protocol::TType _etype2270; + xfer += iprot->readListBegin(_etype2270, _size2267); + this->success.resize(_size2267); + uint32_t _i2271; + for (_i2271 = 0; _i2271 < _size2267; ++_i2271) { - xfer += this->success[_i2256].read(iprot); + xfer += this->success[_i2271].read(iprot); } xfer += iprot->readListEnd(); } @@ -37406,10 +37704,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 _iter2257; - for (_iter2257 = this->success.begin(); _iter2257 != this->success.end(); ++_iter2257) + std::vector ::const_iterator _iter2272; + for (_iter2272 = this->success.begin(); _iter2272 != this->success.end(); ++_iter2272) { - xfer += (*_iter2257).write(oprot); + xfer += (*_iter2272).write(oprot); } xfer += oprot->writeListEnd(); } @@ -37454,14 +37752,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2258; - ::apache::thrift::protocol::TType _etype2261; - xfer += iprot->readListBegin(_etype2261, _size2258); - (*(this->success)).resize(_size2258); - uint32_t _i2262; - for (_i2262 = 0; _i2262 < _size2258; ++_i2262) + uint32_t _size2273; + ::apache::thrift::protocol::TType _etype2276; + xfer += iprot->readListBegin(_etype2276, _size2273); + (*(this->success)).resize(_size2273); + uint32_t _i2277; + for (_i2277 = 0; _i2277 < _size2273; ++_i2277) { - xfer += (*(this->success))[_i2262].read(iprot); + xfer += (*(this->success))[_i2277].read(iprot); } xfer += iprot->readListEnd(); } @@ -38388,14 +38686,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 _size2263; - ::apache::thrift::protocol::TType _etype2266; - xfer += iprot->readListBegin(_etype2266, _size2263); - this->group_names.resize(_size2263); - uint32_t _i2267; - for (_i2267 = 0; _i2267 < _size2263; ++_i2267) + uint32_t _size2278; + ::apache::thrift::protocol::TType _etype2281; + xfer += iprot->readListBegin(_etype2281, _size2278); + this->group_names.resize(_size2278); + uint32_t _i2282; + for (_i2282 = 0; _i2282 < _size2278; ++_i2282) { - xfer += iprot->readString(this->group_names[_i2267]); + xfer += iprot->readString(this->group_names[_i2282]); } xfer += iprot->readListEnd(); } @@ -38428,10 +38726,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 _iter2268; - for (_iter2268 = this->group_names.begin(); _iter2268 != this->group_names.end(); ++_iter2268) + std::vector ::const_iterator _iter2283; + for (_iter2283 = this->group_names.begin(); _iter2283 != this->group_names.end(); ++_iter2283) { - xfer += oprot->writeString((*_iter2268)); + xfer += oprot->writeString((*_iter2283)); } xfer += oprot->writeListEnd(); } @@ -38459,10 +38757,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 _iter2269; - for (_iter2269 = (*(this->group_names)).begin(); _iter2269 != (*(this->group_names)).end(); ++_iter2269) + std::vector ::const_iterator _iter2284; + for (_iter2284 = (*(this->group_names)).begin(); _iter2284 != (*(this->group_names)).end(); ++_iter2284) { - xfer += oprot->writeString((*_iter2269)); + xfer += oprot->writeString((*_iter2284)); } xfer += oprot->writeListEnd(); } @@ -38503,14 +38801,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2270; - ::apache::thrift::protocol::TType _etype2273; - xfer += iprot->readListBegin(_etype2273, _size2270); - this->success.resize(_size2270); - uint32_t _i2274; - for (_i2274 = 0; _i2274 < _size2270; ++_i2274) + uint32_t _size2285; + ::apache::thrift::protocol::TType _etype2288; + xfer += iprot->readListBegin(_etype2288, _size2285); + this->success.resize(_size2285); + uint32_t _i2289; + for (_i2289 = 0; _i2289 < _size2285; ++_i2289) { - xfer += iprot->readString(this->success[_i2274]); + xfer += iprot->readString(this->success[_i2289]); } xfer += iprot->readListEnd(); } @@ -38549,10 +38847,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 _iter2275; - for (_iter2275 = this->success.begin(); _iter2275 != this->success.end(); ++_iter2275) + std::vector ::const_iterator _iter2290; + for (_iter2290 = this->success.begin(); _iter2290 != this->success.end(); ++_iter2290) { - xfer += oprot->writeString((*_iter2275)); + xfer += oprot->writeString((*_iter2290)); } xfer += oprot->writeListEnd(); } @@ -38597,14 +38895,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2276; - ::apache::thrift::protocol::TType _etype2279; - xfer += iprot->readListBegin(_etype2279, _size2276); - (*(this->success)).resize(_size2276); - uint32_t _i2280; - for (_i2280 = 0; _i2280 < _size2276; ++_i2280) + uint32_t _size2291; + ::apache::thrift::protocol::TType _etype2294; + xfer += iprot->readListBegin(_etype2294, _size2291); + (*(this->success)).resize(_size2291); + uint32_t _i2295; + for (_i2295 = 0; _i2295 < _size2291; ++_i2295) { - xfer += iprot->readString((*(this->success))[_i2280]); + xfer += iprot->readString((*(this->success))[_i2295]); } xfer += iprot->readListEnd(); } @@ -39915,14 +40213,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2281; - ::apache::thrift::protocol::TType _etype2284; - xfer += iprot->readListBegin(_etype2284, _size2281); - this->success.resize(_size2281); - uint32_t _i2285; - for (_i2285 = 0; _i2285 < _size2281; ++_i2285) + uint32_t _size2296; + ::apache::thrift::protocol::TType _etype2299; + xfer += iprot->readListBegin(_etype2299, _size2296); + this->success.resize(_size2296); + uint32_t _i2300; + for (_i2300 = 0; _i2300 < _size2296; ++_i2300) { - xfer += iprot->readString(this->success[_i2285]); + xfer += iprot->readString(this->success[_i2300]); } xfer += iprot->readListEnd(); } @@ -39953,10 +40251,10 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2286; - for (_iter2286 = this->success.begin(); _iter2286 != this->success.end(); ++_iter2286) + std::vector ::const_iterator _iter2301; + for (_iter2301 = this->success.begin(); _iter2301 != this->success.end(); ++_iter2301) { - xfer += oprot->writeString((*_iter2286)); + xfer += oprot->writeString((*_iter2301)); } xfer += oprot->writeListEnd(); } @@ -39997,14 +40295,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2287; - ::apache::thrift::protocol::TType _etype2290; - xfer += iprot->readListBegin(_etype2290, _size2287); - (*(this->success)).resize(_size2287); - uint32_t _i2291; - for (_i2291 = 0; _i2291 < _size2287; ++_i2291) + uint32_t _size2302; + ::apache::thrift::protocol::TType _etype2305; + xfer += iprot->readListBegin(_etype2305, _size2302); + (*(this->success)).resize(_size2302); + uint32_t _i2306; + for (_i2306 = 0; _i2306 < _size2302; ++_i2306) { - xfer += iprot->readString((*(this->success))[_i2291]); + xfer += iprot->readString((*(this->success))[_i2306]); } xfer += iprot->readListEnd(); } @@ -40730,14 +41028,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2292; - ::apache::thrift::protocol::TType _etype2295; - xfer += iprot->readListBegin(_etype2295, _size2292); - this->success.resize(_size2292); - uint32_t _i2296; - for (_i2296 = 0; _i2296 < _size2292; ++_i2296) + uint32_t _size2307; + ::apache::thrift::protocol::TType _etype2310; + xfer += iprot->readListBegin(_etype2310, _size2307); + this->success.resize(_size2307); + uint32_t _i2311; + for (_i2311 = 0; _i2311 < _size2307; ++_i2311) { - xfer += iprot->readString(this->success[_i2296]); + xfer += iprot->readString(this->success[_i2311]); } xfer += iprot->readListEnd(); } @@ -40768,10 +41066,10 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter2297; - for (_iter2297 = this->success.begin(); _iter2297 != this->success.end(); ++_iter2297) + std::vector ::const_iterator _iter2312; + for (_iter2312 = this->success.begin(); _iter2312 != this->success.end(); ++_iter2312) { - xfer += oprot->writeString((*_iter2297)); + xfer += oprot->writeString((*_iter2312)); } xfer += oprot->writeListEnd(); } @@ -40812,14 +41110,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2298; - ::apache::thrift::protocol::TType _etype2301; - xfer += iprot->readListBegin(_etype2301, _size2298); - (*(this->success)).resize(_size2298); - uint32_t _i2302; - for (_i2302 = 0; _i2302 < _size2298; ++_i2302) + uint32_t _size2313; + ::apache::thrift::protocol::TType _etype2316; + xfer += iprot->readListBegin(_etype2316, _size2313); + (*(this->success)).resize(_size2313); + uint32_t _i2317; + for (_i2317 = 0; _i2317 < _size2313; ++_i2317) { - xfer += iprot->readString((*(this->success))[_i2302]); + xfer += iprot->readString((*(this->success))[_i2317]); } xfer += iprot->readListEnd(); } @@ -45865,14 +46163,14 @@ uint32_t ThriftHiveMetastore_find_columns_with_stats_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2303; - ::apache::thrift::protocol::TType _etype2306; - xfer += iprot->readListBegin(_etype2306, _size2303); - this->success.resize(_size2303); - uint32_t _i2307; - for (_i2307 = 0; _i2307 < _size2303; ++_i2307) + uint32_t _size2318; + ::apache::thrift::protocol::TType _etype2321; + xfer += iprot->readListBegin(_etype2321, _size2318); + this->success.resize(_size2318); + uint32_t _i2322; + for (_i2322 = 0; _i2322 < _size2318; ++_i2322) { - xfer += iprot->readString(this->success[_i2307]); + xfer += iprot->readString(this->success[_i2322]); } xfer += iprot->readListEnd(); } @@ -45903,10 +46201,10 @@ uint32_t ThriftHiveMetastore_find_columns_with_stats_result::write(::apache::thr 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 _iter2308; - for (_iter2308 = this->success.begin(); _iter2308 != this->success.end(); ++_iter2308) + std::vector ::const_iterator _iter2323; + for (_iter2323 = this->success.begin(); _iter2323 != this->success.end(); ++_iter2323) { - xfer += oprot->writeString((*_iter2308)); + xfer += oprot->writeString((*_iter2323)); } xfer += oprot->writeListEnd(); } @@ -45947,14 +46245,14 @@ uint32_t ThriftHiveMetastore_find_columns_with_stats_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2309; - ::apache::thrift::protocol::TType _etype2312; - xfer += iprot->readListBegin(_etype2312, _size2309); - (*(this->success)).resize(_size2309); - uint32_t _i2313; - for (_i2313 = 0; _i2313 < _size2309; ++_i2313) + uint32_t _size2324; + ::apache::thrift::protocol::TType _etype2327; + xfer += iprot->readListBegin(_etype2327, _size2324); + (*(this->success)).resize(_size2324); + uint32_t _i2328; + for (_i2328 = 0; _i2328 < _size2324; ++_i2328) { - xfer += iprot->readString((*(this->success))[_i2313]); + xfer += iprot->readString((*(this->success))[_i2328]); } xfer += iprot->readListEnd(); } @@ -54922,14 +55220,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2314; - ::apache::thrift::protocol::TType _etype2317; - xfer += iprot->readListBegin(_etype2317, _size2314); - this->success.resize(_size2314); - uint32_t _i2318; - for (_i2318 = 0; _i2318 < _size2314; ++_i2318) + uint32_t _size2329; + ::apache::thrift::protocol::TType _etype2332; + xfer += iprot->readListBegin(_etype2332, _size2329); + this->success.resize(_size2329); + uint32_t _i2333; + for (_i2333 = 0; _i2333 < _size2329; ++_i2333) { - xfer += this->success[_i2318].read(iprot); + xfer += this->success[_i2333].read(iprot); } xfer += iprot->readListEnd(); } @@ -54976,10 +55274,10 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2319; - for (_iter2319 = this->success.begin(); _iter2319 != this->success.end(); ++_iter2319) + std::vector ::const_iterator _iter2334; + for (_iter2334 = this->success.begin(); _iter2334 != this->success.end(); ++_iter2334) { - xfer += (*_iter2319).write(oprot); + xfer += (*_iter2334).write(oprot); } xfer += oprot->writeListEnd(); } @@ -55028,14 +55326,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2320; - ::apache::thrift::protocol::TType _etype2323; - xfer += iprot->readListBegin(_etype2323, _size2320); - (*(this->success)).resize(_size2320); - uint32_t _i2324; - for (_i2324 = 0; _i2324 < _size2320; ++_i2324) + uint32_t _size2335; + ::apache::thrift::protocol::TType _etype2338; + xfer += iprot->readListBegin(_etype2338, _size2335); + (*(this->success)).resize(_size2335); + uint32_t _i2339; + for (_i2339 = 0; _i2339 < _size2335; ++_i2339) { - xfer += (*(this->success))[_i2324].read(iprot); + xfer += (*(this->success))[_i2339].read(iprot); } xfer += iprot->readListEnd(); } @@ -57088,14 +57386,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size2325; - ::apache::thrift::protocol::TType _etype2328; - xfer += iprot->readListBegin(_etype2328, _size2325); - this->success.resize(_size2325); - uint32_t _i2329; - for (_i2329 = 0; _i2329 < _size2325; ++_i2329) + uint32_t _size2340; + ::apache::thrift::protocol::TType _etype2343; + xfer += iprot->readListBegin(_etype2343, _size2340); + this->success.resize(_size2340); + uint32_t _i2344; + for (_i2344 = 0; _i2344 < _size2340; ++_i2344) { - xfer += this->success[_i2329].read(iprot); + xfer += this->success[_i2344].read(iprot); } xfer += iprot->readListEnd(); } @@ -57134,10 +57432,10 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter2330; - for (_iter2330 = this->success.begin(); _iter2330 != this->success.end(); ++_iter2330) + std::vector ::const_iterator _iter2345; + for (_iter2345 = this->success.begin(); _iter2345 != this->success.end(); ++_iter2345) { - xfer += (*_iter2330).write(oprot); + xfer += (*_iter2345).write(oprot); } xfer += oprot->writeListEnd(); } @@ -57182,14 +57480,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size2331; - ::apache::thrift::protocol::TType _etype2334; - xfer += iprot->readListBegin(_etype2334, _size2331); - (*(this->success)).resize(_size2331); - uint32_t _i2335; - for (_i2335 = 0; _i2335 < _size2331; ++_i2335) + uint32_t _size2346; + ::apache::thrift::protocol::TType _etype2349; + xfer += iprot->readListBegin(_etype2349, _size2346); + (*(this->success)).resize(_size2346); + uint32_t _i2350; + for (_i2350 = 0; _i2350 < _size2346; ++_i2350) { - xfer += (*(this->success))[_i2335].read(iprot); + xfer += (*(this->success))[_i2350].read(iprot); } xfer += iprot->readListEnd(); } @@ -64170,6 +64468,72 @@ void ThriftHiveMetastoreClient::recv_get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tblName, const int16_t max_parts) +{ + send_get_partition_locations(db_name, tblName, max_parts); + recv_get_partition_locations(_return); +} + +void ThriftHiveMetastoreClient::send_get_partition_locations(const std::string& db_name, const std::string& tblName, const int16_t max_parts) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("get_partition_locations", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partition_locations_pargs args; + args.db_name = &db_name; + args.tblName = &tblName; + args.max_parts = &max_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_get_partition_locations(std::map & _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_partition_locations") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_get_partition_locations_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; + } + if (result.__isset.o2) { + throw result.o2; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition_locations failed: unknown result"); +} + void ThriftHiveMetastoreClient::get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request) { send_get_partition_values(request); @@ -79403,6 +79767,66 @@ void ThriftHiveMetastoreProcessor::process_get_partition_names(int32_t seqid, :: } } +void ThriftHiveMetastoreProcessor::process_get_partition_locations(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_partition_locations", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.get_partition_locations"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_partition_locations"); + } + + ThriftHiveMetastore_get_partition_locations_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_partition_locations", bytes); + } + + ThriftHiveMetastore_get_partition_locations_result result; + try { + iface_->get_partition_locations(result.success, args.db_name, args.tblName, args.max_parts); + result.__isset.success = true; + } catch (NoSuchObjectException &o1) { + result.o1 = o1; + result.__isset.o1 = true; + } catch (MetaException &o2) { + result.o2 = o2; + result.__isset.o2 = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_partition_locations"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("get_partition_locations", ::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_partition_locations"); + } + + oprot->writeMessageBegin("get_partition_locations", ::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_partition_locations", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_get_partition_values(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; @@ -96667,6 +97091,100 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tblName, const int16_t max_parts) +{ + int32_t seqid = send_get_partition_locations(db_name, tblName, max_parts); + recv_get_partition_locations(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partition_locations(const std::string& db_name, const std::string& tblName, const int16_t max_parts) +{ + int32_t cseqid = this->sync_->generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get()); + oprot_->writeMessageBegin("get_partition_locations", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partition_locations_pargs args; + args.db_name = &db_name; + args.tblName = &tblName; + args.max_parts = &max_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partition_locations(std::map & _return, const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(this->sync_.get(), seqid); + + while(true) { + if(!this->sync_->getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + 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_partition_locations") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + ThriftHiveMetastore_get_partition_locations_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition_locations failed: unknown result"); + } + // seqid != rseqid + this->sync_->updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_->waitForWork(seqid); + } // end while(true) +} + void ThriftHiveMetastoreConcurrentClient::get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request) { int32_t seqid = send_get_partition_values(request); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 690c1f9585..c60abb23db 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -105,6 +105,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void get_partitions_with_auth(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts, const std::string& user_name, const std::vector & group_names) = 0; virtual void get_partitions_pspec(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int32_t max_parts) = 0; virtual void get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) = 0; + virtual void get_partition_locations(std::map & _return, const std::string& db_name, const std::string& tblName, const int16_t max_parts) = 0; virtual void get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request) = 0; virtual void get_partitions_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) = 0; virtual void get_partitions_ps_with_auth(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts, const std::string& user_name, const std::vector & group_names) = 0; @@ -553,6 +554,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void get_partition_names(std::vector & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const int16_t /* max_parts */) { return; } + void get_partition_locations(std::map & /* _return */, const std::string& /* db_name */, const std::string& /* tblName */, const int16_t /* max_parts */) { + return; + } void get_partition_values(PartitionValuesResponse& /* _return */, const PartitionValuesRequest& /* request */) { return; } @@ -11507,6 +11511,140 @@ class ThriftHiveMetastore_get_partition_names_presult { }; +typedef struct _ThriftHiveMetastore_get_partition_locations_args__isset { + _ThriftHiveMetastore_get_partition_locations_args__isset() : db_name(false), tblName(false), max_parts(true) {} + bool db_name :1; + bool tblName :1; + bool max_parts :1; +} _ThriftHiveMetastore_get_partition_locations_args__isset; + +class ThriftHiveMetastore_get_partition_locations_args { + public: + + ThriftHiveMetastore_get_partition_locations_args(const ThriftHiveMetastore_get_partition_locations_args&); + ThriftHiveMetastore_get_partition_locations_args& operator=(const ThriftHiveMetastore_get_partition_locations_args&); + ThriftHiveMetastore_get_partition_locations_args() : db_name(), tblName(), max_parts(-1) { + } + + virtual ~ThriftHiveMetastore_get_partition_locations_args() noexcept; + std::string db_name; + std::string tblName; + int16_t max_parts; + + _ThriftHiveMetastore_get_partition_locations_args__isset __isset; + + void __set_db_name(const std::string& val); + + void __set_tblName(const std::string& val); + + void __set_max_parts(const int16_t val); + + bool operator == (const ThriftHiveMetastore_get_partition_locations_args & rhs) const + { + if (!(db_name == rhs.db_name)) + return false; + if (!(tblName == rhs.tblName)) + return false; + if (!(max_parts == rhs.max_parts)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_partition_locations_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_partition_locations_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_get_partition_locations_pargs { + public: + + + virtual ~ThriftHiveMetastore_get_partition_locations_pargs() noexcept; + const std::string* db_name; + const std::string* tblName; + const int16_t* max_parts; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_partition_locations_result__isset { + _ThriftHiveMetastore_get_partition_locations_result__isset() : success(false), o1(false), o2(false) {} + bool success :1; + bool o1 :1; + bool o2 :1; +} _ThriftHiveMetastore_get_partition_locations_result__isset; + +class ThriftHiveMetastore_get_partition_locations_result { + public: + + ThriftHiveMetastore_get_partition_locations_result(const ThriftHiveMetastore_get_partition_locations_result&); + ThriftHiveMetastore_get_partition_locations_result& operator=(const ThriftHiveMetastore_get_partition_locations_result&); + ThriftHiveMetastore_get_partition_locations_result() { + } + + virtual ~ThriftHiveMetastore_get_partition_locations_result() noexcept; + std::map success; + NoSuchObjectException o1; + MetaException o2; + + _ThriftHiveMetastore_get_partition_locations_result__isset __isset; + + void __set_success(const std::map & val); + + void __set_o1(const NoSuchObjectException& val); + + void __set_o2(const MetaException& val); + + bool operator == (const ThriftHiveMetastore_get_partition_locations_result & rhs) const + { + if (!(success == rhs.success)) + return false; + if (!(o1 == rhs.o1)) + return false; + if (!(o2 == rhs.o2)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_partition_locations_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_partition_locations_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_partition_locations_presult__isset { + _ThriftHiveMetastore_get_partition_locations_presult__isset() : success(false), o1(false), o2(false) {} + bool success :1; + bool o1 :1; + bool o2 :1; +} _ThriftHiveMetastore_get_partition_locations_presult__isset; + +class ThriftHiveMetastore_get_partition_locations_presult { + public: + + + virtual ~ThriftHiveMetastore_get_partition_locations_presult() noexcept; + std::map * success; + NoSuchObjectException o1; + MetaException o2; + + _ThriftHiveMetastore_get_partition_locations_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_get_partition_values_args__isset { _ThriftHiveMetastore_get_partition_values_args__isset() : request(false) {} bool request :1; @@ -31219,6 +31357,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); void send_get_partition_names(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); void recv_get_partition_names(std::vector & _return); + void get_partition_locations(std::map & _return, const std::string& db_name, const std::string& tblName, const int16_t max_parts); + void send_get_partition_locations(const std::string& db_name, const std::string& tblName, const int16_t max_parts); + void recv_get_partition_locations(std::map & _return); void get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request); void send_get_partition_values(const PartitionValuesRequest& request); void recv_get_partition_values(PartitionValuesResponse& _return); @@ -31806,6 +31947,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_get_partitions_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_partitions_pspec(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_partition_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_get_partition_locations(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_partition_values(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_partitions_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_partitions_ps_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -32057,6 +32199,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["get_partitions_with_auth"] = &ThriftHiveMetastoreProcessor::process_get_partitions_with_auth; processMap_["get_partitions_pspec"] = &ThriftHiveMetastoreProcessor::process_get_partitions_pspec; processMap_["get_partition_names"] = &ThriftHiveMetastoreProcessor::process_get_partition_names; + processMap_["get_partition_locations"] = &ThriftHiveMetastoreProcessor::process_get_partition_locations; processMap_["get_partition_values"] = &ThriftHiveMetastoreProcessor::process_get_partition_values; processMap_["get_partitions_ps"] = &ThriftHiveMetastoreProcessor::process_get_partitions_ps; processMap_["get_partitions_ps_with_auth"] = &ThriftHiveMetastoreProcessor::process_get_partitions_ps_with_auth; @@ -33042,6 +33185,16 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } + void get_partition_locations(std::map & _return, const std::string& db_name, const std::string& tblName, const int16_t max_parts) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->get_partition_locations(_return, db_name, tblName, max_parts); + } + ifaces_[i]->get_partition_locations(_return, db_name, tblName, max_parts); + return; + } + void get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request) { size_t sz = ifaces_.size(); size_t i = 0; @@ -34894,6 +35047,9 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf void get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); int32_t send_get_partition_names(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); void recv_get_partition_names(std::vector & _return, const int32_t seqid); + void get_partition_locations(std::map & _return, const std::string& db_name, const std::string& tblName, const int16_t max_parts); + int32_t send_get_partition_locations(const std::string& db_name, const std::string& tblName, const int16_t max_parts); + void recv_get_partition_locations(std::map & _return, const int32_t seqid); void get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request); int32_t send_get_partition_values(const PartitionValuesRequest& request); void recv_get_partition_values(PartitionValuesResponse& _return, const int32_t seqid); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index ebadac7bb2..31d562b477 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -430,6 +430,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("get_partition_names\n"); } + void get_partition_locations(std::map & _return, const std::string& db_name, const std::string& tblName, const int16_t max_parts) { + // Your implementation goes here + printf("get_partition_locations\n"); + } + void get_partition_values(PartitionValuesResponse& _return, const PartitionValuesRequest& request) { // Your implementation goes here printf("get_partition_values\n"); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index e762ab95f1..66d2db8b14 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -179,6 +179,8 @@ public java.util.List get_partition_names(java.lang.String db_name, java.lang.String tbl_name, short max_parts) throws NoSuchObjectException, MetaException, org.apache.thrift.TException; + public java.util.Map get_partition_locations(java.lang.String db_name, java.lang.String tblName, short max_parts) throws NoSuchObjectException, MetaException, org.apache.thrift.TException; + public PartitionValuesResponse get_partition_values(PartitionValuesRequest request) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; public java.util.List get_partitions_ps(java.lang.String db_name, java.lang.String tbl_name, java.util.List part_vals, short max_parts) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; @@ -677,6 +679,8 @@ public void get_partition_names(java.lang.String db_name, java.lang.String tbl_name, short max_parts, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void get_partition_locations(java.lang.String db_name, java.lang.String tblName, short max_parts, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; + public void get_partition_values(PartitionValuesRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void get_partitions_ps(java.lang.String db_name, java.lang.String tbl_name, java.util.List part_vals, short max_parts, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException; @@ -3485,6 +3489,37 @@ public void send_get_partition_names(java.lang.String db_name, java.lang.String throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_partition_names failed: unknown result"); } + public java.util.Map get_partition_locations(java.lang.String db_name, java.lang.String tblName, short max_parts) throws NoSuchObjectException, MetaException, org.apache.thrift.TException + { + send_get_partition_locations(db_name, tblName, max_parts); + return recv_get_partition_locations(); + } + + public void send_get_partition_locations(java.lang.String db_name, java.lang.String tblName, short max_parts) throws org.apache.thrift.TException + { + get_partition_locations_args args = new get_partition_locations_args(); + args.setDb_name(db_name); + args.setTblName(tblName); + args.setMax_parts(max_parts); + sendBase("get_partition_locations", args); + } + + public java.util.Map recv_get_partition_locations() throws NoSuchObjectException, MetaException, org.apache.thrift.TException + { + get_partition_locations_result result = new get_partition_locations_result(); + receiveBase(result, "get_partition_locations"); + if (result.isSetSuccess()) { + return result.success; + } + if (result.o1 != null) { + throw result.o1; + } + if (result.o2 != null) { + throw result.o2; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_partition_locations failed: unknown result"); + } + public PartitionValuesResponse get_partition_values(PartitionValuesRequest request) throws MetaException, NoSuchObjectException, org.apache.thrift.TException { send_get_partition_values(request); @@ -10977,6 +11012,44 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } + public void get_partition_locations(java.lang.String db_name, java.lang.String tblName, short max_parts, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + checkReady(); + get_partition_locations_call method_call = new get_partition_locations_call(db_name, tblName, max_parts, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_locations_call extends org.apache.thrift.async.TAsyncMethodCall> { + private java.lang.String db_name; + private java.lang.String tblName; + private short max_parts; + public get_partition_locations_call(java.lang.String db_name, java.lang.String tblName, 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.tblName = tblName; + this.max_parts = max_parts; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_partition_locations", org.apache.thrift.protocol.TMessageType.CALL, 0)); + get_partition_locations_args args = new get_partition_locations_args(); + args.setDb_name(db_name); + args.setTblName(tblName); + args.setMax_parts(max_parts); + args.write(prot); + prot.writeMessageEnd(); + } + + public java.util.Map getResult() throws NoSuchObjectException, MetaException, org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new java.lang.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_partition_locations(); + } + } + public void get_partition_values(PartitionValuesRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_partition_values_call method_call = new get_partition_values_call(request, resultHandler, this, ___protocolFactory, ___transport); @@ -16574,6 +16647,7 @@ protected Processor(I iface, java.util.Map extends org.apache.thrift.ProcessFunction { + public get_partition_locations() { + super("get_partition_locations"); + } + + public get_partition_locations_args getEmptyArgsInstance() { + return new get_partition_locations_args(); + } + + protected boolean isOneway() { + return false; + } + + @Override + protected boolean rethrowUnhandledExceptions() { + return false; + } + + public get_partition_locations_result getResult(I iface, get_partition_locations_args args) throws org.apache.thrift.TException { + get_partition_locations_result result = new get_partition_locations_result(); + try { + result.success = iface.get_partition_locations(args.db_name, args.tblName, args.max_parts); + } catch (NoSuchObjectException o1) { + result.o1 = o1; + } catch (MetaException o2) { + result.o2 = o2; + } + return result; + } + } + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_values extends org.apache.thrift.ProcessFunction { public get_partition_values() { super("get_partition_values"); @@ -24383,6 +24488,7 @@ protected AsyncProcessor(I iface, java.util.Map extends org.apache.thrift.AsyncProcessFunction { - public get_partition_values() { - super("get_partition_values"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_locations extends org.apache.thrift.AsyncProcessFunction> { + public get_partition_locations() { + super("get_partition_locations"); } - public get_partition_values_args getEmptyArgsInstance() { - return new get_partition_values_args(); + public get_partition_locations_args getEmptyArgsInstance() { + return new get_partition_locations_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(PartitionValuesResponse o) { - get_partition_values_result result = new get_partition_values_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.Map o) { + get_partition_locations_result result = new get_partition_locations_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -30300,13 +30406,13 @@ public void onComplete(PartitionValuesResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partition_values_result result = new get_partition_values_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + get_partition_locations_result result = new get_partition_locations_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof NoSuchObjectException) { - result.o2 = (NoSuchObjectException) e; + } else if (e instanceof MetaException) { + result.o2 = (MetaException) e; result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -30336,25 +30442,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partition_values_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_partition_values(args.request,resultHandler); + public void start(I iface, get_partition_locations_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_partition_locations(args.db_name, args.tblName, args.max_parts,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps extends org.apache.thrift.AsyncProcessFunction> { - public get_partitions_ps() { - super("get_partitions_ps"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_values extends org.apache.thrift.AsyncProcessFunction { + public get_partition_values() { + super("get_partition_values"); } - public get_partitions_ps_args getEmptyArgsInstance() { - return new get_partitions_ps_args(); + public get_partition_values_args getEmptyArgsInstance() { + return new get_partition_values_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - get_partitions_ps_result result = new get_partitions_ps_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(PartitionValuesResponse o) { + get_partition_values_result result = new get_partition_values_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -30369,7 +30475,7 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partitions_ps_result result = new get_partitions_ps_result(); + get_partition_values_result result = new get_partition_values_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -30405,94 +30511,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partitions_ps_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_partitions_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts,resultHandler); + public void start(I iface, get_partition_values_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_partition_values(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps extends org.apache.thrift.AsyncProcessFunction> { + public get_partitions_ps() { + super("get_partitions_ps"); } - public get_partitions_ps_with_auth_args getEmptyArgsInstance() { - return new get_partitions_ps_with_auth_args(); + public get_partitions_ps_args getEmptyArgsInstance() { + return new get_partitions_ps_args(); } public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback>() { public void onComplete(java.util.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); - } catch (org.apache.thrift.transport.TTransportException e) { - _LOGGER.error("TTransportException writing to internal frame buffer", e); - fb.close(); - } catch (java.lang.Exception e) { - _LOGGER.error("Exception writing to internal frame buffer", e); - onError(e); - } - } - public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable 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 if (e instanceof org.apache.thrift.transport.TTransportException) { - _LOGGER.error("TTransportException inside handler", e); - fb.close(); - return; - } else if (e instanceof org.apache.thrift.TApplicationException) { - _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; - } else { - _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); - } - try { - fcall.sendResponse(fb,msg,msgType,seqid); - } catch (java.lang.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 org.apache.thrift.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); - } - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps_with_auth_req extends org.apache.thrift.AsyncProcessFunction { - public get_partitions_ps_with_auth_req() { - super("get_partitions_ps_with_auth_req"); - } - - public get_partitions_ps_with_auth_req_args getEmptyArgsInstance() { - return new get_partitions_ps_with_auth_req_args(); - } - - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetPartitionsPsWithAuthResponse o) { - get_partitions_ps_with_auth_req_result result = new get_partitions_ps_with_auth_req_result(); + 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); @@ -30507,7 +30544,7 @@ public void onComplete(GetPartitionsPsWithAuthResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partitions_ps_with_auth_req_result result = new get_partitions_ps_with_auth_req_result(); + get_partitions_ps_result result = new get_partitions_ps_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -30543,25 +30580,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partitions_ps_with_auth_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_partitions_ps_with_auth_req(args.req,resultHandler); + public void start(I iface, get_partitions_ps_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_partitions_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_names_ps extends org.apache.thrift.AsyncProcessFunction> { - public get_partition_names_ps() { - super("get_partition_names_ps"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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_partition_names_ps_args getEmptyArgsInstance() { - return new get_partition_names_ps_args(); + public get_partitions_ps_with_auth_args getEmptyArgsInstance() { + return new get_partitions_ps_with_auth_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - get_partition_names_ps_result result = new get_partition_names_ps_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.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); @@ -30576,13 +30613,13 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partition_names_ps_result result = new get_partition_names_ps_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + 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 NoSuchObjectException) { - result.o2 = (NoSuchObjectException) e; + } else if (e instanceof MetaException) { + result.o2 = (MetaException) e; result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -30612,25 +30649,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partition_names_ps_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_partition_names_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts,resultHandler); + public void start(I iface, get_partitions_ps_with_auth_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.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); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_names_ps_req extends org.apache.thrift.AsyncProcessFunction { - public get_partition_names_ps_req() { - super("get_partition_names_ps_req"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_ps_with_auth_req extends org.apache.thrift.AsyncProcessFunction { + public get_partitions_ps_with_auth_req() { + super("get_partitions_ps_with_auth_req"); } - public get_partition_names_ps_req_args getEmptyArgsInstance() { - return new get_partition_names_ps_req_args(); + public get_partitions_ps_with_auth_req_args getEmptyArgsInstance() { + return new get_partitions_ps_with_auth_req_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetPartitionNamesPsResponse o) { - get_partition_names_ps_req_result result = new get_partition_names_ps_req_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(GetPartitionsPsWithAuthResponse o) { + get_partitions_ps_with_auth_req_result result = new get_partitions_ps_with_auth_req_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -30645,7 +30682,7 @@ public void onComplete(GetPartitionNamesPsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partition_names_ps_req_result result = new get_partition_names_ps_req_result(); + get_partitions_ps_with_auth_req_result result = new get_partitions_ps_with_auth_req_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -30681,25 +30718,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partition_names_ps_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_partition_names_ps_req(args.req,resultHandler); + public void start(I iface, get_partitions_ps_with_auth_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_partitions_ps_with_auth_req(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_names_req extends org.apache.thrift.AsyncProcessFunction> { - public get_partition_names_req() { - super("get_partition_names_req"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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_req_args getEmptyArgsInstance() { - return new get_partition_names_req_args(); + public get_partition_names_ps_args getEmptyArgsInstance() { + return new get_partition_names_ps_args(); } public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback>() { public void onComplete(java.util.List o) { - get_partition_names_req_result result = new get_partition_names_req_result(); + 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); @@ -30714,7 +30751,7 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partition_names_req_result result = new get_partition_names_req_result(); + get_partition_names_ps_result result = new get_partition_names_ps_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -30750,25 +30787,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partition_names_req_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_partition_names_req(args.req,resultHandler); + public void start(I iface, get_partition_names_ps_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_partition_names_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_filter extends org.apache.thrift.AsyncProcessFunction> { - public get_partitions_by_filter() { - super("get_partitions_by_filter"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_names_ps_req extends org.apache.thrift.AsyncProcessFunction { + public get_partition_names_ps_req() { + super("get_partition_names_ps_req"); } - public get_partitions_by_filter_args getEmptyArgsInstance() { - return new get_partitions_by_filter_args(); + public get_partition_names_ps_req_args getEmptyArgsInstance() { + return new get_partition_names_ps_req_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - get_partitions_by_filter_result result = new get_partitions_by_filter_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(GetPartitionNamesPsResponse o) { + get_partition_names_ps_req_result result = new get_partition_names_ps_req_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -30783,7 +30820,7 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partitions_by_filter_result result = new get_partitions_by_filter_result(); + get_partition_names_ps_req_result result = new get_partition_names_ps_req_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -30819,25 +30856,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partitions_by_filter_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_partitions_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts,resultHandler); + public void start(I iface, get_partition_names_ps_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_partition_names_ps_req(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_names_req extends org.apache.thrift.AsyncProcessFunction> { + public get_partition_names_req() { + super("get_partition_names_req"); } - public get_part_specs_by_filter_args getEmptyArgsInstance() { - return new get_part_specs_by_filter_args(); + public get_partition_names_req_args getEmptyArgsInstance() { + return new get_partition_names_req_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - get_part_specs_by_filter_result result = new get_part_specs_by_filter_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.List o) { + get_partition_names_req_result result = new get_partition_names_req_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -30852,7 +30889,7 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_part_specs_by_filter_result result = new get_part_specs_by_filter_result(); + get_partition_names_req_result result = new get_partition_names_req_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -30888,25 +30925,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_part_specs_by_filter_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_part_specs_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts,resultHandler); + public void start(I iface, get_partition_names_req_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_partition_names_req(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_expr extends org.apache.thrift.AsyncProcessFunction { - public get_partitions_by_expr() { - super("get_partitions_by_expr"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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_expr_args getEmptyArgsInstance() { - return new get_partitions_by_expr_args(); + public get_partitions_by_filter_args getEmptyArgsInstance() { + return new get_partitions_by_filter_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(PartitionsByExprResult o) { - get_partitions_by_expr_result result = new get_partitions_by_expr_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.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); @@ -30921,7 +30958,7 @@ public void onComplete(PartitionsByExprResult o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partitions_by_expr_result result = new get_partitions_by_expr_result(); + get_partitions_by_filter_result result = new get_partitions_by_filter_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -30957,25 +30994,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partitions_by_expr_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_partitions_by_expr(args.req,resultHandler); + public void start(I iface, get_partitions_by_filter_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_partitions_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_spec_by_expr extends org.apache.thrift.AsyncProcessFunction { - public get_partitions_spec_by_expr() { - super("get_partitions_spec_by_expr"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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_partitions_spec_by_expr_args getEmptyArgsInstance() { - return new get_partitions_spec_by_expr_args(); + public get_part_specs_by_filter_args getEmptyArgsInstance() { + return new get_part_specs_by_filter_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(PartitionsSpecByExprResult o) { - get_partitions_spec_by_expr_result result = new get_partitions_spec_by_expr_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.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); @@ -30990,7 +31027,7 @@ public void onComplete(PartitionsSpecByExprResult o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partitions_spec_by_expr_result result = new get_partitions_spec_by_expr_result(); + 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); @@ -31026,27 +31063,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partitions_spec_by_expr_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_partitions_spec_by_expr(args.req,resultHandler); + public void start(I iface, get_part_specs_by_filter_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_part_specs_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_num_partitions_by_filter extends org.apache.thrift.AsyncProcessFunction { - public get_num_partitions_by_filter() { - super("get_num_partitions_by_filter"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_expr extends org.apache.thrift.AsyncProcessFunction { + public get_partitions_by_expr() { + super("get_partitions_by_expr"); } - public get_num_partitions_by_filter_args getEmptyArgsInstance() { - return new get_num_partitions_by_filter_args(); + public get_partitions_by_expr_args getEmptyArgsInstance() { + return new get_partitions_by_expr_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Integer o) { - get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(PartitionsByExprResult o) { + get_partitions_by_expr_result result = new get_partitions_by_expr_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -31060,7 +31096,7 @@ public void onComplete(java.lang.Integer o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result(); + get_partitions_by_expr_result result = new get_partitions_by_expr_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -31096,25 +31132,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_num_partitions_by_filter_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_num_partitions_by_filter(args.db_name, args.tbl_name, args.filter,resultHandler); + public void start(I iface, get_partitions_by_expr_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_partitions_by_expr(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_names extends org.apache.thrift.AsyncProcessFunction> { - public get_partitions_by_names() { - super("get_partitions_by_names"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_spec_by_expr extends org.apache.thrift.AsyncProcessFunction { + public get_partitions_spec_by_expr() { + super("get_partitions_spec_by_expr"); } - public get_partitions_by_names_args getEmptyArgsInstance() { - return new get_partitions_by_names_args(); + public get_partitions_spec_by_expr_args getEmptyArgsInstance() { + return new get_partitions_spec_by_expr_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - get_partitions_by_names_result result = new get_partitions_by_names_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(PartitionsSpecByExprResult o) { + get_partitions_spec_by_expr_result result = new get_partitions_spec_by_expr_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -31129,7 +31165,7 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partitions_by_names_result result = new get_partitions_by_names_result(); + get_partitions_spec_by_expr_result result = new get_partitions_spec_by_expr_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -31165,26 +31201,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partitions_by_names_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_partitions_by_names(args.db_name, args.tbl_name, args.names,resultHandler); + public void start(I iface, get_partitions_spec_by_expr_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_partitions_spec_by_expr(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_names_req extends org.apache.thrift.AsyncProcessFunction { - public get_partitions_by_names_req() { - super("get_partitions_by_names_req"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_num_partitions_by_filter extends org.apache.thrift.AsyncProcessFunction { + public get_num_partitions_by_filter() { + super("get_num_partitions_by_filter"); } - public get_partitions_by_names_req_args getEmptyArgsInstance() { - return new get_partitions_by_names_req_args(); + public get_num_partitions_by_filter_args getEmptyArgsInstance() { + return new get_num_partitions_by_filter_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetPartitionsByNamesResult o) { - get_partitions_by_names_req_result result = new get_partitions_by_names_req_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.Integer o) { + get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -31198,7 +31235,7 @@ public void onComplete(GetPartitionsByNamesResult o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partitions_by_names_req_result result = new get_partitions_by_names_req_result(); + get_num_partitions_by_filter_result result = new get_num_partitions_by_filter_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -31234,25 +31271,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partitions_by_names_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_partitions_by_names_req(args.req,resultHandler); + public void start(I iface, get_num_partitions_by_filter_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_num_partitions_by_filter(args.db_name, args.tbl_name, args.filter,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_partition extends org.apache.thrift.AsyncProcessFunction { - public alter_partition() { - super("alter_partition"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_names extends org.apache.thrift.AsyncProcessFunction> { + public get_partitions_by_names() { + super("get_partitions_by_names"); } - public alter_partition_args getEmptyArgsInstance() { - return new alter_partition_args(); + public get_partitions_by_names_args getEmptyArgsInstance() { + return new get_partitions_by_names_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - alter_partition_result result = new alter_partition_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -31266,13 +31304,13 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - alter_partition_result result = new alter_partition_result(); - if (e instanceof InvalidOperationException) { - result.o1 = (InvalidOperationException) e; + 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 MetaException) { - result.o2 = (MetaException) e; + } else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -31302,25 +31340,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, alter_partition_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.alter_partition(args.db_name, args.tbl_name, args.new_part,resultHandler); + public void start(I iface, get_partitions_by_names_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_partitions_by_names(args.db_name, args.tbl_name, args.names,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_partitions extends org.apache.thrift.AsyncProcessFunction { - public alter_partitions() { - super("alter_partitions"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_by_names_req extends org.apache.thrift.AsyncProcessFunction { + public get_partitions_by_names_req() { + super("get_partitions_by_names_req"); } - public alter_partitions_args getEmptyArgsInstance() { - return new alter_partitions_args(); + public get_partitions_by_names_req_args getEmptyArgsInstance() { + return new get_partitions_by_names_req_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - alter_partitions_result result = new alter_partitions_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(GetPartitionsByNamesResult o) { + get_partitions_by_names_req_result result = new get_partitions_by_names_req_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -31334,13 +31373,13 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - alter_partitions_result result = new alter_partitions_result(); - if (e instanceof InvalidOperationException) { - result.o1 = (InvalidOperationException) e; + get_partitions_by_names_req_result result = new get_partitions_by_names_req_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof MetaException) { - result.o2 = (MetaException) e; + } else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -31370,25 +31409,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, alter_partitions_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.alter_partitions(args.db_name, args.tbl_name, args.new_parts,resultHandler); + public void start(I iface, get_partitions_by_names_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_partitions_by_names_req(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_partitions_with_environment_context extends org.apache.thrift.AsyncProcessFunction { - public alter_partitions_with_environment_context() { - super("alter_partitions_with_environment_context"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_partition extends org.apache.thrift.AsyncProcessFunction { + public alter_partition() { + super("alter_partition"); } - public alter_partitions_with_environment_context_args getEmptyArgsInstance() { - return new alter_partitions_with_environment_context_args(); + public alter_partition_args getEmptyArgsInstance() { + return new alter_partition_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(Void o) { - alter_partitions_with_environment_context_result result = new alter_partitions_with_environment_context_result(); + alter_partition_result result = new alter_partition_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -31402,7 +31441,7 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - alter_partitions_with_environment_context_result result = new alter_partitions_with_environment_context_result(); + alter_partition_result result = new alter_partition_result(); if (e instanceof InvalidOperationException) { result.o1 = (InvalidOperationException) e; result.setO1IsSet(true); @@ -31438,26 +31477,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, alter_partitions_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.alter_partitions_with_environment_context(args.db_name, args.tbl_name, args.new_parts, args.environment_context,resultHandler); + public void start(I iface, alter_partition_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.alter_partition(args.db_name, args.tbl_name, args.new_part,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_partitions_req extends org.apache.thrift.AsyncProcessFunction { - public alter_partitions_req() { - super("alter_partitions_req"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_partitions extends org.apache.thrift.AsyncProcessFunction { + public alter_partitions() { + super("alter_partitions"); } - public alter_partitions_req_args getEmptyArgsInstance() { - return new alter_partitions_req_args(); + public alter_partitions_args getEmptyArgsInstance() { + return new alter_partitions_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(AlterPartitionsResponse o) { - alter_partitions_req_result result = new alter_partitions_req_result(); - result.success = o; + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -31471,7 +31509,7 @@ public void onComplete(AlterPartitionsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - alter_partitions_req_result result = new alter_partitions_req_result(); + alter_partitions_result result = new alter_partitions_result(); if (e instanceof InvalidOperationException) { result.o1 = (InvalidOperationException) e; result.setO1IsSet(true); @@ -31507,25 +31545,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, alter_partitions_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.alter_partitions_req(args.req,resultHandler); + public void start(I iface, alter_partitions_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.alter_partitions(args.db_name, args.tbl_name, args.new_parts,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_partitions_with_environment_context extends org.apache.thrift.AsyncProcessFunction { + public alter_partitions_with_environment_context() { + super("alter_partitions_with_environment_context"); } - public alter_partition_with_environment_context_args getEmptyArgsInstance() { - return new alter_partition_with_environment_context_args(); + public alter_partitions_with_environment_context_args getEmptyArgsInstance() { + return new alter_partitions_with_environment_context_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(Void o) { - alter_partition_with_environment_context_result result = new alter_partition_with_environment_context_result(); + alter_partitions_with_environment_context_result result = new alter_partitions_with_environment_context_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -31539,7 +31577,7 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - alter_partition_with_environment_context_result result = new alter_partition_with_environment_context_result(); + alter_partitions_with_environment_context_result result = new alter_partitions_with_environment_context_result(); if (e instanceof InvalidOperationException) { result.o1 = (InvalidOperationException) e; result.setO1IsSet(true); @@ -31575,25 +31613,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, alter_partition_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.alter_partition_with_environment_context(args.db_name, args.tbl_name, args.new_part, args.environment_context,resultHandler); + public void start(I iface, alter_partitions_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.alter_partitions_with_environment_context(args.db_name, args.tbl_name, args.new_parts, args.environment_context,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class rename_partition extends org.apache.thrift.AsyncProcessFunction { - public rename_partition() { - super("rename_partition"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_partitions_req extends org.apache.thrift.AsyncProcessFunction { + public alter_partitions_req() { + super("alter_partitions_req"); } - public rename_partition_args getEmptyArgsInstance() { - return new rename_partition_args(); + public alter_partitions_req_args getEmptyArgsInstance() { + return new alter_partitions_req_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - rename_partition_result result = new rename_partition_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(AlterPartitionsResponse o) { + alter_partitions_req_result result = new alter_partitions_req_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -31607,7 +31646,7 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - rename_partition_result result = new rename_partition_result(); + alter_partitions_req_result result = new alter_partitions_req_result(); if (e instanceof InvalidOperationException) { result.o1 = (InvalidOperationException) e; result.setO1IsSet(true); @@ -31643,26 +31682,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, rename_partition_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.rename_partition(args.db_name, args.tbl_name, args.part_vals, args.new_part,resultHandler); + public void start(I iface, alter_partitions_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.alter_partitions_req(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class rename_partition_req extends org.apache.thrift.AsyncProcessFunction { - public rename_partition_req() { - super("rename_partition_req"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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 rename_partition_req_args getEmptyArgsInstance() { - return new rename_partition_req_args(); + public alter_partition_with_environment_context_args getEmptyArgsInstance() { + return new alter_partition_with_environment_context_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(RenamePartitionResponse o) { - rename_partition_req_result result = new rename_partition_req_result(); - result.success = o; + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -31676,7 +31714,7 @@ public void onComplete(RenamePartitionResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - rename_partition_req_result result = new rename_partition_req_result(); + 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); @@ -31712,27 +31750,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, rename_partition_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.rename_partition_req(args.req,resultHandler); + public void start(I iface, alter_partition_with_environment_context_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.alter_partition_with_environment_context(args.db_name, args.tbl_name, args.new_part, args.environment_context,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class rename_partition extends org.apache.thrift.AsyncProcessFunction { + public rename_partition() { + super("rename_partition"); } - public partition_name_has_valid_characters_args getEmptyArgsInstance() { - return new partition_name_has_valid_characters_args(); + public rename_partition_args getEmptyArgsInstance() { + return new rename_partition_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - partition_name_has_valid_characters_result result = new partition_name_has_valid_characters_result(); - result.success = o; - result.setSuccessIsSet(true); + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -31746,11 +31782,15 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - partition_name_has_valid_characters_result result = new partition_name_has_valid_characters_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -31778,25 +31818,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, partition_name_has_valid_characters_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.partition_name_has_valid_characters(args.part_vals, args.throw_exception,resultHandler); + public void start(I iface, rename_partition_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.rename_partition(args.db_name, args.tbl_name, args.part_vals, args.new_part,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_config_value extends org.apache.thrift.AsyncProcessFunction { - public get_config_value() { - super("get_config_value"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class rename_partition_req extends org.apache.thrift.AsyncProcessFunction { + public rename_partition_req() { + super("rename_partition_req"); } - public get_config_value_args getEmptyArgsInstance() { - return new get_config_value_args(); + public rename_partition_req_args getEmptyArgsInstance() { + return new rename_partition_req_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.String o) { - get_config_value_result result = new get_config_value_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(RenamePartitionResponse o) { + rename_partition_req_result result = new rename_partition_req_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -31811,11 +31851,15 @@ public void onComplete(java.lang.String o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_config_value_result result = new get_config_value_result(); - if (e instanceof ConfigValSecurityException) { - result.o1 = (ConfigValSecurityException) e; + rename_partition_req_result result = new rename_partition_req_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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -31843,26 +31887,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_config_value_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_config_value(args.name, args.defaultValue,resultHandler); + public void start(I iface, rename_partition_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.rename_partition_req(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class partition_name_to_vals extends org.apache.thrift.AsyncProcessFunction> { - public partition_name_to_vals() { - super("partition_name_to_vals"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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_to_vals_args getEmptyArgsInstance() { - return new partition_name_to_vals_args(); + public partition_name_has_valid_characters_args getEmptyArgsInstance() { + return new partition_name_has_valid_characters_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - partition_name_to_vals_result result = new partition_name_to_vals_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -31876,7 +31921,7 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - partition_name_to_vals_result result = new partition_name_to_vals_result(); + 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); @@ -31908,25 +31953,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, partition_name_to_vals_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.partition_name_to_vals(args.part_name,resultHandler); + public void start(I iface, partition_name_has_valid_characters_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.partition_name_has_valid_characters(args.part_vals, args.throw_exception,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class partition_name_to_spec extends org.apache.thrift.AsyncProcessFunction> { - public partition_name_to_spec() { - super("partition_name_to_spec"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_config_value extends org.apache.thrift.AsyncProcessFunction { + public get_config_value() { + super("get_config_value"); } - public partition_name_to_spec_args getEmptyArgsInstance() { - return new partition_name_to_spec_args(); + public get_config_value_args getEmptyArgsInstance() { + return new get_config_value_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.Map o) { - partition_name_to_spec_result result = new partition_name_to_spec_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.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); @@ -31941,9 +31986,9 @@ public void onComplete(java.util.Map o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - partition_name_to_spec_result result = new partition_name_to_spec_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + get_config_value_result result = new get_config_value_result(); + if (e instanceof ConfigValSecurityException) { + result.o1 = (ConfigValSecurityException) e; result.setO1IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -31973,25 +32018,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, partition_name_to_spec_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.partition_name_to_spec(args.part_name,resultHandler); + public void start(I iface, get_config_value_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_config_value(args.name, args.defaultValue,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class markPartitionForEvent extends org.apache.thrift.AsyncProcessFunction { - public markPartitionForEvent() { - super("markPartitionForEvent"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class partition_name_to_vals extends org.apache.thrift.AsyncProcessFunction> { + public partition_name_to_vals() { + super("partition_name_to_vals"); } - public markPartitionForEvent_args getEmptyArgsInstance() { - return new markPartitionForEvent_args(); + public partition_name_to_vals_args getEmptyArgsInstance() { + return new partition_name_to_vals_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - markPartitionForEvent_result result = new markPartitionForEvent_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -32005,31 +32051,11 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - markPartitionForEvent_result result = new markPartitionForEvent_result(); + 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 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -32057,27 +32083,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, markPartitionForEvent_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.markPartitionForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType,resultHandler); + public void start(I iface, partition_name_to_vals_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.partition_name_to_vals(args.part_name,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class isPartitionMarkedForEvent extends org.apache.thrift.AsyncProcessFunction { - public isPartitionMarkedForEvent() { - super("isPartitionMarkedForEvent"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class partition_name_to_spec extends org.apache.thrift.AsyncProcessFunction> { + public partition_name_to_spec() { + super("partition_name_to_spec"); } - public isPartitionMarkedForEvent_args getEmptyArgsInstance() { - return new isPartitionMarkedForEvent_args(); + public partition_name_to_spec_args getEmptyArgsInstance() { + return new partition_name_to_spec_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - isPartitionMarkedForEvent_result result = new isPartitionMarkedForEvent_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.Map o) { + partition_name_to_spec_result result = new partition_name_to_spec_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -32091,31 +32116,11 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - isPartitionMarkedForEvent_result result = new isPartitionMarkedForEvent_result(); + 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 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -32143,26 +32148,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, isPartitionMarkedForEvent_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.isPartitionMarkedForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType,resultHandler); + public void start(I iface, partition_name_to_spec_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.partition_name_to_spec(args.part_name,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_primary_keys extends org.apache.thrift.AsyncProcessFunction { - public get_primary_keys() { - super("get_primary_keys"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class markPartitionForEvent extends org.apache.thrift.AsyncProcessFunction { + public markPartitionForEvent() { + super("markPartitionForEvent"); } - public get_primary_keys_args getEmptyArgsInstance() { - return new get_primary_keys_args(); + public markPartitionForEvent_args getEmptyArgsInstance() { + return new markPartitionForEvent_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(PrimaryKeysResponse o) { - get_primary_keys_result result = new get_primary_keys_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + markPartitionForEvent_result result = new markPartitionForEvent_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -32176,7 +32180,7 @@ public void onComplete(PrimaryKeysResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_primary_keys_result result = new get_primary_keys_result(); + markPartitionForEvent_result result = new markPartitionForEvent_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -32185,6 +32189,22 @@ public void onError(java.lang.Exception e) { 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -32212,26 +32232,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_primary_keys_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_primary_keys(args.request,resultHandler); + public void start(I iface, markPartitionForEvent_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.markPartitionForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_foreign_keys extends org.apache.thrift.AsyncProcessFunction { - public get_foreign_keys() { - super("get_foreign_keys"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class isPartitionMarkedForEvent extends org.apache.thrift.AsyncProcessFunction { + public isPartitionMarkedForEvent() { + super("isPartitionMarkedForEvent"); } - public get_foreign_keys_args getEmptyArgsInstance() { - return new get_foreign_keys_args(); + public isPartitionMarkedForEvent_args getEmptyArgsInstance() { + return new isPartitionMarkedForEvent_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(ForeignKeysResponse o) { - get_foreign_keys_result result = new get_foreign_keys_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -32245,7 +32266,7 @@ public void onComplete(ForeignKeysResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_foreign_keys_result result = new get_foreign_keys_result(); + isPartitionMarkedForEvent_result result = new isPartitionMarkedForEvent_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -32254,6 +32275,22 @@ public void onError(java.lang.Exception e) { 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -32281,25 +32318,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_foreign_keys_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_foreign_keys(args.request,resultHandler); + public void start(I iface, isPartitionMarkedForEvent_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.isPartitionMarkedForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_unique_constraints extends org.apache.thrift.AsyncProcessFunction { - public get_unique_constraints() { - super("get_unique_constraints"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_primary_keys extends org.apache.thrift.AsyncProcessFunction { + public get_primary_keys() { + super("get_primary_keys"); } - public get_unique_constraints_args getEmptyArgsInstance() { - return new get_unique_constraints_args(); + public get_primary_keys_args getEmptyArgsInstance() { + return new get_primary_keys_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(UniqueConstraintsResponse o) { - get_unique_constraints_result result = new get_unique_constraints_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(PrimaryKeysResponse o) { + get_primary_keys_result result = new get_primary_keys_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -32314,7 +32351,7 @@ public void onComplete(UniqueConstraintsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_unique_constraints_result result = new get_unique_constraints_result(); + get_primary_keys_result result = new get_primary_keys_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -32350,25 +32387,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_unique_constraints_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_unique_constraints(args.request,resultHandler); + public void start(I iface, get_primary_keys_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_primary_keys(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_not_null_constraints extends org.apache.thrift.AsyncProcessFunction { - public get_not_null_constraints() { - super("get_not_null_constraints"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_foreign_keys extends org.apache.thrift.AsyncProcessFunction { + public get_foreign_keys() { + super("get_foreign_keys"); } - public get_not_null_constraints_args getEmptyArgsInstance() { - return new get_not_null_constraints_args(); + public get_foreign_keys_args getEmptyArgsInstance() { + return new get_foreign_keys_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(NotNullConstraintsResponse o) { - get_not_null_constraints_result result = new get_not_null_constraints_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(ForeignKeysResponse o) { + get_foreign_keys_result result = new get_foreign_keys_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -32383,7 +32420,7 @@ public void onComplete(NotNullConstraintsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_not_null_constraints_result result = new get_not_null_constraints_result(); + get_foreign_keys_result result = new get_foreign_keys_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -32419,25 +32456,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_not_null_constraints_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_not_null_constraints(args.request,resultHandler); + public void start(I iface, get_foreign_keys_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_foreign_keys(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_default_constraints extends org.apache.thrift.AsyncProcessFunction { - public get_default_constraints() { - super("get_default_constraints"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_unique_constraints extends org.apache.thrift.AsyncProcessFunction { + public get_unique_constraints() { + super("get_unique_constraints"); } - public get_default_constraints_args getEmptyArgsInstance() { - return new get_default_constraints_args(); + public get_unique_constraints_args getEmptyArgsInstance() { + return new get_unique_constraints_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(DefaultConstraintsResponse o) { - get_default_constraints_result result = new get_default_constraints_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(UniqueConstraintsResponse o) { + get_unique_constraints_result result = new get_unique_constraints_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -32452,7 +32489,7 @@ public void onComplete(DefaultConstraintsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_default_constraints_result result = new get_default_constraints_result(); + get_unique_constraints_result result = new get_unique_constraints_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -32488,25 +32525,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_default_constraints_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_default_constraints(args.request,resultHandler); + public void start(I iface, get_unique_constraints_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_unique_constraints(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_check_constraints extends org.apache.thrift.AsyncProcessFunction { - public get_check_constraints() { - super("get_check_constraints"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_not_null_constraints extends org.apache.thrift.AsyncProcessFunction { + public get_not_null_constraints() { + super("get_not_null_constraints"); } - public get_check_constraints_args getEmptyArgsInstance() { - return new get_check_constraints_args(); + public get_not_null_constraints_args getEmptyArgsInstance() { + return new get_not_null_constraints_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(CheckConstraintsResponse o) { - get_check_constraints_result result = new get_check_constraints_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(NotNullConstraintsResponse o) { + get_not_null_constraints_result result = new get_not_null_constraints_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -32521,7 +32558,7 @@ public void onComplete(CheckConstraintsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_check_constraints_result result = new get_check_constraints_result(); + get_not_null_constraints_result result = new get_not_null_constraints_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -32557,25 +32594,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_check_constraints_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_check_constraints(args.request,resultHandler); + public void start(I iface, get_not_null_constraints_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_not_null_constraints(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_all_table_constraints extends org.apache.thrift.AsyncProcessFunction { - public get_all_table_constraints() { - super("get_all_table_constraints"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_default_constraints extends org.apache.thrift.AsyncProcessFunction { + public get_default_constraints() { + super("get_default_constraints"); } - public get_all_table_constraints_args getEmptyArgsInstance() { - return new get_all_table_constraints_args(); + public get_default_constraints_args getEmptyArgsInstance() { + return new get_default_constraints_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(AllTableConstraintsResponse o) { - get_all_table_constraints_result result = new get_all_table_constraints_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(DefaultConstraintsResponse o) { + get_default_constraints_result result = new get_default_constraints_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -32590,7 +32627,7 @@ public void onComplete(AllTableConstraintsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_all_table_constraints_result result = new get_all_table_constraints_result(); + get_default_constraints_result result = new get_default_constraints_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -32626,27 +32663,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_all_table_constraints_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_all_table_constraints(args.request,resultHandler); + public void start(I iface, get_default_constraints_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_default_constraints(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_table_column_statistics extends org.apache.thrift.AsyncProcessFunction { - public update_table_column_statistics() { - super("update_table_column_statistics"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_check_constraints extends org.apache.thrift.AsyncProcessFunction { + public get_check_constraints() { + super("get_check_constraints"); } - public update_table_column_statistics_args getEmptyArgsInstance() { - return new update_table_column_statistics_args(); + public get_check_constraints_args getEmptyArgsInstance() { + return new get_check_constraints_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - update_table_column_statistics_result result = new update_table_column_statistics_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(CheckConstraintsResponse o) { + get_check_constraints_result result = new get_check_constraints_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -32660,23 +32696,15 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - update_table_column_statistics_result result = new update_table_column_statistics_result(); - if (e instanceof NoSuchObjectException) { - result.o1 = (NoSuchObjectException) e; + get_check_constraints_result result = new get_check_constraints_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof InvalidObjectException) { - result.o2 = (InvalidObjectException) e; + } else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -32704,27 +32732,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, update_table_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.update_table_column_statistics(args.stats_obj,resultHandler); + public void start(I iface, get_check_constraints_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_check_constraints(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_partition_column_statistics extends org.apache.thrift.AsyncProcessFunction { - public update_partition_column_statistics() { - super("update_partition_column_statistics"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_all_table_constraints extends org.apache.thrift.AsyncProcessFunction { + public get_all_table_constraints() { + super("get_all_table_constraints"); } - public update_partition_column_statistics_args getEmptyArgsInstance() { - return new update_partition_column_statistics_args(); + public get_all_table_constraints_args getEmptyArgsInstance() { + return new get_all_table_constraints_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - update_partition_column_statistics_result result = new update_partition_column_statistics_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(AllTableConstraintsResponse o) { + get_all_table_constraints_result result = new get_all_table_constraints_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -32738,23 +32765,15 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - update_partition_column_statistics_result result = new update_partition_column_statistics_result(); - if (e instanceof NoSuchObjectException) { - result.o1 = (NoSuchObjectException) e; + get_all_table_constraints_result result = new get_all_table_constraints_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof InvalidObjectException) { - result.o2 = (InvalidObjectException) e; + } else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -32782,26 +32801,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, update_partition_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.update_partition_column_statistics(args.stats_obj,resultHandler); + public void start(I iface, get_all_table_constraints_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_all_table_constraints(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_table_column_statistics_req extends org.apache.thrift.AsyncProcessFunction { - public update_table_column_statistics_req() { - super("update_table_column_statistics_req"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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_req_args getEmptyArgsInstance() { - return new update_table_column_statistics_req_args(); + public update_table_column_statistics_args getEmptyArgsInstance() { + return new update_table_column_statistics_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(SetPartitionsStatsResponse o) { - update_table_column_statistics_req_result result = new update_table_column_statistics_req_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -32815,7 +32835,7 @@ public void onComplete(SetPartitionsStatsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - update_table_column_statistics_req_result result = new update_table_column_statistics_req_result(); + update_table_column_statistics_result result = new update_table_column_statistics_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); @@ -32859,26 +32879,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, update_table_column_statistics_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.update_table_column_statistics_req(args.req,resultHandler); + public void start(I iface, update_table_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.update_table_column_statistics(args.stats_obj,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_partition_column_statistics_req extends org.apache.thrift.AsyncProcessFunction { - public update_partition_column_statistics_req() { - super("update_partition_column_statistics_req"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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_req_args getEmptyArgsInstance() { - return new update_partition_column_statistics_req_args(); + public update_partition_column_statistics_args getEmptyArgsInstance() { + return new update_partition_column_statistics_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(SetPartitionsStatsResponse o) { - update_partition_column_statistics_req_result result = new update_partition_column_statistics_req_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -32892,7 +32913,7 @@ public void onComplete(SetPartitionsStatsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - update_partition_column_statistics_req_result result = new update_partition_column_statistics_req_result(); + update_partition_column_statistics_result result = new update_partition_column_statistics_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); @@ -32936,25 +32957,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, update_partition_column_statistics_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.update_partition_column_statistics_req(args.req,resultHandler); + public void start(I iface, update_partition_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.update_partition_column_statistics(args.stats_obj,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_column_statistics extends org.apache.thrift.AsyncProcessFunction { - public get_table_column_statistics() { - super("get_table_column_statistics"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_table_column_statistics_req extends org.apache.thrift.AsyncProcessFunction { + public update_table_column_statistics_req() { + super("update_table_column_statistics_req"); } - public get_table_column_statistics_args getEmptyArgsInstance() { - return new get_table_column_statistics_args(); + public update_table_column_statistics_req_args getEmptyArgsInstance() { + return new update_table_column_statistics_req_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(ColumnStatistics o) { - get_table_column_statistics_result result = new get_table_column_statistics_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(SetPartitionsStatsResponse o) { + update_table_column_statistics_req_result result = new update_table_column_statistics_req_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -32969,21 +32990,21 @@ public void onComplete(ColumnStatistics o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_table_column_statistics_result result = new get_table_column_statistics_result(); + update_table_column_statistics_req_result result = new update_table_column_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; + } else if (e instanceof InvalidObjectException) { + result.o2 = (InvalidObjectException) e; result.setO2IsSet(true); msg = result; - } else if (e instanceof InvalidInputException) { - result.o3 = (InvalidInputException) e; + } else if (e instanceof MetaException) { + result.o3 = (MetaException) e; result.setO3IsSet(true); msg = result; - } else if (e instanceof InvalidObjectException) { - result.o4 = (InvalidObjectException) e; + } else if (e instanceof InvalidInputException) { + result.o4 = (InvalidInputException) e; result.setO4IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -33013,25 +33034,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_table_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_table_column_statistics(args.db_name, args.tbl_name, args.col_name,resultHandler); + public void start(I iface, update_table_column_statistics_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.update_table_column_statistics_req(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_column_statistics extends org.apache.thrift.AsyncProcessFunction { - public get_partition_column_statistics() { - super("get_partition_column_statistics"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_partition_column_statistics_req extends org.apache.thrift.AsyncProcessFunction { + public update_partition_column_statistics_req() { + super("update_partition_column_statistics_req"); } - public get_partition_column_statistics_args getEmptyArgsInstance() { - return new get_partition_column_statistics_args(); + public update_partition_column_statistics_req_args getEmptyArgsInstance() { + return new update_partition_column_statistics_req_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(ColumnStatistics o) { - get_partition_column_statistics_result result = new get_partition_column_statistics_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(SetPartitionsStatsResponse o) { + update_partition_column_statistics_req_result result = new update_partition_column_statistics_req_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -33046,21 +33067,21 @@ public void onComplete(ColumnStatistics o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partition_column_statistics_result result = new get_partition_column_statistics_result(); + update_partition_column_statistics_req_result result = new update_partition_column_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; + } else if (e instanceof InvalidObjectException) { + result.o2 = (InvalidObjectException) e; result.setO2IsSet(true); msg = result; - } else if (e instanceof InvalidInputException) { - result.o3 = (InvalidInputException) e; + } else if (e instanceof MetaException) { + result.o3 = (MetaException) e; result.setO3IsSet(true); msg = result; - } else if (e instanceof InvalidObjectException) { - result.o4 = (InvalidObjectException) e; + } else if (e instanceof InvalidInputException) { + result.o4 = (InvalidInputException) e; result.setO4IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -33090,25 +33111,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partition_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name,resultHandler); + public void start(I iface, update_partition_column_statistics_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.update_partition_column_statistics_req(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_statistics_req extends org.apache.thrift.AsyncProcessFunction { - public get_table_statistics_req() { - super("get_table_statistics_req"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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_statistics_req_args getEmptyArgsInstance() { - return new get_table_statistics_req_args(); + public get_table_column_statistics_args getEmptyArgsInstance() { + return new get_table_column_statistics_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(TableStatsResult o) { - get_table_statistics_req_result result = new get_table_statistics_req_result(); + return new org.apache.thrift.async.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); @@ -33123,7 +33144,7 @@ public void onComplete(TableStatsResult o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_table_statistics_req_result result = new get_table_statistics_req_result(); + get_table_column_statistics_result result = new get_table_column_statistics_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); @@ -33132,6 +33153,14 @@ public void onError(java.lang.Exception e) { 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -33159,25 +33188,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_table_statistics_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_table_statistics_req(args.request,resultHandler); + public void start(I iface, get_table_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_table_column_statistics(args.db_name, args.tbl_name, args.col_name,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_statistics_req extends org.apache.thrift.AsyncProcessFunction { - public get_partitions_statistics_req() { - super("get_partitions_statistics_req"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_column_statistics extends org.apache.thrift.AsyncProcessFunction { + public get_partition_column_statistics() { + super("get_partition_column_statistics"); } - public get_partitions_statistics_req_args getEmptyArgsInstance() { - return new get_partitions_statistics_req_args(); + public get_partition_column_statistics_args getEmptyArgsInstance() { + return new get_partition_column_statistics_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(PartitionsStatsResult o) { - get_partitions_statistics_req_result result = new get_partitions_statistics_req_result(); + return new org.apache.thrift.async.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); @@ -33192,7 +33221,7 @@ public void onComplete(PartitionsStatsResult o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partitions_statistics_req_result result = new get_partitions_statistics_req_result(); + get_partition_column_statistics_result result = new get_partition_column_statistics_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); @@ -33201,6 +33230,14 @@ public void onError(java.lang.Exception e) { 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -33228,25 +33265,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partitions_statistics_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_partitions_statistics_req(args.request,resultHandler); + public void start(I iface, get_partition_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_aggr_stats_for extends org.apache.thrift.AsyncProcessFunction { - public get_aggr_stats_for() { - super("get_aggr_stats_for"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_statistics_req extends org.apache.thrift.AsyncProcessFunction { + public get_table_statistics_req() { + super("get_table_statistics_req"); } - public get_aggr_stats_for_args getEmptyArgsInstance() { - return new get_aggr_stats_for_args(); + public get_table_statistics_req_args getEmptyArgsInstance() { + return new get_table_statistics_req_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(AggrStats o) { - get_aggr_stats_for_result result = new get_aggr_stats_for_result(); + return new org.apache.thrift.async.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); @@ -33261,7 +33298,7 @@ public void onComplete(AggrStats o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_aggr_stats_for_result result = new get_aggr_stats_for_result(); + get_table_statistics_req_result result = new get_table_statistics_req_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); @@ -33297,27 +33334,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_aggr_stats_for_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_aggr_stats_for(args.request,resultHandler); + public void start(I iface, get_table_statistics_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_table_statistics_req(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class set_aggr_stats_for extends org.apache.thrift.AsyncProcessFunction { - public set_aggr_stats_for() { - super("set_aggr_stats_for"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_statistics_req extends org.apache.thrift.AsyncProcessFunction { + public get_partitions_statistics_req() { + super("get_partitions_statistics_req"); } - public set_aggr_stats_for_args getEmptyArgsInstance() { - return new set_aggr_stats_for_args(); + public get_partitions_statistics_req_args getEmptyArgsInstance() { + return new get_partitions_statistics_req_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - set_aggr_stats_for_result result = new set_aggr_stats_for_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(PartitionsStatsResult o) { + get_partitions_statistics_req_result result = new get_partitions_statistics_req_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -33331,22 +33367,14 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - set_aggr_stats_for_result result = new set_aggr_stats_for_result(); + 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 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); + result.o2 = (MetaException) e; + result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -33375,27 +33403,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, set_aggr_stats_for_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.set_aggr_stats_for(args.request,resultHandler); + public void start(I iface, get_partitions_statistics_req_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_partitions_statistics_req(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class delete_partition_column_statistics extends org.apache.thrift.AsyncProcessFunction { - public delete_partition_column_statistics() { - super("delete_partition_column_statistics"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_aggr_stats_for extends org.apache.thrift.AsyncProcessFunction { + public get_aggr_stats_for() { + super("get_aggr_stats_for"); } - public delete_partition_column_statistics_args getEmptyArgsInstance() { - return new delete_partition_column_statistics_args(); + public get_aggr_stats_for_args getEmptyArgsInstance() { + return new get_aggr_stats_for_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - delete_partition_column_statistics_result result = new delete_partition_column_statistics_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(AggrStats o) { + get_aggr_stats_for_result result = new get_aggr_stats_for_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -33409,7 +33436,7 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - delete_partition_column_statistics_result result = new delete_partition_column_statistics_result(); + get_aggr_stats_for_result result = new get_aggr_stats_for_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); @@ -33418,14 +33445,6 @@ public void onError(java.lang.Exception e) { 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -33453,25 +33472,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, delete_partition_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.delete_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name, args.engine,resultHandler); + public void start(I iface, get_aggr_stats_for_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_aggr_stats_for(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class delete_table_column_statistics extends org.apache.thrift.AsyncProcessFunction { - public delete_table_column_statistics() { - super("delete_table_column_statistics"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class set_aggr_stats_for extends org.apache.thrift.AsyncProcessFunction { + public set_aggr_stats_for() { + super("set_aggr_stats_for"); } - public delete_table_column_statistics_args getEmptyArgsInstance() { - return new delete_table_column_statistics_args(); + public set_aggr_stats_for_args getEmptyArgsInstance() { + return new set_aggr_stats_for_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(java.lang.Boolean o) { - delete_table_column_statistics_result result = new delete_table_column_statistics_result(); + set_aggr_stats_for_result result = new set_aggr_stats_for_result(); result.success = o; result.setSuccessIsSet(true); try { @@ -33487,17 +33506,17 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - delete_table_column_statistics_result result = new delete_table_column_statistics_result(); + 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 MetaException) { - result.o2 = (MetaException) e; + } else if (e instanceof InvalidObjectException) { + result.o2 = (InvalidObjectException) e; result.setO2IsSet(true); msg = result; - } else if (e instanceof InvalidObjectException) { - result.o3 = (InvalidObjectException) e; + } else if (e instanceof MetaException) { + result.o3 = (MetaException) e; result.setO3IsSet(true); msg = result; } else if (e instanceof InvalidInputException) { @@ -33531,25 +33550,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, delete_table_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.delete_table_column_statistics(args.db_name, args.tbl_name, args.col_name, args.engine,resultHandler); + public void start(I iface, set_aggr_stats_for_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.set_aggr_stats_for(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_function extends org.apache.thrift.AsyncProcessFunction { - public create_function() { - super("create_function"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class delete_partition_column_statistics extends org.apache.thrift.AsyncProcessFunction { + public delete_partition_column_statistics() { + super("delete_partition_column_statistics"); } - public create_function_args getEmptyArgsInstance() { - return new create_function_args(); + public delete_partition_column_statistics_args getEmptyArgsInstance() { + return new delete_partition_column_statistics_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - create_function_result result = new create_function_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -33563,21 +33584,21 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - create_function_result result = new create_function_result(); - if (e instanceof AlreadyExistsException) { - result.o1 = (AlreadyExistsException) e; + 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 InvalidObjectException) { - result.o2 = (InvalidObjectException) e; + } else if (e instanceof MetaException) { + result.o2 = (MetaException) e; result.setO2IsSet(true); msg = result; - } else if (e instanceof MetaException) { - result.o3 = (MetaException) e; + } else if (e instanceof InvalidObjectException) { + result.o3 = (InvalidObjectException) e; result.setO3IsSet(true); msg = result; - } else if (e instanceof NoSuchObjectException) { - result.o4 = (NoSuchObjectException) e; + } else if (e instanceof InvalidInputException) { + result.o4 = (InvalidInputException) e; result.setO4IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -33607,25 +33628,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, create_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.create_function(args.func,resultHandler); + public void start(I iface, delete_partition_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.delete_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name, args.engine,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_function extends org.apache.thrift.AsyncProcessFunction { - public drop_function() { - super("drop_function"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class delete_table_column_statistics extends org.apache.thrift.AsyncProcessFunction { + public delete_table_column_statistics() { + super("delete_table_column_statistics"); } - public drop_function_args getEmptyArgsInstance() { - return new drop_function_args(); + public delete_table_column_statistics_args getEmptyArgsInstance() { + return new delete_table_column_statistics_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - drop_function_result result = new drop_function_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -33639,15 +33662,23 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - drop_function_result result = new drop_function_result(); + 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.o3 = (MetaException) e; + 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -33675,25 +33706,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, drop_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.drop_function(args.dbName, args.funcName,resultHandler); + public void start(I iface, delete_table_column_statistics_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.delete_table_column_statistics(args.db_name, args.tbl_name, args.col_name, args.engine,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_function extends org.apache.thrift.AsyncProcessFunction { - public alter_function() { - super("alter_function"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_function extends org.apache.thrift.AsyncProcessFunction { + public create_function() { + super("create_function"); } - public alter_function_args getEmptyArgsInstance() { - return new alter_function_args(); + public create_function_args getEmptyArgsInstance() { + return new create_function_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(Void o) { - alter_function_result result = new alter_function_result(); + create_function_result result = new create_function_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -33707,15 +33738,23 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - alter_function_result result = new alter_function_result(); - if (e instanceof InvalidOperationException) { - result.o1 = (InvalidOperationException) e; + 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 MetaException) { - result.o2 = (MetaException) e; + } 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -33743,26 +33782,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, alter_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.alter_function(args.dbName, args.funcName, args.newFunc,resultHandler); + public void start(I iface, create_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.create_function(args.func,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_functions extends org.apache.thrift.AsyncProcessFunction> { - public get_functions() { - super("get_functions"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_function extends org.apache.thrift.AsyncProcessFunction { + public drop_function() { + super("drop_function"); } - public get_functions_args getEmptyArgsInstance() { - return new get_functions_args(); + public drop_function_args getEmptyArgsInstance() { + return new drop_function_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - get_functions_result result = new get_functions_result(); - result.success = o; + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -33776,11 +33814,15 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_functions_result result = new get_functions_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -33808,26 +33850,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_functions_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_functions(args.dbName, args.pattern,resultHandler); + public void start(I iface, drop_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.drop_function(args.dbName, args.funcName,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_function extends org.apache.thrift.AsyncProcessFunction { - public get_function() { - super("get_function"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_function extends org.apache.thrift.AsyncProcessFunction { + public alter_function() { + super("alter_function"); } - public get_function_args getEmptyArgsInstance() { - return new get_function_args(); + public alter_function_args getEmptyArgsInstance() { + return new alter_function_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Function o) { - get_function_result result = new get_function_result(); - result.success = o; + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -33841,13 +33882,13 @@ public void onComplete(Function o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_function_result result = new get_function_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + 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 NoSuchObjectException) { - result.o2 = (NoSuchObjectException) e; + } else if (e instanceof MetaException) { + result.o2 = (MetaException) e; result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -33877,25 +33918,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_function(args.dbName, args.funcName,resultHandler); + public void start(I iface, alter_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.alter_function(args.dbName, args.funcName, args.newFunc,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_all_functions extends org.apache.thrift.AsyncProcessFunction { - public get_all_functions() { - super("get_all_functions"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_functions extends org.apache.thrift.AsyncProcessFunction> { + public get_functions() { + super("get_functions"); } - public get_all_functions_args getEmptyArgsInstance() { - return new get_all_functions_args(); + public get_functions_args getEmptyArgsInstance() { + return new get_functions_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetAllFunctionsResponse o) { - get_all_functions_result result = new get_all_functions_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.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); @@ -33910,7 +33951,7 @@ public void onComplete(GetAllFunctionsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_all_functions_result result = new get_all_functions_result(); + get_functions_result result = new get_functions_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -33942,27 +33983,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_all_functions_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_all_functions(resultHandler); + public void start(I iface, get_functions_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_functions(args.dbName, args.pattern,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_role extends org.apache.thrift.AsyncProcessFunction { - public create_role() { - super("create_role"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_function extends org.apache.thrift.AsyncProcessFunction { + public get_function() { + super("get_function"); } - public create_role_args getEmptyArgsInstance() { - return new create_role_args(); + public get_function_args getEmptyArgsInstance() { + return new get_function_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - create_role_result result = new create_role_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Function o) { + get_function_result result = new get_function_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -33976,76 +34016,14 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - create_role_result result = new create_role_result(); + 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 org.apache.thrift.transport.TTransportException) { - _LOGGER.error("TTransportException inside handler", e); - fb.close(); - return; - } else if (e instanceof org.apache.thrift.TApplicationException) { - _LOGGER.error("TApplicationException inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TApplicationException)e; - } else { - _LOGGER.error("Exception inside handler", e); - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); - } - try { - fcall.sendResponse(fb,msg,msgType,seqid); - } catch (java.lang.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 org.apache.thrift.TException { - iface.create_role(args.role,resultHandler); - } - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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 org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.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); - } catch (org.apache.thrift.transport.TTransportException e) { - _LOGGER.error("TTransportException writing to internal frame buffer", e); - fb.close(); - } catch (java.lang.Exception e) { - _LOGGER.error("Exception writing to internal frame buffer", e); - onError(e); - } - } - public void onError(java.lang.Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TSerializable msg; - drop_role_result result = new drop_role_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; - result.setO1IsSet(true); + } else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; + result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -34074,25 +34052,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, drop_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.drop_role(args.role_name,resultHandler); + public void start(I iface, get_function_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_function(args.dbName, args.funcName,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_role_names extends org.apache.thrift.AsyncProcessFunction> { - public get_role_names() { - super("get_role_names"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_all_functions extends org.apache.thrift.AsyncProcessFunction { + public get_all_functions() { + super("get_all_functions"); } - public get_role_names_args getEmptyArgsInstance() { - return new get_role_names_args(); + public get_all_functions_args getEmptyArgsInstance() { + return new get_all_functions_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - get_role_names_result result = new get_role_names_result(); + return new org.apache.thrift.async.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); @@ -34107,7 +34085,7 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_role_names_result result = new get_role_names_result(); + get_all_functions_result result = new get_all_functions_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34139,25 +34117,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_role_names_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_role_names(resultHandler); + public void start(I iface, get_all_functions_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_all_functions(resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class grant_role extends org.apache.thrift.AsyncProcessFunction { - public grant_role() { - super("grant_role"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_role extends org.apache.thrift.AsyncProcessFunction { + public create_role() { + super("create_role"); } - public grant_role_args getEmptyArgsInstance() { - return new grant_role_args(); + public create_role_args getEmptyArgsInstance() { + return new create_role_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(java.lang.Boolean o) { - grant_role_result result = new grant_role_result(); + create_role_result result = new create_role_result(); result.success = o; result.setSuccessIsSet(true); try { @@ -34173,7 +34151,7 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - grant_role_result result = new grant_role_result(); + create_role_result result = new create_role_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34205,25 +34183,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, grant_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.grant_role(args.role_name, args.principal_name, args.principal_type, args.grantor, args.grantorType, args.grant_option,resultHandler); + public void start(I iface, create_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.create_role(args.role,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class revoke_role extends org.apache.thrift.AsyncProcessFunction { - public revoke_role() { - super("revoke_role"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_role extends org.apache.thrift.AsyncProcessFunction { + public drop_role() { + super("drop_role"); } - public revoke_role_args getEmptyArgsInstance() { - return new revoke_role_args(); + public drop_role_args getEmptyArgsInstance() { + return new drop_role_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(java.lang.Boolean o) { - revoke_role_result result = new revoke_role_result(); + drop_role_result result = new drop_role_result(); result.success = o; result.setSuccessIsSet(true); try { @@ -34239,7 +34217,7 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - revoke_role_result result = new revoke_role_result(); + drop_role_result result = new drop_role_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34271,25 +34249,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, revoke_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.revoke_role(args.role_name, args.principal_name, args.principal_type,resultHandler); + public void start(I iface, drop_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.drop_role(args.role_name,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class list_roles extends org.apache.thrift.AsyncProcessFunction> { - public list_roles() { - super("list_roles"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_role_names extends org.apache.thrift.AsyncProcessFunction> { + public get_role_names() { + super("get_role_names"); } - public list_roles_args getEmptyArgsInstance() { - return new list_roles_args(); + public get_role_names_args getEmptyArgsInstance() { + return new get_role_names_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - list_roles_result result = new list_roles_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.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); @@ -34304,7 +34282,7 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - list_roles_result result = new list_roles_result(); + get_role_names_result result = new get_role_names_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34336,26 +34314,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, list_roles_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.list_roles(args.principal_name, args.principal_type,resultHandler); + public void start(I iface, get_role_names_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_role_names(resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class grant_revoke_role extends org.apache.thrift.AsyncProcessFunction { - public grant_revoke_role() { - super("grant_revoke_role"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class grant_role extends org.apache.thrift.AsyncProcessFunction { + public grant_role() { + super("grant_role"); } - public grant_revoke_role_args getEmptyArgsInstance() { - return new grant_revoke_role_args(); + public grant_role_args getEmptyArgsInstance() { + return new grant_role_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GrantRevokeRoleResponse o) { - grant_revoke_role_result result = new grant_revoke_role_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -34369,7 +34348,7 @@ public void onComplete(GrantRevokeRoleResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - grant_revoke_role_result result = new grant_revoke_role_result(); + grant_role_result result = new grant_role_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34401,26 +34380,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, grant_revoke_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.grant_revoke_role(args.request,resultHandler); + public void start(I iface, grant_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.grant_role(args.role_name, args.principal_name, args.principal_type, args.grantor, args.grantorType, args.grant_option,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_principals_in_role extends org.apache.thrift.AsyncProcessFunction { - public get_principals_in_role() { - super("get_principals_in_role"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class revoke_role extends org.apache.thrift.AsyncProcessFunction { + public revoke_role() { + super("revoke_role"); } - public get_principals_in_role_args getEmptyArgsInstance() { - return new get_principals_in_role_args(); + public revoke_role_args getEmptyArgsInstance() { + return new revoke_role_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetPrincipalsInRoleResponse o) { - get_principals_in_role_result result = new get_principals_in_role_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -34434,7 +34414,7 @@ public void onComplete(GetPrincipalsInRoleResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_principals_in_role_result result = new get_principals_in_role_result(); + revoke_role_result result = new revoke_role_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34466,25 +34446,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_principals_in_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_principals_in_role(args.request,resultHandler); + public void start(I iface, revoke_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.revoke_role(args.role_name, args.principal_name, args.principal_type,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class list_roles extends org.apache.thrift.AsyncProcessFunction> { + public list_roles() { + super("list_roles"); } - public get_role_grants_for_principal_args getEmptyArgsInstance() { - return new get_role_grants_for_principal_args(); + public list_roles_args getEmptyArgsInstance() { + return new list_roles_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetRoleGrantsForPrincipalResponse o) { - get_role_grants_for_principal_result result = new get_role_grants_for_principal_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.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); @@ -34499,7 +34479,7 @@ public void onComplete(GetRoleGrantsForPrincipalResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_role_grants_for_principal_result result = new get_role_grants_for_principal_result(); + list_roles_result result = new list_roles_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34531,25 +34511,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_role_grants_for_principal_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_role_grants_for_principal(args.request,resultHandler); + public void start(I iface, list_roles_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.list_roles(args.principal_name, args.principal_type,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_privilege_set extends org.apache.thrift.AsyncProcessFunction { - public get_privilege_set() { - super("get_privilege_set"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class grant_revoke_role extends org.apache.thrift.AsyncProcessFunction { + public grant_revoke_role() { + super("grant_revoke_role"); } - public get_privilege_set_args getEmptyArgsInstance() { - return new get_privilege_set_args(); + public grant_revoke_role_args getEmptyArgsInstance() { + return new grant_revoke_role_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(PrincipalPrivilegeSet o) { - get_privilege_set_result result = new get_privilege_set_result(); + return new org.apache.thrift.async.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); @@ -34564,7 +34544,7 @@ public void onComplete(PrincipalPrivilegeSet o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_privilege_set_result result = new get_privilege_set_result(); + grant_revoke_role_result result = new grant_revoke_role_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34596,25 +34576,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_privilege_set_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_privilege_set(args.hiveObject, args.user_name, args.group_names,resultHandler); + public void start(I iface, grant_revoke_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.grant_revoke_role(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class list_privileges extends org.apache.thrift.AsyncProcessFunction> { - public list_privileges() { - super("list_privileges"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_principals_in_role extends org.apache.thrift.AsyncProcessFunction { + public get_principals_in_role() { + super("get_principals_in_role"); } - public list_privileges_args getEmptyArgsInstance() { - return new list_privileges_args(); + public get_principals_in_role_args getEmptyArgsInstance() { + return new get_principals_in_role_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - list_privileges_result result = new list_privileges_result(); + return new org.apache.thrift.async.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); @@ -34629,7 +34609,7 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - list_privileges_result result = new list_privileges_result(); + get_principals_in_role_result result = new get_principals_in_role_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34661,27 +34641,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, list_privileges_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.list_privileges(args.principal_name, args.principal_type, args.hiveObject,resultHandler); + public void start(I iface, get_principals_in_role_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_principals_in_role(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class grant_privileges extends org.apache.thrift.AsyncProcessFunction { - public grant_privileges() { - super("grant_privileges"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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 grant_privileges_args getEmptyArgsInstance() { - return new grant_privileges_args(); + public get_role_grants_for_principal_args getEmptyArgsInstance() { + return new get_role_grants_for_principal_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - grant_privileges_result result = new grant_privileges_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(GetRoleGrantsForPrincipalResponse o) { + get_role_grants_for_principal_result result = new get_role_grants_for_principal_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -34695,7 +34674,7 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - grant_privileges_result result = new grant_privileges_result(); + 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); @@ -34727,27 +34706,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, grant_privileges_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.grant_privileges(args.privileges,resultHandler); + public void start(I iface, get_role_grants_for_principal_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_role_grants_for_principal(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class revoke_privileges extends org.apache.thrift.AsyncProcessFunction { - public revoke_privileges() { - super("revoke_privileges"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_privilege_set extends org.apache.thrift.AsyncProcessFunction { + public get_privilege_set() { + super("get_privilege_set"); } - public revoke_privileges_args getEmptyArgsInstance() { - return new revoke_privileges_args(); + public get_privilege_set_args getEmptyArgsInstance() { + return new get_privilege_set_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - revoke_privileges_result result = new revoke_privileges_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(PrincipalPrivilegeSet o) { + get_privilege_set_result result = new get_privilege_set_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -34761,7 +34739,7 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - revoke_privileges_result result = new revoke_privileges_result(); + get_privilege_set_result result = new get_privilege_set_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34793,25 +34771,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, revoke_privileges_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.revoke_privileges(args.privileges,resultHandler); + public void start(I iface, get_privilege_set_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_privilege_set(args.hiveObject, args.user_name, args.group_names,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class grant_revoke_privileges extends org.apache.thrift.AsyncProcessFunction { - public grant_revoke_privileges() { - super("grant_revoke_privileges"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class list_privileges extends org.apache.thrift.AsyncProcessFunction> { + public list_privileges() { + super("list_privileges"); } - public grant_revoke_privileges_args getEmptyArgsInstance() { - return new grant_revoke_privileges_args(); + public list_privileges_args getEmptyArgsInstance() { + return new list_privileges_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GrantRevokePrivilegeResponse o) { - grant_revoke_privileges_result result = new grant_revoke_privileges_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.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); @@ -34826,7 +34804,7 @@ public void onComplete(GrantRevokePrivilegeResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - grant_revoke_privileges_result result = new grant_revoke_privileges_result(); + list_privileges_result result = new list_privileges_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34858,26 +34836,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, grant_revoke_privileges_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.grant_revoke_privileges(args.request,resultHandler); + public void start(I iface, list_privileges_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.list_privileges(args.principal_name, args.principal_type, args.hiveObject,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class refresh_privileges extends org.apache.thrift.AsyncProcessFunction { - public refresh_privileges() { - super("refresh_privileges"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class grant_privileges extends org.apache.thrift.AsyncProcessFunction { + public grant_privileges() { + super("grant_privileges"); } - public refresh_privileges_args getEmptyArgsInstance() { - return new refresh_privileges_args(); + public grant_privileges_args getEmptyArgsInstance() { + return new grant_privileges_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GrantRevokePrivilegeResponse o) { - refresh_privileges_result result = new refresh_privileges_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -34891,7 +34870,7 @@ public void onComplete(GrantRevokePrivilegeResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - refresh_privileges_result result = new refresh_privileges_result(); + grant_privileges_result result = new grant_privileges_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34923,26 +34902,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, refresh_privileges_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.refresh_privileges(args.objToRefresh, args.authorizer, args.grantRequest,resultHandler); + public void start(I iface, grant_privileges_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.grant_privileges(args.privileges,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class set_ugi extends org.apache.thrift.AsyncProcessFunction> { - public set_ugi() { - super("set_ugi"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class revoke_privileges extends org.apache.thrift.AsyncProcessFunction { + public revoke_privileges() { + super("revoke_privileges"); } - public set_ugi_args getEmptyArgsInstance() { - return new set_ugi_args(); + public revoke_privileges_args getEmptyArgsInstance() { + return new revoke_privileges_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - set_ugi_result result = new set_ugi_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -34956,7 +34936,7 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - set_ugi_result result = new set_ugi_result(); + revoke_privileges_result result = new revoke_privileges_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -34988,25 +34968,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, set_ugi_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.set_ugi(args.user_name, args.group_names,resultHandler); + public void start(I iface, revoke_privileges_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.revoke_privileges(args.privileges,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_delegation_token extends org.apache.thrift.AsyncProcessFunction { - public get_delegation_token() { - super("get_delegation_token"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class grant_revoke_privileges extends org.apache.thrift.AsyncProcessFunction { + public grant_revoke_privileges() { + super("grant_revoke_privileges"); } - public get_delegation_token_args getEmptyArgsInstance() { - return new get_delegation_token_args(); + public grant_revoke_privileges_args getEmptyArgsInstance() { + return new grant_revoke_privileges_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.String o) { - get_delegation_token_result result = new get_delegation_token_result(); + return new org.apache.thrift.async.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); @@ -35021,7 +35001,7 @@ public void onComplete(java.lang.String o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_delegation_token_result result = new get_delegation_token_result(); + grant_revoke_privileges_result result = new grant_revoke_privileges_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -35053,27 +35033,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_delegation_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_delegation_token(args.token_owner, args.renewer_kerberos_principal_name,resultHandler); + public void start(I iface, grant_revoke_privileges_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.grant_revoke_privileges(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class renew_delegation_token extends org.apache.thrift.AsyncProcessFunction { - public renew_delegation_token() { - super("renew_delegation_token"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class refresh_privileges extends org.apache.thrift.AsyncProcessFunction { + public refresh_privileges() { + super("refresh_privileges"); } - public renew_delegation_token_args getEmptyArgsInstance() { - return new renew_delegation_token_args(); + public refresh_privileges_args getEmptyArgsInstance() { + return new refresh_privileges_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Long o) { - renew_delegation_token_result result = new renew_delegation_token_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(GrantRevokePrivilegeResponse o) { + refresh_privileges_result result = new refresh_privileges_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35087,7 +35066,7 @@ public void onComplete(java.lang.Long o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - renew_delegation_token_result result = new renew_delegation_token_result(); + refresh_privileges_result result = new refresh_privileges_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -35119,25 +35098,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, renew_delegation_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.renew_delegation_token(args.token_str_form,resultHandler); + public void start(I iface, refresh_privileges_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.refresh_privileges(args.objToRefresh, args.authorizer, args.grantRequest,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class cancel_delegation_token extends org.apache.thrift.AsyncProcessFunction { - public cancel_delegation_token() { - super("cancel_delegation_token"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class set_ugi extends org.apache.thrift.AsyncProcessFunction> { + public set_ugi() { + super("set_ugi"); } - public cancel_delegation_token_args getEmptyArgsInstance() { - return new cancel_delegation_token_args(); + public set_ugi_args getEmptyArgsInstance() { + return new set_ugi_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - cancel_delegation_token_result result = new cancel_delegation_token_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35151,7 +35131,7 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - cancel_delegation_token_result result = new cancel_delegation_token_result(); + set_ugi_result result = new set_ugi_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -35183,27 +35163,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, cancel_delegation_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.cancel_delegation_token(args.token_str_form,resultHandler); + public void start(I iface, set_ugi_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.set_ugi(args.user_name, args.group_names,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_token extends org.apache.thrift.AsyncProcessFunction { - public add_token() { - super("add_token"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_delegation_token extends org.apache.thrift.AsyncProcessFunction { + public get_delegation_token() { + super("get_delegation_token"); } - public add_token_args getEmptyArgsInstance() { - return new add_token_args(); + public get_delegation_token_args getEmptyArgsInstance() { + return new get_delegation_token_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - add_token_result result = new add_token_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.String o) { + get_delegation_token_result result = new get_delegation_token_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35217,8 +35196,12 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - add_token_result result = new add_token_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + get_delegation_token_result result = new get_delegation_token_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -35245,25 +35228,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, add_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.add_token(args.token_identifier, args.delegation_token,resultHandler); + public void start(I iface, get_delegation_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_delegation_token(args.token_owner, args.renewer_kerberos_principal_name,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class remove_token extends org.apache.thrift.AsyncProcessFunction { - public remove_token() { - super("remove_token"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class renew_delegation_token extends org.apache.thrift.AsyncProcessFunction { + public renew_delegation_token() { + super("renew_delegation_token"); } - public remove_token_args getEmptyArgsInstance() { - return new remove_token_args(); + public renew_delegation_token_args getEmptyArgsInstance() { + return new renew_delegation_token_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - remove_token_result result = new remove_token_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.Long o) { + renew_delegation_token_result result = new renew_delegation_token_result(); result.success = o; result.setSuccessIsSet(true); try { @@ -35279,8 +35262,12 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - remove_token_result result = new remove_token_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + renew_delegation_token_result result = new renew_delegation_token_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -35307,26 +35294,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, remove_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.remove_token(args.token_identifier,resultHandler); + public void start(I iface, renew_delegation_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.renew_delegation_token(args.token_str_form,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_token extends org.apache.thrift.AsyncProcessFunction { - public get_token() { - super("get_token"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class cancel_delegation_token extends org.apache.thrift.AsyncProcessFunction { + public cancel_delegation_token() { + super("cancel_delegation_token"); } - public get_token_args getEmptyArgsInstance() { - return new get_token_args(); + public cancel_delegation_token_args getEmptyArgsInstance() { + return new cancel_delegation_token_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.String o) { - get_token_result result = new get_token_result(); - result.success = o; + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35340,8 +35326,12 @@ public void onComplete(java.lang.String o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_token_result result = new get_token_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + cancel_delegation_token_result result = new cancel_delegation_token_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -35368,26 +35358,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_token(args.token_identifier,resultHandler); + public void start(I iface, cancel_delegation_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.cancel_delegation_token(args.token_str_form,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_all_token_identifiers extends org.apache.thrift.AsyncProcessFunction> { - public get_all_token_identifiers() { - super("get_all_token_identifiers"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_token extends org.apache.thrift.AsyncProcessFunction { + public add_token() { + super("add_token"); } - public get_all_token_identifiers_args getEmptyArgsInstance() { - return new get_all_token_identifiers_args(); + public add_token_args getEmptyArgsInstance() { + return new add_token_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - get_all_token_identifiers_result result = new get_all_token_identifiers_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.Boolean o) { + add_token_result result = new add_token_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35401,7 +35392,7 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_all_token_identifiers_result result = new get_all_token_identifiers_result(); + add_token_result result = new add_token_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -35429,25 +35420,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_all_token_identifiers_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_all_token_identifiers(resultHandler); + public void start(I iface, add_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.add_token(args.token_identifier, args.delegation_token,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_master_key extends org.apache.thrift.AsyncProcessFunction { - public add_master_key() { - super("add_master_key"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class remove_token extends org.apache.thrift.AsyncProcessFunction { + public remove_token() { + super("remove_token"); } - public add_master_key_args getEmptyArgsInstance() { - return new add_master_key_args(); + public remove_token_args getEmptyArgsInstance() { + return new remove_token_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Integer o) { - add_master_key_result result = new add_master_key_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.Boolean o) { + remove_token_result result = new remove_token_result(); result.success = o; result.setSuccessIsSet(true); try { @@ -35463,12 +35454,8 @@ public void onComplete(java.lang.Integer o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - add_master_key_result result = new add_master_key_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + remove_token_result result = new remove_token_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -35495,25 +35482,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, add_master_key_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.add_master_key(args.key,resultHandler); + public void start(I iface, remove_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.remove_token(args.token_identifier,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_master_key extends org.apache.thrift.AsyncProcessFunction { - public update_master_key() { - super("update_master_key"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_token extends org.apache.thrift.AsyncProcessFunction { + public get_token() { + super("get_token"); } - public update_master_key_args getEmptyArgsInstance() { - return new update_master_key_args(); + public get_token_args getEmptyArgsInstance() { + return new get_token_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - update_master_key_result result = new update_master_key_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.String o) { + get_token_result result = new get_token_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35527,16 +35515,8 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - update_master_key_result result = new update_master_key_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 org.apache.thrift.transport.TTransportException) { + get_token_result result = new get_token_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -35563,27 +35543,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, update_master_key_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.update_master_key(args.seq_number, args.key,resultHandler); + public void start(I iface, get_token_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_token(args.token_identifier,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class remove_master_key extends org.apache.thrift.AsyncProcessFunction { - public remove_master_key() { - super("remove_master_key"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_all_token_identifiers extends org.apache.thrift.AsyncProcessFunction> { + public get_all_token_identifiers() { + super("get_all_token_identifiers"); } - public remove_master_key_args getEmptyArgsInstance() { - return new remove_master_key_args(); + public get_all_token_identifiers_args getEmptyArgsInstance() { + return new get_all_token_identifiers_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - remove_master_key_result result = new remove_master_key_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.List o) { + get_all_token_identifiers_result result = new get_all_token_identifiers_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35597,7 +35576,7 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - remove_master_key_result result = new remove_master_key_result(); + get_all_token_identifiers_result result = new get_all_token_identifiers_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -35625,26 +35604,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, remove_master_key_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.remove_master_key(args.key_seq,resultHandler); + public void start(I iface, get_all_token_identifiers_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_all_token_identifiers(resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_master_keys extends org.apache.thrift.AsyncProcessFunction> { - public get_master_keys() { - super("get_master_keys"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_master_key extends org.apache.thrift.AsyncProcessFunction { + public add_master_key() { + super("add_master_key"); } - public get_master_keys_args getEmptyArgsInstance() { - return new get_master_keys_args(); + public add_master_key_args getEmptyArgsInstance() { + return new add_master_key_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - get_master_keys_result result = new get_master_keys_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.Integer o) { + add_master_key_result result = new add_master_key_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35658,8 +35638,12 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_master_keys_result result = new get_master_keys_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + add_master_key_result result = new add_master_key_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -35686,26 +35670,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_master_keys_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_master_keys(resultHandler); + public void start(I iface, add_master_key_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.add_master_key(args.key,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns extends org.apache.thrift.AsyncProcessFunction { - public get_open_txns() { - super("get_open_txns"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_master_key extends org.apache.thrift.AsyncProcessFunction { + public update_master_key() { + super("update_master_key"); } - public get_open_txns_args getEmptyArgsInstance() { - return new get_open_txns_args(); + public update_master_key_args getEmptyArgsInstance() { + return new update_master_key_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetOpenTxnsResponse o) { - get_open_txns_result result = new get_open_txns_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + update_master_key_result result = new update_master_key_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35719,8 +35702,16 @@ public void onComplete(GetOpenTxnsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_open_txns_result result = new get_open_txns_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + update_master_key_result result = new update_master_key_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 org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -35747,26 +35738,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_open_txns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_open_txns(resultHandler); + public void start(I iface, update_master_key_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.update_master_key(args.seq_number, args.key,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_info extends org.apache.thrift.AsyncProcessFunction { - public get_open_txns_info() { - super("get_open_txns_info"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class remove_master_key extends org.apache.thrift.AsyncProcessFunction { + public remove_master_key() { + super("remove_master_key"); } - public get_open_txns_info_args getEmptyArgsInstance() { - return new get_open_txns_info_args(); + public remove_master_key_args getEmptyArgsInstance() { + return new remove_master_key_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetOpenTxnsInfoResponse o) { - get_open_txns_info_result result = new get_open_txns_info_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.Boolean o) { + remove_master_key_result result = new remove_master_key_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35780,7 +35772,7 @@ public void onComplete(GetOpenTxnsInfoResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_open_txns_info_result result = new get_open_txns_info_result(); + remove_master_key_result result = new remove_master_key_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -35808,25 +35800,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_open_txns_info_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_open_txns_info(resultHandler); + public void start(I iface, remove_master_key_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.remove_master_key(args.key_seq,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class open_txns extends org.apache.thrift.AsyncProcessFunction { - public open_txns() { - super("open_txns"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_master_keys extends org.apache.thrift.AsyncProcessFunction> { + public get_master_keys() { + super("get_master_keys"); } - public open_txns_args getEmptyArgsInstance() { - return new open_txns_args(); + public get_master_keys_args getEmptyArgsInstance() { + return new get_master_keys_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(OpenTxnsResponse o) { - open_txns_result result = new open_txns_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.List o) { + get_master_keys_result result = new get_master_keys_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -35841,7 +35833,7 @@ public void onComplete(OpenTxnsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - open_txns_result result = new open_txns_result(); + get_master_keys_result result = new get_master_keys_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -35869,25 +35861,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, open_txns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.open_txns(args.rqst,resultHandler); + public void start(I iface, get_master_keys_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_master_keys(resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txn extends org.apache.thrift.AsyncProcessFunction { - public abort_txn() { - super("abort_txn"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns extends org.apache.thrift.AsyncProcessFunction { + public get_open_txns() { + super("get_open_txns"); } - public abort_txn_args getEmptyArgsInstance() { - return new abort_txn_args(); + public get_open_txns_args getEmptyArgsInstance() { + return new get_open_txns_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - abort_txn_result result = new abort_txn_result(); + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35901,12 +35894,8 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - abort_txn_result result = new abort_txn_result(); - if (e instanceof NoSuchTxnException) { - result.o1 = (NoSuchTxnException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + get_open_txns_result result = new get_open_txns_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -35933,25 +35922,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, abort_txn_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.abort_txn(args.rqst,resultHandler); + public void start(I iface, get_open_txns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_open_txns(resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txns extends org.apache.thrift.AsyncProcessFunction { - public abort_txns() { - super("abort_txns"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_info extends org.apache.thrift.AsyncProcessFunction { + public get_open_txns_info() { + super("get_open_txns_info"); } - public abort_txns_args getEmptyArgsInstance() { - return new abort_txns_args(); + public get_open_txns_info_args getEmptyArgsInstance() { + return new get_open_txns_info_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - abort_txns_result result = new abort_txns_result(); + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -35965,12 +35955,8 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - abort_txns_result result = new abort_txns_result(); - if (e instanceof NoSuchTxnException) { - result.o1 = (NoSuchTxnException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + get_open_txns_info_result result = new get_open_txns_info_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -35997,25 +35983,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, abort_txns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.abort_txns(args.rqst,resultHandler); + public void start(I iface, get_open_txns_info_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_open_txns_info(resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class commit_txn extends org.apache.thrift.AsyncProcessFunction { - public commit_txn() { - super("commit_txn"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class open_txns extends org.apache.thrift.AsyncProcessFunction { + public open_txns() { + super("open_txns"); } - public commit_txn_args getEmptyArgsInstance() { - return new commit_txn_args(); + public open_txns_args getEmptyArgsInstance() { + return new open_txns_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - commit_txn_result result = new commit_txn_result(); + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36029,16 +36016,8 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable 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 if (e instanceof org.apache.thrift.transport.TTransportException) { + open_txns_result result = new open_txns_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -36065,27 +36044,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, commit_txn_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.commit_txn(args.rqst,resultHandler); + public void start(I iface, open_txns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.open_txns(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_latest_txn_in_conflict extends org.apache.thrift.AsyncProcessFunction { - public get_latest_txn_in_conflict() { - super("get_latest_txn_in_conflict"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txn extends org.apache.thrift.AsyncProcessFunction { + public abort_txn() { + super("abort_txn"); } - public get_latest_txn_in_conflict_args getEmptyArgsInstance() { - return new get_latest_txn_in_conflict_args(); + public abort_txn_args getEmptyArgsInstance() { + return new abort_txn_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Long o) { - get_latest_txn_in_conflict_result result = new get_latest_txn_in_conflict_result(); - result.success = o; - result.setSuccessIsSet(true); + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36099,9 +36076,9 @@ public void onComplete(java.lang.Long o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_latest_txn_in_conflict_result result = new get_latest_txn_in_conflict_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + abort_txn_result result = new abort_txn_result(); + if (e instanceof NoSuchTxnException) { + result.o1 = (NoSuchTxnException) e; result.setO1IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -36131,25 +36108,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_latest_txn_in_conflict_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_latest_txn_in_conflict(args.txnId,resultHandler); + public void start(I iface, abort_txn_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.abort_txn(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class repl_tbl_writeid_state extends org.apache.thrift.AsyncProcessFunction { - public repl_tbl_writeid_state() { - super("repl_tbl_writeid_state"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txns extends org.apache.thrift.AsyncProcessFunction { + public abort_txns() { + super("abort_txns"); } - public repl_tbl_writeid_state_args getEmptyArgsInstance() { - return new repl_tbl_writeid_state_args(); + public abort_txns_args getEmptyArgsInstance() { + return new abort_txns_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(Void o) { - repl_tbl_writeid_state_result result = new repl_tbl_writeid_state_result(); + abort_txns_result result = new abort_txns_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36163,8 +36140,12 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - repl_tbl_writeid_state_result result = new repl_tbl_writeid_state_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + abort_txns_result result = new abort_txns_result(); + if (e instanceof NoSuchTxnException) { + result.o1 = (NoSuchTxnException) e; + result.setO1IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -36191,26 +36172,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, repl_tbl_writeid_state_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.repl_tbl_writeid_state(args.rqst,resultHandler); + public void start(I iface, abort_txns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.abort_txns(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_valid_write_ids extends org.apache.thrift.AsyncProcessFunction { - public get_valid_write_ids() { - super("get_valid_write_ids"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class commit_txn extends org.apache.thrift.AsyncProcessFunction { + public commit_txn() { + super("commit_txn"); } - public get_valid_write_ids_args getEmptyArgsInstance() { - return new get_valid_write_ids_args(); + public commit_txn_args getEmptyArgsInstance() { + return new commit_txn_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetValidWriteIdsResponse o) { - get_valid_write_ids_result result = new get_valid_write_ids_result(); - result.success = o; + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36224,13 +36204,13 @@ public void onComplete(GetValidWriteIdsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_valid_write_ids_result result = new get_valid_write_ids_result(); + 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 MetaException) { - result.o2 = (MetaException) e; + } else if (e instanceof TxnAbortedException) { + result.o2 = (TxnAbortedException) e; result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -36260,26 +36240,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_valid_write_ids_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_valid_write_ids(args.rqst,resultHandler); + public void start(I iface, commit_txn_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.commit_txn(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class allocate_table_write_ids extends org.apache.thrift.AsyncProcessFunction { - public allocate_table_write_ids() { - super("allocate_table_write_ids"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_latest_txn_in_conflict extends org.apache.thrift.AsyncProcessFunction { + public get_latest_txn_in_conflict() { + super("get_latest_txn_in_conflict"); } - public allocate_table_write_ids_args getEmptyArgsInstance() { - return new allocate_table_write_ids_args(); + public get_latest_txn_in_conflict_args getEmptyArgsInstance() { + return new get_latest_txn_in_conflict_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(AllocateTableWriteIdsResponse o) { - allocate_table_write_ids_result result = new allocate_table_write_ids_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.Long o) { + get_latest_txn_in_conflict_result result = new get_latest_txn_in_conflict_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36293,19 +36274,11 @@ public void onComplete(AllocateTableWriteIdsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - allocate_table_write_ids_result result = new allocate_table_write_ids_result(); - if (e instanceof NoSuchTxnException) { - result.o1 = (NoSuchTxnException) e; + get_latest_txn_in_conflict_result result = new get_latest_txn_in_conflict_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof TxnAbortedException) { - result.o2 = (TxnAbortedException) e; - result.setO2IsSet(true); - msg = result; - } else if (e instanceof MetaException) { - result.o3 = (MetaException) e; - result.setO3IsSet(true); - msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -36333,26 +36306,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, allocate_table_write_ids_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.allocate_table_write_ids(args.rqst,resultHandler); + public void start(I iface, get_latest_txn_in_conflict_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_latest_txn_in_conflict(args.txnId,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_max_allocated_table_write_id extends org.apache.thrift.AsyncProcessFunction { - public get_max_allocated_table_write_id() { - super("get_max_allocated_table_write_id"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class repl_tbl_writeid_state extends org.apache.thrift.AsyncProcessFunction { + public repl_tbl_writeid_state() { + super("repl_tbl_writeid_state"); } - public get_max_allocated_table_write_id_args getEmptyArgsInstance() { - return new get_max_allocated_table_write_id_args(); + public repl_tbl_writeid_state_args getEmptyArgsInstance() { + return new repl_tbl_writeid_state_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(MaxAllocatedTableWriteIdResponse o) { - get_max_allocated_table_write_id_result result = new get_max_allocated_table_write_id_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + repl_tbl_writeid_state_result result = new repl_tbl_writeid_state_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36366,12 +36338,8 @@ public void onComplete(MaxAllocatedTableWriteIdResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_max_allocated_table_write_id_result result = new get_max_allocated_table_write_id_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + repl_tbl_writeid_state_result result = new repl_tbl_writeid_state_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -36398,25 +36366,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_max_allocated_table_write_id_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_max_allocated_table_write_id(args.rqst,resultHandler); + public void start(I iface, repl_tbl_writeid_state_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.repl_tbl_writeid_state(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class seed_write_id extends org.apache.thrift.AsyncProcessFunction { - public seed_write_id() { - super("seed_write_id"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_valid_write_ids extends org.apache.thrift.AsyncProcessFunction { + public get_valid_write_ids() { + super("get_valid_write_ids"); } - public seed_write_id_args getEmptyArgsInstance() { - return new seed_write_id_args(); + public get_valid_write_ids_args getEmptyArgsInstance() { + return new get_valid_write_ids_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - seed_write_id_result result = new seed_write_id_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(GetValidWriteIdsResponse o) { + get_valid_write_ids_result result = new get_valid_write_ids_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36430,11 +36399,15 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - seed_write_id_result result = new seed_write_id_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + get_valid_write_ids_result result = new get_valid_write_ids_result(); + if (e instanceof NoSuchTxnException) { + result.o1 = (NoSuchTxnException) e; result.setO1IsSet(true); msg = result; + } else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -36462,25 +36435,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, seed_write_id_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.seed_write_id(args.rqst,resultHandler); + public void start(I iface, get_valid_write_ids_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_valid_write_ids(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class seed_txn_id extends org.apache.thrift.AsyncProcessFunction { - public seed_txn_id() { - super("seed_txn_id"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class allocate_table_write_ids extends org.apache.thrift.AsyncProcessFunction { + public allocate_table_write_ids() { + super("allocate_table_write_ids"); } - public seed_txn_id_args getEmptyArgsInstance() { - return new seed_txn_id_args(); + public allocate_table_write_ids_args getEmptyArgsInstance() { + return new allocate_table_write_ids_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - seed_txn_id_result result = new seed_txn_id_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(AllocateTableWriteIdsResponse o) { + allocate_table_write_ids_result result = new allocate_table_write_ids_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36494,11 +36468,19 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - seed_txn_id_result result = new seed_txn_id_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + allocate_table_write_ids_result result = new allocate_table_write_ids_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 MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -36526,25 +36508,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, seed_txn_id_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.seed_txn_id(args.rqst,resultHandler); + public void start(I iface, allocate_table_write_ids_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.allocate_table_write_ids(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class lock extends org.apache.thrift.AsyncProcessFunction { - public lock() { - super("lock"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_max_allocated_table_write_id extends org.apache.thrift.AsyncProcessFunction { + public get_max_allocated_table_write_id() { + super("get_max_allocated_table_write_id"); } - public lock_args getEmptyArgsInstance() { - return new lock_args(); + public get_max_allocated_table_write_id_args getEmptyArgsInstance() { + return new get_max_allocated_table_write_id_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(LockResponse o) { - lock_result result = new lock_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(MaxAllocatedTableWriteIdResponse o) { + get_max_allocated_table_write_id_result result = new get_max_allocated_table_write_id_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -36559,15 +36541,11 @@ public void onComplete(LockResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - lock_result result = new lock_result(); - if (e instanceof NoSuchTxnException) { - result.o1 = (NoSuchTxnException) e; + get_max_allocated_table_write_id_result result = new get_max_allocated_table_write_id_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof TxnAbortedException) { - result.o2 = (TxnAbortedException) e; - result.setO2IsSet(true); - msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -36595,26 +36573,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, lock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.lock(args.rqst,resultHandler); + public void start(I iface, get_max_allocated_table_write_id_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_max_allocated_table_write_id(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class check_lock extends org.apache.thrift.AsyncProcessFunction { - public check_lock() { - super("check_lock"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class seed_write_id extends org.apache.thrift.AsyncProcessFunction { + public seed_write_id() { + super("seed_write_id"); } - public check_lock_args getEmptyArgsInstance() { - return new check_lock_args(); + public seed_write_id_args getEmptyArgsInstance() { + return new seed_write_id_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(LockResponse o) { - check_lock_result result = new check_lock_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + seed_write_id_result result = new seed_write_id_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36628,19 +36605,11 @@ public void onComplete(LockResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - check_lock_result result = new check_lock_result(); - if (e instanceof NoSuchTxnException) { - result.o1 = (NoSuchTxnException) e; + seed_write_id_result result = new seed_write_id_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -36668,25 +36637,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, check_lock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.check_lock(args.rqst,resultHandler); + public void start(I iface, seed_write_id_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.seed_write_id(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class unlock extends org.apache.thrift.AsyncProcessFunction { - public unlock() { - super("unlock"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class seed_txn_id extends org.apache.thrift.AsyncProcessFunction { + public seed_txn_id() { + super("seed_txn_id"); } - public unlock_args getEmptyArgsInstance() { - return new unlock_args(); + public seed_txn_id_args getEmptyArgsInstance() { + return new seed_txn_id_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(Void o) { - unlock_result result = new unlock_result(); + seed_txn_id_result result = new seed_txn_id_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36700,15 +36669,11 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - unlock_result result = new unlock_result(); - if (e instanceof NoSuchLockException) { - result.o1 = (NoSuchLockException) e; + seed_txn_id_result result = new seed_txn_id_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof TxnOpenException) { - result.o2 = (TxnOpenException) e; - result.setO2IsSet(true); - msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -36736,25 +36701,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, unlock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.unlock(args.rqst,resultHandler); + public void start(I iface, seed_txn_id_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.seed_txn_id(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class show_locks extends org.apache.thrift.AsyncProcessFunction { - public show_locks() { - super("show_locks"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class lock extends org.apache.thrift.AsyncProcessFunction { + public lock() { + super("lock"); } - public show_locks_args getEmptyArgsInstance() { - return new show_locks_args(); + public lock_args getEmptyArgsInstance() { + return new lock_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(ShowLocksResponse o) { - show_locks_result result = new show_locks_result(); + return new org.apache.thrift.async.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); @@ -36769,8 +36734,16 @@ public void onComplete(ShowLocksResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - show_locks_result result = new show_locks_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -36797,25 +36770,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, show_locks_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.show_locks(args.rqst,resultHandler); + public void start(I iface, lock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.lock(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class heartbeat extends org.apache.thrift.AsyncProcessFunction { - public heartbeat() { - super("heartbeat"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class check_lock extends org.apache.thrift.AsyncProcessFunction { + public check_lock() { + super("check_lock"); } - public heartbeat_args getEmptyArgsInstance() { - return new heartbeat_args(); + public check_lock_args getEmptyArgsInstance() { + return new check_lock_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - heartbeat_result result = new heartbeat_result(); + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36829,17 +36803,17 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - heartbeat_result result = new heartbeat_result(); - if (e instanceof NoSuchLockException) { - result.o1 = (NoSuchLockException) e; + 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 NoSuchTxnException) { - result.o2 = (NoSuchTxnException) e; + } else if (e instanceof TxnAbortedException) { + result.o2 = (TxnAbortedException) e; result.setO2IsSet(true); msg = result; - } else if (e instanceof TxnAbortedException) { - result.o3 = (TxnAbortedException) e; + } else if (e instanceof NoSuchLockException) { + result.o3 = (NoSuchLockException) e; result.setO3IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { @@ -36869,26 +36843,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, heartbeat_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.heartbeat(args.ids,resultHandler); + public void start(I iface, check_lock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.check_lock(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class heartbeat_txn_range extends org.apache.thrift.AsyncProcessFunction { - public heartbeat_txn_range() { - super("heartbeat_txn_range"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class unlock extends org.apache.thrift.AsyncProcessFunction { + public unlock() { + super("unlock"); } - public heartbeat_txn_range_args getEmptyArgsInstance() { - return new heartbeat_txn_range_args(); + public unlock_args getEmptyArgsInstance() { + return new unlock_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(HeartbeatTxnRangeResponse o) { - heartbeat_txn_range_result result = new heartbeat_txn_range_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + unlock_result result = new unlock_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36902,8 +36875,16 @@ public void onComplete(HeartbeatTxnRangeResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - heartbeat_txn_range_result result = new heartbeat_txn_range_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -36930,25 +36911,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, heartbeat_txn_range_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.heartbeat_txn_range(args.txns,resultHandler); + public void start(I iface, unlock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.unlock(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class compact extends org.apache.thrift.AsyncProcessFunction { - public compact() { - super("compact"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class show_locks extends org.apache.thrift.AsyncProcessFunction { + public show_locks() { + super("show_locks"); } - public compact_args getEmptyArgsInstance() { - return new compact_args(); + public show_locks_args getEmptyArgsInstance() { + return new show_locks_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - compact_result result = new compact_result(); + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -36962,7 +36944,7 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - compact_result result = new compact_result(); + show_locks_result result = new show_locks_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -36990,26 +36972,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, compact_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.compact(args.rqst,resultHandler); + public void start(I iface, show_locks_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.show_locks(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class compact2 extends org.apache.thrift.AsyncProcessFunction { - public compact2() { - super("compact2"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class heartbeat extends org.apache.thrift.AsyncProcessFunction { + public heartbeat() { + super("heartbeat"); } - public compact2_args getEmptyArgsInstance() { - return new compact2_args(); + public heartbeat_args getEmptyArgsInstance() { + return new heartbeat_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(CompactionResponse o) { - compact2_result result = new compact2_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + heartbeat_result result = new heartbeat_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37023,8 +37004,20 @@ public void onComplete(CompactionResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - compact2_result result = new compact2_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -37051,25 +37044,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, compact2_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.compact2(args.rqst,resultHandler); + public void start(I iface, heartbeat_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.heartbeat(args.ids,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class show_compact extends org.apache.thrift.AsyncProcessFunction { - public show_compact() { - super("show_compact"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class heartbeat_txn_range extends org.apache.thrift.AsyncProcessFunction { + public heartbeat_txn_range() { + super("heartbeat_txn_range"); } - public show_compact_args getEmptyArgsInstance() { - return new show_compact_args(); + public heartbeat_txn_range_args getEmptyArgsInstance() { + return new heartbeat_txn_range_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(ShowCompactResponse o) { - show_compact_result result = new show_compact_result(); + return new org.apache.thrift.async.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); @@ -37084,7 +37077,7 @@ public void onComplete(ShowCompactResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - show_compact_result result = new show_compact_result(); + heartbeat_txn_range_result result = new heartbeat_txn_range_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -37112,25 +37105,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, show_compact_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.show_compact(args.rqst,resultHandler); + public void start(I iface, heartbeat_txn_range_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.heartbeat_txn_range(args.txns,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_dynamic_partitions extends org.apache.thrift.AsyncProcessFunction { - public add_dynamic_partitions() { - super("add_dynamic_partitions"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class compact extends org.apache.thrift.AsyncProcessFunction { + public compact() { + super("compact"); } - public add_dynamic_partitions_args getEmptyArgsInstance() { - return new add_dynamic_partitions_args(); + public compact_args getEmptyArgsInstance() { + return new compact_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(Void o) { - add_dynamic_partitions_result result = new add_dynamic_partitions_result(); + compact_result result = new compact_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37144,16 +37137,8 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable 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 if (e instanceof org.apache.thrift.transport.TTransportException) { + compact_result result = new compact_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -37180,25 +37165,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, add_dynamic_partitions_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.add_dynamic_partitions(args.rqst,resultHandler); + public void start(I iface, compact_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.compact(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class find_next_compact extends org.apache.thrift.AsyncProcessFunction { - public find_next_compact() { - super("find_next_compact"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class compact2 extends org.apache.thrift.AsyncProcessFunction { + public compact2() { + super("compact2"); } - public find_next_compact_args getEmptyArgsInstance() { - return new find_next_compact_args(); + public compact2_args getEmptyArgsInstance() { + return new compact2_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(OptionalCompactionInfoStruct o) { - find_next_compact_result result = new find_next_compact_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(CompactionResponse o) { + compact2_result result = new compact2_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -37213,12 +37198,8 @@ public void onComplete(OptionalCompactionInfoStruct o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - find_next_compact_result result = new find_next_compact_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + compact2_result result = new compact2_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -37245,25 +37226,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, find_next_compact_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.find_next_compact(args.workerId,resultHandler); + public void start(I iface, compact2_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.compact2(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_compactor_state extends org.apache.thrift.AsyncProcessFunction { - public update_compactor_state() { - super("update_compactor_state"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class show_compact extends org.apache.thrift.AsyncProcessFunction { + public show_compact() { + super("show_compact"); } - public update_compactor_state_args getEmptyArgsInstance() { - return new update_compactor_state_args(); + public show_compact_args getEmptyArgsInstance() { + return new show_compact_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - update_compactor_state_result result = new update_compactor_state_result(); + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37277,7 +37259,7 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - update_compactor_state_result result = new update_compactor_state_result(); + show_compact_result result = new show_compact_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -37305,26 +37287,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, update_compactor_state_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.update_compactor_state(args.cr, args.txn_id,resultHandler); + public void start(I iface, show_compact_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.show_compact(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class find_columns_with_stats extends org.apache.thrift.AsyncProcessFunction> { - public find_columns_with_stats() { - super("find_columns_with_stats"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_dynamic_partitions extends org.apache.thrift.AsyncProcessFunction { + public add_dynamic_partitions() { + super("add_dynamic_partitions"); } - public find_columns_with_stats_args getEmptyArgsInstance() { - return new find_columns_with_stats_args(); + public add_dynamic_partitions_args getEmptyArgsInstance() { + return new add_dynamic_partitions_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - find_columns_with_stats_result result = new find_columns_with_stats_result(); - result.success = o; + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37338,8 +37319,16 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - find_columns_with_stats_result result = new find_columns_with_stats_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -37366,25 +37355,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, find_columns_with_stats_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.find_columns_with_stats(args.cr,resultHandler); + public void start(I iface, add_dynamic_partitions_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.add_dynamic_partitions(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class mark_cleaned extends org.apache.thrift.AsyncProcessFunction { - public mark_cleaned() { - super("mark_cleaned"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class find_next_compact extends org.apache.thrift.AsyncProcessFunction { + public find_next_compact() { + super("find_next_compact"); } - public mark_cleaned_args getEmptyArgsInstance() { - return new mark_cleaned_args(); + public find_next_compact_args getEmptyArgsInstance() { + return new find_next_compact_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - mark_cleaned_result result = new mark_cleaned_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(OptionalCompactionInfoStruct o) { + find_next_compact_result result = new find_next_compact_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37398,7 +37388,7 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - mark_cleaned_result result = new mark_cleaned_result(); + find_next_compact_result result = new find_next_compact_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -37430,25 +37420,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, mark_cleaned_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.mark_cleaned(args.cr,resultHandler); + public void start(I iface, find_next_compact_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.find_next_compact(args.workerId,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class mark_compacted extends org.apache.thrift.AsyncProcessFunction { - public mark_compacted() { - super("mark_compacted"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_compactor_state extends org.apache.thrift.AsyncProcessFunction { + public update_compactor_state() { + super("update_compactor_state"); } - public mark_compacted_args getEmptyArgsInstance() { - return new mark_compacted_args(); + public update_compactor_state_args getEmptyArgsInstance() { + return new update_compactor_state_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(Void o) { - mark_compacted_result result = new mark_compacted_result(); + update_compactor_state_result result = new update_compactor_state_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37462,12 +37452,8 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - mark_compacted_result result = new mark_compacted_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + update_compactor_state_result result = new update_compactor_state_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -37494,25 +37480,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, mark_compacted_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.mark_compacted(args.cr,resultHandler); + public void start(I iface, update_compactor_state_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.update_compactor_state(args.cr, args.txn_id,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class mark_failed extends org.apache.thrift.AsyncProcessFunction { - public mark_failed() { - super("mark_failed"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class find_columns_with_stats extends org.apache.thrift.AsyncProcessFunction> { + public find_columns_with_stats() { + super("find_columns_with_stats"); } - public mark_failed_args getEmptyArgsInstance() { - return new mark_failed_args(); + public find_columns_with_stats_args getEmptyArgsInstance() { + return new find_columns_with_stats_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - mark_failed_result result = new mark_failed_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.List o) { + find_columns_with_stats_result result = new find_columns_with_stats_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37526,12 +37513,8 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - mark_failed_result result = new mark_failed_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + find_columns_with_stats_result result = new find_columns_with_stats_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -37558,25 +37541,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, mark_failed_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.mark_failed(args.cr,resultHandler); + public void start(I iface, find_columns_with_stats_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.find_columns_with_stats(args.cr,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class set_hadoop_jobid extends org.apache.thrift.AsyncProcessFunction { - public set_hadoop_jobid() { - super("set_hadoop_jobid"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class mark_cleaned extends org.apache.thrift.AsyncProcessFunction { + public mark_cleaned() { + super("mark_cleaned"); } - public set_hadoop_jobid_args getEmptyArgsInstance() { - return new set_hadoop_jobid_args(); + public mark_cleaned_args getEmptyArgsInstance() { + return new mark_cleaned_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(Void o) { - set_hadoop_jobid_result result = new set_hadoop_jobid_result(); + mark_cleaned_result result = new mark_cleaned_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37590,8 +37573,12 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - set_hadoop_jobid_result result = new set_hadoop_jobid_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + mark_cleaned_result result = new mark_cleaned_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -37618,26 +37605,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, set_hadoop_jobid_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.set_hadoop_jobid(args.jobId, args.cq_id,resultHandler); + public void start(I iface, mark_cleaned_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.mark_cleaned(args.cr,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_next_notification extends org.apache.thrift.AsyncProcessFunction { - public get_next_notification() { - super("get_next_notification"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class mark_compacted extends org.apache.thrift.AsyncProcessFunction { + public mark_compacted() { + super("mark_compacted"); } - public get_next_notification_args getEmptyArgsInstance() { - return new get_next_notification_args(); + public mark_compacted_args getEmptyArgsInstance() { + return new mark_compacted_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(NotificationEventResponse o) { - get_next_notification_result result = new get_next_notification_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + mark_compacted_result result = new mark_compacted_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37651,8 +37637,12 @@ public void onComplete(NotificationEventResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_next_notification_result result = new get_next_notification_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + mark_compacted_result result = new mark_compacted_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -37679,26 +37669,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_next_notification_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_next_notification(args.rqst,resultHandler); + public void start(I iface, mark_compacted_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.mark_compacted(args.cr,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_current_notificationEventId extends org.apache.thrift.AsyncProcessFunction { - public get_current_notificationEventId() { - super("get_current_notificationEventId"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class mark_failed extends org.apache.thrift.AsyncProcessFunction { + public mark_failed() { + super("mark_failed"); } - public get_current_notificationEventId_args getEmptyArgsInstance() { - return new get_current_notificationEventId_args(); + public mark_failed_args getEmptyArgsInstance() { + return new mark_failed_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(CurrentNotificationEventId o) { - get_current_notificationEventId_result result = new get_current_notificationEventId_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + mark_failed_result result = new mark_failed_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37712,8 +37701,12 @@ public void onComplete(CurrentNotificationEventId o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_current_notificationEventId_result result = new get_current_notificationEventId_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + mark_failed_result result = new mark_failed_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -37740,26 +37733,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_current_notificationEventId_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_current_notificationEventId(resultHandler); + public void start(I iface, mark_failed_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.mark_failed(args.cr,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_notification_events_count extends org.apache.thrift.AsyncProcessFunction { - public get_notification_events_count() { - super("get_notification_events_count"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class set_hadoop_jobid extends org.apache.thrift.AsyncProcessFunction { + public set_hadoop_jobid() { + super("set_hadoop_jobid"); } - public get_notification_events_count_args getEmptyArgsInstance() { - return new get_notification_events_count_args(); + public set_hadoop_jobid_args getEmptyArgsInstance() { + return new set_hadoop_jobid_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(NotificationEventsCountResponse o) { - get_notification_events_count_result result = new get_notification_events_count_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + set_hadoop_jobid_result result = new set_hadoop_jobid_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37773,7 +37765,7 @@ public void onComplete(NotificationEventsCountResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_notification_events_count_result result = new get_notification_events_count_result(); + set_hadoop_jobid_result result = new set_hadoop_jobid_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -37801,25 +37793,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_notification_events_count_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_notification_events_count(args.rqst,resultHandler); + public void start(I iface, set_hadoop_jobid_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.set_hadoop_jobid(args.jobId, args.cq_id,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class fire_listener_event extends org.apache.thrift.AsyncProcessFunction { - public fire_listener_event() { - super("fire_listener_event"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_next_notification extends org.apache.thrift.AsyncProcessFunction { + public get_next_notification() { + super("get_next_notification"); } - public fire_listener_event_args getEmptyArgsInstance() { - return new fire_listener_event_args(); + public get_next_notification_args getEmptyArgsInstance() { + return new get_next_notification_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(FireEventResponse o) { - fire_listener_event_result result = new fire_listener_event_result(); + return new org.apache.thrift.async.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); @@ -37834,7 +37826,7 @@ public void onComplete(FireEventResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - fire_listener_event_result result = new fire_listener_event_result(); + get_next_notification_result result = new get_next_notification_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -37862,25 +37854,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, fire_listener_event_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.fire_listener_event(args.rqst,resultHandler); + public void start(I iface, get_next_notification_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_next_notification(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class flushCache extends org.apache.thrift.AsyncProcessFunction { - public flushCache() { - super("flushCache"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_current_notificationEventId extends org.apache.thrift.AsyncProcessFunction { + public get_current_notificationEventId() { + super("get_current_notificationEventId"); } - public flushCache_args getEmptyArgsInstance() { - return new flushCache_args(); + public get_current_notificationEventId_args getEmptyArgsInstance() { + return new get_current_notificationEventId_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - flushCache_result result = new flushCache_result(); + return new org.apache.thrift.async.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); } catch (org.apache.thrift.transport.TTransportException e) { @@ -37894,7 +37887,7 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - flushCache_result result = new flushCache_result(); + get_current_notificationEventId_result result = new get_current_notificationEventId_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -37922,25 +37915,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, flushCache_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.flushCache(resultHandler); + public void start(I iface, get_current_notificationEventId_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_current_notificationEventId(resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_write_notification_log extends org.apache.thrift.AsyncProcessFunction { - public add_write_notification_log() { - super("add_write_notification_log"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_notification_events_count extends org.apache.thrift.AsyncProcessFunction { + public get_notification_events_count() { + super("get_notification_events_count"); } - public add_write_notification_log_args getEmptyArgsInstance() { - return new add_write_notification_log_args(); + public get_notification_events_count_args getEmptyArgsInstance() { + return new get_notification_events_count_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WriteNotificationLogResponse o) { - add_write_notification_log_result result = new add_write_notification_log_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(NotificationEventsCountResponse o) { + get_notification_events_count_result result = new get_notification_events_count_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -37955,7 +37948,7 @@ public void onComplete(WriteNotificationLogResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - add_write_notification_log_result result = new add_write_notification_log_result(); + get_notification_events_count_result result = new get_notification_events_count_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -37983,25 +37976,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, add_write_notification_log_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.add_write_notification_log(args.rqst,resultHandler); + public void start(I iface, get_notification_events_count_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_notification_events_count(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class cm_recycle extends org.apache.thrift.AsyncProcessFunction { - public cm_recycle() { - super("cm_recycle"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class fire_listener_event extends org.apache.thrift.AsyncProcessFunction { + public fire_listener_event() { + super("fire_listener_event"); } - public cm_recycle_args getEmptyArgsInstance() { - return new cm_recycle_args(); + public fire_listener_event_args getEmptyArgsInstance() { + return new fire_listener_event_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(CmRecycleResponse o) { - cm_recycle_result result = new cm_recycle_result(); + return new org.apache.thrift.async.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); @@ -38016,12 +38009,8 @@ public void onComplete(CmRecycleResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - cm_recycle_result result = new cm_recycle_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + fire_listener_event_result result = new fire_listener_event_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -38048,26 +38037,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, cm_recycle_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.cm_recycle(args.request,resultHandler); + public void start(I iface, fire_listener_event_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.fire_listener_event(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_file_metadata_by_expr extends org.apache.thrift.AsyncProcessFunction { - public get_file_metadata_by_expr() { - super("get_file_metadata_by_expr"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class flushCache extends org.apache.thrift.AsyncProcessFunction { + public flushCache() { + super("flushCache"); } - public get_file_metadata_by_expr_args getEmptyArgsInstance() { - return new get_file_metadata_by_expr_args(); + public flushCache_args getEmptyArgsInstance() { + return new flushCache_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetFileMetadataByExprResult o) { - get_file_metadata_by_expr_result result = new get_file_metadata_by_expr_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + flushCache_result result = new flushCache_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -38081,7 +38069,7 @@ public void onComplete(GetFileMetadataByExprResult o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_file_metadata_by_expr_result result = new get_file_metadata_by_expr_result(); + flushCache_result result = new flushCache_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -38109,25 +38097,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_file_metadata_by_expr_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_file_metadata_by_expr(args.req,resultHandler); + public void start(I iface, flushCache_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.flushCache(resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_file_metadata extends org.apache.thrift.AsyncProcessFunction { - public get_file_metadata() { - super("get_file_metadata"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_write_notification_log extends org.apache.thrift.AsyncProcessFunction { + public add_write_notification_log() { + super("add_write_notification_log"); } - public get_file_metadata_args getEmptyArgsInstance() { - return new get_file_metadata_args(); + public add_write_notification_log_args getEmptyArgsInstance() { + return new add_write_notification_log_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetFileMetadataResult o) { - get_file_metadata_result result = new get_file_metadata_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WriteNotificationLogResponse o) { + add_write_notification_log_result result = new add_write_notification_log_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38142,7 +38130,7 @@ public void onComplete(GetFileMetadataResult o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_file_metadata_result result = new get_file_metadata_result(); + add_write_notification_log_result result = new add_write_notification_log_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -38170,25 +38158,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_file_metadata_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_file_metadata(args.req,resultHandler); + public void start(I iface, add_write_notification_log_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.add_write_notification_log(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class put_file_metadata extends org.apache.thrift.AsyncProcessFunction { - public put_file_metadata() { - super("put_file_metadata"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class cm_recycle extends org.apache.thrift.AsyncProcessFunction { + public cm_recycle() { + super("cm_recycle"); } - public put_file_metadata_args getEmptyArgsInstance() { - return new put_file_metadata_args(); + public cm_recycle_args getEmptyArgsInstance() { + return new cm_recycle_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(PutFileMetadataResult o) { - put_file_metadata_result result = new put_file_metadata_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(CmRecycleResponse o) { + cm_recycle_result result = new cm_recycle_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38203,8 +38191,12 @@ public void onComplete(PutFileMetadataResult o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - put_file_metadata_result result = new put_file_metadata_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + cm_recycle_result result = new cm_recycle_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -38231,25 +38223,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, put_file_metadata_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.put_file_metadata(args.req,resultHandler); + public void start(I iface, cm_recycle_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.cm_recycle(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class clear_file_metadata extends org.apache.thrift.AsyncProcessFunction { - public clear_file_metadata() { - super("clear_file_metadata"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_file_metadata_by_expr extends org.apache.thrift.AsyncProcessFunction { + public get_file_metadata_by_expr() { + super("get_file_metadata_by_expr"); } - public clear_file_metadata_args getEmptyArgsInstance() { - return new clear_file_metadata_args(); + public get_file_metadata_by_expr_args getEmptyArgsInstance() { + return new get_file_metadata_by_expr_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(ClearFileMetadataResult o) { - clear_file_metadata_result result = new clear_file_metadata_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(GetFileMetadataByExprResult o) { + get_file_metadata_by_expr_result result = new get_file_metadata_by_expr_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38264,7 +38256,7 @@ public void onComplete(ClearFileMetadataResult o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - clear_file_metadata_result result = new clear_file_metadata_result(); + get_file_metadata_by_expr_result result = new get_file_metadata_by_expr_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -38292,25 +38284,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, clear_file_metadata_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.clear_file_metadata(args.req,resultHandler); + public void start(I iface, get_file_metadata_by_expr_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_file_metadata_by_expr(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class cache_file_metadata extends org.apache.thrift.AsyncProcessFunction { - public cache_file_metadata() { - super("cache_file_metadata"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_file_metadata extends org.apache.thrift.AsyncProcessFunction { + public get_file_metadata() { + super("get_file_metadata"); } - public cache_file_metadata_args getEmptyArgsInstance() { - return new cache_file_metadata_args(); + public get_file_metadata_args getEmptyArgsInstance() { + return new get_file_metadata_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(CacheFileMetadataResult o) { - cache_file_metadata_result result = new cache_file_metadata_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(GetFileMetadataResult o) { + get_file_metadata_result result = new get_file_metadata_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38325,7 +38317,7 @@ public void onComplete(CacheFileMetadataResult o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - cache_file_metadata_result result = new cache_file_metadata_result(); + get_file_metadata_result result = new get_file_metadata_result(); if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -38353,25 +38345,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, cache_file_metadata_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.cache_file_metadata(args.req,resultHandler); + public void start(I iface, get_file_metadata_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_file_metadata(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_metastore_db_uuid extends org.apache.thrift.AsyncProcessFunction { - public get_metastore_db_uuid() { - super("get_metastore_db_uuid"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class put_file_metadata extends org.apache.thrift.AsyncProcessFunction { + public put_file_metadata() { + super("put_file_metadata"); } - public get_metastore_db_uuid_args getEmptyArgsInstance() { - return new get_metastore_db_uuid_args(); + public put_file_metadata_args getEmptyArgsInstance() { + return new put_file_metadata_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.String o) { - get_metastore_db_uuid_result result = new get_metastore_db_uuid_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(PutFileMetadataResult o) { + put_file_metadata_result result = new put_file_metadata_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38386,12 +38378,8 @@ public void onComplete(java.lang.String o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_metastore_db_uuid_result result = new get_metastore_db_uuid_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + put_file_metadata_result result = new put_file_metadata_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -38418,25 +38406,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_metastore_db_uuid_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_metastore_db_uuid(resultHandler); + public void start(I iface, put_file_metadata_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.put_file_metadata(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_resource_plan extends org.apache.thrift.AsyncProcessFunction { - public create_resource_plan() { - super("create_resource_plan"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class clear_file_metadata extends org.apache.thrift.AsyncProcessFunction { + public clear_file_metadata() { + super("clear_file_metadata"); } - public create_resource_plan_args getEmptyArgsInstance() { - return new create_resource_plan_args(); + public clear_file_metadata_args getEmptyArgsInstance() { + return new clear_file_metadata_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMCreateResourcePlanResponse o) { - create_resource_plan_result result = new create_resource_plan_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(ClearFileMetadataResult o) { + clear_file_metadata_result result = new clear_file_metadata_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38451,20 +38439,8 @@ public void onComplete(WMCreateResourcePlanResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - create_resource_plan_result result = new create_resource_plan_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 org.apache.thrift.transport.TTransportException) { + clear_file_metadata_result result = new clear_file_metadata_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -38491,25 +38467,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, create_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.create_resource_plan(args.request,resultHandler); + public void start(I iface, clear_file_metadata_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.clear_file_metadata(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_resource_plan extends org.apache.thrift.AsyncProcessFunction { - public get_resource_plan() { - super("get_resource_plan"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class cache_file_metadata extends org.apache.thrift.AsyncProcessFunction { + public cache_file_metadata() { + super("cache_file_metadata"); } - public get_resource_plan_args getEmptyArgsInstance() { - return new get_resource_plan_args(); + public cache_file_metadata_args getEmptyArgsInstance() { + return new cache_file_metadata_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMGetResourcePlanResponse o) { - get_resource_plan_result result = new get_resource_plan_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(CacheFileMetadataResult o) { + cache_file_metadata_result result = new cache_file_metadata_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38524,16 +38500,8 @@ public void onComplete(WMGetResourcePlanResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_resource_plan_result result = new get_resource_plan_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 org.apache.thrift.transport.TTransportException) { + cache_file_metadata_result result = new cache_file_metadata_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -38560,25 +38528,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_resource_plan(args.request,resultHandler); + public void start(I iface, cache_file_metadata_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.cache_file_metadata(args.req,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_active_resource_plan extends org.apache.thrift.AsyncProcessFunction { - public get_active_resource_plan() { - super("get_active_resource_plan"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_metastore_db_uuid extends org.apache.thrift.AsyncProcessFunction { + public get_metastore_db_uuid() { + super("get_metastore_db_uuid"); } - public get_active_resource_plan_args getEmptyArgsInstance() { - return new get_active_resource_plan_args(); + public get_metastore_db_uuid_args getEmptyArgsInstance() { + return new get_metastore_db_uuid_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMGetActiveResourcePlanResponse o) { - get_active_resource_plan_result result = new get_active_resource_plan_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.String o) { + get_metastore_db_uuid_result result = new get_metastore_db_uuid_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38593,10 +38561,10 @@ public void onComplete(WMGetActiveResourcePlanResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_active_resource_plan_result result = new get_active_resource_plan_result(); + get_metastore_db_uuid_result result = new get_metastore_db_uuid_result(); if (e instanceof MetaException) { - result.o2 = (MetaException) e; - result.setO2IsSet(true); + result.o1 = (MetaException) e; + result.setO1IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -38625,25 +38593,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_active_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_active_resource_plan(args.request,resultHandler); + public void start(I iface, get_metastore_db_uuid_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_metastore_db_uuid(resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_all_resource_plans extends org.apache.thrift.AsyncProcessFunction { - public get_all_resource_plans() { - super("get_all_resource_plans"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_resource_plan extends org.apache.thrift.AsyncProcessFunction { + public create_resource_plan() { + super("create_resource_plan"); } - public get_all_resource_plans_args getEmptyArgsInstance() { - return new get_all_resource_plans_args(); + public create_resource_plan_args getEmptyArgsInstance() { + return new create_resource_plan_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMGetAllResourcePlanResponse o) { - get_all_resource_plans_result result = new get_all_resource_plans_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMCreateResourcePlanResponse o) { + create_resource_plan_result result = new create_resource_plan_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38658,11 +38626,19 @@ public void onComplete(WMGetAllResourcePlanResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_all_resource_plans_result result = new get_all_resource_plans_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + create_resource_plan_result result = new create_resource_plan_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 org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -38690,25 +38666,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_all_resource_plans_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_all_resource_plans(args.request,resultHandler); + public void start(I iface, create_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.create_resource_plan(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_resource_plan extends org.apache.thrift.AsyncProcessFunction { - public alter_resource_plan() { - super("alter_resource_plan"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_resource_plan extends org.apache.thrift.AsyncProcessFunction { + public get_resource_plan() { + super("get_resource_plan"); } - public alter_resource_plan_args getEmptyArgsInstance() { - return new alter_resource_plan_args(); + public get_resource_plan_args getEmptyArgsInstance() { + return new get_resource_plan_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMAlterResourcePlanResponse o) { - alter_resource_plan_result result = new alter_resource_plan_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMGetResourcePlanResponse o) { + get_resource_plan_result result = new get_resource_plan_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38723,18 +38699,14 @@ public void onComplete(WMAlterResourcePlanResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - alter_resource_plan_result result = new alter_resource_plan_result(); + get_resource_plan_result result = new get_resource_plan_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); + result.o2 = (MetaException) e; + result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -38763,25 +38735,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, alter_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.alter_resource_plan(args.request,resultHandler); + public void start(I iface, get_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_resource_plan(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class validate_resource_plan extends org.apache.thrift.AsyncProcessFunction { - public validate_resource_plan() { - super("validate_resource_plan"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_active_resource_plan extends org.apache.thrift.AsyncProcessFunction { + public get_active_resource_plan() { + super("get_active_resource_plan"); } - public validate_resource_plan_args getEmptyArgsInstance() { - return new validate_resource_plan_args(); + public get_active_resource_plan_args getEmptyArgsInstance() { + return new get_active_resource_plan_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMValidateResourcePlanResponse o) { - validate_resource_plan_result result = new validate_resource_plan_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMGetActiveResourcePlanResponse o) { + get_active_resource_plan_result result = new get_active_resource_plan_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38796,12 +38768,8 @@ public void onComplete(WMValidateResourcePlanResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - validate_resource_plan_result result = new validate_resource_plan_result(); - if (e instanceof NoSuchObjectException) { - result.o1 = (NoSuchObjectException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof MetaException) { + get_active_resource_plan_result result = new get_active_resource_plan_result(); + if (e instanceof MetaException) { result.o2 = (MetaException) e; result.setO2IsSet(true); msg = result; @@ -38832,25 +38800,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, validate_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.validate_resource_plan(args.request,resultHandler); + public void start(I iface, get_active_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_active_resource_plan(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_resource_plan extends org.apache.thrift.AsyncProcessFunction { - public drop_resource_plan() { - super("drop_resource_plan"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_all_resource_plans extends org.apache.thrift.AsyncProcessFunction { + public get_all_resource_plans() { + super("get_all_resource_plans"); } - public drop_resource_plan_args getEmptyArgsInstance() { - return new drop_resource_plan_args(); + public get_all_resource_plans_args getEmptyArgsInstance() { + return new get_all_resource_plans_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMDropResourcePlanResponse o) { - drop_resource_plan_result result = new drop_resource_plan_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMGetAllResourcePlanResponse o) { + get_all_resource_plans_result result = new get_all_resource_plans_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38865,19 +38833,11 @@ public void onComplete(WMDropResourcePlanResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - drop_resource_plan_result result = new drop_resource_plan_result(); - if (e instanceof NoSuchObjectException) { - result.o1 = (NoSuchObjectException) e; + get_all_resource_plans_result result = new get_all_resource_plans_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 MetaException) { - result.o3 = (MetaException) e; - result.setO3IsSet(true); - msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -38905,25 +38865,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, drop_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.drop_resource_plan(args.request,resultHandler); + public void start(I iface, get_all_resource_plans_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_all_resource_plans(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_wm_trigger extends org.apache.thrift.AsyncProcessFunction { - public create_wm_trigger() { - super("create_wm_trigger"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_resource_plan extends org.apache.thrift.AsyncProcessFunction { + public alter_resource_plan() { + super("alter_resource_plan"); } - public create_wm_trigger_args getEmptyArgsInstance() { - return new create_wm_trigger_args(); + public alter_resource_plan_args getEmptyArgsInstance() { + return new alter_resource_plan_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMCreateTriggerResponse o) { - create_wm_trigger_result result = new create_wm_trigger_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMAlterResourcePlanResponse o) { + alter_resource_plan_result result = new alter_resource_plan_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -38938,22 +38898,18 @@ public void onComplete(WMCreateTriggerResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - create_wm_trigger_result result = new create_wm_trigger_result(); - if (e instanceof AlreadyExistsException) { - result.o1 = (AlreadyExistsException) e; + alter_resource_plan_result result = new alter_resource_plan_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof NoSuchObjectException) { - result.o2 = (NoSuchObjectException) e; + } else if (e instanceof InvalidOperationException) { + result.o2 = (InvalidOperationException) e; result.setO2IsSet(true); msg = result; - } else if (e instanceof InvalidObjectException) { - result.o3 = (InvalidObjectException) e; - result.setO3IsSet(true); - msg = result; } else if (e instanceof MetaException) { - result.o4 = (MetaException) e; - result.setO4IsSet(true); + result.o3 = (MetaException) e; + result.setO3IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -38982,25 +38938,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, create_wm_trigger_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.create_wm_trigger(args.request,resultHandler); + public void start(I iface, alter_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.alter_resource_plan(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_wm_trigger extends org.apache.thrift.AsyncProcessFunction { - public alter_wm_trigger() { - super("alter_wm_trigger"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class validate_resource_plan extends org.apache.thrift.AsyncProcessFunction { + public validate_resource_plan() { + super("validate_resource_plan"); } - public alter_wm_trigger_args getEmptyArgsInstance() { - return new alter_wm_trigger_args(); + public validate_resource_plan_args getEmptyArgsInstance() { + return new validate_resource_plan_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMAlterTriggerResponse o) { - alter_wm_trigger_result result = new alter_wm_trigger_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMValidateResourcePlanResponse o) { + validate_resource_plan_result result = new validate_resource_plan_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -39015,18 +38971,14 @@ public void onComplete(WMAlterTriggerResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - alter_wm_trigger_result result = new alter_wm_trigger_result(); + validate_resource_plan_result result = new validate_resource_plan_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); + result.o2 = (MetaException) e; + result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -39055,25 +39007,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, alter_wm_trigger_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.alter_wm_trigger(args.request,resultHandler); + public void start(I iface, validate_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.validate_resource_plan(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_wm_trigger extends org.apache.thrift.AsyncProcessFunction { - public drop_wm_trigger() { - super("drop_wm_trigger"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_resource_plan extends org.apache.thrift.AsyncProcessFunction { + public drop_resource_plan() { + super("drop_resource_plan"); } - public drop_wm_trigger_args getEmptyArgsInstance() { - return new drop_wm_trigger_args(); + public drop_resource_plan_args getEmptyArgsInstance() { + return new drop_resource_plan_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMDropTriggerResponse o) { - drop_wm_trigger_result result = new drop_wm_trigger_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMDropResourcePlanResponse o) { + drop_resource_plan_result result = new drop_resource_plan_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -39088,7 +39040,7 @@ public void onComplete(WMDropTriggerResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - drop_wm_trigger_result result = new drop_wm_trigger_result(); + drop_resource_plan_result result = new drop_resource_plan_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); @@ -39128,25 +39080,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, drop_wm_trigger_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.drop_wm_trigger(args.request,resultHandler); + public void start(I iface, drop_resource_plan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.drop_resource_plan(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_triggers_for_resourceplan extends org.apache.thrift.AsyncProcessFunction { - public get_triggers_for_resourceplan() { - super("get_triggers_for_resourceplan"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_wm_trigger extends org.apache.thrift.AsyncProcessFunction { + public create_wm_trigger() { + super("create_wm_trigger"); } - public get_triggers_for_resourceplan_args getEmptyArgsInstance() { - return new get_triggers_for_resourceplan_args(); + public create_wm_trigger_args getEmptyArgsInstance() { + return new create_wm_trigger_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMGetTriggersForResourePlanResponse o) { - get_triggers_for_resourceplan_result result = new get_triggers_for_resourceplan_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMCreateTriggerResponse o) { + create_wm_trigger_result result = new create_wm_trigger_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -39161,15 +39113,23 @@ public void onComplete(WMGetTriggersForResourePlanResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_triggers_for_resourceplan_result result = new get_triggers_for_resourceplan_result(); - if (e instanceof NoSuchObjectException) { - result.o1 = (NoSuchObjectException) e; + create_wm_trigger_result result = new create_wm_trigger_result(); + if (e instanceof AlreadyExistsException) { + result.o1 = (AlreadyExistsException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof MetaException) { - result.o2 = (MetaException) e; + } 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 MetaException) { + result.o4 = (MetaException) e; + result.setO4IsSet(true); + msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -39197,25 +39157,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_triggers_for_resourceplan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_triggers_for_resourceplan(args.request,resultHandler); + public void start(I iface, create_wm_trigger_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.create_wm_trigger(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_wm_pool extends org.apache.thrift.AsyncProcessFunction { - public create_wm_pool() { - super("create_wm_pool"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_wm_trigger extends org.apache.thrift.AsyncProcessFunction { + public alter_wm_trigger() { + super("alter_wm_trigger"); } - public create_wm_pool_args getEmptyArgsInstance() { - return new create_wm_pool_args(); + public alter_wm_trigger_args getEmptyArgsInstance() { + return new alter_wm_trigger_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMCreatePoolResponse o) { - create_wm_pool_result result = new create_wm_pool_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMAlterTriggerResponse o) { + alter_wm_trigger_result result = new alter_wm_trigger_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -39230,22 +39190,18 @@ public void onComplete(WMCreatePoolResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - create_wm_pool_result result = new create_wm_pool_result(); - if (e instanceof AlreadyExistsException) { - result.o1 = (AlreadyExistsException) e; + alter_wm_trigger_result result = new alter_wm_trigger_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) 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); + result.o2 = (InvalidObjectException) e; + result.setO2IsSet(true); msg = result; } else if (e instanceof MetaException) { - result.o4 = (MetaException) e; - result.setO4IsSet(true); + result.o3 = (MetaException) e; + result.setO3IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -39274,25 +39230,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, create_wm_pool_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.create_wm_pool(args.request,resultHandler); + public void start(I iface, alter_wm_trigger_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.alter_wm_trigger(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_wm_pool extends org.apache.thrift.AsyncProcessFunction { - public alter_wm_pool() { - super("alter_wm_pool"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_wm_trigger extends org.apache.thrift.AsyncProcessFunction { + public drop_wm_trigger() { + super("drop_wm_trigger"); } - public alter_wm_pool_args getEmptyArgsInstance() { - return new alter_wm_pool_args(); + public drop_wm_trigger_args getEmptyArgsInstance() { + return new drop_wm_trigger_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMAlterPoolResponse o) { - alter_wm_pool_result result = new alter_wm_pool_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMDropTriggerResponse o) { + drop_wm_trigger_result result = new drop_wm_trigger_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -39307,22 +39263,18 @@ public void onComplete(WMAlterPoolResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - alter_wm_pool_result result = new alter_wm_pool_result(); - if (e instanceof AlreadyExistsException) { - result.o1 = (AlreadyExistsException) e; + drop_wm_trigger_result result = new drop_wm_trigger_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof NoSuchObjectException) { - result.o2 = (NoSuchObjectException) e; + } else if (e instanceof InvalidOperationException) { + result.o2 = (InvalidOperationException) e; result.setO2IsSet(true); msg = result; - } else if (e instanceof InvalidObjectException) { - result.o3 = (InvalidObjectException) e; - result.setO3IsSet(true); - msg = result; } else if (e instanceof MetaException) { - result.o4 = (MetaException) e; - result.setO4IsSet(true); + result.o3 = (MetaException) e; + result.setO3IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -39351,25 +39303,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, alter_wm_pool_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.alter_wm_pool(args.request,resultHandler); + public void start(I iface, drop_wm_trigger_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.drop_wm_trigger(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_wm_pool extends org.apache.thrift.AsyncProcessFunction { - public drop_wm_pool() { - super("drop_wm_pool"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_triggers_for_resourceplan extends org.apache.thrift.AsyncProcessFunction { + public get_triggers_for_resourceplan() { + super("get_triggers_for_resourceplan"); } - public drop_wm_pool_args getEmptyArgsInstance() { - return new drop_wm_pool_args(); + public get_triggers_for_resourceplan_args getEmptyArgsInstance() { + return new get_triggers_for_resourceplan_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMDropPoolResponse o) { - drop_wm_pool_result result = new drop_wm_pool_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMGetTriggersForResourePlanResponse o) { + get_triggers_for_resourceplan_result result = new get_triggers_for_resourceplan_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -39384,18 +39336,14 @@ public void onComplete(WMDropPoolResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - drop_wm_pool_result result = new drop_wm_pool_result(); + get_triggers_for_resourceplan_result result = new get_triggers_for_resourceplan_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); + result.o2 = (MetaException) e; + result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -39424,25 +39372,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, drop_wm_pool_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.drop_wm_pool(args.request,resultHandler); + public void start(I iface, get_triggers_for_resourceplan_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_triggers_for_resourceplan(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_or_update_wm_mapping extends org.apache.thrift.AsyncProcessFunction { - public create_or_update_wm_mapping() { - super("create_or_update_wm_mapping"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_wm_pool extends org.apache.thrift.AsyncProcessFunction { + public create_wm_pool() { + super("create_wm_pool"); } - public create_or_update_wm_mapping_args getEmptyArgsInstance() { - return new create_or_update_wm_mapping_args(); + public create_wm_pool_args getEmptyArgsInstance() { + return new create_wm_pool_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMCreateOrUpdateMappingResponse o) { - create_or_update_wm_mapping_result result = new create_or_update_wm_mapping_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMCreatePoolResponse o) { + create_wm_pool_result result = new create_wm_pool_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -39457,7 +39405,7 @@ public void onComplete(WMCreateOrUpdateMappingResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - create_or_update_wm_mapping_result result = new create_or_update_wm_mapping_result(); + create_wm_pool_result result = new create_wm_pool_result(); if (e instanceof AlreadyExistsException) { result.o1 = (AlreadyExistsException) e; result.setO1IsSet(true); @@ -39501,25 +39449,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, create_or_update_wm_mapping_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.create_or_update_wm_mapping(args.request,resultHandler); + public void start(I iface, create_wm_pool_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.create_wm_pool(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_wm_mapping extends org.apache.thrift.AsyncProcessFunction { - public drop_wm_mapping() { - super("drop_wm_mapping"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_wm_pool extends org.apache.thrift.AsyncProcessFunction { + public alter_wm_pool() { + super("alter_wm_pool"); } - public drop_wm_mapping_args getEmptyArgsInstance() { - return new drop_wm_mapping_args(); + public alter_wm_pool_args getEmptyArgsInstance() { + return new alter_wm_pool_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMDropMappingResponse o) { - drop_wm_mapping_result result = new drop_wm_mapping_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMAlterPoolResponse o) { + alter_wm_pool_result result = new alter_wm_pool_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -39534,19 +39482,23 @@ public void onComplete(WMDropMappingResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - drop_wm_mapping_result result = new drop_wm_mapping_result(); - if (e instanceof NoSuchObjectException) { - result.o1 = (NoSuchObjectException) e; + alter_wm_pool_result result = new alter_wm_pool_result(); + if (e instanceof AlreadyExistsException) { + result.o1 = (AlreadyExistsException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof InvalidOperationException) { - result.o2 = (InvalidOperationException) e; + } else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; result.setO2IsSet(true); msg = result; - } else if (e instanceof MetaException) { - result.o3 = (MetaException) e; + } else if (e instanceof InvalidObjectException) { + result.o3 = (InvalidObjectException) e; result.setO3IsSet(true); msg = result; + } else if (e instanceof MetaException) { + result.o4 = (MetaException) e; + result.setO4IsSet(true); + msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -39574,25 +39526,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, drop_wm_mapping_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.drop_wm_mapping(args.request,resultHandler); + public void start(I iface, alter_wm_pool_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.alter_wm_pool(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_or_drop_wm_trigger_to_pool_mapping extends org.apache.thrift.AsyncProcessFunction { - public create_or_drop_wm_trigger_to_pool_mapping() { - super("create_or_drop_wm_trigger_to_pool_mapping"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_wm_pool extends org.apache.thrift.AsyncProcessFunction { + public drop_wm_pool() { + super("drop_wm_pool"); } - public create_or_drop_wm_trigger_to_pool_mapping_args getEmptyArgsInstance() { - return new create_or_drop_wm_trigger_to_pool_mapping_args(); + public drop_wm_pool_args getEmptyArgsInstance() { + return new drop_wm_pool_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(WMCreateOrDropTriggerToPoolMappingResponse o) { - create_or_drop_wm_trigger_to_pool_mapping_result result = new create_or_drop_wm_trigger_to_pool_mapping_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMDropPoolResponse o) { + drop_wm_pool_result result = new drop_wm_pool_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -39607,22 +39559,18 @@ public void onComplete(WMCreateOrDropTriggerToPoolMappingResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - create_or_drop_wm_trigger_to_pool_mapping_result result = new create_or_drop_wm_trigger_to_pool_mapping_result(); - if (e instanceof AlreadyExistsException) { - result.o1 = (AlreadyExistsException) e; + drop_wm_pool_result result = new drop_wm_pool_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof NoSuchObjectException) { - result.o2 = (NoSuchObjectException) e; + } else if (e instanceof InvalidOperationException) { + result.o2 = (InvalidOperationException) e; result.setO2IsSet(true); msg = result; - } else if (e instanceof InvalidObjectException) { - result.o3 = (InvalidObjectException) e; - result.setO3IsSet(true); - msg = result; } else if (e instanceof MetaException) { - result.o4 = (MetaException) e; - result.setO4IsSet(true); + result.o3 = (MetaException) e; + result.setO3IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -39651,25 +39599,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, create_or_drop_wm_trigger_to_pool_mapping_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.create_or_drop_wm_trigger_to_pool_mapping(args.request,resultHandler); + public void start(I iface, drop_wm_pool_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.drop_wm_pool(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_ischema extends org.apache.thrift.AsyncProcessFunction { - public create_ischema() { - super("create_ischema"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_or_update_wm_mapping extends org.apache.thrift.AsyncProcessFunction { + public create_or_update_wm_mapping() { + super("create_or_update_wm_mapping"); } - public create_ischema_args getEmptyArgsInstance() { - return new create_ischema_args(); + public create_or_update_wm_mapping_args getEmptyArgsInstance() { + return new create_or_update_wm_mapping_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - create_ischema_result result = new create_ischema_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMCreateOrUpdateMappingResponse o) { + create_or_update_wm_mapping_result result = new create_or_update_wm_mapping_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -39683,7 +39632,7 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - create_ischema_result result = new create_ischema_result(); + create_or_update_wm_mapping_result result = new create_or_update_wm_mapping_result(); if (e instanceof AlreadyExistsException) { result.o1 = (AlreadyExistsException) e; result.setO1IsSet(true); @@ -39692,10 +39641,14 @@ public void onError(java.lang.Exception e) { result.o2 = (NoSuchObjectException) e; result.setO2IsSet(true); msg = result; - } else if (e instanceof MetaException) { - result.o3 = (MetaException) e; + } else if (e instanceof InvalidObjectException) { + result.o3 = (InvalidObjectException) e; result.setO3IsSet(true); msg = result; + } else if (e instanceof MetaException) { + result.o4 = (MetaException) e; + result.setO4IsSet(true); + msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -39723,25 +39676,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, create_ischema_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.create_ischema(args.schema,resultHandler); + public void start(I iface, create_or_update_wm_mapping_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.create_or_update_wm_mapping(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_ischema extends org.apache.thrift.AsyncProcessFunction { - public alter_ischema() { - super("alter_ischema"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_wm_mapping extends org.apache.thrift.AsyncProcessFunction { + public drop_wm_mapping() { + super("drop_wm_mapping"); } - public alter_ischema_args getEmptyArgsInstance() { - return new alter_ischema_args(); + public drop_wm_mapping_args getEmptyArgsInstance() { + return new drop_wm_mapping_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - alter_ischema_result result = new alter_ischema_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMDropMappingResponse o) { + drop_wm_mapping_result result = new drop_wm_mapping_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -39755,15 +39709,19 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - alter_ischema_result result = new alter_ischema_result(); + drop_wm_mapping_result result = new drop_wm_mapping_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof MetaException) { - result.o2 = (MetaException) e; + } 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -39791,25 +39749,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, alter_ischema_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.alter_ischema(args.rqst,resultHandler); + public void start(I iface, drop_wm_mapping_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.drop_wm_mapping(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_ischema extends org.apache.thrift.AsyncProcessFunction { - public get_ischema() { - super("get_ischema"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_or_drop_wm_trigger_to_pool_mapping extends org.apache.thrift.AsyncProcessFunction { + public create_or_drop_wm_trigger_to_pool_mapping() { + super("create_or_drop_wm_trigger_to_pool_mapping"); } - public get_ischema_args getEmptyArgsInstance() { - return new get_ischema_args(); + public create_or_drop_wm_trigger_to_pool_mapping_args getEmptyArgsInstance() { + return new create_or_drop_wm_trigger_to_pool_mapping_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(ISchema o) { - get_ischema_result result = new get_ischema_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(WMCreateOrDropTriggerToPoolMappingResponse o) { + create_or_drop_wm_trigger_to_pool_mapping_result result = new create_or_drop_wm_trigger_to_pool_mapping_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -39824,15 +39782,23 @@ public void onComplete(ISchema o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_ischema_result result = new get_ischema_result(); - if (e instanceof NoSuchObjectException) { - result.o1 = (NoSuchObjectException) e; + create_or_drop_wm_trigger_to_pool_mapping_result result = new create_or_drop_wm_trigger_to_pool_mapping_result(); + if (e instanceof AlreadyExistsException) { + result.o1 = (AlreadyExistsException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof MetaException) { - result.o2 = (MetaException) e; + } 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 MetaException) { + result.o4 = (MetaException) e; + result.setO4IsSet(true); + msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -39860,25 +39826,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_ischema_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_ischema(args.name,resultHandler); + public void start(I iface, create_or_drop_wm_trigger_to_pool_mapping_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.create_or_drop_wm_trigger_to_pool_mapping(args.request,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_ischema extends org.apache.thrift.AsyncProcessFunction { - public drop_ischema() { - super("drop_ischema"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class create_ischema extends org.apache.thrift.AsyncProcessFunction { + public create_ischema() { + super("create_ischema"); } - public drop_ischema_args getEmptyArgsInstance() { - return new drop_ischema_args(); + public create_ischema_args getEmptyArgsInstance() { + return new create_ischema_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(Void o) { - drop_ischema_result result = new drop_ischema_result(); + create_ischema_result result = new create_ischema_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -39892,13 +39858,13 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - drop_ischema_result result = new drop_ischema_result(); - if (e instanceof NoSuchObjectException) { - result.o1 = (NoSuchObjectException) e; + create_ischema_result result = new create_ischema_result(); + if (e instanceof AlreadyExistsException) { + result.o1 = (AlreadyExistsException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof InvalidOperationException) { - result.o2 = (InvalidOperationException) e; + } else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; result.setO2IsSet(true); msg = result; } else if (e instanceof MetaException) { @@ -39932,25 +39898,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, drop_ischema_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.drop_ischema(args.name,resultHandler); + public void start(I iface, create_ischema_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.create_ischema(args.schema,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_schema_version extends org.apache.thrift.AsyncProcessFunction { - public add_schema_version() { - super("add_schema_version"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class alter_ischema extends org.apache.thrift.AsyncProcessFunction { + public alter_ischema() { + super("alter_ischema"); } - public add_schema_version_args getEmptyArgsInstance() { - return new add_schema_version_args(); + public alter_ischema_args getEmptyArgsInstance() { + return new alter_ischema_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(Void o) { - add_schema_version_result result = new add_schema_version_result(); + alter_ischema_result result = new alter_ischema_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -39964,18 +39930,14 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - add_schema_version_result result = new add_schema_version_result(); - if (e instanceof AlreadyExistsException) { - result.o1 = (AlreadyExistsException) e; + alter_ischema_result result = new alter_ischema_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof NoSuchObjectException) { - result.o2 = (NoSuchObjectException) e; - result.setO2IsSet(true); - msg = result; } else if (e instanceof MetaException) { - result.o3 = (MetaException) e; - result.setO3IsSet(true); + result.o2 = (MetaException) e; + result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -40004,25 +39966,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, add_schema_version_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.add_schema_version(args.schemaVersion,resultHandler); + public void start(I iface, alter_ischema_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.alter_ischema(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_schema_version extends org.apache.thrift.AsyncProcessFunction { - public get_schema_version() { - super("get_schema_version"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_ischema extends org.apache.thrift.AsyncProcessFunction { + public get_ischema() { + super("get_ischema"); } - public get_schema_version_args getEmptyArgsInstance() { - return new get_schema_version_args(); + public get_ischema_args getEmptyArgsInstance() { + return new get_ischema_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(SchemaVersion o) { - get_schema_version_result result = new get_schema_version_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(ISchema o) { + get_ischema_result result = new get_ischema_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -40037,7 +39999,7 @@ public void onComplete(SchemaVersion o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_schema_version_result result = new get_schema_version_result(); + get_ischema_result result = new get_ischema_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); @@ -40073,26 +40035,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_schema_version_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_schema_version(args.schemaVersion,resultHandler); + public void start(I iface, get_ischema_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_ischema(args.name,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_schema_latest_version extends org.apache.thrift.AsyncProcessFunction { - public get_schema_latest_version() { - super("get_schema_latest_version"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_ischema extends org.apache.thrift.AsyncProcessFunction { + public drop_ischema() { + super("drop_ischema"); } - public get_schema_latest_version_args getEmptyArgsInstance() { - return new get_schema_latest_version_args(); + public drop_ischema_args getEmptyArgsInstance() { + return new drop_ischema_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(SchemaVersion o) { - get_schema_latest_version_result result = new get_schema_latest_version_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + drop_ischema_result result = new drop_ischema_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40106,15 +40067,19 @@ public void onComplete(SchemaVersion o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_schema_latest_version_result result = new get_schema_latest_version_result(); + drop_ischema_result result = new drop_ischema_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof MetaException) { - result.o2 = (MetaException) e; + } 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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -40142,26 +40107,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_schema_latest_version_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_schema_latest_version(args.schemaName,resultHandler); + public void start(I iface, drop_ischema_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.drop_ischema(args.name,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_schema_all_versions extends org.apache.thrift.AsyncProcessFunction> { - public get_schema_all_versions() { - super("get_schema_all_versions"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_schema_version extends org.apache.thrift.AsyncProcessFunction { + public add_schema_version() { + super("add_schema_version"); } - public get_schema_all_versions_args getEmptyArgsInstance() { - return new get_schema_all_versions_args(); + public add_schema_version_args getEmptyArgsInstance() { + return new add_schema_version_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - get_schema_all_versions_result result = new get_schema_all_versions_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + add_schema_version_result result = new add_schema_version_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40175,15 +40139,19 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_schema_all_versions_result result = new get_schema_all_versions_result(); - if (e instanceof NoSuchObjectException) { - result.o1 = (NoSuchObjectException) e; + add_schema_version_result result = new add_schema_version_result(); + if (e instanceof AlreadyExistsException) { + result.o1 = (AlreadyExistsException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof MetaException) { - result.o2 = (MetaException) e; + } else if (e instanceof NoSuchObjectException) { + result.o2 = (NoSuchObjectException) e; result.setO2IsSet(true); msg = result; + } else if (e instanceof MetaException) { + result.o3 = (MetaException) e; + result.setO3IsSet(true); + msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -40211,25 +40179,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_schema_all_versions_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_schema_all_versions(args.schemaName,resultHandler); + public void start(I iface, add_schema_version_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.add_schema_version(args.schemaVersion,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_schema_version extends org.apache.thrift.AsyncProcessFunction { - public drop_schema_version() { - super("drop_schema_version"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_schema_version extends org.apache.thrift.AsyncProcessFunction { + public get_schema_version() { + super("get_schema_version"); } - public drop_schema_version_args getEmptyArgsInstance() { - return new drop_schema_version_args(); + public get_schema_version_args getEmptyArgsInstance() { + return new get_schema_version_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - drop_schema_version_result result = new drop_schema_version_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(SchemaVersion o) { + get_schema_version_result result = new get_schema_version_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40243,7 +40212,7 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - drop_schema_version_result result = new drop_schema_version_result(); + get_schema_version_result result = new get_schema_version_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); @@ -40279,25 +40248,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, drop_schema_version_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.drop_schema_version(args.schemaVersion,resultHandler); + public void start(I iface, get_schema_version_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_schema_version(args.schemaVersion,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_schemas_by_cols extends org.apache.thrift.AsyncProcessFunction { - public get_schemas_by_cols() { - super("get_schemas_by_cols"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_schema_latest_version extends org.apache.thrift.AsyncProcessFunction { + public get_schema_latest_version() { + super("get_schema_latest_version"); } - public get_schemas_by_cols_args getEmptyArgsInstance() { - return new get_schemas_by_cols_args(); + public get_schema_latest_version_args getEmptyArgsInstance() { + return new get_schema_latest_version_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(FindSchemasByColsResp o) { - get_schemas_by_cols_result result = new get_schemas_by_cols_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(SchemaVersion o) { + get_schema_latest_version_result result = new get_schema_latest_version_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -40312,11 +40281,15 @@ public void onComplete(FindSchemasByColsResp o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_schemas_by_cols_result result = new get_schemas_by_cols_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + get_schema_latest_version_result result = new get_schema_latest_version_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 org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -40344,25 +40317,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_schemas_by_cols_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_schemas_by_cols(args.rqst,resultHandler); + public void start(I iface, get_schema_latest_version_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_schema_latest_version(args.schemaName,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class map_schema_version_to_serde extends org.apache.thrift.AsyncProcessFunction { - public map_schema_version_to_serde() { - super("map_schema_version_to_serde"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_schema_all_versions extends org.apache.thrift.AsyncProcessFunction> { + public get_schema_all_versions() { + super("get_schema_all_versions"); } - public map_schema_version_to_serde_args getEmptyArgsInstance() { - return new map_schema_version_to_serde_args(); + public get_schema_all_versions_args getEmptyArgsInstance() { + return new get_schema_all_versions_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - map_schema_version_to_serde_result result = new map_schema_version_to_serde_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.List o) { + get_schema_all_versions_result result = new get_schema_all_versions_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40376,7 +40350,7 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - map_schema_version_to_serde_result result = new map_schema_version_to_serde_result(); + get_schema_all_versions_result result = new get_schema_all_versions_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); @@ -40412,25 +40386,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, map_schema_version_to_serde_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.map_schema_version_to_serde(args.rqst,resultHandler); + public void start(I iface, get_schema_all_versions_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_schema_all_versions(args.schemaName,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class set_schema_version_state extends org.apache.thrift.AsyncProcessFunction { - public set_schema_version_state() { - super("set_schema_version_state"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class drop_schema_version extends org.apache.thrift.AsyncProcessFunction { + public drop_schema_version() { + super("drop_schema_version"); } - public set_schema_version_state_args getEmptyArgsInstance() { - return new set_schema_version_state_args(); + public drop_schema_version_args getEmptyArgsInstance() { + return new drop_schema_version_args(); } public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new org.apache.thrift.async.AsyncMethodCallback() { public void onComplete(Void o) { - set_schema_version_state_result result = new set_schema_version_state_result(); + drop_schema_version_result result = new drop_schema_version_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40444,18 +40418,14 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - set_schema_version_state_result result = new set_schema_version_state_result(); + drop_schema_version_result result = new drop_schema_version_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); + result.o2 = (MetaException) e; + result.setO2IsSet(true); msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); @@ -40484,25 +40454,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, set_schema_version_state_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.set_schema_version_state(args.rqst,resultHandler); + public void start(I iface, drop_schema_version_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.drop_schema_version(args.schemaVersion,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_serde extends org.apache.thrift.AsyncProcessFunction { - public add_serde() { - super("add_serde"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_schemas_by_cols extends org.apache.thrift.AsyncProcessFunction { + public get_schemas_by_cols() { + super("get_schemas_by_cols"); } - public add_serde_args getEmptyArgsInstance() { - return new add_serde_args(); + public get_schemas_by_cols_args getEmptyArgsInstance() { + return new get_schemas_by_cols_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - add_serde_result result = new add_serde_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(FindSchemasByColsResp o) { + get_schemas_by_cols_result result = new get_schemas_by_cols_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40516,15 +40487,11 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - add_serde_result result = new add_serde_result(); - if (e instanceof AlreadyExistsException) { - result.o1 = (AlreadyExistsException) e; + get_schemas_by_cols_result result = new get_schemas_by_cols_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; result.setO1IsSet(true); msg = result; - } else if (e instanceof MetaException) { - result.o2 = (MetaException) e; - result.setO2IsSet(true); - msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -40552,26 +40519,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, add_serde_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.add_serde(args.serde,resultHandler); + public void start(I iface, get_schemas_by_cols_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_schemas_by_cols(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_serde extends org.apache.thrift.AsyncProcessFunction { - public get_serde() { - super("get_serde"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class map_schema_version_to_serde extends org.apache.thrift.AsyncProcessFunction { + public map_schema_version_to_serde() { + super("map_schema_version_to_serde"); } - public get_serde_args getEmptyArgsInstance() { - return new get_serde_args(); + public map_schema_version_to_serde_args getEmptyArgsInstance() { + return new map_schema_version_to_serde_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(SerDeInfo o) { - get_serde_result result = new get_serde_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + map_schema_version_to_serde_result result = new map_schema_version_to_serde_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40585,7 +40551,7 @@ public void onComplete(SerDeInfo o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_serde_result result = new get_serde_result(); + map_schema_version_to_serde_result result = new map_schema_version_to_serde_result(); if (e instanceof NoSuchObjectException) { result.o1 = (NoSuchObjectException) e; result.setO1IsSet(true); @@ -40621,26 +40587,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_serde_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_serde(args.rqst,resultHandler); + public void start(I iface, map_schema_version_to_serde_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.map_schema_version_to_serde(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_lock_materialization_rebuild extends org.apache.thrift.AsyncProcessFunction { - public get_lock_materialization_rebuild() { - super("get_lock_materialization_rebuild"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class set_schema_version_state extends org.apache.thrift.AsyncProcessFunction { + public set_schema_version_state() { + super("set_schema_version_state"); } - public get_lock_materialization_rebuild_args getEmptyArgsInstance() { - return new get_lock_materialization_rebuild_args(); + public set_schema_version_state_args getEmptyArgsInstance() { + return new set_schema_version_state_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(LockResponse o) { - get_lock_materialization_rebuild_result result = new get_lock_materialization_rebuild_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + set_schema_version_state_result result = new set_schema_version_state_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40654,8 +40619,20 @@ public void onComplete(LockResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_lock_materialization_rebuild_result result = new get_lock_materialization_rebuild_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + set_schema_version_state_result result = new set_schema_version_state_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 if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -40682,27 +40659,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_lock_materialization_rebuild_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_lock_materialization_rebuild(args.dbName, args.tableName, args.txnId,resultHandler); + public void start(I iface, set_schema_version_state_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.set_schema_version_state(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class heartbeat_lock_materialization_rebuild extends org.apache.thrift.AsyncProcessFunction { - public heartbeat_lock_materialization_rebuild() { - super("heartbeat_lock_materialization_rebuild"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_serde extends org.apache.thrift.AsyncProcessFunction { + public add_serde() { + super("add_serde"); } - public heartbeat_lock_materialization_rebuild_args getEmptyArgsInstance() { - return new heartbeat_lock_materialization_rebuild_args(); + public add_serde_args getEmptyArgsInstance() { + return new add_serde_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(java.lang.Boolean o) { - heartbeat_lock_materialization_rebuild_result result = new heartbeat_lock_materialization_rebuild_result(); - result.success = o; - result.setSuccessIsSet(true); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + add_serde_result result = new add_serde_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40716,8 +40691,16 @@ public void onComplete(java.lang.Boolean o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - heartbeat_lock_materialization_rebuild_result result = new heartbeat_lock_materialization_rebuild_result(); - if (e instanceof org.apache.thrift.transport.TTransportException) { + add_serde_result result = new add_serde_result(); + if (e instanceof AlreadyExistsException) { + result.o1 = (AlreadyExistsException) e; + result.setO1IsSet(true); + msg = result; + } else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -40744,25 +40727,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, heartbeat_lock_materialization_rebuild_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.heartbeat_lock_materialization_rebuild(args.dbName, args.tableName, args.txnId,resultHandler); + public void start(I iface, add_serde_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.add_serde(args.serde,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_runtime_stats extends org.apache.thrift.AsyncProcessFunction { - public add_runtime_stats() { - super("add_runtime_stats"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_serde extends org.apache.thrift.AsyncProcessFunction { + public get_serde() { + super("get_serde"); } - public add_runtime_stats_args getEmptyArgsInstance() { - return new add_runtime_stats_args(); + public get_serde_args getEmptyArgsInstance() { + return new get_serde_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - add_runtime_stats_result result = new add_runtime_stats_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(SerDeInfo o) { + get_serde_result result = new get_serde_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40776,11 +40760,15 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - add_runtime_stats_result result = new add_runtime_stats_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; + get_serde_result result = new get_serde_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 org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -40808,25 +40796,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, add_runtime_stats_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.add_runtime_stats(args.stat,resultHandler); + public void start(I iface, get_serde_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_serde(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_runtime_stats extends org.apache.thrift.AsyncProcessFunction> { - public get_runtime_stats() { - super("get_runtime_stats"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_lock_materialization_rebuild extends org.apache.thrift.AsyncProcessFunction { + public get_lock_materialization_rebuild() { + super("get_lock_materialization_rebuild"); } - public get_runtime_stats_args getEmptyArgsInstance() { - return new get_runtime_stats_args(); + public get_lock_materialization_rebuild_args getEmptyArgsInstance() { + return new get_lock_materialization_rebuild_args(); } - public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback>() { - public void onComplete(java.util.List o) { - get_runtime_stats_result result = new get_runtime_stats_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(LockResponse o) { + get_lock_materialization_rebuild_result result = new get_lock_materialization_rebuild_result(); result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -40841,12 +40829,8 @@ public void onComplete(java.util.List o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_runtime_stats_result result = new get_runtime_stats_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + get_lock_materialization_rebuild_result result = new get_lock_materialization_rebuild_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -40873,26 +40857,27 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_runtime_stats_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { - iface.get_runtime_stats(args.rqst,resultHandler); + public void start(I iface, get_lock_materialization_rebuild_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_lock_materialization_rebuild(args.dbName, args.tableName, args.txnId,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_with_specs extends org.apache.thrift.AsyncProcessFunction { - public get_partitions_with_specs() { - super("get_partitions_with_specs"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class heartbeat_lock_materialization_rebuild extends org.apache.thrift.AsyncProcessFunction { + public heartbeat_lock_materialization_rebuild() { + super("heartbeat_lock_materialization_rebuild"); } - public get_partitions_with_specs_args getEmptyArgsInstance() { - return new get_partitions_with_specs_args(); + public heartbeat_lock_materialization_rebuild_args getEmptyArgsInstance() { + return new heartbeat_lock_materialization_rebuild_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(GetPartitionsResponse o) { - get_partitions_with_specs_result result = new get_partitions_with_specs_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(java.lang.Boolean o) { + heartbeat_lock_materialization_rebuild_result result = new heartbeat_lock_materialization_rebuild_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40906,12 +40891,8 @@ public void onComplete(GetPartitionsResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - get_partitions_with_specs_result result = new get_partitions_with_specs_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; - result.setO1IsSet(true); - msg = result; - } else if (e instanceof org.apache.thrift.transport.TTransportException) { + heartbeat_lock_materialization_rebuild_result result = new heartbeat_lock_materialization_rebuild_result(); + if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); return; @@ -40938,26 +40919,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, get_partitions_with_specs_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.get_partitions_with_specs(args.request,resultHandler); + public void start(I iface, heartbeat_lock_materialization_rebuild_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.heartbeat_lock_materialization_rebuild(args.dbName, args.tableName, args.txnId,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class scheduled_query_poll extends org.apache.thrift.AsyncProcessFunction { - public scheduled_query_poll() { - super("scheduled_query_poll"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class add_runtime_stats extends org.apache.thrift.AsyncProcessFunction { + public add_runtime_stats() { + super("add_runtime_stats"); } - public scheduled_query_poll_args getEmptyArgsInstance() { - return new scheduled_query_poll_args(); + public add_runtime_stats_args getEmptyArgsInstance() { + return new add_runtime_stats_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(ScheduledQueryPollResponse o) { - scheduled_query_poll_result result = new scheduled_query_poll_result(); - result.success = o; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + add_runtime_stats_result result = new add_runtime_stats_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -40971,7 +40951,7 @@ public void onComplete(ScheduledQueryPollResponse o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - scheduled_query_poll_result result = new scheduled_query_poll_result(); + add_runtime_stats_result result = new add_runtime_stats_result(); if (e instanceof MetaException) { result.o1 = (MetaException) e; result.setO1IsSet(true); @@ -41003,25 +40983,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, scheduled_query_poll_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.scheduled_query_poll(args.request,resultHandler); + public void start(I iface, add_runtime_stats_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.add_runtime_stats(args.stat,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class scheduled_query_maintenance extends org.apache.thrift.AsyncProcessFunction { - public scheduled_query_maintenance() { - super("scheduled_query_maintenance"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_runtime_stats extends org.apache.thrift.AsyncProcessFunction> { + public get_runtime_stats() { + super("get_runtime_stats"); } - public scheduled_query_maintenance_args getEmptyArgsInstance() { - return new scheduled_query_maintenance_args(); + public get_runtime_stats_args getEmptyArgsInstance() { + return new get_runtime_stats_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - scheduled_query_maintenance_result result = new scheduled_query_maintenance_result(); + return new org.apache.thrift.async.AsyncMethodCallback>() { + public void onComplete(java.util.List o) { + get_runtime_stats_result result = new get_runtime_stats_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -41035,23 +41016,11 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - scheduled_query_maintenance_result result = new scheduled_query_maintenance_result(); + get_runtime_stats_result result = new get_runtime_stats_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 AlreadyExistsException) { - result.o3 = (AlreadyExistsException) e; - result.setO3IsSet(true); - msg = result; - } else if (e instanceof InvalidInputException) { - result.o4 = (InvalidInputException) e; - result.setO4IsSet(true); - msg = result; } else if (e instanceof org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -41079,25 +41048,26 @@ protected boolean isOneway() { return false; } - public void start(I iface, scheduled_query_maintenance_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - iface.scheduled_query_maintenance(args.request,resultHandler); + public void start(I iface, get_runtime_stats_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws org.apache.thrift.TException { + iface.get_runtime_stats(args.rqst,resultHandler); } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class scheduled_query_progress extends org.apache.thrift.AsyncProcessFunction { - public scheduled_query_progress() { - super("scheduled_query_progress"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partitions_with_specs extends org.apache.thrift.AsyncProcessFunction { + public get_partitions_with_specs() { + super("get_partitions_with_specs"); } - public scheduled_query_progress_args getEmptyArgsInstance() { - return new scheduled_query_progress_args(); + public get_partitions_with_specs_args getEmptyArgsInstance() { + return new get_partitions_with_specs_args(); } - public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new org.apache.thrift.async.AsyncMethodCallback() { - public void onComplete(Void o) { - scheduled_query_progress_result result = new scheduled_query_progress_result(); + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(GetPartitionsResponse o) { + get_partitions_with_specs_result result = new get_partitions_with_specs_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); } catch (org.apache.thrift.transport.TTransportException e) { @@ -41111,15 +41081,220 @@ public void onComplete(Void o) { public void onError(java.lang.Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TSerializable msg; - scheduled_query_progress_result result = new scheduled_query_progress_result(); + get_partitions_with_specs_result result = new get_partitions_with_specs_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 org.apache.thrift.transport.TTransportException) { + _LOGGER.error("TTransportException inside handler", e); + fb.close(); + return; + } else if (e instanceof org.apache.thrift.TApplicationException) { + _LOGGER.error("TApplicationException inside handler", e); + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TApplicationException)e; + } else { + _LOGGER.error("Exception inside handler", e); + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + } catch (java.lang.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_specs_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.get_partitions_with_specs(args.request,resultHandler); + } + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class scheduled_query_poll extends org.apache.thrift.AsyncProcessFunction { + public scheduled_query_poll() { + super("scheduled_query_poll"); + } + + public scheduled_query_poll_args getEmptyArgsInstance() { + return new scheduled_query_poll_args(); + } + + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(ScheduledQueryPollResponse o) { + scheduled_query_poll_result result = new scheduled_query_poll_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.thrift.transport.TTransportException e) { + _LOGGER.error("TTransportException writing to internal frame buffer", e); + fb.close(); + } catch (java.lang.Exception e) { + _LOGGER.error("Exception writing to internal frame buffer", e); + onError(e); + } + } + public void onError(java.lang.Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TSerializable msg; + scheduled_query_poll_result result = new scheduled_query_poll_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { + _LOGGER.error("TTransportException inside handler", e); + fb.close(); + return; + } else if (e instanceof org.apache.thrift.TApplicationException) { + _LOGGER.error("TApplicationException inside handler", e); + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TApplicationException)e; + } else { + _LOGGER.error("Exception inside handler", e); + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + } catch (java.lang.Exception ex) { + _LOGGER.error("Exception writing to internal frame buffer", ex); + fb.close(); + } + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, scheduled_query_poll_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.scheduled_query_poll(args.request,resultHandler); + } + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class scheduled_query_maintenance extends org.apache.thrift.AsyncProcessFunction { + public scheduled_query_maintenance() { + super("scheduled_query_maintenance"); + } + + public scheduled_query_maintenance_args getEmptyArgsInstance() { + return new scheduled_query_maintenance_args(); + } + + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + scheduled_query_maintenance_result result = new scheduled_query_maintenance_result(); + try { + fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.thrift.transport.TTransportException e) { + _LOGGER.error("TTransportException writing to internal frame buffer", e); + fb.close(); + } catch (java.lang.Exception e) { + _LOGGER.error("Exception writing to internal frame buffer", e); + onError(e); + } + } + public void onError(java.lang.Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TSerializable msg; + scheduled_query_maintenance_result result = new scheduled_query_maintenance_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 AlreadyExistsException) { + result.o3 = (AlreadyExistsException) e; + result.setO3IsSet(true); + msg = result; + } else if (e instanceof InvalidInputException) { + result.o4 = (InvalidInputException) e; + result.setO4IsSet(true); + msg = result; + } else if (e instanceof org.apache.thrift.transport.TTransportException) { + _LOGGER.error("TTransportException inside handler", e); + fb.close(); + return; + } else if (e instanceof org.apache.thrift.TApplicationException) { + _LOGGER.error("TApplicationException inside handler", e); + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TApplicationException)e; + } else { + _LOGGER.error("Exception inside handler", e); + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + } catch (java.lang.Exception ex) { + _LOGGER.error("Exception writing to internal frame buffer", ex); + fb.close(); + } + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, scheduled_query_maintenance_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + iface.scheduled_query_maintenance(args.request,resultHandler); + } + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class scheduled_query_progress extends org.apache.thrift.AsyncProcessFunction { + public scheduled_query_progress() { + super("scheduled_query_progress"); + } + + public scheduled_query_progress_args getEmptyArgsInstance() { + return new scheduled_query_progress_args(); + } + + public org.apache.thrift.async.AsyncMethodCallback getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new org.apache.thrift.async.AsyncMethodCallback() { + public void onComplete(Void o) { + scheduled_query_progress_result result = new scheduled_query_progress_result(); + try { + fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + } catch (org.apache.thrift.transport.TTransportException e) { + _LOGGER.error("TTransportException writing to internal frame buffer", e); + fb.close(); + } catch (java.lang.Exception e) { + _LOGGER.error("Exception writing to internal frame buffer", e); + onError(e); + } + } + public void onError(java.lang.Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TSerializable msg; + scheduled_query_progress_result result = new scheduled_query_progress_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 org.apache.thrift.transport.TTransportException) { _LOGGER.error("TTransportException inside handler", e); fb.close(); @@ -126061,7 +126236,1436 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_req_result other) { + public int compareTo(get_partitions_req_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = java.lang.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 = java.lang.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 = java.lang.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; + } + } + return 0; + } + + @org.apache.thrift.annotation.Nullable + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + scheme(iprot).read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + scheme(oprot).write(oprot, this); + } + + @Override + public java.lang.String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partitions_req_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + if (!first) sb.append(", "); + sb.append("o1:"); + if (this.o1 == null) { + sb.append("null"); + } else { + sb.append(this.o1); + } + first = false; + if (!first) sb.append(", "); + sb.append("o2:"); + if (this.o2 == null) { + sb.append("null"); + } else { + sb.append(this.o2); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if (success != null) { + success.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.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_partitions_req_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partitions_req_resultStandardScheme getScheme() { + return new get_partitions_req_resultStandardScheme(); + } + } + + private static class get_partitions_req_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_req_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new PartitionsResponse(); + 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 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 MetaException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_req_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + struct.success.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o2 != null) { + oprot.writeFieldBegin(O2_FIELD_DESC); + struct.o2.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_partitions_req_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partitions_req_resultTupleScheme getScheme() { + return new get_partitions_req_resultTupleScheme(); + } + } + + private static class get_partitions_req_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_req_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet optionals = new java.util.BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + if (struct.isSetO1()) { + optionals.set(1); + } + if (struct.isSetO2()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if (struct.isSetSuccess()) { + struct.success.write(oprot); + } + if (struct.isSetO1()) { + struct.o1.write(oprot); + } + if (struct.isSetO2()) { + struct.o2.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_req_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.success = new PartitionsResponse(); + struct.success.read(iprot); + 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); + } + } + } + + private static S scheme(org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + } + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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); + 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_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I16, (short)3); + 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)4); + private static final org.apache.thrift.protocol.TField GROUP_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("group_names", org.apache.thrift.protocol.TType.LIST, (short)5); + + private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partitions_with_auth_argsStandardSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partitions_with_auth_argsTupleSchemeFactory(); + + private @org.apache.thrift.annotation.Nullable java.lang.String db_name; // required + private @org.apache.thrift.annotation.Nullable java.lang.String tbl_name; // required + private short max_parts; // required + private @org.apache.thrift.annotation.Nullable java.lang.String user_name; // required + private @org.apache.thrift.annotation.Nullable java.util.List group_names; // 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_PARTS((short)3, "max_parts"), + USER_NAME((short)4, "user_name"), + GROUP_NAMES((short)5, "group_names"); + + private static final java.util.Map byName = new java.util.HashMap(); + + static { + for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + @org.apache.thrift.annotation.Nullable + 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_PARTS + return MAX_PARTS; + case 4: // USER_NAME + return USER_NAME; + case 5: // GROUP_NAMES + return GROUP_NAMES; + 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 java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + @org.apache.thrift.annotation.Nullable + public static _Fields findByName(java.lang.String name) { + return byName.get(name); + } + + private final short _thriftId; + private final java.lang.String _fieldName; + + _Fields(short thriftId, java.lang.String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public java.lang.String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __MAX_PARTS_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.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_PARTS, new org.apache.thrift.meta_data.FieldMetaData("max_parts", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); + tmpMap.put(_Fields.USER_NAME, new org.apache.thrift.meta_data.FieldMetaData("user_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.GROUP_NAMES, new org.apache.thrift.meta_data.FieldMetaData("group_names", 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)))); + metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_with_auth_args.class, metaDataMap); + } + + public get_partitions_with_auth_args() { + this.max_parts = (short)-1; + + } + + public get_partitions_with_auth_args( + java.lang.String db_name, + java.lang.String tbl_name, + short max_parts, + java.lang.String user_name, + java.util.List group_names) + { + this(); + this.db_name = db_name; + this.tbl_name = tbl_name; + this.max_parts = max_parts; + setMax_partsIsSet(true); + this.user_name = user_name; + this.group_names = group_names; + } + + /** + * Performs a deep copy on other. + */ + public get_partitions_with_auth_args(get_partitions_with_auth_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; + } + this.max_parts = other.max_parts; + if (other.isSetUser_name()) { + this.user_name = other.user_name; + } + if (other.isSetGroup_names()) { + java.util.List __this__group_names = new java.util.ArrayList(other.group_names); + this.group_names = __this__group_names; + } + } + + public get_partitions_with_auth_args deepCopy() { + return new get_partitions_with_auth_args(this); + } + + @Override + public void clear() { + this.db_name = null; + this.tbl_name = null; + this.max_parts = (short)-1; + + this.user_name = null; + this.group_names = null; + } + + @org.apache.thrift.annotation.Nullable + public java.lang.String getDb_name() { + return this.db_name; + } + + public void setDb_name(@org.apache.thrift.annotation.Nullable java.lang.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; + } + } + + @org.apache.thrift.annotation.Nullable + public java.lang.String getTbl_name() { + return this.tbl_name; + } + + public void setTbl_name(@org.apache.thrift.annotation.Nullable java.lang.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 short getMax_parts() { + return this.max_parts; + } + + public void setMax_parts(short max_parts) { + this.max_parts = max_parts; + setMax_partsIsSet(true); + } + + public void unsetMax_parts() { + __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MAX_PARTS_ISSET_ID); + } + + /** Returns true if field max_parts is set (has been assigned a value) and false otherwise */ + public boolean isSetMax_parts() { + return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MAX_PARTS_ISSET_ID); + } + + public void setMax_partsIsSet(boolean value) { + __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAX_PARTS_ISSET_ID, value); + } + + @org.apache.thrift.annotation.Nullable + public java.lang.String getUser_name() { + return this.user_name; + } + + public void setUser_name(@org.apache.thrift.annotation.Nullable java.lang.String user_name) { + this.user_name = user_name; + } + + public void unsetUser_name() { + this.user_name = null; + } + + /** Returns true if field user_name is set (has been assigned a value) and false otherwise */ + public boolean isSetUser_name() { + return this.user_name != null; + } + + public void setUser_nameIsSet(boolean value) { + if (!value) { + this.user_name = null; + } + } + + public int getGroup_namesSize() { + return (this.group_names == null) ? 0 : this.group_names.size(); + } + + @org.apache.thrift.annotation.Nullable + public java.util.Iterator getGroup_namesIterator() { + return (this.group_names == null) ? null : this.group_names.iterator(); + } + + public void addToGroup_names(java.lang.String elem) { + if (this.group_names == null) { + this.group_names = new java.util.ArrayList(); + } + this.group_names.add(elem); + } + + @org.apache.thrift.annotation.Nullable + public java.util.List getGroup_names() { + return this.group_names; + } + + public void setGroup_names(@org.apache.thrift.annotation.Nullable java.util.List group_names) { + this.group_names = group_names; + } + + public void unsetGroup_names() { + this.group_names = null; + } + + /** Returns true if field group_names is set (has been assigned a value) and false otherwise */ + public boolean isSetGroup_names() { + return this.group_names != null; + } + + public void setGroup_namesIsSet(boolean value) { + if (!value) { + this.group_names = null; + } + } + + public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + switch (field) { + case DB_NAME: + if (value == null) { + unsetDb_name(); + } else { + setDb_name((java.lang.String)value); + } + break; + + case TBL_NAME: + if (value == null) { + unsetTbl_name(); + } else { + setTbl_name((java.lang.String)value); + } + break; + + case MAX_PARTS: + if (value == null) { + unsetMax_parts(); + } else { + setMax_parts((java.lang.Short)value); + } + break; + + case USER_NAME: + if (value == null) { + unsetUser_name(); + } else { + setUser_name((java.lang.String)value); + } + break; + + case GROUP_NAMES: + if (value == null) { + unsetGroup_names(); + } else { + setGroup_names((java.util.List)value); + } + break; + + } + } + + @org.apache.thrift.annotation.Nullable + public java.lang.Object getFieldValue(_Fields field) { + switch (field) { + case DB_NAME: + return getDb_name(); + + case TBL_NAME: + return getTbl_name(); + + case MAX_PARTS: + return getMax_parts(); + + case USER_NAME: + return getUser_name(); + + case GROUP_NAMES: + return getGroup_names(); + + } + throw new java.lang.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 java.lang.IllegalArgumentException(); + } + + switch (field) { + case DB_NAME: + return isSetDb_name(); + case TBL_NAME: + return isSetTbl_name(); + case MAX_PARTS: + return isSetMax_parts(); + case USER_NAME: + return isSetUser_name(); + case GROUP_NAMES: + return isSetGroup_names(); + } + throw new java.lang.IllegalStateException(); + } + + @Override + public boolean equals(java.lang.Object that) { + if (that == null) + return false; + if (that instanceof get_partitions_with_auth_args) + return this.equals((get_partitions_with_auth_args)that); + return false; + } + + public boolean equals(get_partitions_with_auth_args that) { + if (that == null) + return false; + if (this == that) + return true; + + 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_parts = true; + boolean that_present_max_parts = true; + if (this_present_max_parts || that_present_max_parts) { + if (!(this_present_max_parts && that_present_max_parts)) + return false; + if (this.max_parts != that.max_parts) + return false; + } + + boolean this_present_user_name = true && this.isSetUser_name(); + boolean that_present_user_name = true && that.isSetUser_name(); + if (this_present_user_name || that_present_user_name) { + if (!(this_present_user_name && that_present_user_name)) + return false; + if (!this.user_name.equals(that.user_name)) + return false; + } + + boolean this_present_group_names = true && this.isSetGroup_names(); + boolean that_present_group_names = true && that.isSetGroup_names(); + if (this_present_group_names || that_present_group_names) { + if (!(this_present_group_names && that_present_group_names)) + return false; + if (!this.group_names.equals(that.group_names)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + int hashCode = 1; + + hashCode = hashCode * 8191 + ((isSetDb_name()) ? 131071 : 524287); + if (isSetDb_name()) + hashCode = hashCode * 8191 + db_name.hashCode(); + + hashCode = hashCode * 8191 + ((isSetTbl_name()) ? 131071 : 524287); + if (isSetTbl_name()) + hashCode = hashCode * 8191 + tbl_name.hashCode(); + + hashCode = hashCode * 8191 + max_parts; + + hashCode = hashCode * 8191 + ((isSetUser_name()) ? 131071 : 524287); + if (isSetUser_name()) + hashCode = hashCode * 8191 + user_name.hashCode(); + + hashCode = hashCode * 8191 + ((isSetGroup_names()) ? 131071 : 524287); + if (isSetGroup_names()) + hashCode = hashCode * 8191 + group_names.hashCode(); + + return 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; + + lastComparison = java.lang.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, other.db_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = java.lang.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 = java.lang.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, other.max_parts); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = java.lang.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, other.user_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = java.lang.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, other.group_names); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + @org.apache.thrift.annotation.Nullable + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + scheme(iprot).read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + scheme(oprot).write(oprot, this); + } + + @Override + public java.lang.String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partitions_with_auth_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("max_parts:"); + sb.append(this.max_parts); + first = false; + if (!first) sb.append(", "); + sb.append("user_name:"); + if (this.user_name == null) { + sb.append("null"); + } else { + sb.append(this.user_name); + } + first = false; + if (!first) sb.append(", "); + sb.append("group_names:"); + if (this.group_names == null) { + sb.append("null"); + } else { + sb.append(this.group_names); + } + 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, java.lang.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_partitions_with_auth_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partitions_with_auth_argsStandardScheme getScheme() { + return new get_partitions_with_auth_argsStandardScheme(); + } + } + + private static class get_partitions_with_auth_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // DB_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.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_PARTS + if (schemeField.type == org.apache.thrift.protocol.TType.I16) { + struct.max_parts = iprot.readI16(); + struct.setMax_partsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // USER_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.user_name = iprot.readString(); + struct.setUser_nameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // GROUP_NAMES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1654 = iprot.readListBegin(); + struct.group_names = new java.util.ArrayList(_list1654.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1655; + for (int _i1656 = 0; _i1656 < _list1654.size; ++_i1656) + { + _elem1655 = iprot.readString(); + struct.group_names.add(_elem1655); + } + iprot.readListEnd(); + } + struct.setGroup_namesIsSet(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_partitions_with_auth_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(); + } + oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); + oprot.writeI16(struct.max_parts); + oprot.writeFieldEnd(); + if (struct.user_name != null) { + oprot.writeFieldBegin(USER_NAME_FIELD_DESC); + oprot.writeString(struct.user_name); + oprot.writeFieldEnd(); + } + if (struct.group_names != null) { + 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 (java.lang.String _iter1657 : struct.group_names) + { + oprot.writeString(_iter1657); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_partitions_with_auth_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partitions_with_auth_argsTupleScheme getScheme() { + return new get_partitions_with_auth_argsTupleScheme(); + } + } + + private static class get_partitions_with_auth_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet optionals = new java.util.BitSet(); + if (struct.isSetDb_name()) { + optionals.set(0); + } + if (struct.isSetTbl_name()) { + optionals.set(1); + } + if (struct.isSetMax_parts()) { + optionals.set(2); + } + if (struct.isSetUser_name()) { + optionals.set(3); + } + if (struct.isSetGroup_names()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if (struct.isSetDb_name()) { + oprot.writeString(struct.db_name); + } + if (struct.isSetTbl_name()) { + oprot.writeString(struct.tbl_name); + } + if (struct.isSetMax_parts()) { + oprot.writeI16(struct.max_parts); + } + if (struct.isSetUser_name()) { + oprot.writeString(struct.user_name); + } + if (struct.isSetGroup_names()) { + { + oprot.writeI32(struct.group_names.size()); + for (java.lang.String _iter1658 : struct.group_names) + { + oprot.writeString(_iter1658); + } + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; + java.util.BitSet incoming = iprot.readBitSet(5); + 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_parts = iprot.readI16(); + struct.setMax_partsIsSet(true); + } + if (incoming.get(3)) { + struct.user_name = iprot.readString(); + struct.setUser_nameIsSet(true); + } + if (incoming.get(4)) { + { + org.apache.thrift.protocol.TList _list1659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new java.util.ArrayList(_list1659.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1660; + for (int _i1661 = 0; _i1661 < _list1659.size; ++_i1661) + { + _elem1660 = iprot.readString(); + struct.group_names.add(_elem1660); + } + } + struct.setGroup_namesIsSet(true); + } + } + } + + private static S scheme(org.apache.thrift.protocol.TProtocol proto) { + return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); + } + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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); + 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.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partitions_with_auth_resultStandardSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partitions_with_auth_resultTupleSchemeFactory(); + + private @org.apache.thrift.annotation.Nullable java.util.List success; // required + private @org.apache.thrift.annotation.Nullable NoSuchObjectException o1; // required + private @org.apache.thrift.annotation.Nullable 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"); + + private static final java.util.Map byName = new java.util.HashMap(); + + static { + for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + @org.apache.thrift.annotation.Nullable + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // O1 + return O1; + case 2: // O2 + return O2; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + @org.apache.thrift.annotation.Nullable + public static _Fields findByName(java.lang.String name) { + return byName.get(name); + } + + private final short _thriftId; + private final java.lang.String _fieldName; + + _Fields(short thriftId, java.lang.String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public java.lang.String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.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, Partition.class)))); + tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, NoSuchObjectException.class))); + tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, MetaException.class))); + metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_with_auth_result.class, metaDataMap); + } + + public get_partitions_with_auth_result() { + } + + public get_partitions_with_auth_result( + java.util.List success, + NoSuchObjectException o1, + MetaException o2) + { + this(); + this.success = success; + this.o1 = o1; + this.o2 = o2; + } + + /** + * Performs a deep copy on other. + */ + public get_partitions_with_auth_result(get_partitions_with_auth_result other) { + if (other.isSetSuccess()) { + java.util.List __this__success = new java.util.ArrayList(other.success.size()); + for (Partition other_element : other.success) { + __this__success.add(new Partition(other_element)); + } + this.success = __this__success; + } + if (other.isSetO1()) { + this.o1 = new NoSuchObjectException(other.o1); + } + if (other.isSetO2()) { + this.o2 = new MetaException(other.o2); + } + } + + public get_partitions_with_auth_result deepCopy() { + return new get_partitions_with_auth_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(); + } + + @org.apache.thrift.annotation.Nullable + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(Partition elem) { + if (this.success == null) { + this.success = new java.util.ArrayList(); + } + this.success.add(elem); + } + + @org.apache.thrift.annotation.Nullable + public java.util.List getSuccess() { + return this.success; + } + + public void setSuccess(@org.apache.thrift.annotation.Nullable java.util.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; + } + } + + @org.apache.thrift.annotation.Nullable + public NoSuchObjectException getO1() { + return this.o1; + } + + public void setO1(@org.apache.thrift.annotation.Nullable 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; + } + } + + @org.apache.thrift.annotation.Nullable + public MetaException getO2() { + return this.o2; + } + + public void setO2(@org.apache.thrift.annotation.Nullable MetaException 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, @org.apache.thrift.annotation.Nullable java.lang.Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((java.util.List)value); + } + break; + + case O1: + if (value == null) { + unsetO1(); + } else { + setO1((NoSuchObjectException)value); + } + break; + + case O2: + if (value == null) { + unsetO2(); + } else { + setO2((MetaException)value); + } + break; + + } + } + + @org.apache.thrift.annotation.Nullable + public java.lang.Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case O1: + return getO1(); + + case O2: + return getO2(); + + } + throw new java.lang.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 java.lang.IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case O1: + return isSetO1(); + case O2: + return isSetO2(); + } + throw new java.lang.IllegalStateException(); + } + + @Override + public boolean equals(java.lang.Object that) { + if (that == null) + return false; + if (that instanceof get_partitions_with_auth_result) + return this.equals((get_partitions_with_auth_result)that); + return false; + } + + public boolean equals(get_partitions_with_auth_result that) { + if (that == null) + return false; + if (this == that) + return 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.equals(that.success)) + return false; + } + + boolean this_present_o1 = true && this.isSetO1(); + boolean that_present_o1 = true && that.isSetO1(); + if (this_present_o1 || that_present_o1) { + if (!(this_present_o1 && that_present_o1)) + return false; + if (!this.o1.equals(that.o1)) + return false; + } + + boolean this_present_o2 = true && this.isSetO2(); + boolean that_present_o2 = true && that.isSetO2(); + if (this_present_o2 || that_present_o2) { + if (!(this_present_o2 && that_present_o2)) + return false; + if (!this.o2.equals(that.o2)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + int hashCode = 1; + + hashCode = hashCode * 8191 + ((isSetSuccess()) ? 131071 : 524287); + if (isSetSuccess()) + hashCode = hashCode * 8191 + success.hashCode(); + + hashCode = hashCode * 8191 + ((isSetO1()) ? 131071 : 524287); + if (isSetO1()) + hashCode = hashCode * 8191 + o1.hashCode(); + + hashCode = hashCode * 8191 + ((isSetO2()) ? 131071 : 524287); + if (isSetO2()) + hashCode = hashCode * 8191 + o2.hashCode(); + + return hashCode; + } + + @Override + public int compareTo(get_partitions_with_auth_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -126116,7 +127720,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partitions_req_result("); + java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partitions_with_auth_result("); boolean first = true; sb.append("success:"); @@ -126149,9 +127753,6 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. 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 { @@ -126170,15 +127771,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_req_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partitions_req_resultStandardScheme getScheme() { - return new get_partitions_req_resultStandardScheme(); + private static class get_partitions_with_auth_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partitions_with_auth_resultStandardScheme getScheme() { + return new get_partitions_with_auth_resultStandardScheme(); } } - private static class get_partitions_req_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class get_partitions_with_auth_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -126189,9 +127790,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_req_ } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new PartitionsResponse(); - struct.success.read(iprot); + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1662 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1662.size); + @org.apache.thrift.annotation.Nullable Partition _elem1663; + for (int _i1664 = 0; _i1664 < _list1662.size; ++_i1664) + { + _elem1663 = new Partition(); + _elem1663.read(iprot); + struct.success.add(_elem1663); + } + iprot.readListEnd(); + } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -126224,13 +127835,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_req_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_with_auth_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 (Partition _iter1665 : struct.success) + { + _iter1665.write(oprot); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -126249,16 +127867,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_req } - private static class get_partitions_req_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partitions_req_resultTupleScheme getScheme() { - return new get_partitions_req_resultTupleScheme(); + private static class get_partitions_with_auth_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partitions_with_auth_resultTupleScheme getScheme() { + return new get_partitions_with_auth_resultTupleScheme(); } } - private static class get_partitions_req_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class get_partitions_with_auth_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { @@ -126272,7 +127890,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_req_ } oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { - struct.success.write(oprot); + { + oprot.writeI32(struct.success.size()); + for (Partition _iter1666 : struct.success) + { + _iter1666.write(oprot); + } + } } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -126283,12 +127907,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_req_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new PartitionsResponse(); - struct.success.read(iprot); + { + org.apache.thrift.protocol.TList _list1667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1667.size); + @org.apache.thrift.annotation.Nullable Partition _elem1668; + for (int _i1669 = 0; _i1669 < _list1667.size; ++_i1669) + { + _elem1668 = new Partition(); + _elem1668.read(iprot); + struct.success.add(_elem1668); + } + } struct.setSuccessIsSet(true); } if (incoming.get(1)) { @@ -126309,31 +127942,25 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_req_r } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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); 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_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I16, (short)3); - 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)4); - private static final org.apache.thrift.protocol.TField GROUP_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("group_names", org.apache.thrift.protocol.TType.LIST, (short)5); + private static final org.apache.thrift.protocol.TField MAX_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I32, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partitions_with_auth_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partitions_with_auth_argsTupleSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partitions_pspec_argsStandardSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partitions_pspec_argsTupleSchemeFactory(); private @org.apache.thrift.annotation.Nullable java.lang.String db_name; // required private @org.apache.thrift.annotation.Nullable java.lang.String tbl_name; // required - private short max_parts; // required - private @org.apache.thrift.annotation.Nullable java.lang.String user_name; // required - private @org.apache.thrift.annotation.Nullable java.util.List group_names; // required + private int max_parts; // 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_PARTS((short)3, "max_parts"), - USER_NAME((short)4, "user_name"), - GROUP_NAMES((short)5, "group_names"); + MAX_PARTS((short)3, "max_parts"); private static final java.util.Map byName = new java.util.HashMap(); @@ -126355,10 +127982,6 @@ public static _Fields findByThriftId(int fieldId) { return TBL_NAME; case 3: // MAX_PARTS return MAX_PARTS; - case 4: // USER_NAME - return USER_NAME; - case 5: // GROUP_NAMES - return GROUP_NAMES; default: return null; } @@ -126410,41 +128033,32 @@ public short getThriftFieldId() { 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_PARTS, new org.apache.thrift.meta_data.FieldMetaData("max_parts", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); - tmpMap.put(_Fields.USER_NAME, new org.apache.thrift.meta_data.FieldMetaData("user_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.GROUP_NAMES, new org.apache.thrift.meta_data.FieldMetaData("group_names", 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.I32))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_with_auth_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_pspec_args.class, metaDataMap); } - public get_partitions_with_auth_args() { - this.max_parts = (short)-1; + public get_partitions_pspec_args() { + this.max_parts = -1; } - public get_partitions_with_auth_args( + public get_partitions_pspec_args( java.lang.String db_name, java.lang.String tbl_name, - short max_parts, - java.lang.String user_name, - java.util.List group_names) + int max_parts) { this(); this.db_name = db_name; this.tbl_name = tbl_name; this.max_parts = max_parts; setMax_partsIsSet(true); - this.user_name = user_name; - this.group_names = group_names; } /** * Performs a deep copy on other. */ - public get_partitions_with_auth_args(get_partitions_with_auth_args other) { + public get_partitions_pspec_args(get_partitions_pspec_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; @@ -126453,27 +128067,18 @@ public get_partitions_with_auth_args(get_partitions_with_auth_args other) { this.tbl_name = other.tbl_name; } this.max_parts = other.max_parts; - if (other.isSetUser_name()) { - this.user_name = other.user_name; - } - if (other.isSetGroup_names()) { - java.util.List __this__group_names = new java.util.ArrayList(other.group_names); - this.group_names = __this__group_names; - } } - public get_partitions_with_auth_args deepCopy() { - return new get_partitions_with_auth_args(this); + public get_partitions_pspec_args deepCopy() { + return new get_partitions_pspec_args(this); } @Override public void clear() { this.db_name = null; this.tbl_name = null; - this.max_parts = (short)-1; + this.max_parts = -1; - this.user_name = null; - this.group_names = null; } @org.apache.thrift.annotation.Nullable @@ -126524,11 +128129,11 @@ public void setTbl_nameIsSet(boolean value) { } } - public short getMax_parts() { + public int getMax_parts() { return this.max_parts; } - public void setMax_parts(short max_parts) { + public void setMax_parts(int max_parts) { this.max_parts = max_parts; setMax_partsIsSet(true); } @@ -126546,70 +128151,6 @@ public void setMax_partsIsSet(boolean value) { __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MAX_PARTS_ISSET_ID, value); } - @org.apache.thrift.annotation.Nullable - public java.lang.String getUser_name() { - return this.user_name; - } - - public void setUser_name(@org.apache.thrift.annotation.Nullable java.lang.String user_name) { - this.user_name = user_name; - } - - public void unsetUser_name() { - this.user_name = null; - } - - /** Returns true if field user_name is set (has been assigned a value) and false otherwise */ - public boolean isSetUser_name() { - return this.user_name != null; - } - - public void setUser_nameIsSet(boolean value) { - if (!value) { - this.user_name = null; - } - } - - public int getGroup_namesSize() { - return (this.group_names == null) ? 0 : this.group_names.size(); - } - - @org.apache.thrift.annotation.Nullable - public java.util.Iterator getGroup_namesIterator() { - return (this.group_names == null) ? null : this.group_names.iterator(); - } - - public void addToGroup_names(java.lang.String elem) { - if (this.group_names == null) { - this.group_names = new java.util.ArrayList(); - } - this.group_names.add(elem); - } - - @org.apache.thrift.annotation.Nullable - public java.util.List getGroup_names() { - return this.group_names; - } - - public void setGroup_names(@org.apache.thrift.annotation.Nullable java.util.List group_names) { - this.group_names = group_names; - } - - public void unsetGroup_names() { - this.group_names = null; - } - - /** Returns true if field group_names is set (has been assigned a value) and false otherwise */ - public boolean isSetGroup_names() { - return this.group_names != null; - } - - public void setGroup_namesIsSet(boolean value) { - if (!value) { - this.group_names = null; - } - } - public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { switch (field) { case DB_NAME: @@ -126632,23 +128173,7 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable if (value == null) { unsetMax_parts(); } else { - setMax_parts((java.lang.Short)value); - } - break; - - case USER_NAME: - if (value == null) { - unsetUser_name(); - } else { - setUser_name((java.lang.String)value); - } - break; - - case GROUP_NAMES: - if (value == null) { - unsetGroup_names(); - } else { - setGroup_names((java.util.List)value); + setMax_parts((java.lang.Integer)value); } break; @@ -126667,12 +128192,6 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable case MAX_PARTS: return getMax_parts(); - case USER_NAME: - return getUser_name(); - - case GROUP_NAMES: - return getGroup_names(); - } throw new java.lang.IllegalStateException(); } @@ -126690,10 +128209,6 @@ public boolean isSet(_Fields field) { return isSetTbl_name(); case MAX_PARTS: return isSetMax_parts(); - case USER_NAME: - return isSetUser_name(); - case GROUP_NAMES: - return isSetGroup_names(); } throw new java.lang.IllegalStateException(); } @@ -126702,12 +128217,12 @@ public boolean isSet(_Fields field) { public boolean equals(java.lang.Object that) { if (that == null) return false; - if (that instanceof get_partitions_with_auth_args) - return this.equals((get_partitions_with_auth_args)that); + if (that instanceof get_partitions_pspec_args) + return this.equals((get_partitions_pspec_args)that); return false; } - public boolean equals(get_partitions_with_auth_args that) { + public boolean equals(get_partitions_pspec_args that) { if (that == null) return false; if (this == that) @@ -126740,24 +128255,6 @@ public boolean equals(get_partitions_with_auth_args that) { return false; } - boolean this_present_user_name = true && this.isSetUser_name(); - boolean that_present_user_name = true && that.isSetUser_name(); - if (this_present_user_name || that_present_user_name) { - if (!(this_present_user_name && that_present_user_name)) - return false; - if (!this.user_name.equals(that.user_name)) - return false; - } - - boolean this_present_group_names = true && this.isSetGroup_names(); - boolean that_present_group_names = true && that.isSetGroup_names(); - if (this_present_group_names || that_present_group_names) { - if (!(this_present_group_names && that_present_group_names)) - return false; - if (!this.group_names.equals(that.group_names)) - return false; - } - return true; } @@ -126775,19 +128272,11 @@ public int hashCode() { hashCode = hashCode * 8191 + max_parts; - hashCode = hashCode * 8191 + ((isSetUser_name()) ? 131071 : 524287); - if (isSetUser_name()) - hashCode = hashCode * 8191 + user_name.hashCode(); - - hashCode = hashCode * 8191 + ((isSetGroup_names()) ? 131071 : 524287); - if (isSetGroup_names()) - hashCode = hashCode * 8191 + group_names.hashCode(); - return hashCode; } @Override - public int compareTo(get_partitions_with_auth_args other) { + public int compareTo(get_partitions_pspec_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -126824,26 +128313,6 @@ public int compareTo(get_partitions_with_auth_args other) { return lastComparison; } } - lastComparison = java.lang.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, other.user_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.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, other.group_names); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -126862,7 +128331,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partitions_with_auth_args("); + java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partitions_pspec_args("); boolean first = true; sb.append("db_name:"); @@ -126884,22 +128353,6 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. sb.append("max_parts:"); sb.append(this.max_parts); first = false; - if (!first) sb.append(", "); - sb.append("user_name:"); - if (this.user_name == null) { - sb.append("null"); - } else { - sb.append(this.user_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("group_names:"); - if (this.group_names == null) { - sb.append("null"); - } else { - sb.append(this.group_names); - } - first = false; sb.append(")"); return sb.toString(); } @@ -126927,15 +128380,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_with_auth_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partitions_with_auth_argsStandardScheme getScheme() { - return new get_partitions_with_auth_argsStandardScheme(); + private static class get_partitions_pspec_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partitions_pspec_argsStandardScheme getScheme() { + return new get_partitions_pspec_argsStandardScheme(); } } - private static class get_partitions_with_auth_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class get_partitions_pspec_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -126962,39 +128415,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with } break; case 3: // MAX_PARTS - if (schemeField.type == org.apache.thrift.protocol.TType.I16) { - struct.max_parts = iprot.readI16(); + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.max_parts = iprot.readI32(); struct.setMax_partsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // USER_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.user_name = iprot.readString(); - struct.setUser_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // GROUP_NAMES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1654 = iprot.readListBegin(); - struct.group_names = new java.util.ArrayList(_list1654.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1655; - for (int _i1656 = 0; _i1656 < _list1654.size; ++_i1656) - { - _elem1655 = iprot.readString(); - struct.group_names.add(_elem1655); - } - iprot.readListEnd(); - } - struct.setGroup_namesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -127004,7 +128431,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -127019,41 +128446,24 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldEnd(); } oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); - oprot.writeI16(struct.max_parts); + oprot.writeI32(struct.max_parts); oprot.writeFieldEnd(); - if (struct.user_name != null) { - oprot.writeFieldBegin(USER_NAME_FIELD_DESC); - oprot.writeString(struct.user_name); - oprot.writeFieldEnd(); - } - if (struct.group_names != null) { - 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 (java.lang.String _iter1657 : struct.group_names) - { - oprot.writeString(_iter1657); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_partitions_with_auth_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partitions_with_auth_argsTupleScheme getScheme() { - return new get_partitions_with_auth_argsTupleScheme(); + private static class get_partitions_pspec_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partitions_pspec_argsTupleScheme getScheme() { + return new get_partitions_pspec_argsTupleScheme(); } } - private static class get_partitions_with_auth_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class get_partitions_pspec_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetDb_name()) { @@ -127065,13 +128475,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetMax_parts()) { optionals.set(2); } - if (struct.isSetUser_name()) { - optionals.set(3); - } - if (struct.isSetGroup_names()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 3); if (struct.isSetDb_name()) { oprot.writeString(struct.db_name); } @@ -127079,26 +128483,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with oprot.writeString(struct.tbl_name); } if (struct.isSetMax_parts()) { - oprot.writeI16(struct.max_parts); - } - if (struct.isSetUser_name()) { - oprot.writeString(struct.user_name); - } - if (struct.isSetGroup_names()) { - { - oprot.writeI32(struct.group_names.size()); - for (java.lang.String _iter1658 : struct.group_names) - { - oprot.writeString(_iter1658); - } - } + oprot.writeI32(struct.max_parts); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(5); + java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.db_name = iprot.readString(); struct.setDb_nameIsSet(true); @@ -127108,26 +128500,9 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ struct.setTbl_nameIsSet(true); } if (incoming.get(2)) { - struct.max_parts = iprot.readI16(); + struct.max_parts = iprot.readI32(); struct.setMax_partsIsSet(true); } - if (incoming.get(3)) { - struct.user_name = iprot.readString(); - struct.setUser_nameIsSet(true); - } - if (incoming.get(4)) { - { - org.apache.thrift.protocol.TList _list1659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new java.util.ArrayList(_list1659.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1660; - for (int _i1661 = 0; _i1661 < _list1659.size; ++_i1661) - { - _elem1660 = iprot.readString(); - struct.group_names.add(_elem1660); - } - } - struct.setGroup_namesIsSet(true); - } } } @@ -127136,17 +128511,17 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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); 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.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partitions_with_auth_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partitions_with_auth_resultTupleSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partitions_pspec_resultStandardSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partitions_pspec_resultTupleSchemeFactory(); - private @org.apache.thrift.annotation.Nullable java.util.List success; // required + private @org.apache.thrift.annotation.Nullable java.util.List success; // required private @org.apache.thrift.annotation.Nullable NoSuchObjectException o1; // required private @org.apache.thrift.annotation.Nullable MetaException o2; // required @@ -127222,20 +128597,20 @@ public short getThriftFieldId() { java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.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, Partition.class)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionSpec.class)))); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, NoSuchObjectException.class))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, MetaException.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_with_auth_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_pspec_result.class, metaDataMap); } - public get_partitions_with_auth_result() { + public get_partitions_pspec_result() { } - public get_partitions_with_auth_result( - java.util.List success, + public get_partitions_pspec_result( + java.util.List success, NoSuchObjectException o1, MetaException o2) { @@ -127248,11 +128623,11 @@ public get_partitions_with_auth_result( /** * Performs a deep copy on other. */ - public get_partitions_with_auth_result(get_partitions_with_auth_result other) { + public get_partitions_pspec_result(get_partitions_pspec_result other) { if (other.isSetSuccess()) { - java.util.List __this__success = new java.util.ArrayList(other.success.size()); - for (Partition other_element : other.success) { - __this__success.add(new Partition(other_element)); + java.util.List __this__success = new java.util.ArrayList(other.success.size()); + for (PartitionSpec other_element : other.success) { + __this__success.add(new PartitionSpec(other_element)); } this.success = __this__success; } @@ -127264,8 +128639,8 @@ public get_partitions_with_auth_result(get_partitions_with_auth_result other) { } } - public get_partitions_with_auth_result deepCopy() { - return new get_partitions_with_auth_result(this); + public get_partitions_pspec_result deepCopy() { + return new get_partitions_pspec_result(this); } @Override @@ -127280,23 +128655,23 @@ public int getSuccessSize() { } @org.apache.thrift.annotation.Nullable - public java.util.Iterator getSuccessIterator() { + public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } - public void addToSuccess(Partition elem) { + public void addToSuccess(PartitionSpec elem) { if (this.success == null) { - this.success = new java.util.ArrayList(); + this.success = new java.util.ArrayList(); } this.success.add(elem); } @org.apache.thrift.annotation.Nullable - public java.util.List getSuccess() { + public java.util.List getSuccess() { return this.success; } - public void setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public void setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; } @@ -127369,7 +128744,7 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable if (value == null) { unsetSuccess(); } else { - setSuccess((java.util.List)value); + setSuccess((java.util.List)value); } break; @@ -127429,12 +128804,12 @@ public boolean isSet(_Fields field) { public boolean equals(java.lang.Object that) { if (that == null) return false; - if (that instanceof get_partitions_with_auth_result) - return this.equals((get_partitions_with_auth_result)that); + if (that instanceof get_partitions_pspec_result) + return this.equals((get_partitions_pspec_result)that); return false; } - public boolean equals(get_partitions_with_auth_result that) { + public boolean equals(get_partitions_pspec_result that) { if (that == null) return false; if (this == that) @@ -127490,7 +128865,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_with_auth_result other) { + public int compareTo(get_partitions_pspec_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -127545,7 +128920,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partitions_with_auth_result("); + java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partitions_pspec_result("); boolean first = true; sb.append("success:"); @@ -127596,15 +128971,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_with_auth_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partitions_with_auth_resultStandardScheme getScheme() { - return new get_partitions_with_auth_resultStandardScheme(); + private static class get_partitions_pspec_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partitions_pspec_resultStandardScheme getScheme() { + return new get_partitions_pspec_resultStandardScheme(); } } - private static class get_partitions_with_auth_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class get_partitions_pspec_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -127617,14 +128992,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 _list1662 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1662.size); - @org.apache.thrift.annotation.Nullable Partition _elem1663; - for (int _i1664 = 0; _i1664 < _list1662.size; ++_i1664) + org.apache.thrift.protocol.TList _list1670 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1670.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem1671; + for (int _i1672 = 0; _i1672 < _list1670.size; ++_i1672) { - _elem1663 = new Partition(); - _elem1663.read(iprot); - struct.success.add(_elem1663); + _elem1671 = new PartitionSpec(); + _elem1671.read(iprot); + struct.success.add(_elem1671); } iprot.readListEnd(); } @@ -127660,7 +129035,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -127668,9 +129043,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 _iter1665 : struct.success) + for (PartitionSpec _iter1673 : struct.success) { - _iter1665.write(oprot); + _iter1673.write(oprot); } oprot.writeListEnd(); } @@ -127692,16 +129067,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit } - private static class get_partitions_with_auth_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partitions_with_auth_resultTupleScheme getScheme() { - return new get_partitions_with_auth_resultTupleScheme(); + private static class get_partitions_pspec_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partitions_pspec_resultTupleScheme getScheme() { + return new get_partitions_pspec_resultTupleScheme(); } } - private static class get_partitions_with_auth_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class get_partitions_pspec_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { @@ -127717,9 +129092,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1666 : struct.success) + for (PartitionSpec _iter1674 : struct.success) { - _iter1666.write(oprot); + _iter1674.write(oprot); } } } @@ -127732,19 +129107,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_auth_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1667.size); - @org.apache.thrift.annotation.Nullable Partition _elem1668; - for (int _i1669 = 0; _i1669 < _list1667.size; ++_i1669) + org.apache.thrift.protocol.TList _list1675 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1675.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem1676; + for (int _i1677 = 0; _i1677 < _list1675.size; ++_i1677) { - _elem1668 = new Partition(); - _elem1668.read(iprot); - struct.success.add(_elem1668); + _elem1676 = new PartitionSpec(); + _elem1676.read(iprot); + struct.success.add(_elem1676); } } struct.setSuccessIsSet(true); @@ -127767,19 +129142,19 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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); 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_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I32, (short)3); + private static final org.apache.thrift.protocol.TField MAX_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I16, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partitions_pspec_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partitions_pspec_argsTupleSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partition_names_argsStandardSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partition_names_argsTupleSchemeFactory(); private @org.apache.thrift.annotation.Nullable java.lang.String db_name; // required private @org.apache.thrift.annotation.Nullable java.lang.String tbl_name; // required - private int max_parts; // required + private short max_parts; // 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 { @@ -127858,20 +129233,20 @@ public short getThriftFieldId() { 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_PARTS, new org.apache.thrift.meta_data.FieldMetaData("max_parts", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_pspec_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_names_args.class, metaDataMap); } - public get_partitions_pspec_args() { - this.max_parts = -1; + public get_partition_names_args() { + this.max_parts = (short)-1; } - public get_partitions_pspec_args( + public get_partition_names_args( java.lang.String db_name, java.lang.String tbl_name, - int max_parts) + short max_parts) { this(); this.db_name = db_name; @@ -127883,7 +129258,7 @@ public get_partitions_pspec_args( /** * Performs a deep copy on other. */ - public get_partitions_pspec_args(get_partitions_pspec_args other) { + public get_partition_names_args(get_partition_names_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetDb_name()) { this.db_name = other.db_name; @@ -127894,15 +129269,15 @@ public get_partitions_pspec_args(get_partitions_pspec_args other) { this.max_parts = other.max_parts; } - public get_partitions_pspec_args deepCopy() { - return new get_partitions_pspec_args(this); + public get_partition_names_args deepCopy() { + return new get_partition_names_args(this); } @Override public void clear() { this.db_name = null; this.tbl_name = null; - this.max_parts = -1; + this.max_parts = (short)-1; } @@ -127954,11 +129329,11 @@ public void setTbl_nameIsSet(boolean value) { } } - public int getMax_parts() { + public short getMax_parts() { return this.max_parts; } - public void setMax_parts(int max_parts) { + public void setMax_parts(short max_parts) { this.max_parts = max_parts; setMax_partsIsSet(true); } @@ -127998,7 +129373,7 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable if (value == null) { unsetMax_parts(); } else { - setMax_parts((java.lang.Integer)value); + setMax_parts((java.lang.Short)value); } break; @@ -128042,12 +129417,12 @@ public boolean isSet(_Fields field) { public boolean equals(java.lang.Object that) { if (that == null) return false; - if (that instanceof get_partitions_pspec_args) - return this.equals((get_partitions_pspec_args)that); + if (that instanceof get_partition_names_args) + return this.equals((get_partition_names_args)that); return false; } - public boolean equals(get_partitions_pspec_args that) { + public boolean equals(get_partition_names_args that) { if (that == null) return false; if (this == that) @@ -128101,7 +129476,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_pspec_args other) { + public int compareTo(get_partition_names_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -128156,7 +129531,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partitions_pspec_args("); + java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partition_names_args("); boolean first = true; sb.append("db_name:"); @@ -128205,15 +129580,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_pspec_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partitions_pspec_argsStandardScheme getScheme() { - return new get_partitions_pspec_argsStandardScheme(); + private static class get_partition_names_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partition_names_argsStandardScheme getScheme() { + return new get_partition_names_argsStandardScheme(); } } - private static class get_partitions_pspec_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class get_partition_names_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -128240,8 +129615,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe } break; case 3: // MAX_PARTS - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.max_parts = iprot.readI32(); + if (schemeField.type == org.apache.thrift.protocol.TType.I16) { + struct.max_parts = iprot.readI16(); struct.setMax_partsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -128256,7 +129631,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_names_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -128271,7 +129646,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp oprot.writeFieldEnd(); } oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); - oprot.writeI32(struct.max_parts); + oprot.writeI16(struct.max_parts); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); @@ -128279,16 +129654,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp } - private static class get_partitions_pspec_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partitions_pspec_argsTupleScheme getScheme() { - return new get_partitions_pspec_argsTupleScheme(); + private static class get_partition_names_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partition_names_argsTupleScheme getScheme() { + return new get_partition_names_argsTupleScheme(); } } - private static class get_partitions_pspec_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class get_partition_names_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetDb_name()) { @@ -128308,12 +129683,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe oprot.writeString(struct.tbl_name); } if (struct.isSetMax_parts()) { - oprot.writeI32(struct.max_parts); + oprot.writeI16(struct.max_parts); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { @@ -128325,7 +129700,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec struct.setTbl_nameIsSet(true); } if (incoming.get(2)) { - struct.max_parts = iprot.readI32(); + struct.max_parts = iprot.readI16(); struct.setMax_partsIsSet(true); } } @@ -128336,17 +129711,17 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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); 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.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partitions_pspec_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partitions_pspec_resultTupleSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partition_names_resultStandardSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partition_names_resultTupleSchemeFactory(); - private @org.apache.thrift.annotation.Nullable java.util.List success; // required + private @org.apache.thrift.annotation.Nullable java.util.List success; // required private @org.apache.thrift.annotation.Nullable NoSuchObjectException o1; // required private @org.apache.thrift.annotation.Nullable MetaException o2; // required @@ -128422,20 +129797,20 @@ public short getThriftFieldId() { java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.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, PartitionSpec.class)))); + 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.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, NoSuchObjectException.class))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, MetaException.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_pspec_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_names_result.class, metaDataMap); } - public get_partitions_pspec_result() { + public get_partition_names_result() { } - public get_partitions_pspec_result( - java.util.List success, + public get_partition_names_result( + java.util.List success, NoSuchObjectException o1, MetaException o2) { @@ -128448,12 +129823,9 @@ public get_partitions_pspec_result( /** * Performs a deep copy on other. */ - public get_partitions_pspec_result(get_partitions_pspec_result other) { + public get_partition_names_result(get_partition_names_result other) { if (other.isSetSuccess()) { - java.util.List __this__success = new java.util.ArrayList(other.success.size()); - for (PartitionSpec other_element : other.success) { - __this__success.add(new PartitionSpec(other_element)); - } + java.util.List __this__success = new java.util.ArrayList(other.success); this.success = __this__success; } if (other.isSetO1()) { @@ -128464,8 +129836,8 @@ public get_partitions_pspec_result(get_partitions_pspec_result other) { } } - public get_partitions_pspec_result deepCopy() { - return new get_partitions_pspec_result(this); + public get_partition_names_result deepCopy() { + return new get_partition_names_result(this); } @Override @@ -128480,23 +129852,23 @@ public int getSuccessSize() { } @org.apache.thrift.annotation.Nullable - public java.util.Iterator getSuccessIterator() { + public java.util.Iterator getSuccessIterator() { return (this.success == null) ? null : this.success.iterator(); } - public void addToSuccess(PartitionSpec elem) { + public void addToSuccess(java.lang.String elem) { if (this.success == null) { - this.success = new java.util.ArrayList(); + this.success = new java.util.ArrayList(); } this.success.add(elem); } @org.apache.thrift.annotation.Nullable - public java.util.List getSuccess() { + public java.util.List getSuccess() { return this.success; } - public void setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public void setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { this.success = success; } @@ -128569,7 +129941,7 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable if (value == null) { unsetSuccess(); } else { - setSuccess((java.util.List)value); + setSuccess((java.util.List)value); } break; @@ -128629,12 +130001,12 @@ public boolean isSet(_Fields field) { public boolean equals(java.lang.Object that) { if (that == null) return false; - if (that instanceof get_partitions_pspec_result) - return this.equals((get_partitions_pspec_result)that); + if (that instanceof get_partition_names_result) + return this.equals((get_partition_names_result)that); return false; } - public boolean equals(get_partitions_pspec_result that) { + public boolean equals(get_partition_names_result that) { if (that == null) return false; if (this == that) @@ -128690,7 +130062,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_pspec_result other) { + public int compareTo(get_partition_names_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -128745,7 +130117,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partitions_pspec_result("); + java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partition_names_result("); boolean first = true; sb.append("success:"); @@ -128796,15 +130168,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_pspec_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partitions_pspec_resultStandardScheme getScheme() { - return new get_partitions_pspec_resultStandardScheme(); + private static class get_partition_names_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partition_names_resultStandardScheme getScheme() { + return new get_partition_names_resultStandardScheme(); } } - private static class get_partitions_pspec_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class get_partition_names_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -128817,14 +130189,13 @@ 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 _list1670 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1670.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem1671; - for (int _i1672 = 0; _i1672 < _list1670.size; ++_i1672) + org.apache.thrift.protocol.TList _list1678 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1678.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1679; + for (int _i1680 = 0; _i1680 < _list1678.size; ++_i1680) { - _elem1671 = new PartitionSpec(); - _elem1671.read(iprot); - struct.success.add(_elem1671); + _elem1679 = iprot.readString(); + struct.success.add(_elem1679); } iprot.readListEnd(); } @@ -128860,17 +130231,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_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 (PartitionSpec _iter1673 : struct.success) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (java.lang.String _iter1681 : struct.success) { - _iter1673.write(oprot); + oprot.writeString(_iter1681); } oprot.writeListEnd(); } @@ -128892,16 +130263,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp } - private static class get_partitions_pspec_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partitions_pspec_resultTupleScheme getScheme() { - return new get_partitions_pspec_resultTupleScheme(); + private static class get_partition_names_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partition_names_resultTupleScheme getScheme() { + return new get_partition_names_resultTupleScheme(); } } - private static class get_partitions_pspec_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class get_partition_names_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { @@ -128917,9 +130288,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1674 : struct.success) + for (java.lang.String _iter1682 : struct.success) { - _iter1674.write(oprot); + oprot.writeString(_iter1682); } } } @@ -128932,19 +130303,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1675 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1675.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem1676; - for (int _i1677 = 0; _i1677 < _list1675.size; ++_i1677) + org.apache.thrift.protocol.TList _list1683 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1683.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1684; + for (int _i1685 = 0; _i1685 < _list1683.size; ++_i1685) { - _elem1676 = new PartitionSpec(); - _elem1676.read(iprot); - struct.success.add(_elem1676); + _elem1684 = iprot.readString(); + struct.success.add(_elem1684); } } struct.setSuccessIsSet(true); @@ -128967,24 +130337,24 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_locations_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_locations_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 TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tblName", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField MAX_PARTS_FIELD_DESC = new org.apache.thrift.protocol.TField("max_parts", org.apache.thrift.protocol.TType.I16, (short)3); - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partition_names_argsStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partition_names_argsTupleSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partition_locations_argsStandardSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partition_locations_argsTupleSchemeFactory(); private @org.apache.thrift.annotation.Nullable java.lang.String db_name; // required - private @org.apache.thrift.annotation.Nullable java.lang.String tbl_name; // required + private @org.apache.thrift.annotation.Nullable java.lang.String tblName; // required private short max_parts; // 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"), + TBL_NAME((short)2, "tblName"), MAX_PARTS((short)3, "max_parts"); private static final java.util.Map byName = new java.util.HashMap(); @@ -129055,27 +130425,27 @@ public short getThriftFieldId() { java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.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, + tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tblName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.MAX_PARTS, new org.apache.thrift.meta_data.FieldMetaData("max_parts", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_names_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_locations_args.class, metaDataMap); } - public get_partition_names_args() { + public get_partition_locations_args() { this.max_parts = (short)-1; } - public get_partition_names_args( + public get_partition_locations_args( java.lang.String db_name, - java.lang.String tbl_name, + java.lang.String tblName, short max_parts) { this(); this.db_name = db_name; - this.tbl_name = tbl_name; + this.tblName = tblName; this.max_parts = max_parts; setMax_partsIsSet(true); } @@ -129083,25 +130453,25 @@ public get_partition_names_args( /** * Performs a deep copy on other. */ - public get_partition_names_args(get_partition_names_args other) { + public get_partition_locations_args(get_partition_locations_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.isSetTblName()) { + this.tblName = other.tblName; } this.max_parts = other.max_parts; } - public get_partition_names_args deepCopy() { - return new get_partition_names_args(this); + public get_partition_locations_args deepCopy() { + return new get_partition_locations_args(this); } @Override public void clear() { this.db_name = null; - this.tbl_name = null; + this.tblName = null; this.max_parts = (short)-1; } @@ -129131,26 +130501,26 @@ public void setDb_nameIsSet(boolean value) { } @org.apache.thrift.annotation.Nullable - public java.lang.String getTbl_name() { - return this.tbl_name; + public java.lang.String getTblName() { + return this.tblName; } - public void setTbl_name(@org.apache.thrift.annotation.Nullable java.lang.String tbl_name) { - this.tbl_name = tbl_name; + public void setTblName(@org.apache.thrift.annotation.Nullable java.lang.String tblName) { + this.tblName = tblName; } - public void unsetTbl_name() { - this.tbl_name = null; + public void unsetTblName() { + this.tblName = 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 tblName is set (has been assigned a value) and false otherwise */ + public boolean isSetTblName() { + return this.tblName != null; } - public void setTbl_nameIsSet(boolean value) { + public void setTblNameIsSet(boolean value) { if (!value) { - this.tbl_name = null; + this.tblName = null; } } @@ -129188,9 +130558,9 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable case TBL_NAME: if (value == null) { - unsetTbl_name(); + unsetTblName(); } else { - setTbl_name((java.lang.String)value); + setTblName((java.lang.String)value); } break; @@ -129212,7 +130582,7 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable return getDb_name(); case TBL_NAME: - return getTbl_name(); + return getTblName(); case MAX_PARTS: return getMax_parts(); @@ -129231,7 +130601,7 @@ public boolean isSet(_Fields field) { case DB_NAME: return isSetDb_name(); case TBL_NAME: - return isSetTbl_name(); + return isSetTblName(); case MAX_PARTS: return isSetMax_parts(); } @@ -129242,12 +130612,12 @@ public boolean isSet(_Fields field) { public boolean equals(java.lang.Object that) { if (that == null) return false; - if (that instanceof get_partition_names_args) - return this.equals((get_partition_names_args)that); + if (that instanceof get_partition_locations_args) + return this.equals((get_partition_locations_args)that); return false; } - public boolean equals(get_partition_names_args that) { + public boolean equals(get_partition_locations_args that) { if (that == null) return false; if (this == that) @@ -129262,12 +130632,12 @@ public boolean equals(get_partition_names_args that) { 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)) + boolean this_present_tblName = true && this.isSetTblName(); + boolean that_present_tblName = true && that.isSetTblName(); + if (this_present_tblName || that_present_tblName) { + if (!(this_present_tblName && that_present_tblName)) return false; - if (!this.tbl_name.equals(that.tbl_name)) + if (!this.tblName.equals(that.tblName)) return false; } @@ -129291,9 +130661,9 @@ public int hashCode() { if (isSetDb_name()) hashCode = hashCode * 8191 + db_name.hashCode(); - hashCode = hashCode * 8191 + ((isSetTbl_name()) ? 131071 : 524287); - if (isSetTbl_name()) - hashCode = hashCode * 8191 + tbl_name.hashCode(); + hashCode = hashCode * 8191 + ((isSetTblName()) ? 131071 : 524287); + if (isSetTblName()) + hashCode = hashCode * 8191 + tblName.hashCode(); hashCode = hashCode * 8191 + max_parts; @@ -129301,7 +130671,7 @@ public int hashCode() { } @Override - public int compareTo(get_partition_names_args other) { + public int compareTo(get_partition_locations_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -129318,12 +130688,12 @@ public int compareTo(get_partition_names_args other) { return lastComparison; } } - lastComparison = java.lang.Boolean.valueOf(isSetTbl_name()).compareTo(other.isSetTbl_name()); + lastComparison = java.lang.Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName()); if (lastComparison != 0) { return lastComparison; } - if (isSetTbl_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_name, other.tbl_name); + if (isSetTblName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName); if (lastComparison != 0) { return lastComparison; } @@ -129356,7 +130726,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partition_names_args("); + java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partition_locations_args("); boolean first = true; sb.append("db_name:"); @@ -129367,11 +130737,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. } first = false; if (!first) sb.append(", "); - sb.append("tbl_name:"); - if (this.tbl_name == null) { + sb.append("tblName:"); + if (this.tblName == null) { sb.append("null"); } else { - sb.append(this.tbl_name); + sb.append(this.tblName); } first = false; if (!first) sb.append(", "); @@ -129405,15 +130775,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partition_names_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partition_names_argsStandardScheme getScheme() { - return new get_partition_names_argsStandardScheme(); + private static class get_partition_locations_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partition_locations_argsStandardScheme getScheme() { + return new get_partition_locations_argsStandardScheme(); } } - private static class get_partition_names_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class get_partition_locations_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_locations_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -129433,8 +130803,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names break; case 2: // TBL_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); + struct.tblName = iprot.readString(); + struct.setTblNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -129456,7 +130826,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_names_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_locations_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -129465,9 +130835,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeString(struct.db_name); oprot.writeFieldEnd(); } - if (struct.tbl_name != null) { + if (struct.tblName != null) { oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); - oprot.writeString(struct.tbl_name); + oprot.writeString(struct.tblName); oprot.writeFieldEnd(); } oprot.writeFieldBegin(MAX_PARTS_FIELD_DESC); @@ -129479,22 +130849,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name } - private static class get_partition_names_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partition_names_argsTupleScheme getScheme() { - return new get_partition_names_argsTupleScheme(); + private static class get_partition_locations_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partition_locations_argsTupleScheme getScheme() { + return new get_partition_locations_argsTupleScheme(); } } - private static class get_partition_names_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class get_partition_locations_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_locations_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetDb_name()) { optionals.set(0); } - if (struct.isSetTbl_name()) { + if (struct.isSetTblName()) { optionals.set(1); } if (struct.isSetMax_parts()) { @@ -129504,8 +130874,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetDb_name()) { oprot.writeString(struct.db_name); } - if (struct.isSetTbl_name()) { - oprot.writeString(struct.tbl_name); + if (struct.isSetTblName()) { + oprot.writeString(struct.tblName); } if (struct.isSetMax_parts()) { oprot.writeI16(struct.max_parts); @@ -129513,7 +130883,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_locations_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { @@ -129521,8 +130891,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ struct.setDb_nameIsSet(true); } if (incoming.get(1)) { - struct.tbl_name = iprot.readString(); - struct.setTbl_nameIsSet(true); + struct.tblName = iprot.readString(); + struct.setTblNameIsSet(true); } if (incoming.get(2)) { struct.max_parts = iprot.readI16(); @@ -129536,17 +130906,17 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable 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"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_partition_locations_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_locations_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 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.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partition_names_resultStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partition_names_resultTupleSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new get_partition_locations_resultStandardSchemeFactory(); + private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new get_partition_locations_resultTupleSchemeFactory(); - private @org.apache.thrift.annotation.Nullable java.util.List success; // required + private @org.apache.thrift.annotation.Nullable java.util.Map success; // required private @org.apache.thrift.annotation.Nullable NoSuchObjectException o1; // required private @org.apache.thrift.annotation.Nullable MetaException o2; // required @@ -129621,21 +130991,22 @@ public short getThriftFieldId() { static { java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.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.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, NoSuchObjectException.class))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, MetaException.class))); metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_names_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partition_locations_result.class, metaDataMap); } - public get_partition_names_result() { + public get_partition_locations_result() { } - public get_partition_names_result( - java.util.List success, + public get_partition_locations_result( + java.util.Map success, NoSuchObjectException o1, MetaException o2) { @@ -129648,9 +131019,9 @@ public get_partition_names_result( /** * Performs a deep copy on other. */ - public get_partition_names_result(get_partition_names_result other) { + public get_partition_locations_result(get_partition_locations_result other) { if (other.isSetSuccess()) { - java.util.List __this__success = new java.util.ArrayList(other.success); + java.util.Map __this__success = new java.util.HashMap(other.success); this.success = __this__success; } if (other.isSetO1()) { @@ -129661,8 +131032,8 @@ public get_partition_names_result(get_partition_names_result other) { } } - public get_partition_names_result deepCopy() { - return new get_partition_names_result(this); + public get_partition_locations_result deepCopy() { + return new get_partition_locations_result(this); } @Override @@ -129676,24 +131047,19 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - @org.apache.thrift.annotation.Nullable - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(java.lang.String elem) { + public void putToSuccess(java.lang.String key, java.lang.String val) { if (this.success == null) { - this.success = new java.util.ArrayList(); + this.success = new java.util.HashMap(); } - this.success.add(elem); + this.success.put(key, val); } @org.apache.thrift.annotation.Nullable - public java.util.List getSuccess() { + public java.util.Map getSuccess() { return this.success; } - public void setSuccess(@org.apache.thrift.annotation.Nullable java.util.List success) { + public void setSuccess(@org.apache.thrift.annotation.Nullable java.util.Map success) { this.success = success; } @@ -129766,7 +131132,7 @@ public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable if (value == null) { unsetSuccess(); } else { - setSuccess((java.util.List)value); + setSuccess((java.util.Map)value); } break; @@ -129826,12 +131192,12 @@ public boolean isSet(_Fields field) { public boolean equals(java.lang.Object that) { if (that == null) return false; - if (that instanceof get_partition_names_result) - return this.equals((get_partition_names_result)that); + if (that instanceof get_partition_locations_result) + return this.equals((get_partition_locations_result)that); return false; } - public boolean equals(get_partition_names_result that) { + public boolean equals(get_partition_locations_result that) { if (that == null) return false; if (this == that) @@ -129887,7 +131253,7 @@ public int hashCode() { } @Override - public int compareTo(get_partition_names_result other) { + public int compareTo(get_partition_locations_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -129942,7 +131308,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partition_names_result("); + java.lang.StringBuilder sb = new java.lang.StringBuilder("get_partition_locations_result("); boolean first = true; sb.append("success:"); @@ -129993,15 +131359,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partition_names_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partition_names_resultStandardScheme getScheme() { - return new get_partition_names_resultStandardScheme(); + private static class get_partition_locations_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partition_locations_resultStandardScheme getScheme() { + return new get_partition_locations_resultStandardScheme(); } } - private static class get_partition_names_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { + private static class get_partition_locations_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_locations_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -130012,17 +131378,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names } 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 _list1678 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1678.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1679; - for (int _i1680 = 0; _i1680 < _list1678.size; ++_i1680) + org.apache.thrift.protocol.TMap _map1686 = iprot.readMapBegin(); + struct.success = new java.util.HashMap(2*_map1686.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1687; + @org.apache.thrift.annotation.Nullable java.lang.String _val1688; + for (int _i1689 = 0; _i1689 < _map1686.size; ++_i1689) { - _elem1679 = iprot.readString(); - struct.success.add(_elem1679); + _key1687 = iprot.readString(); + _val1688 = iprot.readString(); + struct.success.put(_key1687, _val1688); } - iprot.readListEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } else { @@ -130056,19 +131424,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_names_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_locations_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 (java.lang.String _iter1681 : 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 (java.util.Map.Entry _iter1690 : struct.success.entrySet()) { - oprot.writeString(_iter1681); + oprot.writeString(_iter1690.getKey()); + oprot.writeString(_iter1690.getValue()); } - oprot.writeListEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -130088,16 +131457,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name } - private static class get_partition_names_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { - public get_partition_names_resultTupleScheme getScheme() { - return new get_partition_names_resultTupleScheme(); + private static class get_partition_locations_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory { + public get_partition_locations_resultTupleScheme getScheme() { + return new get_partition_locations_resultTupleScheme(); } } - private static class get_partition_names_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { + private static class get_partition_locations_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_locations_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetSuccess()) { @@ -130113,9 +131482,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1682 : struct.success) + for (java.util.Map.Entry _iter1691 : struct.success.entrySet()) { - oprot.writeString(_iter1682); + oprot.writeString(_iter1691.getKey()); + oprot.writeString(_iter1691.getValue()); } } } @@ -130128,18 +131498,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_locations_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1683 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1683.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1684; - for (int _i1685 = 0; _i1685 < _list1683.size; ++_i1685) + org.apache.thrift.protocol.TMap _map1692 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.HashMap(2*_map1692.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1693; + @org.apache.thrift.annotation.Nullable java.lang.String _val1694; + for (int _i1695 = 0; _i1695 < _map1692.size; ++_i1695) { - _elem1684 = iprot.readString(); - struct.success.add(_elem1684); + _key1693 = iprot.readString(); + _val1694 = iprot.readString(); + struct.success.put(_key1693, _val1694); } } struct.setSuccessIsSet(true); @@ -131686,13 +133058,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 _list1686 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1686.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1687; - for (int _i1688 = 0; _i1688 < _list1686.size; ++_i1688) + org.apache.thrift.protocol.TList _list1696 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1696.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1697; + for (int _i1698 = 0; _i1698 < _list1696.size; ++_i1698) { - _elem1687 = iprot.readString(); - struct.part_vals.add(_elem1687); + _elem1697 = iprot.readString(); + struct.part_vals.add(_elem1697); } iprot.readListEnd(); } @@ -131736,9 +133108,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 (java.lang.String _iter1689 : struct.part_vals) + for (java.lang.String _iter1699 : struct.part_vals) { - oprot.writeString(_iter1689); + oprot.writeString(_iter1699); } oprot.writeListEnd(); } @@ -131787,9 +133159,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 (java.lang.String _iter1690 : struct.part_vals) + for (java.lang.String _iter1700 : struct.part_vals) { - oprot.writeString(_iter1690); + oprot.writeString(_iter1700); } } } @@ -131812,13 +133184,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1691 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new java.util.ArrayList(_list1691.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1692; - for (int _i1693 = 0; _i1693 < _list1691.size; ++_i1693) + org.apache.thrift.protocol.TList _list1701 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new java.util.ArrayList(_list1701.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1702; + for (int _i1703 = 0; _i1703 < _list1701.size; ++_i1703) { - _elem1692 = iprot.readString(); - struct.part_vals.add(_elem1692); + _elem1702 = iprot.readString(); + struct.part_vals.add(_elem1702); } } struct.setPart_valsIsSet(true); @@ -132316,14 +133688,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 _list1694 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1694.size); - @org.apache.thrift.annotation.Nullable Partition _elem1695; - for (int _i1696 = 0; _i1696 < _list1694.size; ++_i1696) + org.apache.thrift.protocol.TList _list1704 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1704.size); + @org.apache.thrift.annotation.Nullable Partition _elem1705; + for (int _i1706 = 0; _i1706 < _list1704.size; ++_i1706) { - _elem1695 = new Partition(); - _elem1695.read(iprot); - struct.success.add(_elem1695); + _elem1705 = new Partition(); + _elem1705.read(iprot); + struct.success.add(_elem1705); } iprot.readListEnd(); } @@ -132367,9 +133739,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 _iter1697 : struct.success) + for (Partition _iter1707 : struct.success) { - _iter1697.write(oprot); + _iter1707.write(oprot); } oprot.writeListEnd(); } @@ -132416,9 +133788,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1698 : struct.success) + for (Partition _iter1708 : struct.success) { - _iter1698.write(oprot); + _iter1708.write(oprot); } } } @@ -132436,14 +133808,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1699 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1699.size); - @org.apache.thrift.annotation.Nullable Partition _elem1700; - for (int _i1701 = 0; _i1701 < _list1699.size; ++_i1701) + org.apache.thrift.protocol.TList _list1709 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1709.size); + @org.apache.thrift.annotation.Nullable Partition _elem1710; + for (int _i1711 = 0; _i1711 < _list1709.size; ++_i1711) { - _elem1700 = new Partition(); - _elem1700.read(iprot); - struct.success.add(_elem1700); + _elem1710 = new Partition(); + _elem1710.read(iprot); + struct.success.add(_elem1710); } } struct.setSuccessIsSet(true); @@ -133220,13 +134592,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 _list1702 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1702.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1703; - for (int _i1704 = 0; _i1704 < _list1702.size; ++_i1704) + org.apache.thrift.protocol.TList _list1712 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1712.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1713; + for (int _i1714 = 0; _i1714 < _list1712.size; ++_i1714) { - _elem1703 = iprot.readString(); - struct.part_vals.add(_elem1703); + _elem1713 = iprot.readString(); + struct.part_vals.add(_elem1713); } iprot.readListEnd(); } @@ -133254,13 +134626,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 _list1705 = iprot.readListBegin(); - struct.group_names = new java.util.ArrayList(_list1705.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1706; - for (int _i1707 = 0; _i1707 < _list1705.size; ++_i1707) + org.apache.thrift.protocol.TList _list1715 = iprot.readListBegin(); + struct.group_names = new java.util.ArrayList(_list1715.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1716; + for (int _i1717 = 0; _i1717 < _list1715.size; ++_i1717) { - _elem1706 = iprot.readString(); - struct.group_names.add(_elem1706); + _elem1716 = iprot.readString(); + struct.group_names.add(_elem1716); } iprot.readListEnd(); } @@ -133296,9 +134668,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 (java.lang.String _iter1708 : struct.part_vals) + for (java.lang.String _iter1718 : struct.part_vals) { - oprot.writeString(_iter1708); + oprot.writeString(_iter1718); } oprot.writeListEnd(); } @@ -133316,9 +134688,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 (java.lang.String _iter1709 : struct.group_names) + for (java.lang.String _iter1719 : struct.group_names) { - oprot.writeString(_iter1709); + oprot.writeString(_iter1719); } oprot.writeListEnd(); } @@ -133370,9 +134742,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 (java.lang.String _iter1710 : struct.part_vals) + for (java.lang.String _iter1720 : struct.part_vals) { - oprot.writeString(_iter1710); + oprot.writeString(_iter1720); } } } @@ -133385,9 +134757,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 (java.lang.String _iter1711 : struct.group_names) + for (java.lang.String _iter1721 : struct.group_names) { - oprot.writeString(_iter1711); + oprot.writeString(_iter1721); } } } @@ -133407,13 +134779,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1712 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new java.util.ArrayList(_list1712.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1713; - for (int _i1714 = 0; _i1714 < _list1712.size; ++_i1714) + org.apache.thrift.protocol.TList _list1722 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new java.util.ArrayList(_list1722.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1723; + for (int _i1724 = 0; _i1724 < _list1722.size; ++_i1724) { - _elem1713 = iprot.readString(); - struct.part_vals.add(_elem1713); + _elem1723 = iprot.readString(); + struct.part_vals.add(_elem1723); } } struct.setPart_valsIsSet(true); @@ -133428,13 +134800,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1715 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new java.util.ArrayList(_list1715.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1716; - for (int _i1717 = 0; _i1717 < _list1715.size; ++_i1717) + org.apache.thrift.protocol.TList _list1725 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new java.util.ArrayList(_list1725.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1726; + for (int _i1727 = 0; _i1727 < _list1725.size; ++_i1727) { - _elem1716 = iprot.readString(); - struct.group_names.add(_elem1716); + _elem1726 = iprot.readString(); + struct.group_names.add(_elem1726); } } struct.setGroup_namesIsSet(true); @@ -133928,14 +135300,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 _list1718 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1718.size); - @org.apache.thrift.annotation.Nullable Partition _elem1719; - for (int _i1720 = 0; _i1720 < _list1718.size; ++_i1720) + org.apache.thrift.protocol.TList _list1728 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1728.size); + @org.apache.thrift.annotation.Nullable Partition _elem1729; + for (int _i1730 = 0; _i1730 < _list1728.size; ++_i1730) { - _elem1719 = new Partition(); - _elem1719.read(iprot); - struct.success.add(_elem1719); + _elem1729 = new Partition(); + _elem1729.read(iprot); + struct.success.add(_elem1729); } iprot.readListEnd(); } @@ -133979,9 +135351,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 _iter1721 : struct.success) + for (Partition _iter1731 : struct.success) { - _iter1721.write(oprot); + _iter1731.write(oprot); } oprot.writeListEnd(); } @@ -134028,9 +135400,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1722 : struct.success) + for (Partition _iter1732 : struct.success) { - _iter1722.write(oprot); + _iter1732.write(oprot); } } } @@ -134048,14 +135420,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1723 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1723.size); - @org.apache.thrift.annotation.Nullable Partition _elem1724; - for (int _i1725 = 0; _i1725 < _list1723.size; ++_i1725) + org.apache.thrift.protocol.TList _list1733 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1733.size); + @org.apache.thrift.annotation.Nullable Partition _elem1734; + for (int _i1735 = 0; _i1735 < _list1733.size; ++_i1735) { - _elem1724 = new Partition(); - _elem1724.read(iprot); - struct.success.add(_elem1724); + _elem1734 = new Partition(); + _elem1734.read(iprot); + struct.success.add(_elem1734); } } struct.setSuccessIsSet(true); @@ -135602,13 +136974,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 _list1726 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1726.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1727; - for (int _i1728 = 0; _i1728 < _list1726.size; ++_i1728) + org.apache.thrift.protocol.TList _list1736 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1736.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1737; + for (int _i1738 = 0; _i1738 < _list1736.size; ++_i1738) { - _elem1727 = iprot.readString(); - struct.part_vals.add(_elem1727); + _elem1737 = iprot.readString(); + struct.part_vals.add(_elem1737); } iprot.readListEnd(); } @@ -135652,9 +137024,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 (java.lang.String _iter1729 : struct.part_vals) + for (java.lang.String _iter1739 : struct.part_vals) { - oprot.writeString(_iter1729); + oprot.writeString(_iter1739); } oprot.writeListEnd(); } @@ -135703,9 +137075,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter1730 : struct.part_vals) + for (java.lang.String _iter1740 : struct.part_vals) { - oprot.writeString(_iter1730); + oprot.writeString(_iter1740); } } } @@ -135728,13 +137100,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1731 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new java.util.ArrayList(_list1731.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1732; - for (int _i1733 = 0; _i1733 < _list1731.size; ++_i1733) + org.apache.thrift.protocol.TList _list1741 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new java.util.ArrayList(_list1741.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1742; + for (int _i1743 = 0; _i1743 < _list1741.size; ++_i1743) { - _elem1732 = iprot.readString(); - struct.part_vals.add(_elem1732); + _elem1742 = iprot.readString(); + struct.part_vals.add(_elem1742); } } struct.setPart_valsIsSet(true); @@ -136229,13 +137601,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 _list1734 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1734.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1735; - for (int _i1736 = 0; _i1736 < _list1734.size; ++_i1736) + org.apache.thrift.protocol.TList _list1744 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1744.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1745; + for (int _i1746 = 0; _i1746 < _list1744.size; ++_i1746) { - _elem1735 = iprot.readString(); - struct.success.add(_elem1735); + _elem1745 = iprot.readString(); + struct.success.add(_elem1745); } iprot.readListEnd(); } @@ -136279,9 +137651,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 (java.lang.String _iter1737 : struct.success) + for (java.lang.String _iter1747 : struct.success) { - oprot.writeString(_iter1737); + oprot.writeString(_iter1747); } oprot.writeListEnd(); } @@ -136328,9 +137700,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1738 : struct.success) + for (java.lang.String _iter1748 : struct.success) { - oprot.writeString(_iter1738); + oprot.writeString(_iter1748); } } } @@ -136348,13 +137720,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1739 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1739.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1740; - for (int _i1741 = 0; _i1741 < _list1739.size; ++_i1741) + org.apache.thrift.protocol.TList _list1749 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1749.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1750; + for (int _i1751 = 0; _i1751 < _list1749.size; ++_i1751) { - _elem1740 = iprot.readString(); - struct.success.add(_elem1740); + _elem1750 = iprot.readString(); + struct.success.add(_elem1750); } } struct.setSuccessIsSet(true); @@ -138174,13 +139546,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 _list1742 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1742.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1743; - for (int _i1744 = 0; _i1744 < _list1742.size; ++_i1744) + org.apache.thrift.protocol.TList _list1752 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1752.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1753; + for (int _i1754 = 0; _i1754 < _list1752.size; ++_i1754) { - _elem1743 = iprot.readString(); - struct.success.add(_elem1743); + _elem1753 = iprot.readString(); + struct.success.add(_elem1753); } iprot.readListEnd(); } @@ -138224,9 +139596,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 (java.lang.String _iter1745 : struct.success) + for (java.lang.String _iter1755 : struct.success) { - oprot.writeString(_iter1745); + oprot.writeString(_iter1755); } oprot.writeListEnd(); } @@ -138273,9 +139645,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1746 : struct.success) + for (java.lang.String _iter1756 : struct.success) { - oprot.writeString(_iter1746); + oprot.writeString(_iter1756); } } } @@ -138293,13 +139665,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1747 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1747.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1748; - for (int _i1749 = 0; _i1749 < _list1747.size; ++_i1749) + org.apache.thrift.protocol.TList _list1757 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1757.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1758; + for (int _i1759 = 0; _i1759 < _list1757.size; ++_i1759) { - _elem1748 = iprot.readString(); - struct.success.add(_elem1748); + _elem1758 = iprot.readString(); + struct.success.add(_elem1758); } } struct.setSuccessIsSet(true); @@ -139476,14 +140848,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 _list1750 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1750.size); - @org.apache.thrift.annotation.Nullable Partition _elem1751; - for (int _i1752 = 0; _i1752 < _list1750.size; ++_i1752) + org.apache.thrift.protocol.TList _list1760 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1760.size); + @org.apache.thrift.annotation.Nullable Partition _elem1761; + for (int _i1762 = 0; _i1762 < _list1760.size; ++_i1762) { - _elem1751 = new Partition(); - _elem1751.read(iprot); - struct.success.add(_elem1751); + _elem1761 = new Partition(); + _elem1761.read(iprot); + struct.success.add(_elem1761); } iprot.readListEnd(); } @@ -139527,9 +140899,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 _iter1753 : struct.success) + for (Partition _iter1763 : struct.success) { - _iter1753.write(oprot); + _iter1763.write(oprot); } oprot.writeListEnd(); } @@ -139576,9 +140948,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1754 : struct.success) + for (Partition _iter1764 : struct.success) { - _iter1754.write(oprot); + _iter1764.write(oprot); } } } @@ -139596,14 +140968,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1755 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1755.size); - @org.apache.thrift.annotation.Nullable Partition _elem1756; - for (int _i1757 = 0; _i1757 < _list1755.size; ++_i1757) + org.apache.thrift.protocol.TList _list1765 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1765.size); + @org.apache.thrift.annotation.Nullable Partition _elem1766; + for (int _i1767 = 0; _i1767 < _list1765.size; ++_i1767) { - _elem1756 = new Partition(); - _elem1756.read(iprot); - struct.success.add(_elem1756); + _elem1766 = new Partition(); + _elem1766.read(iprot); + struct.success.add(_elem1766); } } struct.setSuccessIsSet(true); @@ -140780,14 +142152,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 _list1758 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1758.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem1759; - for (int _i1760 = 0; _i1760 < _list1758.size; ++_i1760) + org.apache.thrift.protocol.TList _list1768 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1768.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem1769; + for (int _i1770 = 0; _i1770 < _list1768.size; ++_i1770) { - _elem1759 = new PartitionSpec(); - _elem1759.read(iprot); - struct.success.add(_elem1759); + _elem1769 = new PartitionSpec(); + _elem1769.read(iprot); + struct.success.add(_elem1769); } iprot.readListEnd(); } @@ -140831,9 +142203,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 _iter1761 : struct.success) + for (PartitionSpec _iter1771 : struct.success) { - _iter1761.write(oprot); + _iter1771.write(oprot); } oprot.writeListEnd(); } @@ -140880,9 +142252,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 _iter1762 : struct.success) + for (PartitionSpec _iter1772 : struct.success) { - _iter1762.write(oprot); + _iter1772.write(oprot); } } } @@ -140900,14 +142272,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1763 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1763.size); - @org.apache.thrift.annotation.Nullable PartitionSpec _elem1764; - for (int _i1765 = 0; _i1765 < _list1763.size; ++_i1765) + org.apache.thrift.protocol.TList _list1773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1773.size); + @org.apache.thrift.annotation.Nullable PartitionSpec _elem1774; + for (int _i1775 = 0; _i1775 < _list1773.size; ++_i1775) { - _elem1764 = new PartitionSpec(); - _elem1764.read(iprot); - struct.success.add(_elem1764); + _elem1774 = new PartitionSpec(); + _elem1774.read(iprot); + struct.success.add(_elem1774); } } struct.setSuccessIsSet(true); @@ -144469,13 +145841,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 _list1766 = iprot.readListBegin(); - struct.names = new java.util.ArrayList(_list1766.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1767; - for (int _i1768 = 0; _i1768 < _list1766.size; ++_i1768) + org.apache.thrift.protocol.TList _list1776 = iprot.readListBegin(); + struct.names = new java.util.ArrayList(_list1776.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1777; + for (int _i1778 = 0; _i1778 < _list1776.size; ++_i1778) { - _elem1767 = iprot.readString(); - struct.names.add(_elem1767); + _elem1777 = iprot.readString(); + struct.names.add(_elem1777); } iprot.readListEnd(); } @@ -144511,9 +145883,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 (java.lang.String _iter1769 : struct.names) + for (java.lang.String _iter1779 : struct.names) { - oprot.writeString(_iter1769); + oprot.writeString(_iter1779); } oprot.writeListEnd(); } @@ -144556,9 +145928,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (java.lang.String _iter1770 : struct.names) + for (java.lang.String _iter1780 : struct.names) { - oprot.writeString(_iter1770); + oprot.writeString(_iter1780); } } } @@ -144578,13 +145950,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1771 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new java.util.ArrayList(_list1771.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1772; - for (int _i1773 = 0; _i1773 < _list1771.size; ++_i1773) + org.apache.thrift.protocol.TList _list1781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new java.util.ArrayList(_list1781.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1782; + for (int _i1783 = 0; _i1783 < _list1781.size; ++_i1783) { - _elem1772 = iprot.readString(); - struct.names.add(_elem1772); + _elem1782 = iprot.readString(); + struct.names.add(_elem1782); } } struct.setNamesIsSet(true); @@ -145078,14 +146450,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 _list1774 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1774.size); - @org.apache.thrift.annotation.Nullable Partition _elem1775; - for (int _i1776 = 0; _i1776 < _list1774.size; ++_i1776) + org.apache.thrift.protocol.TList _list1784 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1784.size); + @org.apache.thrift.annotation.Nullable Partition _elem1785; + for (int _i1786 = 0; _i1786 < _list1784.size; ++_i1786) { - _elem1775 = new Partition(); - _elem1775.read(iprot); - struct.success.add(_elem1775); + _elem1785 = new Partition(); + _elem1785.read(iprot); + struct.success.add(_elem1785); } iprot.readListEnd(); } @@ -145129,9 +146501,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 _iter1777 : struct.success) + for (Partition _iter1787 : struct.success) { - _iter1777.write(oprot); + _iter1787.write(oprot); } oprot.writeListEnd(); } @@ -145178,9 +146550,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1778 : struct.success) + for (Partition _iter1788 : struct.success) { - _iter1778.write(oprot); + _iter1788.write(oprot); } } } @@ -145198,14 +146570,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1779 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1779.size); - @org.apache.thrift.annotation.Nullable Partition _elem1780; - for (int _i1781 = 0; _i1781 < _list1779.size; ++_i1781) + org.apache.thrift.protocol.TList _list1789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1789.size); + @org.apache.thrift.annotation.Nullable Partition _elem1790; + for (int _i1791 = 0; _i1791 < _list1789.size; ++_i1791) { - _elem1780 = new Partition(); - _elem1780.read(iprot); - struct.success.add(_elem1780); + _elem1790 = new Partition(); + _elem1790.read(iprot); + struct.success.add(_elem1790); } } struct.setSuccessIsSet(true); @@ -147724,14 +149096,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 _list1782 = iprot.readListBegin(); - struct.new_parts = new java.util.ArrayList(_list1782.size); - @org.apache.thrift.annotation.Nullable Partition _elem1783; - for (int _i1784 = 0; _i1784 < _list1782.size; ++_i1784) + org.apache.thrift.protocol.TList _list1792 = iprot.readListBegin(); + struct.new_parts = new java.util.ArrayList(_list1792.size); + @org.apache.thrift.annotation.Nullable Partition _elem1793; + for (int _i1794 = 0; _i1794 < _list1792.size; ++_i1794) { - _elem1783 = new Partition(); - _elem1783.read(iprot); - struct.new_parts.add(_elem1783); + _elem1793 = new Partition(); + _elem1793.read(iprot); + struct.new_parts.add(_elem1793); } iprot.readListEnd(); } @@ -147767,9 +149139,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 _iter1785 : struct.new_parts) + for (Partition _iter1795 : struct.new_parts) { - _iter1785.write(oprot); + _iter1795.write(oprot); } oprot.writeListEnd(); } @@ -147812,9 +149184,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 _iter1786 : struct.new_parts) + for (Partition _iter1796 : struct.new_parts) { - _iter1786.write(oprot); + _iter1796.write(oprot); } } } @@ -147834,14 +149206,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1787 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new java.util.ArrayList(_list1787.size); - @org.apache.thrift.annotation.Nullable Partition _elem1788; - for (int _i1789 = 0; _i1789 < _list1787.size; ++_i1789) + org.apache.thrift.protocol.TList _list1797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new java.util.ArrayList(_list1797.size); + @org.apache.thrift.annotation.Nullable Partition _elem1798; + for (int _i1799 = 0; _i1799 < _list1797.size; ++_i1799) { - _elem1788 = new Partition(); - _elem1788.read(iprot); - struct.new_parts.add(_elem1788); + _elem1798 = new Partition(); + _elem1798.read(iprot); + struct.new_parts.add(_elem1798); } } struct.setNew_partsIsSet(true); @@ -148907,14 +150279,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_wi case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1790 = iprot.readListBegin(); - struct.new_parts = new java.util.ArrayList(_list1790.size); - @org.apache.thrift.annotation.Nullable Partition _elem1791; - for (int _i1792 = 0; _i1792 < _list1790.size; ++_i1792) + org.apache.thrift.protocol.TList _list1800 = iprot.readListBegin(); + struct.new_parts = new java.util.ArrayList(_list1800.size); + @org.apache.thrift.annotation.Nullable Partition _elem1801; + for (int _i1802 = 0; _i1802 < _list1800.size; ++_i1802) { - _elem1791 = new Partition(); - _elem1791.read(iprot); - struct.new_parts.add(_elem1791); + _elem1801 = new Partition(); + _elem1801.read(iprot); + struct.new_parts.add(_elem1801); } iprot.readListEnd(); } @@ -148959,9 +150331,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_w 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 _iter1793 : struct.new_parts) + for (Partition _iter1803 : struct.new_parts) { - _iter1793.write(oprot); + _iter1803.write(oprot); } oprot.writeListEnd(); } @@ -149012,9 +150384,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wi if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1794 : struct.new_parts) + for (Partition _iter1804 : struct.new_parts) { - _iter1794.write(oprot); + _iter1804.write(oprot); } } } @@ -149037,14 +150409,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1795 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new java.util.ArrayList(_list1795.size); - @org.apache.thrift.annotation.Nullable Partition _elem1796; - for (int _i1797 = 0; _i1797 < _list1795.size; ++_i1797) + org.apache.thrift.protocol.TList _list1805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new java.util.ArrayList(_list1805.size); + @org.apache.thrift.annotation.Nullable Partition _elem1806; + for (int _i1807 = 0; _i1807 < _list1805.size; ++_i1807) { - _elem1796 = new Partition(); - _elem1796.read(iprot); - struct.new_parts.add(_elem1796); + _elem1806 = new Partition(); + _elem1806.read(iprot); + struct.new_parts.add(_elem1806); } } struct.setNew_partsIsSet(true); @@ -152220,13 +153592,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 _list1798 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1798.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1799; - for (int _i1800 = 0; _i1800 < _list1798.size; ++_i1800) + org.apache.thrift.protocol.TList _list1808 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1808.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1809; + for (int _i1810 = 0; _i1810 < _list1808.size; ++_i1810) { - _elem1799 = iprot.readString(); - struct.part_vals.add(_elem1799); + _elem1809 = iprot.readString(); + struct.part_vals.add(_elem1809); } iprot.readListEnd(); } @@ -152271,9 +153643,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 (java.lang.String _iter1801 : struct.part_vals) + for (java.lang.String _iter1811 : struct.part_vals) { - oprot.writeString(_iter1801); + oprot.writeString(_iter1811); } oprot.writeListEnd(); } @@ -152324,9 +153696,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, rename_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter1802 : struct.part_vals) + for (java.lang.String _iter1812 : struct.part_vals) { - oprot.writeString(_iter1802); + oprot.writeString(_iter1812); } } } @@ -152349,13 +153721,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1803 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new java.util.ArrayList(_list1803.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1804; - for (int _i1805 = 0; _i1805 < _list1803.size; ++_i1805) + org.apache.thrift.protocol.TList _list1813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new java.util.ArrayList(_list1813.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1814; + for (int _i1815 = 0; _i1815 < _list1813.size; ++_i1815) { - _elem1804 = iprot.readString(); - struct.part_vals.add(_elem1804); + _elem1814 = iprot.readString(); + struct.part_vals.add(_elem1814); } } struct.setPart_valsIsSet(true); @@ -154189,13 +155561,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 _list1806 = iprot.readListBegin(); - struct.part_vals = new java.util.ArrayList(_list1806.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1807; - for (int _i1808 = 0; _i1808 < _list1806.size; ++_i1808) + org.apache.thrift.protocol.TList _list1816 = iprot.readListBegin(); + struct.part_vals = new java.util.ArrayList(_list1816.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1817; + for (int _i1818 = 0; _i1818 < _list1816.size; ++_i1818) { - _elem1807 = iprot.readString(); - struct.part_vals.add(_elem1807); + _elem1817 = iprot.readString(); + struct.part_vals.add(_elem1817); } iprot.readListEnd(); } @@ -154229,9 +155601,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 (java.lang.String _iter1809 : struct.part_vals) + for (java.lang.String _iter1819 : struct.part_vals) { - oprot.writeString(_iter1809); + oprot.writeString(_iter1819); } oprot.writeListEnd(); } @@ -154268,9 +155640,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.lang.String _iter1810 : struct.part_vals) + for (java.lang.String _iter1820 : struct.part_vals) { - oprot.writeString(_iter1810); + oprot.writeString(_iter1820); } } } @@ -154285,13 +155657,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1811 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new java.util.ArrayList(_list1811.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1812; - for (int _i1813 = 0; _i1813 < _list1811.size; ++_i1813) + org.apache.thrift.protocol.TList _list1821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new java.util.ArrayList(_list1821.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1822; + for (int _i1823 = 0; _i1823 < _list1821.size; ++_i1823) { - _elem1812 = iprot.readString(); - struct.part_vals.add(_elem1812); + _elem1822 = iprot.readString(); + struct.part_vals.add(_elem1822); } } struct.setPart_valsIsSet(true); @@ -156474,13 +157846,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1814 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1814.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1815; - for (int _i1816 = 0; _i1816 < _list1814.size; ++_i1816) + org.apache.thrift.protocol.TList _list1824 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1824.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1825; + for (int _i1826 = 0; _i1826 < _list1824.size; ++_i1826) { - _elem1815 = iprot.readString(); - struct.success.add(_elem1815); + _elem1825 = iprot.readString(); + struct.success.add(_elem1825); } iprot.readListEnd(); } @@ -156515,9 +157887,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1817 : struct.success) + for (java.lang.String _iter1827 : struct.success) { - oprot.writeString(_iter1817); + oprot.writeString(_iter1827); } oprot.writeListEnd(); } @@ -156556,9 +157928,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1818 : struct.success) + for (java.lang.String _iter1828 : struct.success) { - oprot.writeString(_iter1818); + oprot.writeString(_iter1828); } } } @@ -156573,13 +157945,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1819 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1819.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1820; - for (int _i1821 = 0; _i1821 < _list1819.size; ++_i1821) + org.apache.thrift.protocol.TList _list1829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1829.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1830; + for (int _i1831 = 0; _i1831 < _list1829.size; ++_i1831) { - _elem1820 = iprot.readString(); - struct.success.add(_elem1820); + _elem1830 = iprot.readString(); + struct.success.add(_elem1830); } } struct.setSuccessIsSet(true); @@ -157354,15 +158726,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1822 = iprot.readMapBegin(); - struct.success = new java.util.HashMap(2*_map1822.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1823; - @org.apache.thrift.annotation.Nullable java.lang.String _val1824; - for (int _i1825 = 0; _i1825 < _map1822.size; ++_i1825) + org.apache.thrift.protocol.TMap _map1832 = iprot.readMapBegin(); + struct.success = new java.util.HashMap(2*_map1832.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1833; + @org.apache.thrift.annotation.Nullable java.lang.String _val1834; + for (int _i1835 = 0; _i1835 < _map1832.size; ++_i1835) { - _key1823 = iprot.readString(); - _val1824 = iprot.readString(); - struct.success.put(_key1823, _val1824); + _key1833 = iprot.readString(); + _val1834 = iprot.readString(); + struct.success.put(_key1833, _val1834); } iprot.readMapEnd(); } @@ -157397,10 +158769,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.util.Map.Entry _iter1826 : struct.success.entrySet()) + for (java.util.Map.Entry _iter1836 : struct.success.entrySet()) { - oprot.writeString(_iter1826.getKey()); - oprot.writeString(_iter1826.getValue()); + oprot.writeString(_iter1836.getKey()); + oprot.writeString(_iter1836.getValue()); } oprot.writeMapEnd(); } @@ -157439,10 +158811,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.util.Map.Entry _iter1827 : struct.success.entrySet()) + for (java.util.Map.Entry _iter1837 : struct.success.entrySet()) { - oprot.writeString(_iter1827.getKey()); - oprot.writeString(_iter1827.getValue()); + oprot.writeString(_iter1837.getKey()); + oprot.writeString(_iter1837.getValue()); } } } @@ -157457,15 +158829,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1828 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new java.util.HashMap(2*_map1828.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1829; - @org.apache.thrift.annotation.Nullable java.lang.String _val1830; - for (int _i1831 = 0; _i1831 < _map1828.size; ++_i1831) + org.apache.thrift.protocol.TMap _map1838 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.HashMap(2*_map1838.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1839; + @org.apache.thrift.annotation.Nullable java.lang.String _val1840; + for (int _i1841 = 0; _i1841 < _map1838.size; ++_i1841) { - _key1829 = iprot.readString(); - _val1830 = iprot.readString(); - struct.success.put(_key1829, _val1830); + _key1839 = iprot.readString(); + _val1840 = iprot.readString(); + struct.success.put(_key1839, _val1840); } } struct.setSuccessIsSet(true); @@ -158066,15 +159438,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 _map1832 = iprot.readMapBegin(); - struct.part_vals = new java.util.HashMap(2*_map1832.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1833; - @org.apache.thrift.annotation.Nullable java.lang.String _val1834; - for (int _i1835 = 0; _i1835 < _map1832.size; ++_i1835) + org.apache.thrift.protocol.TMap _map1842 = iprot.readMapBegin(); + struct.part_vals = new java.util.HashMap(2*_map1842.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1843; + @org.apache.thrift.annotation.Nullable java.lang.String _val1844; + for (int _i1845 = 0; _i1845 < _map1842.size; ++_i1845) { - _key1833 = iprot.readString(); - _val1834 = iprot.readString(); - struct.part_vals.put(_key1833, _val1834); + _key1843 = iprot.readString(); + _val1844 = iprot.readString(); + struct.part_vals.put(_key1843, _val1844); } iprot.readMapEnd(); } @@ -158118,10 +159490,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 (java.util.Map.Entry _iter1836 : struct.part_vals.entrySet()) + for (java.util.Map.Entry _iter1846 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1836.getKey()); - oprot.writeString(_iter1836.getValue()); + oprot.writeString(_iter1846.getKey()); + oprot.writeString(_iter1846.getValue()); } oprot.writeMapEnd(); } @@ -158172,10 +159544,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.util.Map.Entry _iter1837 : struct.part_vals.entrySet()) + for (java.util.Map.Entry _iter1847 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1837.getKey()); - oprot.writeString(_iter1837.getValue()); + oprot.writeString(_iter1847.getKey()); + oprot.writeString(_iter1847.getValue()); } } } @@ -158198,15 +159570,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1838 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new java.util.HashMap(2*_map1838.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1839; - @org.apache.thrift.annotation.Nullable java.lang.String _val1840; - for (int _i1841 = 0; _i1841 < _map1838.size; ++_i1841) + org.apache.thrift.protocol.TMap _map1848 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new java.util.HashMap(2*_map1848.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1849; + @org.apache.thrift.annotation.Nullable java.lang.String _val1850; + for (int _i1851 = 0; _i1851 < _map1848.size; ++_i1851) { - _key1839 = iprot.readString(); - _val1840 = iprot.readString(); - struct.part_vals.put(_key1839, _val1840); + _key1849 = iprot.readString(); + _val1850 = iprot.readString(); + struct.part_vals.put(_key1849, _val1850); } } struct.setPart_valsIsSet(true); @@ -159702,15 +161074,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1842 = iprot.readMapBegin(); - struct.part_vals = new java.util.HashMap(2*_map1842.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1843; - @org.apache.thrift.annotation.Nullable java.lang.String _val1844; - for (int _i1845 = 0; _i1845 < _map1842.size; ++_i1845) + org.apache.thrift.protocol.TMap _map1852 = iprot.readMapBegin(); + struct.part_vals = new java.util.HashMap(2*_map1852.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1853; + @org.apache.thrift.annotation.Nullable java.lang.String _val1854; + for (int _i1855 = 0; _i1855 < _map1852.size; ++_i1855) { - _key1843 = iprot.readString(); - _val1844 = iprot.readString(); - struct.part_vals.put(_key1843, _val1844); + _key1853 = iprot.readString(); + _val1854 = iprot.readString(); + struct.part_vals.put(_key1853, _val1854); } iprot.readMapEnd(); } @@ -159754,10 +161126,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (java.util.Map.Entry _iter1846 : struct.part_vals.entrySet()) + for (java.util.Map.Entry _iter1856 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1846.getKey()); - oprot.writeString(_iter1846.getValue()); + oprot.writeString(_iter1856.getKey()); + oprot.writeString(_iter1856.getValue()); } oprot.writeMapEnd(); } @@ -159808,10 +161180,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (java.util.Map.Entry _iter1847 : struct.part_vals.entrySet()) + for (java.util.Map.Entry _iter1857 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1847.getKey()); - oprot.writeString(_iter1847.getValue()); + oprot.writeString(_iter1857.getKey()); + oprot.writeString(_iter1857.getValue()); } } } @@ -159834,15 +161206,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1848 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new java.util.HashMap(2*_map1848.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key1849; - @org.apache.thrift.annotation.Nullable java.lang.String _val1850; - for (int _i1851 = 0; _i1851 < _map1848.size; ++_i1851) + org.apache.thrift.protocol.TMap _map1858 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new java.util.HashMap(2*_map1858.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key1859; + @org.apache.thrift.annotation.Nullable java.lang.String _val1860; + for (int _i1861 = 0; _i1861 < _map1858.size; ++_i1861) { - _key1849 = iprot.readString(); - _val1850 = iprot.readString(); - struct.part_vals.put(_key1849, _val1850); + _key1859 = iprot.readString(); + _val1860 = iprot.readString(); + struct.part_vals.put(_key1859, _val1860); } } struct.setPart_valsIsSet(true); @@ -185909,13 +187281,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1852 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1852.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1853; - for (int _i1854 = 0; _i1854 < _list1852.size; ++_i1854) + org.apache.thrift.protocol.TList _list1862 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1862.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1863; + for (int _i1864 = 0; _i1864 < _list1862.size; ++_i1864) { - _elem1853 = iprot.readString(); - struct.success.add(_elem1853); + _elem1863 = iprot.readString(); + struct.success.add(_elem1863); } iprot.readListEnd(); } @@ -185950,9 +187322,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1855 : struct.success) + for (java.lang.String _iter1865 : struct.success) { - oprot.writeString(_iter1855); + oprot.writeString(_iter1865); } oprot.writeListEnd(); } @@ -185991,9 +187363,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1856 : struct.success) + for (java.lang.String _iter1866 : struct.success) { - oprot.writeString(_iter1856); + oprot.writeString(_iter1866); } } } @@ -186008,13 +187380,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1857 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1857.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1858; - for (int _i1859 = 0; _i1859 < _list1857.size; ++_i1859) + org.apache.thrift.protocol.TList _list1867 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1867.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1868; + for (int _i1869 = 0; _i1869 < _list1867.size; ++_i1869) { - _elem1858 = iprot.readString(); - struct.success.add(_elem1858); + _elem1868 = iprot.readString(); + struct.success.add(_elem1868); } } struct.setSuccessIsSet(true); @@ -190124,13 +191496,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 _list1860 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1860.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1861; - for (int _i1862 = 0; _i1862 < _list1860.size; ++_i1862) + org.apache.thrift.protocol.TList _list1870 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1870.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1871; + for (int _i1872 = 0; _i1872 < _list1870.size; ++_i1872) { - _elem1861 = iprot.readString(); - struct.success.add(_elem1861); + _elem1871 = iprot.readString(); + struct.success.add(_elem1871); } iprot.readListEnd(); } @@ -190165,9 +191537,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 (java.lang.String _iter1863 : struct.success) + for (java.lang.String _iter1873 : struct.success) { - oprot.writeString(_iter1863); + oprot.writeString(_iter1873); } oprot.writeListEnd(); } @@ -190206,9 +191578,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1864 : struct.success) + for (java.lang.String _iter1874 : struct.success) { - oprot.writeString(_iter1864); + oprot.writeString(_iter1874); } } } @@ -190223,13 +191595,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1865 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1865.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1866; - for (int _i1867 = 0; _i1867 < _list1865.size; ++_i1867) + org.apache.thrift.protocol.TList _list1875 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1875.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1876; + for (int _i1877 = 0; _i1877 < _list1875.size; ++_i1877) { - _elem1866 = iprot.readString(); - struct.success.add(_elem1866); + _elem1876 = iprot.readString(); + struct.success.add(_elem1876); } } struct.setSuccessIsSet(true); @@ -193548,14 +194920,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 _list1868 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1868.size); - @org.apache.thrift.annotation.Nullable Role _elem1869; - for (int _i1870 = 0; _i1870 < _list1868.size; ++_i1870) + org.apache.thrift.protocol.TList _list1878 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1878.size); + @org.apache.thrift.annotation.Nullable Role _elem1879; + for (int _i1880 = 0; _i1880 < _list1878.size; ++_i1880) { - _elem1869 = new Role(); - _elem1869.read(iprot); - struct.success.add(_elem1869); + _elem1879 = new Role(); + _elem1879.read(iprot); + struct.success.add(_elem1879); } iprot.readListEnd(); } @@ -193590,9 +194962,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 _iter1871 : struct.success) + for (Role _iter1881 : struct.success) { - _iter1871.write(oprot); + _iter1881.write(oprot); } oprot.writeListEnd(); } @@ -193631,9 +195003,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1872 : struct.success) + for (Role _iter1882 : struct.success) { - _iter1872.write(oprot); + _iter1882.write(oprot); } } } @@ -193648,14 +195020,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1873 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1873.size); - @org.apache.thrift.annotation.Nullable Role _elem1874; - for (int _i1875 = 0; _i1875 < _list1873.size; ++_i1875) + org.apache.thrift.protocol.TList _list1883 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1883.size); + @org.apache.thrift.annotation.Nullable Role _elem1884; + for (int _i1885 = 0; _i1885 < _list1883.size; ++_i1885) { - _elem1874 = new Role(); - _elem1874.read(iprot); - struct.success.add(_elem1874); + _elem1884 = new Role(); + _elem1884.read(iprot); + struct.success.add(_elem1884); } } struct.setSuccessIsSet(true); @@ -196703,13 +198075,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 _list1876 = iprot.readListBegin(); - struct.group_names = new java.util.ArrayList(_list1876.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1877; - for (int _i1878 = 0; _i1878 < _list1876.size; ++_i1878) + org.apache.thrift.protocol.TList _list1886 = iprot.readListBegin(); + struct.group_names = new java.util.ArrayList(_list1886.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1887; + for (int _i1888 = 0; _i1888 < _list1886.size; ++_i1888) { - _elem1877 = iprot.readString(); - struct.group_names.add(_elem1877); + _elem1887 = iprot.readString(); + struct.group_names.add(_elem1887); } iprot.readListEnd(); } @@ -196745,9 +198117,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 (java.lang.String _iter1879 : struct.group_names) + for (java.lang.String _iter1889 : struct.group_names) { - oprot.writeString(_iter1879); + oprot.writeString(_iter1889); } oprot.writeListEnd(); } @@ -196790,9 +198162,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 (java.lang.String _iter1880 : struct.group_names) + for (java.lang.String _iter1890 : struct.group_names) { - oprot.writeString(_iter1880); + oprot.writeString(_iter1890); } } } @@ -196813,13 +198185,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1881 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new java.util.ArrayList(_list1881.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1882; - for (int _i1883 = 0; _i1883 < _list1881.size; ++_i1883) + org.apache.thrift.protocol.TList _list1891 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new java.util.ArrayList(_list1891.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1892; + for (int _i1893 = 0; _i1893 < _list1891.size; ++_i1893) { - _elem1882 = iprot.readString(); - struct.group_names.add(_elem1882); + _elem1892 = iprot.readString(); + struct.group_names.add(_elem1892); } } struct.setGroup_namesIsSet(true); @@ -198296,14 +199668,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 _list1884 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1884.size); - @org.apache.thrift.annotation.Nullable HiveObjectPrivilege _elem1885; - for (int _i1886 = 0; _i1886 < _list1884.size; ++_i1886) + org.apache.thrift.protocol.TList _list1894 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1894.size); + @org.apache.thrift.annotation.Nullable HiveObjectPrivilege _elem1895; + for (int _i1896 = 0; _i1896 < _list1894.size; ++_i1896) { - _elem1885 = new HiveObjectPrivilege(); - _elem1885.read(iprot); - struct.success.add(_elem1885); + _elem1895 = new HiveObjectPrivilege(); + _elem1895.read(iprot); + struct.success.add(_elem1895); } iprot.readListEnd(); } @@ -198338,9 +199710,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 _iter1887 : struct.success) + for (HiveObjectPrivilege _iter1897 : struct.success) { - _iter1887.write(oprot); + _iter1897.write(oprot); } oprot.writeListEnd(); } @@ -198379,9 +199751,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1888 : struct.success) + for (HiveObjectPrivilege _iter1898 : struct.success) { - _iter1888.write(oprot); + _iter1898.write(oprot); } } } @@ -198396,14 +199768,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1889 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1889.size); - @org.apache.thrift.annotation.Nullable HiveObjectPrivilege _elem1890; - for (int _i1891 = 0; _i1891 < _list1889.size; ++_i1891) + org.apache.thrift.protocol.TList _list1899 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1899.size); + @org.apache.thrift.annotation.Nullable HiveObjectPrivilege _elem1900; + for (int _i1901 = 0; _i1901 < _list1899.size; ++_i1901) { - _elem1890 = new HiveObjectPrivilege(); - _elem1890.read(iprot); - struct.success.add(_elem1890); + _elem1900 = new HiveObjectPrivilege(); + _elem1900.read(iprot); + struct.success.add(_elem1900); } } struct.setSuccessIsSet(true); @@ -202399,13 +203771,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 _list1892 = iprot.readListBegin(); - struct.group_names = new java.util.ArrayList(_list1892.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1893; - for (int _i1894 = 0; _i1894 < _list1892.size; ++_i1894) + org.apache.thrift.protocol.TList _list1902 = iprot.readListBegin(); + struct.group_names = new java.util.ArrayList(_list1902.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1903; + for (int _i1904 = 0; _i1904 < _list1902.size; ++_i1904) { - _elem1893 = iprot.readString(); - struct.group_names.add(_elem1893); + _elem1903 = iprot.readString(); + struct.group_names.add(_elem1903); } iprot.readListEnd(); } @@ -202436,9 +203808,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 (java.lang.String _iter1895 : struct.group_names) + for (java.lang.String _iter1905 : struct.group_names) { - oprot.writeString(_iter1895); + oprot.writeString(_iter1905); } oprot.writeListEnd(); } @@ -202475,9 +203847,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 (java.lang.String _iter1896 : struct.group_names) + for (java.lang.String _iter1906 : struct.group_names) { - oprot.writeString(_iter1896); + oprot.writeString(_iter1906); } } } @@ -202493,13 +203865,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1897 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new java.util.ArrayList(_list1897.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1898; - for (int _i1899 = 0; _i1899 < _list1897.size; ++_i1899) + org.apache.thrift.protocol.TList _list1907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new java.util.ArrayList(_list1907.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1908; + for (int _i1909 = 0; _i1909 < _list1907.size; ++_i1909) { - _elem1898 = iprot.readString(); - struct.group_names.add(_elem1898); + _elem1908 = iprot.readString(); + struct.group_names.add(_elem1908); } } struct.setGroup_namesIsSet(true); @@ -202909,13 +204281,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 _list1900 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1900.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1901; - for (int _i1902 = 0; _i1902 < _list1900.size; ++_i1902) + org.apache.thrift.protocol.TList _list1910 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1910.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1911; + for (int _i1912 = 0; _i1912 < _list1910.size; ++_i1912) { - _elem1901 = iprot.readString(); - struct.success.add(_elem1901); + _elem1911 = iprot.readString(); + struct.success.add(_elem1911); } iprot.readListEnd(); } @@ -202950,9 +204322,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 (java.lang.String _iter1903 : struct.success) + for (java.lang.String _iter1913 : struct.success) { - oprot.writeString(_iter1903); + oprot.writeString(_iter1913); } oprot.writeListEnd(); } @@ -202991,9 +204363,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1904 : struct.success) + for (java.lang.String _iter1914 : struct.success) { - oprot.writeString(_iter1904); + oprot.writeString(_iter1914); } } } @@ -203008,13 +204380,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1905 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1905.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1906; - for (int _i1907 = 0; _i1907 < _list1905.size; ++_i1907) + org.apache.thrift.protocol.TList _list1915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1915.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1916; + for (int _i1917 = 0; _i1917 < _list1915.size; ++_i1917) { - _elem1906 = iprot.readString(); - struct.success.add(_elem1906); + _elem1916 = iprot.readString(); + struct.success.add(_elem1916); } } struct.setSuccessIsSet(true); @@ -208381,13 +209753,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_token_ident case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1908 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1908.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1909; - for (int _i1910 = 0; _i1910 < _list1908.size; ++_i1910) + org.apache.thrift.protocol.TList _list1918 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1918.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1919; + for (int _i1920 = 0; _i1920 < _list1918.size; ++_i1920) { - _elem1909 = iprot.readString(); - struct.success.add(_elem1909); + _elem1919 = iprot.readString(); + struct.success.add(_elem1919); } iprot.readListEnd(); } @@ -208413,9 +209785,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_token_iden oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1911 : struct.success) + for (java.lang.String _iter1921 : struct.success) { - oprot.writeString(_iter1911); + oprot.writeString(_iter1921); } oprot.writeListEnd(); } @@ -208446,9 +209818,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1912 : struct.success) + for (java.lang.String _iter1922 : struct.success) { - oprot.writeString(_iter1912); + oprot.writeString(_iter1922); } } } @@ -208460,13 +209832,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_token_identi java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1913 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1913.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1914; - for (int _i1915 = 0; _i1915 < _list1913.size; ++_i1915) + org.apache.thrift.protocol.TList _list1923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1923.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1924; + for (int _i1925 = 0; _i1925 < _list1923.size; ++_i1925) { - _elem1914 = iprot.readString(); - struct.success.add(_elem1914); + _elem1924 = iprot.readString(); + struct.success.add(_elem1924); } } struct.setSuccessIsSet(true); @@ -211533,13 +212905,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1916 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1916.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1917; - for (int _i1918 = 0; _i1918 < _list1916.size; ++_i1918) + org.apache.thrift.protocol.TList _list1926 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1926.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1927; + for (int _i1928 = 0; _i1928 < _list1926.size; ++_i1928) { - _elem1917 = iprot.readString(); - struct.success.add(_elem1917); + _elem1927 = iprot.readString(); + struct.success.add(_elem1927); } iprot.readListEnd(); } @@ -211565,9 +212937,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1919 : struct.success) + for (java.lang.String _iter1929 : struct.success) { - oprot.writeString(_iter1919); + oprot.writeString(_iter1929); } oprot.writeListEnd(); } @@ -211598,9 +212970,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1920 : struct.success) + for (java.lang.String _iter1930 : struct.success) { - oprot.writeString(_iter1920); + oprot.writeString(_iter1930); } } } @@ -211612,13 +212984,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1921 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1921.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1922; - for (int _i1923 = 0; _i1923 < _list1921.size; ++_i1923) + org.apache.thrift.protocol.TList _list1931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1931.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1932; + for (int _i1933 = 0; _i1933 < _list1931.size; ++_i1933) { - _elem1922 = iprot.readString(); - struct.success.add(_elem1922); + _elem1932 = iprot.readString(); + struct.success.add(_elem1932); } } struct.setSuccessIsSet(true); @@ -232141,13 +233513,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, find_columns_with_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1924 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1924.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1925; - for (int _i1926 = 0; _i1926 < _list1924.size; ++_i1926) + org.apache.thrift.protocol.TList _list1934 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1934.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1935; + for (int _i1936 = 0; _i1936 < _list1934.size; ++_i1936) { - _elem1925 = iprot.readString(); - struct.success.add(_elem1925); + _elem1935 = iprot.readString(); + struct.success.add(_elem1935); } iprot.readListEnd(); } @@ -232173,9 +233545,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, find_columns_with_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (java.lang.String _iter1927 : struct.success) + for (java.lang.String _iter1937 : struct.success) { - oprot.writeString(_iter1927); + oprot.writeString(_iter1937); } oprot.writeListEnd(); } @@ -232206,9 +233578,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, find_columns_with_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (java.lang.String _iter1928 : struct.success) + for (java.lang.String _iter1938 : struct.success) { - oprot.writeString(_iter1928); + oprot.writeString(_iter1938); } } } @@ -232220,13 +233592,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, find_columns_with_st java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1929 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1929.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem1930; - for (int _i1931 = 0; _i1931 < _list1929.size; ++_i1931) + org.apache.thrift.protocol.TList _list1939 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1939.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem1940; + for (int _i1941 = 0; _i1941 < _list1939.size; ++_i1941) { - _elem1930 = iprot.readString(); - struct.success.add(_elem1930); + _elem1940 = iprot.readString(); + struct.success.add(_elem1940); } } struct.setSuccessIsSet(true); @@ -269614,14 +270986,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_all_vers case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1932 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1932.size); - @org.apache.thrift.annotation.Nullable SchemaVersion _elem1933; - for (int _i1934 = 0; _i1934 < _list1932.size; ++_i1934) + org.apache.thrift.protocol.TList _list1942 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1942.size); + @org.apache.thrift.annotation.Nullable SchemaVersion _elem1943; + for (int _i1944 = 0; _i1944 < _list1942.size; ++_i1944) { - _elem1933 = new SchemaVersion(); - _elem1933.read(iprot); - struct.success.add(_elem1933); + _elem1943 = new SchemaVersion(); + _elem1943.read(iprot); + struct.success.add(_elem1943); } iprot.readListEnd(); } @@ -269665,9 +271037,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_all_ver oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (SchemaVersion _iter1935 : struct.success) + for (SchemaVersion _iter1945 : struct.success) { - _iter1935.write(oprot); + _iter1945.write(oprot); } oprot.writeListEnd(); } @@ -269714,9 +271086,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1936 : struct.success) + for (SchemaVersion _iter1946 : struct.success) { - _iter1936.write(oprot); + _iter1946.write(oprot); } } } @@ -269734,14 +271106,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_all_versi java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1937 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1937.size); - @org.apache.thrift.annotation.Nullable SchemaVersion _elem1938; - for (int _i1939 = 0; _i1939 < _list1937.size; ++_i1939) + org.apache.thrift.protocol.TList _list1947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1947.size); + @org.apache.thrift.annotation.Nullable SchemaVersion _elem1948; + for (int _i1949 = 0; _i1949 < _list1947.size; ++_i1949) { - _elem1938 = new SchemaVersion(); - _elem1938.read(iprot); - struct.success.add(_elem1938); + _elem1948 = new SchemaVersion(); + _elem1948.read(iprot); + struct.success.add(_elem1948); } } struct.setSuccessIsSet(true); @@ -278396,14 +279768,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_runtime_stats_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1940 = iprot.readListBegin(); - struct.success = new java.util.ArrayList(_list1940.size); - @org.apache.thrift.annotation.Nullable RuntimeStat _elem1941; - for (int _i1942 = 0; _i1942 < _list1940.size; ++_i1942) + org.apache.thrift.protocol.TList _list1950 = iprot.readListBegin(); + struct.success = new java.util.ArrayList(_list1950.size); + @org.apache.thrift.annotation.Nullable RuntimeStat _elem1951; + for (int _i1952 = 0; _i1952 < _list1950.size; ++_i1952) { - _elem1941 = new RuntimeStat(); - _elem1941.read(iprot); - struct.success.add(_elem1941); + _elem1951 = new RuntimeStat(); + _elem1951.read(iprot); + struct.success.add(_elem1951); } iprot.readListEnd(); } @@ -278438,9 +279810,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_runtime_stats_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (RuntimeStat _iter1943 : struct.success) + for (RuntimeStat _iter1953 : struct.success) { - _iter1943.write(oprot); + _iter1953.write(oprot); } oprot.writeListEnd(); } @@ -278479,9 +279851,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (RuntimeStat _iter1944 : struct.success) + for (RuntimeStat _iter1954 : struct.success) { - _iter1944.write(oprot); + _iter1954.write(oprot); } } } @@ -278496,14 +279868,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_re java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1945 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new java.util.ArrayList(_list1945.size); - @org.apache.thrift.annotation.Nullable RuntimeStat _elem1946; - for (int _i1947 = 0; _i1947 < _list1945.size; ++_i1947) + org.apache.thrift.protocol.TList _list1955 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new java.util.ArrayList(_list1955.size); + @org.apache.thrift.annotation.Nullable RuntimeStat _elem1956; + for (int _i1957 = 0; _i1957 < _list1955.size; ++_i1957) { - _elem1946 = new RuntimeStat(); - _elem1946.read(iprot); - struct.success.add(_elem1946); + _elem1956 = new RuntimeStat(); + _elem1956.read(iprot); + struct.success.add(_elem1956); } } struct.setSuccessIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastoreClient.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastoreClient.php index 08a2bc0c7b..5f8aaaba85 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastoreClient.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastoreClient.php @@ -5432,6 +5432,73 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_partition_names failed: unknown result"); } + public function get_partition_locations($db_name, $tblName, $max_parts) + { + $this->send_get_partition_locations($db_name, $tblName, $max_parts); + return $this->recv_get_partition_locations(); + } + + public function send_get_partition_locations($db_name, $tblName, $max_parts) + { + $args = new \metastore\ThriftHiveMetastore_get_partition_locations_args(); + $args->db_name = $db_name; + $args->tblName = $tblName; + $args->max_parts = $max_parts; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) { + thrift_protocol_write_binary( + $this->output_, + 'get_partition_locations', + TMessageType::CALL, + $args, + $this->seqid_, + $this->output_->isStrictWrite() + ); + } else { + $this->output_->writeMessageBegin('get_partition_locations', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_get_partition_locations() + { + $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_locations_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_partition_locations_result(); + $result->read($this->input_); + $this->input_->readMessageEnd(); + } + if ($result->success !== null) { + return $result->success; + } + if ($result->o1 !== null) { + throw $result->o1; + } + if ($result->o2 !== null) { + throw $result->o2; + } + throw new \Exception("get_partition_locations failed: unknown result"); + } + public function get_partition_values(\metastore\PartitionValuesRequest $request) { $this->send_get_partition_values($request); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastoreIf.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastoreIf.php index ba54493859..bb53b14d90 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastoreIf.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastoreIf.php @@ -683,6 +683,15 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf * @throws \metastore\MetaException */ public function get_partition_names($db_name, $tbl_name, $max_parts); + /** + * @param string $db_name + * @param string $tblName + * @param int $max_parts + * @return array + * @throws \metastore\NoSuchObjectException + * @throws \metastore\MetaException + */ + public function get_partition_locations($db_name, $tblName, $max_parts); /** * @param \metastore\PartitionValuesRequest $request * @return \metastore\PartitionValuesResponse diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_args.php index a9a19e0f73..fc98604357 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_args.php @@ -107,14 +107,14 @@ class ThriftHiveMetastore_alter_partitions_args case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1567 = 0; - $_etype1570 = 0; - $xfer += $input->readListBegin($_etype1570, $_size1567); - for ($_i1571 = 0; $_i1571 < $_size1567; ++$_i1571) { - $elem1572 = null; - $elem1572 = new \metastore\Partition(); - $xfer += $elem1572->read($input); - $this->new_parts []= $elem1572; + $_size1576 = 0; + $_etype1579 = 0; + $xfer += $input->readListBegin($_etype1579, $_size1576); + for ($_i1580 = 0; $_i1580 < $_size1576; ++$_i1580) { + $elem1581 = null; + $elem1581 = new \metastore\Partition(); + $xfer += $elem1581->read($input); + $this->new_parts []= $elem1581; } $xfer += $input->readListEnd(); } else { @@ -151,8 +151,8 @@ class ThriftHiveMetastore_alter_partitions_args } $xfer += $output->writeFieldBegin('new_parts', TType::LST, 3); $output->writeListBegin(TType::STRUCT, count($this->new_parts)); - foreach ($this->new_parts as $iter1573) { - $xfer += $iter1573->write($output); + foreach ($this->new_parts as $iter1582) { + $xfer += $iter1582->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_with_environment_context_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_with_environment_context_args.php index ad567e2e6a..23f97626e6 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_with_environment_context_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_alter_partitions_with_environment_context_args.php @@ -120,14 +120,14 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1574 = 0; - $_etype1577 = 0; - $xfer += $input->readListBegin($_etype1577, $_size1574); - for ($_i1578 = 0; $_i1578 < $_size1574; ++$_i1578) { - $elem1579 = null; - $elem1579 = new \metastore\Partition(); - $xfer += $elem1579->read($input); - $this->new_parts []= $elem1579; + $_size1583 = 0; + $_etype1586 = 0; + $xfer += $input->readListBegin($_etype1586, $_size1583); + for ($_i1587 = 0; $_i1587 < $_size1583; ++$_i1587) { + $elem1588 = null; + $elem1588 = new \metastore\Partition(); + $xfer += $elem1588->read($input); + $this->new_parts []= $elem1588; } $xfer += $input->readListEnd(); } else { @@ -172,8 +172,8 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args } $xfer += $output->writeFieldBegin('new_parts', TType::LST, 3); $output->writeListBegin(TType::STRUCT, count($this->new_parts)); - foreach ($this->new_parts as $iter1580) { - $xfer += $iter1580->write($output); + foreach ($this->new_parts as $iter1589) { + $xfer += $iter1589->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_find_columns_with_stats_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_find_columns_with_stats_result.php index 242bfd0b63..471f535eff 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_find_columns_with_stats_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_find_columns_with_stats_result.php @@ -68,13 +68,13 @@ class ThriftHiveMetastore_find_columns_with_stats_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1692 = 0; - $_etype1695 = 0; - $xfer += $input->readListBegin($_etype1695, $_size1692); - for ($_i1696 = 0; $_i1696 < $_size1692; ++$_i1696) { - $elem1697 = null; - $xfer += $input->readString($elem1697); - $this->success []= $elem1697; + $_size1701 = 0; + $_etype1704 = 0; + $xfer += $input->readListBegin($_etype1704, $_size1701); + for ($_i1705 = 0; $_i1705 < $_size1701; ++$_i1705) { + $elem1706 = null; + $xfer += $input->readString($elem1706); + $this->success []= $elem1706; } $xfer += $input->readListEnd(); } else { @@ -101,8 +101,8 @@ class ThriftHiveMetastore_find_columns_with_stats_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1698) { - $xfer += $output->writeString($iter1698); + foreach ($this->success as $iter1707) { + $xfer += $output->writeString($iter1707); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_token_identifiers_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_token_identifiers_result.php index c60d7aeb65..ad7c0d5a22 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_token_identifiers_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_all_token_identifiers_result.php @@ -68,13 +68,13 @@ class ThriftHiveMetastore_get_all_token_identifiers_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1678 = 0; - $_etype1681 = 0; - $xfer += $input->readListBegin($_etype1681, $_size1678); - for ($_i1682 = 0; $_i1682 < $_size1678; ++$_i1682) { - $elem1683 = null; - $xfer += $input->readString($elem1683); - $this->success []= $elem1683; + $_size1687 = 0; + $_etype1690 = 0; + $xfer += $input->readListBegin($_etype1690, $_size1687); + for ($_i1691 = 0; $_i1691 < $_size1687; ++$_i1691) { + $elem1692 = null; + $xfer += $input->readString($elem1692); + $this->success []= $elem1692; } $xfer += $input->readListEnd(); } else { @@ -101,8 +101,8 @@ class ThriftHiveMetastore_get_all_token_identifiers_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1684) { - $xfer += $output->writeString($iter1684); + foreach ($this->success as $iter1693) { + $xfer += $output->writeString($iter1693); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_functions_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_functions_result.php index 632b755e17..36880ad8bc 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_functions_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_functions_result.php @@ -81,13 +81,13 @@ class ThriftHiveMetastore_get_functions_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1629 = 0; - $_etype1632 = 0; - $xfer += $input->readListBegin($_etype1632, $_size1629); - for ($_i1633 = 0; $_i1633 < $_size1629; ++$_i1633) { - $elem1634 = null; - $xfer += $input->readString($elem1634); - $this->success []= $elem1634; + $_size1638 = 0; + $_etype1641 = 0; + $xfer += $input->readListBegin($_etype1641, $_size1638); + for ($_i1642 = 0; $_i1642 < $_size1638; ++$_i1642) { + $elem1643 = null; + $xfer += $input->readString($elem1643); + $this->success []= $elem1643; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ class ThriftHiveMetastore_get_functions_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1635) { - $xfer += $output->writeString($iter1635); + foreach ($this->success as $iter1644) { + $xfer += $output->writeString($iter1644); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_master_keys_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_master_keys_result.php index 25c475b19b..81b28a3f04 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_master_keys_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_master_keys_result.php @@ -68,13 +68,13 @@ class ThriftHiveMetastore_get_master_keys_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1685 = 0; - $_etype1688 = 0; - $xfer += $input->readListBegin($_etype1688, $_size1685); - for ($_i1689 = 0; $_i1689 < $_size1685; ++$_i1689) { - $elem1690 = null; - $xfer += $input->readString($elem1690); - $this->success []= $elem1690; + $_size1694 = 0; + $_etype1697 = 0; + $xfer += $input->readListBegin($_etype1697, $_size1694); + for ($_i1698 = 0; $_i1698 < $_size1694; ++$_i1698) { + $elem1699 = null; + $xfer += $input->readString($elem1699); + $this->success []= $elem1699; } $xfer += $input->readListEnd(); } else { @@ -101,8 +101,8 @@ class ThriftHiveMetastore_get_master_keys_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1691) { - $xfer += $output->writeString($iter1691); + foreach ($this->success as $iter1700) { + $xfer += $output->writeString($iter1700); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_part_specs_by_filter_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_part_specs_by_filter_result.php index b345870c62..426bfa7d8c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_part_specs_by_filter_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_part_specs_by_filter_result.php @@ -95,14 +95,14 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1546 = 0; - $_etype1549 = 0; - $xfer += $input->readListBegin($_etype1549, $_size1546); - for ($_i1550 = 0; $_i1550 < $_size1546; ++$_i1550) { - $elem1551 = null; - $elem1551 = new \metastore\PartitionSpec(); - $xfer += $elem1551->read($input); - $this->success []= $elem1551; + $_size1555 = 0; + $_etype1558 = 0; + $xfer += $input->readListBegin($_etype1558, $_size1555); + for ($_i1559 = 0; $_i1559 < $_size1555; ++$_i1559) { + $elem1560 = null; + $elem1560 = new \metastore\PartitionSpec(); + $xfer += $elem1560->read($input); + $this->success []= $elem1560; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1552) { - $xfer += $iter1552->write($output); + foreach ($this->success as $iter1561) { + $xfer += $iter1561->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_args.php index efea15c064..f361434d09 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_args.php @@ -118,13 +118,13 @@ class ThriftHiveMetastore_get_partition_names_ps_args case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1518 = 0; - $_etype1521 = 0; - $xfer += $input->readListBegin($_etype1521, $_size1518); - for ($_i1522 = 0; $_i1522 < $_size1518; ++$_i1522) { - $elem1523 = null; - $xfer += $input->readString($elem1523); - $this->part_vals []= $elem1523; + $_size1527 = 0; + $_etype1530 = 0; + $xfer += $input->readListBegin($_etype1530, $_size1527); + for ($_i1531 = 0; $_i1531 < $_size1527; ++$_i1531) { + $elem1532 = null; + $xfer += $input->readString($elem1532); + $this->part_vals []= $elem1532; } $xfer += $input->readListEnd(); } else { @@ -168,8 +168,8 @@ class ThriftHiveMetastore_get_partition_names_ps_args } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1524) { - $xfer += $output->writeString($iter1524); + foreach ($this->part_vals as $iter1533) { + $xfer += $output->writeString($iter1533); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_result.php index 83d0cde3b7..b677bfaced 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_ps_result.php @@ -94,13 +94,13 @@ class ThriftHiveMetastore_get_partition_names_ps_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1525 = 0; - $_etype1528 = 0; - $xfer += $input->readListBegin($_etype1528, $_size1525); - for ($_i1529 = 0; $_i1529 < $_size1525; ++$_i1529) { - $elem1530 = null; - $xfer += $input->readString($elem1530); - $this->success []= $elem1530; + $_size1534 = 0; + $_etype1537 = 0; + $xfer += $input->readListBegin($_etype1537, $_size1534); + for ($_i1538 = 0; $_i1538 < $_size1534; ++$_i1538) { + $elem1539 = null; + $xfer += $input->readString($elem1539); + $this->success []= $elem1539; } $xfer += $input->readListEnd(); } else { @@ -143,8 +143,8 @@ class ThriftHiveMetastore_get_partition_names_ps_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1531) { - $xfer += $output->writeString($iter1531); + foreach ($this->success as $iter1540) { + $xfer += $output->writeString($iter1540); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_req_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_req_result.php index d997763dcd..5041f74d8e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_req_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partition_names_req_result.php @@ -94,13 +94,13 @@ class ThriftHiveMetastore_get_partition_names_req_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1532 = 0; - $_etype1535 = 0; - $xfer += $input->readListBegin($_etype1535, $_size1532); - for ($_i1536 = 0; $_i1536 < $_size1532; ++$_i1536) { - $elem1537 = null; - $xfer += $input->readString($elem1537); - $this->success []= $elem1537; + $_size1541 = 0; + $_etype1544 = 0; + $xfer += $input->readListBegin($_etype1544, $_size1541); + for ($_i1545 = 0; $_i1545 < $_size1541; ++$_i1545) { + $elem1546 = null; + $xfer += $input->readString($elem1546); + $this->success []= $elem1546; } $xfer += $input->readListEnd(); } else { @@ -143,8 +143,8 @@ class ThriftHiveMetastore_get_partition_names_req_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1538) { - $xfer += $output->writeString($iter1538); + foreach ($this->success as $iter1547) { + $xfer += $output->writeString($iter1547); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_result.php index ecd369f15d..e84b1772c6 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_filter_result.php @@ -95,14 +95,14 @@ class ThriftHiveMetastore_get_partitions_by_filter_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1539 = 0; - $_etype1542 = 0; - $xfer += $input->readListBegin($_etype1542, $_size1539); - for ($_i1543 = 0; $_i1543 < $_size1539; ++$_i1543) { - $elem1544 = null; - $elem1544 = new \metastore\Partition(); - $xfer += $elem1544->read($input); - $this->success []= $elem1544; + $_size1548 = 0; + $_etype1551 = 0; + $xfer += $input->readListBegin($_etype1551, $_size1548); + for ($_i1552 = 0; $_i1552 < $_size1548; ++$_i1552) { + $elem1553 = null; + $elem1553 = new \metastore\Partition(); + $xfer += $elem1553->read($input); + $this->success []= $elem1553; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ class ThriftHiveMetastore_get_partitions_by_filter_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1545) { - $xfer += $iter1545->write($output); + foreach ($this->success as $iter1554) { + $xfer += $iter1554->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_args.php index bd82035aef..8dea934f13 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_args.php @@ -106,13 +106,13 @@ class ThriftHiveMetastore_get_partitions_by_names_args case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1553 = 0; - $_etype1556 = 0; - $xfer += $input->readListBegin($_etype1556, $_size1553); - for ($_i1557 = 0; $_i1557 < $_size1553; ++$_i1557) { - $elem1558 = null; - $xfer += $input->readString($elem1558); - $this->names []= $elem1558; + $_size1562 = 0; + $_etype1565 = 0; + $xfer += $input->readListBegin($_etype1565, $_size1562); + for ($_i1566 = 0; $_i1566 < $_size1562; ++$_i1566) { + $elem1567 = null; + $xfer += $input->readString($elem1567); + $this->names []= $elem1567; } $xfer += $input->readListEnd(); } else { @@ -149,8 +149,8 @@ class ThriftHiveMetastore_get_partitions_by_names_args } $xfer += $output->writeFieldBegin('names', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->names)); - foreach ($this->names as $iter1559) { - $xfer += $output->writeString($iter1559); + foreach ($this->names as $iter1568) { + $xfer += $output->writeString($iter1568); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_result.php index 2983103eff..02b71f55f8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_by_names_result.php @@ -95,14 +95,14 @@ class ThriftHiveMetastore_get_partitions_by_names_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1560 = 0; - $_etype1563 = 0; - $xfer += $input->readListBegin($_etype1563, $_size1560); - for ($_i1564 = 0; $_i1564 < $_size1560; ++$_i1564) { - $elem1565 = null; - $elem1565 = new \metastore\Partition(); - $xfer += $elem1565->read($input); - $this->success []= $elem1565; + $_size1569 = 0; + $_etype1572 = 0; + $xfer += $input->readListBegin($_etype1572, $_size1569); + for ($_i1573 = 0; $_i1573 < $_size1569; ++$_i1573) { + $elem1574 = null; + $elem1574 = new \metastore\Partition(); + $xfer += $elem1574->read($input); + $this->success []= $elem1574; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ class ThriftHiveMetastore_get_partitions_by_names_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1566) { - $xfer += $iter1566->write($output); + foreach ($this->success as $iter1575) { + $xfer += $iter1575->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_args.php index 2069a8de43..9cd803ee05 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_args.php @@ -118,13 +118,13 @@ class ThriftHiveMetastore_get_partitions_ps_args case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1483 = 0; - $_etype1486 = 0; - $xfer += $input->readListBegin($_etype1486, $_size1483); - for ($_i1487 = 0; $_i1487 < $_size1483; ++$_i1487) { - $elem1488 = null; - $xfer += $input->readString($elem1488); - $this->part_vals []= $elem1488; + $_size1492 = 0; + $_etype1495 = 0; + $xfer += $input->readListBegin($_etype1495, $_size1492); + for ($_i1496 = 0; $_i1496 < $_size1492; ++$_i1496) { + $elem1497 = null; + $xfer += $input->readString($elem1497); + $this->part_vals []= $elem1497; } $xfer += $input->readListEnd(); } else { @@ -168,8 +168,8 @@ class ThriftHiveMetastore_get_partitions_ps_args } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1489) { - $xfer += $output->writeString($iter1489); + foreach ($this->part_vals as $iter1498) { + $xfer += $output->writeString($iter1498); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_result.php index 471100845a..3f287621c4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_result.php @@ -95,14 +95,14 @@ class ThriftHiveMetastore_get_partitions_ps_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1490 = 0; - $_etype1493 = 0; - $xfer += $input->readListBegin($_etype1493, $_size1490); - for ($_i1494 = 0; $_i1494 < $_size1490; ++$_i1494) { - $elem1495 = null; - $elem1495 = new \metastore\Partition(); - $xfer += $elem1495->read($input); - $this->success []= $elem1495; + $_size1499 = 0; + $_etype1502 = 0; + $xfer += $input->readListBegin($_etype1502, $_size1499); + for ($_i1503 = 0; $_i1503 < $_size1499; ++$_i1503) { + $elem1504 = null; + $elem1504 = new \metastore\Partition(); + $xfer += $elem1504->read($input); + $this->success []= $elem1504; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ class ThriftHiveMetastore_get_partitions_ps_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1496) { - $xfer += $iter1496->write($output); + foreach ($this->success as $iter1505) { + $xfer += $iter1505->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_args.php index b1606016f5..db6ff6d8ab 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_args.php @@ -146,13 +146,13 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1497 = 0; - $_etype1500 = 0; - $xfer += $input->readListBegin($_etype1500, $_size1497); - for ($_i1501 = 0; $_i1501 < $_size1497; ++$_i1501) { - $elem1502 = null; - $xfer += $input->readString($elem1502); - $this->part_vals []= $elem1502; + $_size1506 = 0; + $_etype1509 = 0; + $xfer += $input->readListBegin($_etype1509, $_size1506); + for ($_i1510 = 0; $_i1510 < $_size1506; ++$_i1510) { + $elem1511 = null; + $xfer += $input->readString($elem1511); + $this->part_vals []= $elem1511; } $xfer += $input->readListEnd(); } else { @@ -176,13 +176,13 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1503 = 0; - $_etype1506 = 0; - $xfer += $input->readListBegin($_etype1506, $_size1503); - for ($_i1507 = 0; $_i1507 < $_size1503; ++$_i1507) { - $elem1508 = null; - $xfer += $input->readString($elem1508); - $this->group_names []= $elem1508; + $_size1512 = 0; + $_etype1515 = 0; + $xfer += $input->readListBegin($_etype1515, $_size1512); + for ($_i1516 = 0; $_i1516 < $_size1512; ++$_i1516) { + $elem1517 = null; + $xfer += $input->readString($elem1517); + $this->group_names []= $elem1517; } $xfer += $input->readListEnd(); } else { @@ -219,8 +219,8 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1509) { - $xfer += $output->writeString($iter1509); + foreach ($this->part_vals as $iter1518) { + $xfer += $output->writeString($iter1518); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); @@ -241,8 +241,8 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args } $xfer += $output->writeFieldBegin('group_names', TType::LST, 6); $output->writeListBegin(TType::STRING, count($this->group_names)); - foreach ($this->group_names as $iter1510) { - $xfer += $output->writeString($iter1510); + foreach ($this->group_names as $iter1519) { + $xfer += $output->writeString($iter1519); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_result.php index 2d50ffa89c..0d11376d78 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_partitions_ps_with_auth_result.php @@ -95,14 +95,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1511 = 0; - $_etype1514 = 0; - $xfer += $input->readListBegin($_etype1514, $_size1511); - for ($_i1515 = 0; $_i1515 < $_size1511; ++$_i1515) { - $elem1516 = null; - $elem1516 = new \metastore\Partition(); - $xfer += $elem1516->read($input); - $this->success []= $elem1516; + $_size1520 = 0; + $_etype1523 = 0; + $xfer += $input->readListBegin($_etype1523, $_size1520); + for ($_i1524 = 0; $_i1524 < $_size1520; ++$_i1524) { + $elem1525 = null; + $elem1525 = new \metastore\Partition(); + $xfer += $elem1525->read($input); + $this->success []= $elem1525; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1517) { - $xfer += $iter1517->write($output); + foreach ($this->success as $iter1526) { + $xfer += $iter1526->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_privilege_set_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_privilege_set_args.php index 6ce71f74ff..c783aaa934 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_privilege_set_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_privilege_set_args.php @@ -108,13 +108,13 @@ class ThriftHiveMetastore_get_privilege_set_args case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1650 = 0; - $_etype1653 = 0; - $xfer += $input->readListBegin($_etype1653, $_size1650); - for ($_i1654 = 0; $_i1654 < $_size1650; ++$_i1654) { - $elem1655 = null; - $xfer += $input->readString($elem1655); - $this->group_names []= $elem1655; + $_size1659 = 0; + $_etype1662 = 0; + $xfer += $input->readListBegin($_etype1662, $_size1659); + for ($_i1663 = 0; $_i1663 < $_size1659; ++$_i1663) { + $elem1664 = null; + $xfer += $input->readString($elem1664); + $this->group_names []= $elem1664; } $xfer += $input->readListEnd(); } else { @@ -154,8 +154,8 @@ class ThriftHiveMetastore_get_privilege_set_args } $xfer += $output->writeFieldBegin('group_names', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->group_names)); - foreach ($this->group_names as $iter1656) { - $xfer += $output->writeString($iter1656); + foreach ($this->group_names as $iter1665) { + $xfer += $output->writeString($iter1665); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_role_names_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_role_names_result.php index 16129a4dc4..96516c829b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_role_names_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_role_names_result.php @@ -81,13 +81,13 @@ class ThriftHiveMetastore_get_role_names_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1636 = 0; - $_etype1639 = 0; - $xfer += $input->readListBegin($_etype1639, $_size1636); - for ($_i1640 = 0; $_i1640 < $_size1636; ++$_i1640) { - $elem1641 = null; - $xfer += $input->readString($elem1641); - $this->success []= $elem1641; + $_size1645 = 0; + $_etype1648 = 0; + $xfer += $input->readListBegin($_etype1648, $_size1645); + for ($_i1649 = 0; $_i1649 < $_size1645; ++$_i1649) { + $elem1650 = null; + $xfer += $input->readString($elem1650); + $this->success []= $elem1650; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ class ThriftHiveMetastore_get_role_names_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1642) { - $xfer += $output->writeString($iter1642); + foreach ($this->success as $iter1651) { + $xfer += $output->writeString($iter1651); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_runtime_stats_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_runtime_stats_result.php index 8cd0e863bd..916d7b5550 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_runtime_stats_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_runtime_stats_result.php @@ -82,14 +82,14 @@ class ThriftHiveMetastore_get_runtime_stats_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1706 = 0; - $_etype1709 = 0; - $xfer += $input->readListBegin($_etype1709, $_size1706); - for ($_i1710 = 0; $_i1710 < $_size1706; ++$_i1710) { - $elem1711 = null; - $elem1711 = new \metastore\RuntimeStat(); - $xfer += $elem1711->read($input); - $this->success []= $elem1711; + $_size1715 = 0; + $_etype1718 = 0; + $xfer += $input->readListBegin($_etype1718, $_size1715); + for ($_i1719 = 0; $_i1719 < $_size1715; ++$_i1719) { + $elem1720 = null; + $elem1720 = new \metastore\RuntimeStat(); + $xfer += $elem1720->read($input); + $this->success []= $elem1720; } $xfer += $input->readListEnd(); } else { @@ -124,8 +124,8 @@ class ThriftHiveMetastore_get_runtime_stats_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1712) { - $xfer += $iter1712->write($output); + foreach ($this->success as $iter1721) { + $xfer += $iter1721->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_all_versions_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_all_versions_result.php index f05897e725..dd83fad1c9 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_all_versions_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_get_schema_all_versions_result.php @@ -95,14 +95,14 @@ class ThriftHiveMetastore_get_schema_all_versions_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1699 = 0; - $_etype1702 = 0; - $xfer += $input->readListBegin($_etype1702, $_size1699); - for ($_i1703 = 0; $_i1703 < $_size1699; ++$_i1703) { - $elem1704 = null; - $elem1704 = new \metastore\SchemaVersion(); - $xfer += $elem1704->read($input); - $this->success []= $elem1704; + $_size1708 = 0; + $_etype1711 = 0; + $xfer += $input->readListBegin($_etype1711, $_size1708); + for ($_i1712 = 0; $_i1712 < $_size1708; ++$_i1712) { + $elem1713 = null; + $elem1713 = new \metastore\SchemaVersion(); + $xfer += $elem1713->read($input); + $this->success []= $elem1713; } $xfer += $input->readListEnd(); } else { @@ -145,8 +145,8 @@ class ThriftHiveMetastore_get_schema_all_versions_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1705) { - $xfer += $iter1705->write($output); + foreach ($this->success as $iter1714) { + $xfer += $iter1714->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_isPartitionMarkedForEvent_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_isPartitionMarkedForEvent_args.php index d7c030c279..5b7e0f286e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_isPartitionMarkedForEvent_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_isPartitionMarkedForEvent_args.php @@ -122,16 +122,16 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1620 = 0; - $_ktype1621 = 0; - $_vtype1622 = 0; - $xfer += $input->readMapBegin($_ktype1621, $_vtype1622, $_size1620); - for ($_i1624 = 0; $_i1624 < $_size1620; ++$_i1624) { - $key1625 = ''; - $val1626 = ''; - $xfer += $input->readString($key1625); - $xfer += $input->readString($val1626); - $this->part_vals[$key1625] = $val1626; + $_size1629 = 0; + $_ktype1630 = 0; + $_vtype1631 = 0; + $xfer += $input->readMapBegin($_ktype1630, $_vtype1631, $_size1629); + for ($_i1633 = 0; $_i1633 < $_size1629; ++$_i1633) { + $key1634 = ''; + $val1635 = ''; + $xfer += $input->readString($key1634); + $xfer += $input->readString($val1635); + $this->part_vals[$key1634] = $val1635; } $xfer += $input->readMapEnd(); } else { @@ -175,9 +175,9 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args } $xfer += $output->writeFieldBegin('part_vals', TType::MAP, 3); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $kiter1627 => $viter1628) { - $xfer += $output->writeString($kiter1627); - $xfer += $output->writeString($viter1628); + foreach ($this->part_vals as $kiter1636 => $viter1637) { + $xfer += $output->writeString($kiter1636); + $xfer += $output->writeString($viter1637); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_privileges_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_privileges_result.php index c760439ed6..a91a84645e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_privileges_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_privileges_result.php @@ -82,14 +82,14 @@ class ThriftHiveMetastore_list_privileges_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1657 = 0; - $_etype1660 = 0; - $xfer += $input->readListBegin($_etype1660, $_size1657); - for ($_i1661 = 0; $_i1661 < $_size1657; ++$_i1661) { - $elem1662 = null; - $elem1662 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1662->read($input); - $this->success []= $elem1662; + $_size1666 = 0; + $_etype1669 = 0; + $xfer += $input->readListBegin($_etype1669, $_size1666); + for ($_i1670 = 0; $_i1670 < $_size1666; ++$_i1670) { + $elem1671 = null; + $elem1671 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1671->read($input); + $this->success []= $elem1671; } $xfer += $input->readListEnd(); } else { @@ -124,8 +124,8 @@ class ThriftHiveMetastore_list_privileges_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1663) { - $xfer += $iter1663->write($output); + foreach ($this->success as $iter1672) { + $xfer += $iter1672->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_roles_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_roles_result.php index 2811e9891e..dc672eff20 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_roles_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_list_roles_result.php @@ -82,14 +82,14 @@ class ThriftHiveMetastore_list_roles_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1643 = 0; - $_etype1646 = 0; - $xfer += $input->readListBegin($_etype1646, $_size1643); - for ($_i1647 = 0; $_i1647 < $_size1643; ++$_i1647) { - $elem1648 = null; - $elem1648 = new \metastore\Role(); - $xfer += $elem1648->read($input); - $this->success []= $elem1648; + $_size1652 = 0; + $_etype1655 = 0; + $xfer += $input->readListBegin($_etype1655, $_size1652); + for ($_i1656 = 0; $_i1656 < $_size1652; ++$_i1656) { + $elem1657 = null; + $elem1657 = new \metastore\Role(); + $xfer += $elem1657->read($input); + $this->success []= $elem1657; } $xfer += $input->readListEnd(); } else { @@ -124,8 +124,8 @@ class ThriftHiveMetastore_list_roles_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRUCT, count($this->success)); - foreach ($this->success as $iter1649) { - $xfer += $iter1649->write($output); + foreach ($this->success as $iter1658) { + $xfer += $iter1658->write($output); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_markPartitionForEvent_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_markPartitionForEvent_args.php index 2e103480d6..d52353c0ea 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_markPartitionForEvent_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_markPartitionForEvent_args.php @@ -122,16 +122,16 @@ class ThriftHiveMetastore_markPartitionForEvent_args case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1611 = 0; - $_ktype1612 = 0; - $_vtype1613 = 0; - $xfer += $input->readMapBegin($_ktype1612, $_vtype1613, $_size1611); - for ($_i1615 = 0; $_i1615 < $_size1611; ++$_i1615) { - $key1616 = ''; - $val1617 = ''; - $xfer += $input->readString($key1616); - $xfer += $input->readString($val1617); - $this->part_vals[$key1616] = $val1617; + $_size1620 = 0; + $_ktype1621 = 0; + $_vtype1622 = 0; + $xfer += $input->readMapBegin($_ktype1621, $_vtype1622, $_size1620); + for ($_i1624 = 0; $_i1624 < $_size1620; ++$_i1624) { + $key1625 = ''; + $val1626 = ''; + $xfer += $input->readString($key1625); + $xfer += $input->readString($val1626); + $this->part_vals[$key1625] = $val1626; } $xfer += $input->readMapEnd(); } else { @@ -175,9 +175,9 @@ class ThriftHiveMetastore_markPartitionForEvent_args } $xfer += $output->writeFieldBegin('part_vals', TType::MAP, 3); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $kiter1618 => $viter1619) { - $xfer += $output->writeString($kiter1618); - $xfer += $output->writeString($viter1619); + foreach ($this->part_vals as $kiter1627 => $viter1628) { + $xfer += $output->writeString($kiter1627); + $xfer += $output->writeString($viter1628); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_has_valid_characters_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_has_valid_characters_args.php index 671bffc441..43c885a1e5 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_has_valid_characters_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_has_valid_characters_args.php @@ -80,13 +80,13 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1588 = 0; - $_etype1591 = 0; - $xfer += $input->readListBegin($_etype1591, $_size1588); - for ($_i1592 = 0; $_i1592 < $_size1588; ++$_i1592) { - $elem1593 = null; - $xfer += $input->readString($elem1593); - $this->part_vals []= $elem1593; + $_size1597 = 0; + $_etype1600 = 0; + $xfer += $input->readListBegin($_etype1600, $_size1597); + for ($_i1601 = 0; $_i1601 < $_size1597; ++$_i1601) { + $elem1602 = null; + $xfer += $input->readString($elem1602); + $this->part_vals []= $elem1602; } $xfer += $input->readListEnd(); } else { @@ -120,8 +120,8 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 1); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1594) { - $xfer += $output->writeString($iter1594); + foreach ($this->part_vals as $iter1603) { + $xfer += $output->writeString($iter1603); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_spec_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_spec_result.php index 2686e6662b..09888c323a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_spec_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_spec_result.php @@ -85,16 +85,16 @@ class ThriftHiveMetastore_partition_name_to_spec_result case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1602 = 0; - $_ktype1603 = 0; - $_vtype1604 = 0; - $xfer += $input->readMapBegin($_ktype1603, $_vtype1604, $_size1602); - for ($_i1606 = 0; $_i1606 < $_size1602; ++$_i1606) { - $key1607 = ''; - $val1608 = ''; - $xfer += $input->readString($key1607); - $xfer += $input->readString($val1608); - $this->success[$key1607] = $val1608; + $_size1611 = 0; + $_ktype1612 = 0; + $_vtype1613 = 0; + $xfer += $input->readMapBegin($_ktype1612, $_vtype1613, $_size1611); + for ($_i1615 = 0; $_i1615 < $_size1611; ++$_i1615) { + $key1616 = ''; + $val1617 = ''; + $xfer += $input->readString($key1616); + $xfer += $input->readString($val1617); + $this->success[$key1616] = $val1617; } $xfer += $input->readMapEnd(); } else { @@ -129,9 +129,9 @@ class ThriftHiveMetastore_partition_name_to_spec_result } $xfer += $output->writeFieldBegin('success', TType::MAP, 0); $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); - foreach ($this->success as $kiter1609 => $viter1610) { - $xfer += $output->writeString($kiter1609); - $xfer += $output->writeString($viter1610); + foreach ($this->success as $kiter1618 => $viter1619) { + $xfer += $output->writeString($kiter1618); + $xfer += $output->writeString($viter1619); } $output->writeMapEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_vals_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_vals_result.php index b3a533db8d..e888cd9f6c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_vals_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_partition_name_to_vals_result.php @@ -81,13 +81,13 @@ class ThriftHiveMetastore_partition_name_to_vals_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1595 = 0; - $_etype1598 = 0; - $xfer += $input->readListBegin($_etype1598, $_size1595); - for ($_i1599 = 0; $_i1599 < $_size1595; ++$_i1599) { - $elem1600 = null; - $xfer += $input->readString($elem1600); - $this->success []= $elem1600; + $_size1604 = 0; + $_etype1607 = 0; + $xfer += $input->readListBegin($_etype1607, $_size1604); + for ($_i1608 = 0; $_i1608 < $_size1604; ++$_i1608) { + $elem1609 = null; + $xfer += $input->readString($elem1609); + $this->success []= $elem1609; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ class ThriftHiveMetastore_partition_name_to_vals_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1601) { - $xfer += $output->writeString($iter1601); + foreach ($this->success as $iter1610) { + $xfer += $output->writeString($iter1610); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_rename_partition_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_rename_partition_args.php index 32a379e7b8..4c5499887d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_rename_partition_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_rename_partition_args.php @@ -119,13 +119,13 @@ class ThriftHiveMetastore_rename_partition_args case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1581 = 0; - $_etype1584 = 0; - $xfer += $input->readListBegin($_etype1584, $_size1581); - for ($_i1585 = 0; $_i1585 < $_size1581; ++$_i1585) { - $elem1586 = null; - $xfer += $input->readString($elem1586); - $this->part_vals []= $elem1586; + $_size1590 = 0; + $_etype1593 = 0; + $xfer += $input->readListBegin($_etype1593, $_size1590); + for ($_i1594 = 0; $_i1594 < $_size1590; ++$_i1594) { + $elem1595 = null; + $xfer += $input->readString($elem1595); + $this->part_vals []= $elem1595; } $xfer += $input->readListEnd(); } else { @@ -170,8 +170,8 @@ class ThriftHiveMetastore_rename_partition_args } $xfer += $output->writeFieldBegin('part_vals', TType::LST, 3); $output->writeListBegin(TType::STRING, count($this->part_vals)); - foreach ($this->part_vals as $iter1587) { - $xfer += $output->writeString($iter1587); + foreach ($this->part_vals as $iter1596) { + $xfer += $output->writeString($iter1596); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_args.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_args.php index f073ccf170..b75360baa0 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_args.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_args.php @@ -87,13 +87,13 @@ class ThriftHiveMetastore_set_ugi_args case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1664 = 0; - $_etype1667 = 0; - $xfer += $input->readListBegin($_etype1667, $_size1664); - for ($_i1668 = 0; $_i1668 < $_size1664; ++$_i1668) { - $elem1669 = null; - $xfer += $input->readString($elem1669); - $this->group_names []= $elem1669; + $_size1673 = 0; + $_etype1676 = 0; + $xfer += $input->readListBegin($_etype1676, $_size1673); + for ($_i1677 = 0; $_i1677 < $_size1673; ++$_i1677) { + $elem1678 = null; + $xfer += $input->readString($elem1678); + $this->group_names []= $elem1678; } $xfer += $input->readListEnd(); } else { @@ -125,8 +125,8 @@ class ThriftHiveMetastore_set_ugi_args } $xfer += $output->writeFieldBegin('group_names', TType::LST, 2); $output->writeListBegin(TType::STRING, count($this->group_names)); - foreach ($this->group_names as $iter1670) { - $xfer += $output->writeString($iter1670); + foreach ($this->group_names as $iter1679) { + $xfer += $output->writeString($iter1679); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_result.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_result.php index 84c82a2867..8b7fa04a46 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_result.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore_set_ugi_result.php @@ -81,13 +81,13 @@ class ThriftHiveMetastore_set_ugi_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1671 = 0; - $_etype1674 = 0; - $xfer += $input->readListBegin($_etype1674, $_size1671); - for ($_i1675 = 0; $_i1675 < $_size1671; ++$_i1675) { - $elem1676 = null; - $xfer += $input->readString($elem1676); - $this->success []= $elem1676; + $_size1680 = 0; + $_etype1683 = 0; + $xfer += $input->readListBegin($_etype1683, $_size1680); + for ($_i1684 = 0; $_i1684 < $_size1680; ++$_i1684) { + $elem1685 = null; + $xfer += $input->readString($elem1685); + $this->success []= $elem1685; } $xfer += $input->readListEnd(); } else { @@ -122,8 +122,8 @@ class ThriftHiveMetastore_set_ugi_result } $xfer += $output->writeFieldBegin('success', TType::LST, 0); $output->writeListBegin(TType::STRING, count($this->success)); - foreach ($this->success as $iter1677) { - $xfer += $output->writeString($iter1677); + foreach ($this->success as $iter1686) { + $xfer += $output->writeString($iter1686); } $output->writeListEnd(); $xfer += $output->writeFieldEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index 06b7533855..e954b1a1f9 100755 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -106,6 +106,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': 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_partition_locations(string db_name, string tblName, i16 max_parts)') print(' PartitionValuesResponse get_partition_values(PartitionValuesRequest request)') 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)') @@ -855,6 +856,12 @@ elif cmd == 'get_partition_names': sys.exit(1) pp.pprint(client.get_partition_names(args[0], args[1], eval(args[2]),)) +elif cmd == 'get_partition_locations': + if len(args) != 3: + print('get_partition_locations requires 3 args') + sys.exit(1) + pp.pprint(client.get_partition_locations(args[0], args[1], eval(args[2]),)) + elif cmd == 'get_partition_values': if len(args) != 1: print('get_partition_values requires 1 args') diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 21687233de..d095c05f42 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -761,6 +761,16 @@ def get_partition_names(self, db_name, tbl_name, max_parts): """ pass + def get_partition_locations(self, db_name, tblName, max_parts): + """ + Parameters: + - db_name + - tblName + - max_parts + + """ + pass + def get_partition_values(self, request): """ Parameters: @@ -5244,6 +5254,46 @@ def recv_get_partition_names(self): raise result.o2 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names failed: unknown result") + def get_partition_locations(self, db_name, tblName, max_parts): + """ + Parameters: + - db_name + - tblName + - max_parts + + """ + self.send_get_partition_locations(db_name, tblName, max_parts) + return self.recv_get_partition_locations() + + def send_get_partition_locations(self, db_name, tblName, max_parts): + self._oprot.writeMessageBegin('get_partition_locations', TMessageType.CALL, self._seqid) + args = get_partition_locations_args() + args.db_name = db_name + args.tblName = tblName + args.max_parts = max_parts + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_get_partition_locations(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = get_partition_locations_result() + result.read(iprot) + iprot.readMessageEnd() + if result.success is not None: + return result.success + if result.o1 is not None: + raise result.o1 + if result.o2 is not None: + raise result.o2 + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_locations failed: unknown result") + def get_partition_values(self, request): """ Parameters: @@ -11190,6 +11240,7 @@ def __init__(self, handler): self._processMap["get_partitions_with_auth"] = Processor.process_get_partitions_with_auth self._processMap["get_partitions_pspec"] = Processor.process_get_partitions_pspec self._processMap["get_partition_names"] = Processor.process_get_partition_names + self._processMap["get_partition_locations"] = Processor.process_get_partition_locations self._processMap["get_partition_values"] = Processor.process_get_partition_values self._processMap["get_partitions_ps"] = Processor.process_get_partitions_ps self._processMap["get_partitions_ps_with_auth"] = Processor.process_get_partitions_ps_with_auth @@ -13815,6 +13866,35 @@ def process_get_partition_names(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_get_partition_locations(self, seqid, iprot, oprot): + args = get_partition_locations_args() + args.read(iprot) + iprot.readMessageEnd() + result = get_partition_locations_result() + try: + result.success = self._handler.get_partition_locations(args.db_name, args.tblName, args.max_parts) + msg_type = TMessageType.REPLY + except TTransport.TTransportException: + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY + result.o1 = o1 + except MetaException as o2: + msg_type = TMessageType.REPLY + result.o2 = o2 + except TApplicationException as ex: + logging.exception('TApplication exception in handler') + msg_type = TMessageType.EXCEPTION + result = ex + except Exception: + logging.exception('Unexpected exception in handler') + msg_type = TMessageType.EXCEPTION + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partition_locations", msg_type, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_get_partition_values(self, seqid, iprot, oprot): args = get_partition_values_args() args.read(iprot) @@ -32167,6 +32247,189 @@ def __ne__(self, other): ) +class get_partition_locations_args(object): + """ + Attributes: + - db_name + - tblName + - max_parts + + """ + + + def __init__(self, db_name=None, tblName=None, max_parts=-1,): + self.db_name = db_name + self.tblName = tblName + self.max_parts = max_parts + + def read(self, iprot): + if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None: + iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec]) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.STRING: + self.db_name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.tblName = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.I16: + self.max_parts = iprot.readI16() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot._fast_encode is not None and self.thrift_spec is not None: + oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec])) + return + oprot.writeStructBegin('get_partition_locations_args') + if self.db_name is not None: + oprot.writeFieldBegin('db_name', TType.STRING, 1) + oprot.writeString(self.db_name.encode('utf-8') if sys.version_info[0] == 2 else self.db_name) + oprot.writeFieldEnd() + if self.tblName is not None: + oprot.writeFieldBegin('tblName', TType.STRING, 2) + oprot.writeString(self.tblName.encode('utf-8') if sys.version_info[0] == 2 else self.tblName) + oprot.writeFieldEnd() + if self.max_parts is not None: + oprot.writeFieldBegin('max_parts', TType.I16, 3) + oprot.writeI16(self.max_parts) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.items()] + 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) +all_structs.append(get_partition_locations_args) +get_partition_locations_args.thrift_spec = ( + None, # 0 + (1, TType.STRING, 'db_name', 'UTF8', None, ), # 1 + (2, TType.STRING, 'tblName', 'UTF8', None, ), # 2 + (3, TType.I16, 'max_parts', None, -1, ), # 3 +) + + +class get_partition_locations_result(object): + """ + Attributes: + - success + - o1 + - o2 + + """ + + + def __init__(self, success=None, o1=None, o2=None,): + self.success = success + self.o1 = o1 + self.o2 = o2 + + def read(self, iprot): + if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None: + iprot._fast_decode(self, iprot, [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.MAP: + self.success = {} + (_ktype1481, _vtype1482, _size1480) = iprot.readMapBegin() + for _i1484 in range(_size1480): + _key1485 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + _val1486 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.success[_key1485] = _val1486 + iprot.readMapEnd() + else: + iprot.skip(ftype) + elif fid == 1: + if ftype == TType.STRUCT: + self.o1 = NoSuchObjectException() + self.o1.read(iprot) + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRUCT: + self.o2 = MetaException() + self.o2.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot._fast_encode is not None and self.thrift_spec is not None: + oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec])) + return + oprot.writeStructBegin('get_partition_locations_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.MAP, 0) + oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success)) + for kiter1487, viter1488 in self.success.items(): + oprot.writeString(kiter1487.encode('utf-8') if sys.version_info[0] == 2 else kiter1487) + oprot.writeString(viter1488.encode('utf-8') if sys.version_info[0] == 2 else viter1488) + oprot.writeMapEnd() + oprot.writeFieldEnd() + if self.o1 is not None: + oprot.writeFieldBegin('o1', TType.STRUCT, 1) + self.o1.write(oprot) + oprot.writeFieldEnd() + if self.o2 is not None: + oprot.writeFieldBegin('o2', TType.STRUCT, 2) + self.o2.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.items()] + 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) +all_structs.append(get_partition_locations_result) +get_partition_locations_result.thrift_spec = ( + (0, TType.MAP, 'success', (TType.STRING, 'UTF8', TType.STRING, 'UTF8', False), None, ), # 0 + (1, TType.STRUCT, 'o1', [NoSuchObjectException, None], None, ), # 1 + (2, TType.STRUCT, 'o2', [MetaException, None], None, ), # 2 +) + + class get_partition_values_args(object): """ Attributes: @@ -32357,10 +32620,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1483, _size1480) = iprot.readListBegin() - for _i1484 in range(_size1480): - _elem1485 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1485) + (_etype1492, _size1489) = iprot.readListBegin() + for _i1493 in range(_size1489): + _elem1494 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1494) iprot.readListEnd() else: iprot.skip(ftype) @@ -32390,8 +32653,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 iter1486 in self.part_vals: - oprot.writeString(iter1486.encode('utf-8') if sys.version_info[0] == 2 else iter1486) + for iter1495 in self.part_vals: + oprot.writeString(iter1495.encode('utf-8') if sys.version_info[0] == 2 else iter1495) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -32451,11 +32714,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1490, _size1487) = iprot.readListBegin() - for _i1491 in range(_size1487): - _elem1492 = Partition() - _elem1492.read(iprot) - self.success.append(_elem1492) + (_etype1499, _size1496) = iprot.readListBegin() + for _i1500 in range(_size1496): + _elem1501 = Partition() + _elem1501.read(iprot) + self.success.append(_elem1501) iprot.readListEnd() else: iprot.skip(ftype) @@ -32484,8 +32747,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 iter1493 in self.success: - iter1493.write(oprot) + for iter1502 in self.success: + iter1502.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -32563,10 +32826,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1497, _size1494) = iprot.readListBegin() - for _i1498 in range(_size1494): - _elem1499 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1499) + (_etype1506, _size1503) = iprot.readListBegin() + for _i1507 in range(_size1503): + _elem1508 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1508) iprot.readListEnd() else: iprot.skip(ftype) @@ -32583,10 +32846,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1503, _size1500) = iprot.readListBegin() - for _i1504 in range(_size1500): - _elem1505 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.group_names.append(_elem1505) + (_etype1512, _size1509) = iprot.readListBegin() + for _i1513 in range(_size1509): + _elem1514 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.group_names.append(_elem1514) iprot.readListEnd() else: iprot.skip(ftype) @@ -32611,8 +32874,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 iter1506 in self.part_vals: - oprot.writeString(iter1506.encode('utf-8') if sys.version_info[0] == 2 else iter1506) + for iter1515 in self.part_vals: + oprot.writeString(iter1515.encode('utf-8') if sys.version_info[0] == 2 else iter1515) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -32626,8 +32889,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 iter1507 in self.group_names: - oprot.writeString(iter1507.encode('utf-8') if sys.version_info[0] == 2 else iter1507) + for iter1516 in self.group_names: + oprot.writeString(iter1516.encode('utf-8') if sys.version_info[0] == 2 else iter1516) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -32685,11 +32948,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1511, _size1508) = iprot.readListBegin() - for _i1512 in range(_size1508): - _elem1513 = Partition() - _elem1513.read(iprot) - self.success.append(_elem1513) + (_etype1520, _size1517) = iprot.readListBegin() + for _i1521 in range(_size1517): + _elem1522 = Partition() + _elem1522.read(iprot) + self.success.append(_elem1522) iprot.readListEnd() else: iprot.skip(ftype) @@ -32718,8 +32981,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 iter1514 in self.success: - iter1514.write(oprot) + for iter1523 in self.success: + iter1523.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -32944,10 +33207,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1518, _size1515) = iprot.readListBegin() - for _i1519 in range(_size1515): - _elem1520 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1520) + (_etype1527, _size1524) = iprot.readListBegin() + for _i1528 in range(_size1524): + _elem1529 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1529) iprot.readListEnd() else: iprot.skip(ftype) @@ -32977,8 +33240,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 iter1521 in self.part_vals: - oprot.writeString(iter1521.encode('utf-8') if sys.version_info[0] == 2 else iter1521) + for iter1530 in self.part_vals: + oprot.writeString(iter1530.encode('utf-8') if sys.version_info[0] == 2 else iter1530) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -33038,10 +33301,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1525, _size1522) = iprot.readListBegin() - for _i1526 in range(_size1522): - _elem1527 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1527) + (_etype1534, _size1531) = iprot.readListBegin() + for _i1535 in range(_size1531): + _elem1536 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1536) iprot.readListEnd() else: iprot.skip(ftype) @@ -33070,8 +33333,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 iter1528 in self.success: - oprot.writeString(iter1528.encode('utf-8') if sys.version_info[0] == 2 else iter1528) + for iter1537 in self.success: + oprot.writeString(iter1537.encode('utf-8') if sys.version_info[0] == 2 else iter1537) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33347,10 +33610,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1532, _size1529) = iprot.readListBegin() - for _i1533 in range(_size1529): - _elem1534 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1534) + (_etype1541, _size1538) = iprot.readListBegin() + for _i1542 in range(_size1538): + _elem1543 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1543) iprot.readListEnd() else: iprot.skip(ftype) @@ -33379,8 +33642,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 iter1535 in self.success: - oprot.writeString(iter1535.encode('utf-8') if sys.version_info[0] == 2 else iter1535) + for iter1544 in self.success: + oprot.writeString(iter1544.encode('utf-8') if sys.version_info[0] == 2 else iter1544) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33540,11 +33803,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1539, _size1536) = iprot.readListBegin() - for _i1540 in range(_size1536): - _elem1541 = Partition() - _elem1541.read(iprot) - self.success.append(_elem1541) + (_etype1548, _size1545) = iprot.readListBegin() + for _i1549 in range(_size1545): + _elem1550 = Partition() + _elem1550.read(iprot) + self.success.append(_elem1550) iprot.readListEnd() else: iprot.skip(ftype) @@ -33573,8 +33836,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 iter1542 in self.success: - iter1542.write(oprot) + for iter1551 in self.success: + iter1551.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33734,11 +33997,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1546, _size1543) = iprot.readListBegin() - for _i1547 in range(_size1543): - _elem1548 = PartitionSpec() - _elem1548.read(iprot) - self.success.append(_elem1548) + (_etype1555, _size1552) = iprot.readListBegin() + for _i1556 in range(_size1552): + _elem1557 = PartitionSpec() + _elem1557.read(iprot) + self.success.append(_elem1557) iprot.readListEnd() else: iprot.skip(ftype) @@ -33767,8 +34030,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 iter1549 in self.success: - iter1549.write(oprot) + for iter1558 in self.success: + iter1558.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34315,10 +34578,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1553, _size1550) = iprot.readListBegin() - for _i1554 in range(_size1550): - _elem1555 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.names.append(_elem1555) + (_etype1562, _size1559) = iprot.readListBegin() + for _i1563 in range(_size1559): + _elem1564 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.names.append(_elem1564) iprot.readListEnd() else: iprot.skip(ftype) @@ -34343,8 +34606,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 iter1556 in self.names: - oprot.writeString(iter1556.encode('utf-8') if sys.version_info[0] == 2 else iter1556) + for iter1565 in self.names: + oprot.writeString(iter1565.encode('utf-8') if sys.version_info[0] == 2 else iter1565) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -34399,11 +34662,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1560, _size1557) = iprot.readListBegin() - for _i1561 in range(_size1557): - _elem1562 = Partition() - _elem1562.read(iprot) - self.success.append(_elem1562) + (_etype1569, _size1566) = iprot.readListBegin() + for _i1570 in range(_size1566): + _elem1571 = Partition() + _elem1571.read(iprot) + self.success.append(_elem1571) iprot.readListEnd() else: iprot.skip(ftype) @@ -34432,8 +34695,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 iter1563 in self.success: - iter1563.write(oprot) + for iter1572 in self.success: + iter1572.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34819,11 +35082,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1567, _size1564) = iprot.readListBegin() - for _i1568 in range(_size1564): - _elem1569 = Partition() - _elem1569.read(iprot) - self.new_parts.append(_elem1569) + (_etype1576, _size1573) = iprot.readListBegin() + for _i1577 in range(_size1573): + _elem1578 = Partition() + _elem1578.read(iprot) + self.new_parts.append(_elem1578) iprot.readListEnd() else: iprot.skip(ftype) @@ -34848,8 +35111,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 iter1570 in self.new_parts: - iter1570.write(oprot) + for iter1579 in self.new_parts: + iter1579.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -34992,11 +35255,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1574, _size1571) = iprot.readListBegin() - for _i1575 in range(_size1571): - _elem1576 = Partition() - _elem1576.read(iprot) - self.new_parts.append(_elem1576) + (_etype1583, _size1580) = iprot.readListBegin() + for _i1584 in range(_size1580): + _elem1585 = Partition() + _elem1585.read(iprot) + self.new_parts.append(_elem1585) iprot.readListEnd() else: iprot.skip(ftype) @@ -35027,8 +35290,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 iter1577 in self.new_parts: - iter1577.write(oprot) + for iter1586 in self.new_parts: + iter1586.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -35503,10 +35766,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1581, _size1578) = iprot.readListBegin() - for _i1582 in range(_size1578): - _elem1583 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1583) + (_etype1590, _size1587) = iprot.readListBegin() + for _i1591 in range(_size1587): + _elem1592 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1592) iprot.readListEnd() else: iprot.skip(ftype) @@ -35537,8 +35800,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 iter1584 in self.part_vals: - oprot.writeString(iter1584.encode('utf-8') if sys.version_info[0] == 2 else iter1584) + for iter1593 in self.part_vals: + oprot.writeString(iter1593.encode('utf-8') if sys.version_info[0] == 2 else iter1593) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -35823,10 +36086,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1588, _size1585) = iprot.readListBegin() - for _i1589 in range(_size1585): - _elem1590 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals.append(_elem1590) + (_etype1597, _size1594) = iprot.readListBegin() + for _i1598 in range(_size1594): + _elem1599 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals.append(_elem1599) iprot.readListEnd() else: iprot.skip(ftype) @@ -35848,8 +36111,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 iter1591 in self.part_vals: - oprot.writeString(iter1591.encode('utf-8') if sys.version_info[0] == 2 else iter1591) + for iter1600 in self.part_vals: + oprot.writeString(iter1600.encode('utf-8') if sys.version_info[0] == 2 else iter1600) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -36189,10 +36452,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1595, _size1592) = iprot.readListBegin() - for _i1596 in range(_size1592): - _elem1597 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1597) + (_etype1604, _size1601) = iprot.readListBegin() + for _i1605 in range(_size1601): + _elem1606 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1606) iprot.readListEnd() else: iprot.skip(ftype) @@ -36215,8 +36478,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 iter1598 in self.success: - oprot.writeString(iter1598.encode('utf-8') if sys.version_info[0] == 2 else iter1598) + for iter1607 in self.success: + oprot.writeString(iter1607.encode('utf-8') if sys.version_info[0] == 2 else iter1607) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36333,11 +36596,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1600, _vtype1601, _size1599) = iprot.readMapBegin() - for _i1603 in range(_size1599): - _key1604 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - _val1605 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.success[_key1604] = _val1605 + (_ktype1609, _vtype1610, _size1608) = iprot.readMapBegin() + for _i1612 in range(_size1608): + _key1613 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + _val1614 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.success[_key1613] = _val1614 iprot.readMapEnd() else: iprot.skip(ftype) @@ -36360,9 +36623,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 kiter1606, viter1607 in self.success.items(): - oprot.writeString(kiter1606.encode('utf-8') if sys.version_info[0] == 2 else kiter1606) - oprot.writeString(viter1607.encode('utf-8') if sys.version_info[0] == 2 else viter1607) + for kiter1615, viter1616 in self.success.items(): + oprot.writeString(kiter1615.encode('utf-8') if sys.version_info[0] == 2 else kiter1615) + oprot.writeString(viter1616.encode('utf-8') if sys.version_info[0] == 2 else viter1616) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36431,11 +36694,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1609, _vtype1610, _size1608) = iprot.readMapBegin() - for _i1612 in range(_size1608): - _key1613 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - _val1614 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals[_key1613] = _val1614 + (_ktype1618, _vtype1619, _size1617) = iprot.readMapBegin() + for _i1621 in range(_size1617): + _key1622 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + _val1623 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals[_key1622] = _val1623 iprot.readMapEnd() else: iprot.skip(ftype) @@ -36465,9 +36728,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 kiter1615, viter1616 in self.part_vals.items(): - oprot.writeString(kiter1615.encode('utf-8') if sys.version_info[0] == 2 else kiter1615) - oprot.writeString(viter1616.encode('utf-8') if sys.version_info[0] == 2 else viter1616) + for kiter1624, viter1625 in self.part_vals.items(): + oprot.writeString(kiter1624.encode('utf-8') if sys.version_info[0] == 2 else kiter1624) + oprot.writeString(viter1625.encode('utf-8') if sys.version_info[0] == 2 else viter1625) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -36667,11 +36930,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1618, _vtype1619, _size1617) = iprot.readMapBegin() - for _i1621 in range(_size1617): - _key1622 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - _val1623 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.part_vals[_key1622] = _val1623 + (_ktype1627, _vtype1628, _size1626) = iprot.readMapBegin() + for _i1630 in range(_size1626): + _key1631 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + _val1632 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.part_vals[_key1631] = _val1632 iprot.readMapEnd() else: iprot.skip(ftype) @@ -36701,9 +36964,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 kiter1624, viter1625 in self.part_vals.items(): - oprot.writeString(kiter1624.encode('utf-8') if sys.version_info[0] == 2 else kiter1624) - oprot.writeString(viter1625.encode('utf-8') if sys.version_info[0] == 2 else viter1625) + for kiter1633, viter1634 in self.part_vals.items(): + oprot.writeString(kiter1633.encode('utf-8') if sys.version_info[0] == 2 else kiter1633) + oprot.writeString(viter1634.encode('utf-8') if sys.version_info[0] == 2 else viter1634) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -40690,10 +40953,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1629, _size1626) = iprot.readListBegin() - for _i1630 in range(_size1626): - _elem1631 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1631) + (_etype1638, _size1635) = iprot.readListBegin() + for _i1639 in range(_size1635): + _elem1640 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1640) iprot.readListEnd() else: iprot.skip(ftype) @@ -40716,8 +40979,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 iter1632 in self.success: - oprot.writeString(iter1632.encode('utf-8') if sys.version_info[0] == 2 else iter1632) + for iter1641 in self.success: + oprot.writeString(iter1641.encode('utf-8') if sys.version_info[0] == 2 else iter1641) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -41368,10 +41631,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1636, _size1633) = iprot.readListBegin() - for _i1637 in range(_size1633): - _elem1638 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1638) + (_etype1645, _size1642) = iprot.readListBegin() + for _i1646 in range(_size1642): + _elem1647 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1647) iprot.readListEnd() else: iprot.skip(ftype) @@ -41394,8 +41657,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 iter1639 in self.success: - oprot.writeString(iter1639.encode('utf-8') if sys.version_info[0] == 2 else iter1639) + for iter1648 in self.success: + oprot.writeString(iter1648.encode('utf-8') if sys.version_info[0] == 2 else iter1648) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -41880,11 +42143,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1643, _size1640) = iprot.readListBegin() - for _i1644 in range(_size1640): - _elem1645 = Role() - _elem1645.read(iprot) - self.success.append(_elem1645) + (_etype1652, _size1649) = iprot.readListBegin() + for _i1653 in range(_size1649): + _elem1654 = Role() + _elem1654.read(iprot) + self.success.append(_elem1654) iprot.readListEnd() else: iprot.skip(ftype) @@ -41907,8 +42170,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 iter1646 in self.success: - iter1646.write(oprot) + for iter1655 in self.success: + iter1655.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -42390,10 +42653,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1650, _size1647) = iprot.readListBegin() - for _i1651 in range(_size1647): - _elem1652 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.group_names.append(_elem1652) + (_etype1659, _size1656) = iprot.readListBegin() + for _i1660 in range(_size1656): + _elem1661 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.group_names.append(_elem1661) iprot.readListEnd() else: iprot.skip(ftype) @@ -42418,8 +42681,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 iter1653 in self.group_names: - oprot.writeString(iter1653.encode('utf-8') if sys.version_info[0] == 2 else iter1653) + for iter1662 in self.group_names: + oprot.writeString(iter1662.encode('utf-8') if sys.version_info[0] == 2 else iter1662) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -42634,11 +42897,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1657, _size1654) = iprot.readListBegin() - for _i1658 in range(_size1654): - _elem1659 = HiveObjectPrivilege() - _elem1659.read(iprot) - self.success.append(_elem1659) + (_etype1666, _size1663) = iprot.readListBegin() + for _i1667 in range(_size1663): + _elem1668 = HiveObjectPrivilege() + _elem1668.read(iprot) + self.success.append(_elem1668) iprot.readListEnd() else: iprot.skip(ftype) @@ -42661,8 +42924,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 iter1660 in self.success: - iter1660.write(oprot) + for iter1669 in self.success: + iter1669.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -43297,10 +43560,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1664, _size1661) = iprot.readListBegin() - for _i1665 in range(_size1661): - _elem1666 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.group_names.append(_elem1666) + (_etype1673, _size1670) = iprot.readListBegin() + for _i1674 in range(_size1670): + _elem1675 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.group_names.append(_elem1675) iprot.readListEnd() else: iprot.skip(ftype) @@ -43321,8 +43584,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 iter1667 in self.group_names: - oprot.writeString(iter1667.encode('utf-8') if sys.version_info[0] == 2 else iter1667) + for iter1676 in self.group_names: + oprot.writeString(iter1676.encode('utf-8') if sys.version_info[0] == 2 else iter1676) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -43374,10 +43637,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1671, _size1668) = iprot.readListBegin() - for _i1672 in range(_size1668): - _elem1673 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1673) + (_etype1680, _size1677) = iprot.readListBegin() + for _i1681 in range(_size1677): + _elem1682 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1682) iprot.readListEnd() else: iprot.skip(ftype) @@ -43400,8 +43663,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 iter1674 in self.success: - oprot.writeString(iter1674.encode('utf-8') if sys.version_info[0] == 2 else iter1674) + for iter1683 in self.success: + oprot.writeString(iter1683.encode('utf-8') if sys.version_info[0] == 2 else iter1683) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -44287,10 +44550,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1678, _size1675) = iprot.readListBegin() - for _i1679 in range(_size1675): - _elem1680 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1680) + (_etype1687, _size1684) = iprot.readListBegin() + for _i1688 in range(_size1684): + _elem1689 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1689) iprot.readListEnd() else: iprot.skip(ftype) @@ -44307,8 +44570,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 iter1681 in self.success: - oprot.writeString(iter1681.encode('utf-8') if sys.version_info[0] == 2 else iter1681) + for iter1690 in self.success: + oprot.writeString(iter1690.encode('utf-8') if sys.version_info[0] == 2 else iter1690) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -44808,10 +45071,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1685, _size1682) = iprot.readListBegin() - for _i1686 in range(_size1682): - _elem1687 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1687) + (_etype1694, _size1691) = iprot.readListBegin() + for _i1695 in range(_size1691): + _elem1696 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1696) iprot.readListEnd() else: iprot.skip(ftype) @@ -44828,8 +45091,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 iter1688 in self.success: - oprot.writeString(iter1688.encode('utf-8') if sys.version_info[0] == 2 else iter1688) + for iter1697 in self.success: + oprot.writeString(iter1697.encode('utf-8') if sys.version_info[0] == 2 else iter1697) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -48219,10 +48482,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1692, _size1689) = iprot.readListBegin() - for _i1693 in range(_size1689): - _elem1694 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() - self.success.append(_elem1694) + (_etype1701, _size1698) = iprot.readListBegin() + for _i1702 in range(_size1698): + _elem1703 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString() + self.success.append(_elem1703) iprot.readListEnd() else: iprot.skip(ftype) @@ -48239,8 +48502,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 iter1695 in self.success: - oprot.writeString(iter1695.encode('utf-8') if sys.version_info[0] == 2 else iter1695) + for iter1704 in self.success: + oprot.writeString(iter1704.encode('utf-8') if sys.version_info[0] == 2 else iter1704) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -54231,11 +54494,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1699, _size1696) = iprot.readListBegin() - for _i1700 in range(_size1696): - _elem1701 = SchemaVersion() - _elem1701.read(iprot) - self.success.append(_elem1701) + (_etype1708, _size1705) = iprot.readListBegin() + for _i1709 in range(_size1705): + _elem1710 = SchemaVersion() + _elem1710.read(iprot) + self.success.append(_elem1710) iprot.readListEnd() else: iprot.skip(ftype) @@ -54264,8 +54527,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 iter1702 in self.success: - iter1702.write(oprot) + for iter1711 in self.success: + iter1711.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -55667,11 +55930,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1706, _size1703) = iprot.readListBegin() - for _i1707 in range(_size1703): - _elem1708 = RuntimeStat() - _elem1708.read(iprot) - self.success.append(_elem1708) + (_etype1715, _size1712) = iprot.readListBegin() + for _i1716 in range(_size1712): + _elem1717 = RuntimeStat() + _elem1717.read(iprot) + self.success.append(_elem1717) iprot.readListEnd() else: iprot.skip(ftype) @@ -55694,8 +55957,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 iter1709 in self.success: - iter1709.write(oprot) + for iter1718 in self.success: + iter1718.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index abcc25bb98..3f495cb355 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -1401,6 +1401,23 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partition_names failed: unknown result') end + def get_partition_locations(db_name, tblName, max_parts) + send_get_partition_locations(db_name, tblName, max_parts) + return recv_get_partition_locations() + end + + def send_get_partition_locations(db_name, tblName, max_parts) + send_message('get_partition_locations', Get_partition_locations_args, :db_name => db_name, :tblName => tblName, :max_parts => max_parts) + end + + def recv_get_partition_locations() + result = receive_message(Get_partition_locations_result) + return result.success unless result.success.nil? + raise result.o1 unless result.o1.nil? + raise result.o2 unless result.o2.nil? + raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partition_locations failed: unknown result') + end + def get_partition_values(request) send_get_partition_values(request) return recv_get_partition_values() @@ -5219,6 +5236,19 @@ module ThriftHiveMetastore write_result(result, oprot, 'get_partition_names', seqid) end + def process_get_partition_locations(seqid, iprot, oprot) + args = read_args(iprot, Get_partition_locations_args) + result = Get_partition_locations_result.new() + begin + result.success = @handler.get_partition_locations(args.db_name, args.tblName, args.max_parts) + rescue ::NoSuchObjectException => o1 + result.o1 = o1 + rescue ::MetaException => o2 + result.o2 = o2 + end + write_result(result, oprot, 'get_partition_locations', seqid) + end + def process_get_partition_values(seqid, iprot, oprot) args = read_args(iprot, Get_partition_values_args) result = Get_partition_values_result.new() @@ -10321,6 +10351,46 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Get_partition_locations_args + include ::Thrift::Struct, ::Thrift::Struct_Union + DB_NAME = 1 + TBLNAME = 2 + MAX_PARTS = 3 + + FIELDS = { + DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'}, + TBLNAME => {:type => ::Thrift::Types::STRING, :name => 'tblName'}, + MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Get_partition_locations_result + include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 + O1 = 1 + O2 = 2 + + FIELDS = { + SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}, + O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::NoSuchObjectException}, + O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::MetaException} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Get_partition_values_args include ::Thrift::Struct, ::Thrift::Struct_Union REQUEST = 1 diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index dea55b3142..2166c44429 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -2638,6 +2638,27 @@ protected GetPartitionNamesPsResponse listPartitionNamesRequestInternal(GetParti req.getDbName(), req.getTblName(), client.get_partition_names_req(req)); } + @Override + public Map listPartitionLocations(String dbName, String tblName, + short maxParts) throws NoSuchObjectException, MetaException, TException { + return listPartitionLocations(getDefaultCatalog(conf), dbName, tblName, maxParts); + } + + @Override + public Map listPartitionLocations(String catName, String dbName, String tableName, + short maxParts) throws NoSuchObjectException, MetaException, TException { + Map partLocations = listPartitionLocationsInternal( + catName, dbName, tableName, maxParts); + return FilterUtils.filterPartitionNamesIfEnabled( + isClientFilterEnabled, filterHook, catName, dbName, tableName, partLocations); + } + + protected Map listPartitionLocationsInternal(String catName, String dbName, String tableName, + short maxParts) throws TException { + return client.get_partition_locations( + prependCatalogToDbName(catName, dbName, conf), tableName, maxParts); + } + @Override public int getNumPartitionsByFilter(String db_name, String tbl_name, String filter) throws TException { diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index f0b831900b..c97b432dda 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -1275,6 +1275,34 @@ GetPartitionNamesPsResponse listPartitionNamesRequest(GetPartitionNamesPsRequest PartitionValuesResponse listPartitionValues(PartitionValuesRequest request) throws MetaException, TException, NoSuchObjectException; + /** + * Get Map of partition names to locations of partitions in a table. + * @param db_name database name. + * @param tbl_name table name. + * @param max_parts maximum number of parts of fetch, or -1 to fetch them all. + * @return map of partition names to locations + * @throws NoSuchObjectException No such table. + * @throws MetaException Error accessing the RDBMS. + * @throws TException thrift transport error + */ + Map listPartitionLocations(String db_name, String tbl_name, + short max_parts) throws NoSuchObjectException, MetaException, TException; + + /** + * Get Map of partition names to locations of partitions in a table. + * @param cat_name catalog name. + * @param db_name database name. + * @param tbl_name table name. + * @param max_parts maximum number of parts of fetch, or -1 to fetch them all. + * @return map of partition names to locations + * @throws NoSuchObjectException No such table. + * @throws MetaException Error accessing the RDBMS. + * @throws TException thrift transport error + */ + Map listPartitionLocations(String cat_name, String db_name, String tbl_name, + short max_parts) throws NoSuchObjectException, MetaException, TException; + + /** * Get number of partitions matching specified filter * @param dbName the database name diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/FilterUtils.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/FilterUtils.java index d25ed801a0..a1ab9abe1a 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/FilterUtils.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/FilterUtils.java @@ -21,6 +21,7 @@ import static org.apache.commons.lang3.StringUtils.isBlank; import static org.apache.hadoop.hive.metastore.utils.MetaStoreUtils.CATALOG_DB_SEPARATOR; +import com.google.common.collect.Lists; import org.apache.hadoop.hive.metastore.MetaStoreFilterHook; import org.apache.hadoop.hive.metastore.api.Catalog; import org.apache.hadoop.hive.metastore.api.Database; @@ -256,6 +257,36 @@ public static Partition filterPartitionIfEnabled( return partitionNames; } + /** + * Filter the map of partitions if filtering is enabled. Otherwise, return original map + * @param isFilterEnabled true: filtering is enabled; false: filtering is disabled. + * @param filterHook: the object that does filtering + * @param catName: the catalog name + * @param dbName: the database name + * @param tableName: the table name + * @param partitionNamesToLocations: the map of partition names to locationss + * @return the map of partition names to locations that current user has access if filtering is enabled; + * Otherwise, the original map + * @throws MetaException + */ + public static Map filterPartitionNamesIfEnabled( + boolean isFilterEnabled, + MetaStoreFilterHook filterHook, + final String catName, final String dbName, + final String tableName, Map partitionNamesToLocations) throws MetaException { + if (isFilterEnabled) { + Map result = new HashMap<>(); + List filteredKeys = filterHook.filterPartitionNames(catName, + dbName, tableName, Lists.newArrayList(partitionNamesToLocations.keySet())); + for (String filteredKey : filteredKeys) { + result.put(filteredKey, partitionNamesToLocations.get(filteredKey)); + } + return result; + } else { + return partitionNamesToLocations; + } + } + /** * Filter the list of PartitionSpec if filtering is enabled; Otherwise, return original list * @param isFilterEnabled true: filtering is enabled; false: filtring is disabled. diff --git a/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift index 99731ffc8a..dc7e6aacdc 100644 --- a/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift @@ -2389,6 +2389,9 @@ PartitionsResponse get_partitions_req(1:PartitionsRequest req) list get_partition_names(1:string db_name, 2:string tbl_name, 3:i16 max_parts=-1) throws(1:NoSuchObjectException o1, 2:MetaException o2) + map get_partition_locations(1:string db_name, 2:string tblName, 3:i16 max_parts=-1) + throws(1:NoSuchObjectException o1, 2:MetaException o2) + PartitionValuesResponse get_partition_values(1:PartitionValuesRequest request) throws(1:MetaException o1, 2:NoSuchObjectException o2); diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 6a8178e58e..90ebb5baa8 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -5549,6 +5549,32 @@ public PartitionValuesResponse get_partition_values(PartitionValuesRequest reque } } + @Override + public Map get_partition_locations(final String db_name, final String tbl_name, + final short max_parts) throws NoSuchObjectException, MetaException { + String[] parsedDbName = parseDbName(db_name, conf); + startTableFunction("get_partition_locations", parsedDbName[CAT_NAME], parsedDbName[DB_NAME], tbl_name); + fireReadTablePreEvent(parsedDbName[CAT_NAME], parsedDbName[DB_NAME], tbl_name); + Map ret = null; + Exception ex = null; + try { + authorizeTableForPartitionMetadata(parsedDbName[CAT_NAME], parsedDbName[DB_NAME], tbl_name); + ret = getMS().listPartitionLocations(parsedDbName[CAT_NAME], parsedDbName[DB_NAME], tbl_name, + max_parts); + ret = FilterUtils.filterPartitionNamesIfEnabled(isServerFilterEnabled, + filterHook, parsedDbName[CAT_NAME], parsedDbName[DB_NAME], tbl_name, ret); + } catch (MetaException e) { + ex = e; + throw e; + } catch (Exception e) { + ex = e; + throw newMetaException(e); + } finally { + endFunction("get_partition_locations", ret != null, ex, tbl_name); + } + return ret; + } + @Deprecated @Override public void alter_partition(final String db_name, final String tbl_name, diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 71d2de4727..03438b50c9 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -213,9 +213,9 @@ import org.apache.hadoop.hive.metastore.model.MVersionTable; import org.apache.hadoop.hive.metastore.model.MWMMapping; import org.apache.hadoop.hive.metastore.model.MWMMapping.EntityType; +import org.apache.hadoop.hive.metastore.model.MWMResourcePlan.Status; import org.apache.hadoop.hive.metastore.model.MWMPool; import org.apache.hadoop.hive.metastore.model.MWMResourcePlan; -import org.apache.hadoop.hive.metastore.model.MWMResourcePlan.Status; import org.apache.hadoop.hive.metastore.model.MWMTrigger; import org.apache.hadoop.hive.metastore.model.MReplicationMetrics; import org.apache.hadoop.hive.metastore.parser.ExpressionTree; @@ -2805,7 +2805,7 @@ private boolean dropPartitionCommon(MPartition part) throws MetaException, @Override public Map getPartitionLocations(String catName, String dbName, String tblName, - String baseLocationToNotShow, int max) { + String baseLocationToNotShow, int max) { catName = normalizeIdentifier(catName); dbName = normalizeIdentifier(dbName); tblName = normalizeIdentifier(tblName); @@ -3050,6 +3050,29 @@ public Partition getPartitionWithAuth(String catName, String dbName, String tblN }.run(true); } + @Override + public Map listPartitionLocations(String catName, String dbName, String tblName, + short max_parts) throws MetaException, NoSuchObjectException { + + Map partLocations; + boolean success = false; + try { + openTransaction(); + catName = normalizeIdentifier(catName); + dbName = normalizeIdentifier(dbName); + tblName = normalizeIdentifier(tblName); + Table tbl = getTable(catName, dbName, tblName); + LOG.debug("executing listPartitionLocations"); + partLocations = getPartitionLocations(catName, dbName, tblName, null, max_parts); + success = commitTransaction(); + return partLocations; + } catch (Exception e) { + throw new MetaException(e.getMessage()); + } finally { + rollbackAndCleanup(success, null); + } + } + private List getPartitionNamesViaOrm(Table table, ExpressionTree tree, String order, Integer maxParts, boolean isValidatedFilter) throws MetaException { Map params = new HashMap(); diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java index 09ae83b816..7e941d7628 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java @@ -497,6 +497,20 @@ void updateCreationMetadata(String catName, String dbname, String tablename, Cre String defaultPartName, byte[] exprBytes, String order, short maxParts) throws MetaException, NoSuchObjectException; + + /** + * Get a map of partition names to partition locations + * @param catName catalog name. + * @param dbName database name. + * @param tblName table name. + * @param maxParts maximum number of partitions to retrieve, -1 for all. + * @return map of partition names to partition locations + * @throws MetaException there was an error accessing the RDBMS + * @throws NoSuchObjectException no such table. + */ + Map listPartitionLocations(String catName, String dbName, String tblName, + short maxParts) throws MetaException, NoSuchObjectException; + /** * Get a list of partition values as one big struct. * @param catName catalog name. diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java index 9a4c262f07..e544e1a262 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java @@ -2000,6 +2000,34 @@ private boolean getPartitionNamesPrunedByExprNoTxn(Table table, byte[] expr, Str return partitionNames; } + @Override public Map listPartitionLocations(String catName, String dbName, String tblName, + short maxParts) throws MetaException, NoSuchObjectException { + catName = StringUtils.normalizeIdentifier(catName); + dbName = StringUtils.normalizeIdentifier(dbName); + tblName = StringUtils.normalizeIdentifier(tblName); + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { + return rawStore.listPartitionLocations(catName, dbName, tblName, maxParts); + } + Table table = sharedCache.getTableFromCache(catName, dbName, tblName); + if (table == null) { + // The table is not yet loaded in cache + return rawStore.listPartitionLocations(catName, dbName, tblName, maxParts); + } + Map partitionLocations = new HashMap<>(); + List allPartitions = sharedCache.listCachedPartitions(catName, dbName, tblName, maxParts); + int count = 0; + for (Partition part : allPartitions) { + String partName = Warehouse.makePartName(table.getPartitionKeys(), part.getValues()); + if ((maxParts == -1 || count < maxParts)) { + if (part.getSd() != null && part.getSd().getLocation() != null) { + partitionLocations.put(partName, part.getSd().getLocation()); + } + count++; + } + } + return partitionLocations; + } + @Override public List listPartitionsPsWithAuth(String catName, String dbName, String tblName, List partSpecs, short maxParts, String userName, List groupNames) throws MetaException, InvalidObjectException, NoSuchObjectException { diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java index a4e05dd32c..8910ef9ac0 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java @@ -372,6 +372,12 @@ public void updateCreationMetadata(String catName, String dbname, String tablena defaultPartName, exprBytes, order, maxParts); } + @Override + public Map listPartitionLocations(String catName, String dbName, String tblName, + short maxParts) throws MetaException, NoSuchObjectException { + return objectStore.listPartitionLocations(catName, dbName, tblName, maxParts); + } + @Override public PartitionValuesResponse listPartitionValues(String catName, String db_name, String tbl_name, List cols, boolean applyDistinct, String filter, diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java index 80002dd4ee..4284d8fc13 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java @@ -372,6 +372,12 @@ public void updateCreationMetadata(String catName, String dbname, String tablena return Collections.emptyList(); } + @Override + public Map listPartitionLocations(String catName, String dbName, String tblName, + short maxParts) throws MetaException, NoSuchObjectException { + return Collections.emptyMap(); + } + @Override public PartitionValuesResponse listPartitionValues(String catName, String db_name, String tbl_name, List cols, diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java index f65ea81fed..93ea36af05 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java @@ -1483,6 +1483,18 @@ public PartitionValuesResponse listPartitionValues(PartitionValuesRequest reques return client.get_partition_values(request); } + @Override + public Map listPartitionLocations(String db_name, String tbl_name, + short max_parts) { + throw new UnsupportedOperationException(); + } + + @Override + public Map listPartitionLocations(String catName, String dbName, String tblName, + short maxParts) { + throw new UnsupportedOperationException(); + } + @Override public Partition getPartitionWithAuthInfo(String db_name, String tbl_name, List part_vals, String user_name, List group_names) diff --git a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestListPartitions.java b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestListPartitions.java index 3e68945082..99fb840bd4 100644 --- a/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestListPartitions.java +++ b/standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestListPartitions.java @@ -22,7 +22,10 @@ import java.util.Arrays; import java.util.Collections; import java.util.List; +import java.util.stream.Collectors; +import java.util.stream.IntStream; +import com.google.gson.internal.Streams; import org.apache.hadoop.hive.metastore.IMetaStoreClient; import org.apache.hadoop.hive.metastore.MetaStoreTestUtils; import org.apache.hadoop.hive.metastore.annotation.MetastoreCheckinTest; @@ -167,6 +170,15 @@ protected void addPartition(IMetaStoreClient client, Table table, List v client.add_partition(partitionBuilder.build(metaStore.getConf())); } + protected void addPartitionWithLocation(IMetaStoreClient client, Table table, + List values, String location) throws TException { + PartitionBuilder partitionBuilder = new PartitionBuilder().inTable(table); + values.forEach(val -> partitionBuilder.addValue(val)); + Partition p = partitionBuilder.build(metaStore.getConf()); + p.getSd().setLocation(location); + client.add_partition(p); + } + private Table createTable3PartCols1PartGeneric(IMetaStoreClient client, boolean authOn) throws TException { Table t = createTestTable(client, DB_NAME, TABLE_NAME, Lists.newArrayList("yyyy", "mm", @@ -208,6 +220,21 @@ protected ReturnTable createTable4PartColsPartsAuthOn(IMetaStoreClient client) t return createTable4PartColsPartsGeneric(client, true); } + protected Map getExpectedLocations(String tableLoc, + List> values, List partCols) { + Map results = new HashMap<>(); + for (List value : values) { + List kvPair = new ArrayList(); + for (int i = 0; i < partCols.size(); i++) { + kvPair.add(partCols.get(i) + "=" + value.get(i)); + } + String partLoc = tableLoc + "/" + kvPair.stream().collect(joining("/")); + String partName = kvPair.stream().collect(joining("/")); + results.put(partName, partLoc); + } + return results; + } + protected void assertAuthInfoReturned(String user, String group, Partition partition) { assertNotNull(partition.getPrivileges()); assertEquals(Lists.newArrayList(), @@ -241,6 +268,19 @@ private void assertCorrectPartitionNames(List names, } } + private void assertCorrectPartitionLocations(List names, + List> testValues, + ListpartCols) throws Exception { + assertEquals(testValues.size(), names.size()); + for (int i = 0; i < names.size(); ++i) { + List expectedKVPairs = new ArrayList<>(); + for (int j = 0; j < partCols.size(); ++j) { + expectedKVPairs.add(partCols.get(j) + "=" + testValues.get(i).get(j)); + } + assertEquals(expectedKVPairs.stream().collect(joining("/")), names.get(i)); + } + } + protected void assertPartitionsSpecProxy(PartitionSpecProxy partSpecProxy, List> testValues) throws Exception { assertEquals(testValues.size(), partSpecProxy.size()); @@ -1437,8 +1477,6 @@ public void testListPartitionNamesByValuesNullValues() throws Exception { client.listPartitionNames(DB_NAME, TABLE_NAME, (List)null, (short)-1); } - - /** * Testing listPartitionValues(PartitionValuesRequest) -> * get_partition_values(PartitionValuesRequest). @@ -1454,7 +1492,6 @@ public void testListPartitionValues() throws Exception { partitionSchema); PartitionValuesResponse response = client.listPartitionValues(request); assertCorrectPartitionValuesResponse(testValues, response); - } @Test @@ -1577,6 +1614,101 @@ public void testListPartitionValuesNullRequest() throws Exception { } } + @Test + public void testListPartitionLocations() throws Exception { + ReturnTable rt = createTable4PartColsParts(client); + String tableLoc = client.getTable(DB_NAME, TABLE_NAME).getSd().getLocation(); + + Map partitionLocations = client.listPartitionLocations(DB_NAME, TABLE_NAME, (short)-1); + Map expectedPartitionLocations = getExpectedLocations( + tableLoc, rt.testValues, Lists.newArrayList("yyyy", "mm", "dd")); + assertEquals(expectedPartitionLocations, partitionLocations); + + partitionLocations = client.listPartitionLocations(DB_NAME, TABLE_NAME, (short)2); + Map expectedPartitionLocations2 = getExpectedLocations(tableLoc, rt.testValues.subList(0, 2), + Lists.newArrayList("yyyy", "mm", "dd")); + assertEquals(expectedPartitionLocations2, partitionLocations); + + partitionLocations = client.listPartitionLocations(DB_NAME, TABLE_NAME, (short)0); + assertTrue(partitionLocations.isEmpty()); + + //This method does not depend on MetastoreConf.LIMIT_PARTITION_REQUEST setting: + partitionLocations = client.listPartitionLocations(DB_NAME, TABLE_NAME, (short)101); + assertEquals(expectedPartitionLocations, partitionLocations); + } + + @Test + public void testListPartitionLocationsExternal() throws Exception { + List partCols = Lists.newArrayList("yyyy", "mm", "dd"); + List> partVals = Lists.newArrayList(); + partVals.add(Lists.newArrayList("2020", "01", "01")); + partVals.add(Lists.newArrayList("2020", "01", "02")); + + Table t = createTestTable(client, DB_NAME, TABLE_NAME, partCols); + String tableLoc = client.getTable(DB_NAME, TABLE_NAME).getSd().getLocation(); + List externalLocations = Lists.newArrayList("extern1", "extern2").stream().map( + l -> tableLoc + "/" + l).collect(Collectors.toList()); + for (int i = 0; i < 2; i ++) { + addPartitionWithLocation(client, t, partVals.get(i), externalLocations.get(i)); + } + + Map expected = new HashMap<>(); + for (int i = 0; i < partVals.size(); i++) { + List currVals = partVals.get(i); + String partName = + IntStream.range(0, partCols.size()).mapToObj(j -> partCols.get(j) + "=" + currVals.get(j)).collect(joining("/")); + expected.put(partName, externalLocations.get(i)); + } + Map locations = client.listPartitionLocations(DB_NAME, TABLE_NAME, (short)-1); + assertEquals(expected, locations); + } + + @Test(expected = MetaException.class) + public void testListPartitionLocationsNoDbName() throws Exception { + createTable4PartColsParts(client); + client.listPartitionLocations("", TABLE_NAME, (short)-1); + } + + @Test(expected = MetaException.class) + public void testListPartitionLocationsNoTblName() throws Exception { + createTable4PartColsParts(client); + client.listPartitionLocations(DB_NAME, "", (short)-1); + } + + @Test + public void testListPartitionLocationsNoTable() throws Exception { + Map names = client.listPartitionLocations(DB_NAME, TABLE_NAME, (short)-1); + Assert.assertEquals(0, names.size()); + } + + @Test + public void testListPartitionLocationsNoDb() throws Exception { + client.dropDatabase(DB_NAME); + client.listPartitionLocations(DB_NAME, TABLE_NAME, (short)-1); + } + + @Test(expected = MetaException.class) + public void testListPartitionLocationsNullDbName() throws Exception { + try { + createTable4PartColsParts(client); + client.listPartitionLocations(null, TABLE_NAME, (short)-1); + fail("Should have thrown exception"); + } catch (NullPointerException | TTransportException e) { + //TODO: should not throw different exceptions for different HMS deployment types + } + } + + @Test(expected = MetaException.class) + public void testListPartitionLocationsNullTblName() throws Exception { + try { + createTable4PartColsParts(client); + client.listPartitionLocations(DB_NAME, (String)null, (short)-1); + fail("Should have thrown exception"); + } catch (NullPointerException | TTransportException e) { + //TODO: should not throw different exceptions for different HMS deployment types + } + } + @Test @ConditionalIgnoreOnSessionHiveMetastoreClient public void otherCatalog() throws TException {