diff --git metastore/if/hive_metastore.thrift metastore/if/hive_metastore.thrift index 872c0f3..c5ba309 100755 --- metastore/if/hive_metastore.thrift +++ metastore/if/hive_metastore.thrift @@ -1030,6 +1030,7 @@ service ThriftHiveMetastore extends fb303.FacebookService 4:EnvironmentContext environment_context) throws(1:NoSuchObjectException o1, 2:MetaException o3) list get_tables(1: string db_name, 2: string pattern) throws (1: MetaException o1) + list get_tables_by_type(1: string db_name, 2: string pattern, 3: string tableType) throws (1: MetaException o1) list get_table_meta(1: string db_patterns, 2: string tbl_patterns, 3: list tbl_types) throws (1: MetaException o1) list get_all_tables(1: string db_name) throws (1: MetaException o1) diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 5a35a50..b4a05b2 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -6186,6 +6186,277 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol } +ThriftHiveMetastore_get_tables_by_type_args::~ThriftHiveMetastore_get_tables_by_type_args() throw() { +} + + +uint32_t ThriftHiveMetastore_get_tables_by_type_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->pattern); + this->__isset.pattern = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->tableType); + this->__isset.tableType = 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_tables_by_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_by_type_args"); + + xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->db_name); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->pattern); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tableType", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->tableType); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_tables_by_type_pargs::~ThriftHiveMetastore_get_tables_by_type_pargs() throw() { +} + + +uint32_t ThriftHiveMetastore_get_tables_by_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_by_type_pargs"); + + xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString((*(this->db_name))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->pattern))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tableType", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString((*(this->tableType))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_tables_by_type_result::~ThriftHiveMetastore_get_tables_by_type_result() throw() { +} + + +uint32_t ThriftHiveMetastore_get_tables_by_type_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_LIST) { + { + this->success.clear(); + uint32_t _size887; + ::apache::thrift::protocol::TType _etype890; + xfer += iprot->readListBegin(_etype890, _size887); + this->success.resize(_size887); + uint32_t _i891; + for (_i891 = 0; _i891 < _size887; ++_i891) + { + xfer += iprot->readString(this->success[_i891]); + } + xfer += iprot->readListEnd(); + } + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_get_tables_by_type_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_by_type_result"); + + if (this->__isset.success) { + 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 _iter892; + for (_iter892 = this->success.begin(); _iter892 != this->success.end(); ++_iter892) + { + xfer += oprot->writeString((*_iter892)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o1) { + xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->o1.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_tables_by_type_presult::~ThriftHiveMetastore_get_tables_by_type_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_get_tables_by_type_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_LIST) { + { + (*(this->success)).clear(); + uint32_t _size893; + ::apache::thrift::protocol::TType _etype896; + xfer += iprot->readListBegin(_etype896, _size893); + (*(this->success)).resize(_size893); + uint32_t _i897; + for (_i897 = 0; _i897 < _size893; ++_i897) + { + xfer += iprot->readString((*(this->success))[_i897]); + } + xfer += iprot->readListEnd(); + } + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + ThriftHiveMetastore_get_table_meta_args::~ThriftHiveMetastore_get_table_meta_args() throw() { } @@ -6231,14 +6502,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_types.clear(); - uint32_t _size887; - ::apache::thrift::protocol::TType _etype890; - xfer += iprot->readListBegin(_etype890, _size887); - this->tbl_types.resize(_size887); - uint32_t _i891; - for (_i891 = 0; _i891 < _size887; ++_i891) + uint32_t _size898; + ::apache::thrift::protocol::TType _etype901; + xfer += iprot->readListBegin(_etype901, _size898); + this->tbl_types.resize(_size898); + uint32_t _i902; + for (_i902 = 0; _i902 < _size898; ++_i902) { - xfer += iprot->readString(this->tbl_types[_i891]); + xfer += iprot->readString(this->tbl_types[_i902]); } xfer += iprot->readListEnd(); } @@ -6275,10 +6546,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_types.size())); - std::vector ::const_iterator _iter892; - for (_iter892 = this->tbl_types.begin(); _iter892 != this->tbl_types.end(); ++_iter892) + std::vector ::const_iterator _iter903; + for (_iter903 = this->tbl_types.begin(); _iter903 != this->tbl_types.end(); ++_iter903) { - xfer += oprot->writeString((*_iter892)); + xfer += oprot->writeString((*_iter903)); } xfer += oprot->writeListEnd(); } @@ -6310,10 +6581,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_types)).size())); - std::vector ::const_iterator _iter893; - for (_iter893 = (*(this->tbl_types)).begin(); _iter893 != (*(this->tbl_types)).end(); ++_iter893) + std::vector ::const_iterator _iter904; + for (_iter904 = (*(this->tbl_types)).begin(); _iter904 != (*(this->tbl_types)).end(); ++_iter904) { - xfer += oprot->writeString((*_iter893)); + xfer += oprot->writeString((*_iter904)); } xfer += oprot->writeListEnd(); } @@ -6354,14 +6625,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size894; - ::apache::thrift::protocol::TType _etype897; - xfer += iprot->readListBegin(_etype897, _size894); - this->success.resize(_size894); - uint32_t _i898; - for (_i898 = 0; _i898 < _size894; ++_i898) + uint32_t _size905; + ::apache::thrift::protocol::TType _etype908; + xfer += iprot->readListBegin(_etype908, _size905); + this->success.resize(_size905); + uint32_t _i909; + for (_i909 = 0; _i909 < _size905; ++_i909) { - xfer += this->success[_i898].read(iprot); + xfer += this->success[_i909].read(iprot); } xfer += iprot->readListEnd(); } @@ -6400,10 +6671,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter899; - for (_iter899 = this->success.begin(); _iter899 != this->success.end(); ++_iter899) + std::vector ::const_iterator _iter910; + for (_iter910 = this->success.begin(); _iter910 != this->success.end(); ++_iter910) { - xfer += (*_iter899).write(oprot); + xfer += (*_iter910).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6448,14 +6719,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size900; - ::apache::thrift::protocol::TType _etype903; - xfer += iprot->readListBegin(_etype903, _size900); - (*(this->success)).resize(_size900); - uint32_t _i904; - for (_i904 = 0; _i904 < _size900; ++_i904) + uint32_t _size911; + ::apache::thrift::protocol::TType _etype914; + xfer += iprot->readListBegin(_etype914, _size911); + (*(this->success)).resize(_size911); + uint32_t _i915; + for (_i915 = 0; _i915 < _size911; ++_i915) { - xfer += (*(this->success))[_i904].read(iprot); + xfer += (*(this->success))[_i915].read(iprot); } xfer += iprot->readListEnd(); } @@ -6593,14 +6864,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size905; - ::apache::thrift::protocol::TType _etype908; - xfer += iprot->readListBegin(_etype908, _size905); - this->success.resize(_size905); - uint32_t _i909; - for (_i909 = 0; _i909 < _size905; ++_i909) + uint32_t _size916; + ::apache::thrift::protocol::TType _etype919; + xfer += iprot->readListBegin(_etype919, _size916); + this->success.resize(_size916); + uint32_t _i920; + for (_i920 = 0; _i920 < _size916; ++_i920) { - xfer += iprot->readString(this->success[_i909]); + xfer += iprot->readString(this->success[_i920]); } xfer += iprot->readListEnd(); } @@ -6639,10 +6910,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter910; - for (_iter910 = this->success.begin(); _iter910 != this->success.end(); ++_iter910) + std::vector ::const_iterator _iter921; + for (_iter921 = this->success.begin(); _iter921 != this->success.end(); ++_iter921) { - xfer += oprot->writeString((*_iter910)); + xfer += oprot->writeString((*_iter921)); } xfer += oprot->writeListEnd(); } @@ -6687,14 +6958,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size911; - ::apache::thrift::protocol::TType _etype914; - xfer += iprot->readListBegin(_etype914, _size911); - (*(this->success)).resize(_size911); - uint32_t _i915; - for (_i915 = 0; _i915 < _size911; ++_i915) + uint32_t _size922; + ::apache::thrift::protocol::TType _etype925; + xfer += iprot->readListBegin(_etype925, _size922); + (*(this->success)).resize(_size922); + uint32_t _i926; + for (_i926 = 0; _i926 < _size922; ++_i926) { - xfer += iprot->readString((*(this->success))[_i915]); + xfer += iprot->readString((*(this->success))[_i926]); } xfer += iprot->readListEnd(); } @@ -7004,14 +7275,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size916; - ::apache::thrift::protocol::TType _etype919; - xfer += iprot->readListBegin(_etype919, _size916); - this->tbl_names.resize(_size916); - uint32_t _i920; - for (_i920 = 0; _i920 < _size916; ++_i920) + uint32_t _size927; + ::apache::thrift::protocol::TType _etype930; + xfer += iprot->readListBegin(_etype930, _size927); + this->tbl_names.resize(_size927); + uint32_t _i931; + for (_i931 = 0; _i931 < _size927; ++_i931) { - xfer += iprot->readString(this->tbl_names[_i920]); + xfer += iprot->readString(this->tbl_names[_i931]); } xfer += iprot->readListEnd(); } @@ -7044,10 +7315,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter921; - for (_iter921 = this->tbl_names.begin(); _iter921 != this->tbl_names.end(); ++_iter921) + std::vector ::const_iterator _iter932; + for (_iter932 = this->tbl_names.begin(); _iter932 != this->tbl_names.end(); ++_iter932) { - xfer += oprot->writeString((*_iter921)); + xfer += oprot->writeString((*_iter932)); } xfer += oprot->writeListEnd(); } @@ -7075,10 +7346,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter922; - for (_iter922 = (*(this->tbl_names)).begin(); _iter922 != (*(this->tbl_names)).end(); ++_iter922) + std::vector ::const_iterator _iter933; + for (_iter933 = (*(this->tbl_names)).begin(); _iter933 != (*(this->tbl_names)).end(); ++_iter933) { - xfer += oprot->writeString((*_iter922)); + xfer += oprot->writeString((*_iter933)); } xfer += oprot->writeListEnd(); } @@ -7119,14 +7390,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size923; - ::apache::thrift::protocol::TType _etype926; - xfer += iprot->readListBegin(_etype926, _size923); - this->success.resize(_size923); - uint32_t _i927; - for (_i927 = 0; _i927 < _size923; ++_i927) + uint32_t _size934; + ::apache::thrift::protocol::TType _etype937; + xfer += iprot->readListBegin(_etype937, _size934); + this->success.resize(_size934); + uint32_t _i938; + for (_i938 = 0; _i938 < _size934; ++_i938) { - xfer += this->success[_i927].read(iprot); + xfer += this->success[_i938].read(iprot); } xfer += iprot->readListEnd(); } @@ -7181,10 +7452,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter928; - for (_iter928 = this->success.begin(); _iter928 != this->success.end(); ++_iter928) + std::vector
::const_iterator _iter939; + for (_iter939 = this->success.begin(); _iter939 != this->success.end(); ++_iter939) { - xfer += (*_iter928).write(oprot); + xfer += (*_iter939).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7237,14 +7508,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size929; - ::apache::thrift::protocol::TType _etype932; - xfer += iprot->readListBegin(_etype932, _size929); - (*(this->success)).resize(_size929); - uint32_t _i933; - for (_i933 = 0; _i933 < _size929; ++_i933) + uint32_t _size940; + ::apache::thrift::protocol::TType _etype943; + xfer += iprot->readListBegin(_etype943, _size940); + (*(this->success)).resize(_size940); + uint32_t _i944; + for (_i944 = 0; _i944 < _size940; ++_i944) { - xfer += (*(this->success))[_i933].read(iprot); + xfer += (*(this->success))[_i944].read(iprot); } xfer += iprot->readListEnd(); } @@ -7430,14 +7701,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size934; - ::apache::thrift::protocol::TType _etype937; - xfer += iprot->readListBegin(_etype937, _size934); - this->success.resize(_size934); - uint32_t _i938; - for (_i938 = 0; _i938 < _size934; ++_i938) + uint32_t _size945; + ::apache::thrift::protocol::TType _etype948; + xfer += iprot->readListBegin(_etype948, _size945); + this->success.resize(_size945); + uint32_t _i949; + for (_i949 = 0; _i949 < _size945; ++_i949) { - xfer += iprot->readString(this->success[_i938]); + xfer += iprot->readString(this->success[_i949]); } xfer += iprot->readListEnd(); } @@ -7492,10 +7763,10 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter939; - for (_iter939 = this->success.begin(); _iter939 != this->success.end(); ++_iter939) + std::vector ::const_iterator _iter950; + for (_iter950 = this->success.begin(); _iter950 != this->success.end(); ++_iter950) { - xfer += oprot->writeString((*_iter939)); + xfer += oprot->writeString((*_iter950)); } xfer += oprot->writeListEnd(); } @@ -7548,14 +7819,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size940; - ::apache::thrift::protocol::TType _etype943; - xfer += iprot->readListBegin(_etype943, _size940); - (*(this->success)).resize(_size940); - uint32_t _i944; - for (_i944 = 0; _i944 < _size940; ++_i944) + uint32_t _size951; + ::apache::thrift::protocol::TType _etype954; + xfer += iprot->readListBegin(_etype954, _size951); + (*(this->success)).resize(_size951); + uint32_t _i955; + for (_i955 = 0; _i955 < _size951; ++_i955) { - xfer += iprot->readString((*(this->success))[_i944]); + xfer += iprot->readString((*(this->success))[_i955]); } xfer += iprot->readListEnd(); } @@ -8889,14 +9160,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size945; - ::apache::thrift::protocol::TType _etype948; - xfer += iprot->readListBegin(_etype948, _size945); - this->new_parts.resize(_size945); - uint32_t _i949; - for (_i949 = 0; _i949 < _size945; ++_i949) + uint32_t _size956; + ::apache::thrift::protocol::TType _etype959; + xfer += iprot->readListBegin(_etype959, _size956); + this->new_parts.resize(_size956); + uint32_t _i960; + for (_i960 = 0; _i960 < _size956; ++_i960) { - xfer += this->new_parts[_i949].read(iprot); + xfer += this->new_parts[_i960].read(iprot); } xfer += iprot->readListEnd(); } @@ -8925,10 +9196,10 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter950; - for (_iter950 = this->new_parts.begin(); _iter950 != this->new_parts.end(); ++_iter950) + std::vector ::const_iterator _iter961; + for (_iter961 = this->new_parts.begin(); _iter961 != this->new_parts.end(); ++_iter961) { - xfer += (*_iter950).write(oprot); + xfer += (*_iter961).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8952,10 +9223,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter951; - for (_iter951 = (*(this->new_parts)).begin(); _iter951 != (*(this->new_parts)).end(); ++_iter951) + std::vector ::const_iterator _iter962; + for (_iter962 = (*(this->new_parts)).begin(); _iter962 != (*(this->new_parts)).end(); ++_iter962) { - xfer += (*_iter951).write(oprot); + xfer += (*_iter962).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9164,14 +9435,14 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size952; - ::apache::thrift::protocol::TType _etype955; - xfer += iprot->readListBegin(_etype955, _size952); - this->new_parts.resize(_size952); - uint32_t _i956; - for (_i956 = 0; _i956 < _size952; ++_i956) + uint32_t _size963; + ::apache::thrift::protocol::TType _etype966; + xfer += iprot->readListBegin(_etype966, _size963); + this->new_parts.resize(_size963); + uint32_t _i967; + for (_i967 = 0; _i967 < _size963; ++_i967) { - xfer += this->new_parts[_i956].read(iprot); + xfer += this->new_parts[_i967].read(iprot); } xfer += iprot->readListEnd(); } @@ -9200,10 +9471,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter957; - for (_iter957 = this->new_parts.begin(); _iter957 != this->new_parts.end(); ++_iter957) + std::vector ::const_iterator _iter968; + for (_iter968 = this->new_parts.begin(); _iter968 != this->new_parts.end(); ++_iter968) { - xfer += (*_iter957).write(oprot); + xfer += (*_iter968).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9227,10 +9498,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter958; - for (_iter958 = (*(this->new_parts)).begin(); _iter958 != (*(this->new_parts)).end(); ++_iter958) + std::vector ::const_iterator _iter969; + for (_iter969 = (*(this->new_parts)).begin(); _iter969 != (*(this->new_parts)).end(); ++_iter969) { - xfer += (*_iter958).write(oprot); + xfer += (*_iter969).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9455,14 +9726,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size959; - ::apache::thrift::protocol::TType _etype962; - xfer += iprot->readListBegin(_etype962, _size959); - this->part_vals.resize(_size959); - uint32_t _i963; - for (_i963 = 0; _i963 < _size959; ++_i963) + uint32_t _size970; + ::apache::thrift::protocol::TType _etype973; + xfer += iprot->readListBegin(_etype973, _size970); + this->part_vals.resize(_size970); + uint32_t _i974; + for (_i974 = 0; _i974 < _size970; ++_i974) { - xfer += iprot->readString(this->part_vals[_i963]); + xfer += iprot->readString(this->part_vals[_i974]); } xfer += iprot->readListEnd(); } @@ -9499,10 +9770,10 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter964; - for (_iter964 = this->part_vals.begin(); _iter964 != this->part_vals.end(); ++_iter964) + std::vector ::const_iterator _iter975; + for (_iter975 = this->part_vals.begin(); _iter975 != this->part_vals.end(); ++_iter975) { - xfer += oprot->writeString((*_iter964)); + xfer += oprot->writeString((*_iter975)); } xfer += oprot->writeListEnd(); } @@ -9534,10 +9805,10 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter965; - for (_iter965 = (*(this->part_vals)).begin(); _iter965 != (*(this->part_vals)).end(); ++_iter965) + std::vector ::const_iterator _iter976; + for (_iter976 = (*(this->part_vals)).begin(); _iter976 != (*(this->part_vals)).end(); ++_iter976) { - xfer += oprot->writeString((*_iter965)); + xfer += oprot->writeString((*_iter976)); } xfer += oprot->writeListEnd(); } @@ -10009,14 +10280,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size966; - ::apache::thrift::protocol::TType _etype969; - xfer += iprot->readListBegin(_etype969, _size966); - this->part_vals.resize(_size966); - uint32_t _i970; - for (_i970 = 0; _i970 < _size966; ++_i970) + uint32_t _size977; + ::apache::thrift::protocol::TType _etype980; + xfer += iprot->readListBegin(_etype980, _size977); + this->part_vals.resize(_size977); + uint32_t _i981; + for (_i981 = 0; _i981 < _size977; ++_i981) { - xfer += iprot->readString(this->part_vals[_i970]); + xfer += iprot->readString(this->part_vals[_i981]); } xfer += iprot->readListEnd(); } @@ -10061,10 +10332,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter971; - for (_iter971 = this->part_vals.begin(); _iter971 != this->part_vals.end(); ++_iter971) + std::vector ::const_iterator _iter982; + for (_iter982 = this->part_vals.begin(); _iter982 != this->part_vals.end(); ++_iter982) { - xfer += oprot->writeString((*_iter971)); + xfer += oprot->writeString((*_iter982)); } xfer += oprot->writeListEnd(); } @@ -10100,10 +10371,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter972; - for (_iter972 = (*(this->part_vals)).begin(); _iter972 != (*(this->part_vals)).end(); ++_iter972) + std::vector ::const_iterator _iter983; + for (_iter983 = (*(this->part_vals)).begin(); _iter983 != (*(this->part_vals)).end(); ++_iter983) { - xfer += oprot->writeString((*_iter972)); + xfer += oprot->writeString((*_iter983)); } xfer += oprot->writeListEnd(); } @@ -10906,14 +11177,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size973; - ::apache::thrift::protocol::TType _etype976; - xfer += iprot->readListBegin(_etype976, _size973); - this->part_vals.resize(_size973); - uint32_t _i977; - for (_i977 = 0; _i977 < _size973; ++_i977) + uint32_t _size984; + ::apache::thrift::protocol::TType _etype987; + xfer += iprot->readListBegin(_etype987, _size984); + this->part_vals.resize(_size984); + uint32_t _i988; + for (_i988 = 0; _i988 < _size984; ++_i988) { - xfer += iprot->readString(this->part_vals[_i977]); + xfer += iprot->readString(this->part_vals[_i988]); } xfer += iprot->readListEnd(); } @@ -10958,10 +11229,10 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter978; - for (_iter978 = this->part_vals.begin(); _iter978 != this->part_vals.end(); ++_iter978) + std::vector ::const_iterator _iter989; + for (_iter989 = this->part_vals.begin(); _iter989 != this->part_vals.end(); ++_iter989) { - xfer += oprot->writeString((*_iter978)); + xfer += oprot->writeString((*_iter989)); } xfer += oprot->writeListEnd(); } @@ -10997,10 +11268,10 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter979; - for (_iter979 = (*(this->part_vals)).begin(); _iter979 != (*(this->part_vals)).end(); ++_iter979) + std::vector ::const_iterator _iter990; + for (_iter990 = (*(this->part_vals)).begin(); _iter990 != (*(this->part_vals)).end(); ++_iter990) { - xfer += oprot->writeString((*_iter979)); + xfer += oprot->writeString((*_iter990)); } xfer += oprot->writeListEnd(); } @@ -11209,14 +11480,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size980; - ::apache::thrift::protocol::TType _etype983; - xfer += iprot->readListBegin(_etype983, _size980); - this->part_vals.resize(_size980); - uint32_t _i984; - for (_i984 = 0; _i984 < _size980; ++_i984) + uint32_t _size991; + ::apache::thrift::protocol::TType _etype994; + xfer += iprot->readListBegin(_etype994, _size991); + this->part_vals.resize(_size991); + uint32_t _i995; + for (_i995 = 0; _i995 < _size991; ++_i995) { - xfer += iprot->readString(this->part_vals[_i984]); + xfer += iprot->readString(this->part_vals[_i995]); } xfer += iprot->readListEnd(); } @@ -11269,10 +11540,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter985; - for (_iter985 = this->part_vals.begin(); _iter985 != this->part_vals.end(); ++_iter985) + std::vector ::const_iterator _iter996; + for (_iter996 = this->part_vals.begin(); _iter996 != this->part_vals.end(); ++_iter996) { - xfer += oprot->writeString((*_iter985)); + xfer += oprot->writeString((*_iter996)); } xfer += oprot->writeListEnd(); } @@ -11312,10 +11583,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter986; - for (_iter986 = (*(this->part_vals)).begin(); _iter986 != (*(this->part_vals)).end(); ++_iter986) + std::vector ::const_iterator _iter997; + for (_iter997 = (*(this->part_vals)).begin(); _iter997 != (*(this->part_vals)).end(); ++_iter997) { - xfer += oprot->writeString((*_iter986)); + xfer += oprot->writeString((*_iter997)); } xfer += oprot->writeListEnd(); } @@ -12321,14 +12592,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size987; - ::apache::thrift::protocol::TType _etype990; - xfer += iprot->readListBegin(_etype990, _size987); - this->part_vals.resize(_size987); - uint32_t _i991; - for (_i991 = 0; _i991 < _size987; ++_i991) + uint32_t _size998; + ::apache::thrift::protocol::TType _etype1001; + xfer += iprot->readListBegin(_etype1001, _size998); + this->part_vals.resize(_size998); + uint32_t _i1002; + for (_i1002 = 0; _i1002 < _size998; ++_i1002) { - xfer += iprot->readString(this->part_vals[_i991]); + xfer += iprot->readString(this->part_vals[_i1002]); } xfer += iprot->readListEnd(); } @@ -12365,10 +12636,10 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter992; - for (_iter992 = this->part_vals.begin(); _iter992 != this->part_vals.end(); ++_iter992) + std::vector ::const_iterator _iter1003; + for (_iter1003 = this->part_vals.begin(); _iter1003 != this->part_vals.end(); ++_iter1003) { - xfer += oprot->writeString((*_iter992)); + xfer += oprot->writeString((*_iter1003)); } xfer += oprot->writeListEnd(); } @@ -12400,10 +12671,10 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter993; - for (_iter993 = (*(this->part_vals)).begin(); _iter993 != (*(this->part_vals)).end(); ++_iter993) + std::vector ::const_iterator _iter1004; + for (_iter1004 = (*(this->part_vals)).begin(); _iter1004 != (*(this->part_vals)).end(); ++_iter1004) { - xfer += oprot->writeString((*_iter993)); + xfer += oprot->writeString((*_iter1004)); } xfer += oprot->writeListEnd(); } @@ -12592,17 +12863,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size994; - ::apache::thrift::protocol::TType _ktype995; - ::apache::thrift::protocol::TType _vtype996; - xfer += iprot->readMapBegin(_ktype995, _vtype996, _size994); - uint32_t _i998; - for (_i998 = 0; _i998 < _size994; ++_i998) + uint32_t _size1005; + ::apache::thrift::protocol::TType _ktype1006; + ::apache::thrift::protocol::TType _vtype1007; + xfer += iprot->readMapBegin(_ktype1006, _vtype1007, _size1005); + uint32_t _i1009; + for (_i1009 = 0; _i1009 < _size1005; ++_i1009) { - std::string _key999; - xfer += iprot->readString(_key999); - std::string& _val1000 = this->partitionSpecs[_key999]; - xfer += iprot->readString(_val1000); + std::string _key1010; + xfer += iprot->readString(_key1010); + std::string& _val1011 = this->partitionSpecs[_key1010]; + xfer += iprot->readString(_val1011); } xfer += iprot->readMapEnd(); } @@ -12663,11 +12934,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter1001; - for (_iter1001 = this->partitionSpecs.begin(); _iter1001 != this->partitionSpecs.end(); ++_iter1001) + std::map ::const_iterator _iter1012; + for (_iter1012 = this->partitionSpecs.begin(); _iter1012 != this->partitionSpecs.end(); ++_iter1012) { - xfer += oprot->writeString(_iter1001->first); - xfer += oprot->writeString(_iter1001->second); + xfer += oprot->writeString(_iter1012->first); + xfer += oprot->writeString(_iter1012->second); } xfer += oprot->writeMapEnd(); } @@ -12707,11 +12978,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter1002; - for (_iter1002 = (*(this->partitionSpecs)).begin(); _iter1002 != (*(this->partitionSpecs)).end(); ++_iter1002) + std::map ::const_iterator _iter1013; + for (_iter1013 = (*(this->partitionSpecs)).begin(); _iter1013 != (*(this->partitionSpecs)).end(); ++_iter1013) { - xfer += oprot->writeString(_iter1002->first); - xfer += oprot->writeString(_iter1002->second); + xfer += oprot->writeString(_iter1013->first); + xfer += oprot->writeString(_iter1013->second); } xfer += oprot->writeMapEnd(); } @@ -12956,17 +13227,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1003; - ::apache::thrift::protocol::TType _ktype1004; - ::apache::thrift::protocol::TType _vtype1005; - xfer += iprot->readMapBegin(_ktype1004, _vtype1005, _size1003); - uint32_t _i1007; - for (_i1007 = 0; _i1007 < _size1003; ++_i1007) + uint32_t _size1014; + ::apache::thrift::protocol::TType _ktype1015; + ::apache::thrift::protocol::TType _vtype1016; + xfer += iprot->readMapBegin(_ktype1015, _vtype1016, _size1014); + uint32_t _i1018; + for (_i1018 = 0; _i1018 < _size1014; ++_i1018) { - std::string _key1008; - xfer += iprot->readString(_key1008); - std::string& _val1009 = this->partitionSpecs[_key1008]; - xfer += iprot->readString(_val1009); + std::string _key1019; + xfer += iprot->readString(_key1019); + std::string& _val1020 = this->partitionSpecs[_key1019]; + xfer += iprot->readString(_val1020); } xfer += iprot->readMapEnd(); } @@ -13027,11 +13298,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter1010; - for (_iter1010 = this->partitionSpecs.begin(); _iter1010 != this->partitionSpecs.end(); ++_iter1010) + std::map ::const_iterator _iter1021; + for (_iter1021 = this->partitionSpecs.begin(); _iter1021 != this->partitionSpecs.end(); ++_iter1021) { - xfer += oprot->writeString(_iter1010->first); - xfer += oprot->writeString(_iter1010->second); + xfer += oprot->writeString(_iter1021->first); + xfer += oprot->writeString(_iter1021->second); } xfer += oprot->writeMapEnd(); } @@ -13071,11 +13342,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_pargs::write(::apache::thrift:: xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter1011; - for (_iter1011 = (*(this->partitionSpecs)).begin(); _iter1011 != (*(this->partitionSpecs)).end(); ++_iter1011) + std::map ::const_iterator _iter1022; + for (_iter1022 = (*(this->partitionSpecs)).begin(); _iter1022 != (*(this->partitionSpecs)).end(); ++_iter1022) { - xfer += oprot->writeString(_iter1011->first); - xfer += oprot->writeString(_iter1011->second); + xfer += oprot->writeString(_iter1022->first); + xfer += oprot->writeString(_iter1022->second); } xfer += oprot->writeMapEnd(); } @@ -13132,14 +13403,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1012; - ::apache::thrift::protocol::TType _etype1015; - xfer += iprot->readListBegin(_etype1015, _size1012); - this->success.resize(_size1012); - uint32_t _i1016; - for (_i1016 = 0; _i1016 < _size1012; ++_i1016) + uint32_t _size1023; + ::apache::thrift::protocol::TType _etype1026; + xfer += iprot->readListBegin(_etype1026, _size1023); + this->success.resize(_size1023); + uint32_t _i1027; + for (_i1027 = 0; _i1027 < _size1023; ++_i1027) { - xfer += this->success[_i1016].read(iprot); + xfer += this->success[_i1027].read(iprot); } xfer += iprot->readListEnd(); } @@ -13202,10 +13473,10 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1017; - for (_iter1017 = this->success.begin(); _iter1017 != this->success.end(); ++_iter1017) + std::vector ::const_iterator _iter1028; + for (_iter1028 = this->success.begin(); _iter1028 != this->success.end(); ++_iter1028) { - xfer += (*_iter1017).write(oprot); + xfer += (*_iter1028).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13262,14 +13533,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1018; - ::apache::thrift::protocol::TType _etype1021; - xfer += iprot->readListBegin(_etype1021, _size1018); - (*(this->success)).resize(_size1018); - uint32_t _i1022; - for (_i1022 = 0; _i1022 < _size1018; ++_i1022) + uint32_t _size1029; + ::apache::thrift::protocol::TType _etype1032; + xfer += iprot->readListBegin(_etype1032, _size1029); + (*(this->success)).resize(_size1029); + uint32_t _i1033; + for (_i1033 = 0; _i1033 < _size1029; ++_i1033) { - xfer += (*(this->success))[_i1022].read(iprot); + xfer += (*(this->success))[_i1033].read(iprot); } xfer += iprot->readListEnd(); } @@ -13368,14 +13639,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1023; - ::apache::thrift::protocol::TType _etype1026; - xfer += iprot->readListBegin(_etype1026, _size1023); - this->part_vals.resize(_size1023); - uint32_t _i1027; - for (_i1027 = 0; _i1027 < _size1023; ++_i1027) + uint32_t _size1034; + ::apache::thrift::protocol::TType _etype1037; + xfer += iprot->readListBegin(_etype1037, _size1034); + this->part_vals.resize(_size1034); + uint32_t _i1038; + for (_i1038 = 0; _i1038 < _size1034; ++_i1038) { - xfer += iprot->readString(this->part_vals[_i1027]); + xfer += iprot->readString(this->part_vals[_i1038]); } xfer += iprot->readListEnd(); } @@ -13396,14 +13667,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1028; - ::apache::thrift::protocol::TType _etype1031; - xfer += iprot->readListBegin(_etype1031, _size1028); - this->group_names.resize(_size1028); - uint32_t _i1032; - for (_i1032 = 0; _i1032 < _size1028; ++_i1032) + uint32_t _size1039; + ::apache::thrift::protocol::TType _etype1042; + xfer += iprot->readListBegin(_etype1042, _size1039); + this->group_names.resize(_size1039); + uint32_t _i1043; + for (_i1043 = 0; _i1043 < _size1039; ++_i1043) { - xfer += iprot->readString(this->group_names[_i1032]); + xfer += iprot->readString(this->group_names[_i1043]); } xfer += iprot->readListEnd(); } @@ -13440,10 +13711,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1033; - for (_iter1033 = this->part_vals.begin(); _iter1033 != this->part_vals.end(); ++_iter1033) + std::vector ::const_iterator _iter1044; + for (_iter1044 = this->part_vals.begin(); _iter1044 != this->part_vals.end(); ++_iter1044) { - xfer += oprot->writeString((*_iter1033)); + xfer += oprot->writeString((*_iter1044)); } xfer += oprot->writeListEnd(); } @@ -13456,10 +13727,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1034; - for (_iter1034 = this->group_names.begin(); _iter1034 != this->group_names.end(); ++_iter1034) + std::vector ::const_iterator _iter1045; + for (_iter1045 = this->group_names.begin(); _iter1045 != this->group_names.end(); ++_iter1045) { - xfer += oprot->writeString((*_iter1034)); + xfer += oprot->writeString((*_iter1045)); } xfer += oprot->writeListEnd(); } @@ -13491,10 +13762,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1035; - for (_iter1035 = (*(this->part_vals)).begin(); _iter1035 != (*(this->part_vals)).end(); ++_iter1035) + std::vector ::const_iterator _iter1046; + for (_iter1046 = (*(this->part_vals)).begin(); _iter1046 != (*(this->part_vals)).end(); ++_iter1046) { - xfer += oprot->writeString((*_iter1035)); + xfer += oprot->writeString((*_iter1046)); } xfer += oprot->writeListEnd(); } @@ -13507,10 +13778,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1036; - for (_iter1036 = (*(this->group_names)).begin(); _iter1036 != (*(this->group_names)).end(); ++_iter1036) + std::vector ::const_iterator _iter1047; + for (_iter1047 = (*(this->group_names)).begin(); _iter1047 != (*(this->group_names)).end(); ++_iter1047) { - xfer += oprot->writeString((*_iter1036)); + xfer += oprot->writeString((*_iter1047)); } xfer += oprot->writeListEnd(); } @@ -14069,14 +14340,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1037; - ::apache::thrift::protocol::TType _etype1040; - xfer += iprot->readListBegin(_etype1040, _size1037); - this->success.resize(_size1037); - uint32_t _i1041; - for (_i1041 = 0; _i1041 < _size1037; ++_i1041) + uint32_t _size1048; + ::apache::thrift::protocol::TType _etype1051; + xfer += iprot->readListBegin(_etype1051, _size1048); + this->success.resize(_size1048); + uint32_t _i1052; + for (_i1052 = 0; _i1052 < _size1048; ++_i1052) { - xfer += this->success[_i1041].read(iprot); + xfer += this->success[_i1052].read(iprot); } xfer += iprot->readListEnd(); } @@ -14123,10 +14394,10 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1042; - for (_iter1042 = this->success.begin(); _iter1042 != this->success.end(); ++_iter1042) + std::vector ::const_iterator _iter1053; + for (_iter1053 = this->success.begin(); _iter1053 != this->success.end(); ++_iter1053) { - xfer += (*_iter1042).write(oprot); + xfer += (*_iter1053).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14175,14 +14446,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1043; - ::apache::thrift::protocol::TType _etype1046; - xfer += iprot->readListBegin(_etype1046, _size1043); - (*(this->success)).resize(_size1043); - uint32_t _i1047; - for (_i1047 = 0; _i1047 < _size1043; ++_i1047) + uint32_t _size1054; + ::apache::thrift::protocol::TType _etype1057; + xfer += iprot->readListBegin(_etype1057, _size1054); + (*(this->success)).resize(_size1054); + uint32_t _i1058; + for (_i1058 = 0; _i1058 < _size1054; ++_i1058) { - xfer += (*(this->success))[_i1047].read(iprot); + xfer += (*(this->success))[_i1058].read(iprot); } xfer += iprot->readListEnd(); } @@ -14281,14 +14552,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1048; - ::apache::thrift::protocol::TType _etype1051; - xfer += iprot->readListBegin(_etype1051, _size1048); - this->group_names.resize(_size1048); - uint32_t _i1052; - for (_i1052 = 0; _i1052 < _size1048; ++_i1052) + uint32_t _size1059; + ::apache::thrift::protocol::TType _etype1062; + xfer += iprot->readListBegin(_etype1062, _size1059); + this->group_names.resize(_size1059); + uint32_t _i1063; + for (_i1063 = 0; _i1063 < _size1059; ++_i1063) { - xfer += iprot->readString(this->group_names[_i1052]); + xfer += iprot->readString(this->group_names[_i1063]); } xfer += iprot->readListEnd(); } @@ -14333,10 +14604,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1053; - for (_iter1053 = this->group_names.begin(); _iter1053 != this->group_names.end(); ++_iter1053) + std::vector ::const_iterator _iter1064; + for (_iter1064 = this->group_names.begin(); _iter1064 != this->group_names.end(); ++_iter1064) { - xfer += oprot->writeString((*_iter1053)); + xfer += oprot->writeString((*_iter1064)); } xfer += oprot->writeListEnd(); } @@ -14376,10 +14647,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1054; - for (_iter1054 = (*(this->group_names)).begin(); _iter1054 != (*(this->group_names)).end(); ++_iter1054) + std::vector ::const_iterator _iter1065; + for (_iter1065 = (*(this->group_names)).begin(); _iter1065 != (*(this->group_names)).end(); ++_iter1065) { - xfer += oprot->writeString((*_iter1054)); + xfer += oprot->writeString((*_iter1065)); } xfer += oprot->writeListEnd(); } @@ -14420,14 +14691,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1055; - ::apache::thrift::protocol::TType _etype1058; - xfer += iprot->readListBegin(_etype1058, _size1055); - this->success.resize(_size1055); - uint32_t _i1059; - for (_i1059 = 0; _i1059 < _size1055; ++_i1059) + uint32_t _size1066; + ::apache::thrift::protocol::TType _etype1069; + xfer += iprot->readListBegin(_etype1069, _size1066); + this->success.resize(_size1066); + uint32_t _i1070; + for (_i1070 = 0; _i1070 < _size1066; ++_i1070) { - xfer += this->success[_i1059].read(iprot); + xfer += this->success[_i1070].read(iprot); } xfer += iprot->readListEnd(); } @@ -14474,10 +14745,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1060; - for (_iter1060 = this->success.begin(); _iter1060 != this->success.end(); ++_iter1060) + std::vector ::const_iterator _iter1071; + for (_iter1071 = this->success.begin(); _iter1071 != this->success.end(); ++_iter1071) { - xfer += (*_iter1060).write(oprot); + xfer += (*_iter1071).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14526,14 +14797,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1061; - ::apache::thrift::protocol::TType _etype1064; - xfer += iprot->readListBegin(_etype1064, _size1061); - (*(this->success)).resize(_size1061); - uint32_t _i1065; - for (_i1065 = 0; _i1065 < _size1061; ++_i1065) + uint32_t _size1072; + ::apache::thrift::protocol::TType _etype1075; + xfer += iprot->readListBegin(_etype1075, _size1072); + (*(this->success)).resize(_size1072); + uint32_t _i1076; + for (_i1076 = 0; _i1076 < _size1072; ++_i1076) { - xfer += (*(this->success))[_i1065].read(iprot); + xfer += (*(this->success))[_i1076].read(iprot); } xfer += iprot->readListEnd(); } @@ -14711,14 +14982,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1066; - ::apache::thrift::protocol::TType _etype1069; - xfer += iprot->readListBegin(_etype1069, _size1066); - this->success.resize(_size1066); - uint32_t _i1070; - for (_i1070 = 0; _i1070 < _size1066; ++_i1070) + uint32_t _size1077; + ::apache::thrift::protocol::TType _etype1080; + xfer += iprot->readListBegin(_etype1080, _size1077); + this->success.resize(_size1077); + uint32_t _i1081; + for (_i1081 = 0; _i1081 < _size1077; ++_i1081) { - xfer += this->success[_i1070].read(iprot); + xfer += this->success[_i1081].read(iprot); } xfer += iprot->readListEnd(); } @@ -14765,10 +15036,10 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::write(::apache::thrift xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1071; - for (_iter1071 = this->success.begin(); _iter1071 != this->success.end(); ++_iter1071) + std::vector ::const_iterator _iter1082; + for (_iter1082 = this->success.begin(); _iter1082 != this->success.end(); ++_iter1082) { - xfer += (*_iter1071).write(oprot); + xfer += (*_iter1082).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14817,14 +15088,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1072; - ::apache::thrift::protocol::TType _etype1075; - xfer += iprot->readListBegin(_etype1075, _size1072); - (*(this->success)).resize(_size1072); - uint32_t _i1076; - for (_i1076 = 0; _i1076 < _size1072; ++_i1076) + uint32_t _size1083; + ::apache::thrift::protocol::TType _etype1086; + xfer += iprot->readListBegin(_etype1086, _size1083); + (*(this->success)).resize(_size1083); + uint32_t _i1087; + for (_i1087 = 0; _i1087 < _size1083; ++_i1087) { - xfer += (*(this->success))[_i1076].read(iprot); + xfer += (*(this->success))[_i1087].read(iprot); } xfer += iprot->readListEnd(); } @@ -15002,14 +15273,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1077; - ::apache::thrift::protocol::TType _etype1080; - xfer += iprot->readListBegin(_etype1080, _size1077); - this->success.resize(_size1077); - uint32_t _i1081; - for (_i1081 = 0; _i1081 < _size1077; ++_i1081) + uint32_t _size1088; + ::apache::thrift::protocol::TType _etype1091; + xfer += iprot->readListBegin(_etype1091, _size1088); + this->success.resize(_size1088); + uint32_t _i1092; + for (_i1092 = 0; _i1092 < _size1088; ++_i1092) { - xfer += iprot->readString(this->success[_i1081]); + xfer += iprot->readString(this->success[_i1092]); } xfer += iprot->readListEnd(); } @@ -15048,10 +15319,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1082; - for (_iter1082 = this->success.begin(); _iter1082 != this->success.end(); ++_iter1082) + std::vector ::const_iterator _iter1093; + for (_iter1093 = this->success.begin(); _iter1093 != this->success.end(); ++_iter1093) { - xfer += oprot->writeString((*_iter1082)); + xfer += oprot->writeString((*_iter1093)); } xfer += oprot->writeListEnd(); } @@ -15096,14 +15367,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1083; - ::apache::thrift::protocol::TType _etype1086; - xfer += iprot->readListBegin(_etype1086, _size1083); - (*(this->success)).resize(_size1083); - uint32_t _i1087; - for (_i1087 = 0; _i1087 < _size1083; ++_i1087) + uint32_t _size1094; + ::apache::thrift::protocol::TType _etype1097; + xfer += iprot->readListBegin(_etype1097, _size1094); + (*(this->success)).resize(_size1094); + uint32_t _i1098; + for (_i1098 = 0; _i1098 < _size1094; ++_i1098) { - xfer += iprot->readString((*(this->success))[_i1087]); + xfer += iprot->readString((*(this->success))[_i1098]); } xfer += iprot->readListEnd(); } @@ -15178,14 +15449,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 _size1088; - ::apache::thrift::protocol::TType _etype1091; - xfer += iprot->readListBegin(_etype1091, _size1088); - this->part_vals.resize(_size1088); - uint32_t _i1092; - for (_i1092 = 0; _i1092 < _size1088; ++_i1092) + uint32_t _size1099; + ::apache::thrift::protocol::TType _etype1102; + xfer += iprot->readListBegin(_etype1102, _size1099); + this->part_vals.resize(_size1099); + uint32_t _i1103; + for (_i1103 = 0; _i1103 < _size1099; ++_i1103) { - xfer += iprot->readString(this->part_vals[_i1092]); + xfer += iprot->readString(this->part_vals[_i1103]); } xfer += iprot->readListEnd(); } @@ -15230,10 +15501,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 _iter1093; - for (_iter1093 = this->part_vals.begin(); _iter1093 != this->part_vals.end(); ++_iter1093) + std::vector ::const_iterator _iter1104; + for (_iter1104 = this->part_vals.begin(); _iter1104 != this->part_vals.end(); ++_iter1104) { - xfer += oprot->writeString((*_iter1093)); + xfer += oprot->writeString((*_iter1104)); } xfer += oprot->writeListEnd(); } @@ -15269,10 +15540,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 _iter1094; - for (_iter1094 = (*(this->part_vals)).begin(); _iter1094 != (*(this->part_vals)).end(); ++_iter1094) + std::vector ::const_iterator _iter1105; + for (_iter1105 = (*(this->part_vals)).begin(); _iter1105 != (*(this->part_vals)).end(); ++_iter1105) { - xfer += oprot->writeString((*_iter1094)); + xfer += oprot->writeString((*_iter1105)); } xfer += oprot->writeListEnd(); } @@ -15317,14 +15588,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1095; - ::apache::thrift::protocol::TType _etype1098; - xfer += iprot->readListBegin(_etype1098, _size1095); - this->success.resize(_size1095); - uint32_t _i1099; - for (_i1099 = 0; _i1099 < _size1095; ++_i1099) + uint32_t _size1106; + ::apache::thrift::protocol::TType _etype1109; + xfer += iprot->readListBegin(_etype1109, _size1106); + this->success.resize(_size1106); + uint32_t _i1110; + for (_i1110 = 0; _i1110 < _size1106; ++_i1110) { - xfer += this->success[_i1099].read(iprot); + xfer += this->success[_i1110].read(iprot); } xfer += iprot->readListEnd(); } @@ -15371,10 +15642,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 _iter1100; - for (_iter1100 = this->success.begin(); _iter1100 != this->success.end(); ++_iter1100) + std::vector ::const_iterator _iter1111; + for (_iter1111 = this->success.begin(); _iter1111 != this->success.end(); ++_iter1111) { - xfer += (*_iter1100).write(oprot); + xfer += (*_iter1111).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15423,14 +15694,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1101; - ::apache::thrift::protocol::TType _etype1104; - xfer += iprot->readListBegin(_etype1104, _size1101); - (*(this->success)).resize(_size1101); - uint32_t _i1105; - for (_i1105 = 0; _i1105 < _size1101; ++_i1105) + uint32_t _size1112; + ::apache::thrift::protocol::TType _etype1115; + xfer += iprot->readListBegin(_etype1115, _size1112); + (*(this->success)).resize(_size1112); + uint32_t _i1116; + for (_i1116 = 0; _i1116 < _size1112; ++_i1116) { - xfer += (*(this->success))[_i1105].read(iprot); + xfer += (*(this->success))[_i1116].read(iprot); } xfer += iprot->readListEnd(); } @@ -15513,14 +15784,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 _size1106; - ::apache::thrift::protocol::TType _etype1109; - xfer += iprot->readListBegin(_etype1109, _size1106); - this->part_vals.resize(_size1106); - uint32_t _i1110; - for (_i1110 = 0; _i1110 < _size1106; ++_i1110) + uint32_t _size1117; + ::apache::thrift::protocol::TType _etype1120; + xfer += iprot->readListBegin(_etype1120, _size1117); + this->part_vals.resize(_size1117); + uint32_t _i1121; + for (_i1121 = 0; _i1121 < _size1117; ++_i1121) { - xfer += iprot->readString(this->part_vals[_i1110]); + xfer += iprot->readString(this->part_vals[_i1121]); } xfer += iprot->readListEnd(); } @@ -15549,14 +15820,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 _size1111; - ::apache::thrift::protocol::TType _etype1114; - xfer += iprot->readListBegin(_etype1114, _size1111); - this->group_names.resize(_size1111); - uint32_t _i1115; - for (_i1115 = 0; _i1115 < _size1111; ++_i1115) + uint32_t _size1122; + ::apache::thrift::protocol::TType _etype1125; + xfer += iprot->readListBegin(_etype1125, _size1122); + this->group_names.resize(_size1122); + uint32_t _i1126; + for (_i1126 = 0; _i1126 < _size1122; ++_i1126) { - xfer += iprot->readString(this->group_names[_i1115]); + xfer += iprot->readString(this->group_names[_i1126]); } xfer += iprot->readListEnd(); } @@ -15593,10 +15864,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 _iter1116; - for (_iter1116 = this->part_vals.begin(); _iter1116 != this->part_vals.end(); ++_iter1116) + std::vector ::const_iterator _iter1127; + for (_iter1127 = this->part_vals.begin(); _iter1127 != this->part_vals.end(); ++_iter1127) { - xfer += oprot->writeString((*_iter1116)); + xfer += oprot->writeString((*_iter1127)); } xfer += oprot->writeListEnd(); } @@ -15613,10 +15884,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 _iter1117; - for (_iter1117 = this->group_names.begin(); _iter1117 != this->group_names.end(); ++_iter1117) + std::vector ::const_iterator _iter1128; + for (_iter1128 = this->group_names.begin(); _iter1128 != this->group_names.end(); ++_iter1128) { - xfer += oprot->writeString((*_iter1117)); + xfer += oprot->writeString((*_iter1128)); } xfer += oprot->writeListEnd(); } @@ -15648,10 +15919,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 _iter1118; - for (_iter1118 = (*(this->part_vals)).begin(); _iter1118 != (*(this->part_vals)).end(); ++_iter1118) + std::vector ::const_iterator _iter1129; + for (_iter1129 = (*(this->part_vals)).begin(); _iter1129 != (*(this->part_vals)).end(); ++_iter1129) { - xfer += oprot->writeString((*_iter1118)); + xfer += oprot->writeString((*_iter1129)); } xfer += oprot->writeListEnd(); } @@ -15668,10 +15939,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 _iter1119; - for (_iter1119 = (*(this->group_names)).begin(); _iter1119 != (*(this->group_names)).end(); ++_iter1119) + std::vector ::const_iterator _iter1130; + for (_iter1130 = (*(this->group_names)).begin(); _iter1130 != (*(this->group_names)).end(); ++_iter1130) { - xfer += oprot->writeString((*_iter1119)); + xfer += oprot->writeString((*_iter1130)); } xfer += oprot->writeListEnd(); } @@ -15712,14 +15983,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1120; - ::apache::thrift::protocol::TType _etype1123; - xfer += iprot->readListBegin(_etype1123, _size1120); - this->success.resize(_size1120); - uint32_t _i1124; - for (_i1124 = 0; _i1124 < _size1120; ++_i1124) + uint32_t _size1131; + ::apache::thrift::protocol::TType _etype1134; + xfer += iprot->readListBegin(_etype1134, _size1131); + this->success.resize(_size1131); + uint32_t _i1135; + for (_i1135 = 0; _i1135 < _size1131; ++_i1135) { - xfer += this->success[_i1124].read(iprot); + xfer += this->success[_i1135].read(iprot); } xfer += iprot->readListEnd(); } @@ -15766,10 +16037,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 _iter1125; - for (_iter1125 = this->success.begin(); _iter1125 != this->success.end(); ++_iter1125) + std::vector ::const_iterator _iter1136; + for (_iter1136 = this->success.begin(); _iter1136 != this->success.end(); ++_iter1136) { - xfer += (*_iter1125).write(oprot); + xfer += (*_iter1136).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15818,14 +16089,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1126; - ::apache::thrift::protocol::TType _etype1129; - xfer += iprot->readListBegin(_etype1129, _size1126); - (*(this->success)).resize(_size1126); - uint32_t _i1130; - for (_i1130 = 0; _i1130 < _size1126; ++_i1130) + uint32_t _size1137; + ::apache::thrift::protocol::TType _etype1140; + xfer += iprot->readListBegin(_etype1140, _size1137); + (*(this->success)).resize(_size1137); + uint32_t _i1141; + for (_i1141 = 0; _i1141 < _size1137; ++_i1141) { - xfer += (*(this->success))[_i1130].read(iprot); + xfer += (*(this->success))[_i1141].read(iprot); } xfer += iprot->readListEnd(); } @@ -15908,14 +16179,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 _size1131; - ::apache::thrift::protocol::TType _etype1134; - xfer += iprot->readListBegin(_etype1134, _size1131); - this->part_vals.resize(_size1131); - uint32_t _i1135; - for (_i1135 = 0; _i1135 < _size1131; ++_i1135) + uint32_t _size1142; + ::apache::thrift::protocol::TType _etype1145; + xfer += iprot->readListBegin(_etype1145, _size1142); + this->part_vals.resize(_size1142); + uint32_t _i1146; + for (_i1146 = 0; _i1146 < _size1142; ++_i1146) { - xfer += iprot->readString(this->part_vals[_i1135]); + xfer += iprot->readString(this->part_vals[_i1146]); } xfer += iprot->readListEnd(); } @@ -15960,10 +16231,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 _iter1136; - for (_iter1136 = this->part_vals.begin(); _iter1136 != this->part_vals.end(); ++_iter1136) + std::vector ::const_iterator _iter1147; + for (_iter1147 = this->part_vals.begin(); _iter1147 != this->part_vals.end(); ++_iter1147) { - xfer += oprot->writeString((*_iter1136)); + xfer += oprot->writeString((*_iter1147)); } xfer += oprot->writeListEnd(); } @@ -15999,10 +16270,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 _iter1137; - for (_iter1137 = (*(this->part_vals)).begin(); _iter1137 != (*(this->part_vals)).end(); ++_iter1137) + std::vector ::const_iterator _iter1148; + for (_iter1148 = (*(this->part_vals)).begin(); _iter1148 != (*(this->part_vals)).end(); ++_iter1148) { - xfer += oprot->writeString((*_iter1137)); + xfer += oprot->writeString((*_iter1148)); } xfer += oprot->writeListEnd(); } @@ -16047,14 +16318,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1138; - ::apache::thrift::protocol::TType _etype1141; - xfer += iprot->readListBegin(_etype1141, _size1138); - this->success.resize(_size1138); - uint32_t _i1142; - for (_i1142 = 0; _i1142 < _size1138; ++_i1142) + uint32_t _size1149; + ::apache::thrift::protocol::TType _etype1152; + xfer += iprot->readListBegin(_etype1152, _size1149); + this->success.resize(_size1149); + uint32_t _i1153; + for (_i1153 = 0; _i1153 < _size1149; ++_i1153) { - xfer += iprot->readString(this->success[_i1142]); + xfer += iprot->readString(this->success[_i1153]); } xfer += iprot->readListEnd(); } @@ -16101,10 +16372,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 _iter1143; - for (_iter1143 = this->success.begin(); _iter1143 != this->success.end(); ++_iter1143) + std::vector ::const_iterator _iter1154; + for (_iter1154 = this->success.begin(); _iter1154 != this->success.end(); ++_iter1154) { - xfer += oprot->writeString((*_iter1143)); + xfer += oprot->writeString((*_iter1154)); } xfer += oprot->writeListEnd(); } @@ -16153,14 +16424,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1144; - ::apache::thrift::protocol::TType _etype1147; - xfer += iprot->readListBegin(_etype1147, _size1144); - (*(this->success)).resize(_size1144); - uint32_t _i1148; - for (_i1148 = 0; _i1148 < _size1144; ++_i1148) + uint32_t _size1155; + ::apache::thrift::protocol::TType _etype1158; + xfer += iprot->readListBegin(_etype1158, _size1155); + (*(this->success)).resize(_size1155); + uint32_t _i1159; + for (_i1159 = 0; _i1159 < _size1155; ++_i1159) { - xfer += iprot->readString((*(this->success))[_i1148]); + xfer += iprot->readString((*(this->success))[_i1159]); } xfer += iprot->readListEnd(); } @@ -16354,14 +16625,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1149; - ::apache::thrift::protocol::TType _etype1152; - xfer += iprot->readListBegin(_etype1152, _size1149); - this->success.resize(_size1149); - uint32_t _i1153; - for (_i1153 = 0; _i1153 < _size1149; ++_i1153) + uint32_t _size1160; + ::apache::thrift::protocol::TType _etype1163; + xfer += iprot->readListBegin(_etype1163, _size1160); + this->success.resize(_size1160); + uint32_t _i1164; + for (_i1164 = 0; _i1164 < _size1160; ++_i1164) { - xfer += this->success[_i1153].read(iprot); + xfer += this->success[_i1164].read(iprot); } xfer += iprot->readListEnd(); } @@ -16408,10 +16679,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 _iter1154; - for (_iter1154 = this->success.begin(); _iter1154 != this->success.end(); ++_iter1154) + std::vector ::const_iterator _iter1165; + for (_iter1165 = this->success.begin(); _iter1165 != this->success.end(); ++_iter1165) { - xfer += (*_iter1154).write(oprot); + xfer += (*_iter1165).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16460,14 +16731,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1155; - ::apache::thrift::protocol::TType _etype1158; - xfer += iprot->readListBegin(_etype1158, _size1155); - (*(this->success)).resize(_size1155); - uint32_t _i1159; - for (_i1159 = 0; _i1159 < _size1155; ++_i1159) + uint32_t _size1166; + ::apache::thrift::protocol::TType _etype1169; + xfer += iprot->readListBegin(_etype1169, _size1166); + (*(this->success)).resize(_size1166); + uint32_t _i1170; + for (_i1170 = 0; _i1170 < _size1166; ++_i1170) { - xfer += (*(this->success))[_i1159].read(iprot); + xfer += (*(this->success))[_i1170].read(iprot); } xfer += iprot->readListEnd(); } @@ -16661,14 +16932,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 _size1160; - ::apache::thrift::protocol::TType _etype1163; - xfer += iprot->readListBegin(_etype1163, _size1160); - this->success.resize(_size1160); - uint32_t _i1164; - for (_i1164 = 0; _i1164 < _size1160; ++_i1164) + uint32_t _size1171; + ::apache::thrift::protocol::TType _etype1174; + xfer += iprot->readListBegin(_etype1174, _size1171); + this->success.resize(_size1171); + uint32_t _i1175; + for (_i1175 = 0; _i1175 < _size1171; ++_i1175) { - xfer += this->success[_i1164].read(iprot); + xfer += this->success[_i1175].read(iprot); } xfer += iprot->readListEnd(); } @@ -16715,10 +16986,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 _iter1165; - for (_iter1165 = this->success.begin(); _iter1165 != this->success.end(); ++_iter1165) + std::vector ::const_iterator _iter1176; + for (_iter1176 = this->success.begin(); _iter1176 != this->success.end(); ++_iter1176) { - xfer += (*_iter1165).write(oprot); + xfer += (*_iter1176).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16767,14 +17038,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 _size1166; - ::apache::thrift::protocol::TType _etype1169; - xfer += iprot->readListBegin(_etype1169, _size1166); - (*(this->success)).resize(_size1166); - uint32_t _i1170; - for (_i1170 = 0; _i1170 < _size1166; ++_i1170) + uint32_t _size1177; + ::apache::thrift::protocol::TType _etype1180; + xfer += iprot->readListBegin(_etype1180, _size1177); + (*(this->success)).resize(_size1177); + uint32_t _i1181; + for (_i1181 = 0; _i1181 < _size1177; ++_i1181) { - xfer += (*(this->success))[_i1170].read(iprot); + xfer += (*(this->success))[_i1181].read(iprot); } xfer += iprot->readListEnd(); } @@ -17343,14 +17614,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1171; - ::apache::thrift::protocol::TType _etype1174; - xfer += iprot->readListBegin(_etype1174, _size1171); - this->names.resize(_size1171); - uint32_t _i1175; - for (_i1175 = 0; _i1175 < _size1171; ++_i1175) + uint32_t _size1182; + ::apache::thrift::protocol::TType _etype1185; + xfer += iprot->readListBegin(_etype1185, _size1182); + this->names.resize(_size1182); + uint32_t _i1186; + for (_i1186 = 0; _i1186 < _size1182; ++_i1186) { - xfer += iprot->readString(this->names[_i1175]); + xfer += iprot->readString(this->names[_i1186]); } xfer += iprot->readListEnd(); } @@ -17387,10 +17658,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 _iter1176; - for (_iter1176 = this->names.begin(); _iter1176 != this->names.end(); ++_iter1176) + std::vector ::const_iterator _iter1187; + for (_iter1187 = this->names.begin(); _iter1187 != this->names.end(); ++_iter1187) { - xfer += oprot->writeString((*_iter1176)); + xfer += oprot->writeString((*_iter1187)); } xfer += oprot->writeListEnd(); } @@ -17422,10 +17693,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 _iter1177; - for (_iter1177 = (*(this->names)).begin(); _iter1177 != (*(this->names)).end(); ++_iter1177) + std::vector ::const_iterator _iter1188; + for (_iter1188 = (*(this->names)).begin(); _iter1188 != (*(this->names)).end(); ++_iter1188) { - xfer += oprot->writeString((*_iter1177)); + xfer += oprot->writeString((*_iter1188)); } xfer += oprot->writeListEnd(); } @@ -17466,14 +17737,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1178; - ::apache::thrift::protocol::TType _etype1181; - xfer += iprot->readListBegin(_etype1181, _size1178); - this->success.resize(_size1178); - uint32_t _i1182; - for (_i1182 = 0; _i1182 < _size1178; ++_i1182) + uint32_t _size1189; + ::apache::thrift::protocol::TType _etype1192; + xfer += iprot->readListBegin(_etype1192, _size1189); + this->success.resize(_size1189); + uint32_t _i1193; + for (_i1193 = 0; _i1193 < _size1189; ++_i1193) { - xfer += this->success[_i1182].read(iprot); + xfer += this->success[_i1193].read(iprot); } xfer += iprot->readListEnd(); } @@ -17520,10 +17791,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 _iter1183; - for (_iter1183 = this->success.begin(); _iter1183 != this->success.end(); ++_iter1183) + std::vector ::const_iterator _iter1194; + for (_iter1194 = this->success.begin(); _iter1194 != this->success.end(); ++_iter1194) { - xfer += (*_iter1183).write(oprot); + xfer += (*_iter1194).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17572,14 +17843,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1184; - ::apache::thrift::protocol::TType _etype1187; - xfer += iprot->readListBegin(_etype1187, _size1184); - (*(this->success)).resize(_size1184); - uint32_t _i1188; - for (_i1188 = 0; _i1188 < _size1184; ++_i1188) + uint32_t _size1195; + ::apache::thrift::protocol::TType _etype1198; + xfer += iprot->readListBegin(_etype1198, _size1195); + (*(this->success)).resize(_size1195); + uint32_t _i1199; + for (_i1199 = 0; _i1199 < _size1195; ++_i1199) { - xfer += (*(this->success))[_i1188].read(iprot); + xfer += (*(this->success))[_i1199].read(iprot); } xfer += iprot->readListEnd(); } @@ -17901,14 +18172,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1189; - ::apache::thrift::protocol::TType _etype1192; - xfer += iprot->readListBegin(_etype1192, _size1189); - this->new_parts.resize(_size1189); - uint32_t _i1193; - for (_i1193 = 0; _i1193 < _size1189; ++_i1193) + uint32_t _size1200; + ::apache::thrift::protocol::TType _etype1203; + xfer += iprot->readListBegin(_etype1203, _size1200); + this->new_parts.resize(_size1200); + uint32_t _i1204; + for (_i1204 = 0; _i1204 < _size1200; ++_i1204) { - xfer += this->new_parts[_i1193].read(iprot); + xfer += this->new_parts[_i1204].read(iprot); } xfer += iprot->readListEnd(); } @@ -17945,10 +18216,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 _iter1194; - for (_iter1194 = this->new_parts.begin(); _iter1194 != this->new_parts.end(); ++_iter1194) + std::vector ::const_iterator _iter1205; + for (_iter1205 = this->new_parts.begin(); _iter1205 != this->new_parts.end(); ++_iter1205) { - xfer += (*_iter1194).write(oprot); + xfer += (*_iter1205).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17980,10 +18251,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 _iter1195; - for (_iter1195 = (*(this->new_parts)).begin(); _iter1195 != (*(this->new_parts)).end(); ++_iter1195) + std::vector ::const_iterator _iter1206; + for (_iter1206 = (*(this->new_parts)).begin(); _iter1206 != (*(this->new_parts)).end(); ++_iter1206) { - xfer += (*_iter1195).write(oprot); + xfer += (*_iter1206).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18168,14 +18439,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1196; - ::apache::thrift::protocol::TType _etype1199; - xfer += iprot->readListBegin(_etype1199, _size1196); - this->new_parts.resize(_size1196); - uint32_t _i1200; - for (_i1200 = 0; _i1200 < _size1196; ++_i1200) + uint32_t _size1207; + ::apache::thrift::protocol::TType _etype1210; + xfer += iprot->readListBegin(_etype1210, _size1207); + this->new_parts.resize(_size1207); + uint32_t _i1211; + for (_i1211 = 0; _i1211 < _size1207; ++_i1211) { - xfer += this->new_parts[_i1200].read(iprot); + xfer += this->new_parts[_i1211].read(iprot); } xfer += iprot->readListEnd(); } @@ -18220,10 +18491,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 _iter1201; - for (_iter1201 = this->new_parts.begin(); _iter1201 != this->new_parts.end(); ++_iter1201) + std::vector ::const_iterator _iter1212; + for (_iter1212 = this->new_parts.begin(); _iter1212 != this->new_parts.end(); ++_iter1212) { - xfer += (*_iter1201).write(oprot); + xfer += (*_iter1212).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18259,10 +18530,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 _iter1202; - for (_iter1202 = (*(this->new_parts)).begin(); _iter1202 != (*(this->new_parts)).end(); ++_iter1202) + std::vector ::const_iterator _iter1213; + for (_iter1213 = (*(this->new_parts)).begin(); _iter1213 != (*(this->new_parts)).end(); ++_iter1213) { - xfer += (*_iter1202).write(oprot); + xfer += (*_iter1213).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18706,14 +18977,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1203; - ::apache::thrift::protocol::TType _etype1206; - xfer += iprot->readListBegin(_etype1206, _size1203); - this->part_vals.resize(_size1203); - uint32_t _i1207; - for (_i1207 = 0; _i1207 < _size1203; ++_i1207) + uint32_t _size1214; + ::apache::thrift::protocol::TType _etype1217; + xfer += iprot->readListBegin(_etype1217, _size1214); + this->part_vals.resize(_size1214); + uint32_t _i1218; + for (_i1218 = 0; _i1218 < _size1214; ++_i1218) { - xfer += iprot->readString(this->part_vals[_i1207]); + xfer += iprot->readString(this->part_vals[_i1218]); } xfer += iprot->readListEnd(); } @@ -18758,10 +19029,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 _iter1208; - for (_iter1208 = this->part_vals.begin(); _iter1208 != this->part_vals.end(); ++_iter1208) + std::vector ::const_iterator _iter1219; + for (_iter1219 = this->part_vals.begin(); _iter1219 != this->part_vals.end(); ++_iter1219) { - xfer += oprot->writeString((*_iter1208)); + xfer += oprot->writeString((*_iter1219)); } xfer += oprot->writeListEnd(); } @@ -18797,10 +19068,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 _iter1209; - for (_iter1209 = (*(this->part_vals)).begin(); _iter1209 != (*(this->part_vals)).end(); ++_iter1209) + std::vector ::const_iterator _iter1220; + for (_iter1220 = (*(this->part_vals)).begin(); _iter1220 != (*(this->part_vals)).end(); ++_iter1220) { - xfer += oprot->writeString((*_iter1209)); + xfer += oprot->writeString((*_iter1220)); } xfer += oprot->writeListEnd(); } @@ -18973,14 +19244,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 _size1210; - ::apache::thrift::protocol::TType _etype1213; - xfer += iprot->readListBegin(_etype1213, _size1210); - this->part_vals.resize(_size1210); - uint32_t _i1214; - for (_i1214 = 0; _i1214 < _size1210; ++_i1214) + uint32_t _size1221; + ::apache::thrift::protocol::TType _etype1224; + xfer += iprot->readListBegin(_etype1224, _size1221); + this->part_vals.resize(_size1221); + uint32_t _i1225; + for (_i1225 = 0; _i1225 < _size1221; ++_i1225) { - xfer += iprot->readString(this->part_vals[_i1214]); + xfer += iprot->readString(this->part_vals[_i1225]); } xfer += iprot->readListEnd(); } @@ -19017,10 +19288,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 _iter1215; - for (_iter1215 = this->part_vals.begin(); _iter1215 != this->part_vals.end(); ++_iter1215) + std::vector ::const_iterator _iter1226; + for (_iter1226 = this->part_vals.begin(); _iter1226 != this->part_vals.end(); ++_iter1226) { - xfer += oprot->writeString((*_iter1215)); + xfer += oprot->writeString((*_iter1226)); } xfer += oprot->writeListEnd(); } @@ -19048,10 +19319,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 _iter1216; - for (_iter1216 = (*(this->part_vals)).begin(); _iter1216 != (*(this->part_vals)).end(); ++_iter1216) + std::vector ::const_iterator _iter1227; + for (_iter1227 = (*(this->part_vals)).begin(); _iter1227 != (*(this->part_vals)).end(); ++_iter1227) { - xfer += oprot->writeString((*_iter1216)); + xfer += oprot->writeString((*_iter1227)); } xfer += oprot->writeListEnd(); } @@ -19526,14 +19797,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1217; - ::apache::thrift::protocol::TType _etype1220; - xfer += iprot->readListBegin(_etype1220, _size1217); - this->success.resize(_size1217); - uint32_t _i1221; - for (_i1221 = 0; _i1221 < _size1217; ++_i1221) + uint32_t _size1228; + ::apache::thrift::protocol::TType _etype1231; + xfer += iprot->readListBegin(_etype1231, _size1228); + this->success.resize(_size1228); + uint32_t _i1232; + for (_i1232 = 0; _i1232 < _size1228; ++_i1232) { - xfer += iprot->readString(this->success[_i1221]); + xfer += iprot->readString(this->success[_i1232]); } xfer += iprot->readListEnd(); } @@ -19572,10 +19843,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 _iter1222; - for (_iter1222 = this->success.begin(); _iter1222 != this->success.end(); ++_iter1222) + std::vector ::const_iterator _iter1233; + for (_iter1233 = this->success.begin(); _iter1233 != this->success.end(); ++_iter1233) { - xfer += oprot->writeString((*_iter1222)); + xfer += oprot->writeString((*_iter1233)); } xfer += oprot->writeListEnd(); } @@ -19620,14 +19891,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1223; - ::apache::thrift::protocol::TType _etype1226; - xfer += iprot->readListBegin(_etype1226, _size1223); - (*(this->success)).resize(_size1223); - uint32_t _i1227; - for (_i1227 = 0; _i1227 < _size1223; ++_i1227) + uint32_t _size1234; + ::apache::thrift::protocol::TType _etype1237; + xfer += iprot->readListBegin(_etype1237, _size1234); + (*(this->success)).resize(_size1234); + uint32_t _i1238; + for (_i1238 = 0; _i1238 < _size1234; ++_i1238) { - xfer += iprot->readString((*(this->success))[_i1227]); + xfer += iprot->readString((*(this->success))[_i1238]); } xfer += iprot->readListEnd(); } @@ -19765,17 +20036,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1228; - ::apache::thrift::protocol::TType _ktype1229; - ::apache::thrift::protocol::TType _vtype1230; - xfer += iprot->readMapBegin(_ktype1229, _vtype1230, _size1228); - uint32_t _i1232; - for (_i1232 = 0; _i1232 < _size1228; ++_i1232) + uint32_t _size1239; + ::apache::thrift::protocol::TType _ktype1240; + ::apache::thrift::protocol::TType _vtype1241; + xfer += iprot->readMapBegin(_ktype1240, _vtype1241, _size1239); + uint32_t _i1243; + for (_i1243 = 0; _i1243 < _size1239; ++_i1243) { - std::string _key1233; - xfer += iprot->readString(_key1233); - std::string& _val1234 = this->success[_key1233]; - xfer += iprot->readString(_val1234); + std::string _key1244; + xfer += iprot->readString(_key1244); + std::string& _val1245 = this->success[_key1244]; + xfer += iprot->readString(_val1245); } xfer += iprot->readMapEnd(); } @@ -19814,11 +20085,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 _iter1235; - for (_iter1235 = this->success.begin(); _iter1235 != this->success.end(); ++_iter1235) + std::map ::const_iterator _iter1246; + for (_iter1246 = this->success.begin(); _iter1246 != this->success.end(); ++_iter1246) { - xfer += oprot->writeString(_iter1235->first); - xfer += oprot->writeString(_iter1235->second); + xfer += oprot->writeString(_iter1246->first); + xfer += oprot->writeString(_iter1246->second); } xfer += oprot->writeMapEnd(); } @@ -19863,17 +20134,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1236; - ::apache::thrift::protocol::TType _ktype1237; - ::apache::thrift::protocol::TType _vtype1238; - xfer += iprot->readMapBegin(_ktype1237, _vtype1238, _size1236); - uint32_t _i1240; - for (_i1240 = 0; _i1240 < _size1236; ++_i1240) + uint32_t _size1247; + ::apache::thrift::protocol::TType _ktype1248; + ::apache::thrift::protocol::TType _vtype1249; + xfer += iprot->readMapBegin(_ktype1248, _vtype1249, _size1247); + uint32_t _i1251; + for (_i1251 = 0; _i1251 < _size1247; ++_i1251) { - std::string _key1241; - xfer += iprot->readString(_key1241); - std::string& _val1242 = (*(this->success))[_key1241]; - xfer += iprot->readString(_val1242); + std::string _key1252; + xfer += iprot->readString(_key1252); + std::string& _val1253 = (*(this->success))[_key1252]; + xfer += iprot->readString(_val1253); } xfer += iprot->readMapEnd(); } @@ -19948,17 +20219,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1243; - ::apache::thrift::protocol::TType _ktype1244; - ::apache::thrift::protocol::TType _vtype1245; - xfer += iprot->readMapBegin(_ktype1244, _vtype1245, _size1243); - uint32_t _i1247; - for (_i1247 = 0; _i1247 < _size1243; ++_i1247) + uint32_t _size1254; + ::apache::thrift::protocol::TType _ktype1255; + ::apache::thrift::protocol::TType _vtype1256; + xfer += iprot->readMapBegin(_ktype1255, _vtype1256, _size1254); + uint32_t _i1258; + for (_i1258 = 0; _i1258 < _size1254; ++_i1258) { - std::string _key1248; - xfer += iprot->readString(_key1248); - std::string& _val1249 = this->part_vals[_key1248]; - xfer += iprot->readString(_val1249); + std::string _key1259; + xfer += iprot->readString(_key1259); + std::string& _val1260 = this->part_vals[_key1259]; + xfer += iprot->readString(_val1260); } xfer += iprot->readMapEnd(); } @@ -19969,9 +20240,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1250; - xfer += iprot->readI32(ecast1250); - this->eventType = (PartitionEventType::type)ecast1250; + int32_t ecast1261; + xfer += iprot->readI32(ecast1261); + this->eventType = (PartitionEventType::type)ecast1261; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -20005,11 +20276,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 _iter1251; - for (_iter1251 = this->part_vals.begin(); _iter1251 != this->part_vals.end(); ++_iter1251) + std::map ::const_iterator _iter1262; + for (_iter1262 = this->part_vals.begin(); _iter1262 != this->part_vals.end(); ++_iter1262) { - xfer += oprot->writeString(_iter1251->first); - xfer += oprot->writeString(_iter1251->second); + xfer += oprot->writeString(_iter1262->first); + xfer += oprot->writeString(_iter1262->second); } xfer += oprot->writeMapEnd(); } @@ -20045,11 +20316,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 _iter1252; - for (_iter1252 = (*(this->part_vals)).begin(); _iter1252 != (*(this->part_vals)).end(); ++_iter1252) + std::map ::const_iterator _iter1263; + for (_iter1263 = (*(this->part_vals)).begin(); _iter1263 != (*(this->part_vals)).end(); ++_iter1263) { - xfer += oprot->writeString(_iter1252->first); - xfer += oprot->writeString(_iter1252->second); + xfer += oprot->writeString(_iter1263->first); + xfer += oprot->writeString(_iter1263->second); } xfer += oprot->writeMapEnd(); } @@ -20318,17 +20589,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1253; - ::apache::thrift::protocol::TType _ktype1254; - ::apache::thrift::protocol::TType _vtype1255; - xfer += iprot->readMapBegin(_ktype1254, _vtype1255, _size1253); - uint32_t _i1257; - for (_i1257 = 0; _i1257 < _size1253; ++_i1257) + uint32_t _size1264; + ::apache::thrift::protocol::TType _ktype1265; + ::apache::thrift::protocol::TType _vtype1266; + xfer += iprot->readMapBegin(_ktype1265, _vtype1266, _size1264); + uint32_t _i1268; + for (_i1268 = 0; _i1268 < _size1264; ++_i1268) { - std::string _key1258; - xfer += iprot->readString(_key1258); - std::string& _val1259 = this->part_vals[_key1258]; - xfer += iprot->readString(_val1259); + std::string _key1269; + xfer += iprot->readString(_key1269); + std::string& _val1270 = this->part_vals[_key1269]; + xfer += iprot->readString(_val1270); } xfer += iprot->readMapEnd(); } @@ -20339,9 +20610,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1260; - xfer += iprot->readI32(ecast1260); - this->eventType = (PartitionEventType::type)ecast1260; + int32_t ecast1271; + xfer += iprot->readI32(ecast1271); + this->eventType = (PartitionEventType::type)ecast1271; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -20375,11 +20646,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 _iter1261; - for (_iter1261 = this->part_vals.begin(); _iter1261 != this->part_vals.end(); ++_iter1261) + std::map ::const_iterator _iter1272; + for (_iter1272 = this->part_vals.begin(); _iter1272 != this->part_vals.end(); ++_iter1272) { - xfer += oprot->writeString(_iter1261->first); - xfer += oprot->writeString(_iter1261->second); + xfer += oprot->writeString(_iter1272->first); + xfer += oprot->writeString(_iter1272->second); } xfer += oprot->writeMapEnd(); } @@ -20415,11 +20686,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 _iter1262; - for (_iter1262 = (*(this->part_vals)).begin(); _iter1262 != (*(this->part_vals)).end(); ++_iter1262) + std::map ::const_iterator _iter1273; + for (_iter1273 = (*(this->part_vals)).begin(); _iter1273 != (*(this->part_vals)).end(); ++_iter1273) { - xfer += oprot->writeString(_iter1262->first); - xfer += oprot->writeString(_iter1262->second); + xfer += oprot->writeString(_iter1273->first); + xfer += oprot->writeString(_iter1273->second); } xfer += oprot->writeMapEnd(); } @@ -21855,14 +22126,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1263; - ::apache::thrift::protocol::TType _etype1266; - xfer += iprot->readListBegin(_etype1266, _size1263); - this->success.resize(_size1263); - uint32_t _i1267; - for (_i1267 = 0; _i1267 < _size1263; ++_i1267) + uint32_t _size1274; + ::apache::thrift::protocol::TType _etype1277; + xfer += iprot->readListBegin(_etype1277, _size1274); + this->success.resize(_size1274); + uint32_t _i1278; + for (_i1278 = 0; _i1278 < _size1274; ++_i1278) { - xfer += this->success[_i1267].read(iprot); + xfer += this->success[_i1278].read(iprot); } xfer += iprot->readListEnd(); } @@ -21909,10 +22180,10 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1268; - for (_iter1268 = this->success.begin(); _iter1268 != this->success.end(); ++_iter1268) + std::vector ::const_iterator _iter1279; + for (_iter1279 = this->success.begin(); _iter1279 != this->success.end(); ++_iter1279) { - xfer += (*_iter1268).write(oprot); + xfer += (*_iter1279).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21961,14 +22232,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1269; - ::apache::thrift::protocol::TType _etype1272; - xfer += iprot->readListBegin(_etype1272, _size1269); - (*(this->success)).resize(_size1269); - uint32_t _i1273; - for (_i1273 = 0; _i1273 < _size1269; ++_i1273) + uint32_t _size1280; + ::apache::thrift::protocol::TType _etype1283; + xfer += iprot->readListBegin(_etype1283, _size1280); + (*(this->success)).resize(_size1280); + uint32_t _i1284; + for (_i1284 = 0; _i1284 < _size1280; ++_i1284) { - xfer += (*(this->success))[_i1273].read(iprot); + xfer += (*(this->success))[_i1284].read(iprot); } xfer += iprot->readListEnd(); } @@ -22146,14 +22417,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1274; - ::apache::thrift::protocol::TType _etype1277; - xfer += iprot->readListBegin(_etype1277, _size1274); - this->success.resize(_size1274); - uint32_t _i1278; - for (_i1278 = 0; _i1278 < _size1274; ++_i1278) + uint32_t _size1285; + ::apache::thrift::protocol::TType _etype1288; + xfer += iprot->readListBegin(_etype1288, _size1285); + this->success.resize(_size1285); + uint32_t _i1289; + for (_i1289 = 0; _i1289 < _size1285; ++_i1289) { - xfer += iprot->readString(this->success[_i1278]); + xfer += iprot->readString(this->success[_i1289]); } xfer += iprot->readListEnd(); } @@ -22192,10 +22463,10 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1279; - for (_iter1279 = this->success.begin(); _iter1279 != this->success.end(); ++_iter1279) + std::vector ::const_iterator _iter1290; + for (_iter1290 = this->success.begin(); _iter1290 != this->success.end(); ++_iter1290) { - xfer += oprot->writeString((*_iter1279)); + xfer += oprot->writeString((*_iter1290)); } xfer += oprot->writeListEnd(); } @@ -22240,14 +22511,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1280; - ::apache::thrift::protocol::TType _etype1283; - xfer += iprot->readListBegin(_etype1283, _size1280); - (*(this->success)).resize(_size1280); - uint32_t _i1284; - for (_i1284 = 0; _i1284 < _size1280; ++_i1284) + uint32_t _size1291; + ::apache::thrift::protocol::TType _etype1294; + xfer += iprot->readListBegin(_etype1294, _size1291); + (*(this->success)).resize(_size1291); + uint32_t _i1295; + for (_i1295 = 0; _i1295 < _size1291; ++_i1295) { - xfer += iprot->readString((*(this->success))[_i1284]); + xfer += iprot->readString((*(this->success))[_i1295]); } xfer += iprot->readListEnd(); } @@ -26274,14 +26545,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1285; - ::apache::thrift::protocol::TType _etype1288; - xfer += iprot->readListBegin(_etype1288, _size1285); - this->success.resize(_size1285); - uint32_t _i1289; - for (_i1289 = 0; _i1289 < _size1285; ++_i1289) + uint32_t _size1296; + ::apache::thrift::protocol::TType _etype1299; + xfer += iprot->readListBegin(_etype1299, _size1296); + this->success.resize(_size1296); + uint32_t _i1300; + for (_i1300 = 0; _i1300 < _size1296; ++_i1300) { - xfer += iprot->readString(this->success[_i1289]); + xfer += iprot->readString(this->success[_i1300]); } xfer += iprot->readListEnd(); } @@ -26320,10 +26591,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 _iter1290; - for (_iter1290 = this->success.begin(); _iter1290 != this->success.end(); ++_iter1290) + std::vector ::const_iterator _iter1301; + for (_iter1301 = this->success.begin(); _iter1301 != this->success.end(); ++_iter1301) { - xfer += oprot->writeString((*_iter1290)); + xfer += oprot->writeString((*_iter1301)); } xfer += oprot->writeListEnd(); } @@ -26368,14 +26639,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1291; - ::apache::thrift::protocol::TType _etype1294; - xfer += iprot->readListBegin(_etype1294, _size1291); - (*(this->success)).resize(_size1291); - uint32_t _i1295; - for (_i1295 = 0; _i1295 < _size1291; ++_i1295) + uint32_t _size1302; + ::apache::thrift::protocol::TType _etype1305; + xfer += iprot->readListBegin(_etype1305, _size1302); + (*(this->success)).resize(_size1302); + uint32_t _i1306; + for (_i1306 = 0; _i1306 < _size1302; ++_i1306) { - xfer += iprot->readString((*(this->success))[_i1295]); + xfer += iprot->readString((*(this->success))[_i1306]); } xfer += iprot->readListEnd(); } @@ -27335,14 +27606,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1296; - ::apache::thrift::protocol::TType _etype1299; - xfer += iprot->readListBegin(_etype1299, _size1296); - this->success.resize(_size1296); - uint32_t _i1300; - for (_i1300 = 0; _i1300 < _size1296; ++_i1300) + uint32_t _size1307; + ::apache::thrift::protocol::TType _etype1310; + xfer += iprot->readListBegin(_etype1310, _size1307); + this->success.resize(_size1307); + uint32_t _i1311; + for (_i1311 = 0; _i1311 < _size1307; ++_i1311) { - xfer += iprot->readString(this->success[_i1300]); + xfer += iprot->readString(this->success[_i1311]); } xfer += iprot->readListEnd(); } @@ -27381,10 +27652,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 _iter1301; - for (_iter1301 = this->success.begin(); _iter1301 != this->success.end(); ++_iter1301) + std::vector ::const_iterator _iter1312; + for (_iter1312 = this->success.begin(); _iter1312 != this->success.end(); ++_iter1312) { - xfer += oprot->writeString((*_iter1301)); + xfer += oprot->writeString((*_iter1312)); } xfer += oprot->writeListEnd(); } @@ -27429,14 +27700,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1302; - ::apache::thrift::protocol::TType _etype1305; - xfer += iprot->readListBegin(_etype1305, _size1302); - (*(this->success)).resize(_size1302); - uint32_t _i1306; - for (_i1306 = 0; _i1306 < _size1302; ++_i1306) + uint32_t _size1313; + ::apache::thrift::protocol::TType _etype1316; + xfer += iprot->readListBegin(_etype1316, _size1313); + (*(this->success)).resize(_size1313); + uint32_t _i1317; + for (_i1317 = 0; _i1317 < _size1313; ++_i1317) { - xfer += iprot->readString((*(this->success))[_i1306]); + xfer += iprot->readString((*(this->success))[_i1317]); } xfer += iprot->readListEnd(); } @@ -27509,9 +27780,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1307; - xfer += iprot->readI32(ecast1307); - this->principal_type = (PrincipalType::type)ecast1307; + int32_t ecast1318; + xfer += iprot->readI32(ecast1318); + this->principal_type = (PrincipalType::type)ecast1318; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -27527,9 +27798,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1308; - xfer += iprot->readI32(ecast1308); - this->grantorType = (PrincipalType::type)ecast1308; + int32_t ecast1319; + xfer += iprot->readI32(ecast1319); + this->grantorType = (PrincipalType::type)ecast1319; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -27800,9 +28071,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1309; - xfer += iprot->readI32(ecast1309); - this->principal_type = (PrincipalType::type)ecast1309; + int32_t ecast1320; + xfer += iprot->readI32(ecast1320); + this->principal_type = (PrincipalType::type)ecast1320; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -28033,9 +28304,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1310; - xfer += iprot->readI32(ecast1310); - this->principal_type = (PrincipalType::type)ecast1310; + int32_t ecast1321; + xfer += iprot->readI32(ecast1321); + this->principal_type = (PrincipalType::type)ecast1321; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -28124,14 +28395,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1311; - ::apache::thrift::protocol::TType _etype1314; - xfer += iprot->readListBegin(_etype1314, _size1311); - this->success.resize(_size1311); - uint32_t _i1315; - for (_i1315 = 0; _i1315 < _size1311; ++_i1315) + uint32_t _size1322; + ::apache::thrift::protocol::TType _etype1325; + xfer += iprot->readListBegin(_etype1325, _size1322); + this->success.resize(_size1322); + uint32_t _i1326; + for (_i1326 = 0; _i1326 < _size1322; ++_i1326) { - xfer += this->success[_i1315].read(iprot); + xfer += this->success[_i1326].read(iprot); } xfer += iprot->readListEnd(); } @@ -28170,10 +28441,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 _iter1316; - for (_iter1316 = this->success.begin(); _iter1316 != this->success.end(); ++_iter1316) + std::vector ::const_iterator _iter1327; + for (_iter1327 = this->success.begin(); _iter1327 != this->success.end(); ++_iter1327) { - xfer += (*_iter1316).write(oprot); + xfer += (*_iter1327).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28218,14 +28489,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1317; - ::apache::thrift::protocol::TType _etype1320; - xfer += iprot->readListBegin(_etype1320, _size1317); - (*(this->success)).resize(_size1317); - uint32_t _i1321; - for (_i1321 = 0; _i1321 < _size1317; ++_i1321) + uint32_t _size1328; + ::apache::thrift::protocol::TType _etype1331; + xfer += iprot->readListBegin(_etype1331, _size1328); + (*(this->success)).resize(_size1328); + uint32_t _i1332; + for (_i1332 = 0; _i1332 < _size1328; ++_i1332) { - xfer += (*(this->success))[_i1321].read(iprot); + xfer += (*(this->success))[_i1332].read(iprot); } xfer += iprot->readListEnd(); } @@ -28921,14 +29192,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 _size1322; - ::apache::thrift::protocol::TType _etype1325; - xfer += iprot->readListBegin(_etype1325, _size1322); - this->group_names.resize(_size1322); - uint32_t _i1326; - for (_i1326 = 0; _i1326 < _size1322; ++_i1326) + uint32_t _size1333; + ::apache::thrift::protocol::TType _etype1336; + xfer += iprot->readListBegin(_etype1336, _size1333); + this->group_names.resize(_size1333); + uint32_t _i1337; + for (_i1337 = 0; _i1337 < _size1333; ++_i1337) { - xfer += iprot->readString(this->group_names[_i1326]); + xfer += iprot->readString(this->group_names[_i1337]); } xfer += iprot->readListEnd(); } @@ -28965,10 +29236,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 _iter1327; - for (_iter1327 = this->group_names.begin(); _iter1327 != this->group_names.end(); ++_iter1327) + std::vector ::const_iterator _iter1338; + for (_iter1338 = this->group_names.begin(); _iter1338 != this->group_names.end(); ++_iter1338) { - xfer += oprot->writeString((*_iter1327)); + xfer += oprot->writeString((*_iter1338)); } xfer += oprot->writeListEnd(); } @@ -29000,10 +29271,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 _iter1328; - for (_iter1328 = (*(this->group_names)).begin(); _iter1328 != (*(this->group_names)).end(); ++_iter1328) + std::vector ::const_iterator _iter1339; + for (_iter1339 = (*(this->group_names)).begin(); _iter1339 != (*(this->group_names)).end(); ++_iter1339) { - xfer += oprot->writeString((*_iter1328)); + xfer += oprot->writeString((*_iter1339)); } xfer += oprot->writeListEnd(); } @@ -29178,9 +29449,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1329; - xfer += iprot->readI32(ecast1329); - this->principal_type = (PrincipalType::type)ecast1329; + int32_t ecast1340; + xfer += iprot->readI32(ecast1340); + this->principal_type = (PrincipalType::type)ecast1340; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29285,14 +29556,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1330; - ::apache::thrift::protocol::TType _etype1333; - xfer += iprot->readListBegin(_etype1333, _size1330); - this->success.resize(_size1330); - uint32_t _i1334; - for (_i1334 = 0; _i1334 < _size1330; ++_i1334) + uint32_t _size1341; + ::apache::thrift::protocol::TType _etype1344; + xfer += iprot->readListBegin(_etype1344, _size1341); + this->success.resize(_size1341); + uint32_t _i1345; + for (_i1345 = 0; _i1345 < _size1341; ++_i1345) { - xfer += this->success[_i1334].read(iprot); + xfer += this->success[_i1345].read(iprot); } xfer += iprot->readListEnd(); } @@ -29331,10 +29602,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 _iter1335; - for (_iter1335 = this->success.begin(); _iter1335 != this->success.end(); ++_iter1335) + std::vector ::const_iterator _iter1346; + for (_iter1346 = this->success.begin(); _iter1346 != this->success.end(); ++_iter1346) { - xfer += (*_iter1335).write(oprot); + xfer += (*_iter1346).write(oprot); } xfer += oprot->writeListEnd(); } @@ -29379,14 +29650,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1336; - ::apache::thrift::protocol::TType _etype1339; - xfer += iprot->readListBegin(_etype1339, _size1336); - (*(this->success)).resize(_size1336); - uint32_t _i1340; - for (_i1340 = 0; _i1340 < _size1336; ++_i1340) + uint32_t _size1347; + ::apache::thrift::protocol::TType _etype1350; + xfer += iprot->readListBegin(_etype1350, _size1347); + (*(this->success)).resize(_size1347); + uint32_t _i1351; + for (_i1351 = 0; _i1351 < _size1347; ++_i1351) { - xfer += (*(this->success))[_i1340].read(iprot); + xfer += (*(this->success))[_i1351].read(iprot); } xfer += iprot->readListEnd(); } @@ -30074,14 +30345,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 _size1341; - ::apache::thrift::protocol::TType _etype1344; - xfer += iprot->readListBegin(_etype1344, _size1341); - this->group_names.resize(_size1341); - uint32_t _i1345; - for (_i1345 = 0; _i1345 < _size1341; ++_i1345) + uint32_t _size1352; + ::apache::thrift::protocol::TType _etype1355; + xfer += iprot->readListBegin(_etype1355, _size1352); + this->group_names.resize(_size1352); + uint32_t _i1356; + for (_i1356 = 0; _i1356 < _size1352; ++_i1356) { - xfer += iprot->readString(this->group_names[_i1345]); + xfer += iprot->readString(this->group_names[_i1356]); } xfer += iprot->readListEnd(); } @@ -30114,10 +30385,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 _iter1346; - for (_iter1346 = this->group_names.begin(); _iter1346 != this->group_names.end(); ++_iter1346) + std::vector ::const_iterator _iter1357; + for (_iter1357 = this->group_names.begin(); _iter1357 != this->group_names.end(); ++_iter1357) { - xfer += oprot->writeString((*_iter1346)); + xfer += oprot->writeString((*_iter1357)); } xfer += oprot->writeListEnd(); } @@ -30145,10 +30416,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 _iter1347; - for (_iter1347 = (*(this->group_names)).begin(); _iter1347 != (*(this->group_names)).end(); ++_iter1347) + std::vector ::const_iterator _iter1358; + for (_iter1358 = (*(this->group_names)).begin(); _iter1358 != (*(this->group_names)).end(); ++_iter1358) { - xfer += oprot->writeString((*_iter1347)); + xfer += oprot->writeString((*_iter1358)); } xfer += oprot->writeListEnd(); } @@ -30189,14 +30460,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1348; - ::apache::thrift::protocol::TType _etype1351; - xfer += iprot->readListBegin(_etype1351, _size1348); - this->success.resize(_size1348); - uint32_t _i1352; - for (_i1352 = 0; _i1352 < _size1348; ++_i1352) + uint32_t _size1359; + ::apache::thrift::protocol::TType _etype1362; + xfer += iprot->readListBegin(_etype1362, _size1359); + this->success.resize(_size1359); + uint32_t _i1363; + for (_i1363 = 0; _i1363 < _size1359; ++_i1363) { - xfer += iprot->readString(this->success[_i1352]); + xfer += iprot->readString(this->success[_i1363]); } xfer += iprot->readListEnd(); } @@ -30235,10 +30506,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 _iter1353; - for (_iter1353 = this->success.begin(); _iter1353 != this->success.end(); ++_iter1353) + std::vector ::const_iterator _iter1364; + for (_iter1364 = this->success.begin(); _iter1364 != this->success.end(); ++_iter1364) { - xfer += oprot->writeString((*_iter1353)); + xfer += oprot->writeString((*_iter1364)); } xfer += oprot->writeListEnd(); } @@ -30283,14 +30554,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1354; - ::apache::thrift::protocol::TType _etype1357; - xfer += iprot->readListBegin(_etype1357, _size1354); - (*(this->success)).resize(_size1354); - uint32_t _i1358; - for (_i1358 = 0; _i1358 < _size1354; ++_i1358) + uint32_t _size1365; + ::apache::thrift::protocol::TType _etype1368; + xfer += iprot->readListBegin(_etype1368, _size1365); + (*(this->success)).resize(_size1365); + uint32_t _i1369; + for (_i1369 = 0; _i1369 < _size1365; ++_i1369) { - xfer += iprot->readString((*(this->success))[_i1358]); + xfer += iprot->readString((*(this->success))[_i1369]); } xfer += iprot->readListEnd(); } @@ -31601,14 +31872,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1359; - ::apache::thrift::protocol::TType _etype1362; - xfer += iprot->readListBegin(_etype1362, _size1359); - this->success.resize(_size1359); - uint32_t _i1363; - for (_i1363 = 0; _i1363 < _size1359; ++_i1363) + uint32_t _size1370; + ::apache::thrift::protocol::TType _etype1373; + xfer += iprot->readListBegin(_etype1373, _size1370); + this->success.resize(_size1370); + uint32_t _i1374; + for (_i1374 = 0; _i1374 < _size1370; ++_i1374) { - xfer += iprot->readString(this->success[_i1363]); + xfer += iprot->readString(this->success[_i1374]); } xfer += iprot->readListEnd(); } @@ -31639,10 +31910,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 _iter1364; - for (_iter1364 = this->success.begin(); _iter1364 != this->success.end(); ++_iter1364) + std::vector ::const_iterator _iter1375; + for (_iter1375 = this->success.begin(); _iter1375 != this->success.end(); ++_iter1375) { - xfer += oprot->writeString((*_iter1364)); + xfer += oprot->writeString((*_iter1375)); } xfer += oprot->writeListEnd(); } @@ -31683,14 +31954,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1365; - ::apache::thrift::protocol::TType _etype1368; - xfer += iprot->readListBegin(_etype1368, _size1365); - (*(this->success)).resize(_size1365); - uint32_t _i1369; - for (_i1369 = 0; _i1369 < _size1365; ++_i1369) + uint32_t _size1376; + ::apache::thrift::protocol::TType _etype1379; + xfer += iprot->readListBegin(_etype1379, _size1376); + (*(this->success)).resize(_size1376); + uint32_t _i1380; + for (_i1380 = 0; _i1380 < _size1376; ++_i1380) { - xfer += iprot->readString((*(this->success))[_i1369]); + xfer += iprot->readString((*(this->success))[_i1380]); } xfer += iprot->readListEnd(); } @@ -32416,14 +32687,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1370; - ::apache::thrift::protocol::TType _etype1373; - xfer += iprot->readListBegin(_etype1373, _size1370); - this->success.resize(_size1370); - uint32_t _i1374; - for (_i1374 = 0; _i1374 < _size1370; ++_i1374) + uint32_t _size1381; + ::apache::thrift::protocol::TType _etype1384; + xfer += iprot->readListBegin(_etype1384, _size1381); + this->success.resize(_size1381); + uint32_t _i1385; + for (_i1385 = 0; _i1385 < _size1381; ++_i1385) { - xfer += iprot->readString(this->success[_i1374]); + xfer += iprot->readString(this->success[_i1385]); } xfer += iprot->readListEnd(); } @@ -32454,10 +32725,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 _iter1375; - for (_iter1375 = this->success.begin(); _iter1375 != this->success.end(); ++_iter1375) + std::vector ::const_iterator _iter1386; + for (_iter1386 = this->success.begin(); _iter1386 != this->success.end(); ++_iter1386) { - xfer += oprot->writeString((*_iter1375)); + xfer += oprot->writeString((*_iter1386)); } xfer += oprot->writeListEnd(); } @@ -32498,14 +32769,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1376; - ::apache::thrift::protocol::TType _etype1379; - xfer += iprot->readListBegin(_etype1379, _size1376); - (*(this->success)).resize(_size1376); - uint32_t _i1380; - for (_i1380 = 0; _i1380 < _size1376; ++_i1380) + uint32_t _size1387; + ::apache::thrift::protocol::TType _etype1390; + xfer += iprot->readListBegin(_etype1390, _size1387); + (*(this->success)).resize(_size1387); + uint32_t _i1391; + for (_i1391 = 0; _i1391 < _size1387; ++_i1391) { - xfer += iprot->readString((*(this->success))[_i1380]); + xfer += iprot->readString((*(this->success))[_i1391]); } xfer += iprot->readListEnd(); } @@ -38647,6 +38918,69 @@ void ThriftHiveMetastoreClient::recv_get_tables(std::vector & _retu throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_tables failed: unknown result"); } +void ThriftHiveMetastoreClient::get_tables_by_type(std::vector & _return, const std::string& db_name, const std::string& pattern, const std::string& tableType) +{ + send_get_tables_by_type(db_name, pattern, tableType); + recv_get_tables_by_type(_return); +} + +void ThriftHiveMetastoreClient::send_get_tables_by_type(const std::string& db_name, const std::string& pattern, const std::string& tableType) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("get_tables_by_type", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_tables_by_type_pargs args; + args.db_name = &db_name; + args.pattern = &pattern; + args.tableType = &tableType; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_get_tables_by_type(std::vector & _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_tables_by_type") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_get_tables_by_type_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + if (result.__isset.o1) { + throw result.o1; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_tables_by_type failed: unknown result"); +} + void ThriftHiveMetastoreClient::get_table_meta(std::vector & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types) { send_get_table_meta(db_patterns, tbl_patterns, tbl_types); @@ -48031,6 +48365,63 @@ void ThriftHiveMetastoreProcessor::process_get_tables(int32_t seqid, ::apache::t } } +void ThriftHiveMetastoreProcessor::process_get_tables_by_type(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_tables_by_type", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.get_tables_by_type"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_tables_by_type"); + } + + ThriftHiveMetastore_get_tables_by_type_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_tables_by_type", bytes); + } + + ThriftHiveMetastore_get_tables_by_type_result result; + try { + iface_->get_tables_by_type(result.success, args.db_name, args.pattern, args.tableType); + result.__isset.success = true; + } catch (MetaException &o1) { + result.o1 = o1; + result.__isset.o1 = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_tables_by_type"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("get_tables_by_type", ::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_tables_by_type"); + } + + oprot->writeMessageBegin("get_tables_by_type", ::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_tables_by_type", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_get_table_meta(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; @@ -57630,6 +58021,96 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_tables(std::vector & _return, const std::string& db_name, const std::string& pattern, const std::string& tableType) +{ + int32_t seqid = send_get_tables_by_type(db_name, pattern, tableType); + recv_get_tables_by_type(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_tables_by_type(const std::string& db_name, const std::string& pattern, const std::string& tableType) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_tables_by_type", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_tables_by_type_pargs args; + args.db_name = &db_name; + args.pattern = &pattern; + args.tableType = &tableType; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_tables_by_type(std::vector & _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_, 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_tables_by_type") != 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_tables_by_type_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_tables_by_type 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_table_meta(std::vector & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types) { int32_t seqid = send_get_table_meta(db_patterns, tbl_patterns, tbl_types); diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 6498eb1..525408b 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -47,6 +47,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void drop_table(const std::string& dbname, const std::string& name, const bool deleteData) = 0; virtual void drop_table_with_environment_context(const std::string& dbname, const std::string& name, const bool deleteData, const EnvironmentContext& environment_context) = 0; virtual void get_tables(std::vector & _return, const std::string& db_name, const std::string& pattern) = 0; + virtual void get_tables_by_type(std::vector & _return, const std::string& db_name, const std::string& pattern, const std::string& tableType) = 0; virtual void get_table_meta(std::vector & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types) = 0; virtual void get_all_tables(std::vector & _return, const std::string& db_name) = 0; virtual void get_table(Table& _return, const std::string& dbname, const std::string& tbl_name) = 0; @@ -277,6 +278,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void get_tables(std::vector & /* _return */, const std::string& /* db_name */, const std::string& /* pattern */) { return; } + void get_tables_by_type(std::vector & /* _return */, const std::string& /* db_name */, const std::string& /* pattern */, const std::string& /* tableType */) { + return; + } void get_table_meta(std::vector & /* _return */, const std::string& /* db_patterns */, const std::string& /* tbl_patterns */, const std::vector & /* tbl_types */) { return; } @@ -3758,6 +3762,132 @@ class ThriftHiveMetastore_get_tables_presult { }; +typedef struct _ThriftHiveMetastore_get_tables_by_type_args__isset { + _ThriftHiveMetastore_get_tables_by_type_args__isset() : db_name(false), pattern(false), tableType(false) {} + bool db_name :1; + bool pattern :1; + bool tableType :1; +} _ThriftHiveMetastore_get_tables_by_type_args__isset; + +class ThriftHiveMetastore_get_tables_by_type_args { + public: + + ThriftHiveMetastore_get_tables_by_type_args(const ThriftHiveMetastore_get_tables_by_type_args&); + ThriftHiveMetastore_get_tables_by_type_args& operator=(const ThriftHiveMetastore_get_tables_by_type_args&); + ThriftHiveMetastore_get_tables_by_type_args() : db_name(), pattern(), tableType() { + } + + virtual ~ThriftHiveMetastore_get_tables_by_type_args() throw(); + std::string db_name; + std::string pattern; + std::string tableType; + + _ThriftHiveMetastore_get_tables_by_type_args__isset __isset; + + void __set_db_name(const std::string& val); + + void __set_pattern(const std::string& val); + + void __set_tableType(const std::string& val); + + bool operator == (const ThriftHiveMetastore_get_tables_by_type_args & rhs) const + { + if (!(db_name == rhs.db_name)) + return false; + if (!(pattern == rhs.pattern)) + return false; + if (!(tableType == rhs.tableType)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_tables_by_type_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_tables_by_type_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_get_tables_by_type_pargs { + public: + + + virtual ~ThriftHiveMetastore_get_tables_by_type_pargs() throw(); + const std::string* db_name; + const std::string* pattern; + const std::string* tableType; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_tables_by_type_result__isset { + _ThriftHiveMetastore_get_tables_by_type_result__isset() : success(false), o1(false) {} + bool success :1; + bool o1 :1; +} _ThriftHiveMetastore_get_tables_by_type_result__isset; + +class ThriftHiveMetastore_get_tables_by_type_result { + public: + + ThriftHiveMetastore_get_tables_by_type_result(const ThriftHiveMetastore_get_tables_by_type_result&); + ThriftHiveMetastore_get_tables_by_type_result& operator=(const ThriftHiveMetastore_get_tables_by_type_result&); + ThriftHiveMetastore_get_tables_by_type_result() { + } + + virtual ~ThriftHiveMetastore_get_tables_by_type_result() throw(); + std::vector success; + MetaException o1; + + _ThriftHiveMetastore_get_tables_by_type_result__isset __isset; + + void __set_success(const std::vector & val); + + void __set_o1(const MetaException& val); + + bool operator == (const ThriftHiveMetastore_get_tables_by_type_result & rhs) const + { + if (!(success == rhs.success)) + return false; + if (!(o1 == rhs.o1)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_tables_by_type_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_tables_by_type_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_tables_by_type_presult__isset { + _ThriftHiveMetastore_get_tables_by_type_presult__isset() : success(false), o1(false) {} + bool success :1; + bool o1 :1; +} _ThriftHiveMetastore_get_tables_by_type_presult__isset; + +class ThriftHiveMetastore_get_tables_by_type_presult { + public: + + + virtual ~ThriftHiveMetastore_get_tables_by_type_presult() throw(); + std::vector * success; + MetaException o1; + + _ThriftHiveMetastore_get_tables_by_type_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_get_table_meta_args__isset { _ThriftHiveMetastore_get_table_meta_args__isset() : db_patterns(false), tbl_patterns(false), tbl_types(false) {} bool db_patterns :1; @@ -19217,6 +19347,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void get_tables(std::vector & _return, const std::string& db_name, const std::string& pattern); void send_get_tables(const std::string& db_name, const std::string& pattern); void recv_get_tables(std::vector & _return); + void get_tables_by_type(std::vector & _return, const std::string& db_name, const std::string& pattern, const std::string& tableType); + void send_get_tables_by_type(const std::string& db_name, const std::string& pattern, const std::string& tableType); + void recv_get_tables_by_type(std::vector & _return); void get_table_meta(std::vector & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types); void send_get_table_meta(const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types); void recv_get_table_meta(std::vector & _return); @@ -19624,6 +19757,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_drop_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_drop_table_with_environment_context(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_get_tables_by_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_table_meta(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_all_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -19777,6 +19911,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["drop_table"] = &ThriftHiveMetastoreProcessor::process_drop_table; processMap_["drop_table_with_environment_context"] = &ThriftHiveMetastoreProcessor::process_drop_table_with_environment_context; processMap_["get_tables"] = &ThriftHiveMetastoreProcessor::process_get_tables; + processMap_["get_tables_by_type"] = &ThriftHiveMetastoreProcessor::process_get_tables_by_type; processMap_["get_table_meta"] = &ThriftHiveMetastoreProcessor::process_get_table_meta; processMap_["get_all_tables"] = &ThriftHiveMetastoreProcessor::process_get_all_tables; processMap_["get_table"] = &ThriftHiveMetastoreProcessor::process_get_table; @@ -20170,6 +20305,16 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } + void get_tables_by_type(std::vector & _return, const std::string& db_name, const std::string& pattern, const std::string& tableType) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->get_tables_by_type(_return, db_name, pattern, tableType); + } + ifaces_[i]->get_tables_by_type(_return, db_name, pattern, tableType); + return; + } + void get_table_meta(std::vector & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types) { size_t sz = ifaces_.size(); size_t i = 0; @@ -21452,6 +21597,9 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf void get_tables(std::vector & _return, const std::string& db_name, const std::string& pattern); int32_t send_get_tables(const std::string& db_name, const std::string& pattern); void recv_get_tables(std::vector & _return, const int32_t seqid); + void get_tables_by_type(std::vector & _return, const std::string& db_name, const std::string& pattern, const std::string& tableType); + int32_t send_get_tables_by_type(const std::string& db_name, const std::string& pattern, const std::string& tableType); + void recv_get_tables_by_type(std::vector & _return, const int32_t seqid); void get_table_meta(std::vector & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types); int32_t send_get_table_meta(const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types); void recv_get_table_meta(std::vector & _return, const int32_t seqid); diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index 3330b2f..d66fdbe 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -147,6 +147,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("get_tables\n"); } + void get_tables_by_type(std::vector & _return, const std::string& db_name, const std::string& pattern, const std::string& tableType) { + // Your implementation goes here + printf("get_tables_by_type\n"); + } + void get_table_meta(std::vector & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types) { // Your implementation goes here printf("get_table_meta\n"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index cb5dec9..d827d6c 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -92,6 +92,8 @@ public List get_tables(String db_name, String pattern) throws MetaException, org.apache.thrift.TException; + public List get_tables_by_type(String db_name, String pattern, String tableType) throws MetaException, org.apache.thrift.TException; + public List get_table_meta(String db_patterns, String tbl_patterns, List tbl_types) throws MetaException, org.apache.thrift.TException; public List get_all_tables(String db_name) throws MetaException, org.apache.thrift.TException; @@ -394,6 +396,8 @@ public void get_tables(String db_name, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_tables_by_type(String db_name, String pattern, String tableType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_table_meta(String db_patterns, String tbl_patterns, List tbl_types, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void get_all_tables(String db_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -1392,6 +1396,34 @@ public void send_get_tables(String db_name, String pattern) throws org.apache.th throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_tables failed: unknown result"); } + public List get_tables_by_type(String db_name, String pattern, String tableType) throws MetaException, org.apache.thrift.TException + { + send_get_tables_by_type(db_name, pattern, tableType); + return recv_get_tables_by_type(); + } + + public void send_get_tables_by_type(String db_name, String pattern, String tableType) throws org.apache.thrift.TException + { + get_tables_by_type_args args = new get_tables_by_type_args(); + args.setDb_name(db_name); + args.setPattern(pattern); + args.setTableType(tableType); + sendBase("get_tables_by_type", args); + } + + public List recv_get_tables_by_type() throws MetaException, org.apache.thrift.TException + { + get_tables_by_type_result result = new get_tables_by_type_result(); + receiveBase(result, "get_tables_by_type"); + if (result.isSetSuccess()) { + return result.success; + } + if (result.o1 != null) { + throw result.o1; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_tables_by_type failed: unknown result"); + } + public List get_table_meta(String db_patterns, String tbl_patterns, List tbl_types) throws MetaException, org.apache.thrift.TException { send_get_table_meta(db_patterns, tbl_patterns, tbl_types); @@ -5835,6 +5867,44 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } + public void get_tables_by_type(String db_name, String pattern, String tableType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + get_tables_by_type_call method_call = new get_tables_by_type_call(db_name, pattern, tableType, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class get_tables_by_type_call extends org.apache.thrift.async.TAsyncMethodCall { + private String db_name; + private String pattern; + private String tableType; + public get_tables_by_type_call(String db_name, String pattern, String tableType, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.db_name = db_name; + this.pattern = pattern; + this.tableType = tableType; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_tables_by_type", org.apache.thrift.protocol.TMessageType.CALL, 0)); + get_tables_by_type_args args = new get_tables_by_type_args(); + args.setDb_name(db_name); + args.setPattern(pattern); + args.setTableType(tableType); + args.write(prot); + prot.writeMessageEnd(); + } + + public List getResult() throws MetaException, org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_get_tables_by_type(); + } + } + public void get_table_meta(String db_patterns, String tbl_patterns, List tbl_types, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_table_meta_call method_call = new get_table_meta_call(db_patterns, tbl_patterns, tbl_types, resultHandler, this, ___protocolFactory, ___transport); @@ -10270,6 +10340,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public get_tables_by_type() { + super("get_tables_by_type"); + } + + public get_tables_by_type_args getEmptyArgsInstance() { + return new get_tables_by_type_args(); + } + + protected boolean isOneway() { + return false; + } + + public get_tables_by_type_result getResult(I iface, get_tables_by_type_args args) throws org.apache.thrift.TException { + get_tables_by_type_result result = new get_tables_by_type_result(); + try { + result.success = iface.get_tables_by_type(args.db_name, args.pattern, args.tableType); + } catch (MetaException o1) { + result.o1 = o1; + } + return result; + } + } + public static class get_table_meta extends org.apache.thrift.ProcessFunction { public get_table_meta() { super("get_table_meta"); @@ -14241,6 +14336,7 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction> { + public get_tables_by_type() { + super("get_tables_by_type"); + } + + public get_tables_by_type_args getEmptyArgsInstance() { + return new get_tables_by_type_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_tables_by_type_result result = new get_tables_by_type_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_tables_by_type_result result = new get_tables_by_type_result(); + if (e instanceof MetaException) { + result.o1 = (MetaException) e; + result.setO1IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_tables_by_type_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_tables_by_type(args.db_name, args.pattern, args.tableType,resultHandler); + } + } + public static class get_table_meta extends org.apache.thrift.AsyncProcessFunction> { public get_table_meta() { super("get_table_meta"); @@ -47851,12 +48004,1036 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_tables_args) - return this.equals((get_tables_args)that); + if (that instanceof get_tables_args) + return this.equals((get_tables_args)that); + return false; + } + + public boolean equals(get_tables_args that) { + if (that == null) + return false; + + boolean this_present_db_name = true && this.isSetDb_name(); + boolean that_present_db_name = true && that.isSetDb_name(); + if (this_present_db_name || that_present_db_name) { + if (!(this_present_db_name && that_present_db_name)) + return false; + if (!this.db_name.equals(that.db_name)) + return false; + } + + boolean this_present_pattern = true && this.isSetPattern(); + boolean that_present_pattern = true && that.isSetPattern(); + if (this_present_pattern || that_present_pattern) { + if (!(this_present_pattern && that_present_pattern)) + return false; + if (!this.pattern.equals(that.pattern)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_db_name = true && (isSetDb_name()); + list.add(present_db_name); + if (present_db_name) + list.add(db_name); + + boolean present_pattern = true && (isSetPattern()); + list.add(present_pattern); + if (present_pattern) + list.add(pattern); + + return list.hashCode(); + } + + @Override + public int compareTo(get_tables_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetDb_name()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetPattern()).compareTo(other.isSetPattern()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPattern()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pattern, other.pattern); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("get_tables_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("pattern:"); + if (this.pattern == null) { + sb.append("null"); + } else { + sb.append(this.pattern); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class get_tables_argsStandardSchemeFactory implements SchemeFactory { + public get_tables_argsStandardScheme getScheme() { + return new get_tables_argsStandardScheme(); + } + } + + private static class get_tables_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_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: // PATTERN + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.pattern = iprot.readString(); + struct.setPatternIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_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.pattern != null) { + oprot.writeFieldBegin(PATTERN_FIELD_DESC); + oprot.writeString(struct.pattern); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_tables_argsTupleSchemeFactory implements SchemeFactory { + public get_tables_argsTupleScheme getScheme() { + return new get_tables_argsTupleScheme(); + } + } + + private static class get_tables_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetDb_name()) { + optionals.set(0); + } + if (struct.isSetPattern()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); + if (struct.isSetDb_name()) { + oprot.writeString(struct.db_name); + } + if (struct.isSetPattern()) { + oprot.writeString(struct.pattern); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.db_name = iprot.readString(); + struct.setDb_nameIsSet(true); + } + if (incoming.get(1)) { + struct.pattern = iprot.readString(); + struct.setPatternIsSet(true); + } + } + } + + } + + public static class get_tables_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_tables_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_tables_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_tables_resultTupleSchemeFactory()); + } + + private List success; // required + private MetaException o1; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"), + O1((short)1, "o1"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // O1 + return O1; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_tables_result.class, metaDataMap); + } + + public get_tables_result() { + } + + public get_tables_result( + List success, + MetaException o1) + { + this(); + this.success = success; + this.o1 = o1; + } + + /** + * Performs a deep copy on other. + */ + public get_tables_result(get_tables_result other) { + if (other.isSetSuccess()) { + List __this__success = new ArrayList(other.success); + this.success = __this__success; + } + if (other.isSetO1()) { + this.o1 = new MetaException(other.o1); + } + } + + public get_tables_result deepCopy() { + return new get_tables_result(this); + } + + @Override + public void clear() { + this.success = null; + this.o1 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if (this.success == null) { + this.success = new ArrayList(); + } + this.success.add(elem); + } + + public List getSuccess() { + return this.success; + } + + public void setSuccess(List success) { + this.success = success; + } + + public void unsetSuccess() { + this.success = null; + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if (!value) { + this.success = null; + } + } + + public MetaException getO1() { + return this.o1; + } + + public void setO1(MetaException o1) { + this.o1 = o1; + } + + public void unsetO1() { + this.o1 = null; + } + + /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ + public boolean isSetO1() { + return this.o1 != null; + } + + public void setO1IsSet(boolean value) { + if (!value) { + this.o1 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((List)value); + } + break; + + case O1: + if (value == null) { + unsetO1(); + } else { + setO1((MetaException)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case O1: + return getO1(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case O1: + return isSetO1(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_tables_result) + return this.equals((get_tables_result)that); + return false; + } + + public boolean equals(get_tables_result that) { + if (that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (!this.success.equals(that.success)) + return false; + } + + boolean this_present_o1 = true && this.isSetO1(); + boolean that_present_o1 = true && that.isSetO1(); + if (this_present_o1 || that_present_o1) { + if (!(this_present_o1 && that_present_o1)) + return false; + if (!this.o1.equals(that.o1)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + boolean present_o1 = true && (isSetO1()); + list.add(present_o1); + if (present_o1) + list.add(o1); + + return list.hashCode(); + } + + @Override + public int compareTo(get_tables_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("get_tables_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + if (!first) sb.append(", "); + sb.append("o1:"); + if (this.o1 == null) { + sb.append("null"); + } else { + sb.append(this.o1); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class get_tables_resultStandardSchemeFactory implements SchemeFactory { + public get_tables_resultStandardScheme getScheme() { + return new get_tables_resultStandardScheme(); + } + } + + private static class get_tables_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); + struct.success = new ArrayList(_list716.size); + String _elem717; + for (int _i718 = 0; _i718 < _list716.size; ++_i718) + { + _elem717 = iprot.readString(); + struct.success.add(_elem717); + } + iprot.readListEnd(); + } + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // O1 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (String _iter719 : struct.success) + { + oprot.writeString(_iter719); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_tables_resultTupleSchemeFactory implements SchemeFactory { + public get_tables_resultTupleScheme getScheme() { + return new get_tables_resultTupleScheme(); + } + } + + private static class get_tables_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + if (struct.isSetO1()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); + if (struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter720 : struct.success) + { + oprot.writeString(_iter720); + } + } + } + if (struct.isSetO1()) { + struct.o1.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list721.size); + String _elem722; + for (int _i723 = 0; _i723 < _list721.size; ++_i723) + { + _elem722 = iprot.readString(); + struct.success.add(_elem722); + } + } + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } + } + } + + } + + public static class get_tables_by_type_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_tables_by_type_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 PATTERN_FIELD_DESC = new org.apache.thrift.protocol.TField("pattern", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField TABLE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("tableType", org.apache.thrift.protocol.TType.STRING, (short)3); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_tables_by_type_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_tables_by_type_argsTupleSchemeFactory()); + } + + private String db_name; // required + private String pattern; // required + private String tableType; // 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"), + PATTERN((short)2, "pattern"), + TABLE_TYPE((short)3, "tableType"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // DB_NAME + return DB_NAME; + case 2: // PATTERN + return PATTERN; + case 3: // TABLE_TYPE + return TABLE_TYPE; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.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.PATTERN, new org.apache.thrift.meta_data.FieldMetaData("pattern", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TABLE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("tableType", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_tables_by_type_args.class, metaDataMap); + } + + public get_tables_by_type_args() { + } + + public get_tables_by_type_args( + String db_name, + String pattern, + String tableType) + { + this(); + this.db_name = db_name; + this.pattern = pattern; + this.tableType = tableType; + } + + /** + * Performs a deep copy on other. + */ + public get_tables_by_type_args(get_tables_by_type_args other) { + if (other.isSetDb_name()) { + this.db_name = other.db_name; + } + if (other.isSetPattern()) { + this.pattern = other.pattern; + } + if (other.isSetTableType()) { + this.tableType = other.tableType; + } + } + + public get_tables_by_type_args deepCopy() { + return new get_tables_by_type_args(this); + } + + @Override + public void clear() { + this.db_name = null; + this.pattern = null; + this.tableType = null; + } + + public String getDb_name() { + return this.db_name; + } + + public void setDb_name(String db_name) { + this.db_name = db_name; + } + + public void unsetDb_name() { + this.db_name = null; + } + + /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ + public boolean isSetDb_name() { + return this.db_name != null; + } + + public void setDb_nameIsSet(boolean value) { + if (!value) { + this.db_name = null; + } + } + + public String getPattern() { + return this.pattern; + } + + public void setPattern(String pattern) { + this.pattern = pattern; + } + + public void unsetPattern() { + this.pattern = null; + } + + /** Returns true if field pattern is set (has been assigned a value) and false otherwise */ + public boolean isSetPattern() { + return this.pattern != null; + } + + public void setPatternIsSet(boolean value) { + if (!value) { + this.pattern = null; + } + } + + public String getTableType() { + return this.tableType; + } + + public void setTableType(String tableType) { + this.tableType = tableType; + } + + public void unsetTableType() { + this.tableType = null; + } + + /** Returns true if field tableType is set (has been assigned a value) and false otherwise */ + public boolean isSetTableType() { + return this.tableType != null; + } + + public void setTableTypeIsSet(boolean value) { + if (!value) { + this.tableType = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case DB_NAME: + if (value == null) { + unsetDb_name(); + } else { + setDb_name((String)value); + } + break; + + case PATTERN: + if (value == null) { + unsetPattern(); + } else { + setPattern((String)value); + } + break; + + case TABLE_TYPE: + if (value == null) { + unsetTableType(); + } else { + setTableType((String)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case DB_NAME: + return getDb_name(); + + case PATTERN: + return getPattern(); + + case TABLE_TYPE: + return getTableType(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case DB_NAME: + return isSetDb_name(); + case PATTERN: + return isSetPattern(); + case TABLE_TYPE: + return isSetTableType(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_tables_by_type_args) + return this.equals((get_tables_by_type_args)that); return false; } - public boolean equals(get_tables_args that) { + public boolean equals(get_tables_by_type_args that) { if (that == null) return false; @@ -47878,6 +49055,15 @@ public boolean equals(get_tables_args that) { return false; } + boolean this_present_tableType = true && this.isSetTableType(); + boolean that_present_tableType = true && that.isSetTableType(); + if (this_present_tableType || that_present_tableType) { + if (!(this_present_tableType && that_present_tableType)) + return false; + if (!this.tableType.equals(that.tableType)) + return false; + } + return true; } @@ -47895,11 +49081,16 @@ public int hashCode() { if (present_pattern) list.add(pattern); + boolean present_tableType = true && (isSetTableType()); + list.add(present_tableType); + if (present_tableType) + list.add(tableType); + return list.hashCode(); } @Override - public int compareTo(get_tables_args other) { + public int compareTo(get_tables_by_type_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -47926,6 +49117,16 @@ public int compareTo(get_tables_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTableType()).compareTo(other.isSetTableType()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTableType()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableType, other.tableType); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -47943,7 +49144,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_tables_args("); + StringBuilder sb = new StringBuilder("get_tables_by_type_args("); boolean first = true; sb.append("db_name:"); @@ -47961,6 +49162,14 @@ public String toString() { sb.append(this.pattern); } first = false; + if (!first) sb.append(", "); + sb.append("tableType:"); + if (this.tableType == null) { + sb.append("null"); + } else { + sb.append(this.tableType); + } + first = false; sb.append(")"); return sb.toString(); } @@ -47986,15 +49195,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_tables_argsStandardSchemeFactory implements SchemeFactory { - public get_tables_argsStandardScheme getScheme() { - return new get_tables_argsStandardScheme(); + private static class get_tables_by_type_argsStandardSchemeFactory implements SchemeFactory { + public get_tables_by_type_argsStandardScheme getScheme() { + return new get_tables_by_type_argsStandardScheme(); } } - private static class get_tables_argsStandardScheme extends StandardScheme { + private static class get_tables_by_type_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_by_type_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -48020,6 +49229,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_args str org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 3: // TABLE_TYPE + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tableType = iprot.readString(); + struct.setTableTypeIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -48029,7 +49246,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_args str struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_by_type_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -48043,22 +49260,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_args st oprot.writeString(struct.pattern); oprot.writeFieldEnd(); } + if (struct.tableType != null) { + oprot.writeFieldBegin(TABLE_TYPE_FIELD_DESC); + oprot.writeString(struct.tableType); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_tables_argsTupleSchemeFactory implements SchemeFactory { - public get_tables_argsTupleScheme getScheme() { - return new get_tables_argsTupleScheme(); + private static class get_tables_by_type_argsTupleSchemeFactory implements SchemeFactory { + public get_tables_by_type_argsTupleScheme getScheme() { + return new get_tables_by_type_argsTupleScheme(); } } - private static class get_tables_argsTupleScheme extends TupleScheme { + private static class get_tables_by_type_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetDb_name()) { @@ -48067,19 +49289,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_args str if (struct.isSetPattern()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); + if (struct.isSetTableType()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); if (struct.isSetDb_name()) { oprot.writeString(struct.db_name); } if (struct.isSetPattern()) { oprot.writeString(struct.pattern); } + if (struct.isSetTableType()) { + oprot.writeString(struct.tableType); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.db_name = iprot.readString(); struct.setDb_nameIsSet(true); @@ -48088,21 +49316,25 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_args stru struct.pattern = iprot.readString(); struct.setPatternIsSet(true); } + if (incoming.get(2)) { + struct.tableType = iprot.readString(); + struct.setTableTypeIsSet(true); + } } } } - public static class get_tables_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_tables_result"); + public static class get_tables_by_type_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_tables_by_type_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_tables_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_tables_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_tables_by_type_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_tables_by_type_resultTupleSchemeFactory()); } private List success; // required @@ -48179,13 +49411,13 @@ public String getFieldName() { tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_tables_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_tables_by_type_result.class, metaDataMap); } - public get_tables_result() { + public get_tables_by_type_result() { } - public get_tables_result( + public get_tables_by_type_result( List success, MetaException o1) { @@ -48197,7 +49429,7 @@ public get_tables_result( /** * Performs a deep copy on other. */ - public get_tables_result(get_tables_result other) { + public get_tables_by_type_result(get_tables_by_type_result other) { if (other.isSetSuccess()) { List __this__success = new ArrayList(other.success); this.success = __this__success; @@ -48207,8 +49439,8 @@ public get_tables_result(get_tables_result other) { } } - public get_tables_result deepCopy() { - return new get_tables_result(this); + public get_tables_by_type_result deepCopy() { + return new get_tables_by_type_result(this); } @Override @@ -48330,12 +49562,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_tables_result) - return this.equals((get_tables_result)that); + if (that instanceof get_tables_by_type_result) + return this.equals((get_tables_by_type_result)that); return false; } - public boolean equals(get_tables_result that) { + public boolean equals(get_tables_by_type_result that) { if (that == null) return false; @@ -48378,7 +49610,7 @@ public int hashCode() { } @Override - public int compareTo(get_tables_result other) { + public int compareTo(get_tables_by_type_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -48422,7 +49654,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_tables_result("); + StringBuilder sb = new StringBuilder("get_tables_by_type_result("); boolean first = true; sb.append("success:"); @@ -48465,15 +49697,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_tables_resultStandardSchemeFactory implements SchemeFactory { - public get_tables_resultStandardScheme getScheme() { - return new get_tables_resultStandardScheme(); + private static class get_tables_by_type_resultStandardSchemeFactory implements SchemeFactory { + public get_tables_by_type_resultStandardScheme getScheme() { + return new get_tables_by_type_resultStandardScheme(); } } - private static class get_tables_resultStandardScheme extends StandardScheme { + private static class get_tables_by_type_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_by_type_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -48486,13 +49718,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); - struct.success = new ArrayList(_list716.size); - String _elem717; - for (int _i718 = 0; _i718 < _list716.size; ++_i718) + org.apache.thrift.protocol.TList _list724 = iprot.readListBegin(); + struct.success = new ArrayList(_list724.size); + String _elem725; + for (int _i726 = 0; _i726 < _list724.size; ++_i726) { - _elem717 = iprot.readString(); - struct.success.add(_elem717); + _elem725 = iprot.readString(); + struct.success.add(_elem725); } iprot.readListEnd(); } @@ -48519,7 +49751,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result s struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_by_type_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -48527,9 +49759,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter719 : struct.success) + for (String _iter727 : struct.success) { - oprot.writeString(_iter719); + oprot.writeString(_iter727); } oprot.writeListEnd(); } @@ -48546,16 +49778,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result } - private static class get_tables_resultTupleSchemeFactory implements SchemeFactory { - public get_tables_resultTupleScheme getScheme() { - return new get_tables_resultTupleScheme(); + private static class get_tables_by_type_resultTupleSchemeFactory implements SchemeFactory { + public get_tables_by_type_resultTupleScheme getScheme() { + return new get_tables_by_type_resultTupleScheme(); } } - private static class get_tables_resultTupleScheme extends TupleScheme { + private static class get_tables_by_type_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -48568,9 +49800,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter720 : struct.success) + for (String _iter728 : struct.success) { - oprot.writeString(_iter720); + oprot.writeString(_iter728); } } } @@ -48580,18 +49812,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list721.size); - String _elem722; - for (int _i723 = 0; _i723 < _list721.size; ++_i723) + org.apache.thrift.protocol.TList _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list729.size); + String _elem730; + for (int _i731 = 0; _i731 < _list729.size; ++_i731) { - _elem722 = iprot.readString(); - struct.success.add(_elem722); + _elem730 = iprot.readString(); + struct.success.add(_elem730); } } struct.setSuccessIsSet(true); @@ -49096,13 +50328,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_args case 3: // TBL_TYPES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list724 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list724.size); - String _elem725; - for (int _i726 = 0; _i726 < _list724.size; ++_i726) + org.apache.thrift.protocol.TList _list732 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list732.size); + String _elem733; + for (int _i734 = 0; _i734 < _list732.size; ++_i734) { - _elem725 = iprot.readString(); - struct.tbl_types.add(_elem725); + _elem733 = iprot.readString(); + struct.tbl_types.add(_elem733); } iprot.readListEnd(); } @@ -49138,9 +50370,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_arg oprot.writeFieldBegin(TBL_TYPES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_types.size())); - for (String _iter727 : struct.tbl_types) + for (String _iter735 : struct.tbl_types) { - oprot.writeString(_iter727); + oprot.writeString(_iter735); } oprot.writeListEnd(); } @@ -49183,9 +50415,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args if (struct.isSetTbl_types()) { { oprot.writeI32(struct.tbl_types.size()); - for (String _iter728 : struct.tbl_types) + for (String _iter736 : struct.tbl_types) { - oprot.writeString(_iter728); + oprot.writeString(_iter736); } } } @@ -49205,13 +50437,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list729.size); - String _elem730; - for (int _i731 = 0; _i731 < _list729.size; ++_i731) + org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list737.size); + String _elem738; + for (int _i739 = 0; _i739 < _list737.size; ++_i739) { - _elem730 = iprot.readString(); - struct.tbl_types.add(_elem730); + _elem738 = iprot.readString(); + struct.tbl_types.add(_elem738); } } struct.setTbl_typesIsSet(true); @@ -49617,14 +50849,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list732 = iprot.readListBegin(); - struct.success = new ArrayList(_list732.size); - TableMeta _elem733; - for (int _i734 = 0; _i734 < _list732.size; ++_i734) + org.apache.thrift.protocol.TList _list740 = iprot.readListBegin(); + struct.success = new ArrayList(_list740.size); + TableMeta _elem741; + for (int _i742 = 0; _i742 < _list740.size; ++_i742) { - _elem733 = new TableMeta(); - _elem733.read(iprot); - struct.success.add(_elem733); + _elem741 = new TableMeta(); + _elem741.read(iprot); + struct.success.add(_elem741); } iprot.readListEnd(); } @@ -49659,9 +50891,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (TableMeta _iter735 : struct.success) + for (TableMeta _iter743 : struct.success) { - _iter735.write(oprot); + _iter743.write(oprot); } oprot.writeListEnd(); } @@ -49700,9 +50932,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter736 : struct.success) + for (TableMeta _iter744 : struct.success) { - _iter736.write(oprot); + _iter744.write(oprot); } } } @@ -49717,14 +50949,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list737.size); - TableMeta _elem738; - for (int _i739 = 0; _i739 < _list737.size; ++_i739) + org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list745.size); + TableMeta _elem746; + for (int _i747 = 0; _i747 < _list745.size; ++_i747) { - _elem738 = new TableMeta(); - _elem738.read(iprot); - struct.success.add(_elem738); + _elem746 = new TableMeta(); + _elem746.read(iprot); + struct.success.add(_elem746); } } struct.setSuccessIsSet(true); @@ -50490,13 +51722,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_tables_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list740 = iprot.readListBegin(); - struct.success = new ArrayList(_list740.size); - String _elem741; - for (int _i742 = 0; _i742 < _list740.size; ++_i742) + org.apache.thrift.protocol.TList _list748 = iprot.readListBegin(); + struct.success = new ArrayList(_list748.size); + String _elem749; + for (int _i750 = 0; _i750 < _list748.size; ++_i750) { - _elem741 = iprot.readString(); - struct.success.add(_elem741); + _elem749 = iprot.readString(); + struct.success.add(_elem749); } iprot.readListEnd(); } @@ -50531,9 +51763,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_tables_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter743 : struct.success) + for (String _iter751 : struct.success) { - oprot.writeString(_iter743); + oprot.writeString(_iter751); } oprot.writeListEnd(); } @@ -50572,9 +51804,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter744 : struct.success) + for (String _iter752 : struct.success) { - oprot.writeString(_iter744); + oprot.writeString(_iter752); } } } @@ -50589,13 +51821,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list745.size); - String _elem746; - for (int _i747 = 0; _i747 < _list745.size; ++_i747) + org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list753.size); + String _elem754; + for (int _i755 = 0; _i755 < _list753.size; ++_i755) { - _elem746 = iprot.readString(); - struct.success.add(_elem746); + _elem754 = iprot.readString(); + struct.success.add(_elem754); } } struct.setSuccessIsSet(true); @@ -52048,13 +53280,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list748 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list748.size); - String _elem749; - for (int _i750 = 0; _i750 < _list748.size; ++_i750) + org.apache.thrift.protocol.TList _list756 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list756.size); + String _elem757; + for (int _i758 = 0; _i758 < _list756.size; ++_i758) { - _elem749 = iprot.readString(); - struct.tbl_names.add(_elem749); + _elem757 = iprot.readString(); + struct.tbl_names.add(_elem757); } iprot.readListEnd(); } @@ -52085,9 +53317,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter751 : struct.tbl_names) + for (String _iter759 : struct.tbl_names) { - oprot.writeString(_iter751); + oprot.writeString(_iter759); } oprot.writeListEnd(); } @@ -52124,9 +53356,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter752 : struct.tbl_names) + for (String _iter760 : struct.tbl_names) { - oprot.writeString(_iter752); + oprot.writeString(_iter760); } } } @@ -52142,13 +53374,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list753.size); - String _elem754; - for (int _i755 = 0; _i755 < _list753.size; ++_i755) + org.apache.thrift.protocol.TList _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list761.size); + String _elem762; + for (int _i763 = 0; _i763 < _list761.size; ++_i763) { - _elem754 = iprot.readString(); - struct.tbl_names.add(_elem754); + _elem762 = iprot.readString(); + struct.tbl_names.add(_elem762); } } struct.setTbl_namesIsSet(true); @@ -52716,14 +53948,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list756 = iprot.readListBegin(); - struct.success = new ArrayList
(_list756.size); - Table _elem757; - for (int _i758 = 0; _i758 < _list756.size; ++_i758) + org.apache.thrift.protocol.TList _list764 = iprot.readListBegin(); + struct.success = new ArrayList
(_list764.size); + Table _elem765; + for (int _i766 = 0; _i766 < _list764.size; ++_i766) { - _elem757 = new Table(); - _elem757.read(iprot); - struct.success.add(_elem757); + _elem765 = new Table(); + _elem765.read(iprot); + struct.success.add(_elem765); } iprot.readListEnd(); } @@ -52776,9 +54008,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter759 : struct.success) + for (Table _iter767 : struct.success) { - _iter759.write(oprot); + _iter767.write(oprot); } oprot.writeListEnd(); } @@ -52833,9 +54065,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter760 : struct.success) + for (Table _iter768 : struct.success) { - _iter760.write(oprot); + _iter768.write(oprot); } } } @@ -52856,14 +54088,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list761.size); - Table _elem762; - for (int _i763 = 0; _i763 < _list761.size; ++_i763) + org.apache.thrift.protocol.TList _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list769.size); + Table _elem770; + for (int _i771 = 0; _i771 < _list769.size; ++_i771) { - _elem762 = new Table(); - _elem762.read(iprot); - struct.success.add(_elem762); + _elem770 = new Table(); + _elem770.read(iprot); + struct.success.add(_elem770); } } struct.setSuccessIsSet(true); @@ -54009,13 +55241,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_names_by_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list764 = iprot.readListBegin(); - struct.success = new ArrayList(_list764.size); - String _elem765; - for (int _i766 = 0; _i766 < _list764.size; ++_i766) + org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); + struct.success = new ArrayList(_list772.size); + String _elem773; + for (int _i774 = 0; _i774 < _list772.size; ++_i774) { - _elem765 = iprot.readString(); - struct.success.add(_elem765); + _elem773 = iprot.readString(); + struct.success.add(_elem773); } iprot.readListEnd(); } @@ -54068,9 +55300,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_names_by oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter767 : struct.success) + for (String _iter775 : struct.success) { - oprot.writeString(_iter767); + oprot.writeString(_iter775); } oprot.writeListEnd(); } @@ -54125,9 +55357,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter768 : struct.success) + for (String _iter776 : struct.success) { - oprot.writeString(_iter768); + oprot.writeString(_iter776); } } } @@ -54148,13 +55380,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list769.size); - String _elem770; - for (int _i771 = 0; _i771 < _list769.size; ++_i771) + org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list777.size); + String _elem778; + for (int _i779 = 0; _i779 < _list777.size; ++_i779) { - _elem770 = iprot.readString(); - struct.success.add(_elem770); + _elem778 = iprot.readString(); + struct.success.add(_elem778); } } struct.setSuccessIsSet(true); @@ -60013,14 +61245,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_args case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list772.size); - Partition _elem773; - for (int _i774 = 0; _i774 < _list772.size; ++_i774) + org.apache.thrift.protocol.TList _list780 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list780.size); + Partition _elem781; + for (int _i782 = 0; _i782 < _list780.size; ++_i782) { - _elem773 = new Partition(); - _elem773.read(iprot); - struct.new_parts.add(_elem773); + _elem781 = new Partition(); + _elem781.read(iprot); + struct.new_parts.add(_elem781); } iprot.readListEnd(); } @@ -60046,9 +61278,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_arg oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter775 : struct.new_parts) + for (Partition _iter783 : struct.new_parts) { - _iter775.write(oprot); + _iter783.write(oprot); } oprot.writeListEnd(); } @@ -60079,9 +61311,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_args if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter776 : struct.new_parts) + for (Partition _iter784 : struct.new_parts) { - _iter776.write(oprot); + _iter784.write(oprot); } } } @@ -60093,14 +61325,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_args BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list777.size); - Partition _elem778; - for (int _i779 = 0; _i779 < _list777.size; ++_i779) + org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list785.size); + Partition _elem786; + for (int _i787 = 0; _i787 < _list785.size; ++_i787) { - _elem778 = new Partition(); - _elem778.read(iprot); - struct.new_parts.add(_elem778); + _elem786 = new Partition(); + _elem786.read(iprot); + struct.new_parts.add(_elem786); } } struct.setNew_partsIsSet(true); @@ -61101,14 +62333,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_pspe case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list780 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list780.size); - PartitionSpec _elem781; - for (int _i782 = 0; _i782 < _list780.size; ++_i782) + org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list788.size); + PartitionSpec _elem789; + for (int _i790 = 0; _i790 < _list788.size; ++_i790) { - _elem781 = new PartitionSpec(); - _elem781.read(iprot); - struct.new_parts.add(_elem781); + _elem789 = new PartitionSpec(); + _elem789.read(iprot); + struct.new_parts.add(_elem789); } iprot.readListEnd(); } @@ -61134,9 +62366,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_psp oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (PartitionSpec _iter783 : struct.new_parts) + for (PartitionSpec _iter791 : struct.new_parts) { - _iter783.write(oprot); + _iter791.write(oprot); } oprot.writeListEnd(); } @@ -61167,9 +62399,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspe if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (PartitionSpec _iter784 : struct.new_parts) + for (PartitionSpec _iter792 : struct.new_parts) { - _iter784.write(oprot); + _iter792.write(oprot); } } } @@ -61181,14 +62413,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspec BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list785.size); - PartitionSpec _elem786; - for (int _i787 = 0; _i787 < _list785.size; ++_i787) + org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list793.size); + PartitionSpec _elem794; + for (int _i795 = 0; _i795 < _list793.size; ++_i795) { - _elem786 = new PartitionSpec(); - _elem786.read(iprot); - struct.new_parts.add(_elem786); + _elem794 = new PartitionSpec(); + _elem794.read(iprot); + struct.new_parts.add(_elem794); } } struct.setNew_partsIsSet(true); @@ -62364,13 +63596,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list788.size); - String _elem789; - for (int _i790 = 0; _i790 < _list788.size; ++_i790) + org.apache.thrift.protocol.TList _list796 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list796.size); + String _elem797; + for (int _i798 = 0; _i798 < _list796.size; ++_i798) { - _elem789 = iprot.readString(); - struct.part_vals.add(_elem789); + _elem797 = iprot.readString(); + struct.part_vals.add(_elem797); } iprot.readListEnd(); } @@ -62406,9 +63638,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter791 : struct.part_vals) + for (String _iter799 : struct.part_vals) { - oprot.writeString(_iter791); + oprot.writeString(_iter799); } oprot.writeListEnd(); } @@ -62451,9 +63683,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter792 : struct.part_vals) + for (String _iter800 : struct.part_vals) { - oprot.writeString(_iter792); + oprot.writeString(_iter800); } } } @@ -62473,13 +63705,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list793.size); - String _elem794; - for (int _i795 = 0; _i795 < _list793.size; ++_i795) + org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list801.size); + String _elem802; + for (int _i803 = 0; _i803 < _list801.size; ++_i803) { - _elem794 = iprot.readString(); - struct.part_vals.add(_elem794); + _elem802 = iprot.readString(); + struct.part_vals.add(_elem802); } } struct.setPart_valsIsSet(true); @@ -64788,13 +66020,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_wi case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list796 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list796.size); - String _elem797; - for (int _i798 = 0; _i798 < _list796.size; ++_i798) + org.apache.thrift.protocol.TList _list804 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list804.size); + String _elem805; + for (int _i806 = 0; _i806 < _list804.size; ++_i806) { - _elem797 = iprot.readString(); - struct.part_vals.add(_elem797); + _elem805 = iprot.readString(); + struct.part_vals.add(_elem805); } iprot.readListEnd(); } @@ -64839,9 +66071,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_w oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter799 : struct.part_vals) + for (String _iter807 : struct.part_vals) { - oprot.writeString(_iter799); + oprot.writeString(_iter807); } oprot.writeListEnd(); } @@ -64892,9 +66124,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_wi if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter800 : struct.part_vals) + for (String _iter808 : struct.part_vals) { - oprot.writeString(_iter800); + oprot.writeString(_iter808); } } } @@ -64917,13 +66149,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list801.size); - String _elem802; - for (int _i803 = 0; _i803 < _list801.size; ++_i803) + org.apache.thrift.protocol.TList _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list809.size); + String _elem810; + for (int _i811 = 0; _i811 < _list809.size; ++_i811) { - _elem802 = iprot.readString(); - struct.part_vals.add(_elem802); + _elem810 = iprot.readString(); + struct.part_vals.add(_elem810); } } struct.setPart_valsIsSet(true); @@ -68793,13 +70025,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list804 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list804.size); - String _elem805; - for (int _i806 = 0; _i806 < _list804.size; ++_i806) + org.apache.thrift.protocol.TList _list812 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list812.size); + String _elem813; + for (int _i814 = 0; _i814 < _list812.size; ++_i814) { - _elem805 = iprot.readString(); - struct.part_vals.add(_elem805); + _elem813 = iprot.readString(); + struct.part_vals.add(_elem813); } iprot.readListEnd(); } @@ -68843,9 +70075,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_arg oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter807 : struct.part_vals) + for (String _iter815 : struct.part_vals) { - oprot.writeString(_iter807); + oprot.writeString(_iter815); } oprot.writeListEnd(); } @@ -68894,9 +70126,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter808 : struct.part_vals) + for (String _iter816 : struct.part_vals) { - oprot.writeString(_iter808); + oprot.writeString(_iter816); } } } @@ -68919,13 +70151,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list809.size); - String _elem810; - for (int _i811 = 0; _i811 < _list809.size; ++_i811) + org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list817.size); + String _elem818; + for (int _i819 = 0; _i819 < _list817.size; ++_i819) { - _elem810 = iprot.readString(); - struct.part_vals.add(_elem810); + _elem818 = iprot.readString(); + struct.part_vals.add(_elem818); } } struct.setPart_valsIsSet(true); @@ -70164,13 +71396,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_with case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list812 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list812.size); - String _elem813; - for (int _i814 = 0; _i814 < _list812.size; ++_i814) + org.apache.thrift.protocol.TList _list820 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list820.size); + String _elem821; + for (int _i822 = 0; _i822 < _list820.size; ++_i822) { - _elem813 = iprot.readString(); - struct.part_vals.add(_elem813); + _elem821 = iprot.readString(); + struct.part_vals.add(_elem821); } iprot.readListEnd(); } @@ -70223,9 +71455,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_wit oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter815 : struct.part_vals) + for (String _iter823 : struct.part_vals) { - oprot.writeString(_iter815); + oprot.writeString(_iter823); } oprot.writeListEnd(); } @@ -70282,9 +71514,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_with if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter816 : struct.part_vals) + for (String _iter824 : struct.part_vals) { - oprot.writeString(_iter816); + oprot.writeString(_iter824); } } } @@ -70310,13 +71542,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list817.size); - String _elem818; - for (int _i819 = 0; _i819 < _list817.size; ++_i819) + org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list825.size); + String _elem826; + for (int _i827 = 0; _i827 < _list825.size; ++_i827) { - _elem818 = iprot.readString(); - struct.part_vals.add(_elem818); + _elem826 = iprot.readString(); + struct.part_vals.add(_elem826); } } struct.setPart_valsIsSet(true); @@ -74918,13 +76150,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list820 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list820.size); - String _elem821; - for (int _i822 = 0; _i822 < _list820.size; ++_i822) + org.apache.thrift.protocol.TList _list828 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list828.size); + String _elem829; + for (int _i830 = 0; _i830 < _list828.size; ++_i830) { - _elem821 = iprot.readString(); - struct.part_vals.add(_elem821); + _elem829 = iprot.readString(); + struct.part_vals.add(_elem829); } iprot.readListEnd(); } @@ -74960,9 +76192,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_args oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter823 : struct.part_vals) + for (String _iter831 : struct.part_vals) { - oprot.writeString(_iter823); + oprot.writeString(_iter831); } oprot.writeListEnd(); } @@ -75005,9 +76237,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter824 : struct.part_vals) + for (String _iter832 : struct.part_vals) { - oprot.writeString(_iter824); + oprot.writeString(_iter832); } } } @@ -75027,13 +76259,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list825.size); - String _elem826; - for (int _i827 = 0; _i827 < _list825.size; ++_i827) + org.apache.thrift.protocol.TList _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list833.size); + String _elem834; + for (int _i835 = 0; _i835 < _list833.size; ++_i835) { - _elem826 = iprot.readString(); - struct.part_vals.add(_elem826); + _elem834 = iprot.readString(); + struct.part_vals.add(_elem834); } } struct.setPart_valsIsSet(true); @@ -76251,15 +77483,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partition_ case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map828 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map828.size); - String _key829; - String _val830; - for (int _i831 = 0; _i831 < _map828.size; ++_i831) + org.apache.thrift.protocol.TMap _map836 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map836.size); + String _key837; + String _val838; + for (int _i839 = 0; _i839 < _map836.size; ++_i839) { - _key829 = iprot.readString(); - _val830 = iprot.readString(); - struct.partitionSpecs.put(_key829, _val830); + _key837 = iprot.readString(); + _val838 = iprot.readString(); + struct.partitionSpecs.put(_key837, _val838); } iprot.readMapEnd(); } @@ -76317,10 +77549,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter832 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter840 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter832.getKey()); - oprot.writeString(_iter832.getValue()); + oprot.writeString(_iter840.getKey()); + oprot.writeString(_iter840.getValue()); } oprot.writeMapEnd(); } @@ -76383,10 +77615,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter833 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter841 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter833.getKey()); - oprot.writeString(_iter833.getValue()); + oprot.writeString(_iter841.getKey()); + oprot.writeString(_iter841.getValue()); } } } @@ -76410,15 +77642,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_a BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map834 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map834.size); - String _key835; - String _val836; - for (int _i837 = 0; _i837 < _map834.size; ++_i837) + org.apache.thrift.protocol.TMap _map842 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map842.size); + String _key843; + String _val844; + for (int _i845 = 0; _i845 < _map842.size; ++_i845) { - _key835 = iprot.readString(); - _val836 = iprot.readString(); - struct.partitionSpecs.put(_key835, _val836); + _key843 = iprot.readString(); + _val844 = iprot.readString(); + struct.partitionSpecs.put(_key843, _val844); } } struct.setPartitionSpecsIsSet(true); @@ -77864,15 +79096,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map838 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map838.size); - String _key839; - String _val840; - for (int _i841 = 0; _i841 < _map838.size; ++_i841) + org.apache.thrift.protocol.TMap _map846 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map846.size); + String _key847; + String _val848; + for (int _i849 = 0; _i849 < _map846.size; ++_i849) { - _key839 = iprot.readString(); - _val840 = iprot.readString(); - struct.partitionSpecs.put(_key839, _val840); + _key847 = iprot.readString(); + _val848 = iprot.readString(); + struct.partitionSpecs.put(_key847, _val848); } iprot.readMapEnd(); } @@ -77930,10 +79162,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter842 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter850 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter842.getKey()); - oprot.writeString(_iter842.getValue()); + oprot.writeString(_iter850.getKey()); + oprot.writeString(_iter850.getValue()); } oprot.writeMapEnd(); } @@ -77996,10 +79228,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter843 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter851 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter843.getKey()); - oprot.writeString(_iter843.getValue()); + oprot.writeString(_iter851.getKey()); + oprot.writeString(_iter851.getValue()); } } } @@ -78023,15 +79255,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map844 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map844.size); - String _key845; - String _val846; - for (int _i847 = 0; _i847 < _map844.size; ++_i847) + org.apache.thrift.protocol.TMap _map852 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map852.size); + String _key853; + String _val854; + for (int _i855 = 0; _i855 < _map852.size; ++_i855) { - _key845 = iprot.readString(); - _val846 = iprot.readString(); - struct.partitionSpecs.put(_key845, _val846); + _key853 = iprot.readString(); + _val854 = iprot.readString(); + struct.partitionSpecs.put(_key853, _val854); } } struct.setPartitionSpecsIsSet(true); @@ -78696,14 +79928,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); - struct.success = new ArrayList(_list848.size); - Partition _elem849; - for (int _i850 = 0; _i850 < _list848.size; ++_i850) + org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); + struct.success = new ArrayList(_list856.size); + Partition _elem857; + for (int _i858 = 0; _i858 < _list856.size; ++_i858) { - _elem849 = new Partition(); - _elem849.read(iprot); - struct.success.add(_elem849); + _elem857 = new Partition(); + _elem857.read(iprot); + struct.success.add(_elem857); } iprot.readListEnd(); } @@ -78765,9 +79997,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter851 : struct.success) + for (Partition _iter859 : struct.success) { - _iter851.write(oprot); + _iter859.write(oprot); } oprot.writeListEnd(); } @@ -78830,9 +80062,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter852 : struct.success) + for (Partition _iter860 : struct.success) { - _iter852.write(oprot); + _iter860.write(oprot); } } } @@ -78856,14 +80088,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list853.size); - Partition _elem854; - for (int _i855 = 0; _i855 < _list853.size; ++_i855) + org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list861.size); + Partition _elem862; + for (int _i863 = 0; _i863 < _list861.size; ++_i863) { - _elem854 = new Partition(); - _elem854.read(iprot); - struct.success.add(_elem854); + _elem862 = new Partition(); + _elem862.read(iprot); + struct.success.add(_elem862); } } struct.setSuccessIsSet(true); @@ -79562,13 +80794,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list856.size); - String _elem857; - for (int _i858 = 0; _i858 < _list856.size; ++_i858) + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list864.size); + String _elem865; + for (int _i866 = 0; _i866 < _list864.size; ++_i866) { - _elem857 = iprot.readString(); - struct.part_vals.add(_elem857); + _elem865 = iprot.readString(); + struct.part_vals.add(_elem865); } iprot.readListEnd(); } @@ -79588,13 +80820,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list859 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list859.size); - String _elem860; - for (int _i861 = 0; _i861 < _list859.size; ++_i861) + org.apache.thrift.protocol.TList _list867 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list867.size); + String _elem868; + for (int _i869 = 0; _i869 < _list867.size; ++_i869) { - _elem860 = iprot.readString(); - struct.group_names.add(_elem860); + _elem868 = iprot.readString(); + struct.group_names.add(_elem868); } iprot.readListEnd(); } @@ -79630,9 +80862,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter862 : struct.part_vals) + for (String _iter870 : struct.part_vals) { - oprot.writeString(_iter862); + oprot.writeString(_iter870); } oprot.writeListEnd(); } @@ -79647,9 +80879,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter863 : struct.group_names) + for (String _iter871 : struct.group_names) { - oprot.writeString(_iter863); + oprot.writeString(_iter871); } oprot.writeListEnd(); } @@ -79698,9 +80930,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter864 : struct.part_vals) + for (String _iter872 : struct.part_vals) { - oprot.writeString(_iter864); + oprot.writeString(_iter872); } } } @@ -79710,9 +80942,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter865 : struct.group_names) + for (String _iter873 : struct.group_names) { - oprot.writeString(_iter865); + oprot.writeString(_iter873); } } } @@ -79732,13 +80964,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list866 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list866.size); - String _elem867; - for (int _i868 = 0; _i868 < _list866.size; ++_i868) + org.apache.thrift.protocol.TList _list874 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list874.size); + String _elem875; + for (int _i876 = 0; _i876 < _list874.size; ++_i876) { - _elem867 = iprot.readString(); - struct.part_vals.add(_elem867); + _elem875 = iprot.readString(); + struct.part_vals.add(_elem875); } } struct.setPart_valsIsSet(true); @@ -79749,13 +80981,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list869.size); - String _elem870; - for (int _i871 = 0; _i871 < _list869.size; ++_i871) + org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list877.size); + String _elem878; + for (int _i879 = 0; _i879 < _list877.size; ++_i879) { - _elem870 = iprot.readString(); - struct.group_names.add(_elem870); + _elem878 = iprot.readString(); + struct.group_names.add(_elem878); } } struct.setGroup_namesIsSet(true); @@ -82524,14 +83756,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); - struct.success = new ArrayList(_list872.size); - Partition _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); + struct.success = new ArrayList(_list880.size); + Partition _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem873 = new Partition(); - _elem873.read(iprot); - struct.success.add(_elem873); + _elem881 = new Partition(); + _elem881.read(iprot); + struct.success.add(_elem881); } iprot.readListEnd(); } @@ -82575,9 +83807,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter875 : struct.success) + for (Partition _iter883 : struct.success) { - _iter875.write(oprot); + _iter883.write(oprot); } oprot.writeListEnd(); } @@ -82624,9 +83856,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter876 : struct.success) + for (Partition _iter884 : struct.success) { - _iter876.write(oprot); + _iter884.write(oprot); } } } @@ -82644,14 +83876,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list877.size); - Partition _elem878; - for (int _i879 = 0; _i879 < _list877.size; ++_i879) + org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list885.size); + Partition _elem886; + for (int _i887 = 0; _i887 < _list885.size; ++_i887) { - _elem878 = new Partition(); - _elem878.read(iprot); - struct.success.add(_elem878); + _elem886 = new Partition(); + _elem886.read(iprot); + struct.success.add(_elem886); } } struct.setSuccessIsSet(true); @@ -83341,13 +84573,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list880.size); - String _elem881; - for (int _i882 = 0; _i882 < _list880.size; ++_i882) + org.apache.thrift.protocol.TList _list888 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list888.size); + String _elem889; + for (int _i890 = 0; _i890 < _list888.size; ++_i890) { - _elem881 = iprot.readString(); - struct.group_names.add(_elem881); + _elem889 = iprot.readString(); + struct.group_names.add(_elem889); } iprot.readListEnd(); } @@ -83391,9 +84623,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter883 : struct.group_names) + for (String _iter891 : struct.group_names) { - oprot.writeString(_iter883); + oprot.writeString(_iter891); } oprot.writeListEnd(); } @@ -83448,9 +84680,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter884 : struct.group_names) + for (String _iter892 : struct.group_names) { - oprot.writeString(_iter884); + oprot.writeString(_iter892); } } } @@ -83478,13 +84710,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list885.size); - String _elem886; - for (int _i887 = 0; _i887 < _list885.size; ++_i887) + org.apache.thrift.protocol.TList _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list893.size); + String _elem894; + for (int _i895 = 0; _i895 < _list893.size; ++_i895) { - _elem886 = iprot.readString(); - struct.group_names.add(_elem886); + _elem894 = iprot.readString(); + struct.group_names.add(_elem894); } } struct.setGroup_namesIsSet(true); @@ -83971,14 +85203,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 _list888 = iprot.readListBegin(); - struct.success = new ArrayList(_list888.size); - Partition _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); + struct.success = new ArrayList(_list896.size); + Partition _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem889 = new Partition(); - _elem889.read(iprot); - struct.success.add(_elem889); + _elem897 = new Partition(); + _elem897.read(iprot); + struct.success.add(_elem897); } iprot.readListEnd(); } @@ -84022,9 +85254,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 _iter891 : struct.success) + for (Partition _iter899 : struct.success) { - _iter891.write(oprot); + _iter899.write(oprot); } oprot.writeListEnd(); } @@ -84071,9 +85303,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter892 : struct.success) + for (Partition _iter900 : struct.success) { - _iter892.write(oprot); + _iter900.write(oprot); } } } @@ -84091,14 +85323,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list893.size); - Partition _elem894; - for (int _i895 = 0; _i895 < _list893.size; ++_i895) + org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list901.size); + Partition _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem894 = new Partition(); - _elem894.read(iprot); - struct.success.add(_elem894); + _elem902 = new Partition(); + _elem902.read(iprot); + struct.success.add(_elem902); } } struct.setSuccessIsSet(true); @@ -85161,14 +86393,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); - struct.success = new ArrayList(_list896.size); - PartitionSpec _elem897; - for (int _i898 = 0; _i898 < _list896.size; ++_i898) + org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); + struct.success = new ArrayList(_list904.size); + PartitionSpec _elem905; + for (int _i906 = 0; _i906 < _list904.size; ++_i906) { - _elem897 = new PartitionSpec(); - _elem897.read(iprot); - struct.success.add(_elem897); + _elem905 = new PartitionSpec(); + _elem905.read(iprot); + struct.success.add(_elem905); } iprot.readListEnd(); } @@ -85212,9 +86444,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter899 : struct.success) + for (PartitionSpec _iter907 : struct.success) { - _iter899.write(oprot); + _iter907.write(oprot); } oprot.writeListEnd(); } @@ -85261,9 +86493,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter900 : struct.success) + for (PartitionSpec _iter908 : struct.success) { - _iter900.write(oprot); + _iter908.write(oprot); } } } @@ -85281,14 +86513,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list901.size); - PartitionSpec _elem902; - for (int _i903 = 0; _i903 < _list901.size; ++_i903) + org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list909.size); + PartitionSpec _elem910; + for (int _i911 = 0; _i911 < _list909.size; ++_i911) { - _elem902 = new PartitionSpec(); - _elem902.read(iprot); - struct.success.add(_elem902); + _elem910 = new PartitionSpec(); + _elem910.read(iprot); + struct.success.add(_elem910); } } struct.setSuccessIsSet(true); @@ -86267,13 +87499,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 _list904 = iprot.readListBegin(); - struct.success = new ArrayList(_list904.size); - String _elem905; - for (int _i906 = 0; _i906 < _list904.size; ++_i906) + org.apache.thrift.protocol.TList _list912 = iprot.readListBegin(); + struct.success = new ArrayList(_list912.size); + String _elem913; + for (int _i914 = 0; _i914 < _list912.size; ++_i914) { - _elem905 = iprot.readString(); - struct.success.add(_elem905); + _elem913 = iprot.readString(); + struct.success.add(_elem913); } iprot.readListEnd(); } @@ -86308,9 +87540,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter907 : struct.success) + for (String _iter915 : struct.success) { - oprot.writeString(_iter907); + oprot.writeString(_iter915); } oprot.writeListEnd(); } @@ -86349,9 +87581,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter908 : struct.success) + for (String _iter916 : struct.success) { - oprot.writeString(_iter908); + oprot.writeString(_iter916); } } } @@ -86366,13 +87598,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list909.size); - String _elem910; - for (int _i911 = 0; _i911 < _list909.size; ++_i911) + org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list917.size); + String _elem918; + for (int _i919 = 0; _i919 < _list917.size; ++_i919) { - _elem910 = iprot.readString(); - struct.success.add(_elem910); + _elem918 = iprot.readString(); + struct.success.add(_elem918); } } struct.setSuccessIsSet(true); @@ -86960,13 +88192,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 _list912 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list912.size); - String _elem913; - for (int _i914 = 0; _i914 < _list912.size; ++_i914) + org.apache.thrift.protocol.TList _list920 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list920.size); + String _elem921; + for (int _i922 = 0; _i922 < _list920.size; ++_i922) { - _elem913 = iprot.readString(); - struct.part_vals.add(_elem913); + _elem921 = iprot.readString(); + struct.part_vals.add(_elem921); } iprot.readListEnd(); } @@ -87010,9 +88242,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter915 : struct.part_vals) + for (String _iter923 : struct.part_vals) { - oprot.writeString(_iter915); + oprot.writeString(_iter923); } oprot.writeListEnd(); } @@ -87061,9 +88293,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_a if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter916 : struct.part_vals) + for (String _iter924 : struct.part_vals) { - oprot.writeString(_iter916); + oprot.writeString(_iter924); } } } @@ -87086,13 +88318,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list917.size); - String _elem918; - for (int _i919 = 0; _i919 < _list917.size; ++_i919) + org.apache.thrift.protocol.TList _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list925.size); + String _elem926; + for (int _i927 = 0; _i927 < _list925.size; ++_i927) { - _elem918 = iprot.readString(); - struct.part_vals.add(_elem918); + _elem926 = iprot.readString(); + struct.part_vals.add(_elem926); } } struct.setPart_valsIsSet(true); @@ -87583,14 +88815,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 _list920 = iprot.readListBegin(); - struct.success = new ArrayList(_list920.size); - Partition _elem921; - for (int _i922 = 0; _i922 < _list920.size; ++_i922) + org.apache.thrift.protocol.TList _list928 = iprot.readListBegin(); + struct.success = new ArrayList(_list928.size); + Partition _elem929; + for (int _i930 = 0; _i930 < _list928.size; ++_i930) { - _elem921 = new Partition(); - _elem921.read(iprot); - struct.success.add(_elem921); + _elem929 = new Partition(); + _elem929.read(iprot); + struct.success.add(_elem929); } iprot.readListEnd(); } @@ -87634,9 +88866,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 _iter923 : struct.success) + for (Partition _iter931 : struct.success) { - _iter923.write(oprot); + _iter931.write(oprot); } oprot.writeListEnd(); } @@ -87683,9 +88915,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter924 : struct.success) + for (Partition _iter932 : struct.success) { - _iter924.write(oprot); + _iter932.write(oprot); } } } @@ -87703,14 +88935,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list925.size); - Partition _elem926; - for (int _i927 = 0; _i927 < _list925.size; ++_i927) + org.apache.thrift.protocol.TList _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list933.size); + Partition _elem934; + for (int _i935 = 0; _i935 < _list933.size; ++_i935) { - _elem926 = new Partition(); - _elem926.read(iprot); - struct.success.add(_elem926); + _elem934 = new Partition(); + _elem934.read(iprot); + struct.success.add(_elem934); } } struct.setSuccessIsSet(true); @@ -88482,13 +89714,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 _list928 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list928.size); - String _elem929; - for (int _i930 = 0; _i930 < _list928.size; ++_i930) + org.apache.thrift.protocol.TList _list936 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list936.size); + String _elem937; + for (int _i938 = 0; _i938 < _list936.size; ++_i938) { - _elem929 = iprot.readString(); - struct.part_vals.add(_elem929); + _elem937 = iprot.readString(); + struct.part_vals.add(_elem937); } iprot.readListEnd(); } @@ -88516,13 +89748,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 _list931 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list931.size); - String _elem932; - for (int _i933 = 0; _i933 < _list931.size; ++_i933) + org.apache.thrift.protocol.TList _list939 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list939.size); + String _elem940; + for (int _i941 = 0; _i941 < _list939.size; ++_i941) { - _elem932 = iprot.readString(); - struct.group_names.add(_elem932); + _elem940 = iprot.readString(); + struct.group_names.add(_elem940); } iprot.readListEnd(); } @@ -88558,9 +89790,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter934 : struct.part_vals) + for (String _iter942 : struct.part_vals) { - oprot.writeString(_iter934); + oprot.writeString(_iter942); } oprot.writeListEnd(); } @@ -88578,9 +89810,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter935 : struct.group_names) + for (String _iter943 : struct.group_names) { - oprot.writeString(_iter935); + oprot.writeString(_iter943); } oprot.writeListEnd(); } @@ -88632,9 +89864,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter936 : struct.part_vals) + for (String _iter944 : struct.part_vals) { - oprot.writeString(_iter936); + oprot.writeString(_iter944); } } } @@ -88647,9 +89879,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter937 : struct.group_names) + for (String _iter945 : struct.group_names) { - oprot.writeString(_iter937); + oprot.writeString(_iter945); } } } @@ -88669,13 +89901,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list938 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list938.size); - String _elem939; - for (int _i940 = 0; _i940 < _list938.size; ++_i940) + org.apache.thrift.protocol.TList _list946 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list946.size); + String _elem947; + for (int _i948 = 0; _i948 < _list946.size; ++_i948) { - _elem939 = iprot.readString(); - struct.part_vals.add(_elem939); + _elem947 = iprot.readString(); + struct.part_vals.add(_elem947); } } struct.setPart_valsIsSet(true); @@ -88690,13 +89922,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list941.size); - String _elem942; - for (int _i943 = 0; _i943 < _list941.size; ++_i943) + org.apache.thrift.protocol.TList _list949 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list949.size); + String _elem950; + for (int _i951 = 0; _i951 < _list949.size; ++_i951) { - _elem942 = iprot.readString(); - struct.group_names.add(_elem942); + _elem950 = iprot.readString(); + struct.group_names.add(_elem950); } } struct.setGroup_namesIsSet(true); @@ -89183,14 +90415,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 _list944 = iprot.readListBegin(); - struct.success = new ArrayList(_list944.size); - Partition _elem945; - for (int _i946 = 0; _i946 < _list944.size; ++_i946) + org.apache.thrift.protocol.TList _list952 = iprot.readListBegin(); + struct.success = new ArrayList(_list952.size); + Partition _elem953; + for (int _i954 = 0; _i954 < _list952.size; ++_i954) { - _elem945 = new Partition(); - _elem945.read(iprot); - struct.success.add(_elem945); + _elem953 = new Partition(); + _elem953.read(iprot); + struct.success.add(_elem953); } iprot.readListEnd(); } @@ -89234,9 +90466,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 _iter947 : struct.success) + for (Partition _iter955 : struct.success) { - _iter947.write(oprot); + _iter955.write(oprot); } oprot.writeListEnd(); } @@ -89283,9 +90515,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter948 : struct.success) + for (Partition _iter956 : struct.success) { - _iter948.write(oprot); + _iter956.write(oprot); } } } @@ -89303,14 +90535,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list949 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list949.size); - Partition _elem950; - for (int _i951 = 0; _i951 < _list949.size; ++_i951) + org.apache.thrift.protocol.TList _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list957.size); + Partition _elem958; + for (int _i959 = 0; _i959 < _list957.size; ++_i959) { - _elem950 = new Partition(); - _elem950.read(iprot); - struct.success.add(_elem950); + _elem958 = new Partition(); + _elem958.read(iprot); + struct.success.add(_elem958); } } struct.setSuccessIsSet(true); @@ -89903,13 +91135,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 _list952 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list952.size); - String _elem953; - for (int _i954 = 0; _i954 < _list952.size; ++_i954) + org.apache.thrift.protocol.TList _list960 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list960.size); + String _elem961; + for (int _i962 = 0; _i962 < _list960.size; ++_i962) { - _elem953 = iprot.readString(); - struct.part_vals.add(_elem953); + _elem961 = iprot.readString(); + struct.part_vals.add(_elem961); } iprot.readListEnd(); } @@ -89953,9 +91185,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter955 : struct.part_vals) + for (String _iter963 : struct.part_vals) { - oprot.writeString(_iter955); + oprot.writeString(_iter963); } oprot.writeListEnd(); } @@ -90004,9 +91236,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter956 : struct.part_vals) + for (String _iter964 : struct.part_vals) { - oprot.writeString(_iter956); + oprot.writeString(_iter964); } } } @@ -90029,13 +91261,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list957.size); - String _elem958; - for (int _i959 = 0; _i959 < _list957.size; ++_i959) + org.apache.thrift.protocol.TList _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list965.size); + String _elem966; + for (int _i967 = 0; _i967 < _list965.size; ++_i967) { - _elem958 = iprot.readString(); - struct.part_vals.add(_elem958); + _elem966 = iprot.readString(); + struct.part_vals.add(_elem966); } } struct.setPart_valsIsSet(true); @@ -90523,13 +91755,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 _list960 = iprot.readListBegin(); - struct.success = new ArrayList(_list960.size); - String _elem961; - for (int _i962 = 0; _i962 < _list960.size; ++_i962) + org.apache.thrift.protocol.TList _list968 = iprot.readListBegin(); + struct.success = new ArrayList(_list968.size); + String _elem969; + for (int _i970 = 0; _i970 < _list968.size; ++_i970) { - _elem961 = iprot.readString(); - struct.success.add(_elem961); + _elem969 = iprot.readString(); + struct.success.add(_elem969); } iprot.readListEnd(); } @@ -90573,9 +91805,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter963 : struct.success) + for (String _iter971 : struct.success) { - oprot.writeString(_iter963); + oprot.writeString(_iter971); } oprot.writeListEnd(); } @@ -90622,9 +91854,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter964 : struct.success) + for (String _iter972 : struct.success) { - oprot.writeString(_iter964); + oprot.writeString(_iter972); } } } @@ -90642,13 +91874,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list965.size); - String _elem966; - for (int _i967 = 0; _i967 < _list965.size; ++_i967) + org.apache.thrift.protocol.TList _list973 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list973.size); + String _elem974; + for (int _i975 = 0; _i975 < _list973.size; ++_i975) { - _elem966 = iprot.readString(); - struct.success.add(_elem966); + _elem974 = iprot.readString(); + struct.success.add(_elem974); } } struct.setSuccessIsSet(true); @@ -91815,14 +93047,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 _list968 = iprot.readListBegin(); - struct.success = new ArrayList(_list968.size); - Partition _elem969; - for (int _i970 = 0; _i970 < _list968.size; ++_i970) + org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); + struct.success = new ArrayList(_list976.size); + Partition _elem977; + for (int _i978 = 0; _i978 < _list976.size; ++_i978) { - _elem969 = new Partition(); - _elem969.read(iprot); - struct.success.add(_elem969); + _elem977 = new Partition(); + _elem977.read(iprot); + struct.success.add(_elem977); } iprot.readListEnd(); } @@ -91866,9 +93098,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 _iter971 : struct.success) + for (Partition _iter979 : struct.success) { - _iter971.write(oprot); + _iter979.write(oprot); } oprot.writeListEnd(); } @@ -91915,9 +93147,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter972 : struct.success) + for (Partition _iter980 : struct.success) { - _iter972.write(oprot); + _iter980.write(oprot); } } } @@ -91935,14 +93167,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list973 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list973.size); - Partition _elem974; - for (int _i975 = 0; _i975 < _list973.size; ++_i975) + org.apache.thrift.protocol.TList _list981 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list981.size); + Partition _elem982; + for (int _i983 = 0; _i983 < _list981.size; ++_i983) { - _elem974 = new Partition(); - _elem974.read(iprot); - struct.success.add(_elem974); + _elem982 = new Partition(); + _elem982.read(iprot); + struct.success.add(_elem982); } } struct.setSuccessIsSet(true); @@ -93109,14 +94341,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 _list976 = iprot.readListBegin(); - struct.success = new ArrayList(_list976.size); - PartitionSpec _elem977; - for (int _i978 = 0; _i978 < _list976.size; ++_i978) + org.apache.thrift.protocol.TList _list984 = iprot.readListBegin(); + struct.success = new ArrayList(_list984.size); + PartitionSpec _elem985; + for (int _i986 = 0; _i986 < _list984.size; ++_i986) { - _elem977 = new PartitionSpec(); - _elem977.read(iprot); - struct.success.add(_elem977); + _elem985 = new PartitionSpec(); + _elem985.read(iprot); + struct.success.add(_elem985); } iprot.readListEnd(); } @@ -93160,9 +94392,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 _iter979 : struct.success) + for (PartitionSpec _iter987 : struct.success) { - _iter979.write(oprot); + _iter987.write(oprot); } oprot.writeListEnd(); } @@ -93209,9 +94441,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 _iter980 : struct.success) + for (PartitionSpec _iter988 : struct.success) { - _iter980.write(oprot); + _iter988.write(oprot); } } } @@ -93229,14 +94461,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list981 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list981.size); - PartitionSpec _elem982; - for (int _i983 = 0; _i983 < _list981.size; ++_i983) + org.apache.thrift.protocol.TList _list989 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list989.size); + PartitionSpec _elem990; + for (int _i991 = 0; _i991 < _list989.size; ++_i991) { - _elem982 = new PartitionSpec(); - _elem982.read(iprot); - struct.success.add(_elem982); + _elem990 = new PartitionSpec(); + _elem990.read(iprot); + struct.success.add(_elem990); } } struct.setSuccessIsSet(true); @@ -95820,13 +97052,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 _list984 = iprot.readListBegin(); - struct.names = new ArrayList(_list984.size); - String _elem985; - for (int _i986 = 0; _i986 < _list984.size; ++_i986) + org.apache.thrift.protocol.TList _list992 = iprot.readListBegin(); + struct.names = new ArrayList(_list992.size); + String _elem993; + for (int _i994 = 0; _i994 < _list992.size; ++_i994) { - _elem985 = iprot.readString(); - struct.names.add(_elem985); + _elem993 = iprot.readString(); + struct.names.add(_elem993); } iprot.readListEnd(); } @@ -95862,9 +97094,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (String _iter987 : struct.names) + for (String _iter995 : struct.names) { - oprot.writeString(_iter987); + oprot.writeString(_iter995); } oprot.writeListEnd(); } @@ -95907,9 +97139,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter988 : struct.names) + for (String _iter996 : struct.names) { - oprot.writeString(_iter988); + oprot.writeString(_iter996); } } } @@ -95929,13 +97161,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list989 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list989.size); - String _elem990; - for (int _i991 = 0; _i991 < _list989.size; ++_i991) + org.apache.thrift.protocol.TList _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list997.size); + String _elem998; + for (int _i999 = 0; _i999 < _list997.size; ++_i999) { - _elem990 = iprot.readString(); - struct.names.add(_elem990); + _elem998 = iprot.readString(); + struct.names.add(_elem998); } } struct.setNamesIsSet(true); @@ -96422,14 +97654,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 _list992 = iprot.readListBegin(); - struct.success = new ArrayList(_list992.size); - Partition _elem993; - for (int _i994 = 0; _i994 < _list992.size; ++_i994) + org.apache.thrift.protocol.TList _list1000 = iprot.readListBegin(); + struct.success = new ArrayList(_list1000.size); + Partition _elem1001; + for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) { - _elem993 = new Partition(); - _elem993.read(iprot); - struct.success.add(_elem993); + _elem1001 = new Partition(); + _elem1001.read(iprot); + struct.success.add(_elem1001); } iprot.readListEnd(); } @@ -96473,9 +97705,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 _iter995 : struct.success) + for (Partition _iter1003 : struct.success) { - _iter995.write(oprot); + _iter1003.write(oprot); } oprot.writeListEnd(); } @@ -96522,9 +97754,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter996 : struct.success) + for (Partition _iter1004 : struct.success) { - _iter996.write(oprot); + _iter1004.write(oprot); } } } @@ -96542,14 +97774,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list997.size); - Partition _elem998; - for (int _i999 = 0; _i999 < _list997.size; ++_i999) + org.apache.thrift.protocol.TList _list1005 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1005.size); + Partition _elem1006; + for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) { - _elem998 = new Partition(); - _elem998.read(iprot); - struct.success.add(_elem998); + _elem1006 = new Partition(); + _elem1006.read(iprot); + struct.success.add(_elem1006); } } struct.setSuccessIsSet(true); @@ -98099,14 +99331,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 _list1000 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1000.size); - Partition _elem1001; - for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) + org.apache.thrift.protocol.TList _list1008 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1008.size); + Partition _elem1009; + for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) { - _elem1001 = new Partition(); - _elem1001.read(iprot); - struct.new_parts.add(_elem1001); + _elem1009 = new Partition(); + _elem1009.read(iprot); + struct.new_parts.add(_elem1009); } iprot.readListEnd(); } @@ -98142,9 +99374,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 _iter1003 : struct.new_parts) + for (Partition _iter1011 : struct.new_parts) { - _iter1003.write(oprot); + _iter1011.write(oprot); } oprot.writeListEnd(); } @@ -98187,9 +99419,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 _iter1004 : struct.new_parts) + for (Partition _iter1012 : struct.new_parts) { - _iter1004.write(oprot); + _iter1012.write(oprot); } } } @@ -98209,14 +99441,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1005 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1005.size); - Partition _elem1006; - for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) + org.apache.thrift.protocol.TList _list1013 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1013.size); + Partition _elem1014; + for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) { - _elem1006 = new Partition(); - _elem1006.read(iprot); - struct.new_parts.add(_elem1006); + _elem1014 = new Partition(); + _elem1014.read(iprot); + struct.new_parts.add(_elem1014); } } struct.setNew_partsIsSet(true); @@ -99269,14 +100501,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 _list1008 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1008.size); - Partition _elem1009; - for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) + org.apache.thrift.protocol.TList _list1016 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1016.size); + Partition _elem1017; + for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) { - _elem1009 = new Partition(); - _elem1009.read(iprot); - struct.new_parts.add(_elem1009); + _elem1017 = new Partition(); + _elem1017.read(iprot); + struct.new_parts.add(_elem1017); } iprot.readListEnd(); } @@ -99321,9 +100553,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 _iter1011 : struct.new_parts) + for (Partition _iter1019 : struct.new_parts) { - _iter1011.write(oprot); + _iter1019.write(oprot); } oprot.writeListEnd(); } @@ -99374,9 +100606,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 _iter1012 : struct.new_parts) + for (Partition _iter1020 : struct.new_parts) { - _iter1012.write(oprot); + _iter1020.write(oprot); } } } @@ -99399,14 +100631,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1013 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1013.size); - Partition _elem1014; - for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) + org.apache.thrift.protocol.TList _list1021 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1021.size); + Partition _elem1022; + for (int _i1023 = 0; _i1023 < _list1021.size; ++_i1023) { - _elem1014 = new Partition(); - _elem1014.read(iprot); - struct.new_parts.add(_elem1014); + _elem1022 = new Partition(); + _elem1022.read(iprot); + struct.new_parts.add(_elem1022); } } struct.setNew_partsIsSet(true); @@ -101607,13 +102839,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 _list1016 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1016.size); - String _elem1017; - for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) + org.apache.thrift.protocol.TList _list1024 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1024.size); + String _elem1025; + for (int _i1026 = 0; _i1026 < _list1024.size; ++_i1026) { - _elem1017 = iprot.readString(); - struct.part_vals.add(_elem1017); + _elem1025 = iprot.readString(); + struct.part_vals.add(_elem1025); } iprot.readListEnd(); } @@ -101658,9 +102890,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, rename_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1019 : struct.part_vals) + for (String _iter1027 : struct.part_vals) { - oprot.writeString(_iter1019); + oprot.writeString(_iter1027); } oprot.writeListEnd(); } @@ -101711,9 +102943,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, rename_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1020 : struct.part_vals) + for (String _iter1028 : struct.part_vals) { - oprot.writeString(_iter1020); + oprot.writeString(_iter1028); } } } @@ -101736,13 +102968,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1021 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1021.size); - String _elem1022; - for (int _i1023 = 0; _i1023 < _list1021.size; ++_i1023) + org.apache.thrift.protocol.TList _list1029 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1029.size); + String _elem1030; + for (int _i1031 = 0; _i1031 < _list1029.size; ++_i1031) { - _elem1022 = iprot.readString(); - struct.part_vals.add(_elem1022); + _elem1030 = iprot.readString(); + struct.part_vals.add(_elem1030); } } struct.setPart_valsIsSet(true); @@ -102616,13 +103848,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 _list1024 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1024.size); - String _elem1025; - for (int _i1026 = 0; _i1026 < _list1024.size; ++_i1026) + org.apache.thrift.protocol.TList _list1032 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1032.size); + String _elem1033; + for (int _i1034 = 0; _i1034 < _list1032.size; ++_i1034) { - _elem1025 = iprot.readString(); - struct.part_vals.add(_elem1025); + _elem1033 = iprot.readString(); + struct.part_vals.add(_elem1033); } iprot.readListEnd(); } @@ -102656,9 +103888,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1027 : struct.part_vals) + for (String _iter1035 : struct.part_vals) { - oprot.writeString(_iter1027); + oprot.writeString(_iter1035); } oprot.writeListEnd(); } @@ -102695,9 +103927,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1028 : struct.part_vals) + for (String _iter1036 : struct.part_vals) { - oprot.writeString(_iter1028); + oprot.writeString(_iter1036); } } } @@ -102712,13 +103944,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1029 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1029.size); - String _elem1030; - for (int _i1031 = 0; _i1031 < _list1029.size; ++_i1031) + org.apache.thrift.protocol.TList _list1037 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1037.size); + String _elem1038; + for (int _i1039 = 0; _i1039 < _list1037.size; ++_i1039) { - _elem1030 = iprot.readString(); - struct.part_vals.add(_elem1030); + _elem1038 = iprot.readString(); + struct.part_vals.add(_elem1038); } } struct.setPart_valsIsSet(true); @@ -104873,13 +106105,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 _list1032 = iprot.readListBegin(); - struct.success = new ArrayList(_list1032.size); - String _elem1033; - for (int _i1034 = 0; _i1034 < _list1032.size; ++_i1034) + org.apache.thrift.protocol.TList _list1040 = iprot.readListBegin(); + struct.success = new ArrayList(_list1040.size); + String _elem1041; + for (int _i1042 = 0; _i1042 < _list1040.size; ++_i1042) { - _elem1033 = iprot.readString(); - struct.success.add(_elem1033); + _elem1041 = iprot.readString(); + struct.success.add(_elem1041); } iprot.readListEnd(); } @@ -104914,9 +106146,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1035 : struct.success) + for (String _iter1043 : struct.success) { - oprot.writeString(_iter1035); + oprot.writeString(_iter1043); } oprot.writeListEnd(); } @@ -104955,9 +106187,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1036 : struct.success) + for (String _iter1044 : struct.success) { - oprot.writeString(_iter1036); + oprot.writeString(_iter1044); } } } @@ -104972,13 +106204,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1037 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1037.size); - String _elem1038; - for (int _i1039 = 0; _i1039 < _list1037.size; ++_i1039) + org.apache.thrift.protocol.TList _list1045 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1045.size); + String _elem1046; + for (int _i1047 = 0; _i1047 < _list1045.size; ++_i1047) { - _elem1038 = iprot.readString(); - struct.success.add(_elem1038); + _elem1046 = iprot.readString(); + struct.success.add(_elem1046); } } struct.setSuccessIsSet(true); @@ -105741,15 +106973,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 _map1040 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1040.size); - String _key1041; - String _val1042; - for (int _i1043 = 0; _i1043 < _map1040.size; ++_i1043) + org.apache.thrift.protocol.TMap _map1048 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1048.size); + String _key1049; + String _val1050; + for (int _i1051 = 0; _i1051 < _map1048.size; ++_i1051) { - _key1041 = iprot.readString(); - _val1042 = iprot.readString(); - struct.success.put(_key1041, _val1042); + _key1049 = iprot.readString(); + _val1050 = iprot.readString(); + struct.success.put(_key1049, _val1050); } iprot.readMapEnd(); } @@ -105784,10 +107016,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (Map.Entry _iter1044 : struct.success.entrySet()) + for (Map.Entry _iter1052 : struct.success.entrySet()) { - oprot.writeString(_iter1044.getKey()); - oprot.writeString(_iter1044.getValue()); + oprot.writeString(_iter1052.getKey()); + oprot.writeString(_iter1052.getValue()); } oprot.writeMapEnd(); } @@ -105826,10 +107058,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1045 : struct.success.entrySet()) + for (Map.Entry _iter1053 : struct.success.entrySet()) { - oprot.writeString(_iter1045.getKey()); - oprot.writeString(_iter1045.getValue()); + oprot.writeString(_iter1053.getKey()); + oprot.writeString(_iter1053.getValue()); } } } @@ -105844,15 +107076,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1046 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new HashMap(2*_map1046.size); - String _key1047; - String _val1048; - for (int _i1049 = 0; _i1049 < _map1046.size; ++_i1049) + org.apache.thrift.protocol.TMap _map1054 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new HashMap(2*_map1054.size); + String _key1055; + String _val1056; + for (int _i1057 = 0; _i1057 < _map1054.size; ++_i1057) { - _key1047 = iprot.readString(); - _val1048 = iprot.readString(); - struct.success.put(_key1047, _val1048); + _key1055 = iprot.readString(); + _val1056 = iprot.readString(); + struct.success.put(_key1055, _val1056); } } struct.setSuccessIsSet(true); @@ -106447,15 +107679,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 _map1050 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1050.size); - String _key1051; - String _val1052; - for (int _i1053 = 0; _i1053 < _map1050.size; ++_i1053) + org.apache.thrift.protocol.TMap _map1058 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1058.size); + String _key1059; + String _val1060; + for (int _i1061 = 0; _i1061 < _map1058.size; ++_i1061) { - _key1051 = iprot.readString(); - _val1052 = iprot.readString(); - struct.part_vals.put(_key1051, _val1052); + _key1059 = iprot.readString(); + _val1060 = iprot.readString(); + struct.part_vals.put(_key1059, _val1060); } iprot.readMapEnd(); } @@ -106499,10 +107731,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter1054 : struct.part_vals.entrySet()) + for (Map.Entry _iter1062 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1054.getKey()); - oprot.writeString(_iter1054.getValue()); + oprot.writeString(_iter1062.getKey()); + oprot.writeString(_iter1062.getValue()); } oprot.writeMapEnd(); } @@ -106553,10 +107785,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1055 : struct.part_vals.entrySet()) + for (Map.Entry _iter1063 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1055.getKey()); - oprot.writeString(_iter1055.getValue()); + oprot.writeString(_iter1063.getKey()); + oprot.writeString(_iter1063.getValue()); } } } @@ -106579,15 +107811,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1056 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map1056.size); - String _key1057; - String _val1058; - for (int _i1059 = 0; _i1059 < _map1056.size; ++_i1059) + org.apache.thrift.protocol.TMap _map1064 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1064.size); + String _key1065; + String _val1066; + for (int _i1067 = 0; _i1067 < _map1064.size; ++_i1067) { - _key1057 = iprot.readString(); - _val1058 = iprot.readString(); - struct.part_vals.put(_key1057, _val1058); + _key1065 = iprot.readString(); + _val1066 = iprot.readString(); + struct.part_vals.put(_key1065, _val1066); } } struct.setPart_valsIsSet(true); @@ -108071,15 +109303,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 _map1060 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1060.size); - String _key1061; - String _val1062; - for (int _i1063 = 0; _i1063 < _map1060.size; ++_i1063) + org.apache.thrift.protocol.TMap _map1068 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1068.size); + String _key1069; + String _val1070; + for (int _i1071 = 0; _i1071 < _map1068.size; ++_i1071) { - _key1061 = iprot.readString(); - _val1062 = iprot.readString(); - struct.part_vals.put(_key1061, _val1062); + _key1069 = iprot.readString(); + _val1070 = iprot.readString(); + struct.part_vals.put(_key1069, _val1070); } iprot.readMapEnd(); } @@ -108123,10 +109355,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter1064 : struct.part_vals.entrySet()) + for (Map.Entry _iter1072 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1064.getKey()); - oprot.writeString(_iter1064.getValue()); + oprot.writeString(_iter1072.getKey()); + oprot.writeString(_iter1072.getValue()); } oprot.writeMapEnd(); } @@ -108177,10 +109409,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1065 : struct.part_vals.entrySet()) + for (Map.Entry _iter1073 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1065.getKey()); - oprot.writeString(_iter1065.getValue()); + oprot.writeString(_iter1073.getKey()); + oprot.writeString(_iter1073.getValue()); } } } @@ -108203,15 +109435,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1066 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map1066.size); - String _key1067; - String _val1068; - for (int _i1069 = 0; _i1069 < _map1066.size; ++_i1069) + org.apache.thrift.protocol.TMap _map1074 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1074.size); + String _key1075; + String _val1076; + for (int _i1077 = 0; _i1077 < _map1074.size; ++_i1077) { - _key1067 = iprot.readString(); - _val1068 = iprot.readString(); - struct.part_vals.put(_key1067, _val1068); + _key1075 = iprot.readString(); + _val1076 = iprot.readString(); + struct.part_vals.put(_key1075, _val1076); } } struct.setPart_valsIsSet(true); @@ -114935,14 +116167,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1070 = iprot.readListBegin(); - struct.success = new ArrayList(_list1070.size); - Index _elem1071; - for (int _i1072 = 0; _i1072 < _list1070.size; ++_i1072) + org.apache.thrift.protocol.TList _list1078 = iprot.readListBegin(); + struct.success = new ArrayList(_list1078.size); + Index _elem1079; + for (int _i1080 = 0; _i1080 < _list1078.size; ++_i1080) { - _elem1071 = new Index(); - _elem1071.read(iprot); - struct.success.add(_elem1071); + _elem1079 = new Index(); + _elem1079.read(iprot); + struct.success.add(_elem1079); } iprot.readListEnd(); } @@ -114986,9 +116218,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Index _iter1073 : struct.success) + for (Index _iter1081 : struct.success) { - _iter1073.write(oprot); + _iter1081.write(oprot); } oprot.writeListEnd(); } @@ -115035,9 +116267,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter1074 : struct.success) + for (Index _iter1082 : struct.success) { - _iter1074.write(oprot); + _iter1082.write(oprot); } } } @@ -115055,14 +116287,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result s BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1075 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1075.size); - Index _elem1076; - for (int _i1077 = 0; _i1077 < _list1075.size; ++_i1077) + org.apache.thrift.protocol.TList _list1083 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1083.size); + Index _elem1084; + for (int _i1085 = 0; _i1085 < _list1083.size; ++_i1085) { - _elem1076 = new Index(); - _elem1076.read(iprot); - struct.success.add(_elem1076); + _elem1084 = new Index(); + _elem1084.read(iprot); + struct.success.add(_elem1084); } } struct.setSuccessIsSet(true); @@ -116041,13 +117273,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1078 = iprot.readListBegin(); - struct.success = new ArrayList(_list1078.size); - String _elem1079; - for (int _i1080 = 0; _i1080 < _list1078.size; ++_i1080) + org.apache.thrift.protocol.TList _list1086 = iprot.readListBegin(); + struct.success = new ArrayList(_list1086.size); + String _elem1087; + for (int _i1088 = 0; _i1088 < _list1086.size; ++_i1088) { - _elem1079 = iprot.readString(); - struct.success.add(_elem1079); + _elem1087 = iprot.readString(); + struct.success.add(_elem1087); } iprot.readListEnd(); } @@ -116082,9 +117314,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1081 : struct.success) + for (String _iter1089 : struct.success) { - oprot.writeString(_iter1081); + oprot.writeString(_iter1089); } oprot.writeListEnd(); } @@ -116123,9 +117355,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1082 : struct.success) + for (String _iter1090 : struct.success) { - oprot.writeString(_iter1082); + oprot.writeString(_iter1090); } } } @@ -116140,13 +117372,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1083 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1083.size); - String _elem1084; - for (int _i1085 = 0; _i1085 < _list1083.size; ++_i1085) + org.apache.thrift.protocol.TList _list1091 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1091.size); + String _elem1092; + for (int _i1093 = 0; _i1093 < _list1091.size; ++_i1093) { - _elem1084 = iprot.readString(); - struct.success.add(_elem1084); + _elem1092 = iprot.readString(); + struct.success.add(_elem1092); } } struct.setSuccessIsSet(true); @@ -133757,13 +134989,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 _list1086 = iprot.readListBegin(); - struct.success = new ArrayList(_list1086.size); - String _elem1087; - for (int _i1088 = 0; _i1088 < _list1086.size; ++_i1088) + org.apache.thrift.protocol.TList _list1094 = iprot.readListBegin(); + struct.success = new ArrayList(_list1094.size); + String _elem1095; + for (int _i1096 = 0; _i1096 < _list1094.size; ++_i1096) { - _elem1087 = iprot.readString(); - struct.success.add(_elem1087); + _elem1095 = iprot.readString(); + struct.success.add(_elem1095); } iprot.readListEnd(); } @@ -133798,9 +135030,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1089 : struct.success) + for (String _iter1097 : struct.success) { - oprot.writeString(_iter1089); + oprot.writeString(_iter1097); } oprot.writeListEnd(); } @@ -133839,9 +135071,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1090 : struct.success) + for (String _iter1098 : struct.success) { - oprot.writeString(_iter1090); + oprot.writeString(_iter1098); } } } @@ -133856,13 +135088,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1091 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1091.size); - String _elem1092; - for (int _i1093 = 0; _i1093 < _list1091.size; ++_i1093) + org.apache.thrift.protocol.TList _list1099 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1099.size); + String _elem1100; + for (int _i1101 = 0; _i1101 < _list1099.size; ++_i1101) { - _elem1092 = iprot.readString(); - struct.success.add(_elem1092); + _elem1100 = iprot.readString(); + struct.success.add(_elem1100); } } struct.setSuccessIsSet(true); @@ -137917,13 +139149,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 _list1094 = iprot.readListBegin(); - struct.success = new ArrayList(_list1094.size); - String _elem1095; - for (int _i1096 = 0; _i1096 < _list1094.size; ++_i1096) + org.apache.thrift.protocol.TList _list1102 = iprot.readListBegin(); + struct.success = new ArrayList(_list1102.size); + String _elem1103; + for (int _i1104 = 0; _i1104 < _list1102.size; ++_i1104) { - _elem1095 = iprot.readString(); - struct.success.add(_elem1095); + _elem1103 = iprot.readString(); + struct.success.add(_elem1103); } iprot.readListEnd(); } @@ -137958,9 +139190,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_role_names_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1097 : struct.success) + for (String _iter1105 : struct.success) { - oprot.writeString(_iter1097); + oprot.writeString(_iter1105); } oprot.writeListEnd(); } @@ -137999,9 +139231,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1098 : struct.success) + for (String _iter1106 : struct.success) { - oprot.writeString(_iter1098); + oprot.writeString(_iter1106); } } } @@ -138016,13 +139248,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1099 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1099.size); - String _elem1100; - for (int _i1101 = 0; _i1101 < _list1099.size; ++_i1101) + org.apache.thrift.protocol.TList _list1107 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1107.size); + String _elem1108; + for (int _i1109 = 0; _i1109 < _list1107.size; ++_i1109) { - _elem1100 = iprot.readString(); - struct.success.add(_elem1100); + _elem1108 = iprot.readString(); + struct.success.add(_elem1108); } } struct.setSuccessIsSet(true); @@ -141313,14 +142545,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 _list1102 = iprot.readListBegin(); - struct.success = new ArrayList(_list1102.size); - Role _elem1103; - for (int _i1104 = 0; _i1104 < _list1102.size; ++_i1104) + org.apache.thrift.protocol.TList _list1110 = iprot.readListBegin(); + struct.success = new ArrayList(_list1110.size); + Role _elem1111; + for (int _i1112 = 0; _i1112 < _list1110.size; ++_i1112) { - _elem1103 = new Role(); - _elem1103.read(iprot); - struct.success.add(_elem1103); + _elem1111 = new Role(); + _elem1111.read(iprot); + struct.success.add(_elem1111); } iprot.readListEnd(); } @@ -141355,9 +142587,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 _iter1105 : struct.success) + for (Role _iter1113 : struct.success) { - _iter1105.write(oprot); + _iter1113.write(oprot); } oprot.writeListEnd(); } @@ -141396,9 +142628,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1106 : struct.success) + for (Role _iter1114 : struct.success) { - _iter1106.write(oprot); + _iter1114.write(oprot); } } } @@ -141413,14 +142645,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1107 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1107.size); - Role _elem1108; - for (int _i1109 = 0; _i1109 < _list1107.size; ++_i1109) + org.apache.thrift.protocol.TList _list1115 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1115.size); + Role _elem1116; + for (int _i1117 = 0; _i1117 < _list1115.size; ++_i1117) { - _elem1108 = new Role(); - _elem1108.read(iprot); - struct.success.add(_elem1108); + _elem1116 = new Role(); + _elem1116.read(iprot); + struct.success.add(_elem1116); } } struct.setSuccessIsSet(true); @@ -144425,13 +145657,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 _list1110 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1110.size); - String _elem1111; - for (int _i1112 = 0; _i1112 < _list1110.size; ++_i1112) + org.apache.thrift.protocol.TList _list1118 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1118.size); + String _elem1119; + for (int _i1120 = 0; _i1120 < _list1118.size; ++_i1120) { - _elem1111 = iprot.readString(); - struct.group_names.add(_elem1111); + _elem1119 = iprot.readString(); + struct.group_names.add(_elem1119); } iprot.readListEnd(); } @@ -144467,9 +145699,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_privilege_set_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1113 : struct.group_names) + for (String _iter1121 : struct.group_names) { - oprot.writeString(_iter1113); + oprot.writeString(_iter1121); } oprot.writeListEnd(); } @@ -144512,9 +145744,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_a if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1114 : struct.group_names) + for (String _iter1122 : struct.group_names) { - oprot.writeString(_iter1114); + oprot.writeString(_iter1122); } } } @@ -144535,13 +145767,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1115 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1115.size); - String _elem1116; - for (int _i1117 = 0; _i1117 < _list1115.size; ++_i1117) + org.apache.thrift.protocol.TList _list1123 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1123.size); + String _elem1124; + for (int _i1125 = 0; _i1125 < _list1123.size; ++_i1125) { - _elem1116 = iprot.readString(); - struct.group_names.add(_elem1116); + _elem1124 = iprot.readString(); + struct.group_names.add(_elem1124); } } struct.setGroup_namesIsSet(true); @@ -145999,14 +147231,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 _list1118 = iprot.readListBegin(); - struct.success = new ArrayList(_list1118.size); - HiveObjectPrivilege _elem1119; - for (int _i1120 = 0; _i1120 < _list1118.size; ++_i1120) + org.apache.thrift.protocol.TList _list1126 = iprot.readListBegin(); + struct.success = new ArrayList(_list1126.size); + HiveObjectPrivilege _elem1127; + for (int _i1128 = 0; _i1128 < _list1126.size; ++_i1128) { - _elem1119 = new HiveObjectPrivilege(); - _elem1119.read(iprot); - struct.success.add(_elem1119); + _elem1127 = new HiveObjectPrivilege(); + _elem1127.read(iprot); + struct.success.add(_elem1127); } iprot.readListEnd(); } @@ -146041,9 +147273,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 _iter1121 : struct.success) + for (HiveObjectPrivilege _iter1129 : struct.success) { - _iter1121.write(oprot); + _iter1129.write(oprot); } oprot.writeListEnd(); } @@ -146082,9 +147314,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1122 : struct.success) + for (HiveObjectPrivilege _iter1130 : struct.success) { - _iter1122.write(oprot); + _iter1130.write(oprot); } } } @@ -146099,14 +147331,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1123 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1123.size); - HiveObjectPrivilege _elem1124; - for (int _i1125 = 0; _i1125 < _list1123.size; ++_i1125) + org.apache.thrift.protocol.TList _list1131 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1131.size); + HiveObjectPrivilege _elem1132; + for (int _i1133 = 0; _i1133 < _list1131.size; ++_i1133) { - _elem1124 = new HiveObjectPrivilege(); - _elem1124.read(iprot); - struct.success.add(_elem1124); + _elem1132 = new HiveObjectPrivilege(); + _elem1132.read(iprot); + struct.success.add(_elem1132); } } struct.setSuccessIsSet(true); @@ -149008,13 +150240,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 _list1126 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1126.size); - String _elem1127; - for (int _i1128 = 0; _i1128 < _list1126.size; ++_i1128) + org.apache.thrift.protocol.TList _list1134 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1134.size); + String _elem1135; + for (int _i1136 = 0; _i1136 < _list1134.size; ++_i1136) { - _elem1127 = iprot.readString(); - struct.group_names.add(_elem1127); + _elem1135 = iprot.readString(); + struct.group_names.add(_elem1135); } iprot.readListEnd(); } @@ -149045,9 +150277,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_args struc oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1129 : struct.group_names) + for (String _iter1137 : struct.group_names) { - oprot.writeString(_iter1129); + oprot.writeString(_iter1137); } oprot.writeListEnd(); } @@ -149084,9 +150316,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1130 : struct.group_names) + for (String _iter1138 : struct.group_names) { - oprot.writeString(_iter1130); + oprot.writeString(_iter1138); } } } @@ -149102,13 +150334,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1131 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1131.size); - String _elem1132; - for (int _i1133 = 0; _i1133 < _list1131.size; ++_i1133) + org.apache.thrift.protocol.TList _list1139 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1139.size); + String _elem1140; + for (int _i1141 = 0; _i1141 < _list1139.size; ++_i1141) { - _elem1132 = iprot.readString(); - struct.group_names.add(_elem1132); + _elem1140 = iprot.readString(); + struct.group_names.add(_elem1140); } } struct.setGroup_namesIsSet(true); @@ -149511,13 +150743,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 _list1134 = iprot.readListBegin(); - struct.success = new ArrayList(_list1134.size); - String _elem1135; - for (int _i1136 = 0; _i1136 < _list1134.size; ++_i1136) + org.apache.thrift.protocol.TList _list1142 = iprot.readListBegin(); + struct.success = new ArrayList(_list1142.size); + String _elem1143; + for (int _i1144 = 0; _i1144 < _list1142.size; ++_i1144) { - _elem1135 = iprot.readString(); - struct.success.add(_elem1135); + _elem1143 = iprot.readString(); + struct.success.add(_elem1143); } iprot.readListEnd(); } @@ -149552,9 +150784,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_result str oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1137 : struct.success) + for (String _iter1145 : struct.success) { - oprot.writeString(_iter1137); + oprot.writeString(_iter1145); } oprot.writeListEnd(); } @@ -149593,9 +150825,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1138 : struct.success) + for (String _iter1146 : struct.success) { - oprot.writeString(_iter1138); + oprot.writeString(_iter1146); } } } @@ -149610,13 +150842,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1139 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1139.size); - String _elem1140; - for (int _i1141 = 0; _i1141 < _list1139.size; ++_i1141) + org.apache.thrift.protocol.TList _list1147 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1147.size); + String _elem1148; + for (int _i1149 = 0; _i1149 < _list1147.size; ++_i1149) { - _elem1140 = iprot.readString(); - struct.success.add(_elem1140); + _elem1148 = iprot.readString(); + struct.success.add(_elem1148); } } struct.setSuccessIsSet(true); @@ -154907,13 +156139,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 _list1142 = iprot.readListBegin(); - struct.success = new ArrayList(_list1142.size); - String _elem1143; - for (int _i1144 = 0; _i1144 < _list1142.size; ++_i1144) + org.apache.thrift.protocol.TList _list1150 = iprot.readListBegin(); + struct.success = new ArrayList(_list1150.size); + String _elem1151; + for (int _i1152 = 0; _i1152 < _list1150.size; ++_i1152) { - _elem1143 = iprot.readString(); - struct.success.add(_elem1143); + _elem1151 = iprot.readString(); + struct.success.add(_elem1151); } iprot.readListEnd(); } @@ -154939,9 +156171,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 (String _iter1145 : struct.success) + for (String _iter1153 : struct.success) { - oprot.writeString(_iter1145); + oprot.writeString(_iter1153); } oprot.writeListEnd(); } @@ -154972,9 +156204,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1146 : struct.success) + for (String _iter1154 : struct.success) { - oprot.writeString(_iter1146); + oprot.writeString(_iter1154); } } } @@ -154986,13 +156218,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_token_identi BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1147 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1147.size); - String _elem1148; - for (int _i1149 = 0; _i1149 < _list1147.size; ++_i1149) + org.apache.thrift.protocol.TList _list1155 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1155.size); + String _elem1156; + for (int _i1157 = 0; _i1157 < _list1155.size; ++_i1157) { - _elem1148 = iprot.readString(); - struct.success.add(_elem1148); + _elem1156 = iprot.readString(); + struct.success.add(_elem1156); } } struct.setSuccessIsSet(true); @@ -158022,13 +159254,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 _list1150 = iprot.readListBegin(); - struct.success = new ArrayList(_list1150.size); - String _elem1151; - for (int _i1152 = 0; _i1152 < _list1150.size; ++_i1152) + org.apache.thrift.protocol.TList _list1158 = iprot.readListBegin(); + struct.success = new ArrayList(_list1158.size); + String _elem1159; + for (int _i1160 = 0; _i1160 < _list1158.size; ++_i1160) { - _elem1151 = iprot.readString(); - struct.success.add(_elem1151); + _elem1159 = iprot.readString(); + struct.success.add(_elem1159); } iprot.readListEnd(); } @@ -158054,9 +159286,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 (String _iter1153 : struct.success) + for (String _iter1161 : struct.success) { - oprot.writeString(_iter1153); + oprot.writeString(_iter1161); } oprot.writeListEnd(); } @@ -158087,9 +159319,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1154 : struct.success) + for (String _iter1162 : struct.success) { - oprot.writeString(_iter1154); + oprot.writeString(_iter1162); } } } @@ -158101,13 +159333,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1155 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1155.size); - String _elem1156; - for (int _i1157 = 0; _i1157 < _list1155.size; ++_i1157) + org.apache.thrift.protocol.TList _list1163 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1163.size); + String _elem1164; + for (int _i1165 = 0; _i1165 < _list1163.size; ++_i1165) { - _elem1156 = iprot.readString(); - struct.success.add(_elem1156); + _elem1164 = iprot.readString(); + struct.success.add(_elem1164); } } struct.setSuccessIsSet(true); diff --git metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index 2d82c92..24b3ba1 100644 --- metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -209,6 +209,14 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { */ public function get_tables($db_name, $pattern); /** + * @param string $db_name + * @param string $pattern + * @param string $tableType + * @return string[] + * @throws \metastore\MetaException + */ + public function get_tables_by_type($db_name, $pattern, $tableType); + /** * @param string $db_patterns * @param string $tbl_patterns * @param string[] $tbl_types @@ -2598,6 +2606,62 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_tables failed: unknown result"); } + public function get_tables_by_type($db_name, $pattern, $tableType) + { + $this->send_get_tables_by_type($db_name, $pattern, $tableType); + return $this->recv_get_tables_by_type(); + } + + public function send_get_tables_by_type($db_name, $pattern, $tableType) + { + $args = new \metastore\ThriftHiveMetastore_get_tables_by_type_args(); + $args->db_name = $db_name; + $args->pattern = $pattern; + $args->tableType = $tableType; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'get_tables_by_type', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('get_tables_by_type', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_get_tables_by_type() + { + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_tables_by_type_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_tables_by_type_result(); + $result->read($this->input_); + $this->input_->readMessageEnd(); + } + if ($result->success !== null) { + return $result->success; + } + if ($result->o1 !== null) { + throw $result->o1; + } + throw new \Exception("get_tables_by_type failed: unknown result"); + } + public function get_table_meta($db_patterns, $tbl_patterns, array $tbl_types) { $this->send_get_table_meta($db_patterns, $tbl_patterns, $tbl_types); @@ -15313,6 +15377,253 @@ class ThriftHiveMetastore_get_tables_result { } +class ThriftHiveMetastore_get_tables_by_type_args { + static $_TSPEC; + + /** + * @var string + */ + public $db_name = null; + /** + * @var string + */ + public $pattern = null; + /** + * @var string + */ + public $tableType = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'db_name', + 'type' => TType::STRING, + ), + 2 => array( + 'var' => 'pattern', + 'type' => TType::STRING, + ), + 3 => array( + 'var' => 'tableType', + 'type' => TType::STRING, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['db_name'])) { + $this->db_name = $vals['db_name']; + } + if (isset($vals['pattern'])) { + $this->pattern = $vals['pattern']; + } + if (isset($vals['tableType'])) { + $this->tableType = $vals['tableType']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_tables_by_type_args'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->db_name); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->pattern); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->tableType); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_tables_by_type_args'); + if ($this->db_name !== null) { + $xfer += $output->writeFieldBegin('db_name', TType::STRING, 1); + $xfer += $output->writeString($this->db_name); + $xfer += $output->writeFieldEnd(); + } + if ($this->pattern !== null) { + $xfer += $output->writeFieldBegin('pattern', TType::STRING, 2); + $xfer += $output->writeString($this->pattern); + $xfer += $output->writeFieldEnd(); + } + if ($this->tableType !== null) { + $xfer += $output->writeFieldBegin('tableType', TType::STRING, 3); + $xfer += $output->writeString($this->tableType); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_get_tables_by_type_result { + static $_TSPEC; + + /** + * @var string[] + */ + public $success = null; + /** + * @var \metastore\MetaException + */ + public $o1 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\MetaException', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } + if (isset($vals['o1'])) { + $this->o1 = $vals['o1']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_tables_by_type_result'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 0: + if ($ftype == TType::LST) { + $this->success = array(); + $_size641 = 0; + $_etype644 = 0; + $xfer += $input->readListBegin($_etype644, $_size641); + for ($_i645 = 0; $_i645 < $_size641; ++$_i645) + { + $elem646 = null; + $xfer += $input->readString($elem646); + $this->success []= $elem646; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 1: + if ($ftype == TType::STRUCT) { + $this->o1 = new \metastore\MetaException(); + $xfer += $this->o1->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_tables_by_type_result'); + if ($this->success !== null) { + if (!is_array($this->success)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('success', TType::LST, 0); + { + $output->writeListBegin(TType::STRING, count($this->success)); + { + foreach ($this->success as $iter647) + { + $xfer += $output->writeString($iter647); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->o1 !== null) { + $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); + $xfer += $this->o1->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_get_table_meta_args { static $_TSPEC; @@ -15399,14 +15710,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size641 = 0; - $_etype644 = 0; - $xfer += $input->readListBegin($_etype644, $_size641); - for ($_i645 = 0; $_i645 < $_size641; ++$_i645) + $_size648 = 0; + $_etype651 = 0; + $xfer += $input->readListBegin($_etype651, $_size648); + for ($_i652 = 0; $_i652 < $_size648; ++$_i652) { - $elem646 = null; - $xfer += $input->readString($elem646); - $this->tbl_types []= $elem646; + $elem653 = null; + $xfer += $input->readString($elem653); + $this->tbl_types []= $elem653; } $xfer += $input->readListEnd(); } else { @@ -15444,9 +15755,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter647) + foreach ($this->tbl_types as $iter654) { - $xfer += $output->writeString($iter647); + $xfer += $output->writeString($iter654); } } $output->writeListEnd(); @@ -15523,15 +15834,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size648 = 0; - $_etype651 = 0; - $xfer += $input->readListBegin($_etype651, $_size648); - for ($_i652 = 0; $_i652 < $_size648; ++$_i652) + $_size655 = 0; + $_etype658 = 0; + $xfer += $input->readListBegin($_etype658, $_size655); + for ($_i659 = 0; $_i659 < $_size655; ++$_i659) { - $elem653 = null; - $elem653 = new \metastore\TableMeta(); - $xfer += $elem653->read($input); - $this->success []= $elem653; + $elem660 = null; + $elem660 = new \metastore\TableMeta(); + $xfer += $elem660->read($input); + $this->success []= $elem660; } $xfer += $input->readListEnd(); } else { @@ -15567,9 +15878,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter654) + foreach ($this->success as $iter661) { - $xfer += $iter654->write($output); + $xfer += $iter661->write($output); } } $output->writeListEnd(); @@ -15725,14 +16036,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size655 = 0; - $_etype658 = 0; - $xfer += $input->readListBegin($_etype658, $_size655); - for ($_i659 = 0; $_i659 < $_size655; ++$_i659) + $_size662 = 0; + $_etype665 = 0; + $xfer += $input->readListBegin($_etype665, $_size662); + for ($_i666 = 0; $_i666 < $_size662; ++$_i666) { - $elem660 = null; - $xfer += $input->readString($elem660); - $this->success []= $elem660; + $elem667 = null; + $xfer += $input->readString($elem667); + $this->success []= $elem667; } $xfer += $input->readListEnd(); } else { @@ -15768,9 +16079,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter661) + foreach ($this->success as $iter668) { - $xfer += $output->writeString($iter661); + $xfer += $output->writeString($iter668); } } $output->writeListEnd(); @@ -16085,14 +16396,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size662 = 0; - $_etype665 = 0; - $xfer += $input->readListBegin($_etype665, $_size662); - for ($_i666 = 0; $_i666 < $_size662; ++$_i666) + $_size669 = 0; + $_etype672 = 0; + $xfer += $input->readListBegin($_etype672, $_size669); + for ($_i673 = 0; $_i673 < $_size669; ++$_i673) { - $elem667 = null; - $xfer += $input->readString($elem667); - $this->tbl_names []= $elem667; + $elem674 = null; + $xfer += $input->readString($elem674); + $this->tbl_names []= $elem674; } $xfer += $input->readListEnd(); } else { @@ -16125,9 +16436,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter668) + foreach ($this->tbl_names as $iter675) { - $xfer += $output->writeString($iter668); + $xfer += $output->writeString($iter675); } } $output->writeListEnd(); @@ -16228,15 +16539,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size669 = 0; - $_etype672 = 0; - $xfer += $input->readListBegin($_etype672, $_size669); - for ($_i673 = 0; $_i673 < $_size669; ++$_i673) + $_size676 = 0; + $_etype679 = 0; + $xfer += $input->readListBegin($_etype679, $_size676); + for ($_i680 = 0; $_i680 < $_size676; ++$_i680) { - $elem674 = null; - $elem674 = new \metastore\Table(); - $xfer += $elem674->read($input); - $this->success []= $elem674; + $elem681 = null; + $elem681 = new \metastore\Table(); + $xfer += $elem681->read($input); + $this->success []= $elem681; } $xfer += $input->readListEnd(); } else { @@ -16288,9 +16599,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter675) + foreach ($this->success as $iter682) { - $xfer += $iter675->write($output); + $xfer += $iter682->write($output); } } $output->writeListEnd(); @@ -16526,14 +16837,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size676 = 0; - $_etype679 = 0; - $xfer += $input->readListBegin($_etype679, $_size676); - for ($_i680 = 0; $_i680 < $_size676; ++$_i680) + $_size683 = 0; + $_etype686 = 0; + $xfer += $input->readListBegin($_etype686, $_size683); + for ($_i687 = 0; $_i687 < $_size683; ++$_i687) { - $elem681 = null; - $xfer += $input->readString($elem681); - $this->success []= $elem681; + $elem688 = null; + $xfer += $input->readString($elem688); + $this->success []= $elem688; } $xfer += $input->readListEnd(); } else { @@ -16585,9 +16896,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter682) + foreach ($this->success as $iter689) { - $xfer += $output->writeString($iter682); + $xfer += $output->writeString($iter689); } } $output->writeListEnd(); @@ -17900,15 +18211,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size683 = 0; - $_etype686 = 0; - $xfer += $input->readListBegin($_etype686, $_size683); - for ($_i687 = 0; $_i687 < $_size683; ++$_i687) + $_size690 = 0; + $_etype693 = 0; + $xfer += $input->readListBegin($_etype693, $_size690); + for ($_i694 = 0; $_i694 < $_size690; ++$_i694) { - $elem688 = null; - $elem688 = new \metastore\Partition(); - $xfer += $elem688->read($input); - $this->new_parts []= $elem688; + $elem695 = null; + $elem695 = new \metastore\Partition(); + $xfer += $elem695->read($input); + $this->new_parts []= $elem695; } $xfer += $input->readListEnd(); } else { @@ -17936,9 +18247,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter689) + foreach ($this->new_parts as $iter696) { - $xfer += $iter689->write($output); + $xfer += $iter696->write($output); } } $output->writeListEnd(); @@ -18153,15 +18464,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size690 = 0; - $_etype693 = 0; - $xfer += $input->readListBegin($_etype693, $_size690); - for ($_i694 = 0; $_i694 < $_size690; ++$_i694) + $_size697 = 0; + $_etype700 = 0; + $xfer += $input->readListBegin($_etype700, $_size697); + for ($_i701 = 0; $_i701 < $_size697; ++$_i701) { - $elem695 = null; - $elem695 = new \metastore\PartitionSpec(); - $xfer += $elem695->read($input); - $this->new_parts []= $elem695; + $elem702 = null; + $elem702 = new \metastore\PartitionSpec(); + $xfer += $elem702->read($input); + $this->new_parts []= $elem702; } $xfer += $input->readListEnd(); } else { @@ -18189,9 +18500,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter696) + foreach ($this->new_parts as $iter703) { - $xfer += $iter696->write($output); + $xfer += $iter703->write($output); } } $output->writeListEnd(); @@ -18441,14 +18752,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size697 = 0; - $_etype700 = 0; - $xfer += $input->readListBegin($_etype700, $_size697); - for ($_i701 = 0; $_i701 < $_size697; ++$_i701) + $_size704 = 0; + $_etype707 = 0; + $xfer += $input->readListBegin($_etype707, $_size704); + for ($_i708 = 0; $_i708 < $_size704; ++$_i708) { - $elem702 = null; - $xfer += $input->readString($elem702); - $this->part_vals []= $elem702; + $elem709 = null; + $xfer += $input->readString($elem709); + $this->part_vals []= $elem709; } $xfer += $input->readListEnd(); } else { @@ -18486,9 +18797,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter703) + foreach ($this->part_vals as $iter710) { - $xfer += $output->writeString($iter703); + $xfer += $output->writeString($iter710); } } $output->writeListEnd(); @@ -18990,14 +19301,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size704 = 0; - $_etype707 = 0; - $xfer += $input->readListBegin($_etype707, $_size704); - for ($_i708 = 0; $_i708 < $_size704; ++$_i708) + $_size711 = 0; + $_etype714 = 0; + $xfer += $input->readListBegin($_etype714, $_size711); + for ($_i715 = 0; $_i715 < $_size711; ++$_i715) { - $elem709 = null; - $xfer += $input->readString($elem709); - $this->part_vals []= $elem709; + $elem716 = null; + $xfer += $input->readString($elem716); + $this->part_vals []= $elem716; } $xfer += $input->readListEnd(); } else { @@ -19043,9 +19354,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter710) + foreach ($this->part_vals as $iter717) { - $xfer += $output->writeString($iter710); + $xfer += $output->writeString($iter717); } } $output->writeListEnd(); @@ -19899,14 +20210,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size711 = 0; - $_etype714 = 0; - $xfer += $input->readListBegin($_etype714, $_size711); - for ($_i715 = 0; $_i715 < $_size711; ++$_i715) + $_size718 = 0; + $_etype721 = 0; + $xfer += $input->readListBegin($_etype721, $_size718); + for ($_i722 = 0; $_i722 < $_size718; ++$_i722) { - $elem716 = null; - $xfer += $input->readString($elem716); - $this->part_vals []= $elem716; + $elem723 = null; + $xfer += $input->readString($elem723); + $this->part_vals []= $elem723; } $xfer += $input->readListEnd(); } else { @@ -19951,9 +20262,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter717) + foreach ($this->part_vals as $iter724) { - $xfer += $output->writeString($iter717); + $xfer += $output->writeString($iter724); } } $output->writeListEnd(); @@ -20206,14 +20517,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size718 = 0; - $_etype721 = 0; - $xfer += $input->readListBegin($_etype721, $_size718); - for ($_i722 = 0; $_i722 < $_size718; ++$_i722) + $_size725 = 0; + $_etype728 = 0; + $xfer += $input->readListBegin($_etype728, $_size725); + for ($_i729 = 0; $_i729 < $_size725; ++$_i729) { - $elem723 = null; - $xfer += $input->readString($elem723); - $this->part_vals []= $elem723; + $elem730 = null; + $xfer += $input->readString($elem730); + $this->part_vals []= $elem730; } $xfer += $input->readListEnd(); } else { @@ -20266,9 +20577,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter724) + foreach ($this->part_vals as $iter731) { - $xfer += $output->writeString($iter724); + $xfer += $output->writeString($iter731); } } $output->writeListEnd(); @@ -21282,14 +21593,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size725 = 0; - $_etype728 = 0; - $xfer += $input->readListBegin($_etype728, $_size725); - for ($_i729 = 0; $_i729 < $_size725; ++$_i729) + $_size732 = 0; + $_etype735 = 0; + $xfer += $input->readListBegin($_etype735, $_size732); + for ($_i736 = 0; $_i736 < $_size732; ++$_i736) { - $elem730 = null; - $xfer += $input->readString($elem730); - $this->part_vals []= $elem730; + $elem737 = null; + $xfer += $input->readString($elem737); + $this->part_vals []= $elem737; } $xfer += $input->readListEnd(); } else { @@ -21327,9 +21638,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter731) + foreach ($this->part_vals as $iter738) { - $xfer += $output->writeString($iter731); + $xfer += $output->writeString($iter738); } } $output->writeListEnd(); @@ -21571,17 +21882,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size732 = 0; - $_ktype733 = 0; - $_vtype734 = 0; - $xfer += $input->readMapBegin($_ktype733, $_vtype734, $_size732); - for ($_i736 = 0; $_i736 < $_size732; ++$_i736) + $_size739 = 0; + $_ktype740 = 0; + $_vtype741 = 0; + $xfer += $input->readMapBegin($_ktype740, $_vtype741, $_size739); + for ($_i743 = 0; $_i743 < $_size739; ++$_i743) { - $key737 = ''; - $val738 = ''; - $xfer += $input->readString($key737); - $xfer += $input->readString($val738); - $this->partitionSpecs[$key737] = $val738; + $key744 = ''; + $val745 = ''; + $xfer += $input->readString($key744); + $xfer += $input->readString($val745); + $this->partitionSpecs[$key744] = $val745; } $xfer += $input->readMapEnd(); } else { @@ -21637,10 +21948,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter739 => $viter740) + foreach ($this->partitionSpecs as $kiter746 => $viter747) { - $xfer += $output->writeString($kiter739); - $xfer += $output->writeString($viter740); + $xfer += $output->writeString($kiter746); + $xfer += $output->writeString($viter747); } } $output->writeMapEnd(); @@ -21952,17 +22263,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size741 = 0; - $_ktype742 = 0; - $_vtype743 = 0; - $xfer += $input->readMapBegin($_ktype742, $_vtype743, $_size741); - for ($_i745 = 0; $_i745 < $_size741; ++$_i745) + $_size748 = 0; + $_ktype749 = 0; + $_vtype750 = 0; + $xfer += $input->readMapBegin($_ktype749, $_vtype750, $_size748); + for ($_i752 = 0; $_i752 < $_size748; ++$_i752) { - $key746 = ''; - $val747 = ''; - $xfer += $input->readString($key746); - $xfer += $input->readString($val747); - $this->partitionSpecs[$key746] = $val747; + $key753 = ''; + $val754 = ''; + $xfer += $input->readString($key753); + $xfer += $input->readString($val754); + $this->partitionSpecs[$key753] = $val754; } $xfer += $input->readMapEnd(); } else { @@ -22018,10 +22329,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter748 => $viter749) + foreach ($this->partitionSpecs as $kiter755 => $viter756) { - $xfer += $output->writeString($kiter748); - $xfer += $output->writeString($viter749); + $xfer += $output->writeString($kiter755); + $xfer += $output->writeString($viter756); } } $output->writeMapEnd(); @@ -22154,15 +22465,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size750 = 0; - $_etype753 = 0; - $xfer += $input->readListBegin($_etype753, $_size750); - for ($_i754 = 0; $_i754 < $_size750; ++$_i754) + $_size757 = 0; + $_etype760 = 0; + $xfer += $input->readListBegin($_etype760, $_size757); + for ($_i761 = 0; $_i761 < $_size757; ++$_i761) { - $elem755 = null; - $elem755 = new \metastore\Partition(); - $xfer += $elem755->read($input); - $this->success []= $elem755; + $elem762 = null; + $elem762 = new \metastore\Partition(); + $xfer += $elem762->read($input); + $this->success []= $elem762; } $xfer += $input->readListEnd(); } else { @@ -22222,9 +22533,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter756) + foreach ($this->success as $iter763) { - $xfer += $iter756->write($output); + $xfer += $iter763->write($output); } } $output->writeListEnd(); @@ -22370,14 +22681,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size757 = 0; - $_etype760 = 0; - $xfer += $input->readListBegin($_etype760, $_size757); - for ($_i761 = 0; $_i761 < $_size757; ++$_i761) + $_size764 = 0; + $_etype767 = 0; + $xfer += $input->readListBegin($_etype767, $_size764); + for ($_i768 = 0; $_i768 < $_size764; ++$_i768) { - $elem762 = null; - $xfer += $input->readString($elem762); - $this->part_vals []= $elem762; + $elem769 = null; + $xfer += $input->readString($elem769); + $this->part_vals []= $elem769; } $xfer += $input->readListEnd(); } else { @@ -22394,14 +22705,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size763 = 0; - $_etype766 = 0; - $xfer += $input->readListBegin($_etype766, $_size763); - for ($_i767 = 0; $_i767 < $_size763; ++$_i767) + $_size770 = 0; + $_etype773 = 0; + $xfer += $input->readListBegin($_etype773, $_size770); + for ($_i774 = 0; $_i774 < $_size770; ++$_i774) { - $elem768 = null; - $xfer += $input->readString($elem768); - $this->group_names []= $elem768; + $elem775 = null; + $xfer += $input->readString($elem775); + $this->group_names []= $elem775; } $xfer += $input->readListEnd(); } else { @@ -22439,9 +22750,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter769) + foreach ($this->part_vals as $iter776) { - $xfer += $output->writeString($iter769); + $xfer += $output->writeString($iter776); } } $output->writeListEnd(); @@ -22461,9 +22772,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter770) + foreach ($this->group_names as $iter777) { - $xfer += $output->writeString($iter770); + $xfer += $output->writeString($iter777); } } $output->writeListEnd(); @@ -23054,15 +23365,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size771 = 0; - $_etype774 = 0; - $xfer += $input->readListBegin($_etype774, $_size771); - for ($_i775 = 0; $_i775 < $_size771; ++$_i775) + $_size778 = 0; + $_etype781 = 0; + $xfer += $input->readListBegin($_etype781, $_size778); + for ($_i782 = 0; $_i782 < $_size778; ++$_i782) { - $elem776 = null; - $elem776 = new \metastore\Partition(); - $xfer += $elem776->read($input); - $this->success []= $elem776; + $elem783 = null; + $elem783 = new \metastore\Partition(); + $xfer += $elem783->read($input); + $this->success []= $elem783; } $xfer += $input->readListEnd(); } else { @@ -23106,9 +23417,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter777) + foreach ($this->success as $iter784) { - $xfer += $iter777->write($output); + $xfer += $iter784->write($output); } } $output->writeListEnd(); @@ -23254,14 +23565,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size778 = 0; - $_etype781 = 0; - $xfer += $input->readListBegin($_etype781, $_size778); - for ($_i782 = 0; $_i782 < $_size778; ++$_i782) + $_size785 = 0; + $_etype788 = 0; + $xfer += $input->readListBegin($_etype788, $_size785); + for ($_i789 = 0; $_i789 < $_size785; ++$_i789) { - $elem783 = null; - $xfer += $input->readString($elem783); - $this->group_names []= $elem783; + $elem790 = null; + $xfer += $input->readString($elem790); + $this->group_names []= $elem790; } $xfer += $input->readListEnd(); } else { @@ -23309,9 +23620,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter784) + foreach ($this->group_names as $iter791) { - $xfer += $output->writeString($iter784); + $xfer += $output->writeString($iter791); } } $output->writeListEnd(); @@ -23400,15 +23711,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size785 = 0; - $_etype788 = 0; - $xfer += $input->readListBegin($_etype788, $_size785); - for ($_i789 = 0; $_i789 < $_size785; ++$_i789) + $_size792 = 0; + $_etype795 = 0; + $xfer += $input->readListBegin($_etype795, $_size792); + for ($_i796 = 0; $_i796 < $_size792; ++$_i796) { - $elem790 = null; - $elem790 = new \metastore\Partition(); - $xfer += $elem790->read($input); - $this->success []= $elem790; + $elem797 = null; + $elem797 = new \metastore\Partition(); + $xfer += $elem797->read($input); + $this->success []= $elem797; } $xfer += $input->readListEnd(); } else { @@ -23452,9 +23763,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter791) + foreach ($this->success as $iter798) { - $xfer += $iter791->write($output); + $xfer += $iter798->write($output); } } $output->writeListEnd(); @@ -23674,15 +23985,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size792 = 0; - $_etype795 = 0; - $xfer += $input->readListBegin($_etype795, $_size792); - for ($_i796 = 0; $_i796 < $_size792; ++$_i796) + $_size799 = 0; + $_etype802 = 0; + $xfer += $input->readListBegin($_etype802, $_size799); + for ($_i803 = 0; $_i803 < $_size799; ++$_i803) { - $elem797 = null; - $elem797 = new \metastore\PartitionSpec(); - $xfer += $elem797->read($input); - $this->success []= $elem797; + $elem804 = null; + $elem804 = new \metastore\PartitionSpec(); + $xfer += $elem804->read($input); + $this->success []= $elem804; } $xfer += $input->readListEnd(); } else { @@ -23726,9 +24037,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter798) + foreach ($this->success as $iter805) { - $xfer += $iter798->write($output); + $xfer += $iter805->write($output); } } $output->writeListEnd(); @@ -23935,14 +24246,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size799 = 0; - $_etype802 = 0; - $xfer += $input->readListBegin($_etype802, $_size799); - for ($_i803 = 0; $_i803 < $_size799; ++$_i803) + $_size806 = 0; + $_etype809 = 0; + $xfer += $input->readListBegin($_etype809, $_size806); + for ($_i810 = 0; $_i810 < $_size806; ++$_i810) { - $elem804 = null; - $xfer += $input->readString($elem804); - $this->success []= $elem804; + $elem811 = null; + $xfer += $input->readString($elem811); + $this->success []= $elem811; } $xfer += $input->readListEnd(); } else { @@ -23978,9 +24289,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter805) + foreach ($this->success as $iter812) { - $xfer += $output->writeString($iter805); + $xfer += $output->writeString($iter812); } } $output->writeListEnd(); @@ -24096,14 +24407,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size806 = 0; - $_etype809 = 0; - $xfer += $input->readListBegin($_etype809, $_size806); - for ($_i810 = 0; $_i810 < $_size806; ++$_i810) + $_size813 = 0; + $_etype816 = 0; + $xfer += $input->readListBegin($_etype816, $_size813); + for ($_i817 = 0; $_i817 < $_size813; ++$_i817) { - $elem811 = null; - $xfer += $input->readString($elem811); - $this->part_vals []= $elem811; + $elem818 = null; + $xfer += $input->readString($elem818); + $this->part_vals []= $elem818; } $xfer += $input->readListEnd(); } else { @@ -24148,9 +24459,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter812) + foreach ($this->part_vals as $iter819) { - $xfer += $output->writeString($iter812); + $xfer += $output->writeString($iter819); } } $output->writeListEnd(); @@ -24244,15 +24555,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size813 = 0; - $_etype816 = 0; - $xfer += $input->readListBegin($_etype816, $_size813); - for ($_i817 = 0; $_i817 < $_size813; ++$_i817) + $_size820 = 0; + $_etype823 = 0; + $xfer += $input->readListBegin($_etype823, $_size820); + for ($_i824 = 0; $_i824 < $_size820; ++$_i824) { - $elem818 = null; - $elem818 = new \metastore\Partition(); - $xfer += $elem818->read($input); - $this->success []= $elem818; + $elem825 = null; + $elem825 = new \metastore\Partition(); + $xfer += $elem825->read($input); + $this->success []= $elem825; } $xfer += $input->readListEnd(); } else { @@ -24296,9 +24607,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter819) + foreach ($this->success as $iter826) { - $xfer += $iter819->write($output); + $xfer += $iter826->write($output); } } $output->writeListEnd(); @@ -24445,14 +24756,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size820 = 0; - $_etype823 = 0; - $xfer += $input->readListBegin($_etype823, $_size820); - for ($_i824 = 0; $_i824 < $_size820; ++$_i824) + $_size827 = 0; + $_etype830 = 0; + $xfer += $input->readListBegin($_etype830, $_size827); + for ($_i831 = 0; $_i831 < $_size827; ++$_i831) { - $elem825 = null; - $xfer += $input->readString($elem825); - $this->part_vals []= $elem825; + $elem832 = null; + $xfer += $input->readString($elem832); + $this->part_vals []= $elem832; } $xfer += $input->readListEnd(); } else { @@ -24476,14 +24787,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size826 = 0; - $_etype829 = 0; - $xfer += $input->readListBegin($_etype829, $_size826); - for ($_i830 = 0; $_i830 < $_size826; ++$_i830) + $_size833 = 0; + $_etype836 = 0; + $xfer += $input->readListBegin($_etype836, $_size833); + for ($_i837 = 0; $_i837 < $_size833; ++$_i837) { - $elem831 = null; - $xfer += $input->readString($elem831); - $this->group_names []= $elem831; + $elem838 = null; + $xfer += $input->readString($elem838); + $this->group_names []= $elem838; } $xfer += $input->readListEnd(); } else { @@ -24521,9 +24832,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter832) + foreach ($this->part_vals as $iter839) { - $xfer += $output->writeString($iter832); + $xfer += $output->writeString($iter839); } } $output->writeListEnd(); @@ -24548,9 +24859,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter833) + foreach ($this->group_names as $iter840) { - $xfer += $output->writeString($iter833); + $xfer += $output->writeString($iter840); } } $output->writeListEnd(); @@ -24639,15 +24950,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size834 = 0; - $_etype837 = 0; - $xfer += $input->readListBegin($_etype837, $_size834); - for ($_i838 = 0; $_i838 < $_size834; ++$_i838) + $_size841 = 0; + $_etype844 = 0; + $xfer += $input->readListBegin($_etype844, $_size841); + for ($_i845 = 0; $_i845 < $_size841; ++$_i845) { - $elem839 = null; - $elem839 = new \metastore\Partition(); - $xfer += $elem839->read($input); - $this->success []= $elem839; + $elem846 = null; + $elem846 = new \metastore\Partition(); + $xfer += $elem846->read($input); + $this->success []= $elem846; } $xfer += $input->readListEnd(); } else { @@ -24691,9 +25002,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter840) + foreach ($this->success as $iter847) { - $xfer += $iter840->write($output); + $xfer += $iter847->write($output); } } $output->writeListEnd(); @@ -24814,14 +25125,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size841 = 0; - $_etype844 = 0; - $xfer += $input->readListBegin($_etype844, $_size841); - for ($_i845 = 0; $_i845 < $_size841; ++$_i845) + $_size848 = 0; + $_etype851 = 0; + $xfer += $input->readListBegin($_etype851, $_size848); + for ($_i852 = 0; $_i852 < $_size848; ++$_i852) { - $elem846 = null; - $xfer += $input->readString($elem846); - $this->part_vals []= $elem846; + $elem853 = null; + $xfer += $input->readString($elem853); + $this->part_vals []= $elem853; } $xfer += $input->readListEnd(); } else { @@ -24866,9 +25177,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter847) + foreach ($this->part_vals as $iter854) { - $xfer += $output->writeString($iter847); + $xfer += $output->writeString($iter854); } } $output->writeListEnd(); @@ -24961,14 +25272,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size848 = 0; - $_etype851 = 0; - $xfer += $input->readListBegin($_etype851, $_size848); - for ($_i852 = 0; $_i852 < $_size848; ++$_i852) + $_size855 = 0; + $_etype858 = 0; + $xfer += $input->readListBegin($_etype858, $_size855); + for ($_i859 = 0; $_i859 < $_size855; ++$_i859) { - $elem853 = null; - $xfer += $input->readString($elem853); - $this->success []= $elem853; + $elem860 = null; + $xfer += $input->readString($elem860); + $this->success []= $elem860; } $xfer += $input->readListEnd(); } else { @@ -25012,9 +25323,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter854) + foreach ($this->success as $iter861) { - $xfer += $output->writeString($iter854); + $xfer += $output->writeString($iter861); } } $output->writeListEnd(); @@ -25257,15 +25568,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size855 = 0; - $_etype858 = 0; - $xfer += $input->readListBegin($_etype858, $_size855); - for ($_i859 = 0; $_i859 < $_size855; ++$_i859) + $_size862 = 0; + $_etype865 = 0; + $xfer += $input->readListBegin($_etype865, $_size862); + for ($_i866 = 0; $_i866 < $_size862; ++$_i866) { - $elem860 = null; - $elem860 = new \metastore\Partition(); - $xfer += $elem860->read($input); - $this->success []= $elem860; + $elem867 = null; + $elem867 = new \metastore\Partition(); + $xfer += $elem867->read($input); + $this->success []= $elem867; } $xfer += $input->readListEnd(); } else { @@ -25309,9 +25620,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter861) + foreach ($this->success as $iter868) { - $xfer += $iter861->write($output); + $xfer += $iter868->write($output); } } $output->writeListEnd(); @@ -25554,15 +25865,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size862 = 0; - $_etype865 = 0; - $xfer += $input->readListBegin($_etype865, $_size862); - for ($_i866 = 0; $_i866 < $_size862; ++$_i866) + $_size869 = 0; + $_etype872 = 0; + $xfer += $input->readListBegin($_etype872, $_size869); + for ($_i873 = 0; $_i873 < $_size869; ++$_i873) { - $elem867 = null; - $elem867 = new \metastore\PartitionSpec(); - $xfer += $elem867->read($input); - $this->success []= $elem867; + $elem874 = null; + $elem874 = new \metastore\PartitionSpec(); + $xfer += $elem874->read($input); + $this->success []= $elem874; } $xfer += $input->readListEnd(); } else { @@ -25606,9 +25917,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter868) + foreach ($this->success as $iter875) { - $xfer += $iter868->write($output); + $xfer += $iter875->write($output); } } $output->writeListEnd(); @@ -26174,14 +26485,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size869 = 0; - $_etype872 = 0; - $xfer += $input->readListBegin($_etype872, $_size869); - for ($_i873 = 0; $_i873 < $_size869; ++$_i873) + $_size876 = 0; + $_etype879 = 0; + $xfer += $input->readListBegin($_etype879, $_size876); + for ($_i880 = 0; $_i880 < $_size876; ++$_i880) { - $elem874 = null; - $xfer += $input->readString($elem874); - $this->names []= $elem874; + $elem881 = null; + $xfer += $input->readString($elem881); + $this->names []= $elem881; } $xfer += $input->readListEnd(); } else { @@ -26219,9 +26530,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter875) + foreach ($this->names as $iter882) { - $xfer += $output->writeString($iter875); + $xfer += $output->writeString($iter882); } } $output->writeListEnd(); @@ -26310,15 +26621,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size876 = 0; - $_etype879 = 0; - $xfer += $input->readListBegin($_etype879, $_size876); - for ($_i880 = 0; $_i880 < $_size876; ++$_i880) + $_size883 = 0; + $_etype886 = 0; + $xfer += $input->readListBegin($_etype886, $_size883); + for ($_i887 = 0; $_i887 < $_size883; ++$_i887) { - $elem881 = null; - $elem881 = new \metastore\Partition(); - $xfer += $elem881->read($input); - $this->success []= $elem881; + $elem888 = null; + $elem888 = new \metastore\Partition(); + $xfer += $elem888->read($input); + $this->success []= $elem888; } $xfer += $input->readListEnd(); } else { @@ -26362,9 +26673,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter882) + foreach ($this->success as $iter889) { - $xfer += $iter882->write($output); + $xfer += $iter889->write($output); } } $output->writeListEnd(); @@ -26703,15 +27014,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size883 = 0; - $_etype886 = 0; - $xfer += $input->readListBegin($_etype886, $_size883); - for ($_i887 = 0; $_i887 < $_size883; ++$_i887) + $_size890 = 0; + $_etype893 = 0; + $xfer += $input->readListBegin($_etype893, $_size890); + for ($_i894 = 0; $_i894 < $_size890; ++$_i894) { - $elem888 = null; - $elem888 = new \metastore\Partition(); - $xfer += $elem888->read($input); - $this->new_parts []= $elem888; + $elem895 = null; + $elem895 = new \metastore\Partition(); + $xfer += $elem895->read($input); + $this->new_parts []= $elem895; } $xfer += $input->readListEnd(); } else { @@ -26749,9 +27060,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter889) + foreach ($this->new_parts as $iter896) { - $xfer += $iter889->write($output); + $xfer += $iter896->write($output); } } $output->writeListEnd(); @@ -26966,15 +27277,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size890 = 0; - $_etype893 = 0; - $xfer += $input->readListBegin($_etype893, $_size890); - for ($_i894 = 0; $_i894 < $_size890; ++$_i894) + $_size897 = 0; + $_etype900 = 0; + $xfer += $input->readListBegin($_etype900, $_size897); + for ($_i901 = 0; $_i901 < $_size897; ++$_i901) { - $elem895 = null; - $elem895 = new \metastore\Partition(); - $xfer += $elem895->read($input); - $this->new_parts []= $elem895; + $elem902 = null; + $elem902 = new \metastore\Partition(); + $xfer += $elem902->read($input); + $this->new_parts []= $elem902; } $xfer += $input->readListEnd(); } else { @@ -27020,9 +27331,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter896) + foreach ($this->new_parts as $iter903) { - $xfer += $iter896->write($output); + $xfer += $iter903->write($output); } } $output->writeListEnd(); @@ -27500,14 +27811,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size897 = 0; - $_etype900 = 0; - $xfer += $input->readListBegin($_etype900, $_size897); - for ($_i901 = 0; $_i901 < $_size897; ++$_i901) + $_size904 = 0; + $_etype907 = 0; + $xfer += $input->readListBegin($_etype907, $_size904); + for ($_i908 = 0; $_i908 < $_size904; ++$_i908) { - $elem902 = null; - $xfer += $input->readString($elem902); - $this->part_vals []= $elem902; + $elem909 = null; + $xfer += $input->readString($elem909); + $this->part_vals []= $elem909; } $xfer += $input->readListEnd(); } else { @@ -27553,9 +27864,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter903) + foreach ($this->part_vals as $iter910) { - $xfer += $output->writeString($iter903); + $xfer += $output->writeString($iter910); } } $output->writeListEnd(); @@ -27740,14 +28051,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size904 = 0; - $_etype907 = 0; - $xfer += $input->readListBegin($_etype907, $_size904); - for ($_i908 = 0; $_i908 < $_size904; ++$_i908) + $_size911 = 0; + $_etype914 = 0; + $xfer += $input->readListBegin($_etype914, $_size911); + for ($_i915 = 0; $_i915 < $_size911; ++$_i915) { - $elem909 = null; - $xfer += $input->readString($elem909); - $this->part_vals []= $elem909; + $elem916 = null; + $xfer += $input->readString($elem916); + $this->part_vals []= $elem916; } $xfer += $input->readListEnd(); } else { @@ -27782,9 +28093,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter910) + foreach ($this->part_vals as $iter917) { - $xfer += $output->writeString($iter910); + $xfer += $output->writeString($iter917); } } $output->writeListEnd(); @@ -28238,14 +28549,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size911 = 0; - $_etype914 = 0; - $xfer += $input->readListBegin($_etype914, $_size911); - for ($_i915 = 0; $_i915 < $_size911; ++$_i915) + $_size918 = 0; + $_etype921 = 0; + $xfer += $input->readListBegin($_etype921, $_size918); + for ($_i922 = 0; $_i922 < $_size918; ++$_i922) { - $elem916 = null; - $xfer += $input->readString($elem916); - $this->success []= $elem916; + $elem923 = null; + $xfer += $input->readString($elem923); + $this->success []= $elem923; } $xfer += $input->readListEnd(); } else { @@ -28281,9 +28592,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter917) + foreach ($this->success as $iter924) { - $xfer += $output->writeString($iter917); + $xfer += $output->writeString($iter924); } } $output->writeListEnd(); @@ -28443,17 +28754,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size918 = 0; - $_ktype919 = 0; - $_vtype920 = 0; - $xfer += $input->readMapBegin($_ktype919, $_vtype920, $_size918); - for ($_i922 = 0; $_i922 < $_size918; ++$_i922) + $_size925 = 0; + $_ktype926 = 0; + $_vtype927 = 0; + $xfer += $input->readMapBegin($_ktype926, $_vtype927, $_size925); + for ($_i929 = 0; $_i929 < $_size925; ++$_i929) { - $key923 = ''; - $val924 = ''; - $xfer += $input->readString($key923); - $xfer += $input->readString($val924); - $this->success[$key923] = $val924; + $key930 = ''; + $val931 = ''; + $xfer += $input->readString($key930); + $xfer += $input->readString($val931); + $this->success[$key930] = $val931; } $xfer += $input->readMapEnd(); } else { @@ -28489,10 +28800,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter925 => $viter926) + foreach ($this->success as $kiter932 => $viter933) { - $xfer += $output->writeString($kiter925); - $xfer += $output->writeString($viter926); + $xfer += $output->writeString($kiter932); + $xfer += $output->writeString($viter933); } } $output->writeMapEnd(); @@ -28612,17 +28923,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size927 = 0; - $_ktype928 = 0; - $_vtype929 = 0; - $xfer += $input->readMapBegin($_ktype928, $_vtype929, $_size927); - for ($_i931 = 0; $_i931 < $_size927; ++$_i931) + $_size934 = 0; + $_ktype935 = 0; + $_vtype936 = 0; + $xfer += $input->readMapBegin($_ktype935, $_vtype936, $_size934); + for ($_i938 = 0; $_i938 < $_size934; ++$_i938) { - $key932 = ''; - $val933 = ''; - $xfer += $input->readString($key932); - $xfer += $input->readString($val933); - $this->part_vals[$key932] = $val933; + $key939 = ''; + $val940 = ''; + $xfer += $input->readString($key939); + $xfer += $input->readString($val940); + $this->part_vals[$key939] = $val940; } $xfer += $input->readMapEnd(); } else { @@ -28667,10 +28978,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter934 => $viter935) + foreach ($this->part_vals as $kiter941 => $viter942) { - $xfer += $output->writeString($kiter934); - $xfer += $output->writeString($viter935); + $xfer += $output->writeString($kiter941); + $xfer += $output->writeString($viter942); } } $output->writeMapEnd(); @@ -28992,17 +29303,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size936 = 0; - $_ktype937 = 0; - $_vtype938 = 0; - $xfer += $input->readMapBegin($_ktype937, $_vtype938, $_size936); - for ($_i940 = 0; $_i940 < $_size936; ++$_i940) + $_size943 = 0; + $_ktype944 = 0; + $_vtype945 = 0; + $xfer += $input->readMapBegin($_ktype944, $_vtype945, $_size943); + for ($_i947 = 0; $_i947 < $_size943; ++$_i947) { - $key941 = ''; - $val942 = ''; - $xfer += $input->readString($key941); - $xfer += $input->readString($val942); - $this->part_vals[$key941] = $val942; + $key948 = ''; + $val949 = ''; + $xfer += $input->readString($key948); + $xfer += $input->readString($val949); + $this->part_vals[$key948] = $val949; } $xfer += $input->readMapEnd(); } else { @@ -29047,10 +29358,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter943 => $viter944) + foreach ($this->part_vals as $kiter950 => $viter951) { - $xfer += $output->writeString($kiter943); - $xfer += $output->writeString($viter944); + $xfer += $output->writeString($kiter950); + $xfer += $output->writeString($viter951); } } $output->writeMapEnd(); @@ -30524,15 +30835,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size945 = 0; - $_etype948 = 0; - $xfer += $input->readListBegin($_etype948, $_size945); - for ($_i949 = 0; $_i949 < $_size945; ++$_i949) + $_size952 = 0; + $_etype955 = 0; + $xfer += $input->readListBegin($_etype955, $_size952); + for ($_i956 = 0; $_i956 < $_size952; ++$_i956) { - $elem950 = null; - $elem950 = new \metastore\Index(); - $xfer += $elem950->read($input); - $this->success []= $elem950; + $elem957 = null; + $elem957 = new \metastore\Index(); + $xfer += $elem957->read($input); + $this->success []= $elem957; } $xfer += $input->readListEnd(); } else { @@ -30576,9 +30887,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter951) + foreach ($this->success as $iter958) { - $xfer += $iter951->write($output); + $xfer += $iter958->write($output); } } $output->writeListEnd(); @@ -30785,14 +31096,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size952 = 0; - $_etype955 = 0; - $xfer += $input->readListBegin($_etype955, $_size952); - for ($_i956 = 0; $_i956 < $_size952; ++$_i956) + $_size959 = 0; + $_etype962 = 0; + $xfer += $input->readListBegin($_etype962, $_size959); + for ($_i963 = 0; $_i963 < $_size959; ++$_i963) { - $elem957 = null; - $xfer += $input->readString($elem957); - $this->success []= $elem957; + $elem964 = null; + $xfer += $input->readString($elem964); + $this->success []= $elem964; } $xfer += $input->readListEnd(); } else { @@ -30828,9 +31139,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter958) + foreach ($this->success as $iter965) { - $xfer += $output->writeString($iter958); + $xfer += $output->writeString($iter965); } } $output->writeListEnd(); @@ -34724,14 +35035,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size959 = 0; - $_etype962 = 0; - $xfer += $input->readListBegin($_etype962, $_size959); - for ($_i963 = 0; $_i963 < $_size959; ++$_i963) + $_size966 = 0; + $_etype969 = 0; + $xfer += $input->readListBegin($_etype969, $_size966); + for ($_i970 = 0; $_i970 < $_size966; ++$_i970) { - $elem964 = null; - $xfer += $input->readString($elem964); - $this->success []= $elem964; + $elem971 = null; + $xfer += $input->readString($elem971); + $this->success []= $elem971; } $xfer += $input->readListEnd(); } else { @@ -34767,9 +35078,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter965) + foreach ($this->success as $iter972) { - $xfer += $output->writeString($iter965); + $xfer += $output->writeString($iter972); } } $output->writeListEnd(); @@ -35638,14 +35949,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size966 = 0; - $_etype969 = 0; - $xfer += $input->readListBegin($_etype969, $_size966); - for ($_i970 = 0; $_i970 < $_size966; ++$_i970) + $_size973 = 0; + $_etype976 = 0; + $xfer += $input->readListBegin($_etype976, $_size973); + for ($_i977 = 0; $_i977 < $_size973; ++$_i977) { - $elem971 = null; - $xfer += $input->readString($elem971); - $this->success []= $elem971; + $elem978 = null; + $xfer += $input->readString($elem978); + $this->success []= $elem978; } $xfer += $input->readListEnd(); } else { @@ -35681,9 +35992,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter972) + foreach ($this->success as $iter979) { - $xfer += $output->writeString($iter972); + $xfer += $output->writeString($iter979); } } $output->writeListEnd(); @@ -36374,15 +36685,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size973 = 0; - $_etype976 = 0; - $xfer += $input->readListBegin($_etype976, $_size973); - for ($_i977 = 0; $_i977 < $_size973; ++$_i977) + $_size980 = 0; + $_etype983 = 0; + $xfer += $input->readListBegin($_etype983, $_size980); + for ($_i984 = 0; $_i984 < $_size980; ++$_i984) { - $elem978 = null; - $elem978 = new \metastore\Role(); - $xfer += $elem978->read($input); - $this->success []= $elem978; + $elem985 = null; + $elem985 = new \metastore\Role(); + $xfer += $elem985->read($input); + $this->success []= $elem985; } $xfer += $input->readListEnd(); } else { @@ -36418,9 +36729,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter979) + foreach ($this->success as $iter986) { - $xfer += $iter979->write($output); + $xfer += $iter986->write($output); } } $output->writeListEnd(); @@ -37082,14 +37393,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size980 = 0; - $_etype983 = 0; - $xfer += $input->readListBegin($_etype983, $_size980); - for ($_i984 = 0; $_i984 < $_size980; ++$_i984) + $_size987 = 0; + $_etype990 = 0; + $xfer += $input->readListBegin($_etype990, $_size987); + for ($_i991 = 0; $_i991 < $_size987; ++$_i991) { - $elem985 = null; - $xfer += $input->readString($elem985); - $this->group_names []= $elem985; + $elem992 = null; + $xfer += $input->readString($elem992); + $this->group_names []= $elem992; } $xfer += $input->readListEnd(); } else { @@ -37130,9 +37441,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter986) + foreach ($this->group_names as $iter993) { - $xfer += $output->writeString($iter986); + $xfer += $output->writeString($iter993); } } $output->writeListEnd(); @@ -37440,15 +37751,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size987 = 0; - $_etype990 = 0; - $xfer += $input->readListBegin($_etype990, $_size987); - for ($_i991 = 0; $_i991 < $_size987; ++$_i991) + $_size994 = 0; + $_etype997 = 0; + $xfer += $input->readListBegin($_etype997, $_size994); + for ($_i998 = 0; $_i998 < $_size994; ++$_i998) { - $elem992 = null; - $elem992 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem992->read($input); - $this->success []= $elem992; + $elem999 = null; + $elem999 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem999->read($input); + $this->success []= $elem999; } $xfer += $input->readListEnd(); } else { @@ -37484,9 +37795,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter993) + foreach ($this->success as $iter1000) { - $xfer += $iter993->write($output); + $xfer += $iter1000->write($output); } } $output->writeListEnd(); @@ -38118,14 +38429,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size994 = 0; - $_etype997 = 0; - $xfer += $input->readListBegin($_etype997, $_size994); - for ($_i998 = 0; $_i998 < $_size994; ++$_i998) + $_size1001 = 0; + $_etype1004 = 0; + $xfer += $input->readListBegin($_etype1004, $_size1001); + for ($_i1005 = 0; $_i1005 < $_size1001; ++$_i1005) { - $elem999 = null; - $xfer += $input->readString($elem999); - $this->group_names []= $elem999; + $elem1006 = null; + $xfer += $input->readString($elem1006); + $this->group_names []= $elem1006; } $xfer += $input->readListEnd(); } else { @@ -38158,9 +38469,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1000) + foreach ($this->group_names as $iter1007) { - $xfer += $output->writeString($iter1000); + $xfer += $output->writeString($iter1007); } } $output->writeListEnd(); @@ -38236,14 +38547,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1001 = 0; - $_etype1004 = 0; - $xfer += $input->readListBegin($_etype1004, $_size1001); - for ($_i1005 = 0; $_i1005 < $_size1001; ++$_i1005) + $_size1008 = 0; + $_etype1011 = 0; + $xfer += $input->readListBegin($_etype1011, $_size1008); + for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012) { - $elem1006 = null; - $xfer += $input->readString($elem1006); - $this->success []= $elem1006; + $elem1013 = null; + $xfer += $input->readString($elem1013); + $this->success []= $elem1013; } $xfer += $input->readListEnd(); } else { @@ -38279,9 +38590,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1007) + foreach ($this->success as $iter1014) { - $xfer += $output->writeString($iter1007); + $xfer += $output->writeString($iter1014); } } $output->writeListEnd(); @@ -39398,14 +39709,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1008 = 0; - $_etype1011 = 0; - $xfer += $input->readListBegin($_etype1011, $_size1008); - for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012) + $_size1015 = 0; + $_etype1018 = 0; + $xfer += $input->readListBegin($_etype1018, $_size1015); + for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019) { - $elem1013 = null; - $xfer += $input->readString($elem1013); - $this->success []= $elem1013; + $elem1020 = null; + $xfer += $input->readString($elem1020); + $this->success []= $elem1020; } $xfer += $input->readListEnd(); } else { @@ -39433,9 +39744,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1014) + foreach ($this->success as $iter1021) { - $xfer += $output->writeString($iter1014); + $xfer += $output->writeString($iter1021); } } $output->writeListEnd(); @@ -40074,14 +40385,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1015 = 0; - $_etype1018 = 0; - $xfer += $input->readListBegin($_etype1018, $_size1015); - for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019) + $_size1022 = 0; + $_etype1025 = 0; + $xfer += $input->readListBegin($_etype1025, $_size1022); + for ($_i1026 = 0; $_i1026 < $_size1022; ++$_i1026) { - $elem1020 = null; - $xfer += $input->readString($elem1020); - $this->success []= $elem1020; + $elem1027 = null; + $xfer += $input->readString($elem1027); + $this->success []= $elem1027; } $xfer += $input->readListEnd(); } else { @@ -40109,9 +40420,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1021) + foreach ($this->success as $iter1028) { - $xfer += $output->writeString($iter1021); + $xfer += $output->writeString($iter1028); } } $output->writeListEnd(); diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index c58ccf2..8f505f1 100755 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -49,6 +49,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' void drop_table(string dbname, string name, bool deleteData)') print(' void drop_table_with_environment_context(string dbname, string name, bool deleteData, EnvironmentContext environment_context)') print(' get_tables(string db_name, string pattern)') + print(' get_tables_by_type(string db_name, string pattern, string tableType)') print(' get_table_meta(string db_patterns, string tbl_patterns, tbl_types)') print(' get_all_tables(string db_name)') print(' Table get_table(string dbname, string tbl_name)') @@ -392,6 +393,12 @@ elif cmd == 'get_tables': sys.exit(1) pp.pprint(client.get_tables(args[0],args[1],)) +elif cmd == 'get_tables_by_type': + if len(args) != 3: + print('get_tables_by_type requires 3 args') + sys.exit(1) + pp.pprint(client.get_tables_by_type(args[0],args[1],args[2],)) + elif cmd == 'get_table_meta': if len(args) != 3: print('get_table_meta requires 3 args') diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 57a748a..10778f2 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -213,6 +213,15 @@ def get_tables(self, db_name, pattern): """ pass + def get_tables_by_type(self, db_name, pattern, tableType): + """ + Parameters: + - db_name + - pattern + - tableType + """ + pass + def get_table_meta(self, db_patterns, tbl_patterns, tbl_types): """ Parameters: @@ -2106,6 +2115,43 @@ def recv_get_tables(self): raise result.o1 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_tables failed: unknown result") + def get_tables_by_type(self, db_name, pattern, tableType): + """ + Parameters: + - db_name + - pattern + - tableType + """ + self.send_get_tables_by_type(db_name, pattern, tableType) + return self.recv_get_tables_by_type() + + def send_get_tables_by_type(self, db_name, pattern, tableType): + self._oprot.writeMessageBegin('get_tables_by_type', TMessageType.CALL, self._seqid) + args = get_tables_by_type_args() + args.db_name = db_name + args.pattern = pattern + args.tableType = tableType + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_get_tables_by_type(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = get_tables_by_type_result() + result.read(iprot) + iprot.readMessageEnd() + if result.success is not None: + return result.success + if result.o1 is not None: + raise result.o1 + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_tables_by_type failed: unknown result") + def get_table_meta(self, db_patterns, tbl_patterns, tbl_types): """ Parameters: @@ -6625,6 +6671,7 @@ def __init__(self, handler): self._processMap["drop_table"] = Processor.process_drop_table self._processMap["drop_table_with_environment_context"] = Processor.process_drop_table_with_environment_context self._processMap["get_tables"] = Processor.process_get_tables + self._processMap["get_tables_by_type"] = Processor.process_get_tables_by_type self._processMap["get_table_meta"] = Processor.process_get_table_meta self._processMap["get_all_tables"] = Processor.process_get_all_tables self._processMap["get_table"] = Processor.process_get_table @@ -7411,6 +7458,28 @@ def process_get_tables(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_get_tables_by_type(self, seqid, iprot, oprot): + args = get_tables_by_type_args() + args.read(iprot) + iprot.readMessageEnd() + result = get_tables_by_type_result() + try: + result.success = self._handler.get_tables_by_type(args.db_name, args.pattern, args.tableType) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY + result.o1 = o1 + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_tables_by_type", msg_type, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_get_table_meta(self, seqid, iprot, oprot): args = get_table_meta_args() args.read(iprot) @@ -14626,6 +14695,183 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class get_tables_by_type_args: + """ + Attributes: + - db_name + - pattern + - tableType + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRING, 'db_name', None, None, ), # 1 + (2, TType.STRING, 'pattern', None, None, ), # 2 + (3, TType.STRING, 'tableType', None, None, ), # 3 + ) + + def __init__(self, db_name=None, pattern=None, tableType=None,): + self.db_name = db_name + self.pattern = pattern + self.tableType = tableType + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.STRING: + self.db_name = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.pattern = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRING: + self.tableType = iprot.readString() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('get_tables_by_type_args') + if self.db_name is not None: + oprot.writeFieldBegin('db_name', TType.STRING, 1) + oprot.writeString(self.db_name) + oprot.writeFieldEnd() + if self.pattern is not None: + oprot.writeFieldBegin('pattern', TType.STRING, 2) + oprot.writeString(self.pattern) + oprot.writeFieldEnd() + if self.tableType is not None: + oprot.writeFieldBegin('tableType', TType.STRING, 3) + oprot.writeString(self.tableType) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.pattern) + value = (value * 31) ^ hash(self.tableType) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class get_tables_by_type_result: + """ + Attributes: + - success + - o1 + """ + + thrift_spec = ( + (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0 + (1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1 + ) + + def __init__(self, success=None, o1=None,): + self.success = success + self.o1 = o1 + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 0: + if ftype == TType.LIST: + self.success = [] + (_etype641, _size638) = iprot.readListBegin() + for _i642 in xrange(_size638): + _elem643 = iprot.readString() + self.success.append(_elem643) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 1: + if ftype == TType.STRUCT: + self.o1 = MetaException() + self.o1.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('get_tables_by_type_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.LIST, 0) + oprot.writeListBegin(TType.STRING, len(self.success)) + for iter644 in self.success: + oprot.writeString(iter644) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.o1 is not None: + oprot.writeFieldBegin('o1', TType.STRUCT, 1) + self.o1.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class get_table_meta_args: """ Attributes: @@ -14668,10 +14914,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype641, _size638) = iprot.readListBegin() - for _i642 in xrange(_size638): - _elem643 = iprot.readString() - self.tbl_types.append(_elem643) + (_etype648, _size645) = iprot.readListBegin() + for _i649 in xrange(_size645): + _elem650 = iprot.readString() + self.tbl_types.append(_elem650) iprot.readListEnd() else: iprot.skip(ftype) @@ -14696,8 +14942,8 @@ def write(self, oprot): if self.tbl_types is not None: oprot.writeFieldBegin('tbl_types', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.tbl_types)) - for iter644 in self.tbl_types: - oprot.writeString(iter644) + for iter651 in self.tbl_types: + oprot.writeString(iter651) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14753,11 +14999,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype648, _size645) = iprot.readListBegin() - for _i649 in xrange(_size645): - _elem650 = TableMeta() - _elem650.read(iprot) - self.success.append(_elem650) + (_etype655, _size652) = iprot.readListBegin() + for _i656 in xrange(_size652): + _elem657 = TableMeta() + _elem657.read(iprot) + self.success.append(_elem657) iprot.readListEnd() else: iprot.skip(ftype) @@ -14780,8 +15026,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 iter651 in self.success: - iter651.write(oprot) + for iter658 in self.success: + iter658.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14905,10 +15151,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype655, _size652) = iprot.readListBegin() - for _i656 in xrange(_size652): - _elem657 = iprot.readString() - self.success.append(_elem657) + (_etype662, _size659) = iprot.readListBegin() + for _i663 in xrange(_size659): + _elem664 = iprot.readString() + self.success.append(_elem664) iprot.readListEnd() else: iprot.skip(ftype) @@ -14931,8 +15177,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 iter658 in self.success: - oprot.writeString(iter658) + for iter665 in self.success: + oprot.writeString(iter665) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15168,10 +15414,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype662, _size659) = iprot.readListBegin() - for _i663 in xrange(_size659): - _elem664 = iprot.readString() - self.tbl_names.append(_elem664) + (_etype669, _size666) = iprot.readListBegin() + for _i670 in xrange(_size666): + _elem671 = iprot.readString() + self.tbl_names.append(_elem671) iprot.readListEnd() else: iprot.skip(ftype) @@ -15192,8 +15438,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter665 in self.tbl_names: - oprot.writeString(iter665) + for iter672 in self.tbl_names: + oprot.writeString(iter672) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15254,11 +15500,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype669, _size666) = iprot.readListBegin() - for _i670 in xrange(_size666): - _elem671 = Table() - _elem671.read(iprot) - self.success.append(_elem671) + (_etype676, _size673) = iprot.readListBegin() + for _i677 in xrange(_size673): + _elem678 = Table() + _elem678.read(iprot) + self.success.append(_elem678) iprot.readListEnd() else: iprot.skip(ftype) @@ -15293,8 +15539,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 iter672 in self.success: - iter672.write(oprot) + for iter679 in self.success: + iter679.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15460,10 +15706,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype676, _size673) = iprot.readListBegin() - for _i677 in xrange(_size673): - _elem678 = iprot.readString() - self.success.append(_elem678) + (_etype683, _size680) = iprot.readListBegin() + for _i684 in xrange(_size680): + _elem685 = iprot.readString() + self.success.append(_elem685) iprot.readListEnd() else: iprot.skip(ftype) @@ -15498,8 +15744,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 iter679 in self.success: - oprot.writeString(iter679) + for iter686 in self.success: + oprot.writeString(iter686) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16469,11 +16715,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype683, _size680) = iprot.readListBegin() - for _i684 in xrange(_size680): - _elem685 = Partition() - _elem685.read(iprot) - self.new_parts.append(_elem685) + (_etype690, _size687) = iprot.readListBegin() + for _i691 in xrange(_size687): + _elem692 = Partition() + _elem692.read(iprot) + self.new_parts.append(_elem692) iprot.readListEnd() else: iprot.skip(ftype) @@ -16490,8 +16736,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter686 in self.new_parts: - iter686.write(oprot) + for iter693 in self.new_parts: + iter693.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16649,11 +16895,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype690, _size687) = iprot.readListBegin() - for _i691 in xrange(_size687): - _elem692 = PartitionSpec() - _elem692.read(iprot) - self.new_parts.append(_elem692) + (_etype697, _size694) = iprot.readListBegin() + for _i698 in xrange(_size694): + _elem699 = PartitionSpec() + _elem699.read(iprot) + self.new_parts.append(_elem699) iprot.readListEnd() else: iprot.skip(ftype) @@ -16670,8 +16916,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter693 in self.new_parts: - iter693.write(oprot) + for iter700 in self.new_parts: + iter700.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16845,10 +17091,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype697, _size694) = iprot.readListBegin() - for _i698 in xrange(_size694): - _elem699 = iprot.readString() - self.part_vals.append(_elem699) + (_etype704, _size701) = iprot.readListBegin() + for _i705 in xrange(_size701): + _elem706 = iprot.readString() + self.part_vals.append(_elem706) iprot.readListEnd() else: iprot.skip(ftype) @@ -16873,8 +17119,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 iter700 in self.part_vals: - oprot.writeString(iter700) + for iter707 in self.part_vals: + oprot.writeString(iter707) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17227,10 +17473,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype704, _size701) = iprot.readListBegin() - for _i705 in xrange(_size701): - _elem706 = iprot.readString() - self.part_vals.append(_elem706) + (_etype711, _size708) = iprot.readListBegin() + for _i712 in xrange(_size708): + _elem713 = iprot.readString() + self.part_vals.append(_elem713) iprot.readListEnd() else: iprot.skip(ftype) @@ -17261,8 +17507,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 iter707 in self.part_vals: - oprot.writeString(iter707) + for iter714 in self.part_vals: + oprot.writeString(iter714) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -17857,10 +18103,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype711, _size708) = iprot.readListBegin() - for _i712 in xrange(_size708): - _elem713 = iprot.readString() - self.part_vals.append(_elem713) + (_etype718, _size715) = iprot.readListBegin() + for _i719 in xrange(_size715): + _elem720 = iprot.readString() + self.part_vals.append(_elem720) iprot.readListEnd() else: iprot.skip(ftype) @@ -17890,8 +18136,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 iter714 in self.part_vals: - oprot.writeString(iter714) + for iter721 in self.part_vals: + oprot.writeString(iter721) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -18064,10 +18310,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype718, _size715) = iprot.readListBegin() - for _i719 in xrange(_size715): - _elem720 = iprot.readString() - self.part_vals.append(_elem720) + (_etype725, _size722) = iprot.readListBegin() + for _i726 in xrange(_size722): + _elem727 = iprot.readString() + self.part_vals.append(_elem727) iprot.readListEnd() else: iprot.skip(ftype) @@ -18103,8 +18349,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 iter721 in self.part_vals: - oprot.writeString(iter721) + for iter728 in self.part_vals: + oprot.writeString(iter728) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -18841,10 +19087,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype725, _size722) = iprot.readListBegin() - for _i726 in xrange(_size722): - _elem727 = iprot.readString() - self.part_vals.append(_elem727) + (_etype732, _size729) = iprot.readListBegin() + for _i733 in xrange(_size729): + _elem734 = iprot.readString() + self.part_vals.append(_elem734) iprot.readListEnd() else: iprot.skip(ftype) @@ -18869,8 +19115,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 iter728 in self.part_vals: - oprot.writeString(iter728) + for iter735 in self.part_vals: + oprot.writeString(iter735) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19029,11 +19275,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype730, _vtype731, _size729 ) = iprot.readMapBegin() - for _i733 in xrange(_size729): - _key734 = iprot.readString() - _val735 = iprot.readString() - self.partitionSpecs[_key734] = _val735 + (_ktype737, _vtype738, _size736 ) = iprot.readMapBegin() + for _i740 in xrange(_size736): + _key741 = iprot.readString() + _val742 = iprot.readString() + self.partitionSpecs[_key741] = _val742 iprot.readMapEnd() else: iprot.skip(ftype) @@ -19070,9 +19316,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter736,viter737 in self.partitionSpecs.items(): - oprot.writeString(kiter736) - oprot.writeString(viter737) + for kiter743,viter744 in self.partitionSpecs.items(): + oprot.writeString(kiter743) + oprot.writeString(viter744) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -19277,11 +19523,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype739, _vtype740, _size738 ) = iprot.readMapBegin() - for _i742 in xrange(_size738): - _key743 = iprot.readString() - _val744 = iprot.readString() - self.partitionSpecs[_key743] = _val744 + (_ktype746, _vtype747, _size745 ) = iprot.readMapBegin() + for _i749 in xrange(_size745): + _key750 = iprot.readString() + _val751 = iprot.readString() + self.partitionSpecs[_key750] = _val751 iprot.readMapEnd() else: iprot.skip(ftype) @@ -19318,9 +19564,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter745,viter746 in self.partitionSpecs.items(): - oprot.writeString(kiter745) - oprot.writeString(viter746) + for kiter752,viter753 in self.partitionSpecs.items(): + oprot.writeString(kiter752) + oprot.writeString(viter753) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -19403,11 +19649,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype750, _size747) = iprot.readListBegin() - for _i751 in xrange(_size747): - _elem752 = Partition() - _elem752.read(iprot) - self.success.append(_elem752) + (_etype757, _size754) = iprot.readListBegin() + for _i758 in xrange(_size754): + _elem759 = Partition() + _elem759.read(iprot) + self.success.append(_elem759) iprot.readListEnd() else: iprot.skip(ftype) @@ -19448,8 +19694,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 iter753 in self.success: - iter753.write(oprot) + for iter760 in self.success: + iter760.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19543,10 +19789,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype757, _size754) = iprot.readListBegin() - for _i758 in xrange(_size754): - _elem759 = iprot.readString() - self.part_vals.append(_elem759) + (_etype764, _size761) = iprot.readListBegin() + for _i765 in xrange(_size761): + _elem766 = iprot.readString() + self.part_vals.append(_elem766) iprot.readListEnd() else: iprot.skip(ftype) @@ -19558,10 +19804,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype763, _size760) = iprot.readListBegin() - for _i764 in xrange(_size760): - _elem765 = iprot.readString() - self.group_names.append(_elem765) + (_etype770, _size767) = iprot.readListBegin() + for _i771 in xrange(_size767): + _elem772 = iprot.readString() + self.group_names.append(_elem772) iprot.readListEnd() else: iprot.skip(ftype) @@ -19586,8 +19832,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 iter766 in self.part_vals: - oprot.writeString(iter766) + for iter773 in self.part_vals: + oprot.writeString(iter773) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -19597,8 +19843,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter767 in self.group_names: - oprot.writeString(iter767) + for iter774 in self.group_names: + oprot.writeString(iter774) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20027,11 +20273,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype771, _size768) = iprot.readListBegin() - for _i772 in xrange(_size768): - _elem773 = Partition() - _elem773.read(iprot) - self.success.append(_elem773) + (_etype778, _size775) = iprot.readListBegin() + for _i779 in xrange(_size775): + _elem780 = Partition() + _elem780.read(iprot) + self.success.append(_elem780) iprot.readListEnd() else: iprot.skip(ftype) @@ -20060,8 +20306,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 iter774 in self.success: - iter774.write(oprot) + for iter781 in self.success: + iter781.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20155,10 +20401,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype778, _size775) = iprot.readListBegin() - for _i779 in xrange(_size775): - _elem780 = iprot.readString() - self.group_names.append(_elem780) + (_etype785, _size782) = iprot.readListBegin() + for _i786 in xrange(_size782): + _elem787 = iprot.readString() + self.group_names.append(_elem787) iprot.readListEnd() else: iprot.skip(ftype) @@ -20191,8 +20437,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter781 in self.group_names: - oprot.writeString(iter781) + for iter788 in self.group_names: + oprot.writeString(iter788) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20253,11 +20499,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype785, _size782) = iprot.readListBegin() - for _i786 in xrange(_size782): - _elem787 = Partition() - _elem787.read(iprot) - self.success.append(_elem787) + (_etype792, _size789) = iprot.readListBegin() + for _i793 in xrange(_size789): + _elem794 = Partition() + _elem794.read(iprot) + self.success.append(_elem794) iprot.readListEnd() else: iprot.skip(ftype) @@ -20286,8 +20532,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 iter788 in self.success: - iter788.write(oprot) + for iter795 in self.success: + iter795.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20445,11 +20691,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype792, _size789) = iprot.readListBegin() - for _i793 in xrange(_size789): - _elem794 = PartitionSpec() - _elem794.read(iprot) - self.success.append(_elem794) + (_etype799, _size796) = iprot.readListBegin() + for _i800 in xrange(_size796): + _elem801 = PartitionSpec() + _elem801.read(iprot) + self.success.append(_elem801) iprot.readListEnd() else: iprot.skip(ftype) @@ -20478,8 +20724,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 iter795 in self.success: - iter795.write(oprot) + for iter802 in self.success: + iter802.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20634,10 +20880,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype799, _size796) = iprot.readListBegin() - for _i800 in xrange(_size796): - _elem801 = iprot.readString() - self.success.append(_elem801) + (_etype806, _size803) = iprot.readListBegin() + for _i807 in xrange(_size803): + _elem808 = iprot.readString() + self.success.append(_elem808) iprot.readListEnd() else: iprot.skip(ftype) @@ -20660,8 +20906,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 iter802 in self.success: - oprot.writeString(iter802) + for iter809 in self.success: + oprot.writeString(iter809) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -20737,10 +20983,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype806, _size803) = iprot.readListBegin() - for _i807 in xrange(_size803): - _elem808 = iprot.readString() - self.part_vals.append(_elem808) + (_etype813, _size810) = iprot.readListBegin() + for _i814 in xrange(_size810): + _elem815 = iprot.readString() + self.part_vals.append(_elem815) iprot.readListEnd() else: iprot.skip(ftype) @@ -20770,8 +21016,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 iter809 in self.part_vals: - oprot.writeString(iter809) + for iter816 in self.part_vals: + oprot.writeString(iter816) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -20835,11 +21081,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype813, _size810) = iprot.readListBegin() - for _i814 in xrange(_size810): - _elem815 = Partition() - _elem815.read(iprot) - self.success.append(_elem815) + (_etype820, _size817) = iprot.readListBegin() + for _i821 in xrange(_size817): + _elem822 = Partition() + _elem822.read(iprot) + self.success.append(_elem822) iprot.readListEnd() else: iprot.skip(ftype) @@ -20868,8 +21114,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 iter816 in self.success: - iter816.write(oprot) + for iter823 in self.success: + iter823.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20956,10 +21202,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype820, _size817) = iprot.readListBegin() - for _i821 in xrange(_size817): - _elem822 = iprot.readString() - self.part_vals.append(_elem822) + (_etype827, _size824) = iprot.readListBegin() + for _i828 in xrange(_size824): + _elem829 = iprot.readString() + self.part_vals.append(_elem829) iprot.readListEnd() else: iprot.skip(ftype) @@ -20976,10 +21222,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype826, _size823) = iprot.readListBegin() - for _i827 in xrange(_size823): - _elem828 = iprot.readString() - self.group_names.append(_elem828) + (_etype833, _size830) = iprot.readListBegin() + for _i834 in xrange(_size830): + _elem835 = iprot.readString() + self.group_names.append(_elem835) iprot.readListEnd() else: iprot.skip(ftype) @@ -21004,8 +21250,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 iter829 in self.part_vals: - oprot.writeString(iter829) + for iter836 in self.part_vals: + oprot.writeString(iter836) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -21019,8 +21265,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 iter830 in self.group_names: - oprot.writeString(iter830) + for iter837 in self.group_names: + oprot.writeString(iter837) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21082,11 +21328,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype834, _size831) = iprot.readListBegin() - for _i835 in xrange(_size831): - _elem836 = Partition() - _elem836.read(iprot) - self.success.append(_elem836) + (_etype841, _size838) = iprot.readListBegin() + for _i842 in xrange(_size838): + _elem843 = Partition() + _elem843.read(iprot) + self.success.append(_elem843) iprot.readListEnd() else: iprot.skip(ftype) @@ -21115,8 +21361,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 iter837 in self.success: - iter837.write(oprot) + for iter844 in self.success: + iter844.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21197,10 +21443,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype841, _size838) = iprot.readListBegin() - for _i842 in xrange(_size838): - _elem843 = iprot.readString() - self.part_vals.append(_elem843) + (_etype848, _size845) = iprot.readListBegin() + for _i849 in xrange(_size845): + _elem850 = iprot.readString() + self.part_vals.append(_elem850) iprot.readListEnd() else: iprot.skip(ftype) @@ -21230,8 +21476,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 iter844 in self.part_vals: - oprot.writeString(iter844) + for iter851 in self.part_vals: + oprot.writeString(iter851) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -21295,10 +21541,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype848, _size845) = iprot.readListBegin() - for _i849 in xrange(_size845): - _elem850 = iprot.readString() - self.success.append(_elem850) + (_etype855, _size852) = iprot.readListBegin() + for _i856 in xrange(_size852): + _elem857 = iprot.readString() + self.success.append(_elem857) iprot.readListEnd() else: iprot.skip(ftype) @@ -21327,8 +21573,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 iter851 in self.success: - oprot.writeString(iter851) + for iter858 in self.success: + oprot.writeString(iter858) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21499,11 +21745,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype855, _size852) = iprot.readListBegin() - for _i856 in xrange(_size852): - _elem857 = Partition() - _elem857.read(iprot) - self.success.append(_elem857) + (_etype862, _size859) = iprot.readListBegin() + for _i863 in xrange(_size859): + _elem864 = Partition() + _elem864.read(iprot) + self.success.append(_elem864) iprot.readListEnd() else: iprot.skip(ftype) @@ -21532,8 +21778,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 iter858 in self.success: - iter858.write(oprot) + for iter865 in self.success: + iter865.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21704,11 +21950,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype862, _size859) = iprot.readListBegin() - for _i863 in xrange(_size859): - _elem864 = PartitionSpec() - _elem864.read(iprot) - self.success.append(_elem864) + (_etype869, _size866) = iprot.readListBegin() + for _i870 in xrange(_size866): + _elem871 = PartitionSpec() + _elem871.read(iprot) + self.success.append(_elem871) iprot.readListEnd() else: iprot.skip(ftype) @@ -21737,8 +21983,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 iter865 in self.success: - iter865.write(oprot) + for iter872 in self.success: + iter872.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22158,10 +22404,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype869, _size866) = iprot.readListBegin() - for _i870 in xrange(_size866): - _elem871 = iprot.readString() - self.names.append(_elem871) + (_etype876, _size873) = iprot.readListBegin() + for _i877 in xrange(_size873): + _elem878 = iprot.readString() + self.names.append(_elem878) iprot.readListEnd() else: iprot.skip(ftype) @@ -22186,8 +22432,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 iter872 in self.names: - oprot.writeString(iter872) + for iter879 in self.names: + oprot.writeString(iter879) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22246,11 +22492,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype876, _size873) = iprot.readListBegin() - for _i877 in xrange(_size873): - _elem878 = Partition() - _elem878.read(iprot) - self.success.append(_elem878) + (_etype883, _size880) = iprot.readListBegin() + for _i884 in xrange(_size880): + _elem885 = Partition() + _elem885.read(iprot) + self.success.append(_elem885) iprot.readListEnd() else: iprot.skip(ftype) @@ -22279,8 +22525,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 iter879 in self.success: - iter879.write(oprot) + for iter886 in self.success: + iter886.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22530,11 +22776,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype883, _size880) = iprot.readListBegin() - for _i884 in xrange(_size880): - _elem885 = Partition() - _elem885.read(iprot) - self.new_parts.append(_elem885) + (_etype890, _size887) = iprot.readListBegin() + for _i891 in xrange(_size887): + _elem892 = Partition() + _elem892.read(iprot) + self.new_parts.append(_elem892) iprot.readListEnd() else: iprot.skip(ftype) @@ -22559,8 +22805,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 iter886 in self.new_parts: - iter886.write(oprot) + for iter893 in self.new_parts: + iter893.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22713,11 +22959,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype890, _size887) = iprot.readListBegin() - for _i891 in xrange(_size887): - _elem892 = Partition() - _elem892.read(iprot) - self.new_parts.append(_elem892) + (_etype897, _size894) = iprot.readListBegin() + for _i898 in xrange(_size894): + _elem899 = Partition() + _elem899.read(iprot) + self.new_parts.append(_elem899) iprot.readListEnd() else: iprot.skip(ftype) @@ -22748,8 +22994,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 iter893 in self.new_parts: - iter893.write(oprot) + for iter900 in self.new_parts: + iter900.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -23093,10 +23339,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype897, _size894) = iprot.readListBegin() - for _i898 in xrange(_size894): - _elem899 = iprot.readString() - self.part_vals.append(_elem899) + (_etype904, _size901) = iprot.readListBegin() + for _i905 in xrange(_size901): + _elem906 = iprot.readString() + self.part_vals.append(_elem906) iprot.readListEnd() else: iprot.skip(ftype) @@ -23127,8 +23373,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 iter900 in self.part_vals: - oprot.writeString(iter900) + for iter907 in self.part_vals: + oprot.writeString(iter907) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -23270,10 +23516,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype904, _size901) = iprot.readListBegin() - for _i905 in xrange(_size901): - _elem906 = iprot.readString() - self.part_vals.append(_elem906) + (_etype911, _size908) = iprot.readListBegin() + for _i912 in xrange(_size908): + _elem913 = iprot.readString() + self.part_vals.append(_elem913) iprot.readListEnd() else: iprot.skip(ftype) @@ -23295,8 +23541,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 iter907 in self.part_vals: - oprot.writeString(iter907) + for iter914 in self.part_vals: + oprot.writeString(iter914) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -23654,10 +23900,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype911, _size908) = iprot.readListBegin() - for _i912 in xrange(_size908): - _elem913 = iprot.readString() - self.success.append(_elem913) + (_etype918, _size915) = iprot.readListBegin() + for _i919 in xrange(_size915): + _elem920 = iprot.readString() + self.success.append(_elem920) iprot.readListEnd() else: iprot.skip(ftype) @@ -23680,8 +23926,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 iter914 in self.success: - oprot.writeString(iter914) + for iter921 in self.success: + oprot.writeString(iter921) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23805,11 +24051,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype916, _vtype917, _size915 ) = iprot.readMapBegin() - for _i919 in xrange(_size915): - _key920 = iprot.readString() - _val921 = iprot.readString() - self.success[_key920] = _val921 + (_ktype923, _vtype924, _size922 ) = iprot.readMapBegin() + for _i926 in xrange(_size922): + _key927 = iprot.readString() + _val928 = iprot.readString() + self.success[_key927] = _val928 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23832,9 +24078,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 kiter922,viter923 in self.success.items(): - oprot.writeString(kiter922) - oprot.writeString(viter923) + for kiter929,viter930 in self.success.items(): + oprot.writeString(kiter929) + oprot.writeString(viter930) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23910,11 +24156,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype925, _vtype926, _size924 ) = iprot.readMapBegin() - for _i928 in xrange(_size924): - _key929 = iprot.readString() - _val930 = iprot.readString() - self.part_vals[_key929] = _val930 + (_ktype932, _vtype933, _size931 ) = iprot.readMapBegin() + for _i935 in xrange(_size931): + _key936 = iprot.readString() + _val937 = iprot.readString() + self.part_vals[_key936] = _val937 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23944,9 +24190,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 kiter931,viter932 in self.part_vals.items(): - oprot.writeString(kiter931) - oprot.writeString(viter932) + for kiter938,viter939 in self.part_vals.items(): + oprot.writeString(kiter938) + oprot.writeString(viter939) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -24160,11 +24406,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype934, _vtype935, _size933 ) = iprot.readMapBegin() - for _i937 in xrange(_size933): - _key938 = iprot.readString() - _val939 = iprot.readString() - self.part_vals[_key938] = _val939 + (_ktype941, _vtype942, _size940 ) = iprot.readMapBegin() + for _i944 in xrange(_size940): + _key945 = iprot.readString() + _val946 = iprot.readString() + self.part_vals[_key945] = _val946 iprot.readMapEnd() else: iprot.skip(ftype) @@ -24194,9 +24440,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 kiter940,viter941 in self.part_vals.items(): - oprot.writeString(kiter940) - oprot.writeString(viter941) + for kiter947,viter948 in self.part_vals.items(): + oprot.writeString(kiter947) + oprot.writeString(viter948) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -25251,11 +25497,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype945, _size942) = iprot.readListBegin() - for _i946 in xrange(_size942): - _elem947 = Index() - _elem947.read(iprot) - self.success.append(_elem947) + (_etype952, _size949) = iprot.readListBegin() + for _i953 in xrange(_size949): + _elem954 = Index() + _elem954.read(iprot) + self.success.append(_elem954) iprot.readListEnd() else: iprot.skip(ftype) @@ -25284,8 +25530,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 iter948 in self.success: - iter948.write(oprot) + for iter955 in self.success: + iter955.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25440,10 +25686,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype952, _size949) = iprot.readListBegin() - for _i953 in xrange(_size949): - _elem954 = iprot.readString() - self.success.append(_elem954) + (_etype959, _size956) = iprot.readListBegin() + for _i960 in xrange(_size956): + _elem961 = iprot.readString() + self.success.append(_elem961) iprot.readListEnd() else: iprot.skip(ftype) @@ -25466,8 +25712,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 iter955 in self.success: - oprot.writeString(iter955) + for iter962 in self.success: + oprot.writeString(iter962) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -28333,10 +28579,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype959, _size956) = iprot.readListBegin() - for _i960 in xrange(_size956): - _elem961 = iprot.readString() - self.success.append(_elem961) + (_etype966, _size963) = iprot.readListBegin() + for _i967 in xrange(_size963): + _elem968 = iprot.readString() + self.success.append(_elem968) iprot.readListEnd() else: iprot.skip(ftype) @@ -28359,8 +28605,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 iter962 in self.success: - oprot.writeString(iter962) + for iter969 in self.success: + oprot.writeString(iter969) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29048,10 +29294,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype966, _size963) = iprot.readListBegin() - for _i967 in xrange(_size963): - _elem968 = iprot.readString() - self.success.append(_elem968) + (_etype973, _size970) = iprot.readListBegin() + for _i974 in xrange(_size970): + _elem975 = iprot.readString() + self.success.append(_elem975) iprot.readListEnd() else: iprot.skip(ftype) @@ -29074,8 +29320,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 iter969 in self.success: - oprot.writeString(iter969) + for iter976 in self.success: + oprot.writeString(iter976) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29589,11 +29835,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype973, _size970) = iprot.readListBegin() - for _i974 in xrange(_size970): - _elem975 = Role() - _elem975.read(iprot) - self.success.append(_elem975) + (_etype980, _size977) = iprot.readListBegin() + for _i981 in xrange(_size977): + _elem982 = Role() + _elem982.read(iprot) + self.success.append(_elem982) iprot.readListEnd() else: iprot.skip(ftype) @@ -29616,8 +29862,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 iter976 in self.success: - iter976.write(oprot) + for iter983 in self.success: + iter983.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30126,10 +30372,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype980, _size977) = iprot.readListBegin() - for _i981 in xrange(_size977): - _elem982 = iprot.readString() - self.group_names.append(_elem982) + (_etype987, _size984) = iprot.readListBegin() + for _i988 in xrange(_size984): + _elem989 = iprot.readString() + self.group_names.append(_elem989) iprot.readListEnd() else: iprot.skip(ftype) @@ -30154,8 +30400,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 iter983 in self.group_names: - oprot.writeString(iter983) + for iter990 in self.group_names: + oprot.writeString(iter990) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30382,11 +30628,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype987, _size984) = iprot.readListBegin() - for _i988 in xrange(_size984): - _elem989 = HiveObjectPrivilege() - _elem989.read(iprot) - self.success.append(_elem989) + (_etype994, _size991) = iprot.readListBegin() + for _i995 in xrange(_size991): + _elem996 = HiveObjectPrivilege() + _elem996.read(iprot) + self.success.append(_elem996) iprot.readListEnd() else: iprot.skip(ftype) @@ -30409,8 +30655,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 iter990 in self.success: - iter990.write(oprot) + for iter997 in self.success: + iter997.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30908,10 +31154,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype994, _size991) = iprot.readListBegin() - for _i995 in xrange(_size991): - _elem996 = iprot.readString() - self.group_names.append(_elem996) + (_etype1001, _size998) = iprot.readListBegin() + for _i1002 in xrange(_size998): + _elem1003 = iprot.readString() + self.group_names.append(_elem1003) iprot.readListEnd() else: iprot.skip(ftype) @@ -30932,8 +31178,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 iter997 in self.group_names: - oprot.writeString(iter997) + for iter1004 in self.group_names: + oprot.writeString(iter1004) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30988,10 +31234,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1001, _size998) = iprot.readListBegin() - for _i1002 in xrange(_size998): - _elem1003 = iprot.readString() - self.success.append(_elem1003) + (_etype1008, _size1005) = iprot.readListBegin() + for _i1009 in xrange(_size1005): + _elem1010 = iprot.readString() + self.success.append(_elem1010) iprot.readListEnd() else: iprot.skip(ftype) @@ -31014,8 +31260,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 iter1004 in self.success: - oprot.writeString(iter1004) + for iter1011 in self.success: + oprot.writeString(iter1011) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -31947,10 +32193,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1008, _size1005) = iprot.readListBegin() - for _i1009 in xrange(_size1005): - _elem1010 = iprot.readString() - self.success.append(_elem1010) + (_etype1015, _size1012) = iprot.readListBegin() + for _i1016 in xrange(_size1012): + _elem1017 = iprot.readString() + self.success.append(_elem1017) iprot.readListEnd() else: iprot.skip(ftype) @@ -31967,8 +32213,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 iter1011 in self.success: - oprot.writeString(iter1011) + for iter1018 in self.success: + oprot.writeString(iter1018) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -32495,10 +32741,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1015, _size1012) = iprot.readListBegin() - for _i1016 in xrange(_size1012): - _elem1017 = iprot.readString() - self.success.append(_elem1017) + (_etype1022, _size1019) = iprot.readListBegin() + for _i1023 in xrange(_size1019): + _elem1024 = iprot.readString() + self.success.append(_elem1024) iprot.readListEnd() else: iprot.skip(ftype) @@ -32515,8 +32761,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 iter1018 in self.success: - oprot.writeString(iter1018) + for iter1025 in self.success: + oprot.writeString(iter1025) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index 51f65c6..76a3339 100644 --- metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -432,6 +432,22 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_tables failed: unknown result') end + def get_tables_by_type(db_name, pattern, tableType) + send_get_tables_by_type(db_name, pattern, tableType) + return recv_get_tables_by_type() + end + + def send_get_tables_by_type(db_name, pattern, tableType) + send_message('get_tables_by_type', Get_tables_by_type_args, :db_name => db_name, :pattern => pattern, :tableType => tableType) + end + + def recv_get_tables_by_type() + result = receive_message(Get_tables_by_type_result) + return result.success unless result.success.nil? + raise result.o1 unless result.o1.nil? + raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_tables_by_type failed: unknown result') + end + def get_table_meta(db_patterns, tbl_patterns, tbl_types) send_get_table_meta(db_patterns, tbl_patterns, tbl_types) return recv_get_table_meta() @@ -2828,6 +2844,17 @@ module ThriftHiveMetastore write_result(result, oprot, 'get_tables', seqid) end + def process_get_tables_by_type(seqid, iprot, oprot) + args = read_args(iprot, Get_tables_by_type_args) + result = Get_tables_by_type_result.new() + begin + result.success = @handler.get_tables_by_type(args.db_name, args.pattern, args.tableType) + rescue ::MetaException => o1 + result.o1 = o1 + end + write_result(result, oprot, 'get_tables_by_type', seqid) + end + def process_get_table_meta(seqid, iprot, oprot) args = read_args(iprot, Get_table_meta_args) result = Get_table_meta_result.new() @@ -5261,6 +5288,44 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Get_tables_by_type_args + include ::Thrift::Struct, ::Thrift::Struct_Union + DB_NAME = 1 + PATTERN = 2 + TABLETYPE = 3 + + FIELDS = { + DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'}, + PATTERN => {:type => ::Thrift::Types::STRING, :name => 'pattern'}, + TABLETYPE => {:type => ::Thrift::Types::STRING, :name => 'tableType'} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Get_tables_by_type_result + include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 + O1 = 1 + + FIELDS = { + SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}}, + O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::MetaException} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Get_table_meta_args include ::Thrift::Struct, ::Thrift::Struct_Union DB_PATTERNS = 1 diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 71175df..11d5f1d 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -47,6 +47,7 @@ import org.apache.hadoop.hive.common.metrics.common.MetricsVariable; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; +import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.*; import org.apache.hadoop.hive.metastore.api.Table; import org.apache.hadoop.hive.metastore.events.AddIndexEvent; @@ -3753,6 +3754,28 @@ private void alter_table_core(final String dbname, final String name, final Tabl } @Override + public List get_tables_by_type(final String dbname, final String pattern, final String tableType) + throws MetaException { + startFunction("get_tables_by_type", ": db=" + dbname + " pat=" + pattern + ",type=" + tableType); + + List ret = null; + Exception ex = null; + try { + ret = getMS().getTables(dbname, pattern, TableType.valueOf(tableType)); + } catch (Exception e) { + ex = e; + if (e instanceof MetaException) { + throw (MetaException) e; + } else { + throw newMetaException(e); + } + } finally { + endFunction("get_tables_by_type", ret != null, ex); + } + return ret; + } + + @Override public List get_all_tables(final String dbname) throws MetaException { startFunction("get_all_tables", ": db=" + dbname); diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 909d8eb..c32486f 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -27,6 +27,7 @@ import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.conf.HiveConfUtil; +import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.AbortTxnRequest; import org.apache.hadoop.hive.metastore.api.AbortTxnsRequest; import org.apache.hadoop.hive.metastore.api.AddDynamicPartitions; @@ -1383,6 +1384,17 @@ public Type getType(String name) throws NoSuchObjectException, MetaException, TE return null; } + /** {@inheritDoc} */ + @Override + public List getTables(String dbname, String tablePattern, TableType tableType) throws MetaException { + try { + return filterHook.filterTableNames(dbname, client.get_tables_by_type(dbname, tablePattern, tableType.toString())); + } catch (Exception e) { + MetaStoreUtils.logAndThrowMetaException(e); + } + return null; + } + @Override public List getTableMeta(String dbPatterns, String tablePatterns, List tableTypes) throws MetaException { diff --git metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index 8dc4e28..b770559 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -25,6 +25,7 @@ import org.apache.hadoop.hive.common.classification.InterfaceAudience.Public; import org.apache.hadoop.hive.common.classification.InterfaceStability.Evolving; import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.annotation.NoReconnect; import org.apache.hadoop.hive.metastore.api.AggrStats; import org.apache.hadoop.hive.metastore.api.AlreadyExistsException; @@ -172,6 +173,20 @@ throws MetaException, TException, UnknownDBException; /** + * Get the names of all tables in the specified database that satisfy the supplied + * table name pattern and table type (MANAGED_TABLE || EXTERNAL_TABLE || VIRTUAL_VIEW) + * @param dbName Name of the database to fetch tables in. + * @param tablePattern pattern to match for table names. + * @param tableType Type of the table in the HMS store. VIRTUAL_VIEW is for views. + * @return List of table names. + * @throws MetaException + * @throws TException + * @throws UnknownDBException + */ + List getTables(String dbName, String tablePattern, TableType tableType) + throws MetaException, TException, UnknownDBException; + + /** * For quick GetTablesOperation */ List getTableMeta(String dbPatterns, String tablePatterns, List tableTypes) diff --git metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 74bde3d..90ea641 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -1197,6 +1197,11 @@ public Table getTable(String dbName, String tableName) throws MetaException { @Override public List getTables(String dbName, String pattern) throws MetaException { + return getTables(dbName, pattern, null); + } + + @Override + public List getTables(String dbName, String pattern, TableType tableType) throws MetaException { boolean commited = false; Query query = null; List tbls = null; @@ -1219,6 +1224,9 @@ public Table getTable(String dbName, String tableName) throws MetaException { first = false; } queryStr = queryStr + ")"; + if (tableType != null) { + queryStr = queryStr + " && tableType.matches(\"" + tableType.toString() + "\")"; + } query = pm.newQuery(queryStr); query.declareParameters("java.lang.String dbName"); query.setResult("tableName"); diff --git metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java index bbd47b8..a3dd4e5 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java @@ -28,6 +28,7 @@ import org.apache.hadoop.conf.Configurable; import org.apache.hadoop.hive.common.classification.InterfaceStability; +import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.AggrStats; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; @@ -155,6 +156,9 @@ public abstract void alterTable(String dbname, String name, Table newTable) public List getTables(String dbName, String pattern) throws MetaException; + public List getTables(String dbName, String pattern, TableType tableType) + throws MetaException; + public List getTableMeta( String dbNames, String tableNames, List tableTypes) throws MetaException; diff --git metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java index c65c7a4..f9fad4c 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java @@ -33,6 +33,7 @@ import org.apache.hadoop.hive.metastore.PartFilterExprUtil; import org.apache.hadoop.hive.metastore.PartitionExpressionProxy; import org.apache.hadoop.hive.metastore.RawStore; +import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.Warehouse; import org.apache.hadoop.hive.metastore.api.AggrStats; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; @@ -530,6 +531,11 @@ public void alterTable(String dbName, String tableName, Table newTable) throws I } } + @Override + public List getTables(String dbName, String pattern, TableType tableType) throws MetaException { + throw new UnsupportedOperationException(); + } + private List getTableNamesInTx(String dbName, String pattern) throws IOException { List
tables = getHBase().scanTables(HiveStringUtils.normalizeIdentifier(dbName), pattern==null?null:HiveStringUtils.normalizeIdentifier(likeToRegex(pattern))); diff --git metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java index 1ea72a0..f64b08d 100644 --- metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java +++ metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java @@ -26,6 +26,7 @@ import org.apache.hadoop.conf.Configurable; import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.AggrStats; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; @@ -223,6 +224,11 @@ public void alterTable(String dbName, String name, Table newTable) } @Override + public List getTables(String dbName, String pattern, TableType tableType) throws MetaException { + return objectStore.getTables(dbName, pattern, tableType); + } + + @Override public List getTableMeta(String dbNames, String tableNames, List tableTypes) throws MetaException { return objectStore.getTableMeta(dbNames, tableNames, tableTypes); diff --git metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java index 3e6acc7..2682886 100644 --- metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java +++ metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java @@ -27,6 +27,7 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.AggrStats; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; @@ -227,6 +228,11 @@ public void alterTable(String dbname, String name, Table newTable) throws Invali } @Override + public List getTables(String dbName, String pattern, TableType tableType) throws MetaException { + return Collections.emptyList(); + } + + @Override public List getTableMeta(String dbNames, String tableNames, List tableTypes) throws MetaException { return Collections.emptyList(); diff --git ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java index ec31cf4..cea8ce8 100644 --- ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java +++ ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java @@ -427,7 +427,7 @@ public int execute(DriverContext driverContext) { ShowTablesDesc showTbls = work.getShowTblsDesc(); if (showTbls != null) { - return showTables(db, showTbls); + return showTablesOrViews(db, showTbls); } ShowColumnsDesc showCols = work.getShowColumnsDesc(); @@ -2380,37 +2380,44 @@ private int showDatabases(Hive db, ShowDatabasesDesc showDatabasesDesc) throws H } /** - * Write a list of the tables in the database to a file. + * Write a list of the tables/views in the database to a file. * * @param db - * The database in question. - * @param showTbls - * These are the tables we're interested in. + * The database in context. + * @param showDesc + * A ShowTablesDesc for tables or views we're interested in. * @return Returns 0 when execution succeeds and above 0 if it fails. * @throws HiveException * Throws this exception if an unexpected error occurs. */ - private int showTables(Hive db, ShowTablesDesc showTbls) throws HiveException { - // get the tables for the desired pattern - populate the output stream - List tbls = null; - String dbName = showTbls.getDbName(); + private int showTablesOrViews(Hive db, ShowTablesDesc showDesc) throws HiveException { + // get the tables/views for the desired pattern - populate the output stream + List tablesOrViews = null; + + String dbName = showDesc.getDbName(); + String pattern = showDesc.getPattern(); // if null, all tables/views are returned + String resultsFile = showDesc.getResFile(); + TableType type = showDesc.getType(); // will be null for tables, VIRTUAL_VIEW for views if (!db.databaseExists(dbName)) { throw new HiveException(ErrorMsg.DATABASE_NOT_EXISTS, dbName); } - if (showTbls.getPattern() != null) { - LOG.info("pattern: " + showTbls.getPattern()); - tbls = db.getTablesByPattern(dbName, showTbls.getPattern()); - LOG.info("results : " + tbls.size()); - } else { - tbls = db.getAllTables(dbName); - } + + LOG.debug("pattern: " + pattern); + tablesOrViews = db.getTablesByType(dbName, pattern, type); + LOG.debug("results : " + tablesOrViews.size()); // write the results in the file - DataOutputStream outStream = getOutputStream(showTbls.getResFile()); + DataOutputStream outStream = null; try { - SortedSet sortedTbls = new TreeSet(tbls); - formatter.showTables(outStream, sortedTbls); + Path resFile = new Path(resultsFile); + FileSystem fs = resFile.getFileSystem(conf); + outStream = fs.create(resFile); + + SortedSet sortedSet = new TreeSet(tablesOrViews); + formatter.showTables(outStream, sortedSet); + outStream.close(); + outStream = null; } catch (Exception e) { throw new HiveException(e, ErrorMsg.GENERIC_ERROR, "in database" + dbName); } finally { diff --git ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java index de6adb5..691c3a8 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -1313,7 +1313,7 @@ public Table getTable(final String dbName, final String tableName, * @throws HiveException */ public List getAllTables() throws HiveException { - return getAllTables(SessionState.get().getCurrentDatabase()); + return getTablesByType(SessionState.get().getCurrentDatabase(), null, null); } /** @@ -1323,7 +1323,7 @@ public Table getTable(final String dbName, final String tableName, * @throws HiveException */ public List getAllTables(String dbName) throws HiveException { - return getTablesByPattern(dbName, ".*"); + return getTablesByType(dbName, ".*", null); } /** @@ -1336,8 +1336,8 @@ public Table getTable(final String dbName, final String tableName, * @throws HiveException */ public List getTablesByPattern(String tablePattern) throws HiveException { - return getTablesByPattern(SessionState.get().getCurrentDatabase(), - tablePattern); + return getTablesByType(SessionState.get().getCurrentDatabase(), + tablePattern, null); } /** @@ -1349,11 +1349,7 @@ public Table getTable(final String dbName, final String tableName, * @throws HiveException */ public List getTablesByPattern(String dbName, String tablePattern) throws HiveException { - try { - return getMSC().getTables(dbName, tablePattern); - } catch (Exception e) { - throw new HiveException(e); - } + return getTablesByType(dbName, tablePattern, null); } /** @@ -1369,8 +1365,38 @@ public Table getTable(final String dbName, final String tableName, */ public List getTablesForDb(String database, String tablePattern) throws HiveException { + return getTablesByType(database, tablePattern, null); + } + + /** + * Returns all existing tables of a type (VIRTUAL_VIEW|EXTERNAL_TABLE|MANAGED_TABLE) from the specified + * database which match the given pattern. The matching occurs as per Java regular expressions. + * @param dbName Database name to find the tables in. if null, uses the current database in this session. + * @param pattern A pattern to match for the table names.If null, returns all names from this DB. + * @param type The type of tables to return. VIRTUAL_VIEWS for views. If null, returns all tables and views. + * @return list of table names that match the pattern. + * @throws HiveException + */ + public List getTablesByType(String dbName, String pattern, TableType type) + throws HiveException { + List retList = new ArrayList(); + if (dbName == null) + dbName = SessionState.get().getCurrentDatabase(); + try { - return getMSC().getTables(database, tablePattern); + if (type != null) { + if (pattern != null) { + return getMSC().getTables(dbName, pattern, type); + } else { + return getMSC().getTables(dbName, ".*", type); + } + } else { + if (pattern != null) { + return getMSC().getTables(dbName, pattern); + } else { + return getMSC().getTables(dbName, ".*"); + } + } } catch (Exception e) { throw new HiveException(e); } diff --git ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java index 8b0db4a..a264c4d 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java +++ ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java @@ -394,6 +394,10 @@ public void analyzeInternal(ASTNode input) throws SemanticException { ctx.setResFile(ctx.getLocalTmpPath()); analyzeShowConf(ast); break; + case HiveParser.TOK_SHOWVIEWS: + ctx.setResFile(ctx.getLocalTmpPath()); + analyzeShowViews(ast); + break; case HiveParser.TOK_DESCFUNCTION: ctx.setResFile(ctx.getLocalTmpPath()); analyzeDescFunction(ast); @@ -2402,6 +2406,45 @@ private void analyzeShowConf(ASTNode ast) throws SemanticException { setFetchTask(createFetchTask(showConfDesc.getSchema())); } + private void analyzeShowViews(ASTNode ast) throws SemanticException { + ShowTablesDesc showViewsDesc; + String dbName = SessionState.get().getCurrentDatabase(); + String viewNames = null; + + if (ast.getChildCount() > 3) { + throw new SemanticException(ErrorMsg.GENERIC_ERROR.getMsg()); + } + + switch (ast.getChildCount()) { + case 1: // Uses a pattern + viewNames = unescapeSQLString(ast.getChild(0).getText()); + showViewsDesc = new ShowTablesDesc(ctx.getResFile(), dbName, viewNames, TableType.VIRTUAL_VIEW); + break; + case 2: // Specifies a DB + assert (ast.getChild(0).getType() == HiveParser.TOK_FROM); + dbName = unescapeIdentifier(ast.getChild(1).getText()); + validateDatabase(dbName); + showViewsDesc = new ShowTablesDesc(ctx.getResFile(), dbName); + showViewsDesc.setType(TableType.VIRTUAL_VIEW); + break; + case 3: // Uses a pattern and specifies a DB + assert (ast.getChild(0).getType() == HiveParser.TOK_FROM); + dbName = unescapeIdentifier(ast.getChild(1).getText()); + viewNames = unescapeSQLString(ast.getChild(2).getText()); + validateDatabase(dbName); + showViewsDesc = new ShowTablesDesc(ctx.getResFile(), dbName, viewNames, TableType.VIRTUAL_VIEW); + break; + default: // No pattern or DB + showViewsDesc = new ShowTablesDesc(ctx.getResFile(), dbName); + showViewsDesc.setType(TableType.VIRTUAL_VIEW); + break; + } + + rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(), + showViewsDesc), conf)); + setFetchTask(createFetchTask(showViewsDesc.getSchema())); + } + /** * Add the task according to the parsed command tree. This is used for the CLI * command "LOCK TABLE ..;". diff --git ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g index b623187..58e76c8 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g +++ ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g @@ -216,6 +216,7 @@ KW_MINUS: 'MINUS'; KW_FETCH: 'FETCH'; KW_INTERSECT: 'INTERSECT'; KW_VIEW: 'VIEW'; +KW_VIEWS: 'VIEWS'; KW_IN: 'IN'; KW_DATABASE: 'DATABASE'; KW_DATABASES: 'DATABASES'; diff --git ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g index 62bbcc6..bf78545 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g +++ ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g @@ -368,6 +368,7 @@ TOK_ANONYMOUS; TOK_COL_NAME; TOK_URI_TYPE; TOK_SERVER_TYPE; +TOK_SHOWVIEWS; TOK_START_TRANSACTION; TOK_ISOLATION_LEVEL; TOK_ISOLATION_SNAPSHOT; @@ -1443,6 +1444,7 @@ showStatement @after { popMsg(state); } : KW_SHOW (KW_DATABASES|KW_SCHEMAS) (KW_LIKE showStmtIdentifier)? -> ^(TOK_SHOWDATABASES showStmtIdentifier?) | KW_SHOW KW_TABLES ((KW_FROM|KW_IN) db_name=identifier)? (KW_LIKE showStmtIdentifier|showStmtIdentifier)? -> ^(TOK_SHOWTABLES (TOK_FROM $db_name)? showStmtIdentifier?) + | KW_SHOW KW_VIEWS ((KW_FROM|KW_IN) db_name=identifier)? (KW_LIKE showStmtIdentifier|showStmtIdentifier)? -> ^(TOK_SHOWVIEWS (TOK_FROM $db_name)? showStmtIdentifier?) | KW_SHOW KW_COLUMNS (KW_FROM|KW_IN) tableName ((KW_FROM|KW_IN) db_name=identifier)? -> ^(TOK_SHOWCOLUMNS tableName $db_name?) | KW_SHOW KW_FUNCTIONS (KW_LIKE showFunctionIdentifier|showFunctionIdentifier)? -> ^(TOK_SHOWFUNCTIONS KW_LIKE? showFunctionIdentifier?) diff --git ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java index 18439f9..4f0ead0 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java +++ ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java @@ -78,6 +78,7 @@ commandType.put(HiveParser.TOK_SHOWLOCKS, HiveOperation.SHOWLOCKS); commandType.put(HiveParser.TOK_SHOWDBLOCKS, HiveOperation.SHOWLOCKS); commandType.put(HiveParser.TOK_SHOWCONF, HiveOperation.SHOWCONF); + commandType.put(HiveParser.TOK_SHOWVIEWS, HiveOperation.SHOWVIEWS); commandType.put(HiveParser.TOK_CREATEFUNCTION, HiveOperation.CREATEFUNCTION); commandType.put(HiveParser.TOK_DROPFUNCTION, HiveOperation.DROPFUNCTION); commandType.put(HiveParser.TOK_RELOADFUNCTION, HiveOperation.RELOADFUNCTION); @@ -256,6 +257,7 @@ public static BaseSemanticAnalyzer get(QueryState queryState, ASTNode tree) case HiveParser.TOK_SHOW_TRANSACTIONS: case HiveParser.TOK_ABORT_TRANSACTIONS: case HiveParser.TOK_SHOWCONF: + case HiveParser.TOK_SHOWVIEWS: case HiveParser.TOK_CREATEINDEX: case HiveParser.TOK_DROPINDEX: case HiveParser.TOK_ALTERTABLE_CLUSTER_SORT: diff --git ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java index 8b54609..e069acd 100644 --- ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java +++ ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java @@ -524,7 +524,7 @@ public DDLWork(HashSet inputs, HashSet outputs, this.cacheMetadataDesc = cacheMetadataDesc; } - /** + /** * @return Create Database descriptor */ public CreateDatabaseDesc getCreateDatabaseDesc() { diff --git ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java index 6fd4df4..d333f91 100644 --- ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java +++ ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java @@ -72,6 +72,7 @@ SHOWPARTITIONS("SHOWPARTITIONS", null, null), SHOWLOCKS("SHOWLOCKS", null, null), SHOWCONF("SHOWCONF", null, null), + SHOWVIEWS("SHOWVIEWS", null, null), CREATEFUNCTION("CREATEFUNCTION", null, null), DROPFUNCTION("DROPFUNCTION", null, null), RELOADFUNCTION("RELOADFUNCTION", null, null), diff --git ql/src/java/org/apache/hadoop/hive/ql/plan/ShowTablesDesc.java ql/src/java/org/apache/hadoop/hive/ql/plan/ShowTablesDesc.java index 9e9d639..c9193b7 100644 --- ql/src/java/org/apache/hadoop/hive/ql/plan/ShowTablesDesc.java +++ ql/src/java/org/apache/hadoop/hive/ql/plan/ShowTablesDesc.java @@ -21,6 +21,7 @@ import java.io.Serializable; import org.apache.hadoop.fs.Path; +import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.ql.plan.Explain.Level; @@ -34,6 +35,7 @@ String pattern; String dbName; String resFile; + TableType type; /** * table name for the result of show tables. */ @@ -82,6 +84,17 @@ public ShowTablesDesc(Path resFile, String dbName, String pattern) { } /** + * @param type + * type of the tables to show + */ + public ShowTablesDesc(Path resFile, String dbName, String pattern, TableType type) { + this.resFile = resFile.toString(); + this.dbName = dbName; + this.pattern = pattern; + this.type = type; + } + + /** * @return the pattern */ @Explain(displayName = "pattern") @@ -98,6 +111,22 @@ public void setPattern(String pattern) { } /** + * @return the table type to be fetched + */ + @Explain(displayName = "type") + public TableType getType() { + return type; + } + + /** + * @param type + * the table type to set + */ + public void setType(TableType type) { + this.type = type; + } + + /** * @return the resFile */ @Explain(displayName = "result file", explainLevels = { Level.EXTENDED }) diff --git ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java index 2da4249..7da44e8 100644 --- ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java +++ ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java @@ -76,6 +76,7 @@ SHOWPARTITIONS, SHOWLOCKS, SHOWCONF, + SHOWVIEWS, CREATEFUNCTION, DROPFUNCTION, RELOADFUNCTION, diff --git ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java index e5389bd..e7bbd54 100644 --- ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java +++ ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java @@ -360,6 +360,8 @@ public HivePrivilegeObjectType getObjectType() { (null, null)); op2Priv.put(HiveOperationType.SHOWCONF, PrivRequirement.newIOPrivRequirement (null, null)); + op2Priv.put(HiveOperationType.SHOWVIEWS, PrivRequirement.newIOPrivRequirement +(null, null)); op2Priv.put(HiveOperationType.LOCKTABLE, PrivRequirement.newIOPrivRequirement (null, null)); diff --git ql/src/test/queries/clientpositive/show_views.q ql/src/test/queries/clientpositive/show_views.q new file mode 100644 index 0000000..61aad43 --- /dev/null +++ ql/src/test/queries/clientpositive/show_views.q @@ -0,0 +1,56 @@ +CREATE DATABASE test1; +CREATE DATABASE test2; + +USE test1; +CREATE TABLE shtb_test1(KEY INT, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE; +CREATE VIEW shtb_test1_view1 AS SELECT * FROM shtb_test1 where KEY > 1000 and KEY < 2000; +CREATE VIEW shtb_test1_view2 AS SELECT * FROM shtb_test1 where KEY > 100 and KEY < 200; +CREATE VIEW shtb_full_view2 AS SELECT * FROM shtb_test1; +USE test2; +CREATE TABLE shtb_test1(KEY INT, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE; +CREATE TABLE shtb_test2(KEY INT, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE; +CREATE VIEW shtb_test1_view1 AS SELECT * FROM shtb_test1 where KEY > 1000 and KEY < 2000; +CREATE VIEW shtb_test2_view2 AS SELECT * FROM shtb_test2 where KEY > 100 and KEY < 200; + +USE test1; +SHOW VIEWS; +SHOW VIEWS 'test_*'; +SHOW VIEWS '*view2'; +SHOW VIEWS LIKE 'test_view1|test_view2'; + +USE test2; +SHOW VIEWS 'shtb_*'; + +-- SHOW VIEWS basic syntax tests +USE default; +SHOW VIEWS FROM test1; +SHOW VIEWS FROM test2; +SHOW VIEWS IN test1; +SHOW VIEWS IN default; +SHOW VIEWS IN test1 "shtb_test_*"; +SHOW VIEWS IN test2 LIKE "nomatch"; + +-- SHOW VIEWS from a database with a name that requires escaping +CREATE DATABASE `database`; +USE `database`; +CREATE TABLE foo(a INT); +CREATE VIEW fooview AS SELECT * FROM foo; +USE default; +SHOW VIEWS FROM `database` LIKE "fooview"; + +DROP VIEW fooview; +DROP TABLE foo; + +USE test1; +DROP VIEW shtb_test1_view1; +DROP VIEW shtb_test1_view2; +DROP VIEW shtb_full_view2; +DROP TABLE shtb_test1; +DROP DATABASE test1; + +USE test2; +DROP VIEW shtb_test1_view1; +DROP VIEW shtb_test2_view2; +DROP TABLE shtb_test1; +DROP TABLE shtb_test2; +DROP DATABASE test2; diff --git ql/src/test/results/clientpositive/show_views.q.out ql/src/test/results/clientpositive/show_views.q.out new file mode 100644 index 0000000..61b5f1d --- /dev/null +++ ql/src/test/results/clientpositive/show_views.q.out @@ -0,0 +1,320 @@ +PREHOOK: query: CREATE DATABASE test1 +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:test1 +POSTHOOK: query: CREATE DATABASE test1 +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:test1 +PREHOOK: query: CREATE DATABASE test2 +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:test2 +POSTHOOK: query: CREATE DATABASE test2 +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:test2 +PREHOOK: query: USE test1 +PREHOOK: type: SWITCHDATABASE +PREHOOK: Input: database:test1 +POSTHOOK: query: USE test1 +POSTHOOK: type: SWITCHDATABASE +POSTHOOK: Input: database:test1 +PREHOOK: query: CREATE TABLE shtb_test1(KEY INT, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:test1 +PREHOOK: Output: test1@shtb_test1 +POSTHOOK: query: CREATE TABLE shtb_test1(KEY INT, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:test1 +POSTHOOK: Output: test1@shtb_test1 +PREHOOK: query: CREATE VIEW shtb_test1_view1 AS SELECT * FROM shtb_test1 where KEY > 1000 and KEY < 2000 +PREHOOK: type: CREATEVIEW +PREHOOK: Input: test1@shtb_test1 +PREHOOK: Output: database:test1 +PREHOOK: Output: test1@shtb_test1_view1 +POSTHOOK: query: CREATE VIEW shtb_test1_view1 AS SELECT * FROM shtb_test1 where KEY > 1000 and KEY < 2000 +POSTHOOK: type: CREATEVIEW +POSTHOOK: Input: test1@shtb_test1 +POSTHOOK: Output: database:test1 +POSTHOOK: Output: test1@shtb_test1_view1 +PREHOOK: query: CREATE VIEW shtb_test1_view2 AS SELECT * FROM shtb_test1 where KEY > 100 and KEY < 200 +PREHOOK: type: CREATEVIEW +PREHOOK: Input: test1@shtb_test1 +PREHOOK: Output: database:test1 +PREHOOK: Output: test1@shtb_test1_view2 +POSTHOOK: query: CREATE VIEW shtb_test1_view2 AS SELECT * FROM shtb_test1 where KEY > 100 and KEY < 200 +POSTHOOK: type: CREATEVIEW +POSTHOOK: Input: test1@shtb_test1 +POSTHOOK: Output: database:test1 +POSTHOOK: Output: test1@shtb_test1_view2 +PREHOOK: query: CREATE VIEW shtb_full_view2 AS SELECT * FROM shtb_test1 +PREHOOK: type: CREATEVIEW +PREHOOK: Input: test1@shtb_test1 +PREHOOK: Output: database:test1 +PREHOOK: Output: test1@shtb_full_view2 +POSTHOOK: query: CREATE VIEW shtb_full_view2 AS SELECT * FROM shtb_test1 +POSTHOOK: type: CREATEVIEW +POSTHOOK: Input: test1@shtb_test1 +POSTHOOK: Output: database:test1 +POSTHOOK: Output: test1@shtb_full_view2 +PREHOOK: query: USE test2 +PREHOOK: type: SWITCHDATABASE +PREHOOK: Input: database:test2 +POSTHOOK: query: USE test2 +POSTHOOK: type: SWITCHDATABASE +POSTHOOK: Input: database:test2 +PREHOOK: query: CREATE TABLE shtb_test1(KEY INT, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:test2 +PREHOOK: Output: test2@shtb_test1 +POSTHOOK: query: CREATE TABLE shtb_test1(KEY INT, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:test2 +POSTHOOK: Output: test2@shtb_test1 +PREHOOK: query: CREATE TABLE shtb_test2(KEY INT, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:test2 +PREHOOK: Output: test2@shtb_test2 +POSTHOOK: query: CREATE TABLE shtb_test2(KEY INT, VALUE STRING) PARTITIONED BY(ds STRING) STORED AS TEXTFILE +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:test2 +POSTHOOK: Output: test2@shtb_test2 +PREHOOK: query: CREATE VIEW shtb_test1_view1 AS SELECT * FROM shtb_test1 where KEY > 1000 and KEY < 2000 +PREHOOK: type: CREATEVIEW +PREHOOK: Input: test2@shtb_test1 +PREHOOK: Output: database:test2 +PREHOOK: Output: test2@shtb_test1_view1 +POSTHOOK: query: CREATE VIEW shtb_test1_view1 AS SELECT * FROM shtb_test1 where KEY > 1000 and KEY < 2000 +POSTHOOK: type: CREATEVIEW +POSTHOOK: Input: test2@shtb_test1 +POSTHOOK: Output: database:test2 +POSTHOOK: Output: test2@shtb_test1_view1 +PREHOOK: query: CREATE VIEW shtb_test2_view2 AS SELECT * FROM shtb_test2 where KEY > 100 and KEY < 200 +PREHOOK: type: CREATEVIEW +PREHOOK: Input: test2@shtb_test2 +PREHOOK: Output: database:test2 +PREHOOK: Output: test2@shtb_test2_view2 +POSTHOOK: query: CREATE VIEW shtb_test2_view2 AS SELECT * FROM shtb_test2 where KEY > 100 and KEY < 200 +POSTHOOK: type: CREATEVIEW +POSTHOOK: Input: test2@shtb_test2 +POSTHOOK: Output: database:test2 +POSTHOOK: Output: test2@shtb_test2_view2 +PREHOOK: query: USE test1 +PREHOOK: type: SWITCHDATABASE +PREHOOK: Input: database:test1 +POSTHOOK: query: USE test1 +POSTHOOK: type: SWITCHDATABASE +POSTHOOK: Input: database:test1 +PREHOOK: query: SHOW VIEWS +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS +POSTHOOK: type: SHOWVIEWS +shtb_full_view2 +shtb_test1_view1 +shtb_test1_view2 +PREHOOK: query: SHOW VIEWS 'test_*' +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS 'test_*' +POSTHOOK: type: SHOWVIEWS +PREHOOK: query: SHOW VIEWS '*view2' +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS '*view2' +POSTHOOK: type: SHOWVIEWS +shtb_full_view2 +shtb_test1_view2 +PREHOOK: query: SHOW VIEWS LIKE 'test_view1|test_view2' +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS LIKE 'test_view1|test_view2' +POSTHOOK: type: SHOWVIEWS +PREHOOK: query: USE test2 +PREHOOK: type: SWITCHDATABASE +PREHOOK: Input: database:test2 +POSTHOOK: query: USE test2 +POSTHOOK: type: SWITCHDATABASE +POSTHOOK: Input: database:test2 +PREHOOK: query: SHOW VIEWS 'shtb_*' +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS 'shtb_*' +POSTHOOK: type: SHOWVIEWS +shtb_test1_view1 +shtb_test2_view2 +PREHOOK: query: -- SHOW VIEWS basic syntax tests +USE default +PREHOOK: type: SWITCHDATABASE +PREHOOK: Input: database:default +POSTHOOK: query: -- SHOW VIEWS basic syntax tests +USE default +POSTHOOK: type: SWITCHDATABASE +POSTHOOK: Input: database:default +PREHOOK: query: SHOW VIEWS FROM test1 +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS FROM test1 +POSTHOOK: type: SHOWVIEWS +shtb_full_view2 +shtb_test1_view1 +shtb_test1_view2 +PREHOOK: query: SHOW VIEWS FROM test2 +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS FROM test2 +POSTHOOK: type: SHOWVIEWS +shtb_test1_view1 +shtb_test2_view2 +PREHOOK: query: SHOW VIEWS IN test1 +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS IN test1 +POSTHOOK: type: SHOWVIEWS +shtb_full_view2 +shtb_test1_view1 +shtb_test1_view2 +PREHOOK: query: SHOW VIEWS IN default +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS IN default +POSTHOOK: type: SHOWVIEWS +PREHOOK: query: SHOW VIEWS IN test1 "shtb_test_*" +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS IN test1 "shtb_test_*" +POSTHOOK: type: SHOWVIEWS +PREHOOK: query: SHOW VIEWS IN test2 LIKE "nomatch" +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS IN test2 LIKE "nomatch" +POSTHOOK: type: SHOWVIEWS +PREHOOK: query: -- SHOW VIEWS from a database with a name that requires escaping +CREATE DATABASE `database` +PREHOOK: type: CREATEDATABASE +PREHOOK: Output: database:database +POSTHOOK: query: -- SHOW VIEWS from a database with a name that requires escaping +CREATE DATABASE `database` +POSTHOOK: type: CREATEDATABASE +POSTHOOK: Output: database:database +PREHOOK: query: USE `database` +PREHOOK: type: SWITCHDATABASE +PREHOOK: Input: database:database +POSTHOOK: query: USE `database` +POSTHOOK: type: SWITCHDATABASE +POSTHOOK: Input: database:database +PREHOOK: query: CREATE TABLE foo(a INT) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:database +PREHOOK: Output: database@foo +POSTHOOK: query: CREATE TABLE foo(a INT) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:database +POSTHOOK: Output: database@foo +PREHOOK: query: CREATE VIEW fooview AS SELECT * FROM foo +PREHOOK: type: CREATEVIEW +PREHOOK: Input: database@foo +PREHOOK: Output: database:database +PREHOOK: Output: database@fooview +POSTHOOK: query: CREATE VIEW fooview AS SELECT * FROM foo +POSTHOOK: type: CREATEVIEW +POSTHOOK: Input: database@foo +POSTHOOK: Output: database:database +POSTHOOK: Output: database@fooview +PREHOOK: query: USE default +PREHOOK: type: SWITCHDATABASE +PREHOOK: Input: database:default +POSTHOOK: query: USE default +POSTHOOK: type: SWITCHDATABASE +POSTHOOK: Input: database:default +PREHOOK: query: SHOW VIEWS FROM `database` LIKE "fooview" +PREHOOK: type: SHOWVIEWS +POSTHOOK: query: SHOW VIEWS FROM `database` LIKE "fooview" +POSTHOOK: type: SHOWVIEWS +fooview +PREHOOK: query: DROP VIEW fooview +PREHOOK: type: DROPVIEW +POSTHOOK: query: DROP VIEW fooview +POSTHOOK: type: DROPVIEW +PREHOOK: query: DROP TABLE foo +PREHOOK: type: DROPTABLE +POSTHOOK: query: DROP TABLE foo +POSTHOOK: type: DROPTABLE +PREHOOK: query: USE test1 +PREHOOK: type: SWITCHDATABASE +PREHOOK: Input: database:test1 +POSTHOOK: query: USE test1 +POSTHOOK: type: SWITCHDATABASE +POSTHOOK: Input: database:test1 +PREHOOK: query: DROP VIEW shtb_test1_view1 +PREHOOK: type: DROPVIEW +PREHOOK: Input: test1@shtb_test1_view1 +PREHOOK: Output: test1@shtb_test1_view1 +POSTHOOK: query: DROP VIEW shtb_test1_view1 +POSTHOOK: type: DROPVIEW +POSTHOOK: Input: test1@shtb_test1_view1 +POSTHOOK: Output: test1@shtb_test1_view1 +PREHOOK: query: DROP VIEW shtb_test1_view2 +PREHOOK: type: DROPVIEW +PREHOOK: Input: test1@shtb_test1_view2 +PREHOOK: Output: test1@shtb_test1_view2 +POSTHOOK: query: DROP VIEW shtb_test1_view2 +POSTHOOK: type: DROPVIEW +POSTHOOK: Input: test1@shtb_test1_view2 +POSTHOOK: Output: test1@shtb_test1_view2 +PREHOOK: query: DROP VIEW shtb_full_view2 +PREHOOK: type: DROPVIEW +PREHOOK: Input: test1@shtb_full_view2 +PREHOOK: Output: test1@shtb_full_view2 +POSTHOOK: query: DROP VIEW shtb_full_view2 +POSTHOOK: type: DROPVIEW +POSTHOOK: Input: test1@shtb_full_view2 +POSTHOOK: Output: test1@shtb_full_view2 +PREHOOK: query: DROP TABLE shtb_test1 +PREHOOK: type: DROPTABLE +PREHOOK: Input: test1@shtb_test1 +PREHOOK: Output: test1@shtb_test1 +POSTHOOK: query: DROP TABLE shtb_test1 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: test1@shtb_test1 +POSTHOOK: Output: test1@shtb_test1 +PREHOOK: query: DROP DATABASE test1 +PREHOOK: type: DROPDATABASE +PREHOOK: Input: database:test1 +PREHOOK: Output: database:test1 +POSTHOOK: query: DROP DATABASE test1 +POSTHOOK: type: DROPDATABASE +POSTHOOK: Input: database:test1 +POSTHOOK: Output: database:test1 +PREHOOK: query: USE test2 +PREHOOK: type: SWITCHDATABASE +PREHOOK: Input: database:test2 +POSTHOOK: query: USE test2 +POSTHOOK: type: SWITCHDATABASE +POSTHOOK: Input: database:test2 +PREHOOK: query: DROP VIEW shtb_test1_view1 +PREHOOK: type: DROPVIEW +PREHOOK: Input: test2@shtb_test1_view1 +PREHOOK: Output: test2@shtb_test1_view1 +POSTHOOK: query: DROP VIEW shtb_test1_view1 +POSTHOOK: type: DROPVIEW +POSTHOOK: Input: test2@shtb_test1_view1 +POSTHOOK: Output: test2@shtb_test1_view1 +PREHOOK: query: DROP VIEW shtb_test2_view2 +PREHOOK: type: DROPVIEW +PREHOOK: Input: test2@shtb_test2_view2 +PREHOOK: Output: test2@shtb_test2_view2 +POSTHOOK: query: DROP VIEW shtb_test2_view2 +POSTHOOK: type: DROPVIEW +POSTHOOK: Input: test2@shtb_test2_view2 +POSTHOOK: Output: test2@shtb_test2_view2 +PREHOOK: query: DROP TABLE shtb_test1 +PREHOOK: type: DROPTABLE +PREHOOK: Input: test2@shtb_test1 +PREHOOK: Output: test2@shtb_test1 +POSTHOOK: query: DROP TABLE shtb_test1 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: test2@shtb_test1 +POSTHOOK: Output: test2@shtb_test1 +PREHOOK: query: DROP TABLE shtb_test2 +PREHOOK: type: DROPTABLE +PREHOOK: Input: test2@shtb_test2 +PREHOOK: Output: test2@shtb_test2 +POSTHOOK: query: DROP TABLE shtb_test2 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: test2@shtb_test2 +POSTHOOK: Output: test2@shtb_test2 +PREHOOK: query: DROP DATABASE test2 +PREHOOK: type: DROPDATABASE +PREHOOK: Input: database:test2 +PREHOOK: Output: database:test2 +POSTHOOK: query: DROP DATABASE test2 +POSTHOOK: type: DROPDATABASE +POSTHOOK: Input: database:test2 +POSTHOOK: Output: database:test2