diff --git a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java index 100ad42..317556d 100644 --- a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java +++ b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java @@ -28,6 +28,9 @@ import static org.junit.Assert.fail; import java.io.InputStream; +import java.lang.Exception; +import java.lang.Object; +import java.lang.String; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.DriverManager; @@ -41,8 +44,11 @@ import java.sql.Types; import java.text.ParseException; import java.util.ArrayList; +import java.util.Arrays; import java.util.Date; +import java.util.HashSet; import java.util.HashMap; +import java.util.IdentityHashMap; import java.util.List; import java.util.Map; import java.util.Properties; @@ -129,6 +135,7 @@ public static void setUpBeforeClass() throws SQLException, ClassNotFoundExceptio stmt1.execute("DROP DATABASE " + db + " CASCADE"); } } + stmt1.execute("create database testdb"); stmt1.close(); con1.close(); } @@ -142,12 +149,20 @@ public void setUp() throws Exception { stmt.execute("set hive.support.concurrency = false"); - // drop table. ignore error. - try { - stmt.execute("drop table " + tableName); - } catch (Exception ex) { - fail(ex.toString()); - } + createTestTables(stmt, "", true); + createTestTables(stmt, "testdb.", false); + } + + private void createTestTables(Statement stmt, String prefix, boolean loadData) + throws SQLException { + + // drop test tables/views + dropTestTables(stmt, prefix); + + String tableName = prefix + this.tableName; + String partitionedTableName = prefix + this.partitionedTableName; + String dataTypeTableName = prefix + this.dataTypeTableName; + String viewName = prefix + this.viewName; // create table stmt.execute("create table " + tableName @@ -155,35 +170,25 @@ public void setUp() throws Exception { + tableComment + "'"); // load data - stmt.execute("load data local inpath '" - + dataFilePath.toString() + "' into table " + tableName); - - // also initialize a paritioned table to test against. - - // drop table. ignore error. - try { - stmt.execute("drop table " + partitionedTableName); - } catch (Exception ex) { - fail(ex.toString()); + if (loadData) { + stmt.execute("load data local inpath '" + + dataFilePath.toString() + "' into table " + tableName); } + // also initialize a paritioned table to test against. stmt.execute("create table " + partitionedTableName + " (under_col int, value string) comment '"+partitionedTableComment +"' partitioned by (" + partitionedColumnName + " STRING)"); // load data - stmt.execute("load data local inpath '" - + dataFilePath.toString() + "' into table " + partitionedTableName - + " PARTITION (" + partitionedColumnName + "=" - + partitionedColumnValue + ")"); - - // drop table. ignore error. - try { - stmt.execute("drop table " + dataTypeTableName); - } catch (Exception ex) { - fail(ex.toString()); + if (loadData) { + stmt.execute("load data local inpath '" + + dataFilePath.toString() + "' into table " + partitionedTableName + + " PARTITION (" + partitionedColumnName + "=" + + partitionedColumnValue + ")"); } + // tables with various types stmt.execute("create table " + dataTypeTableName + " (c1 int, c2 boolean, c3 double, c4 string," + " c5 array, c6 map, c7 map," @@ -203,15 +208,10 @@ public void setUp() throws Exception { + ") comment'" + dataTypeTableComment +"' partitioned by (dt STRING)"); - stmt.execute("load data local inpath '" - + dataTypeDataFilePath.toString() + "' into table " + dataTypeTableName - + " PARTITION (dt='20090619')"); - - // drop view. ignore error. - try { - stmt.execute("drop view " + viewName); - } catch (Exception ex) { - fail(ex.toString()); + if (loadData) { + stmt.execute("load data local inpath '" + + dataTypeDataFilePath.toString() + "' into table " + dataTypeTableName + + " PARTITION (dt='20090619')"); } // create view @@ -219,6 +219,28 @@ public void setUp() throws Exception { +"' as select * from "+ tableName); } + // drop test tables/views. ignore error. + private void dropTestTables(Statement stmt, String prefix) throws SQLException { + String tableName = prefix + this.tableName; + String partitionedTableName = prefix + this.partitionedTableName; + String dataTypeTableName = prefix + this.dataTypeTableName; + String viewName = prefix + this.viewName; + + executeWithIgnore(stmt, "drop table " + tableName); + executeWithIgnore(stmt, "drop table " + partitionedTableName); + executeWithIgnore(stmt, "drop table " + dataTypeTableName); + executeWithIgnore(stmt, "drop view " + viewName); + } + + private void executeWithIgnore(Statement stmt, String sql) throws SQLException { + // drop table. ignore error. + try { + stmt.execute(sql); + } catch (Exception ex) { + fail(ex.toString()); + } + } + private static Connection getConnection(String postfix) throws SQLException { Connection con1; if (standAloneServer) { @@ -239,9 +261,8 @@ public void tearDown() throws Exception { // drop table Statement stmt = con.createStatement(); assertNotNull("Statement is null", stmt); - stmt.execute("drop table " + tableName); - stmt.execute("drop table " + partitionedTableName); - stmt.execute("drop table " + dataTypeTableName); + dropTestTables(stmt, ""); + dropTestTables(stmt, "testdb."); con.close(); assertTrue("Connection should be closed", con.isClosed()); @@ -1118,25 +1139,77 @@ public void testMetaDataGetTablesClassic() throws SQLException { * @throws SQLException */ private void getTablesTest(String tableTypeName, String viewTypeName) throws SQLException { - Map tests = new HashMap(); - tests.put("test%jdbc%", new Object[]{"testhivejdbcdriver_table" - , "testhivejdbcdriverpartitionedtable" - , "testhivejdbcdriverview"}); - tests.put("%jdbcdriver\\_table", new Object[]{"testhivejdbcdriver_table"}); - tests.put("testhivejdbcdriver\\_table", new Object[]{"testhivejdbcdriver_table"}); - tests.put("test_ivejdbcdri_er\\_table", new Object[]{"testhivejdbcdriver_table"}); - tests.put("test_ivejdbcdri_er_table", new Object[]{"testhivejdbcdriver_table"}); - tests.put("test_ivejdbcdri_er%table", new Object[]{ - "testhivejdbcdriver_table", "testhivejdbcdriverpartitionedtable" }); - tests.put("%jdbc%", new Object[]{ "testhivejdbcdriver_table" - , "testhivejdbcdriverpartitionedtable" - , "testhivejdbcdriverview"}); - tests.put("", new Object[]{}); - - for (String checkPattern: tests.keySet()) { - ResultSet rs = con.getMetaData().getTables("default", null, checkPattern, null); + String[] ALL = null; + String[] VIEW_ONLY = {viewTypeName}; + String[] TABLE_ONLY = {tableTypeName}; + String[] VIEWORTABLE = {tableTypeName, viewTypeName}; + + Map tests = new IdentityHashMap(); + tests.put(new Object[] { null, "test%jdbc%", ALL}, new String[]{ + "default.testhivejdbcdriver_table", + "default.testhivejdbcdriverpartitionedtable", + "default.testhivejdbcdriverview", + "testdb.testhivejdbcdriver_table", + "testdb.testhivejdbcdriverpartitionedtable", + "testdb.testhivejdbcdriverview"}); + tests.put(new Object[] { "test%", "test%jdbc%", ALL}, new String[]{ + "testdb.testhivejdbcdriver_table", + "testdb.testhivejdbcdriverpartitionedtable", + "testdb.testhivejdbcdriverview"}); + tests.put(new Object[] { "test%", "test%jdbc%", VIEW_ONLY}, new String[]{ + "testdb.testhivejdbcdriverview"}); + + tests.put(new Object[] { null, "%jdbcdriver\\_table", VIEWORTABLE}, new String[]{ + "default.testhivejdbcdriver_table", + "testdb.testhivejdbcdriver_table"}); + tests.put(new Object[] { "def%", "%jdbcdriver\\_table", VIEWORTABLE}, new String[]{ + "default.testhivejdbcdriver_table"}); + tests.put(new Object[] { "def%", "%jdbcdriver\\_table", VIEW_ONLY}, new String[0]); + + tests.put(new Object[] { null, "testhivejdbcdriver\\_table", ALL}, new String[]{ + "default.testhivejdbcdriver_table", + "testdb.testhivejdbcdriver_table"}); + tests.put(new Object[] { "%faul%", "testhivejdbcdriver\\_table", ALL}, new String[]{ + "default.testhivejdbcdriver_table"}); + tests.put(new Object[] { "%faul%", "testhivejdbcdriver\\_table", TABLE_ONLY}, new String[]{ + "default.testhivejdbcdriver_table"}); + + tests.put(new Object[] { null, "test_ivejdbcdri_er\\_table", ALL}, new String[]{ + "default.testhivejdbcdriver_table", + "testdb.testhivejdbcdriver_table"}); + tests.put(new Object[] { "test__", "test_ivejdbcdri_er\\_table", ALL}, new String[]{ + "testdb.testhivejdbcdriver_table"}); + + tests.put(new Object[] { null, "test_ivejdbcdri_er_table", ALL}, new String[]{ + "default.testhivejdbcdriver_table", + "testdb.testhivejdbcdriver_table"}); + tests.put(new Object[] { null, "test_ivejdbcdri_er%table", ALL}, new String[]{ + "default.testhivejdbcdriver_table", + "default.testhivejdbcdriverpartitionedtable", + "testdb.testhivejdbcdriver_table", + "testdb.testhivejdbcdriverpartitionedtable"}); + tests.put(new Object[] { null, "%jdbc%", ALL}, new String[]{ + "default.testhivejdbcdriver_table", + "default.testhivejdbcdriverpartitionedtable", + "default.testhivejdbcdriverview", + "testdb.testhivejdbcdriver_table", + "testdb.testhivejdbcdriverpartitionedtable", + "testdb.testhivejdbcdriverview"}); + tests.put(new Object[] { "%", "%jdbc%", VIEW_ONLY}, new String[]{ + "default.testhivejdbcdriverview", + "testdb.testhivejdbcdriverview"}); + tests.put(new Object[] { null, "", ALL}, new String[]{}); + + for (Map.Entry entry : tests.entrySet()) { + Object[] checkPattern = entry.getKey(); + String debugString = checkPattern[0] + ", " + checkPattern[1] + ", " + + Arrays.toString((String[]) checkPattern[2]); + + Set expectedTables = new HashSet(Arrays.asList(entry.getValue())); + ResultSet rs = con.getMetaData().getTables(null, + (String)checkPattern[0], (String)checkPattern[1], (String[])checkPattern[2]); ResultSetMetaData resMeta = rs.getMetaData(); - assertEquals(5, resMeta.getColumnCount()); + assertEquals(10, resMeta.getColumnCount()); assertEquals("TABLE_CAT", resMeta.getColumnName(1)); assertEquals("TABLE_SCHEM", resMeta.getColumnName(2)); assertEquals("TABLE_NAME", resMeta.getColumnName(3)); @@ -1145,9 +1218,11 @@ private void getTablesTest(String tableTypeName, String viewTypeName) throws SQL int cnt = 0; while (rs.next()) { + String resultDbName = rs.getString("TABLE_SCHEM"); String resultTableName = rs.getString("TABLE_NAME"); - assertEquals("Get by index different from get by name.", rs.getString(3), resultTableName); - assertEquals("Excpected a different table.", tests.get(checkPattern)[cnt], resultTableName); + assertTrue("Invalid table " + resultDbName + "." + resultTableName + " for test " + debugString, + expectedTables.contains(resultDbName + "." + resultTableName)); + String resultTableComment = rs.getString("REMARKS"); assertTrue("Missing comment on the table.", resultTableComment.length()>0); String tableType = rs.getString("TABLE_TYPE"); @@ -1159,18 +1234,9 @@ private void getTablesTest(String tableTypeName, String viewTypeName) throws SQL cnt++; } rs.close(); - assertEquals("Received an incorrect number of tables.", tests.get(checkPattern).length, cnt); + assertEquals("Received an incorrect number of tables for test " + debugString, + expectedTables.size(), cnt); } - - // only ask for the views. - ResultSet rs = con.getMetaData().getTables("default", null, null - , new String[]{viewTypeName}); - int cnt=0; - while (rs.next()) { - cnt++; - } - rs.close(); - assertEquals("Incorrect number of views found.", 1, cnt); } @Test @@ -1193,6 +1259,8 @@ public void testMetaDataGetSchemas() throws SQLException { assertTrue(rs.next()); assertEquals("default", rs.getString(1)); + assertTrue(rs.next()); + assertEquals("testdb", rs.getString(1)); assertFalse(rs.next()); rs.close(); @@ -1265,7 +1333,7 @@ public void testMetaDataGetColumns() throws SQLException { tests.put(new String[]{"%jdbcdriver\\_table%", "_%"}, 2); for (String[] checkPattern: tests.keySet()) { - ResultSet rs = con.getMetaData().getColumns(null, null, checkPattern[0], + ResultSet rs = con.getMetaData().getColumns(null, "default", checkPattern[0], checkPattern[1]); // validate the metadata for the getColumns result set diff --git a/jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java b/jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java index 13e42b5..a73f443 100644 --- a/jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java +++ b/jdbc/src/java/org/apache/hive/jdbc/HiveDatabaseMetaData.java @@ -646,9 +646,7 @@ public ResultSet getTables(String catalog, String schemaPattern, if (types != null) { getTableReq.setTableTypes(Arrays.asList(types)); } - if (schemaPattern != null) { - getTableReq.setSchemaName(schemaPattern); - } + getTableReq.setSchemaName(schemaPattern); try { getTableResp = client.GetTables(getTableReq); diff --git a/metastore/if/hive_metastore.thrift b/metastore/if/hive_metastore.thrift index 3e30f56..2ed9812 100755 --- a/metastore/if/hive_metastore.thrift +++ b/metastore/if/hive_metastore.thrift @@ -890,6 +890,8 @@ 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_table_metas(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) Table get_table(1:string dbname, 2:string tbl_name) diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index a82c363..d1f3f37 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -5230,6 +5230,305 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol } +ThriftHiveMetastore_get_table_metas_args::~ThriftHiveMetastore_get_table_metas_args() throw() { +} + + +uint32_t ThriftHiveMetastore_get_table_metas_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_patterns); + this->__isset.db_patterns = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->tbl_patterns); + this->__isset.tbl_patterns = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->tbl_types.clear(); + uint32_t _size806; + ::apache::thrift::protocol::TType _etype809; + xfer += iprot->readListBegin(_etype809, _size806); + this->tbl_types.resize(_size806); + uint32_t _i810; + for (_i810 = 0; _i810 < _size806; ++_i810) + { + xfer += iprot->readString(this->tbl_types[_i810]); + } + xfer += iprot->readListEnd(); + } + this->__isset.tbl_types = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_get_table_metas_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_metas_args"); + + xfer += oprot->writeFieldBegin("db_patterns", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->db_patterns); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tbl_patterns", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->tbl_patterns); + xfer += oprot->writeFieldEnd(); + + 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 _iter811; + for (_iter811 = this->tbl_types.begin(); _iter811 != this->tbl_types.end(); ++_iter811) + { + xfer += oprot->writeString((*_iter811)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_table_metas_pargs::~ThriftHiveMetastore_get_table_metas_pargs() throw() { +} + + +uint32_t ThriftHiveMetastore_get_table_metas_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_metas_pargs"); + + xfer += oprot->writeFieldBegin("db_patterns", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString((*(this->db_patterns))); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tbl_patterns", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString((*(this->tbl_patterns))); + xfer += oprot->writeFieldEnd(); + + 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 _iter812; + for (_iter812 = (*(this->tbl_types)).begin(); _iter812 != (*(this->tbl_types)).end(); ++_iter812) + { + xfer += oprot->writeString((*_iter812)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_table_metas_result::~ThriftHiveMetastore_get_table_metas_result() throw() { +} + + +uint32_t ThriftHiveMetastore_get_table_metas_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 _size813; + ::apache::thrift::protocol::TType _etype816; + xfer += iprot->readListBegin(_etype816, _size813); + this->success.resize(_size813); + uint32_t _i817; + for (_i817 = 0; _i817 < _size813; ++_i817) + { + xfer += iprot->readString(this->success[_i817]); + } + 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_table_metas_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_metas_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 _iter818; + for (_iter818 = this->success.begin(); _iter818 != this->success.end(); ++_iter818) + { + xfer += oprot->writeString((*_iter818)); + } + 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_table_metas_presult::~ThriftHiveMetastore_get_table_metas_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_get_table_metas_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 _size819; + ::apache::thrift::protocol::TType _etype822; + xfer += iprot->readListBegin(_etype822, _size819); + (*(this->success)).resize(_size819); + uint32_t _i823; + for (_i823 = 0; _i823 < _size819; ++_i823) + { + xfer += iprot->readString((*(this->success))[_i823]); + } + 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_all_tables_args::~ThriftHiveMetastore_get_all_tables_args() throw() { } @@ -5338,14 +5637,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size806; - ::apache::thrift::protocol::TType _etype809; - xfer += iprot->readListBegin(_etype809, _size806); - this->success.resize(_size806); - uint32_t _i810; - for (_i810 = 0; _i810 < _size806; ++_i810) + uint32_t _size824; + ::apache::thrift::protocol::TType _etype827; + xfer += iprot->readListBegin(_etype827, _size824); + this->success.resize(_size824); + uint32_t _i828; + for (_i828 = 0; _i828 < _size824; ++_i828) { - xfer += iprot->readString(this->success[_i810]); + xfer += iprot->readString(this->success[_i828]); } xfer += iprot->readListEnd(); } @@ -5384,10 +5683,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 _iter811; - for (_iter811 = this->success.begin(); _iter811 != this->success.end(); ++_iter811) + std::vector ::const_iterator _iter829; + for (_iter829 = this->success.begin(); _iter829 != this->success.end(); ++_iter829) { - xfer += oprot->writeString((*_iter811)); + xfer += oprot->writeString((*_iter829)); } xfer += oprot->writeListEnd(); } @@ -5432,14 +5731,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size812; - ::apache::thrift::protocol::TType _etype815; - xfer += iprot->readListBegin(_etype815, _size812); - (*(this->success)).resize(_size812); - uint32_t _i816; - for (_i816 = 0; _i816 < _size812; ++_i816) + uint32_t _size830; + ::apache::thrift::protocol::TType _etype833; + xfer += iprot->readListBegin(_etype833, _size830); + (*(this->success)).resize(_size830); + uint32_t _i834; + for (_i834 = 0; _i834 < _size830; ++_i834) { - xfer += iprot->readString((*(this->success))[_i816]); + xfer += iprot->readString((*(this->success))[_i834]); } xfer += iprot->readListEnd(); } @@ -5749,14 +6048,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 _size817; - ::apache::thrift::protocol::TType _etype820; - xfer += iprot->readListBegin(_etype820, _size817); - this->tbl_names.resize(_size817); - uint32_t _i821; - for (_i821 = 0; _i821 < _size817; ++_i821) + uint32_t _size835; + ::apache::thrift::protocol::TType _etype838; + xfer += iprot->readListBegin(_etype838, _size835); + this->tbl_names.resize(_size835); + uint32_t _i839; + for (_i839 = 0; _i839 < _size835; ++_i839) { - xfer += iprot->readString(this->tbl_names[_i821]); + xfer += iprot->readString(this->tbl_names[_i839]); } xfer += iprot->readListEnd(); } @@ -5789,10 +6088,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 _iter822; - for (_iter822 = this->tbl_names.begin(); _iter822 != this->tbl_names.end(); ++_iter822) + std::vector ::const_iterator _iter840; + for (_iter840 = this->tbl_names.begin(); _iter840 != this->tbl_names.end(); ++_iter840) { - xfer += oprot->writeString((*_iter822)); + xfer += oprot->writeString((*_iter840)); } xfer += oprot->writeListEnd(); } @@ -5820,10 +6119,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 _iter823; - for (_iter823 = (*(this->tbl_names)).begin(); _iter823 != (*(this->tbl_names)).end(); ++_iter823) + std::vector ::const_iterator _iter841; + for (_iter841 = (*(this->tbl_names)).begin(); _iter841 != (*(this->tbl_names)).end(); ++_iter841) { - xfer += oprot->writeString((*_iter823)); + xfer += oprot->writeString((*_iter841)); } xfer += oprot->writeListEnd(); } @@ -5864,14 +6163,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 _size824; - ::apache::thrift::protocol::TType _etype827; - xfer += iprot->readListBegin(_etype827, _size824); - this->success.resize(_size824); - uint32_t _i828; - for (_i828 = 0; _i828 < _size824; ++_i828) + uint32_t _size842; + ::apache::thrift::protocol::TType _etype845; + xfer += iprot->readListBegin(_etype845, _size842); + this->success.resize(_size842); + uint32_t _i846; + for (_i846 = 0; _i846 < _size842; ++_i846) { - xfer += this->success[_i828].read(iprot); + xfer += this->success[_i846].read(iprot); } xfer += iprot->readListEnd(); } @@ -5926,10 +6225,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 _iter829; - for (_iter829 = this->success.begin(); _iter829 != this->success.end(); ++_iter829) + std::vector
::const_iterator _iter847; + for (_iter847 = this->success.begin(); _iter847 != this->success.end(); ++_iter847) { - xfer += (*_iter829).write(oprot); + xfer += (*_iter847).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5982,14 +6281,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 _size830; - ::apache::thrift::protocol::TType _etype833; - xfer += iprot->readListBegin(_etype833, _size830); - (*(this->success)).resize(_size830); - uint32_t _i834; - for (_i834 = 0; _i834 < _size830; ++_i834) + uint32_t _size848; + ::apache::thrift::protocol::TType _etype851; + xfer += iprot->readListBegin(_etype851, _size848); + (*(this->success)).resize(_size848); + uint32_t _i852; + for (_i852 = 0; _i852 < _size848; ++_i852) { - xfer += (*(this->success))[_i834].read(iprot); + xfer += (*(this->success))[_i852].read(iprot); } xfer += iprot->readListEnd(); } @@ -6175,14 +6474,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 _size835; - ::apache::thrift::protocol::TType _etype838; - xfer += iprot->readListBegin(_etype838, _size835); - this->success.resize(_size835); - uint32_t _i839; - for (_i839 = 0; _i839 < _size835; ++_i839) + uint32_t _size853; + ::apache::thrift::protocol::TType _etype856; + xfer += iprot->readListBegin(_etype856, _size853); + this->success.resize(_size853); + uint32_t _i857; + for (_i857 = 0; _i857 < _size853; ++_i857) { - xfer += iprot->readString(this->success[_i839]); + xfer += iprot->readString(this->success[_i857]); } xfer += iprot->readListEnd(); } @@ -6237,10 +6536,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 _iter840; - for (_iter840 = this->success.begin(); _iter840 != this->success.end(); ++_iter840) + std::vector ::const_iterator _iter858; + for (_iter858 = this->success.begin(); _iter858 != this->success.end(); ++_iter858) { - xfer += oprot->writeString((*_iter840)); + xfer += oprot->writeString((*_iter858)); } xfer += oprot->writeListEnd(); } @@ -6293,14 +6592,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 _size841; - ::apache::thrift::protocol::TType _etype844; - xfer += iprot->readListBegin(_etype844, _size841); - (*(this->success)).resize(_size841); - uint32_t _i845; - for (_i845 = 0; _i845 < _size841; ++_i845) + uint32_t _size859; + ::apache::thrift::protocol::TType _etype862; + xfer += iprot->readListBegin(_etype862, _size859); + (*(this->success)).resize(_size859); + uint32_t _i863; + for (_i863 = 0; _i863 < _size859; ++_i863) { - xfer += iprot->readString((*(this->success))[_i845]); + xfer += iprot->readString((*(this->success))[_i863]); } xfer += iprot->readListEnd(); } @@ -7634,14 +7933,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size846; - ::apache::thrift::protocol::TType _etype849; - xfer += iprot->readListBegin(_etype849, _size846); - this->new_parts.resize(_size846); - uint32_t _i850; - for (_i850 = 0; _i850 < _size846; ++_i850) + uint32_t _size864; + ::apache::thrift::protocol::TType _etype867; + xfer += iprot->readListBegin(_etype867, _size864); + this->new_parts.resize(_size864); + uint32_t _i868; + for (_i868 = 0; _i868 < _size864; ++_i868) { - xfer += this->new_parts[_i850].read(iprot); + xfer += this->new_parts[_i868].read(iprot); } xfer += iprot->readListEnd(); } @@ -7670,10 +7969,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 _iter851; - for (_iter851 = this->new_parts.begin(); _iter851 != this->new_parts.end(); ++_iter851) + std::vector ::const_iterator _iter869; + for (_iter869 = this->new_parts.begin(); _iter869 != this->new_parts.end(); ++_iter869) { - xfer += (*_iter851).write(oprot); + xfer += (*_iter869).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7697,10 +7996,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 _iter852; - for (_iter852 = (*(this->new_parts)).begin(); _iter852 != (*(this->new_parts)).end(); ++_iter852) + std::vector ::const_iterator _iter870; + for (_iter870 = (*(this->new_parts)).begin(); _iter870 != (*(this->new_parts)).end(); ++_iter870) { - xfer += (*_iter852).write(oprot); + xfer += (*_iter870).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7909,14 +8208,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 _size853; - ::apache::thrift::protocol::TType _etype856; - xfer += iprot->readListBegin(_etype856, _size853); - this->new_parts.resize(_size853); - uint32_t _i857; - for (_i857 = 0; _i857 < _size853; ++_i857) + uint32_t _size871; + ::apache::thrift::protocol::TType _etype874; + xfer += iprot->readListBegin(_etype874, _size871); + this->new_parts.resize(_size871); + uint32_t _i875; + for (_i875 = 0; _i875 < _size871; ++_i875) { - xfer += this->new_parts[_i857].read(iprot); + xfer += this->new_parts[_i875].read(iprot); } xfer += iprot->readListEnd(); } @@ -7945,10 +8244,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 _iter858; - for (_iter858 = this->new_parts.begin(); _iter858 != this->new_parts.end(); ++_iter858) + std::vector ::const_iterator _iter876; + for (_iter876 = this->new_parts.begin(); _iter876 != this->new_parts.end(); ++_iter876) { - xfer += (*_iter858).write(oprot); + xfer += (*_iter876).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7972,10 +8271,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 _iter859; - for (_iter859 = (*(this->new_parts)).begin(); _iter859 != (*(this->new_parts)).end(); ++_iter859) + std::vector ::const_iterator _iter877; + for (_iter877 = (*(this->new_parts)).begin(); _iter877 != (*(this->new_parts)).end(); ++_iter877) { - xfer += (*_iter859).write(oprot); + xfer += (*_iter877).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8200,14 +8499,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size860; - ::apache::thrift::protocol::TType _etype863; - xfer += iprot->readListBegin(_etype863, _size860); - this->part_vals.resize(_size860); - uint32_t _i864; - for (_i864 = 0; _i864 < _size860; ++_i864) + uint32_t _size878; + ::apache::thrift::protocol::TType _etype881; + xfer += iprot->readListBegin(_etype881, _size878); + this->part_vals.resize(_size878); + uint32_t _i882; + for (_i882 = 0; _i882 < _size878; ++_i882) { - xfer += iprot->readString(this->part_vals[_i864]); + xfer += iprot->readString(this->part_vals[_i882]); } xfer += iprot->readListEnd(); } @@ -8244,10 +8543,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 _iter865; - for (_iter865 = this->part_vals.begin(); _iter865 != this->part_vals.end(); ++_iter865) + std::vector ::const_iterator _iter883; + for (_iter883 = this->part_vals.begin(); _iter883 != this->part_vals.end(); ++_iter883) { - xfer += oprot->writeString((*_iter865)); + xfer += oprot->writeString((*_iter883)); } xfer += oprot->writeListEnd(); } @@ -8279,10 +8578,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 _iter866; - for (_iter866 = (*(this->part_vals)).begin(); _iter866 != (*(this->part_vals)).end(); ++_iter866) + std::vector ::const_iterator _iter884; + for (_iter884 = (*(this->part_vals)).begin(); _iter884 != (*(this->part_vals)).end(); ++_iter884) { - xfer += oprot->writeString((*_iter866)); + xfer += oprot->writeString((*_iter884)); } xfer += oprot->writeListEnd(); } @@ -8754,14 +9053,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size867; - ::apache::thrift::protocol::TType _etype870; - xfer += iprot->readListBegin(_etype870, _size867); - this->part_vals.resize(_size867); - uint32_t _i871; - for (_i871 = 0; _i871 < _size867; ++_i871) + uint32_t _size885; + ::apache::thrift::protocol::TType _etype888; + xfer += iprot->readListBegin(_etype888, _size885); + this->part_vals.resize(_size885); + uint32_t _i889; + for (_i889 = 0; _i889 < _size885; ++_i889) { - xfer += iprot->readString(this->part_vals[_i871]); + xfer += iprot->readString(this->part_vals[_i889]); } xfer += iprot->readListEnd(); } @@ -8806,10 +9105,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 _iter872; - for (_iter872 = this->part_vals.begin(); _iter872 != this->part_vals.end(); ++_iter872) + std::vector ::const_iterator _iter890; + for (_iter890 = this->part_vals.begin(); _iter890 != this->part_vals.end(); ++_iter890) { - xfer += oprot->writeString((*_iter872)); + xfer += oprot->writeString((*_iter890)); } xfer += oprot->writeListEnd(); } @@ -8845,10 +9144,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 _iter873; - for (_iter873 = (*(this->part_vals)).begin(); _iter873 != (*(this->part_vals)).end(); ++_iter873) + std::vector ::const_iterator _iter891; + for (_iter891 = (*(this->part_vals)).begin(); _iter891 != (*(this->part_vals)).end(); ++_iter891) { - xfer += oprot->writeString((*_iter873)); + xfer += oprot->writeString((*_iter891)); } xfer += oprot->writeListEnd(); } @@ -9651,14 +9950,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size874; - ::apache::thrift::protocol::TType _etype877; - xfer += iprot->readListBegin(_etype877, _size874); - this->part_vals.resize(_size874); - uint32_t _i878; - for (_i878 = 0; _i878 < _size874; ++_i878) + uint32_t _size892; + ::apache::thrift::protocol::TType _etype895; + xfer += iprot->readListBegin(_etype895, _size892); + this->part_vals.resize(_size892); + uint32_t _i896; + for (_i896 = 0; _i896 < _size892; ++_i896) { - xfer += iprot->readString(this->part_vals[_i878]); + xfer += iprot->readString(this->part_vals[_i896]); } xfer += iprot->readListEnd(); } @@ -9703,10 +10002,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 _iter879; - for (_iter879 = this->part_vals.begin(); _iter879 != this->part_vals.end(); ++_iter879) + std::vector ::const_iterator _iter897; + for (_iter897 = this->part_vals.begin(); _iter897 != this->part_vals.end(); ++_iter897) { - xfer += oprot->writeString((*_iter879)); + xfer += oprot->writeString((*_iter897)); } xfer += oprot->writeListEnd(); } @@ -9742,10 +10041,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 _iter880; - for (_iter880 = (*(this->part_vals)).begin(); _iter880 != (*(this->part_vals)).end(); ++_iter880) + std::vector ::const_iterator _iter898; + for (_iter898 = (*(this->part_vals)).begin(); _iter898 != (*(this->part_vals)).end(); ++_iter898) { - xfer += oprot->writeString((*_iter880)); + xfer += oprot->writeString((*_iter898)); } xfer += oprot->writeListEnd(); } @@ -9954,14 +10253,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size881; - ::apache::thrift::protocol::TType _etype884; - xfer += iprot->readListBegin(_etype884, _size881); - this->part_vals.resize(_size881); - uint32_t _i885; - for (_i885 = 0; _i885 < _size881; ++_i885) + uint32_t _size899; + ::apache::thrift::protocol::TType _etype902; + xfer += iprot->readListBegin(_etype902, _size899); + this->part_vals.resize(_size899); + uint32_t _i903; + for (_i903 = 0; _i903 < _size899; ++_i903) { - xfer += iprot->readString(this->part_vals[_i885]); + xfer += iprot->readString(this->part_vals[_i903]); } xfer += iprot->readListEnd(); } @@ -10014,10 +10313,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 _iter886; - for (_iter886 = this->part_vals.begin(); _iter886 != this->part_vals.end(); ++_iter886) + std::vector ::const_iterator _iter904; + for (_iter904 = this->part_vals.begin(); _iter904 != this->part_vals.end(); ++_iter904) { - xfer += oprot->writeString((*_iter886)); + xfer += oprot->writeString((*_iter904)); } xfer += oprot->writeListEnd(); } @@ -10057,10 +10356,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 _iter887; - for (_iter887 = (*(this->part_vals)).begin(); _iter887 != (*(this->part_vals)).end(); ++_iter887) + std::vector ::const_iterator _iter905; + for (_iter905 = (*(this->part_vals)).begin(); _iter905 != (*(this->part_vals)).end(); ++_iter905) { - xfer += oprot->writeString((*_iter887)); + xfer += oprot->writeString((*_iter905)); } xfer += oprot->writeListEnd(); } @@ -11066,14 +11365,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size888; - ::apache::thrift::protocol::TType _etype891; - xfer += iprot->readListBegin(_etype891, _size888); - this->part_vals.resize(_size888); - uint32_t _i892; - for (_i892 = 0; _i892 < _size888; ++_i892) + uint32_t _size906; + ::apache::thrift::protocol::TType _etype909; + xfer += iprot->readListBegin(_etype909, _size906); + this->part_vals.resize(_size906); + uint32_t _i910; + for (_i910 = 0; _i910 < _size906; ++_i910) { - xfer += iprot->readString(this->part_vals[_i892]); + xfer += iprot->readString(this->part_vals[_i910]); } xfer += iprot->readListEnd(); } @@ -11110,10 +11409,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 _iter893; - for (_iter893 = this->part_vals.begin(); _iter893 != this->part_vals.end(); ++_iter893) + std::vector ::const_iterator _iter911; + for (_iter911 = this->part_vals.begin(); _iter911 != this->part_vals.end(); ++_iter911) { - xfer += oprot->writeString((*_iter893)); + xfer += oprot->writeString((*_iter911)); } xfer += oprot->writeListEnd(); } @@ -11145,10 +11444,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 _iter894; - for (_iter894 = (*(this->part_vals)).begin(); _iter894 != (*(this->part_vals)).end(); ++_iter894) + std::vector ::const_iterator _iter912; + for (_iter912 = (*(this->part_vals)).begin(); _iter912 != (*(this->part_vals)).end(); ++_iter912) { - xfer += oprot->writeString((*_iter894)); + xfer += oprot->writeString((*_iter912)); } xfer += oprot->writeListEnd(); } @@ -11337,17 +11636,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size895; - ::apache::thrift::protocol::TType _ktype896; - ::apache::thrift::protocol::TType _vtype897; - xfer += iprot->readMapBegin(_ktype896, _vtype897, _size895); - uint32_t _i899; - for (_i899 = 0; _i899 < _size895; ++_i899) + uint32_t _size913; + ::apache::thrift::protocol::TType _ktype914; + ::apache::thrift::protocol::TType _vtype915; + xfer += iprot->readMapBegin(_ktype914, _vtype915, _size913); + uint32_t _i917; + for (_i917 = 0; _i917 < _size913; ++_i917) { - std::string _key900; - xfer += iprot->readString(_key900); - std::string& _val901 = this->partitionSpecs[_key900]; - xfer += iprot->readString(_val901); + std::string _key918; + xfer += iprot->readString(_key918); + std::string& _val919 = this->partitionSpecs[_key918]; + xfer += iprot->readString(_val919); } xfer += iprot->readMapEnd(); } @@ -11408,11 +11707,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 _iter902; - for (_iter902 = this->partitionSpecs.begin(); _iter902 != this->partitionSpecs.end(); ++_iter902) + std::map ::const_iterator _iter920; + for (_iter920 = this->partitionSpecs.begin(); _iter920 != this->partitionSpecs.end(); ++_iter920) { - xfer += oprot->writeString(_iter902->first); - xfer += oprot->writeString(_iter902->second); + xfer += oprot->writeString(_iter920->first); + xfer += oprot->writeString(_iter920->second); } xfer += oprot->writeMapEnd(); } @@ -11452,11 +11751,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 _iter903; - for (_iter903 = (*(this->partitionSpecs)).begin(); _iter903 != (*(this->partitionSpecs)).end(); ++_iter903) + std::map ::const_iterator _iter921; + for (_iter921 = (*(this->partitionSpecs)).begin(); _iter921 != (*(this->partitionSpecs)).end(); ++_iter921) { - xfer += oprot->writeString(_iter903->first); - xfer += oprot->writeString(_iter903->second); + xfer += oprot->writeString(_iter921->first); + xfer += oprot->writeString(_iter921->second); } xfer += oprot->writeMapEnd(); } @@ -11717,14 +12016,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 _size904; - ::apache::thrift::protocol::TType _etype907; - xfer += iprot->readListBegin(_etype907, _size904); - this->part_vals.resize(_size904); - uint32_t _i908; - for (_i908 = 0; _i908 < _size904; ++_i908) + uint32_t _size922; + ::apache::thrift::protocol::TType _etype925; + xfer += iprot->readListBegin(_etype925, _size922); + this->part_vals.resize(_size922); + uint32_t _i926; + for (_i926 = 0; _i926 < _size922; ++_i926) { - xfer += iprot->readString(this->part_vals[_i908]); + xfer += iprot->readString(this->part_vals[_i926]); } xfer += iprot->readListEnd(); } @@ -11745,14 +12044,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 _size909; - ::apache::thrift::protocol::TType _etype912; - xfer += iprot->readListBegin(_etype912, _size909); - this->group_names.resize(_size909); - uint32_t _i913; - for (_i913 = 0; _i913 < _size909; ++_i913) + uint32_t _size927; + ::apache::thrift::protocol::TType _etype930; + xfer += iprot->readListBegin(_etype930, _size927); + this->group_names.resize(_size927); + uint32_t _i931; + for (_i931 = 0; _i931 < _size927; ++_i931) { - xfer += iprot->readString(this->group_names[_i913]); + xfer += iprot->readString(this->group_names[_i931]); } xfer += iprot->readListEnd(); } @@ -11789,10 +12088,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 _iter914; - for (_iter914 = this->part_vals.begin(); _iter914 != this->part_vals.end(); ++_iter914) + std::vector ::const_iterator _iter932; + for (_iter932 = this->part_vals.begin(); _iter932 != this->part_vals.end(); ++_iter932) { - xfer += oprot->writeString((*_iter914)); + xfer += oprot->writeString((*_iter932)); } xfer += oprot->writeListEnd(); } @@ -11805,10 +12104,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 _iter915; - for (_iter915 = this->group_names.begin(); _iter915 != this->group_names.end(); ++_iter915) + std::vector ::const_iterator _iter933; + for (_iter933 = this->group_names.begin(); _iter933 != this->group_names.end(); ++_iter933) { - xfer += oprot->writeString((*_iter915)); + xfer += oprot->writeString((*_iter933)); } xfer += oprot->writeListEnd(); } @@ -11840,10 +12139,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 _iter916; - for (_iter916 = (*(this->part_vals)).begin(); _iter916 != (*(this->part_vals)).end(); ++_iter916) + std::vector ::const_iterator _iter934; + for (_iter934 = (*(this->part_vals)).begin(); _iter934 != (*(this->part_vals)).end(); ++_iter934) { - xfer += oprot->writeString((*_iter916)); + xfer += oprot->writeString((*_iter934)); } xfer += oprot->writeListEnd(); } @@ -11856,10 +12155,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 _iter917; - for (_iter917 = (*(this->group_names)).begin(); _iter917 != (*(this->group_names)).end(); ++_iter917) + std::vector ::const_iterator _iter935; + for (_iter935 = (*(this->group_names)).begin(); _iter935 != (*(this->group_names)).end(); ++_iter935) { - xfer += oprot->writeString((*_iter917)); + xfer += oprot->writeString((*_iter935)); } xfer += oprot->writeListEnd(); } @@ -12418,14 +12717,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size918; - ::apache::thrift::protocol::TType _etype921; - xfer += iprot->readListBegin(_etype921, _size918); - this->success.resize(_size918); - uint32_t _i922; - for (_i922 = 0; _i922 < _size918; ++_i922) + uint32_t _size936; + ::apache::thrift::protocol::TType _etype939; + xfer += iprot->readListBegin(_etype939, _size936); + this->success.resize(_size936); + uint32_t _i940; + for (_i940 = 0; _i940 < _size936; ++_i940) { - xfer += this->success[_i922].read(iprot); + xfer += this->success[_i940].read(iprot); } xfer += iprot->readListEnd(); } @@ -12472,10 +12771,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 _iter923; - for (_iter923 = this->success.begin(); _iter923 != this->success.end(); ++_iter923) + std::vector ::const_iterator _iter941; + for (_iter941 = this->success.begin(); _iter941 != this->success.end(); ++_iter941) { - xfer += (*_iter923).write(oprot); + xfer += (*_iter941).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12524,14 +12823,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size924; - ::apache::thrift::protocol::TType _etype927; - xfer += iprot->readListBegin(_etype927, _size924); - (*(this->success)).resize(_size924); - uint32_t _i928; - for (_i928 = 0; _i928 < _size924; ++_i928) + uint32_t _size942; + ::apache::thrift::protocol::TType _etype945; + xfer += iprot->readListBegin(_etype945, _size942); + (*(this->success)).resize(_size942); + uint32_t _i946; + for (_i946 = 0; _i946 < _size942; ++_i946) { - xfer += (*(this->success))[_i928].read(iprot); + xfer += (*(this->success))[_i946].read(iprot); } xfer += iprot->readListEnd(); } @@ -12630,14 +12929,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 _size929; - ::apache::thrift::protocol::TType _etype932; - xfer += iprot->readListBegin(_etype932, _size929); - this->group_names.resize(_size929); - uint32_t _i933; - for (_i933 = 0; _i933 < _size929; ++_i933) + uint32_t _size947; + ::apache::thrift::protocol::TType _etype950; + xfer += iprot->readListBegin(_etype950, _size947); + this->group_names.resize(_size947); + uint32_t _i951; + for (_i951 = 0; _i951 < _size947; ++_i951) { - xfer += iprot->readString(this->group_names[_i933]); + xfer += iprot->readString(this->group_names[_i951]); } xfer += iprot->readListEnd(); } @@ -12682,10 +12981,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 _iter934; - for (_iter934 = this->group_names.begin(); _iter934 != this->group_names.end(); ++_iter934) + std::vector ::const_iterator _iter952; + for (_iter952 = this->group_names.begin(); _iter952 != this->group_names.end(); ++_iter952) { - xfer += oprot->writeString((*_iter934)); + xfer += oprot->writeString((*_iter952)); } xfer += oprot->writeListEnd(); } @@ -12725,10 +13024,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 _iter935; - for (_iter935 = (*(this->group_names)).begin(); _iter935 != (*(this->group_names)).end(); ++_iter935) + std::vector ::const_iterator _iter953; + for (_iter953 = (*(this->group_names)).begin(); _iter953 != (*(this->group_names)).end(); ++_iter953) { - xfer += oprot->writeString((*_iter935)); + xfer += oprot->writeString((*_iter953)); } xfer += oprot->writeListEnd(); } @@ -12769,14 +13068,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size936; - ::apache::thrift::protocol::TType _etype939; - xfer += iprot->readListBegin(_etype939, _size936); - this->success.resize(_size936); - uint32_t _i940; - for (_i940 = 0; _i940 < _size936; ++_i940) + uint32_t _size954; + ::apache::thrift::protocol::TType _etype957; + xfer += iprot->readListBegin(_etype957, _size954); + this->success.resize(_size954); + uint32_t _i958; + for (_i958 = 0; _i958 < _size954; ++_i958) { - xfer += this->success[_i940].read(iprot); + xfer += this->success[_i958].read(iprot); } xfer += iprot->readListEnd(); } @@ -12823,10 +13122,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 _iter941; - for (_iter941 = this->success.begin(); _iter941 != this->success.end(); ++_iter941) + std::vector ::const_iterator _iter959; + for (_iter959 = this->success.begin(); _iter959 != this->success.end(); ++_iter959) { - xfer += (*_iter941).write(oprot); + xfer += (*_iter959).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12875,14 +13174,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size942; - ::apache::thrift::protocol::TType _etype945; - xfer += iprot->readListBegin(_etype945, _size942); - (*(this->success)).resize(_size942); - uint32_t _i946; - for (_i946 = 0; _i946 < _size942; ++_i946) + uint32_t _size960; + ::apache::thrift::protocol::TType _etype963; + xfer += iprot->readListBegin(_etype963, _size960); + (*(this->success)).resize(_size960); + uint32_t _i964; + for (_i964 = 0; _i964 < _size960; ++_i964) { - xfer += (*(this->success))[_i946].read(iprot); + xfer += (*(this->success))[_i964].read(iprot); } xfer += iprot->readListEnd(); } @@ -13060,14 +13359,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size947; - ::apache::thrift::protocol::TType _etype950; - xfer += iprot->readListBegin(_etype950, _size947); - this->success.resize(_size947); - uint32_t _i951; - for (_i951 = 0; _i951 < _size947; ++_i951) + uint32_t _size965; + ::apache::thrift::protocol::TType _etype968; + xfer += iprot->readListBegin(_etype968, _size965); + this->success.resize(_size965); + uint32_t _i969; + for (_i969 = 0; _i969 < _size965; ++_i969) { - xfer += this->success[_i951].read(iprot); + xfer += this->success[_i969].read(iprot); } xfer += iprot->readListEnd(); } @@ -13114,10 +13413,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 _iter952; - for (_iter952 = this->success.begin(); _iter952 != this->success.end(); ++_iter952) + std::vector ::const_iterator _iter970; + for (_iter970 = this->success.begin(); _iter970 != this->success.end(); ++_iter970) { - xfer += (*_iter952).write(oprot); + xfer += (*_iter970).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13166,14 +13465,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size953; - ::apache::thrift::protocol::TType _etype956; - xfer += iprot->readListBegin(_etype956, _size953); - (*(this->success)).resize(_size953); - uint32_t _i957; - for (_i957 = 0; _i957 < _size953; ++_i957) + uint32_t _size971; + ::apache::thrift::protocol::TType _etype974; + xfer += iprot->readListBegin(_etype974, _size971); + (*(this->success)).resize(_size971); + uint32_t _i975; + for (_i975 = 0; _i975 < _size971; ++_i975) { - xfer += (*(this->success))[_i957].read(iprot); + xfer += (*(this->success))[_i975].read(iprot); } xfer += iprot->readListEnd(); } @@ -13351,14 +13650,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size958; - ::apache::thrift::protocol::TType _etype961; - xfer += iprot->readListBegin(_etype961, _size958); - this->success.resize(_size958); - uint32_t _i962; - for (_i962 = 0; _i962 < _size958; ++_i962) + uint32_t _size976; + ::apache::thrift::protocol::TType _etype979; + xfer += iprot->readListBegin(_etype979, _size976); + this->success.resize(_size976); + uint32_t _i980; + for (_i980 = 0; _i980 < _size976; ++_i980) { - xfer += iprot->readString(this->success[_i962]); + xfer += iprot->readString(this->success[_i980]); } xfer += iprot->readListEnd(); } @@ -13397,10 +13696,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 _iter963; - for (_iter963 = this->success.begin(); _iter963 != this->success.end(); ++_iter963) + std::vector ::const_iterator _iter981; + for (_iter981 = this->success.begin(); _iter981 != this->success.end(); ++_iter981) { - xfer += oprot->writeString((*_iter963)); + xfer += oprot->writeString((*_iter981)); } xfer += oprot->writeListEnd(); } @@ -13445,14 +13744,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size964; - ::apache::thrift::protocol::TType _etype967; - xfer += iprot->readListBegin(_etype967, _size964); - (*(this->success)).resize(_size964); - uint32_t _i968; - for (_i968 = 0; _i968 < _size964; ++_i968) + uint32_t _size982; + ::apache::thrift::protocol::TType _etype985; + xfer += iprot->readListBegin(_etype985, _size982); + (*(this->success)).resize(_size982); + uint32_t _i986; + for (_i986 = 0; _i986 < _size982; ++_i986) { - xfer += iprot->readString((*(this->success))[_i968]); + xfer += iprot->readString((*(this->success))[_i986]); } xfer += iprot->readListEnd(); } @@ -13527,14 +13826,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 _size969; - ::apache::thrift::protocol::TType _etype972; - xfer += iprot->readListBegin(_etype972, _size969); - this->part_vals.resize(_size969); - uint32_t _i973; - for (_i973 = 0; _i973 < _size969; ++_i973) + 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) { - xfer += iprot->readString(this->part_vals[_i973]); + xfer += iprot->readString(this->part_vals[_i991]); } xfer += iprot->readListEnd(); } @@ -13579,10 +13878,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 _iter974; - for (_iter974 = this->part_vals.begin(); _iter974 != this->part_vals.end(); ++_iter974) + std::vector ::const_iterator _iter992; + for (_iter992 = this->part_vals.begin(); _iter992 != this->part_vals.end(); ++_iter992) { - xfer += oprot->writeString((*_iter974)); + xfer += oprot->writeString((*_iter992)); } xfer += oprot->writeListEnd(); } @@ -13618,10 +13917,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 _iter975; - for (_iter975 = (*(this->part_vals)).begin(); _iter975 != (*(this->part_vals)).end(); ++_iter975) + std::vector ::const_iterator _iter993; + for (_iter993 = (*(this->part_vals)).begin(); _iter993 != (*(this->part_vals)).end(); ++_iter993) { - xfer += oprot->writeString((*_iter975)); + xfer += oprot->writeString((*_iter993)); } xfer += oprot->writeListEnd(); } @@ -13666,14 +13965,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size976; - ::apache::thrift::protocol::TType _etype979; - xfer += iprot->readListBegin(_etype979, _size976); - this->success.resize(_size976); - uint32_t _i980; - for (_i980 = 0; _i980 < _size976; ++_i980) + uint32_t _size994; + ::apache::thrift::protocol::TType _etype997; + xfer += iprot->readListBegin(_etype997, _size994); + this->success.resize(_size994); + uint32_t _i998; + for (_i998 = 0; _i998 < _size994; ++_i998) { - xfer += this->success[_i980].read(iprot); + xfer += this->success[_i998].read(iprot); } xfer += iprot->readListEnd(); } @@ -13720,10 +14019,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 _iter981; - for (_iter981 = this->success.begin(); _iter981 != this->success.end(); ++_iter981) + std::vector ::const_iterator _iter999; + for (_iter999 = this->success.begin(); _iter999 != this->success.end(); ++_iter999) { - xfer += (*_iter981).write(oprot); + xfer += (*_iter999).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13772,14 +14071,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size982; - ::apache::thrift::protocol::TType _etype985; - xfer += iprot->readListBegin(_etype985, _size982); - (*(this->success)).resize(_size982); - uint32_t _i986; - for (_i986 = 0; _i986 < _size982; ++_i986) + uint32_t _size1000; + ::apache::thrift::protocol::TType _etype1003; + xfer += iprot->readListBegin(_etype1003, _size1000); + (*(this->success)).resize(_size1000); + uint32_t _i1004; + for (_i1004 = 0; _i1004 < _size1000; ++_i1004) { - xfer += (*(this->success))[_i986].read(iprot); + xfer += (*(this->success))[_i1004].read(iprot); } xfer += iprot->readListEnd(); } @@ -13862,14 +14161,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 _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 _size1005; + ::apache::thrift::protocol::TType _etype1008; + xfer += iprot->readListBegin(_etype1008, _size1005); + this->part_vals.resize(_size1005); + uint32_t _i1009; + for (_i1009 = 0; _i1009 < _size1005; ++_i1009) { - xfer += iprot->readString(this->part_vals[_i991]); + xfer += iprot->readString(this->part_vals[_i1009]); } xfer += iprot->readListEnd(); } @@ -13898,14 +14197,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 _size992; - ::apache::thrift::protocol::TType _etype995; - xfer += iprot->readListBegin(_etype995, _size992); - this->group_names.resize(_size992); - uint32_t _i996; - for (_i996 = 0; _i996 < _size992; ++_i996) + uint32_t _size1010; + ::apache::thrift::protocol::TType _etype1013; + xfer += iprot->readListBegin(_etype1013, _size1010); + this->group_names.resize(_size1010); + uint32_t _i1014; + for (_i1014 = 0; _i1014 < _size1010; ++_i1014) { - xfer += iprot->readString(this->group_names[_i996]); + xfer += iprot->readString(this->group_names[_i1014]); } xfer += iprot->readListEnd(); } @@ -13942,10 +14241,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 _iter997; - for (_iter997 = this->part_vals.begin(); _iter997 != this->part_vals.end(); ++_iter997) + std::vector ::const_iterator _iter1015; + for (_iter1015 = this->part_vals.begin(); _iter1015 != this->part_vals.end(); ++_iter1015) { - xfer += oprot->writeString((*_iter997)); + xfer += oprot->writeString((*_iter1015)); } xfer += oprot->writeListEnd(); } @@ -13962,10 +14261,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 _iter998; - for (_iter998 = this->group_names.begin(); _iter998 != this->group_names.end(); ++_iter998) + std::vector ::const_iterator _iter1016; + for (_iter1016 = this->group_names.begin(); _iter1016 != this->group_names.end(); ++_iter1016) { - xfer += oprot->writeString((*_iter998)); + xfer += oprot->writeString((*_iter1016)); } xfer += oprot->writeListEnd(); } @@ -13997,10 +14296,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 _iter999; - for (_iter999 = (*(this->part_vals)).begin(); _iter999 != (*(this->part_vals)).end(); ++_iter999) + std::vector ::const_iterator _iter1017; + for (_iter1017 = (*(this->part_vals)).begin(); _iter1017 != (*(this->part_vals)).end(); ++_iter1017) { - xfer += oprot->writeString((*_iter999)); + xfer += oprot->writeString((*_iter1017)); } xfer += oprot->writeListEnd(); } @@ -14017,10 +14316,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 _iter1000; - for (_iter1000 = (*(this->group_names)).begin(); _iter1000 != (*(this->group_names)).end(); ++_iter1000) + std::vector ::const_iterator _iter1018; + for (_iter1018 = (*(this->group_names)).begin(); _iter1018 != (*(this->group_names)).end(); ++_iter1018) { - xfer += oprot->writeString((*_iter1000)); + xfer += oprot->writeString((*_iter1018)); } xfer += oprot->writeListEnd(); } @@ -14061,14 +14360,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1001; - ::apache::thrift::protocol::TType _etype1004; - xfer += iprot->readListBegin(_etype1004, _size1001); - this->success.resize(_size1001); - uint32_t _i1005; - for (_i1005 = 0; _i1005 < _size1001; ++_i1005) + uint32_t _size1019; + ::apache::thrift::protocol::TType _etype1022; + xfer += iprot->readListBegin(_etype1022, _size1019); + this->success.resize(_size1019); + uint32_t _i1023; + for (_i1023 = 0; _i1023 < _size1019; ++_i1023) { - xfer += this->success[_i1005].read(iprot); + xfer += this->success[_i1023].read(iprot); } xfer += iprot->readListEnd(); } @@ -14115,10 +14414,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 _iter1006; - for (_iter1006 = this->success.begin(); _iter1006 != this->success.end(); ++_iter1006) + std::vector ::const_iterator _iter1024; + for (_iter1024 = this->success.begin(); _iter1024 != this->success.end(); ++_iter1024) { - xfer += (*_iter1006).write(oprot); + xfer += (*_iter1024).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14167,14 +14466,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1007; - ::apache::thrift::protocol::TType _etype1010; - xfer += iprot->readListBegin(_etype1010, _size1007); - (*(this->success)).resize(_size1007); - uint32_t _i1011; - for (_i1011 = 0; _i1011 < _size1007; ++_i1011) + uint32_t _size1025; + ::apache::thrift::protocol::TType _etype1028; + xfer += iprot->readListBegin(_etype1028, _size1025); + (*(this->success)).resize(_size1025); + uint32_t _i1029; + for (_i1029 = 0; _i1029 < _size1025; ++_i1029) { - xfer += (*(this->success))[_i1011].read(iprot); + xfer += (*(this->success))[_i1029].read(iprot); } xfer += iprot->readListEnd(); } @@ -14257,14 +14556,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 _size1012; - ::apache::thrift::protocol::TType _etype1015; - xfer += iprot->readListBegin(_etype1015, _size1012); - this->part_vals.resize(_size1012); - uint32_t _i1016; - for (_i1016 = 0; _i1016 < _size1012; ++_i1016) + uint32_t _size1030; + ::apache::thrift::protocol::TType _etype1033; + xfer += iprot->readListBegin(_etype1033, _size1030); + this->part_vals.resize(_size1030); + uint32_t _i1034; + for (_i1034 = 0; _i1034 < _size1030; ++_i1034) { - xfer += iprot->readString(this->part_vals[_i1016]); + xfer += iprot->readString(this->part_vals[_i1034]); } xfer += iprot->readListEnd(); } @@ -14309,10 +14608,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 _iter1017; - for (_iter1017 = this->part_vals.begin(); _iter1017 != this->part_vals.end(); ++_iter1017) + std::vector ::const_iterator _iter1035; + for (_iter1035 = this->part_vals.begin(); _iter1035 != this->part_vals.end(); ++_iter1035) { - xfer += oprot->writeString((*_iter1017)); + xfer += oprot->writeString((*_iter1035)); } xfer += oprot->writeListEnd(); } @@ -14348,10 +14647,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 _iter1018; - for (_iter1018 = (*(this->part_vals)).begin(); _iter1018 != (*(this->part_vals)).end(); ++_iter1018) + std::vector ::const_iterator _iter1036; + for (_iter1036 = (*(this->part_vals)).begin(); _iter1036 != (*(this->part_vals)).end(); ++_iter1036) { - xfer += oprot->writeString((*_iter1018)); + xfer += oprot->writeString((*_iter1036)); } xfer += oprot->writeListEnd(); } @@ -14396,14 +14695,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1019; - ::apache::thrift::protocol::TType _etype1022; - xfer += iprot->readListBegin(_etype1022, _size1019); - this->success.resize(_size1019); - uint32_t _i1023; - for (_i1023 = 0; _i1023 < _size1019; ++_i1023) + 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) { - xfer += iprot->readString(this->success[_i1023]); + xfer += iprot->readString(this->success[_i1041]); } xfer += iprot->readListEnd(); } @@ -14450,10 +14749,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 _iter1024; - for (_iter1024 = this->success.begin(); _iter1024 != this->success.end(); ++_iter1024) + std::vector ::const_iterator _iter1042; + for (_iter1042 = this->success.begin(); _iter1042 != this->success.end(); ++_iter1042) { - xfer += oprot->writeString((*_iter1024)); + xfer += oprot->writeString((*_iter1042)); } xfer += oprot->writeListEnd(); } @@ -14502,14 +14801,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1025; - ::apache::thrift::protocol::TType _etype1028; - xfer += iprot->readListBegin(_etype1028, _size1025); - (*(this->success)).resize(_size1025); - uint32_t _i1029; - for (_i1029 = 0; _i1029 < _size1025; ++_i1029) + 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) { - xfer += iprot->readString((*(this->success))[_i1029]); + xfer += iprot->readString((*(this->success))[_i1047]); } xfer += iprot->readListEnd(); } @@ -14703,14 +15002,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1030; - ::apache::thrift::protocol::TType _etype1033; - xfer += iprot->readListBegin(_etype1033, _size1030); - this->success.resize(_size1030); - uint32_t _i1034; - for (_i1034 = 0; _i1034 < _size1030; ++_i1034) + 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[_i1034].read(iprot); + xfer += this->success[_i1052].read(iprot); } xfer += iprot->readListEnd(); } @@ -14757,10 +15056,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 _iter1035; - for (_iter1035 = this->success.begin(); _iter1035 != this->success.end(); ++_iter1035) + std::vector ::const_iterator _iter1053; + for (_iter1053 = this->success.begin(); _iter1053 != this->success.end(); ++_iter1053) { - xfer += (*_iter1035).write(oprot); + xfer += (*_iter1053).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14809,14 +15108,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1036; - ::apache::thrift::protocol::TType _etype1039; - xfer += iprot->readListBegin(_etype1039, _size1036); - (*(this->success)).resize(_size1036); - uint32_t _i1040; - for (_i1040 = 0; _i1040 < _size1036; ++_i1040) + 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))[_i1040].read(iprot); + xfer += (*(this->success))[_i1058].read(iprot); } xfer += iprot->readListEnd(); } @@ -15010,14 +15309,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 _size1041; - ::apache::thrift::protocol::TType _etype1044; - xfer += iprot->readListBegin(_etype1044, _size1041); - this->success.resize(_size1041); - uint32_t _i1045; - for (_i1045 = 0; _i1045 < _size1041; ++_i1045) + uint32_t _size1059; + ::apache::thrift::protocol::TType _etype1062; + xfer += iprot->readListBegin(_etype1062, _size1059); + this->success.resize(_size1059); + uint32_t _i1063; + for (_i1063 = 0; _i1063 < _size1059; ++_i1063) { - xfer += this->success[_i1045].read(iprot); + xfer += this->success[_i1063].read(iprot); } xfer += iprot->readListEnd(); } @@ -15064,10 +15363,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 _iter1046; - for (_iter1046 = this->success.begin(); _iter1046 != this->success.end(); ++_iter1046) + std::vector ::const_iterator _iter1064; + for (_iter1064 = this->success.begin(); _iter1064 != this->success.end(); ++_iter1064) { - xfer += (*_iter1046).write(oprot); + xfer += (*_iter1064).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15116,14 +15415,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 _size1047; - ::apache::thrift::protocol::TType _etype1050; - xfer += iprot->readListBegin(_etype1050, _size1047); - (*(this->success)).resize(_size1047); - uint32_t _i1051; - for (_i1051 = 0; _i1051 < _size1047; ++_i1051) + uint32_t _size1065; + ::apache::thrift::protocol::TType _etype1068; + xfer += iprot->readListBegin(_etype1068, _size1065); + (*(this->success)).resize(_size1065); + uint32_t _i1069; + for (_i1069 = 0; _i1069 < _size1065; ++_i1069) { - xfer += (*(this->success))[_i1051].read(iprot); + xfer += (*(this->success))[_i1069].read(iprot); } xfer += iprot->readListEnd(); } @@ -15433,14 +15732,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1052; - ::apache::thrift::protocol::TType _etype1055; - xfer += iprot->readListBegin(_etype1055, _size1052); - this->names.resize(_size1052); - uint32_t _i1056; - for (_i1056 = 0; _i1056 < _size1052; ++_i1056) + uint32_t _size1070; + ::apache::thrift::protocol::TType _etype1073; + xfer += iprot->readListBegin(_etype1073, _size1070); + this->names.resize(_size1070); + uint32_t _i1074; + for (_i1074 = 0; _i1074 < _size1070; ++_i1074) { - xfer += iprot->readString(this->names[_i1056]); + xfer += iprot->readString(this->names[_i1074]); } xfer += iprot->readListEnd(); } @@ -15477,10 +15776,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 _iter1057; - for (_iter1057 = this->names.begin(); _iter1057 != this->names.end(); ++_iter1057) + std::vector ::const_iterator _iter1075; + for (_iter1075 = this->names.begin(); _iter1075 != this->names.end(); ++_iter1075) { - xfer += oprot->writeString((*_iter1057)); + xfer += oprot->writeString((*_iter1075)); } xfer += oprot->writeListEnd(); } @@ -15512,10 +15811,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 _iter1058; - for (_iter1058 = (*(this->names)).begin(); _iter1058 != (*(this->names)).end(); ++_iter1058) + std::vector ::const_iterator _iter1076; + for (_iter1076 = (*(this->names)).begin(); _iter1076 != (*(this->names)).end(); ++_iter1076) { - xfer += oprot->writeString((*_iter1058)); + xfer += oprot->writeString((*_iter1076)); } xfer += oprot->writeListEnd(); } @@ -15556,14 +15855,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1059; - ::apache::thrift::protocol::TType _etype1062; - xfer += iprot->readListBegin(_etype1062, _size1059); - this->success.resize(_size1059); - uint32_t _i1063; - for (_i1063 = 0; _i1063 < _size1059; ++_i1063) + 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[_i1063].read(iprot); + xfer += this->success[_i1081].read(iprot); } xfer += iprot->readListEnd(); } @@ -15610,10 +15909,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 _iter1064; - for (_iter1064 = this->success.begin(); _iter1064 != this->success.end(); ++_iter1064) + std::vector ::const_iterator _iter1082; + for (_iter1082 = this->success.begin(); _iter1082 != this->success.end(); ++_iter1082) { - xfer += (*_iter1064).write(oprot); + xfer += (*_iter1082).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15662,14 +15961,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1065; - ::apache::thrift::protocol::TType _etype1068; - xfer += iprot->readListBegin(_etype1068, _size1065); - (*(this->success)).resize(_size1065); - uint32_t _i1069; - for (_i1069 = 0; _i1069 < _size1065; ++_i1069) + 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))[_i1069].read(iprot); + xfer += (*(this->success))[_i1087].read(iprot); } xfer += iprot->readListEnd(); } @@ -15991,14 +16290,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1070; - ::apache::thrift::protocol::TType _etype1073; - xfer += iprot->readListBegin(_etype1073, _size1070); - this->new_parts.resize(_size1070); - uint32_t _i1074; - for (_i1074 = 0; _i1074 < _size1070; ++_i1074) + uint32_t _size1088; + ::apache::thrift::protocol::TType _etype1091; + xfer += iprot->readListBegin(_etype1091, _size1088); + this->new_parts.resize(_size1088); + uint32_t _i1092; + for (_i1092 = 0; _i1092 < _size1088; ++_i1092) { - xfer += this->new_parts[_i1074].read(iprot); + xfer += this->new_parts[_i1092].read(iprot); } xfer += iprot->readListEnd(); } @@ -16035,10 +16334,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 _iter1075; - for (_iter1075 = this->new_parts.begin(); _iter1075 != this->new_parts.end(); ++_iter1075) + std::vector ::const_iterator _iter1093; + for (_iter1093 = this->new_parts.begin(); _iter1093 != this->new_parts.end(); ++_iter1093) { - xfer += (*_iter1075).write(oprot); + xfer += (*_iter1093).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16070,10 +16369,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 _iter1076; - for (_iter1076 = (*(this->new_parts)).begin(); _iter1076 != (*(this->new_parts)).end(); ++_iter1076) + std::vector ::const_iterator _iter1094; + for (_iter1094 = (*(this->new_parts)).begin(); _iter1094 != (*(this->new_parts)).end(); ++_iter1094) { - xfer += (*_iter1076).write(oprot); + xfer += (*_iter1094).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16513,14 +16812,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1077; - ::apache::thrift::protocol::TType _etype1080; - xfer += iprot->readListBegin(_etype1080, _size1077); - this->part_vals.resize(_size1077); - uint32_t _i1081; - for (_i1081 = 0; _i1081 < _size1077; ++_i1081) + uint32_t _size1095; + ::apache::thrift::protocol::TType _etype1098; + xfer += iprot->readListBegin(_etype1098, _size1095); + this->part_vals.resize(_size1095); + uint32_t _i1099; + for (_i1099 = 0; _i1099 < _size1095; ++_i1099) { - xfer += iprot->readString(this->part_vals[_i1081]); + xfer += iprot->readString(this->part_vals[_i1099]); } xfer += iprot->readListEnd(); } @@ -16565,10 +16864,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 _iter1082; - for (_iter1082 = this->part_vals.begin(); _iter1082 != this->part_vals.end(); ++_iter1082) + std::vector ::const_iterator _iter1100; + for (_iter1100 = this->part_vals.begin(); _iter1100 != this->part_vals.end(); ++_iter1100) { - xfer += oprot->writeString((*_iter1082)); + xfer += oprot->writeString((*_iter1100)); } xfer += oprot->writeListEnd(); } @@ -16604,10 +16903,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 _iter1083; - for (_iter1083 = (*(this->part_vals)).begin(); _iter1083 != (*(this->part_vals)).end(); ++_iter1083) + std::vector ::const_iterator _iter1101; + for (_iter1101 = (*(this->part_vals)).begin(); _iter1101 != (*(this->part_vals)).end(); ++_iter1101) { - xfer += oprot->writeString((*_iter1083)); + xfer += oprot->writeString((*_iter1101)); } xfer += oprot->writeListEnd(); } @@ -16780,14 +17079,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 _size1084; - ::apache::thrift::protocol::TType _etype1087; - xfer += iprot->readListBegin(_etype1087, _size1084); - this->part_vals.resize(_size1084); - uint32_t _i1088; - for (_i1088 = 0; _i1088 < _size1084; ++_i1088) + uint32_t _size1102; + ::apache::thrift::protocol::TType _etype1105; + xfer += iprot->readListBegin(_etype1105, _size1102); + this->part_vals.resize(_size1102); + uint32_t _i1106; + for (_i1106 = 0; _i1106 < _size1102; ++_i1106) { - xfer += iprot->readString(this->part_vals[_i1088]); + xfer += iprot->readString(this->part_vals[_i1106]); } xfer += iprot->readListEnd(); } @@ -16824,10 +17123,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 _iter1089; - for (_iter1089 = this->part_vals.begin(); _iter1089 != this->part_vals.end(); ++_iter1089) + std::vector ::const_iterator _iter1107; + for (_iter1107 = this->part_vals.begin(); _iter1107 != this->part_vals.end(); ++_iter1107) { - xfer += oprot->writeString((*_iter1089)); + xfer += oprot->writeString((*_iter1107)); } xfer += oprot->writeListEnd(); } @@ -16855,10 +17154,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 _iter1090; - for (_iter1090 = (*(this->part_vals)).begin(); _iter1090 != (*(this->part_vals)).end(); ++_iter1090) + std::vector ::const_iterator _iter1108; + for (_iter1108 = (*(this->part_vals)).begin(); _iter1108 != (*(this->part_vals)).end(); ++_iter1108) { - xfer += oprot->writeString((*_iter1090)); + xfer += oprot->writeString((*_iter1108)); } xfer += oprot->writeListEnd(); } @@ -17333,14 +17632,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1091; - ::apache::thrift::protocol::TType _etype1094; - xfer += iprot->readListBegin(_etype1094, _size1091); - this->success.resize(_size1091); - uint32_t _i1095; - for (_i1095 = 0; _i1095 < _size1091; ++_i1095) + uint32_t _size1109; + ::apache::thrift::protocol::TType _etype1112; + xfer += iprot->readListBegin(_etype1112, _size1109); + this->success.resize(_size1109); + uint32_t _i1113; + for (_i1113 = 0; _i1113 < _size1109; ++_i1113) { - xfer += iprot->readString(this->success[_i1095]); + xfer += iprot->readString(this->success[_i1113]); } xfer += iprot->readListEnd(); } @@ -17379,10 +17678,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 _iter1096; - for (_iter1096 = this->success.begin(); _iter1096 != this->success.end(); ++_iter1096) + std::vector ::const_iterator _iter1114; + for (_iter1114 = this->success.begin(); _iter1114 != this->success.end(); ++_iter1114) { - xfer += oprot->writeString((*_iter1096)); + xfer += oprot->writeString((*_iter1114)); } xfer += oprot->writeListEnd(); } @@ -17427,14 +17726,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1097; - ::apache::thrift::protocol::TType _etype1100; - xfer += iprot->readListBegin(_etype1100, _size1097); - (*(this->success)).resize(_size1097); - uint32_t _i1101; - for (_i1101 = 0; _i1101 < _size1097; ++_i1101) + uint32_t _size1115; + ::apache::thrift::protocol::TType _etype1118; + xfer += iprot->readListBegin(_etype1118, _size1115); + (*(this->success)).resize(_size1115); + uint32_t _i1119; + for (_i1119 = 0; _i1119 < _size1115; ++_i1119) { - xfer += iprot->readString((*(this->success))[_i1101]); + xfer += iprot->readString((*(this->success))[_i1119]); } xfer += iprot->readListEnd(); } @@ -17572,17 +17871,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1102; - ::apache::thrift::protocol::TType _ktype1103; - ::apache::thrift::protocol::TType _vtype1104; - xfer += iprot->readMapBegin(_ktype1103, _vtype1104, _size1102); - uint32_t _i1106; - for (_i1106 = 0; _i1106 < _size1102; ++_i1106) + uint32_t _size1120; + ::apache::thrift::protocol::TType _ktype1121; + ::apache::thrift::protocol::TType _vtype1122; + xfer += iprot->readMapBegin(_ktype1121, _vtype1122, _size1120); + uint32_t _i1124; + for (_i1124 = 0; _i1124 < _size1120; ++_i1124) { - std::string _key1107; - xfer += iprot->readString(_key1107); - std::string& _val1108 = this->success[_key1107]; - xfer += iprot->readString(_val1108); + std::string _key1125; + xfer += iprot->readString(_key1125); + std::string& _val1126 = this->success[_key1125]; + xfer += iprot->readString(_val1126); } xfer += iprot->readMapEnd(); } @@ -17621,11 +17920,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 _iter1109; - for (_iter1109 = this->success.begin(); _iter1109 != this->success.end(); ++_iter1109) + std::map ::const_iterator _iter1127; + for (_iter1127 = this->success.begin(); _iter1127 != this->success.end(); ++_iter1127) { - xfer += oprot->writeString(_iter1109->first); - xfer += oprot->writeString(_iter1109->second); + xfer += oprot->writeString(_iter1127->first); + xfer += oprot->writeString(_iter1127->second); } xfer += oprot->writeMapEnd(); } @@ -17670,17 +17969,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1110; - ::apache::thrift::protocol::TType _ktype1111; - ::apache::thrift::protocol::TType _vtype1112; - xfer += iprot->readMapBegin(_ktype1111, _vtype1112, _size1110); - uint32_t _i1114; - for (_i1114 = 0; _i1114 < _size1110; ++_i1114) + uint32_t _size1128; + ::apache::thrift::protocol::TType _ktype1129; + ::apache::thrift::protocol::TType _vtype1130; + xfer += iprot->readMapBegin(_ktype1129, _vtype1130, _size1128); + uint32_t _i1132; + for (_i1132 = 0; _i1132 < _size1128; ++_i1132) { - std::string _key1115; - xfer += iprot->readString(_key1115); - std::string& _val1116 = (*(this->success))[_key1115]; - xfer += iprot->readString(_val1116); + std::string _key1133; + xfer += iprot->readString(_key1133); + std::string& _val1134 = (*(this->success))[_key1133]; + xfer += iprot->readString(_val1134); } xfer += iprot->readMapEnd(); } @@ -17755,17 +18054,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1117; - ::apache::thrift::protocol::TType _ktype1118; - ::apache::thrift::protocol::TType _vtype1119; - xfer += iprot->readMapBegin(_ktype1118, _vtype1119, _size1117); - uint32_t _i1121; - for (_i1121 = 0; _i1121 < _size1117; ++_i1121) + uint32_t _size1135; + ::apache::thrift::protocol::TType _ktype1136; + ::apache::thrift::protocol::TType _vtype1137; + xfer += iprot->readMapBegin(_ktype1136, _vtype1137, _size1135); + uint32_t _i1139; + for (_i1139 = 0; _i1139 < _size1135; ++_i1139) { - std::string _key1122; - xfer += iprot->readString(_key1122); - std::string& _val1123 = this->part_vals[_key1122]; - xfer += iprot->readString(_val1123); + std::string _key1140; + xfer += iprot->readString(_key1140); + std::string& _val1141 = this->part_vals[_key1140]; + xfer += iprot->readString(_val1141); } xfer += iprot->readMapEnd(); } @@ -17776,9 +18075,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1124; - xfer += iprot->readI32(ecast1124); - this->eventType = (PartitionEventType::type)ecast1124; + int32_t ecast1142; + xfer += iprot->readI32(ecast1142); + this->eventType = (PartitionEventType::type)ecast1142; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -17812,11 +18111,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 _iter1125; - for (_iter1125 = this->part_vals.begin(); _iter1125 != this->part_vals.end(); ++_iter1125) + std::map ::const_iterator _iter1143; + for (_iter1143 = this->part_vals.begin(); _iter1143 != this->part_vals.end(); ++_iter1143) { - xfer += oprot->writeString(_iter1125->first); - xfer += oprot->writeString(_iter1125->second); + xfer += oprot->writeString(_iter1143->first); + xfer += oprot->writeString(_iter1143->second); } xfer += oprot->writeMapEnd(); } @@ -17852,11 +18151,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 _iter1126; - for (_iter1126 = (*(this->part_vals)).begin(); _iter1126 != (*(this->part_vals)).end(); ++_iter1126) + std::map ::const_iterator _iter1144; + for (_iter1144 = (*(this->part_vals)).begin(); _iter1144 != (*(this->part_vals)).end(); ++_iter1144) { - xfer += oprot->writeString(_iter1126->first); - xfer += oprot->writeString(_iter1126->second); + xfer += oprot->writeString(_iter1144->first); + xfer += oprot->writeString(_iter1144->second); } xfer += oprot->writeMapEnd(); } @@ -18125,17 +18424,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1127; - ::apache::thrift::protocol::TType _ktype1128; - ::apache::thrift::protocol::TType _vtype1129; - xfer += iprot->readMapBegin(_ktype1128, _vtype1129, _size1127); - uint32_t _i1131; - for (_i1131 = 0; _i1131 < _size1127; ++_i1131) + uint32_t _size1145; + ::apache::thrift::protocol::TType _ktype1146; + ::apache::thrift::protocol::TType _vtype1147; + xfer += iprot->readMapBegin(_ktype1146, _vtype1147, _size1145); + uint32_t _i1149; + for (_i1149 = 0; _i1149 < _size1145; ++_i1149) { - std::string _key1132; - xfer += iprot->readString(_key1132); - std::string& _val1133 = this->part_vals[_key1132]; - xfer += iprot->readString(_val1133); + std::string _key1150; + xfer += iprot->readString(_key1150); + std::string& _val1151 = this->part_vals[_key1150]; + xfer += iprot->readString(_val1151); } xfer += iprot->readMapEnd(); } @@ -18146,9 +18445,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1134; - xfer += iprot->readI32(ecast1134); - this->eventType = (PartitionEventType::type)ecast1134; + int32_t ecast1152; + xfer += iprot->readI32(ecast1152); + this->eventType = (PartitionEventType::type)ecast1152; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -18182,11 +18481,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 _iter1135; - for (_iter1135 = this->part_vals.begin(); _iter1135 != this->part_vals.end(); ++_iter1135) + std::map ::const_iterator _iter1153; + for (_iter1153 = this->part_vals.begin(); _iter1153 != this->part_vals.end(); ++_iter1153) { - xfer += oprot->writeString(_iter1135->first); - xfer += oprot->writeString(_iter1135->second); + xfer += oprot->writeString(_iter1153->first); + xfer += oprot->writeString(_iter1153->second); } xfer += oprot->writeMapEnd(); } @@ -18222,11 +18521,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 _iter1136; - for (_iter1136 = (*(this->part_vals)).begin(); _iter1136 != (*(this->part_vals)).end(); ++_iter1136) + std::map ::const_iterator _iter1154; + for (_iter1154 = (*(this->part_vals)).begin(); _iter1154 != (*(this->part_vals)).end(); ++_iter1154) { - xfer += oprot->writeString(_iter1136->first); - xfer += oprot->writeString(_iter1136->second); + xfer += oprot->writeString(_iter1154->first); + xfer += oprot->writeString(_iter1154->second); } xfer += oprot->writeMapEnd(); } @@ -19662,14 +19961,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + 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 += this->success[_i1141].read(iprot); + xfer += this->success[_i1159].read(iprot); } xfer += iprot->readListEnd(); } @@ -19716,10 +20015,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 _iter1142; - for (_iter1142 = this->success.begin(); _iter1142 != this->success.end(); ++_iter1142) + std::vector ::const_iterator _iter1160; + for (_iter1160 = this->success.begin(); _iter1160 != this->success.end(); ++_iter1160) { - xfer += (*_iter1142).write(oprot); + xfer += (*_iter1160).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19768,14 +20067,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1143; - ::apache::thrift::protocol::TType _etype1146; - xfer += iprot->readListBegin(_etype1146, _size1143); - (*(this->success)).resize(_size1143); - uint32_t _i1147; - for (_i1147 = 0; _i1147 < _size1143; ++_i1147) + uint32_t _size1161; + ::apache::thrift::protocol::TType _etype1164; + xfer += iprot->readListBegin(_etype1164, _size1161); + (*(this->success)).resize(_size1161); + uint32_t _i1165; + for (_i1165 = 0; _i1165 < _size1161; ++_i1165) { - xfer += (*(this->success))[_i1147].read(iprot); + xfer += (*(this->success))[_i1165].read(iprot); } xfer += iprot->readListEnd(); } @@ -19953,14 +20252,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1148; - ::apache::thrift::protocol::TType _etype1151; - xfer += iprot->readListBegin(_etype1151, _size1148); - this->success.resize(_size1148); - uint32_t _i1152; - for (_i1152 = 0; _i1152 < _size1148; ++_i1152) + 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 += iprot->readString(this->success[_i1152]); + xfer += iprot->readString(this->success[_i1170]); } xfer += iprot->readListEnd(); } @@ -19999,10 +20298,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 _iter1153; - for (_iter1153 = this->success.begin(); _iter1153 != this->success.end(); ++_iter1153) + std::vector ::const_iterator _iter1171; + for (_iter1171 = this->success.begin(); _iter1171 != this->success.end(); ++_iter1171) { - xfer += oprot->writeString((*_iter1153)); + xfer += oprot->writeString((*_iter1171)); } xfer += oprot->writeListEnd(); } @@ -20047,14 +20346,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1154; - ::apache::thrift::protocol::TType _etype1157; - xfer += iprot->readListBegin(_etype1157, _size1154); - (*(this->success)).resize(_size1154); - uint32_t _i1158; - for (_i1158 = 0; _i1158 < _size1154; ++_i1158) + uint32_t _size1172; + ::apache::thrift::protocol::TType _etype1175; + xfer += iprot->readListBegin(_etype1175, _size1172); + (*(this->success)).resize(_size1172); + uint32_t _i1176; + for (_i1176 = 0; _i1176 < _size1172; ++_i1176) { - xfer += iprot->readString((*(this->success))[_i1158]); + xfer += iprot->readString((*(this->success))[_i1176]); } xfer += iprot->readListEnd(); } @@ -23627,14 +23926,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1159; - ::apache::thrift::protocol::TType _etype1162; - xfer += iprot->readListBegin(_etype1162, _size1159); - this->success.resize(_size1159); - uint32_t _i1163; - for (_i1163 = 0; _i1163 < _size1159; ++_i1163) + 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 += iprot->readString(this->success[_i1163]); + xfer += iprot->readString(this->success[_i1181]); } xfer += iprot->readListEnd(); } @@ -23673,10 +23972,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 _iter1164; - for (_iter1164 = this->success.begin(); _iter1164 != this->success.end(); ++_iter1164) + std::vector ::const_iterator _iter1182; + for (_iter1182 = this->success.begin(); _iter1182 != this->success.end(); ++_iter1182) { - xfer += oprot->writeString((*_iter1164)); + xfer += oprot->writeString((*_iter1182)); } xfer += oprot->writeListEnd(); } @@ -23721,14 +24020,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1165; - ::apache::thrift::protocol::TType _etype1168; - xfer += iprot->readListBegin(_etype1168, _size1165); - (*(this->success)).resize(_size1165); - uint32_t _i1169; - for (_i1169 = 0; _i1169 < _size1165; ++_i1169) + uint32_t _size1183; + ::apache::thrift::protocol::TType _etype1186; + xfer += iprot->readListBegin(_etype1186, _size1183); + (*(this->success)).resize(_size1183); + uint32_t _i1187; + for (_i1187 = 0; _i1187 < _size1183; ++_i1187) { - xfer += iprot->readString((*(this->success))[_i1169]); + xfer += iprot->readString((*(this->success))[_i1187]); } xfer += iprot->readListEnd(); } @@ -24688,14 +24987,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1170; - ::apache::thrift::protocol::TType _etype1173; - xfer += iprot->readListBegin(_etype1173, _size1170); - this->success.resize(_size1170); - uint32_t _i1174; - for (_i1174 = 0; _i1174 < _size1170; ++_i1174) + uint32_t _size1188; + ::apache::thrift::protocol::TType _etype1191; + xfer += iprot->readListBegin(_etype1191, _size1188); + this->success.resize(_size1188); + uint32_t _i1192; + for (_i1192 = 0; _i1192 < _size1188; ++_i1192) { - xfer += iprot->readString(this->success[_i1174]); + xfer += iprot->readString(this->success[_i1192]); } xfer += iprot->readListEnd(); } @@ -24734,10 +25033,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 _iter1175; - for (_iter1175 = this->success.begin(); _iter1175 != this->success.end(); ++_iter1175) + std::vector ::const_iterator _iter1193; + for (_iter1193 = this->success.begin(); _iter1193 != this->success.end(); ++_iter1193) { - xfer += oprot->writeString((*_iter1175)); + xfer += oprot->writeString((*_iter1193)); } xfer += oprot->writeListEnd(); } @@ -24782,14 +25081,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1176; - ::apache::thrift::protocol::TType _etype1179; - xfer += iprot->readListBegin(_etype1179, _size1176); - (*(this->success)).resize(_size1176); - uint32_t _i1180; - for (_i1180 = 0; _i1180 < _size1176; ++_i1180) + uint32_t _size1194; + ::apache::thrift::protocol::TType _etype1197; + xfer += iprot->readListBegin(_etype1197, _size1194); + (*(this->success)).resize(_size1194); + uint32_t _i1198; + for (_i1198 = 0; _i1198 < _size1194; ++_i1198) { - xfer += iprot->readString((*(this->success))[_i1180]); + xfer += iprot->readString((*(this->success))[_i1198]); } xfer += iprot->readListEnd(); } @@ -24862,9 +25161,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1181; - xfer += iprot->readI32(ecast1181); - this->principal_type = (PrincipalType::type)ecast1181; + int32_t ecast1199; + xfer += iprot->readI32(ecast1199); + this->principal_type = (PrincipalType::type)ecast1199; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -24880,9 +25179,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1182; - xfer += iprot->readI32(ecast1182); - this->grantorType = (PrincipalType::type)ecast1182; + int32_t ecast1200; + xfer += iprot->readI32(ecast1200); + this->grantorType = (PrincipalType::type)ecast1200; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -25153,9 +25452,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1183; - xfer += iprot->readI32(ecast1183); - this->principal_type = (PrincipalType::type)ecast1183; + int32_t ecast1201; + xfer += iprot->readI32(ecast1201); + this->principal_type = (PrincipalType::type)ecast1201; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -25386,9 +25685,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1184; - xfer += iprot->readI32(ecast1184); - this->principal_type = (PrincipalType::type)ecast1184; + int32_t ecast1202; + xfer += iprot->readI32(ecast1202); + this->principal_type = (PrincipalType::type)ecast1202; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -25477,14 +25776,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1185; - ::apache::thrift::protocol::TType _etype1188; - xfer += iprot->readListBegin(_etype1188, _size1185); - this->success.resize(_size1185); - uint32_t _i1189; - for (_i1189 = 0; _i1189 < _size1185; ++_i1189) + uint32_t _size1203; + ::apache::thrift::protocol::TType _etype1206; + xfer += iprot->readListBegin(_etype1206, _size1203); + this->success.resize(_size1203); + uint32_t _i1207; + for (_i1207 = 0; _i1207 < _size1203; ++_i1207) { - xfer += this->success[_i1189].read(iprot); + xfer += this->success[_i1207].read(iprot); } xfer += iprot->readListEnd(); } @@ -25523,10 +25822,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 _iter1190; - for (_iter1190 = this->success.begin(); _iter1190 != this->success.end(); ++_iter1190) + std::vector ::const_iterator _iter1208; + for (_iter1208 = this->success.begin(); _iter1208 != this->success.end(); ++_iter1208) { - xfer += (*_iter1190).write(oprot); + xfer += (*_iter1208).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25571,14 +25870,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1191; - ::apache::thrift::protocol::TType _etype1194; - xfer += iprot->readListBegin(_etype1194, _size1191); - (*(this->success)).resize(_size1191); - uint32_t _i1195; - for (_i1195 = 0; _i1195 < _size1191; ++_i1195) + uint32_t _size1209; + ::apache::thrift::protocol::TType _etype1212; + xfer += iprot->readListBegin(_etype1212, _size1209); + (*(this->success)).resize(_size1209); + uint32_t _i1213; + for (_i1213 = 0; _i1213 < _size1209; ++_i1213) { - xfer += (*(this->success))[_i1195].read(iprot); + xfer += (*(this->success))[_i1213].read(iprot); } xfer += iprot->readListEnd(); } @@ -26274,14 +26573,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 _size1196; - ::apache::thrift::protocol::TType _etype1199; - xfer += iprot->readListBegin(_etype1199, _size1196); - this->group_names.resize(_size1196); - uint32_t _i1200; - for (_i1200 = 0; _i1200 < _size1196; ++_i1200) + uint32_t _size1214; + ::apache::thrift::protocol::TType _etype1217; + xfer += iprot->readListBegin(_etype1217, _size1214); + this->group_names.resize(_size1214); + uint32_t _i1218; + for (_i1218 = 0; _i1218 < _size1214; ++_i1218) { - xfer += iprot->readString(this->group_names[_i1200]); + xfer += iprot->readString(this->group_names[_i1218]); } xfer += iprot->readListEnd(); } @@ -26318,10 +26617,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 _iter1201; - for (_iter1201 = this->group_names.begin(); _iter1201 != this->group_names.end(); ++_iter1201) + std::vector ::const_iterator _iter1219; + for (_iter1219 = this->group_names.begin(); _iter1219 != this->group_names.end(); ++_iter1219) { - xfer += oprot->writeString((*_iter1201)); + xfer += oprot->writeString((*_iter1219)); } xfer += oprot->writeListEnd(); } @@ -26353,10 +26652,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 _iter1202; - for (_iter1202 = (*(this->group_names)).begin(); _iter1202 != (*(this->group_names)).end(); ++_iter1202) + std::vector ::const_iterator _iter1220; + for (_iter1220 = (*(this->group_names)).begin(); _iter1220 != (*(this->group_names)).end(); ++_iter1220) { - xfer += oprot->writeString((*_iter1202)); + xfer += oprot->writeString((*_iter1220)); } xfer += oprot->writeListEnd(); } @@ -26531,9 +26830,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1203; - xfer += iprot->readI32(ecast1203); - this->principal_type = (PrincipalType::type)ecast1203; + int32_t ecast1221; + xfer += iprot->readI32(ecast1221); + this->principal_type = (PrincipalType::type)ecast1221; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -26638,14 +26937,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1204; - ::apache::thrift::protocol::TType _etype1207; - xfer += iprot->readListBegin(_etype1207, _size1204); - this->success.resize(_size1204); - uint32_t _i1208; - for (_i1208 = 0; _i1208 < _size1204; ++_i1208) + uint32_t _size1222; + ::apache::thrift::protocol::TType _etype1225; + xfer += iprot->readListBegin(_etype1225, _size1222); + this->success.resize(_size1222); + uint32_t _i1226; + for (_i1226 = 0; _i1226 < _size1222; ++_i1226) { - xfer += this->success[_i1208].read(iprot); + xfer += this->success[_i1226].read(iprot); } xfer += iprot->readListEnd(); } @@ -26684,10 +26983,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 _iter1209; - for (_iter1209 = this->success.begin(); _iter1209 != this->success.end(); ++_iter1209) + std::vector ::const_iterator _iter1227; + for (_iter1227 = this->success.begin(); _iter1227 != this->success.end(); ++_iter1227) { - xfer += (*_iter1209).write(oprot); + xfer += (*_iter1227).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26732,14 +27031,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1210; - ::apache::thrift::protocol::TType _etype1213; - xfer += iprot->readListBegin(_etype1213, _size1210); - (*(this->success)).resize(_size1210); - uint32_t _i1214; - for (_i1214 = 0; _i1214 < _size1210; ++_i1214) + 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 += (*(this->success))[_i1214].read(iprot); + xfer += (*(this->success))[_i1232].read(iprot); } xfer += iprot->readListEnd(); } @@ -27427,14 +27726,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 _size1215; - ::apache::thrift::protocol::TType _etype1218; - xfer += iprot->readListBegin(_etype1218, _size1215); - this->group_names.resize(_size1215); - uint32_t _i1219; - for (_i1219 = 0; _i1219 < _size1215; ++_i1219) + uint32_t _size1233; + ::apache::thrift::protocol::TType _etype1236; + xfer += iprot->readListBegin(_etype1236, _size1233); + this->group_names.resize(_size1233); + uint32_t _i1237; + for (_i1237 = 0; _i1237 < _size1233; ++_i1237) { - xfer += iprot->readString(this->group_names[_i1219]); + xfer += iprot->readString(this->group_names[_i1237]); } xfer += iprot->readListEnd(); } @@ -27467,10 +27766,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 _iter1220; - for (_iter1220 = this->group_names.begin(); _iter1220 != this->group_names.end(); ++_iter1220) + std::vector ::const_iterator _iter1238; + for (_iter1238 = this->group_names.begin(); _iter1238 != this->group_names.end(); ++_iter1238) { - xfer += oprot->writeString((*_iter1220)); + xfer += oprot->writeString((*_iter1238)); } xfer += oprot->writeListEnd(); } @@ -27498,10 +27797,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 _iter1221; - for (_iter1221 = (*(this->group_names)).begin(); _iter1221 != (*(this->group_names)).end(); ++_iter1221) + std::vector ::const_iterator _iter1239; + for (_iter1239 = (*(this->group_names)).begin(); _iter1239 != (*(this->group_names)).end(); ++_iter1239) { - xfer += oprot->writeString((*_iter1221)); + xfer += oprot->writeString((*_iter1239)); } xfer += oprot->writeListEnd(); } @@ -27542,14 +27841,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1222; - ::apache::thrift::protocol::TType _etype1225; - xfer += iprot->readListBegin(_etype1225, _size1222); - this->success.resize(_size1222); - uint32_t _i1226; - for (_i1226 = 0; _i1226 < _size1222; ++_i1226) + uint32_t _size1240; + ::apache::thrift::protocol::TType _etype1243; + xfer += iprot->readListBegin(_etype1243, _size1240); + this->success.resize(_size1240); + uint32_t _i1244; + for (_i1244 = 0; _i1244 < _size1240; ++_i1244) { - xfer += iprot->readString(this->success[_i1226]); + xfer += iprot->readString(this->success[_i1244]); } xfer += iprot->readListEnd(); } @@ -27588,10 +27887,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 _iter1227; - for (_iter1227 = this->success.begin(); _iter1227 != this->success.end(); ++_iter1227) + std::vector ::const_iterator _iter1245; + for (_iter1245 = this->success.begin(); _iter1245 != this->success.end(); ++_iter1245) { - xfer += oprot->writeString((*_iter1227)); + xfer += oprot->writeString((*_iter1245)); } xfer += oprot->writeListEnd(); } @@ -27636,14 +27935,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1246; + ::apache::thrift::protocol::TType _etype1249; + xfer += iprot->readListBegin(_etype1249, _size1246); + (*(this->success)).resize(_size1246); + uint32_t _i1250; + for (_i1250 = 0; _i1250 < _size1246; ++_i1250) { - xfer += iprot->readString((*(this->success))[_i1232]); + xfer += iprot->readString((*(this->success))[_i1250]); } xfer += iprot->readListEnd(); } @@ -33792,6 +34091,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_table_metas(std::vector & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types) +{ + send_get_table_metas(db_patterns, tbl_patterns, tbl_types); + recv_get_table_metas(_return); +} + +void ThriftHiveMetastoreClient::send_get_table_metas(const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("get_table_metas", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_table_metas_pargs args; + args.db_patterns = &db_patterns; + args.tbl_patterns = &tbl_patterns; + args.tbl_types = &tbl_types; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_get_table_metas(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_table_metas") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_get_table_metas_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_table_metas failed: unknown result"); +} + void ThriftHiveMetastoreClient::get_all_tables(std::vector & _return, const std::string& db_name) { send_get_all_tables(db_name); @@ -41959,6 +42321,63 @@ void ThriftHiveMetastoreProcessor::process_get_tables(int32_t seqid, ::apache::t } } +void ThriftHiveMetastoreProcessor::process_get_table_metas(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_table_metas", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.get_table_metas"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_table_metas"); + } + + ThriftHiveMetastore_get_table_metas_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_table_metas", bytes); + } + + ThriftHiveMetastore_get_table_metas_result result; + try { + iface_->get_table_metas(result.success, args.db_patterns, args.tbl_patterns, args.tbl_types); + 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_table_metas"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("get_table_metas", ::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_table_metas"); + } + + oprot->writeMessageBegin("get_table_metas", ::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_table_metas", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_get_all_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; @@ -50292,6 +50711,96 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_tables(std::vector & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types) +{ + int32_t seqid = send_get_table_metas(db_patterns, tbl_patterns, tbl_types); + recv_get_table_metas(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_table_metas(const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_table_metas", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_table_metas_pargs args; + args.db_patterns = &db_patterns; + args.tbl_patterns = &tbl_patterns; + args.tbl_types = &tbl_types; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_table_metas(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_table_metas") != 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_table_metas_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_table_metas 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_all_tables(std::vector & _return, const std::string& db_name) { int32_t seqid = send_get_all_tables(db_name); diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index c8f16a7..dd7e06c 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -43,6 +43,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_table_metas(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; virtual void get_table_objects_by_name(std::vector
& _return, const std::string& dbname, const std::vector & tbl_names) = 0; @@ -245,6 +246,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_table_metas(std::vector & /* _return */, const std::string& /* db_patterns */, const std::string& /* tbl_patterns */, const std::vector & /* tbl_types */) { + return; + } void get_all_tables(std::vector & /* _return */, const std::string& /* db_name */) { return; } @@ -3195,6 +3199,132 @@ class ThriftHiveMetastore_get_tables_presult { }; +typedef struct _ThriftHiveMetastore_get_table_metas_args__isset { + _ThriftHiveMetastore_get_table_metas_args__isset() : db_patterns(false), tbl_patterns(false), tbl_types(false) {} + bool db_patterns :1; + bool tbl_patterns :1; + bool tbl_types :1; +} _ThriftHiveMetastore_get_table_metas_args__isset; + +class ThriftHiveMetastore_get_table_metas_args { + public: + + ThriftHiveMetastore_get_table_metas_args(const ThriftHiveMetastore_get_table_metas_args&); + ThriftHiveMetastore_get_table_metas_args& operator=(const ThriftHiveMetastore_get_table_metas_args&); + ThriftHiveMetastore_get_table_metas_args() : db_patterns(), tbl_patterns() { + } + + virtual ~ThriftHiveMetastore_get_table_metas_args() throw(); + std::string db_patterns; + std::string tbl_patterns; + std::vector tbl_types; + + _ThriftHiveMetastore_get_table_metas_args__isset __isset; + + void __set_db_patterns(const std::string& val); + + void __set_tbl_patterns(const std::string& val); + + void __set_tbl_types(const std::vector & val); + + bool operator == (const ThriftHiveMetastore_get_table_metas_args & rhs) const + { + if (!(db_patterns == rhs.db_patterns)) + return false; + if (!(tbl_patterns == rhs.tbl_patterns)) + return false; + if (!(tbl_types == rhs.tbl_types)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_table_metas_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_table_metas_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_get_table_metas_pargs { + public: + + + virtual ~ThriftHiveMetastore_get_table_metas_pargs() throw(); + const std::string* db_patterns; + const std::string* tbl_patterns; + const std::vector * tbl_types; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_table_metas_result__isset { + _ThriftHiveMetastore_get_table_metas_result__isset() : success(false), o1(false) {} + bool success :1; + bool o1 :1; +} _ThriftHiveMetastore_get_table_metas_result__isset; + +class ThriftHiveMetastore_get_table_metas_result { + public: + + ThriftHiveMetastore_get_table_metas_result(const ThriftHiveMetastore_get_table_metas_result&); + ThriftHiveMetastore_get_table_metas_result& operator=(const ThriftHiveMetastore_get_table_metas_result&); + ThriftHiveMetastore_get_table_metas_result() { + } + + virtual ~ThriftHiveMetastore_get_table_metas_result() throw(); + std::vector success; + MetaException o1; + + _ThriftHiveMetastore_get_table_metas_result__isset __isset; + + void __set_success(const std::vector & val); + + void __set_o1(const MetaException& val); + + bool operator == (const ThriftHiveMetastore_get_table_metas_result & rhs) const + { + if (!(success == rhs.success)) + return false; + if (!(o1 == rhs.o1)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_table_metas_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_table_metas_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_table_metas_presult__isset { + _ThriftHiveMetastore_get_table_metas_presult__isset() : success(false), o1(false) {} + bool success :1; + bool o1 :1; +} _ThriftHiveMetastore_get_table_metas_presult__isset; + +class ThriftHiveMetastore_get_table_metas_presult { + public: + + + virtual ~ThriftHiveMetastore_get_table_metas_presult() throw(); + std::vector * success; + MetaException o1; + + _ThriftHiveMetastore_get_table_metas_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_get_all_tables_args__isset { _ThriftHiveMetastore_get_all_tables_args__isset() : db_name(false) {} bool db_name :1; @@ -16799,6 +16929,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_table_metas(std::vector & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types); + void send_get_table_metas(const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types); + void recv_get_table_metas(std::vector & _return); void get_all_tables(std::vector & _return, const std::string& db_name); void send_get_all_tables(const std::string& db_name); void recv_get_all_tables(std::vector & _return); @@ -17154,6 +17287,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_table_metas(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); void process_get_table_objects_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -17287,6 +17421,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_table_metas"] = &ThriftHiveMetastoreProcessor::process_get_table_metas; processMap_["get_all_tables"] = &ThriftHiveMetastoreProcessor::process_get_all_tables; processMap_["get_table"] = &ThriftHiveMetastoreProcessor::process_get_table; processMap_["get_table_objects_by_name"] = &ThriftHiveMetastoreProcessor::process_get_table_objects_by_name; @@ -17628,6 +17763,16 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } + void get_table_metas(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; + for (; i < (sz - 1); ++i) { + ifaces_[i]->get_table_metas(_return, db_patterns, tbl_patterns, tbl_types); + } + ifaces_[i]->get_table_metas(_return, db_patterns, tbl_patterns, tbl_types); + return; + } + void get_all_tables(std::vector & _return, const std::string& db_name) { size_t sz = ifaces_.size(); size_t i = 0; @@ -18746,6 +18891,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_table_metas(std::vector & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types); + int32_t send_get_table_metas(const std::string& db_patterns, const std::string& tbl_patterns, const std::vector & tbl_types); + void recv_get_table_metas(std::vector & _return, const int32_t seqid); void get_all_tables(std::vector & _return, const std::string& db_name); int32_t send_get_all_tables(const std::string& db_name); void recv_get_all_tables(std::vector & _return, const int32_t seqid); diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index 9eca65c..4647b32 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -127,6 +127,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("get_tables\n"); } + void get_table_metas(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_metas\n"); + } + void get_all_tables(std::vector & _return, const std::string& db_name) { // Your implementation goes here printf("get_all_tables\n"); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 0c67416..4e4bea1 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -84,6 +84,8 @@ public List get_tables(String db_name, String pattern) throws MetaException, org.apache.thrift.TException; + public List get_table_metas(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; public Table get_table(String dbname, String tbl_name) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; @@ -346,6 +348,8 @@ public void get_tables(String db_name, String pattern, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_table_metas(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; public void get_table(String dbname, String tbl_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -1200,6 +1204,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_table_metas(String db_patterns, String tbl_patterns, List tbl_types) throws MetaException, org.apache.thrift.TException + { + send_get_table_metas(db_patterns, tbl_patterns, tbl_types); + return recv_get_table_metas(); + } + + public void send_get_table_metas(String db_patterns, String tbl_patterns, List tbl_types) throws org.apache.thrift.TException + { + get_table_metas_args args = new get_table_metas_args(); + args.setDb_patterns(db_patterns); + args.setTbl_patterns(tbl_patterns); + args.setTbl_types(tbl_types); + sendBase("get_table_metas", args); + } + + public List recv_get_table_metas() throws MetaException, org.apache.thrift.TException + { + get_table_metas_result result = new get_table_metas_result(); + receiveBase(result, "get_table_metas"); + 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_table_metas failed: unknown result"); + } + public List get_all_tables(String db_name) throws MetaException, org.apache.thrift.TException { send_get_all_tables(db_name); @@ -5088,6 +5120,44 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apa } } + public void get_table_metas(String db_patterns, String tbl_patterns, List tbl_types, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + get_table_metas_call method_call = new get_table_metas_call(db_patterns, tbl_patterns, tbl_types, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class get_table_metas_call extends org.apache.thrift.async.TAsyncMethodCall { + private String db_patterns; + private String tbl_patterns; + private List tbl_types; + public get_table_metas_call(String db_patterns, String tbl_patterns, List tbl_types, org.apache.thrift.async.AsyncMethodCallback 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_patterns = db_patterns; + this.tbl_patterns = tbl_patterns; + this.tbl_types = tbl_types; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_table_metas", org.apache.thrift.protocol.TMessageType.CALL, 0)); + get_table_metas_args args = new get_table_metas_args(); + args.setDb_patterns(db_patterns); + args.setTbl_patterns(tbl_patterns); + args.setTbl_types(tbl_types); + 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_table_metas(); + } + } + public void get_all_tables(String db_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_all_tables_call method_call = new get_all_tables_call(db_name, resultHandler, this, ___protocolFactory, ___transport); @@ -8974,6 +9044,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public get_table_metas() { + super("get_table_metas"); + } + + public get_table_metas_args getEmptyArgsInstance() { + return new get_table_metas_args(); + } + + protected boolean isOneway() { + return false; + } + + public get_table_metas_result getResult(I iface, get_table_metas_args args) throws org.apache.thrift.TException { + get_table_metas_result result = new get_table_metas_result(); + try { + result.success = iface.get_table_metas(args.db_patterns, args.tbl_patterns, args.tbl_types); + } catch (MetaException o1) { + result.o1 = o1; + } + return result; + } + } + public static class get_all_tables extends org.apache.thrift.ProcessFunction { public get_all_tables() { super("get_all_tables"); @@ -12440,6 +12535,7 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction> { + public get_table_metas() { + super("get_table_metas"); + } + + public get_table_metas_args getEmptyArgsInstance() { + return new get_table_metas_args(); + } + + public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(List o) { + get_table_metas_result result = new get_table_metas_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_table_metas_result result = new get_table_metas_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_table_metas_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { + iface.get_table_metas(args.db_patterns, args.tbl_patterns, args.tbl_types,resultHandler); + } + } + public static class get_all_tables extends org.apache.thrift.AsyncProcessFunction> { public get_all_tables() { super("get_all_tables"); @@ -40693,15 +40846,960 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class drop_table_with_environment_context_resultStandardSchemeFactory implements SchemeFactory { - public drop_table_with_environment_context_resultStandardScheme getScheme() { - return new drop_table_with_environment_context_resultStandardScheme(); + private static class drop_table_with_environment_context_resultStandardSchemeFactory implements SchemeFactory { + public drop_table_with_environment_context_resultStandardScheme getScheme() { + return new drop_table_with_environment_context_resultStandardScheme(); + } + } + + private static class drop_table_with_environment_context_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, drop_table_with_environment_context_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // O1 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o1 = new NoSuchObjectException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // O3 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o3 = new MetaException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, drop_table_with_environment_context_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o3 != null) { + oprot.writeFieldBegin(O3_FIELD_DESC); + struct.o3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class drop_table_with_environment_context_resultTupleSchemeFactory implements SchemeFactory { + public drop_table_with_environment_context_resultTupleScheme getScheme() { + return new drop_table_with_environment_context_resultTupleScheme(); + } + } + + private static class drop_table_with_environment_context_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, drop_table_with_environment_context_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetO1()) { + optionals.set(0); + } + if (struct.isSetO3()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); + if (struct.isSetO1()) { + struct.o1.write(oprot); + } + if (struct.isSetO3()) { + struct.o3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, drop_table_with_environment_context_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.o1 = new NoSuchObjectException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } + if (incoming.get(1)) { + struct.o3 = new MetaException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } + } + } + + } + + public static class get_tables_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_tables_args"); + + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField PATTERN_FIELD_DESC = new org.apache.thrift.protocol.TField("pattern", org.apache.thrift.protocol.TType.STRING, (short)2); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_tables_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_tables_argsTupleSchemeFactory()); + } + + private String db_name; // required + private String pattern; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + DB_NAME((short)1, "db_name"), + PATTERN((short)2, "pattern"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // DB_NAME + return DB_NAME; + case 2: // PATTERN + return PATTERN; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.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))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_tables_args.class, metaDataMap); + } + + public get_tables_args() { + } + + public get_tables_args( + String db_name, + String pattern) + { + this(); + this.db_name = db_name; + this.pattern = pattern; + } + + /** + * Performs a deep copy on other. + */ + public get_tables_args(get_tables_args other) { + if (other.isSetDb_name()) { + this.db_name = other.db_name; + } + if (other.isSetPattern()) { + this.pattern = other.pattern; + } + } + + public get_tables_args deepCopy() { + return new get_tables_args(this); + } + + @Override + public void clear() { + this.db_name = null; + this.pattern = 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 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; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case DB_NAME: + return getDb_name(); + + case PATTERN: + return getPattern(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case DB_NAME: + return isSetDb_name(); + case PATTERN: + return isSetPattern(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + 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 drop_table_with_environment_context_resultStandardScheme extends StandardScheme { + private static class get_tables_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, drop_table_with_environment_context_result struct) throws org.apache.thrift.TException { + 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) @@ -40711,20 +41809,29 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_table_with_env break; } switch (schemeField.id) { - case 1: // O1 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new NoSuchObjectException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); + struct.success = new ArrayList(_list650.size); + String _elem651; + for (int _i652 = 0; _i652 < _list650.size; ++_i652) + { + _elem651 = iprot.readString(); + struct.success.add(_elem651); + } + iprot.readListEnd(); + } + struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // O3 + case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new MetaException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -40738,91 +41845,115 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_table_with_env struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, drop_table_with_environment_context_result struct) throws org.apache.thrift.TException { + 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 _iter653 : struct.success) + { + oprot.writeString(_iter653); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } if (struct.o1 != null) { oprot.writeFieldBegin(O1_FIELD_DESC); struct.o1.write(oprot); oprot.writeFieldEnd(); } - if (struct.o3 != null) { - oprot.writeFieldBegin(O3_FIELD_DESC); - struct.o3.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class drop_table_with_environment_context_resultTupleSchemeFactory implements SchemeFactory { - public drop_table_with_environment_context_resultTupleScheme getScheme() { - return new drop_table_with_environment_context_resultTupleScheme(); + private static class get_tables_resultTupleSchemeFactory implements SchemeFactory { + public get_tables_resultTupleScheme getScheme() { + return new get_tables_resultTupleScheme(); } } - private static class drop_table_with_environment_context_resultTupleScheme extends TupleScheme { + private static class get_tables_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, drop_table_with_environment_context_result struct) throws org.apache.thrift.TException { + 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.isSetO1()) { + if (struct.isSetSuccess()) { optionals.set(0); } - if (struct.isSetO3()) { + if (struct.isSetO1()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); + if (struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter654 : struct.success) + { + oprot.writeString(_iter654); + } + } + } if (struct.isSetO1()) { struct.o1.write(oprot); } - if (struct.isSetO3()) { - struct.o3.write(oprot); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, drop_table_with_environment_context_result struct) throws org.apache.thrift.TException { + 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)) { - struct.o1 = new NoSuchObjectException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); + { + org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list655.size); + String _elem656; + for (int _i657 = 0; _i657 < _list655.size; ++_i657) + { + _elem656 = iprot.readString(); + struct.success.add(_elem656); + } + } + struct.setSuccessIsSet(true); } if (incoming.get(1)) { - struct.o3 = new MetaException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); } } } } - public static class get_tables_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_tables_args"); + public static class get_table_metas_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_metas_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 DB_PATTERNS_FIELD_DESC = new org.apache.thrift.protocol.TField("db_patterns", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField TBL_PATTERNS_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_patterns", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField TBL_TYPES_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_types", org.apache.thrift.protocol.TType.LIST, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_tables_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_tables_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_table_metas_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_metas_argsTupleSchemeFactory()); } - private String db_name; // required - private String pattern; // required + private String db_patterns; // required + private String tbl_patterns; // required + private List tbl_types; // 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"); + DB_PATTERNS((short)1, "db_patterns"), + TBL_PATTERNS((short)2, "tbl_patterns"), + TBL_TYPES((short)3, "tbl_types"); private static final Map byName = new HashMap(); @@ -40837,10 +41968,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_table_with_envi */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DB_NAME - return DB_NAME; - case 2: // PATTERN - return PATTERN; + case 1: // DB_PATTERNS + return DB_PATTERNS; + case 2: // TBL_PATTERNS + return TBL_PATTERNS; + case 3: // TBL_TYPES + return TBL_TYPES; default: return null; } @@ -40884,109 +42017,165 @@ public String getFieldName() { public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.DB_PATTERNS, new org.apache.thrift.meta_data.FieldMetaData("db_patterns", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.PATTERN, new org.apache.thrift.meta_data.FieldMetaData("pattern", org.apache.thrift.TFieldRequirementType.DEFAULT, + tmpMap.put(_Fields.TBL_PATTERNS, new org.apache.thrift.meta_data.FieldMetaData("tbl_patterns", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TBL_TYPES, new org.apache.thrift.meta_data.FieldMetaData("tbl_types", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_tables_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_metas_args.class, metaDataMap); } - public get_tables_args() { + public get_table_metas_args() { } - public get_tables_args( - String db_name, - String pattern) + public get_table_metas_args( + String db_patterns, + String tbl_patterns, + List tbl_types) { this(); - this.db_name = db_name; - this.pattern = pattern; + this.db_patterns = db_patterns; + this.tbl_patterns = tbl_patterns; + this.tbl_types = tbl_types; } /** * Performs a deep copy on other. */ - public get_tables_args(get_tables_args other) { - if (other.isSetDb_name()) { - this.db_name = other.db_name; + public get_table_metas_args(get_table_metas_args other) { + if (other.isSetDb_patterns()) { + this.db_patterns = other.db_patterns; } - if (other.isSetPattern()) { - this.pattern = other.pattern; + if (other.isSetTbl_patterns()) { + this.tbl_patterns = other.tbl_patterns; + } + if (other.isSetTbl_types()) { + List __this__tbl_types = new ArrayList(other.tbl_types); + this.tbl_types = __this__tbl_types; } } - public get_tables_args deepCopy() { - return new get_tables_args(this); + public get_table_metas_args deepCopy() { + return new get_table_metas_args(this); } @Override public void clear() { - this.db_name = null; - this.pattern = null; + this.db_patterns = null; + this.tbl_patterns = null; + this.tbl_types = null; } - public String getDb_name() { - return this.db_name; + public String getDb_patterns() { + return this.db_patterns; } - public void setDb_name(String db_name) { - this.db_name = db_name; + public void setDb_patterns(String db_patterns) { + this.db_patterns = db_patterns; } - public void unsetDb_name() { - this.db_name = null; + public void unsetDb_patterns() { + this.db_patterns = 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; + /** Returns true if field db_patterns is set (has been assigned a value) and false otherwise */ + public boolean isSetDb_patterns() { + return this.db_patterns != null; } - public void setDb_nameIsSet(boolean value) { + public void setDb_patternsIsSet(boolean value) { if (!value) { - this.db_name = null; + this.db_patterns = null; } } - public String getPattern() { - return this.pattern; + public String getTbl_patterns() { + return this.tbl_patterns; } - public void setPattern(String pattern) { - this.pattern = pattern; + public void setTbl_patterns(String tbl_patterns) { + this.tbl_patterns = tbl_patterns; } - public void unsetPattern() { - this.pattern = null; + public void unsetTbl_patterns() { + this.tbl_patterns = null; } - /** Returns true if field pattern is set (has been assigned a value) and false otherwise */ - public boolean isSetPattern() { - return this.pattern != null; + /** Returns true if field tbl_patterns is set (has been assigned a value) and false otherwise */ + public boolean isSetTbl_patterns() { + return this.tbl_patterns != null; } - public void setPatternIsSet(boolean value) { + public void setTbl_patternsIsSet(boolean value) { if (!value) { - this.pattern = null; + this.tbl_patterns = null; + } + } + + public int getTbl_typesSize() { + return (this.tbl_types == null) ? 0 : this.tbl_types.size(); + } + + public java.util.Iterator getTbl_typesIterator() { + return (this.tbl_types == null) ? null : this.tbl_types.iterator(); + } + + public void addToTbl_types(String elem) { + if (this.tbl_types == null) { + this.tbl_types = new ArrayList(); + } + this.tbl_types.add(elem); + } + + public List getTbl_types() { + return this.tbl_types; + } + + public void setTbl_types(List tbl_types) { + this.tbl_types = tbl_types; + } + + public void unsetTbl_types() { + this.tbl_types = null; + } + + /** Returns true if field tbl_types is set (has been assigned a value) and false otherwise */ + public boolean isSetTbl_types() { + return this.tbl_types != null; + } + + public void setTbl_typesIsSet(boolean value) { + if (!value) { + this.tbl_types = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case DB_NAME: + case DB_PATTERNS: if (value == null) { - unsetDb_name(); + unsetDb_patterns(); } else { - setDb_name((String)value); + setDb_patterns((String)value); } break; - case PATTERN: + case TBL_PATTERNS: if (value == null) { - unsetPattern(); + unsetTbl_patterns(); } else { - setPattern((String)value); + setTbl_patterns((String)value); + } + break; + + case TBL_TYPES: + if (value == null) { + unsetTbl_types(); + } else { + setTbl_types((List)value); } break; @@ -40995,11 +42184,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case DB_NAME: - return getDb_name(); + case DB_PATTERNS: + return getDb_patterns(); - case PATTERN: - return getPattern(); + case TBL_PATTERNS: + return getTbl_patterns(); + + case TBL_TYPES: + return getTbl_types(); } throw new IllegalStateException(); @@ -41012,10 +42204,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case DB_NAME: - return isSetDb_name(); - case PATTERN: - return isSetPattern(); + case DB_PATTERNS: + return isSetDb_patterns(); + case TBL_PATTERNS: + return isSetTbl_patterns(); + case TBL_TYPES: + return isSetTbl_types(); } throw new IllegalStateException(); } @@ -41024,30 +42218,39 @@ 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_table_metas_args) + return this.equals((get_table_metas_args)that); return false; } - public boolean equals(get_tables_args that) { + public boolean equals(get_table_metas_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)) + boolean this_present_db_patterns = true && this.isSetDb_patterns(); + boolean that_present_db_patterns = true && that.isSetDb_patterns(); + if (this_present_db_patterns || that_present_db_patterns) { + if (!(this_present_db_patterns && that_present_db_patterns)) return false; - if (!this.db_name.equals(that.db_name)) + if (!this.db_patterns.equals(that.db_patterns)) return false; } - boolean this_present_pattern = true && this.isSetPattern(); - boolean that_present_pattern = true && that.isSetPattern(); - if (this_present_pattern || that_present_pattern) { - if (!(this_present_pattern && that_present_pattern)) + boolean this_present_tbl_patterns = true && this.isSetTbl_patterns(); + boolean that_present_tbl_patterns = true && that.isSetTbl_patterns(); + if (this_present_tbl_patterns || that_present_tbl_patterns) { + if (!(this_present_tbl_patterns && that_present_tbl_patterns)) return false; - if (!this.pattern.equals(that.pattern)) + if (!this.tbl_patterns.equals(that.tbl_patterns)) + return false; + } + + boolean this_present_tbl_types = true && this.isSetTbl_types(); + boolean that_present_tbl_types = true && that.isSetTbl_types(); + if (this_present_tbl_types || that_present_tbl_types) { + if (!(this_present_tbl_types && that_present_tbl_types)) + return false; + if (!this.tbl_types.equals(that.tbl_types)) return false; } @@ -41058,43 +42261,58 @@ public boolean equals(get_tables_args that) { 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_db_patterns = true && (isSetDb_patterns()); + list.add(present_db_patterns); + if (present_db_patterns) + list.add(db_patterns); - boolean present_pattern = true && (isSetPattern()); - list.add(present_pattern); - if (present_pattern) - list.add(pattern); + boolean present_tbl_patterns = true && (isSetTbl_patterns()); + list.add(present_tbl_patterns); + if (present_tbl_patterns) + list.add(tbl_patterns); + + boolean present_tbl_types = true && (isSetTbl_types()); + list.add(present_tbl_types); + if (present_tbl_types) + list.add(tbl_types); return list.hashCode(); } @Override - public int compareTo(get_tables_args other) { + public int compareTo(get_table_metas_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()); + lastComparison = Boolean.valueOf(isSetDb_patterns()).compareTo(other.isSetDb_patterns()); if (lastComparison != 0) { return lastComparison; } - if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); + if (isSetDb_patterns()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_patterns, other.db_patterns); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPattern()).compareTo(other.isSetPattern()); + lastComparison = Boolean.valueOf(isSetTbl_patterns()).compareTo(other.isSetTbl_patterns()); if (lastComparison != 0) { return lastComparison; } - if (isSetPattern()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pattern, other.pattern); + if (isSetTbl_patterns()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_patterns, other.tbl_patterns); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTbl_types()).compareTo(other.isSetTbl_types()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTbl_types()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_types, other.tbl_types); if (lastComparison != 0) { return lastComparison; } @@ -41116,22 +42334,30 @@ 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_table_metas_args("); boolean first = true; - sb.append("db_name:"); - if (this.db_name == null) { + sb.append("db_patterns:"); + if (this.db_patterns == null) { sb.append("null"); } else { - sb.append(this.db_name); + sb.append(this.db_patterns); } first = false; if (!first) sb.append(", "); - sb.append("pattern:"); - if (this.pattern == null) { + sb.append("tbl_patterns:"); + if (this.tbl_patterns == null) { sb.append("null"); } else { - sb.append(this.pattern); + sb.append(this.tbl_patterns); + } + first = false; + if (!first) sb.append(", "); + sb.append("tbl_types:"); + if (this.tbl_types == null) { + sb.append("null"); + } else { + sb.append(this.tbl_types); } first = false; sb.append(")"); @@ -41159,15 +42385,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_table_metas_argsStandardSchemeFactory implements SchemeFactory { + public get_table_metas_argsStandardScheme getScheme() { + return new get_table_metas_argsStandardScheme(); } } - private static class get_tables_argsStandardScheme extends StandardScheme { + private static class get_table_metas_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_table_metas_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -41177,18 +42403,36 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_args str break; } switch (schemeField.id) { - case 1: // DB_NAME + case 1: // DB_PATTERNS if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); + struct.db_patterns = iprot.readString(); + struct.setDb_patternsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // PATTERN + case 2: // TBL_PATTERNS if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.pattern = iprot.readString(); - struct.setPatternIsSet(true); + struct.tbl_patterns = iprot.readString(); + struct.setTbl_patternsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // TBL_TYPES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list658.size); + String _elem659; + for (int _i660 = 0; _i660 < _list658.size; ++_i660) + { + _elem659 = iprot.readString(); + struct.tbl_types.add(_elem659); + } + iprot.readListEnd(); + } + struct.setTbl_typesIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -41202,18 +42446,30 @@ 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_table_metas_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); + if (struct.db_patterns != null) { + oprot.writeFieldBegin(DB_PATTERNS_FIELD_DESC); + oprot.writeString(struct.db_patterns); oprot.writeFieldEnd(); } - if (struct.pattern != null) { - oprot.writeFieldBegin(PATTERN_FIELD_DESC); - oprot.writeString(struct.pattern); + if (struct.tbl_patterns != null) { + oprot.writeFieldBegin(TBL_PATTERNS_FIELD_DESC); + oprot.writeString(struct.tbl_patterns); + oprot.writeFieldEnd(); + } + if (struct.tbl_types != null) { + 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 _iter661 : struct.tbl_types) + { + oprot.writeString(_iter661); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -41222,60 +42478,85 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_args st } - private static class get_tables_argsTupleSchemeFactory implements SchemeFactory { - public get_tables_argsTupleScheme getScheme() { - return new get_tables_argsTupleScheme(); + private static class get_table_metas_argsTupleSchemeFactory implements SchemeFactory { + public get_table_metas_argsTupleScheme getScheme() { + return new get_table_metas_argsTupleScheme(); } } - private static class get_tables_argsTupleScheme extends TupleScheme { + private static class get_table_metas_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_table_metas_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetDb_name()) { + if (struct.isSetDb_patterns()) { optionals.set(0); } - if (struct.isSetPattern()) { + if (struct.isSetTbl_patterns()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); - if (struct.isSetDb_name()) { - oprot.writeString(struct.db_name); + if (struct.isSetTbl_types()) { + optionals.set(2); } - if (struct.isSetPattern()) { - oprot.writeString(struct.pattern); + oprot.writeBitSet(optionals, 3); + if (struct.isSetDb_patterns()) { + oprot.writeString(struct.db_patterns); + } + if (struct.isSetTbl_patterns()) { + oprot.writeString(struct.tbl_patterns); + } + if (struct.isSetTbl_types()) { + { + oprot.writeI32(struct.tbl_types.size()); + for (String _iter662 : struct.tbl_types) + { + oprot.writeString(_iter662); + } + } } } @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_table_metas_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); + struct.db_patterns = iprot.readString(); + struct.setDb_patternsIsSet(true); } if (incoming.get(1)) { - struct.pattern = iprot.readString(); - struct.setPatternIsSet(true); + struct.tbl_patterns = iprot.readString(); + struct.setTbl_patternsIsSet(true); + } + if (incoming.get(2)) { + { + org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list663.size); + String _elem664; + for (int _i665 = 0; _i665 < _list663.size; ++_i665) + { + _elem664 = iprot.readString(); + struct.tbl_types.add(_elem664); + } + } + struct.setTbl_typesIsSet(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_table_metas_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_metas_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_table_metas_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_metas_resultTupleSchemeFactory()); } private List success; // required @@ -41352,13 +42633,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_table_metas_result.class, metaDataMap); } - public get_tables_result() { + public get_table_metas_result() { } - public get_tables_result( + public get_table_metas_result( List success, MetaException o1) { @@ -41370,7 +42651,7 @@ public get_tables_result( /** * Performs a deep copy on other. */ - public get_tables_result(get_tables_result other) { + public get_table_metas_result(get_table_metas_result other) { if (other.isSetSuccess()) { List __this__success = new ArrayList(other.success); this.success = __this__success; @@ -41380,8 +42661,8 @@ public get_tables_result(get_tables_result other) { } } - public get_tables_result deepCopy() { - return new get_tables_result(this); + public get_table_metas_result deepCopy() { + return new get_table_metas_result(this); } @Override @@ -41503,12 +42784,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_table_metas_result) + return this.equals((get_table_metas_result)that); return false; } - public boolean equals(get_tables_result that) { + public boolean equals(get_table_metas_result that) { if (that == null) return false; @@ -41551,7 +42832,7 @@ public int hashCode() { } @Override - public int compareTo(get_tables_result other) { + public int compareTo(get_table_metas_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -41595,7 +42876,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_table_metas_result("); boolean first = true; sb.append("success:"); @@ -41638,15 +42919,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_table_metas_resultStandardSchemeFactory implements SchemeFactory { + public get_table_metas_resultStandardScheme getScheme() { + return new get_table_metas_resultStandardScheme(); } } - private static class get_tables_resultStandardScheme extends StandardScheme { + private static class get_table_metas_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_table_metas_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -41659,13 +42940,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 _list650 = iprot.readListBegin(); - struct.success = new ArrayList(_list650.size); - String _elem651; - for (int _i652 = 0; _i652 < _list650.size; ++_i652) + org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); + struct.success = new ArrayList(_list666.size); + String _elem667; + for (int _i668 = 0; _i668 < _list666.size; ++_i668) { - _elem651 = iprot.readString(); - struct.success.add(_elem651); + _elem667 = iprot.readString(); + struct.success.add(_elem667); } iprot.readListEnd(); } @@ -41692,7 +42973,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_table_metas_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -41700,9 +42981,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 _iter653 : struct.success) + for (String _iter669 : struct.success) { - oprot.writeString(_iter653); + oprot.writeString(_iter669); } oprot.writeListEnd(); } @@ -41719,16 +43000,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_table_metas_resultTupleSchemeFactory implements SchemeFactory { + public get_table_metas_resultTupleScheme getScheme() { + return new get_table_metas_resultTupleScheme(); } } - private static class get_tables_resultTupleScheme extends TupleScheme { + private static class get_table_metas_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_table_metas_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -41741,9 +43022,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter654 : struct.success) + for (String _iter670 : struct.success) { - oprot.writeString(_iter654); + oprot.writeString(_iter670); } } } @@ -41753,18 +43034,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_table_metas_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 _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list655.size); - String _elem656; - for (int _i657 = 0; _i657 < _list655.size; ++_i657) + org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list671.size); + String _elem672; + for (int _i673 = 0; _i673 < _list671.size; ++_i673) { - _elem656 = iprot.readString(); - struct.success.add(_elem656); + _elem672 = iprot.readString(); + struct.success.add(_elem672); } } struct.setSuccessIsSet(true); @@ -42530,13 +43811,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 _list658 = iprot.readListBegin(); - struct.success = new ArrayList(_list658.size); - String _elem659; - for (int _i660 = 0; _i660 < _list658.size; ++_i660) + org.apache.thrift.protocol.TList _list674 = iprot.readListBegin(); + struct.success = new ArrayList(_list674.size); + String _elem675; + for (int _i676 = 0; _i676 < _list674.size; ++_i676) { - _elem659 = iprot.readString(); - struct.success.add(_elem659); + _elem675 = iprot.readString(); + struct.success.add(_elem675); } iprot.readListEnd(); } @@ -42571,9 +43852,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 _iter661 : struct.success) + for (String _iter677 : struct.success) { - oprot.writeString(_iter661); + oprot.writeString(_iter677); } oprot.writeListEnd(); } @@ -42612,9 +43893,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter662 : struct.success) + for (String _iter678 : struct.success) { - oprot.writeString(_iter662); + oprot.writeString(_iter678); } } } @@ -42629,13 +43910,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 _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list663.size); - String _elem664; - for (int _i665 = 0; _i665 < _list663.size; ++_i665) + org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list679.size); + String _elem680; + for (int _i681 = 0; _i681 < _list679.size; ++_i681) { - _elem664 = iprot.readString(); - struct.success.add(_elem664); + _elem680 = iprot.readString(); + struct.success.add(_elem680); } } struct.setSuccessIsSet(true); @@ -44088,13 +45369,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 _list666 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list666.size); - String _elem667; - for (int _i668 = 0; _i668 < _list666.size; ++_i668) + org.apache.thrift.protocol.TList _list682 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list682.size); + String _elem683; + for (int _i684 = 0; _i684 < _list682.size; ++_i684) { - _elem667 = iprot.readString(); - struct.tbl_names.add(_elem667); + _elem683 = iprot.readString(); + struct.tbl_names.add(_elem683); } iprot.readListEnd(); } @@ -44125,9 +45406,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 _iter669 : struct.tbl_names) + for (String _iter685 : struct.tbl_names) { - oprot.writeString(_iter669); + oprot.writeString(_iter685); } oprot.writeListEnd(); } @@ -44164,9 +45445,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 _iter670 : struct.tbl_names) + for (String _iter686 : struct.tbl_names) { - oprot.writeString(_iter670); + oprot.writeString(_iter686); } } } @@ -44182,13 +45463,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list671.size); - String _elem672; - for (int _i673 = 0; _i673 < _list671.size; ++_i673) + org.apache.thrift.protocol.TList _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list687.size); + String _elem688; + for (int _i689 = 0; _i689 < _list687.size; ++_i689) { - _elem672 = iprot.readString(); - struct.tbl_names.add(_elem672); + _elem688 = iprot.readString(); + struct.tbl_names.add(_elem688); } } struct.setTbl_namesIsSet(true); @@ -44756,14 +46037,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 _list674 = iprot.readListBegin(); - struct.success = new ArrayList
(_list674.size); - Table _elem675; - for (int _i676 = 0; _i676 < _list674.size; ++_i676) + org.apache.thrift.protocol.TList _list690 = iprot.readListBegin(); + struct.success = new ArrayList
(_list690.size); + Table _elem691; + for (int _i692 = 0; _i692 < _list690.size; ++_i692) { - _elem675 = new Table(); - _elem675.read(iprot); - struct.success.add(_elem675); + _elem691 = new Table(); + _elem691.read(iprot); + struct.success.add(_elem691); } iprot.readListEnd(); } @@ -44816,9 +46097,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 _iter677 : struct.success) + for (Table _iter693 : struct.success) { - _iter677.write(oprot); + _iter693.write(oprot); } oprot.writeListEnd(); } @@ -44873,9 +46154,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter678 : struct.success) + for (Table _iter694 : struct.success) { - _iter678.write(oprot); + _iter694.write(oprot); } } } @@ -44896,14 +46177,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 _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list679.size); - Table _elem680; - for (int _i681 = 0; _i681 < _list679.size; ++_i681) + org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list695.size); + Table _elem696; + for (int _i697 = 0; _i697 < _list695.size; ++_i697) { - _elem680 = new Table(); - _elem680.read(iprot); - struct.success.add(_elem680); + _elem696 = new Table(); + _elem696.read(iprot); + struct.success.add(_elem696); } } struct.setSuccessIsSet(true); @@ -46049,13 +47330,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 _list682 = iprot.readListBegin(); - struct.success = new ArrayList(_list682.size); - String _elem683; - for (int _i684 = 0; _i684 < _list682.size; ++_i684) + org.apache.thrift.protocol.TList _list698 = iprot.readListBegin(); + struct.success = new ArrayList(_list698.size); + String _elem699; + for (int _i700 = 0; _i700 < _list698.size; ++_i700) { - _elem683 = iprot.readString(); - struct.success.add(_elem683); + _elem699 = iprot.readString(); + struct.success.add(_elem699); } iprot.readListEnd(); } @@ -46108,9 +47389,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 _iter685 : struct.success) + for (String _iter701 : struct.success) { - oprot.writeString(_iter685); + oprot.writeString(_iter701); } oprot.writeListEnd(); } @@ -46165,9 +47446,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter686 : struct.success) + for (String _iter702 : struct.success) { - oprot.writeString(_iter686); + oprot.writeString(_iter702); } } } @@ -46188,13 +47469,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 _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list687.size); - String _elem688; - for (int _i689 = 0; _i689 < _list687.size; ++_i689) + org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list703.size); + String _elem704; + for (int _i705 = 0; _i705 < _list703.size; ++_i705) { - _elem688 = iprot.readString(); - struct.success.add(_elem688); + _elem704 = iprot.readString(); + struct.success.add(_elem704); } } struct.setSuccessIsSet(true); @@ -52053,14 +53334,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 _list690 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list690.size); - Partition _elem691; - for (int _i692 = 0; _i692 < _list690.size; ++_i692) + org.apache.thrift.protocol.TList _list706 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list706.size); + Partition _elem707; + for (int _i708 = 0; _i708 < _list706.size; ++_i708) { - _elem691 = new Partition(); - _elem691.read(iprot); - struct.new_parts.add(_elem691); + _elem707 = new Partition(); + _elem707.read(iprot); + struct.new_parts.add(_elem707); } iprot.readListEnd(); } @@ -52086,9 +53367,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 _iter693 : struct.new_parts) + for (Partition _iter709 : struct.new_parts) { - _iter693.write(oprot); + _iter709.write(oprot); } oprot.writeListEnd(); } @@ -52119,9 +53400,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 _iter694 : struct.new_parts) + for (Partition _iter710 : struct.new_parts) { - _iter694.write(oprot); + _iter710.write(oprot); } } } @@ -52133,14 +53414,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 _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list695.size); - Partition _elem696; - for (int _i697 = 0; _i697 < _list695.size; ++_i697) + org.apache.thrift.protocol.TList _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list711.size); + Partition _elem712; + for (int _i713 = 0; _i713 < _list711.size; ++_i713) { - _elem696 = new Partition(); - _elem696.read(iprot); - struct.new_parts.add(_elem696); + _elem712 = new Partition(); + _elem712.read(iprot); + struct.new_parts.add(_elem712); } } struct.setNew_partsIsSet(true); @@ -53141,14 +54422,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 _list698 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list698.size); - PartitionSpec _elem699; - for (int _i700 = 0; _i700 < _list698.size; ++_i700) + org.apache.thrift.protocol.TList _list714 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list714.size); + PartitionSpec _elem715; + for (int _i716 = 0; _i716 < _list714.size; ++_i716) { - _elem699 = new PartitionSpec(); - _elem699.read(iprot); - struct.new_parts.add(_elem699); + _elem715 = new PartitionSpec(); + _elem715.read(iprot); + struct.new_parts.add(_elem715); } iprot.readListEnd(); } @@ -53174,9 +54455,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 _iter701 : struct.new_parts) + for (PartitionSpec _iter717 : struct.new_parts) { - _iter701.write(oprot); + _iter717.write(oprot); } oprot.writeListEnd(); } @@ -53207,9 +54488,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 _iter702 : struct.new_parts) + for (PartitionSpec _iter718 : struct.new_parts) { - _iter702.write(oprot); + _iter718.write(oprot); } } } @@ -53221,14 +54502,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 _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list703.size); - PartitionSpec _elem704; - for (int _i705 = 0; _i705 < _list703.size; ++_i705) + org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list719.size); + PartitionSpec _elem720; + for (int _i721 = 0; _i721 < _list719.size; ++_i721) { - _elem704 = new PartitionSpec(); - _elem704.read(iprot); - struct.new_parts.add(_elem704); + _elem720 = new PartitionSpec(); + _elem720.read(iprot); + struct.new_parts.add(_elem720); } } struct.setNew_partsIsSet(true); @@ -54404,13 +55685,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 _list706 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list706.size); - String _elem707; - for (int _i708 = 0; _i708 < _list706.size; ++_i708) + org.apache.thrift.protocol.TList _list722 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list722.size); + String _elem723; + for (int _i724 = 0; _i724 < _list722.size; ++_i724) { - _elem707 = iprot.readString(); - struct.part_vals.add(_elem707); + _elem723 = iprot.readString(); + struct.part_vals.add(_elem723); } iprot.readListEnd(); } @@ -54446,9 +55727,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 _iter709 : struct.part_vals) + for (String _iter725 : struct.part_vals) { - oprot.writeString(_iter709); + oprot.writeString(_iter725); } oprot.writeListEnd(); } @@ -54491,9 +55772,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 _iter710 : struct.part_vals) + for (String _iter726 : struct.part_vals) { - oprot.writeString(_iter710); + oprot.writeString(_iter726); } } } @@ -54513,13 +55794,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list711.size); - String _elem712; - for (int _i713 = 0; _i713 < _list711.size; ++_i713) + org.apache.thrift.protocol.TList _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list727.size); + String _elem728; + for (int _i729 = 0; _i729 < _list727.size; ++_i729) { - _elem712 = iprot.readString(); - struct.part_vals.add(_elem712); + _elem728 = iprot.readString(); + struct.part_vals.add(_elem728); } } struct.setPart_valsIsSet(true); @@ -56828,13 +58109,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 _list714 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list714.size); - String _elem715; - for (int _i716 = 0; _i716 < _list714.size; ++_i716) + org.apache.thrift.protocol.TList _list730 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list730.size); + String _elem731; + for (int _i732 = 0; _i732 < _list730.size; ++_i732) { - _elem715 = iprot.readString(); - struct.part_vals.add(_elem715); + _elem731 = iprot.readString(); + struct.part_vals.add(_elem731); } iprot.readListEnd(); } @@ -56879,9 +58160,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 _iter717 : struct.part_vals) + for (String _iter733 : struct.part_vals) { - oprot.writeString(_iter717); + oprot.writeString(_iter733); } oprot.writeListEnd(); } @@ -56932,9 +58213,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 _iter718 : struct.part_vals) + for (String _iter734 : struct.part_vals) { - oprot.writeString(_iter718); + oprot.writeString(_iter734); } } } @@ -56957,13 +58238,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list719.size); - String _elem720; - for (int _i721 = 0; _i721 < _list719.size; ++_i721) + org.apache.thrift.protocol.TList _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list735.size); + String _elem736; + for (int _i737 = 0; _i737 < _list735.size; ++_i737) { - _elem720 = iprot.readString(); - struct.part_vals.add(_elem720); + _elem736 = iprot.readString(); + struct.part_vals.add(_elem736); } } struct.setPart_valsIsSet(true); @@ -60833,13 +62114,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 _list722 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list722.size); - String _elem723; - for (int _i724 = 0; _i724 < _list722.size; ++_i724) + org.apache.thrift.protocol.TList _list738 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list738.size); + String _elem739; + for (int _i740 = 0; _i740 < _list738.size; ++_i740) { - _elem723 = iprot.readString(); - struct.part_vals.add(_elem723); + _elem739 = iprot.readString(); + struct.part_vals.add(_elem739); } iprot.readListEnd(); } @@ -60883,9 +62164,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 _iter725 : struct.part_vals) + for (String _iter741 : struct.part_vals) { - oprot.writeString(_iter725); + oprot.writeString(_iter741); } oprot.writeListEnd(); } @@ -60934,9 +62215,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 _iter726 : struct.part_vals) + for (String _iter742 : struct.part_vals) { - oprot.writeString(_iter726); + oprot.writeString(_iter742); } } } @@ -60959,13 +62240,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list727.size); - String _elem728; - for (int _i729 = 0; _i729 < _list727.size; ++_i729) + org.apache.thrift.protocol.TList _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list743.size); + String _elem744; + for (int _i745 = 0; _i745 < _list743.size; ++_i745) { - _elem728 = iprot.readString(); - struct.part_vals.add(_elem728); + _elem744 = iprot.readString(); + struct.part_vals.add(_elem744); } } struct.setPart_valsIsSet(true); @@ -62204,13 +63485,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 _list730 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list730.size); - String _elem731; - for (int _i732 = 0; _i732 < _list730.size; ++_i732) + org.apache.thrift.protocol.TList _list746 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list746.size); + String _elem747; + for (int _i748 = 0; _i748 < _list746.size; ++_i748) { - _elem731 = iprot.readString(); - struct.part_vals.add(_elem731); + _elem747 = iprot.readString(); + struct.part_vals.add(_elem747); } iprot.readListEnd(); } @@ -62263,9 +63544,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 _iter733 : struct.part_vals) + for (String _iter749 : struct.part_vals) { - oprot.writeString(_iter733); + oprot.writeString(_iter749); } oprot.writeListEnd(); } @@ -62322,9 +63603,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 _iter734 : struct.part_vals) + for (String _iter750 : struct.part_vals) { - oprot.writeString(_iter734); + oprot.writeString(_iter750); } } } @@ -62350,13 +63631,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list735.size); - String _elem736; - for (int _i737 = 0; _i737 < _list735.size; ++_i737) + org.apache.thrift.protocol.TList _list751 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list751.size); + String _elem752; + for (int _i753 = 0; _i753 < _list751.size; ++_i753) { - _elem736 = iprot.readString(); - struct.part_vals.add(_elem736); + _elem752 = iprot.readString(); + struct.part_vals.add(_elem752); } } struct.setPart_valsIsSet(true); @@ -66958,13 +68239,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 _list738 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list738.size); - String _elem739; - for (int _i740 = 0; _i740 < _list738.size; ++_i740) + org.apache.thrift.protocol.TList _list754 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list754.size); + String _elem755; + for (int _i756 = 0; _i756 < _list754.size; ++_i756) { - _elem739 = iprot.readString(); - struct.part_vals.add(_elem739); + _elem755 = iprot.readString(); + struct.part_vals.add(_elem755); } iprot.readListEnd(); } @@ -67000,9 +68281,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 _iter741 : struct.part_vals) + for (String _iter757 : struct.part_vals) { - oprot.writeString(_iter741); + oprot.writeString(_iter757); } oprot.writeListEnd(); } @@ -67045,9 +68326,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 _iter742 : struct.part_vals) + for (String _iter758 : struct.part_vals) { - oprot.writeString(_iter742); + oprot.writeString(_iter758); } } } @@ -67067,13 +68348,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list743.size); - String _elem744; - for (int _i745 = 0; _i745 < _list743.size; ++_i745) + org.apache.thrift.protocol.TList _list759 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list759.size); + String _elem760; + for (int _i761 = 0; _i761 < _list759.size; ++_i761) { - _elem744 = iprot.readString(); - struct.part_vals.add(_elem744); + _elem760 = iprot.readString(); + struct.part_vals.add(_elem760); } } struct.setPart_valsIsSet(true); @@ -68291,15 +69572,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 _map746 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map746.size); - String _key747; - String _val748; - for (int _i749 = 0; _i749 < _map746.size; ++_i749) + org.apache.thrift.protocol.TMap _map762 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map762.size); + String _key763; + String _val764; + for (int _i765 = 0; _i765 < _map762.size; ++_i765) { - _key747 = iprot.readString(); - _val748 = iprot.readString(); - struct.partitionSpecs.put(_key747, _val748); + _key763 = iprot.readString(); + _val764 = iprot.readString(); + struct.partitionSpecs.put(_key763, _val764); } iprot.readMapEnd(); } @@ -68357,10 +69638,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 _iter750 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter766 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter750.getKey()); - oprot.writeString(_iter750.getValue()); + oprot.writeString(_iter766.getKey()); + oprot.writeString(_iter766.getValue()); } oprot.writeMapEnd(); } @@ -68423,10 +69704,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter751 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter767 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter751.getKey()); - oprot.writeString(_iter751.getValue()); + oprot.writeString(_iter767.getKey()); + oprot.writeString(_iter767.getValue()); } } } @@ -68450,15 +69731,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 _map752 = 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*_map752.size); - String _key753; - String _val754; - for (int _i755 = 0; _i755 < _map752.size; ++_i755) + org.apache.thrift.protocol.TMap _map768 = 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*_map768.size); + String _key769; + String _val770; + for (int _i771 = 0; _i771 < _map768.size; ++_i771) { - _key753 = iprot.readString(); - _val754 = iprot.readString(); - struct.partitionSpecs.put(_key753, _val754); + _key769 = iprot.readString(); + _val770 = iprot.readString(); + struct.partitionSpecs.put(_key769, _val770); } } struct.setPartitionSpecsIsSet(true); @@ -69940,13 +71221,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 _list756 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list756.size); - String _elem757; - for (int _i758 = 0; _i758 < _list756.size; ++_i758) + org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list772.size); + String _elem773; + for (int _i774 = 0; _i774 < _list772.size; ++_i774) { - _elem757 = iprot.readString(); - struct.part_vals.add(_elem757); + _elem773 = iprot.readString(); + struct.part_vals.add(_elem773); } iprot.readListEnd(); } @@ -69966,13 +71247,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 _list759 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list759.size); - String _elem760; - for (int _i761 = 0; _i761 < _list759.size; ++_i761) + org.apache.thrift.protocol.TList _list775 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list775.size); + String _elem776; + for (int _i777 = 0; _i777 < _list775.size; ++_i777) { - _elem760 = iprot.readString(); - struct.group_names.add(_elem760); + _elem776 = iprot.readString(); + struct.group_names.add(_elem776); } iprot.readListEnd(); } @@ -70008,9 +71289,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 _iter762 : struct.part_vals) + for (String _iter778 : struct.part_vals) { - oprot.writeString(_iter762); + oprot.writeString(_iter778); } oprot.writeListEnd(); } @@ -70025,9 +71306,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 _iter763 : struct.group_names) + for (String _iter779 : struct.group_names) { - oprot.writeString(_iter763); + oprot.writeString(_iter779); } oprot.writeListEnd(); } @@ -70076,9 +71357,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 _iter764 : struct.part_vals) + for (String _iter780 : struct.part_vals) { - oprot.writeString(_iter764); + oprot.writeString(_iter780); } } } @@ -70088,9 +71369,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 _iter765 : struct.group_names) + for (String _iter781 : struct.group_names) { - oprot.writeString(_iter765); + oprot.writeString(_iter781); } } } @@ -70110,13 +71391,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list766 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list766.size); - String _elem767; - for (int _i768 = 0; _i768 < _list766.size; ++_i768) + org.apache.thrift.protocol.TList _list782 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list782.size); + String _elem783; + for (int _i784 = 0; _i784 < _list782.size; ++_i784) { - _elem767 = iprot.readString(); - struct.part_vals.add(_elem767); + _elem783 = iprot.readString(); + struct.part_vals.add(_elem783); } } struct.setPart_valsIsSet(true); @@ -70127,13 +71408,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list769.size); - String _elem770; - for (int _i771 = 0; _i771 < _list769.size; ++_i771) + org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list785.size); + String _elem786; + for (int _i787 = 0; _i787 < _list785.size; ++_i787) { - _elem770 = iprot.readString(); - struct.group_names.add(_elem770); + _elem786 = iprot.readString(); + struct.group_names.add(_elem786); } } struct.setGroup_namesIsSet(true); @@ -72902,14 +74183,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 _list772 = iprot.readListBegin(); - struct.success = new ArrayList(_list772.size); - Partition _elem773; - for (int _i774 = 0; _i774 < _list772.size; ++_i774) + org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); + struct.success = new ArrayList(_list788.size); + Partition _elem789; + for (int _i790 = 0; _i790 < _list788.size; ++_i790) { - _elem773 = new Partition(); - _elem773.read(iprot); - struct.success.add(_elem773); + _elem789 = new Partition(); + _elem789.read(iprot); + struct.success.add(_elem789); } iprot.readListEnd(); } @@ -72953,9 +74234,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 _iter775 : struct.success) + for (Partition _iter791 : struct.success) { - _iter775.write(oprot); + _iter791.write(oprot); } oprot.writeListEnd(); } @@ -73002,9 +74283,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter776 : struct.success) + for (Partition _iter792 : struct.success) { - _iter776.write(oprot); + _iter792.write(oprot); } } } @@ -73022,14 +74303,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 _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list777.size); - Partition _elem778; - for (int _i779 = 0; _i779 < _list777.size; ++_i779) + org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list793.size); + Partition _elem794; + for (int _i795 = 0; _i795 < _list793.size; ++_i795) { - _elem778 = new Partition(); - _elem778.read(iprot); - struct.success.add(_elem778); + _elem794 = new Partition(); + _elem794.read(iprot); + struct.success.add(_elem794); } } struct.setSuccessIsSet(true); @@ -73719,13 +75000,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 _list780 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list780.size); - String _elem781; - for (int _i782 = 0; _i782 < _list780.size; ++_i782) + org.apache.thrift.protocol.TList _list796 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list796.size); + String _elem797; + for (int _i798 = 0; _i798 < _list796.size; ++_i798) { - _elem781 = iprot.readString(); - struct.group_names.add(_elem781); + _elem797 = iprot.readString(); + struct.group_names.add(_elem797); } iprot.readListEnd(); } @@ -73769,9 +75050,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 _iter783 : struct.group_names) + for (String _iter799 : struct.group_names) { - oprot.writeString(_iter783); + oprot.writeString(_iter799); } oprot.writeListEnd(); } @@ -73826,9 +75107,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 _iter784 : struct.group_names) + for (String _iter800 : struct.group_names) { - oprot.writeString(_iter784); + oprot.writeString(_iter800); } } } @@ -73856,13 +75137,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list785.size); - String _elem786; - for (int _i787 = 0; _i787 < _list785.size; ++_i787) + org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list801.size); + String _elem802; + for (int _i803 = 0; _i803 < _list801.size; ++_i803) { - _elem786 = iprot.readString(); - struct.group_names.add(_elem786); + _elem802 = iprot.readString(); + struct.group_names.add(_elem802); } } struct.setGroup_namesIsSet(true); @@ -74349,14 +75630,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 _list788 = iprot.readListBegin(); - struct.success = new ArrayList(_list788.size); - Partition _elem789; - for (int _i790 = 0; _i790 < _list788.size; ++_i790) + org.apache.thrift.protocol.TList _list804 = iprot.readListBegin(); + struct.success = new ArrayList(_list804.size); + Partition _elem805; + for (int _i806 = 0; _i806 < _list804.size; ++_i806) { - _elem789 = new Partition(); - _elem789.read(iprot); - struct.success.add(_elem789); + _elem805 = new Partition(); + _elem805.read(iprot); + struct.success.add(_elem805); } iprot.readListEnd(); } @@ -74400,9 +75681,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 _iter791 : struct.success) + for (Partition _iter807 : struct.success) { - _iter791.write(oprot); + _iter807.write(oprot); } oprot.writeListEnd(); } @@ -74449,9 +75730,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter792 : struct.success) + for (Partition _iter808 : struct.success) { - _iter792.write(oprot); + _iter808.write(oprot); } } } @@ -74469,14 +75750,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 _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list793.size); - Partition _elem794; - for (int _i795 = 0; _i795 < _list793.size; ++_i795) + org.apache.thrift.protocol.TList _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list809.size); + Partition _elem810; + for (int _i811 = 0; _i811 < _list809.size; ++_i811) { - _elem794 = new Partition(); - _elem794.read(iprot); - struct.success.add(_elem794); + _elem810 = new Partition(); + _elem810.read(iprot); + struct.success.add(_elem810); } } struct.setSuccessIsSet(true); @@ -75539,14 +76820,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 _list796 = iprot.readListBegin(); - struct.success = new ArrayList(_list796.size); - PartitionSpec _elem797; - for (int _i798 = 0; _i798 < _list796.size; ++_i798) + org.apache.thrift.protocol.TList _list812 = iprot.readListBegin(); + struct.success = new ArrayList(_list812.size); + PartitionSpec _elem813; + for (int _i814 = 0; _i814 < _list812.size; ++_i814) { - _elem797 = new PartitionSpec(); - _elem797.read(iprot); - struct.success.add(_elem797); + _elem813 = new PartitionSpec(); + _elem813.read(iprot); + struct.success.add(_elem813); } iprot.readListEnd(); } @@ -75590,9 +76871,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 _iter799 : struct.success) + for (PartitionSpec _iter815 : struct.success) { - _iter799.write(oprot); + _iter815.write(oprot); } oprot.writeListEnd(); } @@ -75639,9 +76920,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter800 : struct.success) + for (PartitionSpec _iter816 : struct.success) { - _iter800.write(oprot); + _iter816.write(oprot); } } } @@ -75659,14 +76940,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 _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list801.size); - PartitionSpec _elem802; - for (int _i803 = 0; _i803 < _list801.size; ++_i803) + org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list817.size); + PartitionSpec _elem818; + for (int _i819 = 0; _i819 < _list817.size; ++_i819) { - _elem802 = new PartitionSpec(); - _elem802.read(iprot); - struct.success.add(_elem802); + _elem818 = new PartitionSpec(); + _elem818.read(iprot); + struct.success.add(_elem818); } } struct.setSuccessIsSet(true); @@ -76645,13 +77926,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 _list804 = iprot.readListBegin(); - struct.success = new ArrayList(_list804.size); - String _elem805; - for (int _i806 = 0; _i806 < _list804.size; ++_i806) + org.apache.thrift.protocol.TList _list820 = iprot.readListBegin(); + struct.success = new ArrayList(_list820.size); + String _elem821; + for (int _i822 = 0; _i822 < _list820.size; ++_i822) { - _elem805 = iprot.readString(); - struct.success.add(_elem805); + _elem821 = iprot.readString(); + struct.success.add(_elem821); } iprot.readListEnd(); } @@ -76686,9 +77967,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 _iter807 : struct.success) + for (String _iter823 : struct.success) { - oprot.writeString(_iter807); + oprot.writeString(_iter823); } oprot.writeListEnd(); } @@ -76727,9 +78008,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter808 : struct.success) + for (String _iter824 : struct.success) { - oprot.writeString(_iter808); + oprot.writeString(_iter824); } } } @@ -76744,13 +78025,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 _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list809.size); - String _elem810; - for (int _i811 = 0; _i811 < _list809.size; ++_i811) + org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list825.size); + String _elem826; + for (int _i827 = 0; _i827 < _list825.size; ++_i827) { - _elem810 = iprot.readString(); - struct.success.add(_elem810); + _elem826 = iprot.readString(); + struct.success.add(_elem826); } } struct.setSuccessIsSet(true); @@ -77338,13 +78619,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 _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 _list828 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list828.size); + String _elem829; + for (int _i830 = 0; _i830 < _list828.size; ++_i830) { - _elem813 = iprot.readString(); - struct.part_vals.add(_elem813); + _elem829 = iprot.readString(); + struct.part_vals.add(_elem829); } iprot.readListEnd(); } @@ -77388,9 +78669,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 _iter815 : struct.part_vals) + for (String _iter831 : struct.part_vals) { - oprot.writeString(_iter815); + oprot.writeString(_iter831); } oprot.writeListEnd(); } @@ -77439,9 +78720,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 _iter816 : struct.part_vals) + for (String _iter832 : struct.part_vals) { - oprot.writeString(_iter816); + oprot.writeString(_iter832); } } } @@ -77464,13 +78745,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } 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 _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) { - _elem818 = iprot.readString(); - struct.part_vals.add(_elem818); + _elem834 = iprot.readString(); + struct.part_vals.add(_elem834); } } struct.setPart_valsIsSet(true); @@ -77961,14 +79242,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 _list820 = iprot.readListBegin(); - struct.success = new ArrayList(_list820.size); - Partition _elem821; - for (int _i822 = 0; _i822 < _list820.size; ++_i822) + org.apache.thrift.protocol.TList _list836 = iprot.readListBegin(); + struct.success = new ArrayList(_list836.size); + Partition _elem837; + for (int _i838 = 0; _i838 < _list836.size; ++_i838) { - _elem821 = new Partition(); - _elem821.read(iprot); - struct.success.add(_elem821); + _elem837 = new Partition(); + _elem837.read(iprot); + struct.success.add(_elem837); } iprot.readListEnd(); } @@ -78012,9 +79293,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 _iter823 : struct.success) + for (Partition _iter839 : struct.success) { - _iter823.write(oprot); + _iter839.write(oprot); } oprot.writeListEnd(); } @@ -78061,9 +79342,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter824 : struct.success) + for (Partition _iter840 : struct.success) { - _iter824.write(oprot); + _iter840.write(oprot); } } } @@ -78081,14 +79362,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 _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list825.size); - Partition _elem826; - for (int _i827 = 0; _i827 < _list825.size; ++_i827) + org.apache.thrift.protocol.TList _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list841.size); + Partition _elem842; + for (int _i843 = 0; _i843 < _list841.size; ++_i843) { - _elem826 = new Partition(); - _elem826.read(iprot); - struct.success.add(_elem826); + _elem842 = new Partition(); + _elem842.read(iprot); + struct.success.add(_elem842); } } struct.setSuccessIsSet(true); @@ -78860,13 +80141,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 _list828 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list828.size); - String _elem829; - for (int _i830 = 0; _i830 < _list828.size; ++_i830) + org.apache.thrift.protocol.TList _list844 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list844.size); + String _elem845; + for (int _i846 = 0; _i846 < _list844.size; ++_i846) { - _elem829 = iprot.readString(); - struct.part_vals.add(_elem829); + _elem845 = iprot.readString(); + struct.part_vals.add(_elem845); } iprot.readListEnd(); } @@ -78894,13 +80175,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 _list831 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list831.size); - String _elem832; - for (int _i833 = 0; _i833 < _list831.size; ++_i833) + org.apache.thrift.protocol.TList _list847 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list847.size); + String _elem848; + for (int _i849 = 0; _i849 < _list847.size; ++_i849) { - _elem832 = iprot.readString(); - struct.group_names.add(_elem832); + _elem848 = iprot.readString(); + struct.group_names.add(_elem848); } iprot.readListEnd(); } @@ -78936,9 +80217,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 _iter834 : struct.part_vals) + for (String _iter850 : struct.part_vals) { - oprot.writeString(_iter834); + oprot.writeString(_iter850); } oprot.writeListEnd(); } @@ -78956,9 +80237,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 _iter835 : struct.group_names) + for (String _iter851 : struct.group_names) { - oprot.writeString(_iter835); + oprot.writeString(_iter851); } oprot.writeListEnd(); } @@ -79010,9 +80291,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 _iter836 : struct.part_vals) + for (String _iter852 : struct.part_vals) { - oprot.writeString(_iter836); + oprot.writeString(_iter852); } } } @@ -79025,9 +80306,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 _iter837 : struct.group_names) + for (String _iter853 : struct.group_names) { - oprot.writeString(_iter837); + oprot.writeString(_iter853); } } } @@ -79047,13 +80328,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list838 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list838.size); - String _elem839; - for (int _i840 = 0; _i840 < _list838.size; ++_i840) + org.apache.thrift.protocol.TList _list854 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list854.size); + String _elem855; + for (int _i856 = 0; _i856 < _list854.size; ++_i856) { - _elem839 = iprot.readString(); - struct.part_vals.add(_elem839); + _elem855 = iprot.readString(); + struct.part_vals.add(_elem855); } } struct.setPart_valsIsSet(true); @@ -79068,13 +80349,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list841.size); - String _elem842; - for (int _i843 = 0; _i843 < _list841.size; ++_i843) + org.apache.thrift.protocol.TList _list857 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list857.size); + String _elem858; + for (int _i859 = 0; _i859 < _list857.size; ++_i859) { - _elem842 = iprot.readString(); - struct.group_names.add(_elem842); + _elem858 = iprot.readString(); + struct.group_names.add(_elem858); } } struct.setGroup_namesIsSet(true); @@ -79561,14 +80842,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 _list844 = iprot.readListBegin(); - struct.success = new ArrayList(_list844.size); - Partition _elem845; - for (int _i846 = 0; _i846 < _list844.size; ++_i846) + org.apache.thrift.protocol.TList _list860 = iprot.readListBegin(); + struct.success = new ArrayList(_list860.size); + Partition _elem861; + for (int _i862 = 0; _i862 < _list860.size; ++_i862) { - _elem845 = new Partition(); - _elem845.read(iprot); - struct.success.add(_elem845); + _elem861 = new Partition(); + _elem861.read(iprot); + struct.success.add(_elem861); } iprot.readListEnd(); } @@ -79612,9 +80893,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 _iter847 : struct.success) + for (Partition _iter863 : struct.success) { - _iter847.write(oprot); + _iter863.write(oprot); } oprot.writeListEnd(); } @@ -79661,9 +80942,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter848 : struct.success) + for (Partition _iter864 : struct.success) { - _iter848.write(oprot); + _iter864.write(oprot); } } } @@ -79681,14 +80962,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 _list849 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list849.size); - Partition _elem850; - for (int _i851 = 0; _i851 < _list849.size; ++_i851) + org.apache.thrift.protocol.TList _list865 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list865.size); + Partition _elem866; + for (int _i867 = 0; _i867 < _list865.size; ++_i867) { - _elem850 = new Partition(); - _elem850.read(iprot); - struct.success.add(_elem850); + _elem866 = new Partition(); + _elem866.read(iprot); + struct.success.add(_elem866); } } struct.setSuccessIsSet(true); @@ -80281,13 +81562,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 _list852 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list852.size); - String _elem853; - for (int _i854 = 0; _i854 < _list852.size; ++_i854) + org.apache.thrift.protocol.TList _list868 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list868.size); + String _elem869; + for (int _i870 = 0; _i870 < _list868.size; ++_i870) { - _elem853 = iprot.readString(); - struct.part_vals.add(_elem853); + _elem869 = iprot.readString(); + struct.part_vals.add(_elem869); } iprot.readListEnd(); } @@ -80331,9 +81612,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 _iter855 : struct.part_vals) + for (String _iter871 : struct.part_vals) { - oprot.writeString(_iter855); + oprot.writeString(_iter871); } oprot.writeListEnd(); } @@ -80382,9 +81663,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 _iter856 : struct.part_vals) + for (String _iter872 : struct.part_vals) { - oprot.writeString(_iter856); + oprot.writeString(_iter872); } } } @@ -80407,13 +81688,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list857 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list857.size); - String _elem858; - for (int _i859 = 0; _i859 < _list857.size; ++_i859) + org.apache.thrift.protocol.TList _list873 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list873.size); + String _elem874; + for (int _i875 = 0; _i875 < _list873.size; ++_i875) { - _elem858 = iprot.readString(); - struct.part_vals.add(_elem858); + _elem874 = iprot.readString(); + struct.part_vals.add(_elem874); } } struct.setPart_valsIsSet(true); @@ -80901,13 +82182,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 _list860 = iprot.readListBegin(); - struct.success = new ArrayList(_list860.size); - String _elem861; - for (int _i862 = 0; _i862 < _list860.size; ++_i862) + org.apache.thrift.protocol.TList _list876 = iprot.readListBegin(); + struct.success = new ArrayList(_list876.size); + String _elem877; + for (int _i878 = 0; _i878 < _list876.size; ++_i878) { - _elem861 = iprot.readString(); - struct.success.add(_elem861); + _elem877 = iprot.readString(); + struct.success.add(_elem877); } iprot.readListEnd(); } @@ -80951,9 +82232,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 _iter863 : struct.success) + for (String _iter879 : struct.success) { - oprot.writeString(_iter863); + oprot.writeString(_iter879); } oprot.writeListEnd(); } @@ -81000,9 +82281,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter864 : struct.success) + for (String _iter880 : struct.success) { - oprot.writeString(_iter864); + oprot.writeString(_iter880); } } } @@ -81020,13 +82301,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 _list865 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list865.size); - String _elem866; - for (int _i867 = 0; _i867 < _list865.size; ++_i867) + org.apache.thrift.protocol.TList _list881 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list881.size); + String _elem882; + for (int _i883 = 0; _i883 < _list881.size; ++_i883) { - _elem866 = iprot.readString(); - struct.success.add(_elem866); + _elem882 = iprot.readString(); + struct.success.add(_elem882); } } struct.setSuccessIsSet(true); @@ -82193,14 +83474,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 _list868 = iprot.readListBegin(); - struct.success = new ArrayList(_list868.size); - Partition _elem869; - for (int _i870 = 0; _i870 < _list868.size; ++_i870) + org.apache.thrift.protocol.TList _list884 = iprot.readListBegin(); + struct.success = new ArrayList(_list884.size); + Partition _elem885; + for (int _i886 = 0; _i886 < _list884.size; ++_i886) { - _elem869 = new Partition(); - _elem869.read(iprot); - struct.success.add(_elem869); + _elem885 = new Partition(); + _elem885.read(iprot); + struct.success.add(_elem885); } iprot.readListEnd(); } @@ -82244,9 +83525,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 _iter871 : struct.success) + for (Partition _iter887 : struct.success) { - _iter871.write(oprot); + _iter887.write(oprot); } oprot.writeListEnd(); } @@ -82293,9 +83574,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter872 : struct.success) + for (Partition _iter888 : struct.success) { - _iter872.write(oprot); + _iter888.write(oprot); } } } @@ -82313,14 +83594,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 _list873 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list873.size); - Partition _elem874; - for (int _i875 = 0; _i875 < _list873.size; ++_i875) + org.apache.thrift.protocol.TList _list889 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list889.size); + Partition _elem890; + for (int _i891 = 0; _i891 < _list889.size; ++_i891) { - _elem874 = new Partition(); - _elem874.read(iprot); - struct.success.add(_elem874); + _elem890 = new Partition(); + _elem890.read(iprot); + struct.success.add(_elem890); } } struct.setSuccessIsSet(true); @@ -83487,14 +84768,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 _list876 = iprot.readListBegin(); - struct.success = new ArrayList(_list876.size); - PartitionSpec _elem877; - for (int _i878 = 0; _i878 < _list876.size; ++_i878) + org.apache.thrift.protocol.TList _list892 = iprot.readListBegin(); + struct.success = new ArrayList(_list892.size); + PartitionSpec _elem893; + for (int _i894 = 0; _i894 < _list892.size; ++_i894) { - _elem877 = new PartitionSpec(); - _elem877.read(iprot); - struct.success.add(_elem877); + _elem893 = new PartitionSpec(); + _elem893.read(iprot); + struct.success.add(_elem893); } iprot.readListEnd(); } @@ -83538,9 +84819,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 _iter879 : struct.success) + for (PartitionSpec _iter895 : struct.success) { - _iter879.write(oprot); + _iter895.write(oprot); } oprot.writeListEnd(); } @@ -83587,9 +84868,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 _iter880 : struct.success) + for (PartitionSpec _iter896 : struct.success) { - _iter880.write(oprot); + _iter896.write(oprot); } } } @@ -83607,14 +84888,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 _list881 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list881.size); - PartitionSpec _elem882; - for (int _i883 = 0; _i883 < _list881.size; ++_i883) + org.apache.thrift.protocol.TList _list897 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list897.size); + PartitionSpec _elem898; + for (int _i899 = 0; _i899 < _list897.size; ++_i899) { - _elem882 = new PartitionSpec(); - _elem882.read(iprot); - struct.success.add(_elem882); + _elem898 = new PartitionSpec(); + _elem898.read(iprot); + struct.success.add(_elem898); } } struct.setSuccessIsSet(true); @@ -85062,13 +86343,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 _list884 = iprot.readListBegin(); - struct.names = new ArrayList(_list884.size); - String _elem885; - for (int _i886 = 0; _i886 < _list884.size; ++_i886) + org.apache.thrift.protocol.TList _list900 = iprot.readListBegin(); + struct.names = new ArrayList(_list900.size); + String _elem901; + for (int _i902 = 0; _i902 < _list900.size; ++_i902) { - _elem885 = iprot.readString(); - struct.names.add(_elem885); + _elem901 = iprot.readString(); + struct.names.add(_elem901); } iprot.readListEnd(); } @@ -85104,9 +86385,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 _iter887 : struct.names) + for (String _iter903 : struct.names) { - oprot.writeString(_iter887); + oprot.writeString(_iter903); } oprot.writeListEnd(); } @@ -85149,9 +86430,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter888 : struct.names) + for (String _iter904 : struct.names) { - oprot.writeString(_iter888); + oprot.writeString(_iter904); } } } @@ -85171,13 +86452,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list889 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list889.size); - String _elem890; - for (int _i891 = 0; _i891 < _list889.size; ++_i891) + org.apache.thrift.protocol.TList _list905 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list905.size); + String _elem906; + for (int _i907 = 0; _i907 < _list905.size; ++_i907) { - _elem890 = iprot.readString(); - struct.names.add(_elem890); + _elem906 = iprot.readString(); + struct.names.add(_elem906); } } struct.setNamesIsSet(true); @@ -85664,14 +86945,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 _list892 = iprot.readListBegin(); - struct.success = new ArrayList(_list892.size); - Partition _elem893; - for (int _i894 = 0; _i894 < _list892.size; ++_i894) + org.apache.thrift.protocol.TList _list908 = iprot.readListBegin(); + struct.success = new ArrayList(_list908.size); + Partition _elem909; + for (int _i910 = 0; _i910 < _list908.size; ++_i910) { - _elem893 = new Partition(); - _elem893.read(iprot); - struct.success.add(_elem893); + _elem909 = new Partition(); + _elem909.read(iprot); + struct.success.add(_elem909); } iprot.readListEnd(); } @@ -85715,9 +86996,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 _iter895 : struct.success) + for (Partition _iter911 : struct.success) { - _iter895.write(oprot); + _iter911.write(oprot); } oprot.writeListEnd(); } @@ -85764,9 +87045,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter896 : struct.success) + for (Partition _iter912 : struct.success) { - _iter896.write(oprot); + _iter912.write(oprot); } } } @@ -85784,14 +87065,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 _list897 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list897.size); - Partition _elem898; - for (int _i899 = 0; _i899 < _list897.size; ++_i899) + org.apache.thrift.protocol.TList _list913 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list913.size); + Partition _elem914; + for (int _i915 = 0; _i915 < _list913.size; ++_i915) { - _elem898 = new Partition(); - _elem898.read(iprot); - struct.success.add(_elem898); + _elem914 = new Partition(); + _elem914.read(iprot); + struct.success.add(_elem914); } } struct.setSuccessIsSet(true); @@ -87341,14 +88622,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 _list900 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list900.size); - Partition _elem901; - for (int _i902 = 0; _i902 < _list900.size; ++_i902) + org.apache.thrift.protocol.TList _list916 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list916.size); + Partition _elem917; + for (int _i918 = 0; _i918 < _list916.size; ++_i918) { - _elem901 = new Partition(); - _elem901.read(iprot); - struct.new_parts.add(_elem901); + _elem917 = new Partition(); + _elem917.read(iprot); + struct.new_parts.add(_elem917); } iprot.readListEnd(); } @@ -87384,9 +88665,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 _iter903 : struct.new_parts) + for (Partition _iter919 : struct.new_parts) { - _iter903.write(oprot); + _iter919.write(oprot); } oprot.writeListEnd(); } @@ -87429,9 +88710,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 _iter904 : struct.new_parts) + for (Partition _iter920 : struct.new_parts) { - _iter904.write(oprot); + _iter920.write(oprot); } } } @@ -87451,14 +88732,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list905 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list905.size); - Partition _elem906; - for (int _i907 = 0; _i907 < _list905.size; ++_i907) + org.apache.thrift.protocol.TList _list921 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list921.size); + Partition _elem922; + for (int _i923 = 0; _i923 < _list921.size; ++_i923) { - _elem906 = new Partition(); - _elem906.read(iprot); - struct.new_parts.add(_elem906); + _elem922 = new Partition(); + _elem922.read(iprot); + struct.new_parts.add(_elem922); } } struct.setNew_partsIsSet(true); @@ -89654,13 +90935,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 _list908 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list908.size); - String _elem909; - for (int _i910 = 0; _i910 < _list908.size; ++_i910) + org.apache.thrift.protocol.TList _list924 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list924.size); + String _elem925; + for (int _i926 = 0; _i926 < _list924.size; ++_i926) { - _elem909 = iprot.readString(); - struct.part_vals.add(_elem909); + _elem925 = iprot.readString(); + struct.part_vals.add(_elem925); } iprot.readListEnd(); } @@ -89705,9 +90986,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 _iter911 : struct.part_vals) + for (String _iter927 : struct.part_vals) { - oprot.writeString(_iter911); + oprot.writeString(_iter927); } oprot.writeListEnd(); } @@ -89758,9 +91039,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 _iter912 : struct.part_vals) + for (String _iter928 : struct.part_vals) { - oprot.writeString(_iter912); + oprot.writeString(_iter928); } } } @@ -89783,13 +91064,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list913 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list913.size); - String _elem914; - for (int _i915 = 0; _i915 < _list913.size; ++_i915) + org.apache.thrift.protocol.TList _list929 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list929.size); + String _elem930; + for (int _i931 = 0; _i931 < _list929.size; ++_i931) { - _elem914 = iprot.readString(); - struct.part_vals.add(_elem914); + _elem930 = iprot.readString(); + struct.part_vals.add(_elem930); } } struct.setPart_valsIsSet(true); @@ -90663,13 +91944,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 _list916 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list916.size); - String _elem917; - for (int _i918 = 0; _i918 < _list916.size; ++_i918) + org.apache.thrift.protocol.TList _list932 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list932.size); + String _elem933; + for (int _i934 = 0; _i934 < _list932.size; ++_i934) { - _elem917 = iprot.readString(); - struct.part_vals.add(_elem917); + _elem933 = iprot.readString(); + struct.part_vals.add(_elem933); } iprot.readListEnd(); } @@ -90703,9 +91984,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 _iter919 : struct.part_vals) + for (String _iter935 : struct.part_vals) { - oprot.writeString(_iter919); + oprot.writeString(_iter935); } oprot.writeListEnd(); } @@ -90742,9 +92023,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 _iter920 : struct.part_vals) + for (String _iter936 : struct.part_vals) { - oprot.writeString(_iter920); + oprot.writeString(_iter936); } } } @@ -90759,13 +92040,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 _list921 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list921.size); - String _elem922; - for (int _i923 = 0; _i923 < _list921.size; ++_i923) + org.apache.thrift.protocol.TList _list937 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list937.size); + String _elem938; + for (int _i939 = 0; _i939 < _list937.size; ++_i939) { - _elem922 = iprot.readString(); - struct.part_vals.add(_elem922); + _elem938 = iprot.readString(); + struct.part_vals.add(_elem938); } } struct.setPart_valsIsSet(true); @@ -92920,13 +94201,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 _list924 = iprot.readListBegin(); - struct.success = new ArrayList(_list924.size); - String _elem925; - for (int _i926 = 0; _i926 < _list924.size; ++_i926) + org.apache.thrift.protocol.TList _list940 = iprot.readListBegin(); + struct.success = new ArrayList(_list940.size); + String _elem941; + for (int _i942 = 0; _i942 < _list940.size; ++_i942) { - _elem925 = iprot.readString(); - struct.success.add(_elem925); + _elem941 = iprot.readString(); + struct.success.add(_elem941); } iprot.readListEnd(); } @@ -92961,9 +94242,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 _iter927 : struct.success) + for (String _iter943 : struct.success) { - oprot.writeString(_iter927); + oprot.writeString(_iter943); } oprot.writeListEnd(); } @@ -93002,9 +94283,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter928 : struct.success) + for (String _iter944 : struct.success) { - oprot.writeString(_iter928); + oprot.writeString(_iter944); } } } @@ -93019,13 +94300,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 _list929 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list929.size); - String _elem930; - for (int _i931 = 0; _i931 < _list929.size; ++_i931) + org.apache.thrift.protocol.TList _list945 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list945.size); + String _elem946; + for (int _i947 = 0; _i947 < _list945.size; ++_i947) { - _elem930 = iprot.readString(); - struct.success.add(_elem930); + _elem946 = iprot.readString(); + struct.success.add(_elem946); } } struct.setSuccessIsSet(true); @@ -93788,15 +95069,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 _map932 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map932.size); - String _key933; - String _val934; - for (int _i935 = 0; _i935 < _map932.size; ++_i935) + org.apache.thrift.protocol.TMap _map948 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map948.size); + String _key949; + String _val950; + for (int _i951 = 0; _i951 < _map948.size; ++_i951) { - _key933 = iprot.readString(); - _val934 = iprot.readString(); - struct.success.put(_key933, _val934); + _key949 = iprot.readString(); + _val950 = iprot.readString(); + struct.success.put(_key949, _val950); } iprot.readMapEnd(); } @@ -93831,10 +95112,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 _iter936 : struct.success.entrySet()) + for (Map.Entry _iter952 : struct.success.entrySet()) { - oprot.writeString(_iter936.getKey()); - oprot.writeString(_iter936.getValue()); + oprot.writeString(_iter952.getKey()); + oprot.writeString(_iter952.getValue()); } oprot.writeMapEnd(); } @@ -93873,10 +95154,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 _iter937 : struct.success.entrySet()) + for (Map.Entry _iter953 : struct.success.entrySet()) { - oprot.writeString(_iter937.getKey()); - oprot.writeString(_iter937.getValue()); + oprot.writeString(_iter953.getKey()); + oprot.writeString(_iter953.getValue()); } } } @@ -93891,15 +95172,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 _map938 = 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*_map938.size); - String _key939; - String _val940; - for (int _i941 = 0; _i941 < _map938.size; ++_i941) + org.apache.thrift.protocol.TMap _map954 = 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*_map954.size); + String _key955; + String _val956; + for (int _i957 = 0; _i957 < _map954.size; ++_i957) { - _key939 = iprot.readString(); - _val940 = iprot.readString(); - struct.success.put(_key939, _val940); + _key955 = iprot.readString(); + _val956 = iprot.readString(); + struct.success.put(_key955, _val956); } } struct.setSuccessIsSet(true); @@ -94494,15 +95775,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 _map942 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map942.size); - String _key943; - String _val944; - for (int _i945 = 0; _i945 < _map942.size; ++_i945) + org.apache.thrift.protocol.TMap _map958 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map958.size); + String _key959; + String _val960; + for (int _i961 = 0; _i961 < _map958.size; ++_i961) { - _key943 = iprot.readString(); - _val944 = iprot.readString(); - struct.part_vals.put(_key943, _val944); + _key959 = iprot.readString(); + _val960 = iprot.readString(); + struct.part_vals.put(_key959, _val960); } iprot.readMapEnd(); } @@ -94546,10 +95827,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 _iter946 : struct.part_vals.entrySet()) + for (Map.Entry _iter962 : struct.part_vals.entrySet()) { - oprot.writeString(_iter946.getKey()); - oprot.writeString(_iter946.getValue()); + oprot.writeString(_iter962.getKey()); + oprot.writeString(_iter962.getValue()); } oprot.writeMapEnd(); } @@ -94600,10 +95881,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter947 : struct.part_vals.entrySet()) + for (Map.Entry _iter963 : struct.part_vals.entrySet()) { - oprot.writeString(_iter947.getKey()); - oprot.writeString(_iter947.getValue()); + oprot.writeString(_iter963.getKey()); + oprot.writeString(_iter963.getValue()); } } } @@ -94626,15 +95907,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map948 = 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*_map948.size); - String _key949; - String _val950; - for (int _i951 = 0; _i951 < _map948.size; ++_i951) + org.apache.thrift.protocol.TMap _map964 = 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*_map964.size); + String _key965; + String _val966; + for (int _i967 = 0; _i967 < _map964.size; ++_i967) { - _key949 = iprot.readString(); - _val950 = iprot.readString(); - struct.part_vals.put(_key949, _val950); + _key965 = iprot.readString(); + _val966 = iprot.readString(); + struct.part_vals.put(_key965, _val966); } } struct.setPart_valsIsSet(true); @@ -96118,15 +97399,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 _map952 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map952.size); - String _key953; - String _val954; - for (int _i955 = 0; _i955 < _map952.size; ++_i955) + org.apache.thrift.protocol.TMap _map968 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map968.size); + String _key969; + String _val970; + for (int _i971 = 0; _i971 < _map968.size; ++_i971) { - _key953 = iprot.readString(); - _val954 = iprot.readString(); - struct.part_vals.put(_key953, _val954); + _key969 = iprot.readString(); + _val970 = iprot.readString(); + struct.part_vals.put(_key969, _val970); } iprot.readMapEnd(); } @@ -96170,10 +97451,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 _iter956 : struct.part_vals.entrySet()) + for (Map.Entry _iter972 : struct.part_vals.entrySet()) { - oprot.writeString(_iter956.getKey()); - oprot.writeString(_iter956.getValue()); + oprot.writeString(_iter972.getKey()); + oprot.writeString(_iter972.getValue()); } oprot.writeMapEnd(); } @@ -96224,10 +97505,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter957 : struct.part_vals.entrySet()) + for (Map.Entry _iter973 : struct.part_vals.entrySet()) { - oprot.writeString(_iter957.getKey()); - oprot.writeString(_iter957.getValue()); + oprot.writeString(_iter973.getKey()); + oprot.writeString(_iter973.getValue()); } } } @@ -96250,15 +97531,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map958 = 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*_map958.size); - String _key959; - String _val960; - for (int _i961 = 0; _i961 < _map958.size; ++_i961) + org.apache.thrift.protocol.TMap _map974 = 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*_map974.size); + String _key975; + String _val976; + for (int _i977 = 0; _i977 < _map974.size; ++_i977) { - _key959 = iprot.readString(); - _val960 = iprot.readString(); - struct.part_vals.put(_key959, _val960); + _key975 = iprot.readString(); + _val976 = iprot.readString(); + struct.part_vals.put(_key975, _val976); } } struct.setPart_valsIsSet(true); @@ -102982,14 +104263,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 _list962 = iprot.readListBegin(); - struct.success = new ArrayList(_list962.size); - Index _elem963; - for (int _i964 = 0; _i964 < _list962.size; ++_i964) + org.apache.thrift.protocol.TList _list978 = iprot.readListBegin(); + struct.success = new ArrayList(_list978.size); + Index _elem979; + for (int _i980 = 0; _i980 < _list978.size; ++_i980) { - _elem963 = new Index(); - _elem963.read(iprot); - struct.success.add(_elem963); + _elem979 = new Index(); + _elem979.read(iprot); + struct.success.add(_elem979); } iprot.readListEnd(); } @@ -103033,9 +104314,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 _iter965 : struct.success) + for (Index _iter981 : struct.success) { - _iter965.write(oprot); + _iter981.write(oprot); } oprot.writeListEnd(); } @@ -103082,9 +104363,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter966 : struct.success) + for (Index _iter982 : struct.success) { - _iter966.write(oprot); + _iter982.write(oprot); } } } @@ -103102,14 +104383,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 _list967 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list967.size); - Index _elem968; - for (int _i969 = 0; _i969 < _list967.size; ++_i969) + org.apache.thrift.protocol.TList _list983 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list983.size); + Index _elem984; + for (int _i985 = 0; _i985 < _list983.size; ++_i985) { - _elem968 = new Index(); - _elem968.read(iprot); - struct.success.add(_elem968); + _elem984 = new Index(); + _elem984.read(iprot); + struct.success.add(_elem984); } } struct.setSuccessIsSet(true); @@ -104088,13 +105369,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 _list970 = iprot.readListBegin(); - struct.success = new ArrayList(_list970.size); - String _elem971; - for (int _i972 = 0; _i972 < _list970.size; ++_i972) + org.apache.thrift.protocol.TList _list986 = iprot.readListBegin(); + struct.success = new ArrayList(_list986.size); + String _elem987; + for (int _i988 = 0; _i988 < _list986.size; ++_i988) { - _elem971 = iprot.readString(); - struct.success.add(_elem971); + _elem987 = iprot.readString(); + struct.success.add(_elem987); } iprot.readListEnd(); } @@ -104129,9 +105410,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 _iter973 : struct.success) + for (String _iter989 : struct.success) { - oprot.writeString(_iter973); + oprot.writeString(_iter989); } oprot.writeListEnd(); } @@ -104170,9 +105451,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter974 : struct.success) + for (String _iter990 : struct.success) { - oprot.writeString(_iter974); + oprot.writeString(_iter990); } } } @@ -104187,13 +105468,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 _list975 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list975.size); - String _elem976; - for (int _i977 = 0; _i977 < _list975.size; ++_i977) + org.apache.thrift.protocol.TList _list991 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list991.size); + String _elem992; + for (int _i993 = 0; _i993 < _list991.size; ++_i993) { - _elem976 = iprot.readString(); - struct.success.add(_elem976); + _elem992 = iprot.readString(); + struct.success.add(_elem992); } } struct.setSuccessIsSet(true); @@ -119928,13 +121209,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 _list978 = iprot.readListBegin(); - struct.success = new ArrayList(_list978.size); - String _elem979; - for (int _i980 = 0; _i980 < _list978.size; ++_i980) + org.apache.thrift.protocol.TList _list994 = iprot.readListBegin(); + struct.success = new ArrayList(_list994.size); + String _elem995; + for (int _i996 = 0; _i996 < _list994.size; ++_i996) { - _elem979 = iprot.readString(); - struct.success.add(_elem979); + _elem995 = iprot.readString(); + struct.success.add(_elem995); } iprot.readListEnd(); } @@ -119969,9 +121250,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 _iter981 : struct.success) + for (String _iter997 : struct.success) { - oprot.writeString(_iter981); + oprot.writeString(_iter997); } oprot.writeListEnd(); } @@ -120010,9 +121291,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter982 : struct.success) + for (String _iter998 : struct.success) { - oprot.writeString(_iter982); + oprot.writeString(_iter998); } } } @@ -120027,13 +121308,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 _list983 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list983.size); - String _elem984; - for (int _i985 = 0; _i985 < _list983.size; ++_i985) + org.apache.thrift.protocol.TList _list999 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list999.size); + String _elem1000; + for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) { - _elem984 = iprot.readString(); - struct.success.add(_elem984); + _elem1000 = iprot.readString(); + struct.success.add(_elem1000); } } struct.setSuccessIsSet(true); @@ -124088,13 +125369,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 _list986 = iprot.readListBegin(); - struct.success = new ArrayList(_list986.size); - String _elem987; - for (int _i988 = 0; _i988 < _list986.size; ++_i988) + org.apache.thrift.protocol.TList _list1002 = iprot.readListBegin(); + struct.success = new ArrayList(_list1002.size); + String _elem1003; + for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) { - _elem987 = iprot.readString(); - struct.success.add(_elem987); + _elem1003 = iprot.readString(); + struct.success.add(_elem1003); } iprot.readListEnd(); } @@ -124129,9 +125410,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 _iter989 : struct.success) + for (String _iter1005 : struct.success) { - oprot.writeString(_iter989); + oprot.writeString(_iter1005); } oprot.writeListEnd(); } @@ -124170,9 +125451,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter990 : struct.success) + for (String _iter1006 : struct.success) { - oprot.writeString(_iter990); + oprot.writeString(_iter1006); } } } @@ -124187,13 +125468,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 _list991 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list991.size); - String _elem992; - for (int _i993 = 0; _i993 < _list991.size; ++_i993) + org.apache.thrift.protocol.TList _list1007 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1007.size); + String _elem1008; + for (int _i1009 = 0; _i1009 < _list1007.size; ++_i1009) { - _elem992 = iprot.readString(); - struct.success.add(_elem992); + _elem1008 = iprot.readString(); + struct.success.add(_elem1008); } } struct.setSuccessIsSet(true); @@ -127484,14 +128765,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 _list994 = iprot.readListBegin(); - struct.success = new ArrayList(_list994.size); - Role _elem995; - for (int _i996 = 0; _i996 < _list994.size; ++_i996) + org.apache.thrift.protocol.TList _list1010 = iprot.readListBegin(); + struct.success = new ArrayList(_list1010.size); + Role _elem1011; + for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) { - _elem995 = new Role(); - _elem995.read(iprot); - struct.success.add(_elem995); + _elem1011 = new Role(); + _elem1011.read(iprot); + struct.success.add(_elem1011); } iprot.readListEnd(); } @@ -127526,9 +128807,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 _iter997 : struct.success) + for (Role _iter1013 : struct.success) { - _iter997.write(oprot); + _iter1013.write(oprot); } oprot.writeListEnd(); } @@ -127567,9 +128848,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter998 : struct.success) + for (Role _iter1014 : struct.success) { - _iter998.write(oprot); + _iter1014.write(oprot); } } } @@ -127584,14 +128865,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 _list999 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list999.size); - Role _elem1000; - for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) + org.apache.thrift.protocol.TList _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1015.size); + Role _elem1016; + for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) { - _elem1000 = new Role(); - _elem1000.read(iprot); - struct.success.add(_elem1000); + _elem1016 = new Role(); + _elem1016.read(iprot); + struct.success.add(_elem1016); } } struct.setSuccessIsSet(true); @@ -130596,13 +131877,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 _list1002 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1002.size); - String _elem1003; - for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) + org.apache.thrift.protocol.TList _list1018 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1018.size); + String _elem1019; + for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) { - _elem1003 = iprot.readString(); - struct.group_names.add(_elem1003); + _elem1019 = iprot.readString(); + struct.group_names.add(_elem1019); } iprot.readListEnd(); } @@ -130638,9 +131919,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 _iter1005 : struct.group_names) + for (String _iter1021 : struct.group_names) { - oprot.writeString(_iter1005); + oprot.writeString(_iter1021); } oprot.writeListEnd(); } @@ -130683,9 +131964,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 _iter1006 : struct.group_names) + for (String _iter1022 : struct.group_names) { - oprot.writeString(_iter1006); + oprot.writeString(_iter1022); } } } @@ -130706,13 +131987,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1007 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1007.size); - String _elem1008; - for (int _i1009 = 0; _i1009 < _list1007.size; ++_i1009) + org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1023.size); + String _elem1024; + for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) { - _elem1008 = iprot.readString(); - struct.group_names.add(_elem1008); + _elem1024 = iprot.readString(); + struct.group_names.add(_elem1024); } } struct.setGroup_namesIsSet(true); @@ -132170,14 +133451,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 _list1010 = iprot.readListBegin(); - struct.success = new ArrayList(_list1010.size); - HiveObjectPrivilege _elem1011; - for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) + org.apache.thrift.protocol.TList _list1026 = iprot.readListBegin(); + struct.success = new ArrayList(_list1026.size); + HiveObjectPrivilege _elem1027; + for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) { - _elem1011 = new HiveObjectPrivilege(); - _elem1011.read(iprot); - struct.success.add(_elem1011); + _elem1027 = new HiveObjectPrivilege(); + _elem1027.read(iprot); + struct.success.add(_elem1027); } iprot.readListEnd(); } @@ -132212,9 +133493,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 _iter1013 : struct.success) + for (HiveObjectPrivilege _iter1029 : struct.success) { - _iter1013.write(oprot); + _iter1029.write(oprot); } oprot.writeListEnd(); } @@ -132253,9 +133534,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1014 : struct.success) + for (HiveObjectPrivilege _iter1030 : struct.success) { - _iter1014.write(oprot); + _iter1030.write(oprot); } } } @@ -132270,14 +133551,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 _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1015.size); - HiveObjectPrivilege _elem1016; - for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) + org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1031.size); + HiveObjectPrivilege _elem1032; + for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) { - _elem1016 = new HiveObjectPrivilege(); - _elem1016.read(iprot); - struct.success.add(_elem1016); + _elem1032 = new HiveObjectPrivilege(); + _elem1032.read(iprot); + struct.success.add(_elem1032); } } struct.setSuccessIsSet(true); @@ -135179,13 +136460,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 _list1018 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1018.size); - String _elem1019; - for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) + org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1034.size); + String _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1019 = iprot.readString(); - struct.group_names.add(_elem1019); + _elem1035 = iprot.readString(); + struct.group_names.add(_elem1035); } iprot.readListEnd(); } @@ -135216,9 +136497,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 _iter1021 : struct.group_names) + for (String _iter1037 : struct.group_names) { - oprot.writeString(_iter1021); + oprot.writeString(_iter1037); } oprot.writeListEnd(); } @@ -135255,9 +136536,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 _iter1022 : struct.group_names) + for (String _iter1038 : struct.group_names) { - oprot.writeString(_iter1022); + oprot.writeString(_iter1038); } } } @@ -135273,13 +136554,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1023.size); - String _elem1024; - for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) + org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1039.size); + String _elem1040; + for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) { - _elem1024 = iprot.readString(); - struct.group_names.add(_elem1024); + _elem1040 = iprot.readString(); + struct.group_names.add(_elem1040); } } struct.setGroup_namesIsSet(true); @@ -135682,13 +136963,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 _list1026 = iprot.readListBegin(); - struct.success = new ArrayList(_list1026.size); - String _elem1027; - for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) + org.apache.thrift.protocol.TList _list1042 = iprot.readListBegin(); + struct.success = new ArrayList(_list1042.size); + String _elem1043; + for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) { - _elem1027 = iprot.readString(); - struct.success.add(_elem1027); + _elem1043 = iprot.readString(); + struct.success.add(_elem1043); } iprot.readListEnd(); } @@ -135723,9 +137004,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 _iter1029 : struct.success) + for (String _iter1045 : struct.success) { - oprot.writeString(_iter1029); + oprot.writeString(_iter1045); } oprot.writeListEnd(); } @@ -135764,9 +137045,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1030 : struct.success) + for (String _iter1046 : struct.success) { - oprot.writeString(_iter1030); + oprot.writeString(_iter1046); } } } @@ -135781,13 +137062,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 _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1031.size); - String _elem1032; - for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) + org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1047.size); + String _elem1048; + for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) { - _elem1032 = iprot.readString(); - struct.success.add(_elem1032); + _elem1048 = iprot.readString(); + struct.success.add(_elem1048); } } struct.setSuccessIsSet(true); diff --git a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index e922d7d..d32d111 100644 --- a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -181,6 +181,14 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { */ public function get_tables($db_name, $pattern); /** + * @param string $db_patterns + * @param string $tbl_patterns + * @param string[] $tbl_types + * @return string[] + * @throws \metastore\MetaException + */ + public function get_table_metas($db_patterns, $tbl_patterns, array $tbl_types); + /** * @param string $db_name * @return string[] * @throws \metastore\MetaException @@ -2241,6 +2249,62 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_tables failed: unknown result"); } + public function get_table_metas($db_patterns, $tbl_patterns, array $tbl_types) + { + $this->send_get_table_metas($db_patterns, $tbl_patterns, $tbl_types); + return $this->recv_get_table_metas(); + } + + public function send_get_table_metas($db_patterns, $tbl_patterns, array $tbl_types) + { + $args = new \metastore\ThriftHiveMetastore_get_table_metas_args(); + $args->db_patterns = $db_patterns; + $args->tbl_patterns = $tbl_patterns; + $args->tbl_types = $tbl_types; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'get_table_metas', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('get_table_metas', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_get_table_metas() + { + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_table_metas_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_table_metas_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_table_metas failed: unknown result"); + } + public function get_all_tables($db_name) { $this->send_get_all_tables($db_name); @@ -13207,32 +13271,58 @@ class ThriftHiveMetastore_get_tables_result { } -class ThriftHiveMetastore_get_all_tables_args { +class ThriftHiveMetastore_get_table_metas_args { static $_TSPEC; /** * @var string */ - public $db_name = null; + public $db_patterns = null; + /** + * @var string + */ + public $tbl_patterns = null; + /** + * @var string[] + */ + public $tbl_types = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( 1 => array( - 'var' => 'db_name', + 'var' => 'db_patterns', + 'type' => TType::STRING, + ), + 2 => array( + 'var' => 'tbl_patterns', 'type' => TType::STRING, ), + 3 => array( + 'var' => 'tbl_types', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), ); } if (is_array($vals)) { - if (isset($vals['db_name'])) { - $this->db_name = $vals['db_name']; + if (isset($vals['db_patterns'])) { + $this->db_patterns = $vals['db_patterns']; + } + if (isset($vals['tbl_patterns'])) { + $this->tbl_patterns = $vals['tbl_patterns']; + } + if (isset($vals['tbl_types'])) { + $this->tbl_types = $vals['tbl_types']; } } } public function getName() { - return 'ThriftHiveMetastore_get_all_tables_args'; + return 'ThriftHiveMetastore_get_table_metas_args'; } public function read($input) @@ -13252,7 +13342,31 @@ class ThriftHiveMetastore_get_all_tables_args { { case 1: if ($ftype == TType::STRING) { - $xfer += $input->readString($this->db_name); + $xfer += $input->readString($this->db_patterns); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->tbl_patterns); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::LST) { + $this->tbl_types = array(); + $_size583 = 0; + $_etype586 = 0; + $xfer += $input->readListBegin($_etype586, $_size583); + for ($_i587 = 0; $_i587 < $_size583; ++$_i587) + { + $elem588 = null; + $xfer += $input->readString($elem588); + $this->tbl_types []= $elem588; + } + $xfer += $input->readListEnd(); } else { $xfer += $input->skip($ftype); } @@ -13269,10 +13383,32 @@ class ThriftHiveMetastore_get_all_tables_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_all_tables_args'); - if ($this->db_name !== null) { - $xfer += $output->writeFieldBegin('db_name', TType::STRING, 1); - $xfer += $output->writeString($this->db_name); + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_table_metas_args'); + if ($this->db_patterns !== null) { + $xfer += $output->writeFieldBegin('db_patterns', TType::STRING, 1); + $xfer += $output->writeString($this->db_patterns); + $xfer += $output->writeFieldEnd(); + } + if ($this->tbl_patterns !== null) { + $xfer += $output->writeFieldBegin('tbl_patterns', TType::STRING, 2); + $xfer += $output->writeString($this->tbl_patterns); + $xfer += $output->writeFieldEnd(); + } + if ($this->tbl_types !== null) { + if (!is_array($this->tbl_types)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('tbl_types', TType::LST, 3); + { + $output->writeListBegin(TType::STRING, count($this->tbl_types)); + { + foreach ($this->tbl_types as $iter589) + { + $xfer += $output->writeString($iter589); + } + } + $output->writeListEnd(); + } $xfer += $output->writeFieldEnd(); } $xfer += $output->writeFieldStop(); @@ -13282,7 +13418,7 @@ class ThriftHiveMetastore_get_all_tables_args { } -class ThriftHiveMetastore_get_all_tables_result { +class ThriftHiveMetastore_get_table_metas_result { static $_TSPEC; /** @@ -13323,7 +13459,7 @@ class ThriftHiveMetastore_get_all_tables_result { } public function getName() { - return 'ThriftHiveMetastore_get_all_tables_result'; + return 'ThriftHiveMetastore_get_table_metas_result'; } public function read($input) @@ -13344,14 +13480,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size583 = 0; - $_etype586 = 0; - $xfer += $input->readListBegin($_etype586, $_size583); - for ($_i587 = 0; $_i587 < $_size583; ++$_i587) + $_size590 = 0; + $_etype593 = 0; + $xfer += $input->readListBegin($_etype593, $_size590); + for ($_i594 = 0; $_i594 < $_size590; ++$_i594) { - $elem588 = null; - $xfer += $input->readString($elem588); - $this->success []= $elem588; + $elem595 = null; + $xfer += $input->readString($elem595); + $this->success []= $elem595; } $xfer += $input->readListEnd(); } else { @@ -13378,7 +13514,7 @@ class ThriftHiveMetastore_get_all_tables_result { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_all_tables_result'); + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_table_metas_result'); if ($this->success !== null) { if (!is_array($this->success)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); @@ -13387,9 +13523,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter589) + foreach ($this->success as $iter596) { - $xfer += $output->writeString($iter589); + $xfer += $output->writeString($iter596); } } $output->writeListEnd(); @@ -13408,43 +13544,32 @@ class ThriftHiveMetastore_get_all_tables_result { } -class ThriftHiveMetastore_get_table_args { +class ThriftHiveMetastore_get_all_tables_args { static $_TSPEC; /** * @var string */ - public $dbname = null; - /** - * @var string - */ - public $tbl_name = null; + public $db_name = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( 1 => array( - 'var' => 'dbname', - 'type' => TType::STRING, - ), - 2 => array( - 'var' => 'tbl_name', + 'var' => 'db_name', 'type' => TType::STRING, ), ); } if (is_array($vals)) { - if (isset($vals['dbname'])) { - $this->dbname = $vals['dbname']; - } - if (isset($vals['tbl_name'])) { - $this->tbl_name = $vals['tbl_name']; + if (isset($vals['db_name'])) { + $this->db_name = $vals['db_name']; } } } public function getName() { - return 'ThriftHiveMetastore_get_table_args'; + return 'ThriftHiveMetastore_get_all_tables_args'; } public function read($input) @@ -13464,14 +13589,7 @@ class ThriftHiveMetastore_get_table_args { { case 1: if ($ftype == TType::STRING) { - $xfer += $input->readString($this->dbname); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->tbl_name); + $xfer += $input->readString($this->db_name); } else { $xfer += $input->skip($ftype); } @@ -13488,15 +13606,10 @@ class ThriftHiveMetastore_get_table_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_table_args'); - if ($this->dbname !== null) { - $xfer += $output->writeFieldBegin('dbname', TType::STRING, 1); - $xfer += $output->writeString($this->dbname); - $xfer += $output->writeFieldEnd(); - } - if ($this->tbl_name !== null) { - $xfer += $output->writeFieldBegin('tbl_name', TType::STRING, 2); - $xfer += $output->writeString($this->tbl_name); + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_all_tables_args'); + if ($this->db_name !== null) { + $xfer += $output->writeFieldBegin('db_name', TType::STRING, 1); + $xfer += $output->writeString($this->db_name); $xfer += $output->writeFieldEnd(); } $xfer += $output->writeFieldStop(); @@ -13506,40 +13619,34 @@ class ThriftHiveMetastore_get_table_args { } -class ThriftHiveMetastore_get_table_result { +class ThriftHiveMetastore_get_all_tables_result { static $_TSPEC; /** - * @var \metastore\Table + * @var string[] */ public $success = null; /** * @var \metastore\MetaException */ public $o1 = null; - /** - * @var \metastore\NoSuchObjectException - */ - public $o2 = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( 0 => array( 'var' => 'success', - 'type' => TType::STRUCT, - 'class' => '\metastore\Table', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), ), 1 => array( 'var' => 'o1', 'type' => TType::STRUCT, 'class' => '\metastore\MetaException', ), - 2 => array( - 'var' => 'o2', - 'type' => TType::STRUCT, - 'class' => '\metastore\NoSuchObjectException', - ), ); } if (is_array($vals)) { @@ -13549,14 +13656,11 @@ class ThriftHiveMetastore_get_table_result { if (isset($vals['o1'])) { $this->o1 = $vals['o1']; } - if (isset($vals['o2'])) { - $this->o2 = $vals['o2']; - } } } public function getName() { - return 'ThriftHiveMetastore_get_table_result'; + return 'ThriftHiveMetastore_get_all_tables_result'; } public function read($input) @@ -13575,9 +13679,18 @@ class ThriftHiveMetastore_get_table_result { switch ($fid) { case 0: - if ($ftype == TType::STRUCT) { - $this->success = new \metastore\Table(); - $xfer += $this->success->read($input); + if ($ftype == TType::LST) { + $this->success = array(); + $_size597 = 0; + $_etype600 = 0; + $xfer += $input->readListBegin($_etype600, $_size597); + for ($_i601 = 0; $_i601 < $_size597; ++$_i601) + { + $elem602 = null; + $xfer += $input->readString($elem602); + $this->success []= $elem602; + } + $xfer += $input->readListEnd(); } else { $xfer += $input->skip($ftype); } @@ -13590,14 +13703,6 @@ class ThriftHiveMetastore_get_table_result { $xfer += $input->skip($ftype); } break; - case 2: - if ($ftype == TType::STRUCT) { - $this->o2 = new \metastore\NoSuchObjectException(); - $xfer += $this->o2->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; default: $xfer += $input->skip($ftype); break; @@ -13610,13 +13715,22 @@ class ThriftHiveMetastore_get_table_result { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_table_result'); + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_all_tables_result'); if ($this->success !== null) { - if (!is_object($this->success)) { + if (!is_array($this->success)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); } - $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0); - $xfer += $this->success->write($output); + $xfer += $output->writeFieldBegin('success', TType::LST, 0); + { + $output->writeListBegin(TType::STRING, count($this->success)); + { + foreach ($this->success as $iter603) + { + $xfer += $output->writeString($iter603); + } + } + $output->writeListEnd(); + } $xfer += $output->writeFieldEnd(); } if ($this->o1 !== null) { @@ -13624,11 +13738,6 @@ class ThriftHiveMetastore_get_table_result { $xfer += $this->o1->write($output); $xfer += $output->writeFieldEnd(); } - if ($this->o2 !== null) { - $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); - $xfer += $this->o2->write($output); - $xfer += $output->writeFieldEnd(); - } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -13636,7 +13745,7 @@ class ThriftHiveMetastore_get_table_result { } -class ThriftHiveMetastore_get_table_objects_by_name_args { +class ThriftHiveMetastore_get_table_args { static $_TSPEC; /** @@ -13644,9 +13753,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { */ public $dbname = null; /** - * @var string[] + * @var string */ - public $tbl_names = null; + public $tbl_name = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -13656,12 +13765,8 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { 'type' => TType::STRING, ), 2 => array( - 'var' => 'tbl_names', - 'type' => TType::LST, - 'etype' => TType::STRING, - 'elem' => array( - 'type' => TType::STRING, - ), + 'var' => 'tbl_name', + 'type' => TType::STRING, ), ); } @@ -13669,14 +13774,246 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { if (isset($vals['dbname'])) { $this->dbname = $vals['dbname']; } - if (isset($vals['tbl_names'])) { - $this->tbl_names = $vals['tbl_names']; + if (isset($vals['tbl_name'])) { + $this->tbl_name = $vals['tbl_name']; } } } public function getName() { - return 'ThriftHiveMetastore_get_table_objects_by_name_args'; + return 'ThriftHiveMetastore_get_table_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->dbname); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->tbl_name); + } 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_table_args'); + if ($this->dbname !== null) { + $xfer += $output->writeFieldBegin('dbname', TType::STRING, 1); + $xfer += $output->writeString($this->dbname); + $xfer += $output->writeFieldEnd(); + } + if ($this->tbl_name !== null) { + $xfer += $output->writeFieldBegin('tbl_name', TType::STRING, 2); + $xfer += $output->writeString($this->tbl_name); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_get_table_result { + static $_TSPEC; + + /** + * @var \metastore\Table + */ + public $success = null; + /** + * @var \metastore\MetaException + */ + public $o1 = null; + /** + * @var \metastore\NoSuchObjectException + */ + public $o2 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::STRUCT, + 'class' => '\metastore\Table', + ), + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\MetaException', + ), + 2 => array( + 'var' => 'o2', + 'type' => TType::STRUCT, + 'class' => '\metastore\NoSuchObjectException', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } + if (isset($vals['o1'])) { + $this->o1 = $vals['o1']; + } + if (isset($vals['o2'])) { + $this->o2 = $vals['o2']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_table_result'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 0: + if ($ftype == TType::STRUCT) { + $this->success = new \metastore\Table(); + $xfer += $this->success->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 1: + if ($ftype == TType::STRUCT) { + $this->o1 = new \metastore\MetaException(); + $xfer += $this->o1->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRUCT) { + $this->o2 = new \metastore\NoSuchObjectException(); + $xfer += $this->o2->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_table_result'); + if ($this->success !== null) { + if (!is_object($this->success)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0); + $xfer += $this->success->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o1 !== null) { + $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); + $xfer += $this->o1->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o2 !== null) { + $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); + $xfer += $this->o2->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_get_table_objects_by_name_args { + static $_TSPEC; + + /** + * @var string + */ + public $dbname = null; + /** + * @var string[] + */ + public $tbl_names = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'dbname', + 'type' => TType::STRING, + ), + 2 => array( + 'var' => 'tbl_names', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['dbname'])) { + $this->dbname = $vals['dbname']; + } + if (isset($vals['tbl_names'])) { + $this->tbl_names = $vals['tbl_names']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_table_objects_by_name_args'; } public function read($input) @@ -13704,14 +14041,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size590 = 0; - $_etype593 = 0; - $xfer += $input->readListBegin($_etype593, $_size590); - for ($_i594 = 0; $_i594 < $_size590; ++$_i594) + $_size604 = 0; + $_etype607 = 0; + $xfer += $input->readListBegin($_etype607, $_size604); + for ($_i608 = 0; $_i608 < $_size604; ++$_i608) { - $elem595 = null; - $xfer += $input->readString($elem595); - $this->tbl_names []= $elem595; + $elem609 = null; + $xfer += $input->readString($elem609); + $this->tbl_names []= $elem609; } $xfer += $input->readListEnd(); } else { @@ -13744,9 +14081,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter596) + foreach ($this->tbl_names as $iter610) { - $xfer += $output->writeString($iter596); + $xfer += $output->writeString($iter610); } } $output->writeListEnd(); @@ -13847,15 +14184,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size597 = 0; - $_etype600 = 0; - $xfer += $input->readListBegin($_etype600, $_size597); - for ($_i601 = 0; $_i601 < $_size597; ++$_i601) + $_size611 = 0; + $_etype614 = 0; + $xfer += $input->readListBegin($_etype614, $_size611); + for ($_i615 = 0; $_i615 < $_size611; ++$_i615) { - $elem602 = null; - $elem602 = new \metastore\Table(); - $xfer += $elem602->read($input); - $this->success []= $elem602; + $elem616 = null; + $elem616 = new \metastore\Table(); + $xfer += $elem616->read($input); + $this->success []= $elem616; } $xfer += $input->readListEnd(); } else { @@ -13907,9 +14244,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter603) + foreach ($this->success as $iter617) { - $xfer += $iter603->write($output); + $xfer += $iter617->write($output); } } $output->writeListEnd(); @@ -14145,14 +14482,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size604 = 0; - $_etype607 = 0; - $xfer += $input->readListBegin($_etype607, $_size604); - for ($_i608 = 0; $_i608 < $_size604; ++$_i608) + $_size618 = 0; + $_etype621 = 0; + $xfer += $input->readListBegin($_etype621, $_size618); + for ($_i622 = 0; $_i622 < $_size618; ++$_i622) { - $elem609 = null; - $xfer += $input->readString($elem609); - $this->success []= $elem609; + $elem623 = null; + $xfer += $input->readString($elem623); + $this->success []= $elem623; } $xfer += $input->readListEnd(); } else { @@ -14204,9 +14541,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter610) + foreach ($this->success as $iter624) { - $xfer += $output->writeString($iter610); + $xfer += $output->writeString($iter624); } } $output->writeListEnd(); @@ -15519,15 +15856,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size611 = 0; - $_etype614 = 0; - $xfer += $input->readListBegin($_etype614, $_size611); - for ($_i615 = 0; $_i615 < $_size611; ++$_i615) + $_size625 = 0; + $_etype628 = 0; + $xfer += $input->readListBegin($_etype628, $_size625); + for ($_i629 = 0; $_i629 < $_size625; ++$_i629) { - $elem616 = null; - $elem616 = new \metastore\Partition(); - $xfer += $elem616->read($input); - $this->new_parts []= $elem616; + $elem630 = null; + $elem630 = new \metastore\Partition(); + $xfer += $elem630->read($input); + $this->new_parts []= $elem630; } $xfer += $input->readListEnd(); } else { @@ -15555,9 +15892,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter617) + foreach ($this->new_parts as $iter631) { - $xfer += $iter617->write($output); + $xfer += $iter631->write($output); } } $output->writeListEnd(); @@ -15772,15 +16109,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size618 = 0; - $_etype621 = 0; - $xfer += $input->readListBegin($_etype621, $_size618); - for ($_i622 = 0; $_i622 < $_size618; ++$_i622) + $_size632 = 0; + $_etype635 = 0; + $xfer += $input->readListBegin($_etype635, $_size632); + for ($_i636 = 0; $_i636 < $_size632; ++$_i636) { - $elem623 = null; - $elem623 = new \metastore\PartitionSpec(); - $xfer += $elem623->read($input); - $this->new_parts []= $elem623; + $elem637 = null; + $elem637 = new \metastore\PartitionSpec(); + $xfer += $elem637->read($input); + $this->new_parts []= $elem637; } $xfer += $input->readListEnd(); } else { @@ -15808,9 +16145,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter624) + foreach ($this->new_parts as $iter638) { - $xfer += $iter624->write($output); + $xfer += $iter638->write($output); } } $output->writeListEnd(); @@ -16060,14 +16397,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size625 = 0; - $_etype628 = 0; - $xfer += $input->readListBegin($_etype628, $_size625); - for ($_i629 = 0; $_i629 < $_size625; ++$_i629) + $_size639 = 0; + $_etype642 = 0; + $xfer += $input->readListBegin($_etype642, $_size639); + for ($_i643 = 0; $_i643 < $_size639; ++$_i643) { - $elem630 = null; - $xfer += $input->readString($elem630); - $this->part_vals []= $elem630; + $elem644 = null; + $xfer += $input->readString($elem644); + $this->part_vals []= $elem644; } $xfer += $input->readListEnd(); } else { @@ -16105,9 +16442,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter631) + foreach ($this->part_vals as $iter645) { - $xfer += $output->writeString($iter631); + $xfer += $output->writeString($iter645); } } $output->writeListEnd(); @@ -16609,14 +16946,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size632 = 0; - $_etype635 = 0; - $xfer += $input->readListBegin($_etype635, $_size632); - for ($_i636 = 0; $_i636 < $_size632; ++$_i636) + $_size646 = 0; + $_etype649 = 0; + $xfer += $input->readListBegin($_etype649, $_size646); + for ($_i650 = 0; $_i650 < $_size646; ++$_i650) { - $elem637 = null; - $xfer += $input->readString($elem637); - $this->part_vals []= $elem637; + $elem651 = null; + $xfer += $input->readString($elem651); + $this->part_vals []= $elem651; } $xfer += $input->readListEnd(); } else { @@ -16662,9 +16999,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter638) + foreach ($this->part_vals as $iter652) { - $xfer += $output->writeString($iter638); + $xfer += $output->writeString($iter652); } } $output->writeListEnd(); @@ -17518,14 +17855,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size639 = 0; - $_etype642 = 0; - $xfer += $input->readListBegin($_etype642, $_size639); - for ($_i643 = 0; $_i643 < $_size639; ++$_i643) + $_size653 = 0; + $_etype656 = 0; + $xfer += $input->readListBegin($_etype656, $_size653); + for ($_i657 = 0; $_i657 < $_size653; ++$_i657) { - $elem644 = null; - $xfer += $input->readString($elem644); - $this->part_vals []= $elem644; + $elem658 = null; + $xfer += $input->readString($elem658); + $this->part_vals []= $elem658; } $xfer += $input->readListEnd(); } else { @@ -17570,9 +17907,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter645) + foreach ($this->part_vals as $iter659) { - $xfer += $output->writeString($iter645); + $xfer += $output->writeString($iter659); } } $output->writeListEnd(); @@ -17825,14 +18162,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size646 = 0; - $_etype649 = 0; - $xfer += $input->readListBegin($_etype649, $_size646); - for ($_i650 = 0; $_i650 < $_size646; ++$_i650) + $_size660 = 0; + $_etype663 = 0; + $xfer += $input->readListBegin($_etype663, $_size660); + for ($_i664 = 0; $_i664 < $_size660; ++$_i664) { - $elem651 = null; - $xfer += $input->readString($elem651); - $this->part_vals []= $elem651; + $elem665 = null; + $xfer += $input->readString($elem665); + $this->part_vals []= $elem665; } $xfer += $input->readListEnd(); } else { @@ -17885,9 +18222,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter652) + foreach ($this->part_vals as $iter666) { - $xfer += $output->writeString($iter652); + $xfer += $output->writeString($iter666); } } $output->writeListEnd(); @@ -18901,14 +19238,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size653 = 0; - $_etype656 = 0; - $xfer += $input->readListBegin($_etype656, $_size653); - for ($_i657 = 0; $_i657 < $_size653; ++$_i657) + $_size667 = 0; + $_etype670 = 0; + $xfer += $input->readListBegin($_etype670, $_size667); + for ($_i671 = 0; $_i671 < $_size667; ++$_i671) { - $elem658 = null; - $xfer += $input->readString($elem658); - $this->part_vals []= $elem658; + $elem672 = null; + $xfer += $input->readString($elem672); + $this->part_vals []= $elem672; } $xfer += $input->readListEnd(); } else { @@ -18946,9 +19283,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter659) + foreach ($this->part_vals as $iter673) { - $xfer += $output->writeString($iter659); + $xfer += $output->writeString($iter673); } } $output->writeListEnd(); @@ -19190,17 +19527,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size660 = 0; - $_ktype661 = 0; - $_vtype662 = 0; - $xfer += $input->readMapBegin($_ktype661, $_vtype662, $_size660); - for ($_i664 = 0; $_i664 < $_size660; ++$_i664) + $_size674 = 0; + $_ktype675 = 0; + $_vtype676 = 0; + $xfer += $input->readMapBegin($_ktype675, $_vtype676, $_size674); + for ($_i678 = 0; $_i678 < $_size674; ++$_i678) { - $key665 = ''; - $val666 = ''; - $xfer += $input->readString($key665); - $xfer += $input->readString($val666); - $this->partitionSpecs[$key665] = $val666; + $key679 = ''; + $val680 = ''; + $xfer += $input->readString($key679); + $xfer += $input->readString($val680); + $this->partitionSpecs[$key679] = $val680; } $xfer += $input->readMapEnd(); } else { @@ -19256,10 +19593,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter667 => $viter668) + foreach ($this->partitionSpecs as $kiter681 => $viter682) { - $xfer += $output->writeString($kiter667); - $xfer += $output->writeString($viter668); + $xfer += $output->writeString($kiter681); + $xfer += $output->writeString($viter682); } } $output->writeMapEnd(); @@ -19585,14 +19922,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size669 = 0; - $_etype672 = 0; - $xfer += $input->readListBegin($_etype672, $_size669); - for ($_i673 = 0; $_i673 < $_size669; ++$_i673) + $_size683 = 0; + $_etype686 = 0; + $xfer += $input->readListBegin($_etype686, $_size683); + for ($_i687 = 0; $_i687 < $_size683; ++$_i687) { - $elem674 = null; - $xfer += $input->readString($elem674); - $this->part_vals []= $elem674; + $elem688 = null; + $xfer += $input->readString($elem688); + $this->part_vals []= $elem688; } $xfer += $input->readListEnd(); } else { @@ -19609,14 +19946,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size675 = 0; - $_etype678 = 0; - $xfer += $input->readListBegin($_etype678, $_size675); - for ($_i679 = 0; $_i679 < $_size675; ++$_i679) + $_size689 = 0; + $_etype692 = 0; + $xfer += $input->readListBegin($_etype692, $_size689); + for ($_i693 = 0; $_i693 < $_size689; ++$_i693) { - $elem680 = null; - $xfer += $input->readString($elem680); - $this->group_names []= $elem680; + $elem694 = null; + $xfer += $input->readString($elem694); + $this->group_names []= $elem694; } $xfer += $input->readListEnd(); } else { @@ -19654,9 +19991,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter681) + foreach ($this->part_vals as $iter695) { - $xfer += $output->writeString($iter681); + $xfer += $output->writeString($iter695); } } $output->writeListEnd(); @@ -19676,9 +20013,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter682) + foreach ($this->group_names as $iter696) { - $xfer += $output->writeString($iter682); + $xfer += $output->writeString($iter696); } } $output->writeListEnd(); @@ -20269,15 +20606,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size683 = 0; - $_etype686 = 0; - $xfer += $input->readListBegin($_etype686, $_size683); - for ($_i687 = 0; $_i687 < $_size683; ++$_i687) + $_size697 = 0; + $_etype700 = 0; + $xfer += $input->readListBegin($_etype700, $_size697); + for ($_i701 = 0; $_i701 < $_size697; ++$_i701) { - $elem688 = null; - $elem688 = new \metastore\Partition(); - $xfer += $elem688->read($input); - $this->success []= $elem688; + $elem702 = null; + $elem702 = new \metastore\Partition(); + $xfer += $elem702->read($input); + $this->success []= $elem702; } $xfer += $input->readListEnd(); } else { @@ -20321,9 +20658,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter689) + foreach ($this->success as $iter703) { - $xfer += $iter689->write($output); + $xfer += $iter703->write($output); } } $output->writeListEnd(); @@ -20469,14 +20806,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size690 = 0; - $_etype693 = 0; - $xfer += $input->readListBegin($_etype693, $_size690); - for ($_i694 = 0; $_i694 < $_size690; ++$_i694) + $_size704 = 0; + $_etype707 = 0; + $xfer += $input->readListBegin($_etype707, $_size704); + for ($_i708 = 0; $_i708 < $_size704; ++$_i708) { - $elem695 = null; - $xfer += $input->readString($elem695); - $this->group_names []= $elem695; + $elem709 = null; + $xfer += $input->readString($elem709); + $this->group_names []= $elem709; } $xfer += $input->readListEnd(); } else { @@ -20524,9 +20861,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter696) + foreach ($this->group_names as $iter710) { - $xfer += $output->writeString($iter696); + $xfer += $output->writeString($iter710); } } $output->writeListEnd(); @@ -20615,15 +20952,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size697 = 0; - $_etype700 = 0; - $xfer += $input->readListBegin($_etype700, $_size697); - for ($_i701 = 0; $_i701 < $_size697; ++$_i701) + $_size711 = 0; + $_etype714 = 0; + $xfer += $input->readListBegin($_etype714, $_size711); + for ($_i715 = 0; $_i715 < $_size711; ++$_i715) { - $elem702 = null; - $elem702 = new \metastore\Partition(); - $xfer += $elem702->read($input); - $this->success []= $elem702; + $elem716 = null; + $elem716 = new \metastore\Partition(); + $xfer += $elem716->read($input); + $this->success []= $elem716; } $xfer += $input->readListEnd(); } else { @@ -20667,9 +21004,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter703) + foreach ($this->success as $iter717) { - $xfer += $iter703->write($output); + $xfer += $iter717->write($output); } } $output->writeListEnd(); @@ -20889,15 +21226,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size704 = 0; - $_etype707 = 0; - $xfer += $input->readListBegin($_etype707, $_size704); - for ($_i708 = 0; $_i708 < $_size704; ++$_i708) + $_size718 = 0; + $_etype721 = 0; + $xfer += $input->readListBegin($_etype721, $_size718); + for ($_i722 = 0; $_i722 < $_size718; ++$_i722) { - $elem709 = null; - $elem709 = new \metastore\PartitionSpec(); - $xfer += $elem709->read($input); - $this->success []= $elem709; + $elem723 = null; + $elem723 = new \metastore\PartitionSpec(); + $xfer += $elem723->read($input); + $this->success []= $elem723; } $xfer += $input->readListEnd(); } else { @@ -20941,9 +21278,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter710) + foreach ($this->success as $iter724) { - $xfer += $iter710->write($output); + $xfer += $iter724->write($output); } } $output->writeListEnd(); @@ -21150,14 +21487,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size711 = 0; - $_etype714 = 0; - $xfer += $input->readListBegin($_etype714, $_size711); - for ($_i715 = 0; $_i715 < $_size711; ++$_i715) + $_size725 = 0; + $_etype728 = 0; + $xfer += $input->readListBegin($_etype728, $_size725); + for ($_i729 = 0; $_i729 < $_size725; ++$_i729) { - $elem716 = null; - $xfer += $input->readString($elem716); - $this->success []= $elem716; + $elem730 = null; + $xfer += $input->readString($elem730); + $this->success []= $elem730; } $xfer += $input->readListEnd(); } else { @@ -21193,9 +21530,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter717) + foreach ($this->success as $iter731) { - $xfer += $output->writeString($iter717); + $xfer += $output->writeString($iter731); } } $output->writeListEnd(); @@ -21311,14 +21648,14 @@ class ThriftHiveMetastore_get_partitions_ps_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) + $_size732 = 0; + $_etype735 = 0; + $xfer += $input->readListBegin($_etype735, $_size732); + for ($_i736 = 0; $_i736 < $_size732; ++$_i736) { - $elem723 = null; - $xfer += $input->readString($elem723); - $this->part_vals []= $elem723; + $elem737 = null; + $xfer += $input->readString($elem737); + $this->part_vals []= $elem737; } $xfer += $input->readListEnd(); } else { @@ -21363,9 +21700,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter724) + foreach ($this->part_vals as $iter738) { - $xfer += $output->writeString($iter724); + $xfer += $output->writeString($iter738); } } $output->writeListEnd(); @@ -21459,15 +21796,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size725 = 0; - $_etype728 = 0; - $xfer += $input->readListBegin($_etype728, $_size725); - for ($_i729 = 0; $_i729 < $_size725; ++$_i729) + $_size739 = 0; + $_etype742 = 0; + $xfer += $input->readListBegin($_etype742, $_size739); + for ($_i743 = 0; $_i743 < $_size739; ++$_i743) { - $elem730 = null; - $elem730 = new \metastore\Partition(); - $xfer += $elem730->read($input); - $this->success []= $elem730; + $elem744 = null; + $elem744 = new \metastore\Partition(); + $xfer += $elem744->read($input); + $this->success []= $elem744; } $xfer += $input->readListEnd(); } else { @@ -21511,9 +21848,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter731) + foreach ($this->success as $iter745) { - $xfer += $iter731->write($output); + $xfer += $iter745->write($output); } } $output->writeListEnd(); @@ -21660,14 +21997,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size732 = 0; - $_etype735 = 0; - $xfer += $input->readListBegin($_etype735, $_size732); - for ($_i736 = 0; $_i736 < $_size732; ++$_i736) + $_size746 = 0; + $_etype749 = 0; + $xfer += $input->readListBegin($_etype749, $_size746); + for ($_i750 = 0; $_i750 < $_size746; ++$_i750) { - $elem737 = null; - $xfer += $input->readString($elem737); - $this->part_vals []= $elem737; + $elem751 = null; + $xfer += $input->readString($elem751); + $this->part_vals []= $elem751; } $xfer += $input->readListEnd(); } else { @@ -21691,14 +22028,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size738 = 0; - $_etype741 = 0; - $xfer += $input->readListBegin($_etype741, $_size738); - for ($_i742 = 0; $_i742 < $_size738; ++$_i742) + $_size752 = 0; + $_etype755 = 0; + $xfer += $input->readListBegin($_etype755, $_size752); + for ($_i756 = 0; $_i756 < $_size752; ++$_i756) { - $elem743 = null; - $xfer += $input->readString($elem743); - $this->group_names []= $elem743; + $elem757 = null; + $xfer += $input->readString($elem757); + $this->group_names []= $elem757; } $xfer += $input->readListEnd(); } else { @@ -21736,9 +22073,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter744) + foreach ($this->part_vals as $iter758) { - $xfer += $output->writeString($iter744); + $xfer += $output->writeString($iter758); } } $output->writeListEnd(); @@ -21763,9 +22100,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter745) + foreach ($this->group_names as $iter759) { - $xfer += $output->writeString($iter745); + $xfer += $output->writeString($iter759); } } $output->writeListEnd(); @@ -21854,15 +22191,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size746 = 0; - $_etype749 = 0; - $xfer += $input->readListBegin($_etype749, $_size746); - for ($_i750 = 0; $_i750 < $_size746; ++$_i750) + $_size760 = 0; + $_etype763 = 0; + $xfer += $input->readListBegin($_etype763, $_size760); + for ($_i764 = 0; $_i764 < $_size760; ++$_i764) { - $elem751 = null; - $elem751 = new \metastore\Partition(); - $xfer += $elem751->read($input); - $this->success []= $elem751; + $elem765 = null; + $elem765 = new \metastore\Partition(); + $xfer += $elem765->read($input); + $this->success []= $elem765; } $xfer += $input->readListEnd(); } else { @@ -21906,9 +22243,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter752) + foreach ($this->success as $iter766) { - $xfer += $iter752->write($output); + $xfer += $iter766->write($output); } } $output->writeListEnd(); @@ -22029,14 +22366,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size753 = 0; - $_etype756 = 0; - $xfer += $input->readListBegin($_etype756, $_size753); - for ($_i757 = 0; $_i757 < $_size753; ++$_i757) + $_size767 = 0; + $_etype770 = 0; + $xfer += $input->readListBegin($_etype770, $_size767); + for ($_i771 = 0; $_i771 < $_size767; ++$_i771) { - $elem758 = null; - $xfer += $input->readString($elem758); - $this->part_vals []= $elem758; + $elem772 = null; + $xfer += $input->readString($elem772); + $this->part_vals []= $elem772; } $xfer += $input->readListEnd(); } else { @@ -22081,9 +22418,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter759) + foreach ($this->part_vals as $iter773) { - $xfer += $output->writeString($iter759); + $xfer += $output->writeString($iter773); } } $output->writeListEnd(); @@ -22176,14 +22513,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size760 = 0; - $_etype763 = 0; - $xfer += $input->readListBegin($_etype763, $_size760); - for ($_i764 = 0; $_i764 < $_size760; ++$_i764) + $_size774 = 0; + $_etype777 = 0; + $xfer += $input->readListBegin($_etype777, $_size774); + for ($_i778 = 0; $_i778 < $_size774; ++$_i778) { - $elem765 = null; - $xfer += $input->readString($elem765); - $this->success []= $elem765; + $elem779 = null; + $xfer += $input->readString($elem779); + $this->success []= $elem779; } $xfer += $input->readListEnd(); } else { @@ -22227,9 +22564,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter766) + foreach ($this->success as $iter780) { - $xfer += $output->writeString($iter766); + $xfer += $output->writeString($iter780); } } $output->writeListEnd(); @@ -22472,15 +22809,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size767 = 0; - $_etype770 = 0; - $xfer += $input->readListBegin($_etype770, $_size767); - for ($_i771 = 0; $_i771 < $_size767; ++$_i771) + $_size781 = 0; + $_etype784 = 0; + $xfer += $input->readListBegin($_etype784, $_size781); + for ($_i785 = 0; $_i785 < $_size781; ++$_i785) { - $elem772 = null; - $elem772 = new \metastore\Partition(); - $xfer += $elem772->read($input); - $this->success []= $elem772; + $elem786 = null; + $elem786 = new \metastore\Partition(); + $xfer += $elem786->read($input); + $this->success []= $elem786; } $xfer += $input->readListEnd(); } else { @@ -22524,9 +22861,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter773) + foreach ($this->success as $iter787) { - $xfer += $iter773->write($output); + $xfer += $iter787->write($output); } } $output->writeListEnd(); @@ -22769,15 +23106,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size774 = 0; - $_etype777 = 0; - $xfer += $input->readListBegin($_etype777, $_size774); - for ($_i778 = 0; $_i778 < $_size774; ++$_i778) + $_size788 = 0; + $_etype791 = 0; + $xfer += $input->readListBegin($_etype791, $_size788); + for ($_i792 = 0; $_i792 < $_size788; ++$_i792) { - $elem779 = null; - $elem779 = new \metastore\PartitionSpec(); - $xfer += $elem779->read($input); - $this->success []= $elem779; + $elem793 = null; + $elem793 = new \metastore\PartitionSpec(); + $xfer += $elem793->read($input); + $this->success []= $elem793; } $xfer += $input->readListEnd(); } else { @@ -22821,9 +23158,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter780) + foreach ($this->success as $iter794) { - $xfer += $iter780->write($output); + $xfer += $iter794->write($output); } } $output->writeListEnd(); @@ -23143,14 +23480,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size781 = 0; - $_etype784 = 0; - $xfer += $input->readListBegin($_etype784, $_size781); - for ($_i785 = 0; $_i785 < $_size781; ++$_i785) + $_size795 = 0; + $_etype798 = 0; + $xfer += $input->readListBegin($_etype798, $_size795); + for ($_i799 = 0; $_i799 < $_size795; ++$_i799) { - $elem786 = null; - $xfer += $input->readString($elem786); - $this->names []= $elem786; + $elem800 = null; + $xfer += $input->readString($elem800); + $this->names []= $elem800; } $xfer += $input->readListEnd(); } else { @@ -23188,9 +23525,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter787) + foreach ($this->names as $iter801) { - $xfer += $output->writeString($iter787); + $xfer += $output->writeString($iter801); } } $output->writeListEnd(); @@ -23279,15 +23616,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size788 = 0; - $_etype791 = 0; - $xfer += $input->readListBegin($_etype791, $_size788); - for ($_i792 = 0; $_i792 < $_size788; ++$_i792) + $_size802 = 0; + $_etype805 = 0; + $xfer += $input->readListBegin($_etype805, $_size802); + for ($_i806 = 0; $_i806 < $_size802; ++$_i806) { - $elem793 = null; - $elem793 = new \metastore\Partition(); - $xfer += $elem793->read($input); - $this->success []= $elem793; + $elem807 = null; + $elem807 = new \metastore\Partition(); + $xfer += $elem807->read($input); + $this->success []= $elem807; } $xfer += $input->readListEnd(); } else { @@ -23331,9 +23668,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter794) + foreach ($this->success as $iter808) { - $xfer += $iter794->write($output); + $xfer += $iter808->write($output); } } $output->writeListEnd(); @@ -23672,15 +24009,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size795 = 0; - $_etype798 = 0; - $xfer += $input->readListBegin($_etype798, $_size795); - for ($_i799 = 0; $_i799 < $_size795; ++$_i799) + $_size809 = 0; + $_etype812 = 0; + $xfer += $input->readListBegin($_etype812, $_size809); + for ($_i813 = 0; $_i813 < $_size809; ++$_i813) { - $elem800 = null; - $elem800 = new \metastore\Partition(); - $xfer += $elem800->read($input); - $this->new_parts []= $elem800; + $elem814 = null; + $elem814 = new \metastore\Partition(); + $xfer += $elem814->read($input); + $this->new_parts []= $elem814; } $xfer += $input->readListEnd(); } else { @@ -23718,9 +24055,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter801) + foreach ($this->new_parts as $iter815) { - $xfer += $iter801->write($output); + $xfer += $iter815->write($output); } } $output->writeListEnd(); @@ -24190,14 +24527,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size802 = 0; - $_etype805 = 0; - $xfer += $input->readListBegin($_etype805, $_size802); - for ($_i806 = 0; $_i806 < $_size802; ++$_i806) + $_size816 = 0; + $_etype819 = 0; + $xfer += $input->readListBegin($_etype819, $_size816); + for ($_i820 = 0; $_i820 < $_size816; ++$_i820) { - $elem807 = null; - $xfer += $input->readString($elem807); - $this->part_vals []= $elem807; + $elem821 = null; + $xfer += $input->readString($elem821); + $this->part_vals []= $elem821; } $xfer += $input->readListEnd(); } else { @@ -24243,9 +24580,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter808) + foreach ($this->part_vals as $iter822) { - $xfer += $output->writeString($iter808); + $xfer += $output->writeString($iter822); } } $output->writeListEnd(); @@ -24430,14 +24767,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size809 = 0; - $_etype812 = 0; - $xfer += $input->readListBegin($_etype812, $_size809); - for ($_i813 = 0; $_i813 < $_size809; ++$_i813) + $_size823 = 0; + $_etype826 = 0; + $xfer += $input->readListBegin($_etype826, $_size823); + for ($_i827 = 0; $_i827 < $_size823; ++$_i827) { - $elem814 = null; - $xfer += $input->readString($elem814); - $this->part_vals []= $elem814; + $elem828 = null; + $xfer += $input->readString($elem828); + $this->part_vals []= $elem828; } $xfer += $input->readListEnd(); } else { @@ -24472,9 +24809,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter815) + foreach ($this->part_vals as $iter829) { - $xfer += $output->writeString($iter815); + $xfer += $output->writeString($iter829); } } $output->writeListEnd(); @@ -24928,14 +25265,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size816 = 0; - $_etype819 = 0; - $xfer += $input->readListBegin($_etype819, $_size816); - for ($_i820 = 0; $_i820 < $_size816; ++$_i820) + $_size830 = 0; + $_etype833 = 0; + $xfer += $input->readListBegin($_etype833, $_size830); + for ($_i834 = 0; $_i834 < $_size830; ++$_i834) { - $elem821 = null; - $xfer += $input->readString($elem821); - $this->success []= $elem821; + $elem835 = null; + $xfer += $input->readString($elem835); + $this->success []= $elem835; } $xfer += $input->readListEnd(); } else { @@ -24971,9 +25308,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter822) + foreach ($this->success as $iter836) { - $xfer += $output->writeString($iter822); + $xfer += $output->writeString($iter836); } } $output->writeListEnd(); @@ -25133,17 +25470,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size823 = 0; - $_ktype824 = 0; - $_vtype825 = 0; - $xfer += $input->readMapBegin($_ktype824, $_vtype825, $_size823); - for ($_i827 = 0; $_i827 < $_size823; ++$_i827) + $_size837 = 0; + $_ktype838 = 0; + $_vtype839 = 0; + $xfer += $input->readMapBegin($_ktype838, $_vtype839, $_size837); + for ($_i841 = 0; $_i841 < $_size837; ++$_i841) { - $key828 = ''; - $val829 = ''; - $xfer += $input->readString($key828); - $xfer += $input->readString($val829); - $this->success[$key828] = $val829; + $key842 = ''; + $val843 = ''; + $xfer += $input->readString($key842); + $xfer += $input->readString($val843); + $this->success[$key842] = $val843; } $xfer += $input->readMapEnd(); } else { @@ -25179,10 +25516,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter830 => $viter831) + foreach ($this->success as $kiter844 => $viter845) { - $xfer += $output->writeString($kiter830); - $xfer += $output->writeString($viter831); + $xfer += $output->writeString($kiter844); + $xfer += $output->writeString($viter845); } } $output->writeMapEnd(); @@ -25302,17 +25639,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size832 = 0; - $_ktype833 = 0; - $_vtype834 = 0; - $xfer += $input->readMapBegin($_ktype833, $_vtype834, $_size832); - for ($_i836 = 0; $_i836 < $_size832; ++$_i836) + $_size846 = 0; + $_ktype847 = 0; + $_vtype848 = 0; + $xfer += $input->readMapBegin($_ktype847, $_vtype848, $_size846); + for ($_i850 = 0; $_i850 < $_size846; ++$_i850) { - $key837 = ''; - $val838 = ''; - $xfer += $input->readString($key837); - $xfer += $input->readString($val838); - $this->part_vals[$key837] = $val838; + $key851 = ''; + $val852 = ''; + $xfer += $input->readString($key851); + $xfer += $input->readString($val852); + $this->part_vals[$key851] = $val852; } $xfer += $input->readMapEnd(); } else { @@ -25357,10 +25694,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter839 => $viter840) + foreach ($this->part_vals as $kiter853 => $viter854) { - $xfer += $output->writeString($kiter839); - $xfer += $output->writeString($viter840); + $xfer += $output->writeString($kiter853); + $xfer += $output->writeString($viter854); } } $output->writeMapEnd(); @@ -25682,17 +26019,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size841 = 0; - $_ktype842 = 0; - $_vtype843 = 0; - $xfer += $input->readMapBegin($_ktype842, $_vtype843, $_size841); - for ($_i845 = 0; $_i845 < $_size841; ++$_i845) + $_size855 = 0; + $_ktype856 = 0; + $_vtype857 = 0; + $xfer += $input->readMapBegin($_ktype856, $_vtype857, $_size855); + for ($_i859 = 0; $_i859 < $_size855; ++$_i859) { - $key846 = ''; - $val847 = ''; - $xfer += $input->readString($key846); - $xfer += $input->readString($val847); - $this->part_vals[$key846] = $val847; + $key860 = ''; + $val861 = ''; + $xfer += $input->readString($key860); + $xfer += $input->readString($val861); + $this->part_vals[$key860] = $val861; } $xfer += $input->readMapEnd(); } else { @@ -25737,10 +26074,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter848 => $viter849) + foreach ($this->part_vals as $kiter862 => $viter863) { - $xfer += $output->writeString($kiter848); - $xfer += $output->writeString($viter849); + $xfer += $output->writeString($kiter862); + $xfer += $output->writeString($viter863); } } $output->writeMapEnd(); @@ -27214,15 +27551,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size850 = 0; - $_etype853 = 0; - $xfer += $input->readListBegin($_etype853, $_size850); - for ($_i854 = 0; $_i854 < $_size850; ++$_i854) + $_size864 = 0; + $_etype867 = 0; + $xfer += $input->readListBegin($_etype867, $_size864); + for ($_i868 = 0; $_i868 < $_size864; ++$_i868) { - $elem855 = null; - $elem855 = new \metastore\Index(); - $xfer += $elem855->read($input); - $this->success []= $elem855; + $elem869 = null; + $elem869 = new \metastore\Index(); + $xfer += $elem869->read($input); + $this->success []= $elem869; } $xfer += $input->readListEnd(); } else { @@ -27266,9 +27603,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter856) + foreach ($this->success as $iter870) { - $xfer += $iter856->write($output); + $xfer += $iter870->write($output); } } $output->writeListEnd(); @@ -27475,14 +27812,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size857 = 0; - $_etype860 = 0; - $xfer += $input->readListBegin($_etype860, $_size857); - for ($_i861 = 0; $_i861 < $_size857; ++$_i861) + $_size871 = 0; + $_etype874 = 0; + $xfer += $input->readListBegin($_etype874, $_size871); + for ($_i875 = 0; $_i875 < $_size871; ++$_i875) { - $elem862 = null; - $xfer += $input->readString($elem862); - $this->success []= $elem862; + $elem876 = null; + $xfer += $input->readString($elem876); + $this->success []= $elem876; } $xfer += $input->readListEnd(); } else { @@ -27518,9 +27855,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter863) + foreach ($this->success as $iter877) { - $xfer += $output->writeString($iter863); + $xfer += $output->writeString($iter877); } } $output->writeListEnd(); @@ -30994,14 +31331,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size864 = 0; - $_etype867 = 0; - $xfer += $input->readListBegin($_etype867, $_size864); - for ($_i868 = 0; $_i868 < $_size864; ++$_i868) + $_size878 = 0; + $_etype881 = 0; + $xfer += $input->readListBegin($_etype881, $_size878); + for ($_i882 = 0; $_i882 < $_size878; ++$_i882) { - $elem869 = null; - $xfer += $input->readString($elem869); - $this->success []= $elem869; + $elem883 = null; + $xfer += $input->readString($elem883); + $this->success []= $elem883; } $xfer += $input->readListEnd(); } else { @@ -31037,9 +31374,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter870) + foreach ($this->success as $iter884) { - $xfer += $output->writeString($iter870); + $xfer += $output->writeString($iter884); } } $output->writeListEnd(); @@ -31908,14 +32245,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size871 = 0; - $_etype874 = 0; - $xfer += $input->readListBegin($_etype874, $_size871); - for ($_i875 = 0; $_i875 < $_size871; ++$_i875) + $_size885 = 0; + $_etype888 = 0; + $xfer += $input->readListBegin($_etype888, $_size885); + for ($_i889 = 0; $_i889 < $_size885; ++$_i889) { - $elem876 = null; - $xfer += $input->readString($elem876); - $this->success []= $elem876; + $elem890 = null; + $xfer += $input->readString($elem890); + $this->success []= $elem890; } $xfer += $input->readListEnd(); } else { @@ -31951,9 +32288,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter877) + foreach ($this->success as $iter891) { - $xfer += $output->writeString($iter877); + $xfer += $output->writeString($iter891); } } $output->writeListEnd(); @@ -32644,15 +32981,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size878 = 0; - $_etype881 = 0; - $xfer += $input->readListBegin($_etype881, $_size878); - for ($_i882 = 0; $_i882 < $_size878; ++$_i882) + $_size892 = 0; + $_etype895 = 0; + $xfer += $input->readListBegin($_etype895, $_size892); + for ($_i896 = 0; $_i896 < $_size892; ++$_i896) { - $elem883 = null; - $elem883 = new \metastore\Role(); - $xfer += $elem883->read($input); - $this->success []= $elem883; + $elem897 = null; + $elem897 = new \metastore\Role(); + $xfer += $elem897->read($input); + $this->success []= $elem897; } $xfer += $input->readListEnd(); } else { @@ -32688,9 +33025,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter884) + foreach ($this->success as $iter898) { - $xfer += $iter884->write($output); + $xfer += $iter898->write($output); } } $output->writeListEnd(); @@ -33352,14 +33689,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size885 = 0; - $_etype888 = 0; - $xfer += $input->readListBegin($_etype888, $_size885); - for ($_i889 = 0; $_i889 < $_size885; ++$_i889) + $_size899 = 0; + $_etype902 = 0; + $xfer += $input->readListBegin($_etype902, $_size899); + for ($_i903 = 0; $_i903 < $_size899; ++$_i903) { - $elem890 = null; - $xfer += $input->readString($elem890); - $this->group_names []= $elem890; + $elem904 = null; + $xfer += $input->readString($elem904); + $this->group_names []= $elem904; } $xfer += $input->readListEnd(); } else { @@ -33400,9 +33737,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter891) + foreach ($this->group_names as $iter905) { - $xfer += $output->writeString($iter891); + $xfer += $output->writeString($iter905); } } $output->writeListEnd(); @@ -33710,15 +34047,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size892 = 0; - $_etype895 = 0; - $xfer += $input->readListBegin($_etype895, $_size892); - for ($_i896 = 0; $_i896 < $_size892; ++$_i896) + $_size906 = 0; + $_etype909 = 0; + $xfer += $input->readListBegin($_etype909, $_size906); + for ($_i910 = 0; $_i910 < $_size906; ++$_i910) { - $elem897 = null; - $elem897 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem897->read($input); - $this->success []= $elem897; + $elem911 = null; + $elem911 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem911->read($input); + $this->success []= $elem911; } $xfer += $input->readListEnd(); } else { @@ -33754,9 +34091,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter898) + foreach ($this->success as $iter912) { - $xfer += $iter898->write($output); + $xfer += $iter912->write($output); } } $output->writeListEnd(); @@ -34388,14 +34725,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size899 = 0; - $_etype902 = 0; - $xfer += $input->readListBegin($_etype902, $_size899); - for ($_i903 = 0; $_i903 < $_size899; ++$_i903) + $_size913 = 0; + $_etype916 = 0; + $xfer += $input->readListBegin($_etype916, $_size913); + for ($_i917 = 0; $_i917 < $_size913; ++$_i917) { - $elem904 = null; - $xfer += $input->readString($elem904); - $this->group_names []= $elem904; + $elem918 = null; + $xfer += $input->readString($elem918); + $this->group_names []= $elem918; } $xfer += $input->readListEnd(); } else { @@ -34428,9 +34765,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter905) + foreach ($this->group_names as $iter919) { - $xfer += $output->writeString($iter905); + $xfer += $output->writeString($iter919); } } $output->writeListEnd(); @@ -34506,14 +34843,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size906 = 0; - $_etype909 = 0; - $xfer += $input->readListBegin($_etype909, $_size906); - for ($_i910 = 0; $_i910 < $_size906; ++$_i910) + $_size920 = 0; + $_etype923 = 0; + $xfer += $input->readListBegin($_etype923, $_size920); + for ($_i924 = 0; $_i924 < $_size920; ++$_i924) { - $elem911 = null; - $xfer += $input->readString($elem911); - $this->success []= $elem911; + $elem925 = null; + $xfer += $input->readString($elem925); + $this->success []= $elem925; } $xfer += $input->readListEnd(); } else { @@ -34549,9 +34886,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter912) + foreach ($this->success as $iter926) { - $xfer += $output->writeString($iter912); + $xfer += $output->writeString($iter926); } } $output->writeListEnd(); diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index 8dba17b..d5de23a 100755 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -45,6 +45,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_table_metas(string db_patterns, string tbl_patterns, tbl_types)') print(' get_all_tables(string db_name)') print(' Table get_table(string dbname, string tbl_name)') print(' get_table_objects_by_name(string dbname, tbl_names)') @@ -348,6 +349,12 @@ elif cmd == 'get_tables': sys.exit(1) pp.pprint(client.get_tables(args[0],args[1],)) +elif cmd == 'get_table_metas': + if len(args) != 3: + print('get_table_metas requires 3 args') + sys.exit(1) + pp.pprint(client.get_table_metas(args[0],args[1],eval(args[2]),)) + elif cmd == 'get_all_tables': if len(args) != 1: print('get_all_tables requires 1 args') diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 59c7b94..1f98ed8 100644 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -183,6 +183,15 @@ def get_tables(self, db_name, pattern): """ pass + def get_table_metas(self, db_patterns, tbl_patterns, tbl_types): + """ + Parameters: + - db_patterns + - tbl_patterns + - tbl_types + """ + pass + def get_all_tables(self, db_name): """ Parameters: @@ -1819,6 +1828,43 @@ def recv_get_tables(self): raise result.o1 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_tables failed: unknown result") + def get_table_metas(self, db_patterns, tbl_patterns, tbl_types): + """ + Parameters: + - db_patterns + - tbl_patterns + - tbl_types + """ + self.send_get_table_metas(db_patterns, tbl_patterns, tbl_types) + return self.recv_get_table_metas() + + def send_get_table_metas(self, db_patterns, tbl_patterns, tbl_types): + self._oprot.writeMessageBegin('get_table_metas', TMessageType.CALL, self._seqid) + args = get_table_metas_args() + args.db_patterns = db_patterns + args.tbl_patterns = tbl_patterns + args.tbl_types = tbl_types + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_get_table_metas(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = get_table_metas_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_table_metas failed: unknown result") + def get_all_tables(self, db_name): """ Parameters: @@ -5794,6 +5840,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_table_metas"] = Processor.process_get_table_metas self._processMap["get_all_tables"] = Processor.process_get_all_tables self._processMap["get_table"] = Processor.process_get_table self._processMap["get_table_objects_by_name"] = Processor.process_get_table_objects_by_name @@ -6458,6 +6505,28 @@ def process_get_tables(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_get_table_metas(self, seqid, iprot, oprot): + args = get_table_metas_args() + args.read(iprot) + iprot.readMessageEnd() + result = get_table_metas_result() + try: + result.success = self._handler.get_table_metas(args.db_patterns, args.tbl_patterns, args.tbl_types) + 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_table_metas", msg_type, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_get_all_tables(self, seqid, iprot, oprot): args = get_all_tables_args() args.read(iprot) @@ -12662,6 +12731,191 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class get_table_metas_args: + """ + Attributes: + - db_patterns + - tbl_patterns + - tbl_types + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRING, 'db_patterns', None, None, ), # 1 + (2, TType.STRING, 'tbl_patterns', None, None, ), # 2 + (3, TType.LIST, 'tbl_types', (TType.STRING,None), None, ), # 3 + ) + + def __init__(self, db_patterns=None, tbl_patterns=None, tbl_types=None,): + self.db_patterns = db_patterns + self.tbl_patterns = tbl_patterns + self.tbl_types = tbl_types + + 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_patterns = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.tbl_patterns = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.LIST: + self.tbl_types = [] + (_etype583, _size580) = iprot.readListBegin() + for _i584 in xrange(_size580): + _elem585 = iprot.readString() + self.tbl_types.append(_elem585) + iprot.readListEnd() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('get_table_metas_args') + if self.db_patterns is not None: + oprot.writeFieldBegin('db_patterns', TType.STRING, 1) + oprot.writeString(self.db_patterns) + oprot.writeFieldEnd() + if self.tbl_patterns is not None: + oprot.writeFieldBegin('tbl_patterns', TType.STRING, 2) + oprot.writeString(self.tbl_patterns) + oprot.writeFieldEnd() + if self.tbl_types is not None: + oprot.writeFieldBegin('tbl_types', TType.LIST, 3) + oprot.writeListBegin(TType.STRING, len(self.tbl_types)) + for iter586 in self.tbl_types: + oprot.writeString(iter586) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.db_patterns) + value = (value * 31) ^ hash(self.tbl_patterns) + value = (value * 31) ^ hash(self.tbl_types) + 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_metas_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 = [] + (_etype590, _size587) = iprot.readListBegin() + for _i591 in xrange(_size587): + _elem592 = iprot.readString() + self.success.append(_elem592) + 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_table_metas_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.LIST, 0) + oprot.writeListBegin(TType.STRING, len(self.success)) + for iter593 in self.success: + oprot.writeString(iter593) + 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_all_tables_args: """ Attributes: @@ -12755,10 +13009,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype583, _size580) = iprot.readListBegin() - for _i584 in xrange(_size580): - _elem585 = iprot.readString() - self.success.append(_elem585) + (_etype597, _size594) = iprot.readListBegin() + for _i598 in xrange(_size594): + _elem599 = iprot.readString() + self.success.append(_elem599) iprot.readListEnd() else: iprot.skip(ftype) @@ -12781,8 +13035,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 iter586 in self.success: - oprot.writeString(iter586) + for iter600 in self.success: + oprot.writeString(iter600) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13018,10 +13272,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype590, _size587) = iprot.readListBegin() - for _i591 in xrange(_size587): - _elem592 = iprot.readString() - self.tbl_names.append(_elem592) + (_etype604, _size601) = iprot.readListBegin() + for _i605 in xrange(_size601): + _elem606 = iprot.readString() + self.tbl_names.append(_elem606) iprot.readListEnd() else: iprot.skip(ftype) @@ -13042,8 +13296,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 iter593 in self.tbl_names: - oprot.writeString(iter593) + for iter607 in self.tbl_names: + oprot.writeString(iter607) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13104,11 +13358,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype597, _size594) = iprot.readListBegin() - for _i598 in xrange(_size594): - _elem599 = Table() - _elem599.read(iprot) - self.success.append(_elem599) + (_etype611, _size608) = iprot.readListBegin() + for _i612 in xrange(_size608): + _elem613 = Table() + _elem613.read(iprot) + self.success.append(_elem613) iprot.readListEnd() else: iprot.skip(ftype) @@ -13143,8 +13397,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 iter600 in self.success: - iter600.write(oprot) + for iter614 in self.success: + iter614.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13310,10 +13564,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype604, _size601) = iprot.readListBegin() - for _i605 in xrange(_size601): - _elem606 = iprot.readString() - self.success.append(_elem606) + (_etype618, _size615) = iprot.readListBegin() + for _i619 in xrange(_size615): + _elem620 = iprot.readString() + self.success.append(_elem620) iprot.readListEnd() else: iprot.skip(ftype) @@ -13348,8 +13602,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 iter607 in self.success: - oprot.writeString(iter607) + for iter621 in self.success: + oprot.writeString(iter621) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14319,11 +14573,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype611, _size608) = iprot.readListBegin() - for _i612 in xrange(_size608): - _elem613 = Partition() - _elem613.read(iprot) - self.new_parts.append(_elem613) + (_etype625, _size622) = iprot.readListBegin() + for _i626 in xrange(_size622): + _elem627 = Partition() + _elem627.read(iprot) + self.new_parts.append(_elem627) iprot.readListEnd() else: iprot.skip(ftype) @@ -14340,8 +14594,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 iter614 in self.new_parts: - iter614.write(oprot) + for iter628 in self.new_parts: + iter628.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14499,11 +14753,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype618, _size615) = iprot.readListBegin() - for _i619 in xrange(_size615): - _elem620 = PartitionSpec() - _elem620.read(iprot) - self.new_parts.append(_elem620) + (_etype632, _size629) = iprot.readListBegin() + for _i633 in xrange(_size629): + _elem634 = PartitionSpec() + _elem634.read(iprot) + self.new_parts.append(_elem634) iprot.readListEnd() else: iprot.skip(ftype) @@ -14520,8 +14774,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 iter621 in self.new_parts: - iter621.write(oprot) + for iter635 in self.new_parts: + iter635.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14695,10 +14949,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype625, _size622) = iprot.readListBegin() - for _i626 in xrange(_size622): - _elem627 = iprot.readString() - self.part_vals.append(_elem627) + (_etype639, _size636) = iprot.readListBegin() + for _i640 in xrange(_size636): + _elem641 = iprot.readString() + self.part_vals.append(_elem641) iprot.readListEnd() else: iprot.skip(ftype) @@ -14723,8 +14977,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 iter628 in self.part_vals: - oprot.writeString(iter628) + for iter642 in self.part_vals: + oprot.writeString(iter642) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15077,10 +15331,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype632, _size629) = iprot.readListBegin() - for _i633 in xrange(_size629): - _elem634 = iprot.readString() - self.part_vals.append(_elem634) + (_etype646, _size643) = iprot.readListBegin() + for _i647 in xrange(_size643): + _elem648 = iprot.readString() + self.part_vals.append(_elem648) iprot.readListEnd() else: iprot.skip(ftype) @@ -15111,8 +15365,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 iter635 in self.part_vals: - oprot.writeString(iter635) + for iter649 in self.part_vals: + oprot.writeString(iter649) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -15707,10 +15961,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype639, _size636) = iprot.readListBegin() - for _i640 in xrange(_size636): - _elem641 = iprot.readString() - self.part_vals.append(_elem641) + (_etype653, _size650) = iprot.readListBegin() + for _i654 in xrange(_size650): + _elem655 = iprot.readString() + self.part_vals.append(_elem655) iprot.readListEnd() else: iprot.skip(ftype) @@ -15740,8 +15994,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 iter642 in self.part_vals: - oprot.writeString(iter642) + for iter656 in self.part_vals: + oprot.writeString(iter656) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -15914,10 +16168,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype646, _size643) = iprot.readListBegin() - for _i647 in xrange(_size643): - _elem648 = iprot.readString() - self.part_vals.append(_elem648) + (_etype660, _size657) = iprot.readListBegin() + for _i661 in xrange(_size657): + _elem662 = iprot.readString() + self.part_vals.append(_elem662) iprot.readListEnd() else: iprot.skip(ftype) @@ -15953,8 +16207,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 iter649 in self.part_vals: - oprot.writeString(iter649) + for iter663 in self.part_vals: + oprot.writeString(iter663) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -16691,10 +16945,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype653, _size650) = iprot.readListBegin() - for _i654 in xrange(_size650): - _elem655 = iprot.readString() - self.part_vals.append(_elem655) + (_etype667, _size664) = iprot.readListBegin() + for _i668 in xrange(_size664): + _elem669 = iprot.readString() + self.part_vals.append(_elem669) iprot.readListEnd() else: iprot.skip(ftype) @@ -16719,8 +16973,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 iter656 in self.part_vals: - oprot.writeString(iter656) + for iter670 in self.part_vals: + oprot.writeString(iter670) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16879,11 +17133,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype658, _vtype659, _size657 ) = iprot.readMapBegin() - for _i661 in xrange(_size657): - _key662 = iprot.readString() - _val663 = iprot.readString() - self.partitionSpecs[_key662] = _val663 + (_ktype672, _vtype673, _size671 ) = iprot.readMapBegin() + for _i675 in xrange(_size671): + _key676 = iprot.readString() + _val677 = iprot.readString() + self.partitionSpecs[_key676] = _val677 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16920,9 +17174,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 kiter664,viter665 in self.partitionSpecs.items(): - oprot.writeString(kiter664) - oprot.writeString(viter665) + for kiter678,viter679 in self.partitionSpecs.items(): + oprot.writeString(kiter678) + oprot.writeString(viter679) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -17137,10 +17391,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype669, _size666) = iprot.readListBegin() - for _i670 in xrange(_size666): - _elem671 = iprot.readString() - self.part_vals.append(_elem671) + (_etype683, _size680) = iprot.readListBegin() + for _i684 in xrange(_size680): + _elem685 = iprot.readString() + self.part_vals.append(_elem685) iprot.readListEnd() else: iprot.skip(ftype) @@ -17152,10 +17406,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype675, _size672) = iprot.readListBegin() - for _i676 in xrange(_size672): - _elem677 = iprot.readString() - self.group_names.append(_elem677) + (_etype689, _size686) = iprot.readListBegin() + for _i690 in xrange(_size686): + _elem691 = iprot.readString() + self.group_names.append(_elem691) iprot.readListEnd() else: iprot.skip(ftype) @@ -17180,8 +17434,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 iter678 in self.part_vals: - oprot.writeString(iter678) + for iter692 in self.part_vals: + oprot.writeString(iter692) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -17191,8 +17445,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 iter679 in self.group_names: - oprot.writeString(iter679) + for iter693 in self.group_names: + oprot.writeString(iter693) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17621,11 +17875,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype683, _size680) = iprot.readListBegin() - for _i684 in xrange(_size680): - _elem685 = Partition() - _elem685.read(iprot) - self.success.append(_elem685) + (_etype697, _size694) = iprot.readListBegin() + for _i698 in xrange(_size694): + _elem699 = Partition() + _elem699.read(iprot) + self.success.append(_elem699) iprot.readListEnd() else: iprot.skip(ftype) @@ -17654,8 +17908,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 iter686 in self.success: - iter686.write(oprot) + for iter700 in self.success: + iter700.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17749,10 +18003,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype690, _size687) = iprot.readListBegin() - for _i691 in xrange(_size687): - _elem692 = iprot.readString() - self.group_names.append(_elem692) + (_etype704, _size701) = iprot.readListBegin() + for _i705 in xrange(_size701): + _elem706 = iprot.readString() + self.group_names.append(_elem706) iprot.readListEnd() else: iprot.skip(ftype) @@ -17785,8 +18039,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 iter693 in self.group_names: - oprot.writeString(iter693) + for iter707 in self.group_names: + oprot.writeString(iter707) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17847,11 +18101,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype697, _size694) = iprot.readListBegin() - for _i698 in xrange(_size694): - _elem699 = Partition() - _elem699.read(iprot) - self.success.append(_elem699) + (_etype711, _size708) = iprot.readListBegin() + for _i712 in xrange(_size708): + _elem713 = Partition() + _elem713.read(iprot) + self.success.append(_elem713) iprot.readListEnd() else: iprot.skip(ftype) @@ -17880,8 +18134,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 iter700 in self.success: - iter700.write(oprot) + for iter714 in self.success: + iter714.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18039,11 +18293,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype704, _size701) = iprot.readListBegin() - for _i705 in xrange(_size701): - _elem706 = PartitionSpec() - _elem706.read(iprot) - self.success.append(_elem706) + (_etype718, _size715) = iprot.readListBegin() + for _i719 in xrange(_size715): + _elem720 = PartitionSpec() + _elem720.read(iprot) + self.success.append(_elem720) iprot.readListEnd() else: iprot.skip(ftype) @@ -18072,8 +18326,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 iter707 in self.success: - iter707.write(oprot) + for iter721 in self.success: + iter721.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18228,10 +18482,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype711, _size708) = iprot.readListBegin() - for _i712 in xrange(_size708): - _elem713 = iprot.readString() - self.success.append(_elem713) + (_etype725, _size722) = iprot.readListBegin() + for _i726 in xrange(_size722): + _elem727 = iprot.readString() + self.success.append(_elem727) iprot.readListEnd() else: iprot.skip(ftype) @@ -18254,8 +18508,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 iter714 in self.success: - oprot.writeString(iter714) + for iter728 in self.success: + oprot.writeString(iter728) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -18331,10 +18585,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) + (_etype732, _size729) = iprot.readListBegin() + for _i733 in xrange(_size729): + _elem734 = iprot.readString() + self.part_vals.append(_elem734) iprot.readListEnd() else: iprot.skip(ftype) @@ -18364,8 +18618,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 iter735 in self.part_vals: + oprot.writeString(iter735) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -18429,11 +18683,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype725, _size722) = iprot.readListBegin() - for _i726 in xrange(_size722): - _elem727 = Partition() - _elem727.read(iprot) - self.success.append(_elem727) + (_etype739, _size736) = iprot.readListBegin() + for _i740 in xrange(_size736): + _elem741 = Partition() + _elem741.read(iprot) + self.success.append(_elem741) iprot.readListEnd() else: iprot.skip(ftype) @@ -18462,8 +18716,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 iter728 in self.success: - iter728.write(oprot) + for iter742 in self.success: + iter742.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18550,10 +18804,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype732, _size729) = iprot.readListBegin() - for _i733 in xrange(_size729): - _elem734 = iprot.readString() - self.part_vals.append(_elem734) + (_etype746, _size743) = iprot.readListBegin() + for _i747 in xrange(_size743): + _elem748 = iprot.readString() + self.part_vals.append(_elem748) iprot.readListEnd() else: iprot.skip(ftype) @@ -18570,10 +18824,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype738, _size735) = iprot.readListBegin() - for _i739 in xrange(_size735): - _elem740 = iprot.readString() - self.group_names.append(_elem740) + (_etype752, _size749) = iprot.readListBegin() + for _i753 in xrange(_size749): + _elem754 = iprot.readString() + self.group_names.append(_elem754) iprot.readListEnd() else: iprot.skip(ftype) @@ -18598,8 +18852,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 iter741 in self.part_vals: - oprot.writeString(iter741) + for iter755 in self.part_vals: + oprot.writeString(iter755) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -18613,8 +18867,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 iter742 in self.group_names: - oprot.writeString(iter742) + for iter756 in self.group_names: + oprot.writeString(iter756) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18676,11 +18930,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype746, _size743) = iprot.readListBegin() - for _i747 in xrange(_size743): - _elem748 = Partition() - _elem748.read(iprot) - self.success.append(_elem748) + (_etype760, _size757) = iprot.readListBegin() + for _i761 in xrange(_size757): + _elem762 = Partition() + _elem762.read(iprot) + self.success.append(_elem762) iprot.readListEnd() else: iprot.skip(ftype) @@ -18709,8 +18963,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 iter749 in self.success: - iter749.write(oprot) + for iter763 in self.success: + iter763.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18791,10 +19045,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype753, _size750) = iprot.readListBegin() - for _i754 in xrange(_size750): - _elem755 = iprot.readString() - self.part_vals.append(_elem755) + (_etype767, _size764) = iprot.readListBegin() + for _i768 in xrange(_size764): + _elem769 = iprot.readString() + self.part_vals.append(_elem769) iprot.readListEnd() else: iprot.skip(ftype) @@ -18824,8 +19078,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 iter756 in self.part_vals: - oprot.writeString(iter756) + for iter770 in self.part_vals: + oprot.writeString(iter770) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -18889,10 +19143,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype760, _size757) = iprot.readListBegin() - for _i761 in xrange(_size757): - _elem762 = iprot.readString() - self.success.append(_elem762) + (_etype774, _size771) = iprot.readListBegin() + for _i775 in xrange(_size771): + _elem776 = iprot.readString() + self.success.append(_elem776) iprot.readListEnd() else: iprot.skip(ftype) @@ -18921,8 +19175,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 iter763 in self.success: - oprot.writeString(iter763) + for iter777 in self.success: + oprot.writeString(iter777) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19093,11 +19347,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype767, _size764) = iprot.readListBegin() - for _i768 in xrange(_size764): - _elem769 = Partition() - _elem769.read(iprot) - self.success.append(_elem769) + (_etype781, _size778) = iprot.readListBegin() + for _i782 in xrange(_size778): + _elem783 = Partition() + _elem783.read(iprot) + self.success.append(_elem783) iprot.readListEnd() else: iprot.skip(ftype) @@ -19126,8 +19380,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 iter770 in self.success: - iter770.write(oprot) + for iter784 in self.success: + iter784.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19298,11 +19552,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype774, _size771) = iprot.readListBegin() - for _i775 in xrange(_size771): - _elem776 = PartitionSpec() - _elem776.read(iprot) - self.success.append(_elem776) + (_etype788, _size785) = iprot.readListBegin() + for _i789 in xrange(_size785): + _elem790 = PartitionSpec() + _elem790.read(iprot) + self.success.append(_elem790) iprot.readListEnd() else: iprot.skip(ftype) @@ -19331,8 +19585,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 iter777 in self.success: - iter777.write(oprot) + for iter791 in self.success: + iter791.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19569,10 +19823,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype781, _size778) = iprot.readListBegin() - for _i782 in xrange(_size778): - _elem783 = iprot.readString() - self.names.append(_elem783) + (_etype795, _size792) = iprot.readListBegin() + for _i796 in xrange(_size792): + _elem797 = iprot.readString() + self.names.append(_elem797) iprot.readListEnd() else: iprot.skip(ftype) @@ -19597,8 +19851,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 iter784 in self.names: - oprot.writeString(iter784) + for iter798 in self.names: + oprot.writeString(iter798) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19657,11 +19911,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype788, _size785) = iprot.readListBegin() - for _i789 in xrange(_size785): - _elem790 = Partition() - _elem790.read(iprot) - self.success.append(_elem790) + (_etype802, _size799) = iprot.readListBegin() + for _i803 in xrange(_size799): + _elem804 = Partition() + _elem804.read(iprot) + self.success.append(_elem804) iprot.readListEnd() else: iprot.skip(ftype) @@ -19690,8 +19944,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 iter791 in self.success: - iter791.write(oprot) + for iter805 in self.success: + iter805.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19941,11 +20195,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype795, _size792) = iprot.readListBegin() - for _i796 in xrange(_size792): - _elem797 = Partition() - _elem797.read(iprot) - self.new_parts.append(_elem797) + (_etype809, _size806) = iprot.readListBegin() + for _i810 in xrange(_size806): + _elem811 = Partition() + _elem811.read(iprot) + self.new_parts.append(_elem811) iprot.readListEnd() else: iprot.skip(ftype) @@ -19970,8 +20224,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 iter798 in self.new_parts: - iter798.write(oprot) + for iter812 in self.new_parts: + iter812.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20310,10 +20564,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype802, _size799) = iprot.readListBegin() - for _i803 in xrange(_size799): - _elem804 = iprot.readString() - self.part_vals.append(_elem804) + (_etype816, _size813) = iprot.readListBegin() + for _i817 in xrange(_size813): + _elem818 = iprot.readString() + self.part_vals.append(_elem818) iprot.readListEnd() else: iprot.skip(ftype) @@ -20344,8 +20598,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 iter805 in self.part_vals: - oprot.writeString(iter805) + for iter819 in self.part_vals: + oprot.writeString(iter819) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -20487,10 +20741,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype809, _size806) = iprot.readListBegin() - for _i810 in xrange(_size806): - _elem811 = iprot.readString() - self.part_vals.append(_elem811) + (_etype823, _size820) = iprot.readListBegin() + for _i824 in xrange(_size820): + _elem825 = iprot.readString() + self.part_vals.append(_elem825) iprot.readListEnd() else: iprot.skip(ftype) @@ -20512,8 +20766,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 iter812 in self.part_vals: - oprot.writeString(iter812) + for iter826 in self.part_vals: + oprot.writeString(iter826) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -20871,10 +21125,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype816, _size813) = iprot.readListBegin() - for _i817 in xrange(_size813): - _elem818 = iprot.readString() - self.success.append(_elem818) + (_etype830, _size827) = iprot.readListBegin() + for _i831 in xrange(_size827): + _elem832 = iprot.readString() + self.success.append(_elem832) iprot.readListEnd() else: iprot.skip(ftype) @@ -20897,8 +21151,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 iter819 in self.success: - oprot.writeString(iter819) + for iter833 in self.success: + oprot.writeString(iter833) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21022,11 +21276,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype821, _vtype822, _size820 ) = iprot.readMapBegin() - for _i824 in xrange(_size820): - _key825 = iprot.readString() - _val826 = iprot.readString() - self.success[_key825] = _val826 + (_ktype835, _vtype836, _size834 ) = iprot.readMapBegin() + for _i838 in xrange(_size834): + _key839 = iprot.readString() + _val840 = iprot.readString() + self.success[_key839] = _val840 iprot.readMapEnd() else: iprot.skip(ftype) @@ -21049,9 +21303,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 kiter827,viter828 in self.success.items(): - oprot.writeString(kiter827) - oprot.writeString(viter828) + for kiter841,viter842 in self.success.items(): + oprot.writeString(kiter841) + oprot.writeString(viter842) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21127,11 +21381,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype830, _vtype831, _size829 ) = iprot.readMapBegin() - for _i833 in xrange(_size829): - _key834 = iprot.readString() - _val835 = iprot.readString() - self.part_vals[_key834] = _val835 + (_ktype844, _vtype845, _size843 ) = iprot.readMapBegin() + for _i847 in xrange(_size843): + _key848 = iprot.readString() + _val849 = iprot.readString() + self.part_vals[_key848] = _val849 iprot.readMapEnd() else: iprot.skip(ftype) @@ -21161,9 +21415,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 kiter836,viter837 in self.part_vals.items(): - oprot.writeString(kiter836) - oprot.writeString(viter837) + for kiter850,viter851 in self.part_vals.items(): + oprot.writeString(kiter850) + oprot.writeString(viter851) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -21377,11 +21631,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype839, _vtype840, _size838 ) = iprot.readMapBegin() - for _i842 in xrange(_size838): - _key843 = iprot.readString() - _val844 = iprot.readString() - self.part_vals[_key843] = _val844 + (_ktype853, _vtype854, _size852 ) = iprot.readMapBegin() + for _i856 in xrange(_size852): + _key857 = iprot.readString() + _val858 = iprot.readString() + self.part_vals[_key857] = _val858 iprot.readMapEnd() else: iprot.skip(ftype) @@ -21411,9 +21665,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 kiter845,viter846 in self.part_vals.items(): - oprot.writeString(kiter845) - oprot.writeString(viter846) + for kiter859,viter860 in self.part_vals.items(): + oprot.writeString(kiter859) + oprot.writeString(viter860) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -22468,11 +22722,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype850, _size847) = iprot.readListBegin() - for _i851 in xrange(_size847): - _elem852 = Index() - _elem852.read(iprot) - self.success.append(_elem852) + (_etype864, _size861) = iprot.readListBegin() + for _i865 in xrange(_size861): + _elem866 = Index() + _elem866.read(iprot) + self.success.append(_elem866) iprot.readListEnd() else: iprot.skip(ftype) @@ -22501,8 +22755,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 iter853 in self.success: - iter853.write(oprot) + for iter867 in self.success: + iter867.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22657,10 +22911,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype857, _size854) = iprot.readListBegin() - for _i858 in xrange(_size854): - _elem859 = iprot.readString() - self.success.append(_elem859) + (_etype871, _size868) = iprot.readListBegin() + for _i872 in xrange(_size868): + _elem873 = iprot.readString() + self.success.append(_elem873) iprot.readListEnd() else: iprot.skip(ftype) @@ -22683,8 +22937,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 iter860 in self.success: - oprot.writeString(iter860) + for iter874 in self.success: + oprot.writeString(iter874) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -25232,10 +25486,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype864, _size861) = iprot.readListBegin() - for _i865 in xrange(_size861): - _elem866 = iprot.readString() - self.success.append(_elem866) + (_etype878, _size875) = iprot.readListBegin() + for _i879 in xrange(_size875): + _elem880 = iprot.readString() + self.success.append(_elem880) iprot.readListEnd() else: iprot.skip(ftype) @@ -25258,8 +25512,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 iter867 in self.success: - oprot.writeString(iter867) + for iter881 in self.success: + oprot.writeString(iter881) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25947,10 +26201,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype871, _size868) = iprot.readListBegin() - for _i872 in xrange(_size868): - _elem873 = iprot.readString() - self.success.append(_elem873) + (_etype885, _size882) = iprot.readListBegin() + for _i886 in xrange(_size882): + _elem887 = iprot.readString() + self.success.append(_elem887) iprot.readListEnd() else: iprot.skip(ftype) @@ -25973,8 +26227,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 iter874 in self.success: - oprot.writeString(iter874) + for iter888 in self.success: + oprot.writeString(iter888) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26488,11 +26742,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype878, _size875) = iprot.readListBegin() - for _i879 in xrange(_size875): - _elem880 = Role() - _elem880.read(iprot) - self.success.append(_elem880) + (_etype892, _size889) = iprot.readListBegin() + for _i893 in xrange(_size889): + _elem894 = Role() + _elem894.read(iprot) + self.success.append(_elem894) iprot.readListEnd() else: iprot.skip(ftype) @@ -26515,8 +26769,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 iter881 in self.success: - iter881.write(oprot) + for iter895 in self.success: + iter895.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27025,10 +27279,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype885, _size882) = iprot.readListBegin() - for _i886 in xrange(_size882): - _elem887 = iprot.readString() - self.group_names.append(_elem887) + (_etype899, _size896) = iprot.readListBegin() + for _i900 in xrange(_size896): + _elem901 = iprot.readString() + self.group_names.append(_elem901) iprot.readListEnd() else: iprot.skip(ftype) @@ -27053,8 +27307,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 iter888 in self.group_names: - oprot.writeString(iter888) + for iter902 in self.group_names: + oprot.writeString(iter902) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27281,11 +27535,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype892, _size889) = iprot.readListBegin() - for _i893 in xrange(_size889): - _elem894 = HiveObjectPrivilege() - _elem894.read(iprot) - self.success.append(_elem894) + (_etype906, _size903) = iprot.readListBegin() + for _i907 in xrange(_size903): + _elem908 = HiveObjectPrivilege() + _elem908.read(iprot) + self.success.append(_elem908) iprot.readListEnd() else: iprot.skip(ftype) @@ -27308,8 +27562,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 iter895 in self.success: - iter895.write(oprot) + for iter909 in self.success: + iter909.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27807,10 +28061,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype899, _size896) = iprot.readListBegin() - for _i900 in xrange(_size896): - _elem901 = iprot.readString() - self.group_names.append(_elem901) + (_etype913, _size910) = iprot.readListBegin() + for _i914 in xrange(_size910): + _elem915 = iprot.readString() + self.group_names.append(_elem915) iprot.readListEnd() else: iprot.skip(ftype) @@ -27831,8 +28085,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 iter902 in self.group_names: - oprot.writeString(iter902) + for iter916 in self.group_names: + oprot.writeString(iter916) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27887,10 +28141,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype906, _size903) = iprot.readListBegin() - for _i907 in xrange(_size903): - _elem908 = iprot.readString() - self.success.append(_elem908) + (_etype920, _size917) = iprot.readListBegin() + for _i921 in xrange(_size917): + _elem922 = iprot.readString() + self.success.append(_elem922) iprot.readListEnd() else: iprot.skip(ftype) @@ -27913,8 +28167,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 iter909 in self.success: - oprot.writeString(iter909) + for iter923 in self.success: + oprot.writeString(iter923) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git a/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index 7b93158..5274b8a 100644 --- a/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -366,6 +366,22 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_tables failed: unknown result') end + def get_table_metas(db_patterns, tbl_patterns, tbl_types) + send_get_table_metas(db_patterns, tbl_patterns, tbl_types) + return recv_get_table_metas() + end + + def send_get_table_metas(db_patterns, tbl_patterns, tbl_types) + send_message('get_table_metas', Get_table_metas_args, :db_patterns => db_patterns, :tbl_patterns => tbl_patterns, :tbl_types => tbl_types) + end + + def recv_get_table_metas() + result = receive_message(Get_table_metas_result) + return result.success unless result.success.nil? + raise result.o1 unless result.o1.nil? + raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_table_metas failed: unknown result') + end + def get_all_tables(db_name) send_get_all_tables(db_name) return recv_get_all_tables() @@ -2452,6 +2468,17 @@ module ThriftHiveMetastore write_result(result, oprot, 'get_tables', seqid) end + def process_get_table_metas(seqid, iprot, oprot) + args = read_args(iprot, Get_table_metas_args) + result = Get_table_metas_result.new() + begin + result.success = @handler.get_table_metas(args.db_patterns, args.tbl_patterns, args.tbl_types) + rescue ::MetaException => o1 + result.o1 = o1 + end + write_result(result, oprot, 'get_table_metas', seqid) + end + def process_get_all_tables(seqid, iprot, oprot) args = read_args(iprot, Get_all_tables_args) result = Get_all_tables_result.new() @@ -4577,6 +4604,44 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Get_table_metas_args + include ::Thrift::Struct, ::Thrift::Struct_Union + DB_PATTERNS = 1 + TBL_PATTERNS = 2 + TBL_TYPES = 3 + + FIELDS = { + DB_PATTERNS => {:type => ::Thrift::Types::STRING, :name => 'db_patterns'}, + TBL_PATTERNS => {:type => ::Thrift::Types::STRING, :name => 'tbl_patterns'}, + TBL_TYPES => {:type => ::Thrift::Types::LIST, :name => 'tbl_types', :element => {:type => ::Thrift::Types::STRING}} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Get_table_metas_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_all_tables_args include ::Thrift::Struct, ::Thrift::Struct_Union DB_NAME = 1 diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 8ed4310..89c86dc 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -1710,6 +1710,23 @@ public Table get_table(final String dbname, final String name) throws MetaExcept return t; } + @Override + public List get_table_metas(String dbnames, String tblNames, List tblTypes) + throws MetaException, NoSuchObjectException { + List t = null; + startTableFunction("get_table_metas", dbnames, tblNames); + Exception ex = null; + try { + t = getMS().getTableMetas(dbnames, tblNames, tblTypes); + } catch (Exception e) { + ex = e; + throw newMetaException(e); + } finally { + endFunction("get_table_metas", t != null, ex); + } + return t; + } + /** * Equivalent of get_table, but does not log audits and fire pre-event listener. * Meant to be used for calls made by other hive classes, that are not using the @@ -5238,6 +5255,9 @@ public boolean partition_name_has_valid_characters(List part_vals, } private static MetaException newMetaException(Exception e) { + if (e instanceof MetaException) { + return (MetaException)e; + } MetaException me = new MetaException(e.toString()); me.initCause(e); return me; diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 3105a09..7fcf277 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -1298,6 +1298,38 @@ public Type getType(String name) throws NoSuchObjectException, MetaException, TE return null; } + @Override + public List getTableMetas(String dbPatterns, String tablePatterns, List tableTypes) + throws MetaException { + try { + return filterNames(client.get_table_metas(dbPatterns, tablePatterns, tableTypes)); + } catch (Exception e) { + MetaStoreUtils.logAndThrowMetaException(e); + } + return null; + } + + private List filterNames(List metas) throws MetaException { + Map sources = new LinkedHashMap<>(); + Map> dbTables = new LinkedHashMap<>(); + for (String meta : metas) { + String[] split = meta.split(":"); + sources.put(split[0] + "." + split[1], meta); + List tables = dbTables.get(split[0]); + if (tables == null) { + dbTables.put(split[0], tables = new ArrayList()); + } + tables.add(split[1]); + } + List filtered = new ArrayList<>(); + for (Map.Entry> entry : dbTables.entrySet()) { + for (String table : filterHook.filterTableNames(entry.getKey(), entry.getValue())) { + filtered.add(sources.get(entry.getKey() + "." + table)); + } + } + return filtered; + } + /** {@inheritDoc} */ @Override public List getAllTables(String dbname) throws MetaException { diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index f3a23f5..0e6d859 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -161,6 +161,12 @@ throws MetaException, TException, UnknownDBException; /** + * For quick GetTablesOperation + */ + List getTableMetas(String dbPatterns, String tablePatterns, List tableTypes) + throws MetaException, TException, UnknownDBException; + + /** * Get the names of all tables in the specified database. * @param dbName * @return List of table names. diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 0f98963..7e585ed 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -55,8 +55,6 @@ import javax.jdo.identity.IntIdentity; import com.google.common.annotations.VisibleForTesting; -import org.antlr.runtime.CommonTokenStream; -import org.antlr.runtime.RecognitionException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configurable; @@ -143,12 +141,7 @@ import org.apache.hadoop.hive.metastore.model.MType; import org.apache.hadoop.hive.metastore.model.MVersionTable; import org.apache.hadoop.hive.metastore.parser.ExpressionTree; -import org.apache.hadoop.hive.metastore.parser.ExpressionTree.ANTLRNoCaseStringStream; import org.apache.hadoop.hive.metastore.parser.ExpressionTree.FilterBuilder; -import org.apache.hadoop.hive.metastore.parser.ExpressionTree.LeafNode; -import org.apache.hadoop.hive.metastore.parser.ExpressionTree.Operator; -import org.apache.hadoop.hive.metastore.parser.FilterLexer; -import org.apache.hadoop.hive.metastore.parser.FilterParser; import org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo; import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoFactory; import org.apache.hadoop.hive.shims.ShimLoader; @@ -729,6 +722,9 @@ public boolean dropDatabase(String dbname) throws NoSuchObjectException, MetaExc @Override public List getDatabases(String pattern) throws MetaException { + if (pattern == null || pattern.equals("*")) { + return getAllDatabases(); + } boolean commited = false; List databases = null; Query query = null; @@ -770,7 +766,26 @@ public boolean dropDatabase(String dbname) throws NoSuchObjectException, MetaExc @Override public List getAllDatabases() throws MetaException { - return getDatabases(".*"); + boolean commited = false; + List databases = new ArrayList(); + Query query = null; + openTransaction(); + try { + query = pm.newQuery(MDatabase.class); + for (MDatabase database : (Collection) query.execute()) { + databases.add(database.getName()); + } + commited = commitTransaction(); + } finally { + if (!commited) { + rollbackTransaction(); + } + if (query != null) { + query.closeAll(); + } + } + Collections.sort(databases); + return databases; } private MType getMType(Type type) { @@ -1050,6 +1065,84 @@ public Table getTable(String dbName, String tableName) throws MetaException { } @Override + public List getTableMetas(String dbNames, String tableNames, List tableTypes) + throws MetaException { + + boolean commited = false; + Query query = null; + List metas = new ArrayList(); + try { + openTransaction(); + // Take the pattern and split it on the | to get all the composing + // patterns + StringBuilder builder = new StringBuilder(); + if (dbNames != null && !dbNames.equals("*")) { + appendPatternCondition(builder, "database.name", dbNames); + } + if (tableNames != null && !tableNames.equals("*")) { + appendPatternCondition(builder, "tableName", tableNames); + } + if (tableTypes != null && !tableTypes.isEmpty()) { + appendSimpleCondition(builder, "tableType", tableTypes.toArray(new String[0])); + } + + query = pm.newQuery(MTable.class, builder.toString()); + Collection tables = (Collection) query.execute(); + for (MTable table : tables) { + String comment = table.getParameters().get("comment"); + metas.add( + table.getDatabase().getName() + ":" + table.getTableName() + ":" + + table.getTableType() + ":" + (comment == null ? "" : comment)); + } + commited = commitTransaction(); + } finally { + if (!commited) { + rollbackTransaction(); + } + if (query != null) { + query.closeAll(); + } + } + return metas; + } + + private StringBuilder appendPatternCondition(StringBuilder builder, + String fieldName, String elements) { + elements = HiveStringUtils.normalizeIdentifier(elements); + return appendCondition(builder, fieldName, elements.split("\\|"), true); + } + + private StringBuilder appendSimpleCondition(StringBuilder builder, + String fieldName, String[] elements) { + return appendCondition(builder, fieldName, elements, false); + } + + private StringBuilder appendCondition(StringBuilder builder, + String fieldName, String[] elements, boolean pattern) { + if (builder.length() > 0) { + builder.append(" && "); + } + builder.append(" ("); + int length = builder.length(); + for (String element : elements) { + if (pattern) { + element = "(?i)" + element.replaceAll("\\*", ".*"); + } + if (builder.length() > length) { + builder.append(" || "); + } + builder.append(fieldName); + if (pattern) { + builder.append(".matches(\"").append(element).append("\")"); + } else { + builder.append(" == \"").append(element).append("\""); + } + } + builder.append(" )"); + return builder; + } + + @Override public List getAllTables(String dbName) throws MetaException { return getTables(dbName, ".*"); } diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java index 4aa17a5..4f94130 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java @@ -151,6 +151,9 @@ public abstract void alterTable(String dbname, String name, Table newTable) public List getTables(String dbName, String pattern) throws MetaException; + public List getTableMetas(String dbNames, String tableNames, List tableTypes) + throws MetaException; + /** * @param dbname * The name of the database from which to retrieve the tables diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java index 67a02d9..482992b 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java @@ -487,10 +487,7 @@ public void alterTable(String dbName, String tableName, Table newTable) throws I boolean commit = false; openTransaction(); try { - List
tables = getHBase().scanTables(HiveStringUtils.normalizeIdentifier(dbName), - pattern==null?null:HiveStringUtils.normalizeIdentifier(likeToRegex(pattern))); - List tableNames = new ArrayList(tables.size()); - for (Table table : tables) tableNames.add(table.getTableName()); + List tableNames = getTableNamesInTx(dbName, pattern); commit = true; return tableNames; } catch (IOException e) { @@ -501,6 +498,40 @@ public void alterTable(String dbName, String tableName, Table newTable) throws I } } + private List getTableNamesInTx(String dbName, String pattern) throws IOException { + List
tables = getHBase().scanTables(HiveStringUtils.normalizeIdentifier(dbName), + pattern==null?null:HiveStringUtils.normalizeIdentifier(likeToRegex(pattern))); + List tableNames = new ArrayList(tables.size()); + for (Table table : tables) tableNames.add(table.getTableName()); + return tableNames; + } + + @Override + public List getTableMetas(String dbNames, String tableNames, List tableTypes) throws MetaException { + boolean commit = false; + openTransaction(); + try { + List metas = new ArrayList<>(); + for (String dbName : getDatabases(dbNames)) { + for (Table table : getTableObjectsByName(dbName, getTableNamesInTx(dbName, tableNames))) { + if (tableTypes == null || tableTypes.contains(table.getTableType())) { + String comment = table.getParameters().get("comment"); + metas.add( + table.getDbName() + ":" + table.getTableName() + ":" + + table.getTableType() + ":" + (comment == null ? "" : comment)); + } + } + } + commit = true; + return metas; + } catch (Exception e) { + LOG.error("Unable to get tables ", e); + throw new MetaException("Unable to get tables, " + e.getMessage()); + } finally { + commitOrRoleBack(commit); + } + } + @Override public List
getTableObjectsByName(String dbname, List tableNames) throws MetaException, UnknownDBException { diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java index a100e9f..c89a3bb 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java @@ -220,6 +220,12 @@ public void alterTable(String dbName, String name, Table newTable) } @Override + public List getTableMetas(String dbNames, String tableNames, List tableTypes) + throws MetaException { + return objectStore.getTableMetas(dbNames, tableNames, tableTypes); + } + + @Override public List
getTableObjectsByName(String dbName, List tableNames) throws MetaException, UnknownDBException { return objectStore.getTableObjectsByName(dbName, tableNames); diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java index f6100e6..e9bf11f 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java @@ -224,6 +224,12 @@ public void alterTable(String dbname, String name, Table newTable) throws Invali } @Override + public List getTableMetas(String dbNames, String tableNames, List tableTypes) + throws MetaException { + return Collections.emptyList(); + } + + @Override public List
getTableObjectsByName(String dbname, List tableNames) throws MetaException, UnknownDBException { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java index 6091c3f..3d32a6a 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/SessionHiveMetaStoreClient.java @@ -31,13 +31,7 @@ import java.util.regex.Pattern; import org.apache.hadoop.fs.Path; -import org.apache.hadoop.fs.FileSystem; -import org.apache.hadoop.hive.common.FileUtils; import org.apache.hadoop.hive.conf.HiveConf; -import org.apache.hadoop.fs.FileSystem; -import org.apache.hadoop.hive.common.FileUtils; -import org.apache.hadoop.hive.conf.HiveConf; -import org.apache.hadoop.hive.metastore.HiveMetaHook; import org.apache.hadoop.hive.metastore.HiveMetaHookLoader; import org.apache.hadoop.hive.metastore.HiveMetaStoreClient; import org.apache.hadoop.hive.metastore.IMetaStoreClient; @@ -55,9 +49,7 @@ import org.apache.hadoop.hive.metastore.api.InvalidOperationException; import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; -import org.apache.hadoop.hive.metastore.api.PartitionsStatsRequest; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; -import org.apache.hadoop.hive.metastore.api.TableStatsRequest; import org.apache.hadoop.hive.metastore.api.UnknownDBException; import org.apache.hadoop.hive.metastore.api.UnknownTableException; import org.apache.hadoop.hive.ql.session.SessionState; @@ -169,11 +161,7 @@ protected void drop_table_with_environment_context(String dbname, String name, Matcher matcher = pattern.matcher(""); Set combinedTableNames = new HashSet(); for (String tableName : tables.keySet()) { - if (matcher == null) { - matcher = pattern.matcher(tableName); - } else { - matcher.reset(tableName); - } + matcher.reset(tableName); if (matcher.matches()) { combinedTableNames.add(tableName); } @@ -185,6 +173,58 @@ protected void drop_table_with_environment_context(String dbname, String name, Collections.sort(tableNames); return tableNames; } + + @Override + public List getTableMetas(String dbPatterns, String tablePatterns, List tableTypes) + throws MetaException { + List tableMetas = super.getTableMetas(dbPatterns, tablePatterns, tableTypes); + Map> tmpTables = getTempTables(); + if (tmpTables.isEmpty()) { + return tableMetas; + } + + List dbPatternList = new ArrayList<>(); + for (String element : dbPatterns.split("\\|")) { + dbPatternList.add(Pattern.compile(element.replaceAll("\\*", ".*")).matcher("")); + } + List tblPatternList = new ArrayList<>(); + for (String element : tablePatterns.split("\\|")) { + tblPatternList.add(Pattern.compile(element.replaceAll("\\*", ".*")).matcher("")); + } + StringBuilder builder = new StringBuilder(); + for (Map.Entry> outer : tmpTables.entrySet()) { + if (!matchesAny(outer.getKey(), dbPatternList)) { + continue; + } + for (Map.Entry inner : outer.getValue().entrySet()) { + Table table = inner.getValue(); + String typeString = table.getTableType().name(); + if (tableTypes != null && !tableTypes.contains(typeString)) { + continue; + } + if (!matchesAny(inner.getKey(), tblPatternList)) { + continue; + } + String comment = table.getProperty("comment"); + builder.setLength(0); + builder.append(table.getDbName()).append(':'); + builder.append(table.getTableName()).append(':'); + builder.append(typeString).append(':'); + builder.append(comment == null ? "" : comment); + tableMetas.add(builder.toString()); + } + } + return tableMetas; + } + + private boolean matchesAny(String string, List matchers) { + for (Matcher matcher : matchers) { + if (matcher.reset(string).matches()) { + return true; + } + } + return matchers.isEmpty(); + } @Override public List getTableObjectsByName(String dbName, @@ -516,12 +556,16 @@ private void dropTempTable(org.apache.hadoop.hive.metastore.api.Table table, boo } public static Map getTempTablesForDatabase(String dbName) { + return getTempTables().get(dbName); + } + + public static Map> getTempTables() { SessionState ss = SessionState.get(); if (ss == null) { LOG.debug("No current SessionState, skipping temp tables"); - return null; + return Collections.emptyMap(); } - return ss.getTempTables().get(dbName); + return ss.getTempTables(); } private Map getTempTableColumnStatsForTable(String dbName, diff --git a/service/src/java/org/apache/hive/service/cli/operation/GetTablesOperation.java b/service/src/java/org/apache/hive/service/cli/operation/GetTablesOperation.java index 296280f..0d6ecea 100644 --- a/service/src/java/org/apache/hive/service/cli/operation/GetTablesOperation.java +++ b/service/src/java/org/apache/hive/service/cli/operation/GetTablesOperation.java @@ -22,14 +22,10 @@ import java.util.List; import org.apache.hadoop.hive.conf.HiveConf; -import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.metastore.IMetaStoreClient; -import org.apache.hadoop.hive.metastore.api.Table; -import org.apache.hadoop.hive.ql.metadata.TableIterable; import org.apache.hadoop.hive.ql.security.authorization.plugin.HiveOperationType; import org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrivilegeObject; import org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrivilegeObjectUtils; -import org.apache.hadoop.hive.ql.session.SessionState; import org.apache.hive.service.cli.FetchOrientation; import org.apache.hive.service.cli.HiveSQLException; import org.apache.hive.service.cli.OperationState; @@ -48,7 +44,7 @@ private final String catalogName; private final String schemaName; private final String tableName; - private final List tableTypes = new ArrayList(); + private final List tableTypeList; private final RowSet rowSet; private final TableTypeMapping tableTypeMapping; @@ -58,7 +54,14 @@ .addStringColumn("TABLE_SCHEM", "Schema name.") .addStringColumn("TABLE_NAME", "Table name.") .addStringColumn("TABLE_TYPE", "The table type, e.g. \"TABLE\", \"VIEW\", etc.") - .addStringColumn("REMARKS", "Comments about the table."); + .addStringColumn("REMARKS", "Comments about the table.") + .addStringColumn("TYPE_CAT", "The types catalog.") + .addStringColumn("TYPE_SCHEM", "The types schema.") + .addStringColumn("TYPE_NAME", "Type name.") + .addStringColumn("SELF_REFERENCING_COL_NAME", + "Name of the designated \"identifier\" column of a typed table.") + .addStringColumn("REF_GENERATION", + "Specifies how values in SELF_REFERENCING_COL_NAME are created."); protected GetTablesOperation(HiveSession parentSession, String catalogName, String schemaName, String tableName, @@ -72,7 +75,12 @@ protected GetTablesOperation(HiveSession parentSession, tableTypeMapping = TableTypeMappingFactory.getTableTypeMapping(tableMappingStr); if (tableTypes != null) { - this.tableTypes.addAll(tableTypes); + tableTypeList = new ArrayList(); + for (String tableType : tableTypes) { + tableTypeList.add(tableTypeMapping.mapToHiveType(tableType.trim())); + } + } else { + tableTypeList = null; } this.rowSet = RowSetFactory.create(RESULT_SET_SCHEMA, getProtocolVersion()); } @@ -91,23 +99,18 @@ public void runInternal() throws HiveSQLException { } String tablePattern = convertIdentifierPattern(tableName, true); - int maxBatchSize = SessionState.get().getConf().getIntVar(ConfVars.METASTORE_BATCH_RETRIEVE_MAX); - for (String dbName : metastoreClient.getDatabases(schemaPattern)) { - List tableNames = metastoreClient.getTables(dbName, tablePattern); - for (Table table : new TableIterable(metastoreClient, dbName, tableNames, maxBatchSize)) { - Object[] rowData = new Object[] { + for (String tableMeta : + metastoreClient.getTableMetas(schemaPattern, tablePattern, tableTypeList)) { + String[] information = tableMeta.split(":"); + rowSet.addRow(new Object[] { DEFAULT_HIVE_CATALOG, - table.getDbName(), - table.getTableName(), - tableTypeMapping.mapToClientType(table.getTableType()), - table.getParameters().get("comment") - }; - if (tableTypes.isEmpty() || tableTypes.contains( - tableTypeMapping.mapToClientType(table.getTableType()))) { - rowSet.addRow(rowData); - } - } + information[0], + information[1], + tableTypeMapping.mapToClientType(information[2]), + information.length > 3 ? information[3] : null, + null, null, null, null, null + }); } setState(OperationState.FINISHED); } catch (Exception e) { diff --git a/service/src/java/org/apache/hive/service/cli/operation/MetadataOperation.java b/service/src/java/org/apache/hive/service/cli/operation/MetadataOperation.java index 4595ef5..285b4f9 100644 --- a/service/src/java/org/apache/hive/service/cli/operation/MetadataOperation.java +++ b/service/src/java/org/apache/hive/service/cli/operation/MetadataOperation.java @@ -18,7 +18,6 @@ package org.apache.hive.service.cli.operation; -import java.util.ArrayList; import java.util.List; import org.apache.hadoop.hive.conf.HiveConf; @@ -95,16 +94,30 @@ protected String convertSchemaPattern(final String pattern) { * other hand is done locally inside the hive code and that requires the regex wildchar * format '.*' This is driven by the datanucleusFormat flag. */ - private String convertPattern(final String pattern, boolean datanucleusFormat) { + private String convertPattern(String pattern, boolean datanucleusFormat) { String wStr; if (datanucleusFormat) { wStr = "*"; } else { wStr = ".*"; } - return pattern - .replaceAll("([^\\\\])%", "$1" + wStr).replaceAll("\\\\%", "%").replaceAll("^%", wStr) - .replaceAll("([^\\\\])_", "$1.").replaceAll("\\\\_", "_").replaceAll("^_", "."); + pattern = replaceAll(pattern, "([^\\\\])%", "$1" + wStr); + pattern = replaceAll(pattern, "\\\\%", "%"); + pattern = replaceAll(pattern, "^%", wStr); + pattern = replaceAll(pattern, "([^\\\\])_", "$1."); + pattern = replaceAll(pattern, "\\\\_", "_"); + pattern = replaceAll(pattern, "^_", "."); + return pattern; + } + + private String replaceAll(String input, final String pattern, final String replace) { + while (true) { + String replaced = input.replaceAll(pattern, replace); + if (replaced.equals(input)) { + return replaced; + } + input = replaced; + } } protected boolean isAuthV2Enabled(){