diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestCachedStoreUpdateUsingEvents.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestCachedStoreUpdateUsingEvents.java new file mode 100644 index 0000000000..54caa84929 --- /dev/null +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestCachedStoreUpdateUsingEvents.java @@ -0,0 +1,393 @@ +package org.apache.hadoop.hive.metastore.cache; + +import java.util.*; +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.hive.metastore.*; +import org.apache.hadoop.hive.metastore.MetaStoreTestUtils; +import org.apache.hadoop.hive.metastore.api.*; +import org.apache.hadoop.hive.metastore.conf.MetastoreConf; +import org.apache.hadoop.hive.metastore.conf.MetastoreConf.ConfVars; +import org.apache.hive.hcatalog.listener.DbNotificationListener; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +import org.junit.experimental.categories.Category; +import jline.internal.Log; + +import static org.apache.hadoop.hive.metastore.Warehouse.DEFAULT_CATALOG_NAME; + +public class TestCachedStoreUpdateUsingEvents { + + private ObjectStore objectStore; + private CachedStore cachedStore; + private SharedCache sharedCache; + private Configuration conf; + private HiveMetaStore.HMSHandler hmsHandler; + + @Before + public void setUp() throws Exception { + conf = MetastoreConf.newMetastoreConf(); + MetastoreConf.setBoolVar(conf, MetastoreConf.ConfVars.HIVE_IN_TEST, true); + // Disable memory estimation for this test class + MetastoreConf.setVar(conf, MetastoreConf.ConfVars.CACHED_RAW_STORE_MAX_CACHE_MEMORY, "-1Kb"); + MetastoreConf.setVar(conf, ConfVars.TRANSACTIONAL_EVENT_LISTENERS, DbNotificationListener.class.getCanonicalName()); + MetaStoreTestUtils.setConfForStandloneMode(conf); + + objectStore = new ObjectStore(); + objectStore.setConf(conf); + cachedStore = new CachedStore(); + cachedStore.setConfForTest(conf); + + // Stop the CachedStore cache update service. We'll start it explicitly to control the test + CachedStore.stopCacheUpdateService(1); + + hmsHandler = new HiveMetaStore.HMSHandler("testCachedStore", conf, true); + + // Create the 'hive' catalog + HiveMetaStore.HMSHandler.createDefaultCatalog(objectStore, new Warehouse(conf)); + + sharedCache = cachedStore.getSharedCache(); + } + + private Database createTestDb(String dbName, String dbOwner) { + String dbDescription = dbName; + String dbLocation = "file:/tmp"; + Map dbParams = new HashMap<>(); + Database db = new Database(dbName, dbDescription, dbLocation, dbParams); + db.setOwnerName(dbOwner); + db.setOwnerType(PrincipalType.USER); + db.setCatalogName(DEFAULT_CATALOG_NAME); + return db; + } + + private Table createTestTbl(String dbName, String tblName, String tblOwner, + List cols, List ptnCols) { + String serdeLocation = "file:/tmp"; + Map serdeParams = new HashMap<>(); + Map tblParams = new HashMap<>(); + SerDeInfo serdeInfo = new SerDeInfo("serde", "seriallib", new HashMap<>()); + StorageDescriptor sd = new StorageDescriptor(cols, serdeLocation, "input", "output", false, 0, + serdeInfo, null, null, serdeParams); + sd.setStoredAsSubDirectories(false); + Table tbl = new Table(tblName, dbName, tblOwner, 0, 0, 0, sd, ptnCols, tblParams, null, null, + TableType.MANAGED_TABLE.toString()); + tbl.setCatName(DEFAULT_CATALOG_NAME); + return tbl; + } + + private void compareTables(Table tbl1, Table tbl2) { + Assert.assertEquals(tbl1.getDbName(), tbl2.getDbName()); + Assert.assertEquals(tbl1.getSd(), tbl2.getSd()); + Assert.assertEquals(tbl1.getParameters(), tbl2.getParameters()); + Assert.assertEquals(tbl1.getTableName(), tbl2.getTableName()); + Assert.assertEquals(tbl1.getCatName(), tbl2.getCatName()); + Assert.assertEquals(tbl1.getCreateTime(), tbl2.getCreateTime()); + Assert.assertEquals(tbl1.getCreationMetadata(), tbl2.getCreationMetadata()); + Assert.assertEquals(tbl1.getId(), tbl2.getId()); + } + + private void comparePartitions(Partition part1, Partition part2) { + Assert.assertEquals(part1.getParameters(), part2.getParameters()); + Assert.assertEquals(part1.getCatName(), part2.getCatName()); + Assert.assertEquals(part1.getCreateTime(), part2.getCreateTime()); + Assert.assertEquals(part1.getTableName(), part2.getTableName()); + Assert.assertEquals(part1.getDbName().toLowerCase(), part2.getDbName().toLowerCase()); + Assert.assertEquals(part1.getLastAccessTime(), part2.getLastAccessTime()); + } + + private long updateUsingNotificationEvents(RawStore rawStore, long lastEventId) throws Exception { + long eventIdTemp1 = CachedStore.updateUsingNotificationEvents(rawStore, lastEventId); + long eventIdTemp2 = CachedStore.updateUsingNotificationEvents(rawStore, lastEventId); + Assert.assertEquals(eventIdTemp1, eventIdTemp2); + return eventIdTemp2; + } + + @Test + public void testDatabaseOpsForUpdateUsingEvents() throws Exception { + long lastEventId = -1; + RawStore rawStore = hmsHandler.getMS(); + + // Prewarm CachedStore + CachedStore.setCachePrewarmedState(false); + CachedStore.prewarm(objectStore); + + // Add a db via ObjectStore + String dbName = "testDatabaseOps"; + String dbOwner = "user1"; + Database db = createTestDb(dbName, dbOwner); + + hmsHandler.create_database(db); + db = rawStore.getDatabase(DEFAULT_CATALOG_NAME, dbName); + + lastEventId = updateUsingNotificationEvents(rawStore, lastEventId); + + // Read database via CachedStore + Database dbRead = sharedCache.getDatabaseFromCache(DEFAULT_CATALOG_NAME, dbName); + Assert.assertEquals(db, dbRead); + + // Add another db via ObjectStore + final String dbName1 = "testDatabaseOps1"; + Database db1 = createTestDb(dbName1, dbOwner); + hmsHandler.create_database(db1); + db1 = rawStore.getDatabase(DEFAULT_CATALOG_NAME, dbName1); + + lastEventId = updateUsingNotificationEvents(objectStore, lastEventId); + + // Read database via CachedStore + dbRead = sharedCache.getDatabaseFromCache(DEFAULT_CATALOG_NAME, dbName1); + Assert.assertEquals(db1, dbRead); + + // Alter the db via ObjectStore (can only alter owner or parameters) + dbOwner = "user2"; + Database newdb = new Database(db); + newdb.setOwnerName(dbOwner); + hmsHandler.alter_database(dbName, newdb); + newdb = rawStore.getDatabase(DEFAULT_CATALOG_NAME, dbName); + + lastEventId = updateUsingNotificationEvents(objectStore, lastEventId); + + // Read db via cachedStore + dbRead = sharedCache.getDatabaseFromCache(DEFAULT_CATALOG_NAME, dbName); + Assert.assertEquals(newdb, dbRead); + + // Add another db via ObjectStore + final String dbName2 = "testDatabaseOps2"; + Database db2 = createTestDb(dbName2, dbOwner); + hmsHandler.create_database(db2); + db2 = rawStore.getDatabase(DEFAULT_CATALOG_NAME, dbName2); + + // Alter db "testDatabaseOps" via ObjectStore + dbOwner = "user1"; + newdb = new Database(db); + newdb.setOwnerName(dbOwner); + hmsHandler.alter_database(dbName, newdb); + newdb = rawStore.getDatabase(DEFAULT_CATALOG_NAME, dbName); + + // Drop db "testDatabaseOps1" via ObjectStore + Database dropDb = rawStore.getDatabase(DEFAULT_CATALOG_NAME, dbName1); + hmsHandler.drop_database(dbName1, true, true); + + // update cache using events generated so far + lastEventId = updateUsingNotificationEvents(objectStore, lastEventId); + + // Read the newly added db via CachedStore + dbRead = sharedCache.getDatabaseFromCache(DEFAULT_CATALOG_NAME, dbName2); + Assert.assertEquals(db2, dbRead); + + // Read the altered db via CachedStore (altered user from "user2" to "user1") + dbRead = sharedCache.getDatabaseFromCache(DEFAULT_CATALOG_NAME, dbName); + Assert.assertEquals(newdb, dbRead); + + // Try to read the dropped db after cache update + dbRead = sharedCache.getDatabaseFromCache(DEFAULT_CATALOG_NAME, dbName1); + Assert.assertEquals(null, dbRead); + + // Clean up + hmsHandler.drop_database(dbName, true, true); + hmsHandler.drop_database(dbName2, true, true); + sharedCache.getDatabaseCache().clear(); + sharedCache.getTableCache().clear(); + sharedCache.getSdCache().clear(); + } + + @Test + public void testTableOpsForUpdateUsingEvents() throws Exception { + long lastEventId = -1; + RawStore rawStore = hmsHandler.getMS(); + + // Add a db via ObjectStore + String dbName = "testTableOps"; + String dbOwner = "user1"; + Database db = createTestDb(dbName, dbOwner); + hmsHandler.create_database(db); + db = rawStore.getDatabase(DEFAULT_CATALOG_NAME, dbName); + + // Prewarm CachedStore + CachedStore.setCachePrewarmedState(false); + CachedStore.prewarm(objectStore); + + // Add a table via ObjectStore + String tblName = "tbl"; + String tblOwner = "user1"; + FieldSchema col1 = new FieldSchema("col1", "int", "integer column"); + FieldSchema col2 = new FieldSchema("col2", "string", "string column"); + List cols = new ArrayList(); + cols.add(col1); + cols.add(col2); + List ptnCols = new ArrayList(); + Table tbl = createTestTbl(dbName, tblName, tblOwner, cols, ptnCols); + hmsHandler.create_table(tbl); + tbl = rawStore.getTable(DEFAULT_CATALOG_NAME, dbName, tblName); + + lastEventId = updateUsingNotificationEvents(objectStore, lastEventId); + + // Read database, table via CachedStore + Database dbRead= sharedCache.getDatabaseFromCache(DEFAULT_CATALOG_NAME, dbName); + Assert.assertEquals(db, dbRead); + Table tblRead = sharedCache.getTableFromCache(DEFAULT_CATALOG_NAME, dbName, tblName); + compareTables(tblRead, tbl); + + // Add a new table via ObjectStore + String tblName2 = "tbl2"; + Table tbl2 = createTestTbl(dbName, tblName2, tblOwner, cols, ptnCols); + hmsHandler.create_table(tbl2); + tbl2 = rawStore.getTable(DEFAULT_CATALOG_NAME, dbName, tblName2); + + // Alter table "tbl" via ObjectStore + tblOwner = "role1"; + Table newTable = new Table(tbl); + newTable.setOwner(tblOwner); + newTable.setOwnerType(PrincipalType.ROLE); + hmsHandler.alter_table(dbName, tblName, newTable); + newTable = rawStore.getTable(DEFAULT_CATALOG_NAME, dbName, tblName); + + Assert.assertEquals("Owner of the table did not change.", tblOwner, newTable.getOwner()); + Assert.assertEquals("Owner type of the table did not change", PrincipalType.ROLE, newTable.getOwnerType()); + + // Drop table "tbl2" via ObjectStore + hmsHandler.drop_table(dbName, tblName2, true); + + // update cache using events + lastEventId = updateUsingNotificationEvents(objectStore, lastEventId); + + // Read the altered "tbl" via CachedStore + tblRead = sharedCache.getTableFromCache(DEFAULT_CATALOG_NAME, dbName, tblName); + compareTables(tblRead, newTable); + + // Try to read the dropped "tbl2" via CachedStore (should throw exception) + tblRead = sharedCache.getTableFromCache(DEFAULT_CATALOG_NAME, dbName, tblName2); + Assert.assertNull(tblRead); + + // Should return "tbl" + List tblNames = cachedStore.getTables(DEFAULT_CATALOG_NAME, dbName, "*"); + Assert.assertTrue(tblNames.contains(tblName)); + Assert.assertTrue(!tblNames.contains(tblName2)); + + // Clean up + hmsHandler.drop_database(dbName, true, true); + + // update cache using events + lastEventId = updateUsingNotificationEvents(objectStore, lastEventId); + + // Should return "tbl" + tblNames = cachedStore.getTables(DEFAULT_CATALOG_NAME, dbName, "*"); + Assert.assertTrue(tblNames.isEmpty()); + + sharedCache.getDatabaseCache().clear(); + sharedCache.getTableCache().clear(); + sharedCache.getSdCache().clear(); + } + + @Test + public void testPartitionOpsForUpdateUsingEvents() throws Exception { + long lastEventId = -1; + RawStore rawStore = hmsHandler.getMS(); + + // Add a db via ObjectStore + String dbName = "testPartitionOps"; + String dbOwner = "user1"; + Database db = createTestDb(dbName, dbOwner); + hmsHandler.create_database(db); + db = rawStore.getDatabase(DEFAULT_CATALOG_NAME, dbName); + + // Add a table via ObjectStore + String tblName = "tbl"; + String tblOwner = "user1"; + FieldSchema col1 = new FieldSchema("col1", "int", "integer column"); + FieldSchema col2 = new FieldSchema("col2", "string", "string column"); + List cols = new ArrayList(); + cols.add(col1); + cols.add(col2); + FieldSchema ptnCol1 = new FieldSchema("part1", "string", "string partition column"); + List ptnCols = new ArrayList(); + ptnCols.add(ptnCol1); + Table tbl = createTestTbl(dbName, tblName, tblOwner, cols, ptnCols); + hmsHandler.create_table(tbl); + tbl = rawStore.getTable(DEFAULT_CATALOG_NAME, dbName, tblName); + + // Prewarm CachedStore + CachedStore.setCachePrewarmedState(false); + CachedStore.prewarm(objectStore); + + final String ptnColVal1 = "aaa"; + Map partParams = new HashMap(); + Partition ptn1 = + new Partition(Arrays.asList(ptnColVal1), dbName, tblName, 0, 0, tbl.getSd(), partParams); + ptn1.setCatName(DEFAULT_CATALOG_NAME); + hmsHandler.add_partition(ptn1); + ptn1 = rawStore.getPartition(DEFAULT_CATALOG_NAME, dbName, tblName, Arrays.asList(ptnColVal1)); + + final String ptnColVal2 = "bbb"; + Partition ptn2 = + new Partition(Arrays.asList(ptnColVal2), dbName, tblName, 0, 0, tbl.getSd(), partParams); + ptn2.setCatName(DEFAULT_CATALOG_NAME); + hmsHandler.add_partition(ptn2); + ptn2 = rawStore.getPartition(DEFAULT_CATALOG_NAME, dbName, tblName, Arrays.asList(ptnColVal2)); + + // update cache using events + lastEventId = updateUsingNotificationEvents(objectStore, lastEventId); + + // Read database, table, partition via CachedStore + Database dbRead = sharedCache.getDatabaseFromCache(DEFAULT_CATALOG_NAME.toLowerCase(), dbName.toLowerCase()); + Assert.assertEquals(db, dbRead); + Table tblRead = sharedCache.getTableFromCache(DEFAULT_CATALOG_NAME.toLowerCase(), dbName.toLowerCase(), tblName.toLowerCase()); + compareTables(tbl, tblRead); + Partition ptn1Read = sharedCache.getPartitionFromCache(DEFAULT_CATALOG_NAME.toLowerCase(), dbName.toLowerCase(), tblName.toLowerCase(), Arrays.asList(ptnColVal1)); + comparePartitions(ptn1, ptn1Read); + Partition ptn2Read = sharedCache.getPartitionFromCache(DEFAULT_CATALOG_NAME.toLowerCase(), dbName.toLowerCase(), tblName.toLowerCase(), Arrays.asList(ptnColVal2)); + comparePartitions(ptn2, ptn2Read); + + // Add a new partition via ObjectStore + final String ptnColVal3 = "ccc"; + Partition ptn3 = + new Partition(Arrays.asList(ptnColVal3), dbName, tblName, 0, 0, tbl.getSd(), partParams); + ptn3.setCatName(DEFAULT_CATALOG_NAME); + hmsHandler.add_partition(ptn3); + ptn3 = rawStore.getPartition(DEFAULT_CATALOG_NAME, dbName, tblName, Arrays.asList(ptnColVal3)); + + // Alter an existing partition ("aaa") via ObjectStore + ptn1 = rawStore.getPartition(DEFAULT_CATALOG_NAME, dbName, tblName, Arrays.asList(ptnColVal1)); + final String ptnColVal1Alt = "aaa"; + Partition ptn1Atl = + new Partition(Arrays.asList(ptnColVal1Alt), dbName, tblName, 0, 0, tbl.getSd(), partParams); + ptn1Atl.setCatName(DEFAULT_CATALOG_NAME); + hmsHandler.alter_partitions(dbName, tblName, Arrays.asList(ptn1Atl)); + ptn1Atl = rawStore.getPartition(DEFAULT_CATALOG_NAME, dbName, tblName, Arrays.asList(ptnColVal1Alt)); + + // Drop an existing partition ("bbb") via ObjectStore + Partition ptnDrop = rawStore.getPartition(DEFAULT_CATALOG_NAME, dbName, tblName, Arrays.asList(ptnColVal2)); + hmsHandler.drop_partition(dbName, tblName, Arrays.asList(ptnColVal2), false); + + // update cache using events + lastEventId = updateUsingNotificationEvents(objectStore, lastEventId); + + // Read the newly added partition via CachedStore + Partition ptnRead = sharedCache.getPartitionFromCache(DEFAULT_CATALOG_NAME, dbName, tblName, Arrays.asList(ptnColVal3)); + comparePartitions(ptn3, ptnRead); + + // Read the altered partition via CachedStore + ptnRead = sharedCache.getPartitionFromCache(DEFAULT_CATALOG_NAME, dbName, tblName, Arrays.asList(ptnColVal1Alt)); + Assert.assertEquals(ptn1Atl.getParameters(), ptnRead.getParameters()); + + ptnRead = sharedCache.getPartitionFromCache(DEFAULT_CATALOG_NAME, dbName, tblName, Arrays.asList(ptnColVal2)); + Assert.assertEquals(null, ptnRead); + + // Drop table "tbl" via ObjectStore, it should remove the partition also + hmsHandler.drop_table(dbName, tblName, true); + + // update cache using events + lastEventId = updateUsingNotificationEvents(objectStore, lastEventId); + + ptnRead = sharedCache.getPartitionFromCache(DEFAULT_CATALOG_NAME, dbName, tblName, Arrays.asList(ptnColVal1Alt)); + Assert.assertEquals(null, ptnRead); + + ptnRead = sharedCache.getPartitionFromCache(DEFAULT_CATALOG_NAME, dbName, tblName, Arrays.asList(ptnColVal3)); + Assert.assertEquals(null, ptnRead); + + // Clean up + rawStore.dropDatabase(DEFAULT_CATALOG_NAME, dbName); + sharedCache.getDatabaseCache().clear(); + sharedCache.getTableCache().clear(); + sharedCache.getSdCache().clear(); + } +} diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java index 4d4595a429..d85dda5acd 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlterPartitionsRequest.java @@ -877,14 +877,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AlterPartitionsRequ case 4: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list952 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list952.size); - Partition _elem953; - for (int _i954 = 0; _i954 < _list952.size; ++_i954) + org.apache.thrift.protocol.TList _list960 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list960.size); + Partition _elem961; + for (int _i962 = 0; _i962 < _list960.size; ++_i962) { - _elem953 = new Partition(); - _elem953.read(iprot); - struct.partitions.add(_elem953); + _elem961 = new Partition(); + _elem961.read(iprot); + struct.partitions.add(_elem961); } iprot.readListEnd(); } @@ -952,9 +952,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AlterPartitionsReq oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter955 : struct.partitions) + for (Partition _iter963 : struct.partitions) { - _iter955.write(oprot); + _iter963.write(oprot); } oprot.writeListEnd(); } @@ -1000,9 +1000,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AlterPartitionsRequ oprot.writeString(struct.tableName); { oprot.writeI32(struct.partitions.size()); - for (Partition _iter956 : struct.partitions) + for (Partition _iter964 : struct.partitions) { - _iter956.write(oprot); + _iter964.write(oprot); } } BitSet optionals = new BitSet(); @@ -1041,14 +1041,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AlterPartitionsReque struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); { - org.apache.thrift.protocol.TList _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list957.size); - Partition _elem958; - for (int _i959 = 0; _i959 < _list957.size; ++_i959) + org.apache.thrift.protocol.TList _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list965.size); + Partition _elem966; + for (int _i967 = 0; _i967 < _list965.size; ++_i967) { - _elem958 = new Partition(); - _elem958.read(iprot); - struct.partitions.add(_elem958); + _elem966 = new Partition(); + _elem966.read(iprot); + struct.partitions.add(_elem966); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java index 3fdd295fb1..3eb55b1b59 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClearFileMetadataRe case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list832.size); - long _elem833; - for (int _i834 = 0; _i834 < _list832.size; ++_i834) + org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list840.size); + long _elem841; + for (int _i842 = 0; _i842 < _list840.size; ++_i842) { - _elem833 = iprot.readI64(); - struct.fileIds.add(_elem833); + _elem841 = iprot.readI64(); + struct.fileIds.add(_elem841); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClearFileMetadataR oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter835 : struct.fileIds) + for (long _iter843 : struct.fileIds) { - oprot.writeI64(_iter835); + oprot.writeI64(_iter843); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter836 : struct.fileIds) + for (long _iter844 : struct.fileIds) { - oprot.writeI64(_iter836); + oprot.writeI64(_iter844); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe public void read(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list837.size); - long _elem838; - for (int _i839 = 0; _i839 < _list837.size; ++_i839) + org.apache.thrift.protocol.TList _list845 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list845.size); + long _elem846; + for (int _i847 = 0; _i847 < _list845.size; ++_i847) { - _elem838 = iprot.readI64(); - struct.fileIds.add(_elem838); + _elem846 = iprot.readI64(); + struct.fileIds.add(_elem846); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java index f5c9582fa9..17f8b7730a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java @@ -354,13 +354,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClientCapabilities case 1: // VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); - struct.values = new ArrayList(_list848.size); - ClientCapability _elem849; - for (int _i850 = 0; _i850 < _list848.size; ++_i850) + org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); + struct.values = new ArrayList(_list856.size); + ClientCapability _elem857; + for (int _i858 = 0; _i858 < _list856.size; ++_i858) { - _elem849 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem849); + _elem857 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem857); } iprot.readListEnd(); } @@ -386,9 +386,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClientCapabilities oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.values.size())); - for (ClientCapability _iter851 : struct.values) + for (ClientCapability _iter859 : struct.values) { - oprot.writeI32(_iter851.getValue()); + oprot.writeI32(_iter859.getValue()); } oprot.writeListEnd(); } @@ -413,9 +413,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); - for (ClientCapability _iter852 : struct.values) + for (ClientCapability _iter860 : struct.values) { - oprot.writeI32(_iter852.getValue()); + oprot.writeI32(_iter860.getValue()); } } } @@ -424,13 +424,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities public void read(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list853.size); - ClientCapability _elem854; - for (int _i855 = 0; _i855 < _list853.size; ++_i855) + org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.values = new ArrayList(_list861.size); + ClientCapability _elem862; + for (int _i863 = 0; _i863 < _list861.size; ++_i863) { - _elem854 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem854); + _elem862 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem862); } } struct.setValuesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java index 8f5b4e5bb4..f2f8fb475e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FindSchemasByColsRe case 1: // SCHEMA_VERSIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list944 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list944.size); - SchemaVersionDescriptor _elem945; - for (int _i946 = 0; _i946 < _list944.size; ++_i946) + org.apache.thrift.protocol.TList _list952 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list952.size); + SchemaVersionDescriptor _elem953; + for (int _i954 = 0; _i954 < _list952.size; ++_i954) { - _elem945 = new SchemaVersionDescriptor(); - _elem945.read(iprot); - struct.schemaVersions.add(_elem945); + _elem953 = new SchemaVersionDescriptor(); + _elem953.read(iprot); + struct.schemaVersions.add(_elem953); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FindSchemasByColsR oprot.writeFieldBegin(SCHEMA_VERSIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.schemaVersions.size())); - for (SchemaVersionDescriptor _iter947 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter955 : struct.schemaVersions) { - _iter947.write(oprot); + _iter955.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRe if (struct.isSetSchemaVersions()) { { oprot.writeI32(struct.schemaVersions.size()); - for (SchemaVersionDescriptor _iter948 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter956 : struct.schemaVersions) { - _iter948.write(oprot); + _iter956.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRes BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list949 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list949.size); - SchemaVersionDescriptor _elem950; - for (int _i951 = 0; _i951 < _list949.size; ++_i951) + org.apache.thrift.protocol.TList _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.schemaVersions = new ArrayList(_list957.size); + SchemaVersionDescriptor _elem958; + for (int _i959 = 0; _i959 < _list957.size; ++_i959) { - _elem950 = new SchemaVersionDescriptor(); - _elem950.read(iprot); - struct.schemaVersions.add(_elem950); + _elem958 = new SchemaVersionDescriptor(); + _elem958.read(iprot); + struct.schemaVersions.add(_elem958); } } struct.setSchemaVersionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index dc2627a1fb..f7e188dfda 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -794,13 +794,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 5: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list764 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list764.size); - String _elem765; - for (int _i766 = 0; _i766 < _list764.size; ++_i766) + org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list772.size); + String _elem773; + for (int _i774 = 0; _i774 < _list772.size; ++_i774) { - _elem765 = iprot.readString(); - struct.partitionVals.add(_elem765); + _elem773 = iprot.readString(); + struct.partitionVals.add(_elem773); } iprot.readListEnd(); } @@ -857,9 +857,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter767 : struct.partitionVals) + for (String _iter775 : struct.partitionVals) { - oprot.writeString(_iter767); + oprot.writeString(_iter775); } oprot.writeListEnd(); } @@ -915,9 +915,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter768 : struct.partitionVals) + for (String _iter776 : struct.partitionVals) { - oprot.writeString(_iter768); + oprot.writeString(_iter776); } } } @@ -945,13 +945,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list769.size); - String _elem770; - for (int _i771 = 0; _i771 < _list769.size; ++_i771) + org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list777.size); + String _elem778; + for (int _i779 = 0; _i779 < _list777.size; ++_i779) { - _elem770 = iprot.readString(); - struct.partitionVals.add(_elem770); + _elem778 = iprot.readString(); + struct.partitionVals.add(_elem778); } } struct.setPartitionValsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index 13fe5fa6d5..bd38bbe45d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetAllFunctionsResp case 1: // FUNCTIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); - struct.functions = new ArrayList(_list840.size); - Function _elem841; - for (int _i842 = 0; _i842 < _list840.size; ++_i842) + org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); + struct.functions = new ArrayList(_list848.size); + Function _elem849; + for (int _i850 = 0; _i850 < _list848.size; ++_i850) { - _elem841 = new Function(); - _elem841.read(iprot); - struct.functions.add(_elem841); + _elem849 = new Function(); + _elem849.read(iprot); + struct.functions.add(_elem849); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetAllFunctionsRes oprot.writeFieldBegin(FUNCTIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.functions.size())); - for (Function _iter843 : struct.functions) + for (Function _iter851 : struct.functions) { - _iter843.write(oprot); + _iter851.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsResp if (struct.isSetFunctions()) { { oprot.writeI32(struct.functions.size()); - for (Function _iter844 : struct.functions) + for (Function _iter852 : struct.functions) { - _iter844.write(oprot); + _iter852.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsRespo BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list845 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list845.size); - Function _elem846; - for (int _i847 = 0; _i847 < _list845.size; ++_i847) + org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list853.size); + Function _elem854; + for (int _i855 = 0; _i855 < _list853.size; ++_i855) { - _elem846 = new Function(); - _elem846.read(iprot); - struct.functions.add(_elem846); + _elem854 = new Function(); + _elem854.read(iprot); + struct.functions.add(_elem854); } } struct.setFunctionsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java index 976bf001a0..fb591dcec5 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java @@ -619,13 +619,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list790 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list790.size); - long _elem791; - for (int _i792 = 0; _i792 < _list790.size; ++_i792) + org.apache.thrift.protocol.TList _list798 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list798.size); + long _elem799; + for (int _i800 = 0; _i800 < _list798.size; ++_i800) { - _elem791 = iprot.readI64(); - struct.fileIds.add(_elem791); + _elem799 = iprot.readI64(); + struct.fileIds.add(_elem799); } iprot.readListEnd(); } @@ -675,9 +675,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter793 : struct.fileIds) + for (long _iter801 : struct.fileIds) { - oprot.writeI64(_iter793); + oprot.writeI64(_iter801); } oprot.writeListEnd(); } @@ -719,9 +719,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter794 : struct.fileIds) + for (long _iter802 : struct.fileIds) { - oprot.writeI64(_iter794); + oprot.writeI64(_iter802); } } oprot.writeBinary(struct.expr); @@ -745,13 +745,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list795 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list795.size); - long _elem796; - for (int _i797 = 0; _i797 < _list795.size; ++_i797) + org.apache.thrift.protocol.TList _list803 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list803.size); + long _elem804; + for (int _i805 = 0; _i805 < _list803.size; ++_i805) { - _elem796 = iprot.readI64(); - struct.fileIds.add(_elem796); + _elem804 = iprot.readI64(); + struct.fileIds.add(_elem804); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java index 16a0113ac0..e8dfba523d 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java @@ -444,16 +444,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map780 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map780.size); - long _key781; - MetadataPpdResult _val782; - for (int _i783 = 0; _i783 < _map780.size; ++_i783) + org.apache.thrift.protocol.TMap _map788 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map788.size); + long _key789; + MetadataPpdResult _val790; + for (int _i791 = 0; _i791 < _map788.size; ++_i791) { - _key781 = iprot.readI64(); - _val782 = new MetadataPpdResult(); - _val782.read(iprot); - struct.metadata.put(_key781, _val782); + _key789 = iprot.readI64(); + _val790 = new MetadataPpdResult(); + _val790.read(iprot); + struct.metadata.put(_key789, _val790); } iprot.readMapEnd(); } @@ -487,10 +487,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.metadata.size())); - for (Map.Entry _iter784 : struct.metadata.entrySet()) + for (Map.Entry _iter792 : struct.metadata.entrySet()) { - oprot.writeI64(_iter784.getKey()); - _iter784.getValue().write(oprot); + oprot.writeI64(_iter792.getKey()); + _iter792.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -518,10 +518,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter785 : struct.metadata.entrySet()) + for (Map.Entry _iter793 : struct.metadata.entrySet()) { - oprot.writeI64(_iter785.getKey()); - _iter785.getValue().write(oprot); + oprot.writeI64(_iter793.getKey()); + _iter793.getValue().write(oprot); } } oprot.writeBool(struct.isSupported); @@ -531,16 +531,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map786 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.metadata = new HashMap(2*_map786.size); - long _key787; - MetadataPpdResult _val788; - for (int _i789 = 0; _i789 < _map786.size; ++_i789) + org.apache.thrift.protocol.TMap _map794 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.metadata = new HashMap(2*_map794.size); + long _key795; + MetadataPpdResult _val796; + for (int _i797 = 0; _i797 < _map794.size; ++_i797) { - _key787 = iprot.readI64(); - _val788 = new MetadataPpdResult(); - _val788.read(iprot); - struct.metadata.put(_key787, _val788); + _key795 = iprot.readI64(); + _val796 = new MetadataPpdResult(); + _val796.read(iprot); + struct.metadata.put(_key795, _val796); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java index 9e3ed8b282..3d32f372d6 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list808.size); - long _elem809; - for (int _i810 = 0; _i810 < _list808.size; ++_i810) + org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list816.size); + long _elem817; + for (int _i818 = 0; _i818 < _list816.size; ++_i818) { - _elem809 = iprot.readI64(); - struct.fileIds.add(_elem809); + _elem817 = iprot.readI64(); + struct.fileIds.add(_elem817); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter811 : struct.fileIds) + for (long _iter819 : struct.fileIds) { - oprot.writeI64(_iter811); + oprot.writeI64(_iter819); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter812 : struct.fileIds) + for (long _iter820 : struct.fileIds) { - oprot.writeI64(_iter812); + oprot.writeI64(_iter820); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list813.size); - long _elem814; - for (int _i815 = 0; _i815 < _list813.size; ++_i815) + org.apache.thrift.protocol.TList _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list821.size); + long _elem822; + for (int _i823 = 0; _i823 < _list821.size; ++_i823) { - _elem814 = iprot.readI64(); - struct.fileIds.add(_elem814); + _elem822 = iprot.readI64(); + struct.fileIds.add(_elem822); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index bc73f1ec27..2b176efee4 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java @@ -433,15 +433,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataResu case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map798 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map798.size); - long _key799; - ByteBuffer _val800; - for (int _i801 = 0; _i801 < _map798.size; ++_i801) + org.apache.thrift.protocol.TMap _map806 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map806.size); + long _key807; + ByteBuffer _val808; + for (int _i809 = 0; _i809 < _map806.size; ++_i809) { - _key799 = iprot.readI64(); - _val800 = iprot.readBinary(); - struct.metadata.put(_key799, _val800); + _key807 = iprot.readI64(); + _val808 = iprot.readBinary(); + struct.metadata.put(_key807, _val808); } iprot.readMapEnd(); } @@ -475,10 +475,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataRes oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (Map.Entry _iter802 : struct.metadata.entrySet()) + for (Map.Entry _iter810 : struct.metadata.entrySet()) { - oprot.writeI64(_iter802.getKey()); - oprot.writeBinary(_iter802.getValue()); + oprot.writeI64(_iter810.getKey()); + oprot.writeBinary(_iter810.getValue()); } oprot.writeMapEnd(); } @@ -506,10 +506,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter803 : struct.metadata.entrySet()) + for (Map.Entry _iter811 : struct.metadata.entrySet()) { - oprot.writeI64(_iter803.getKey()); - oprot.writeBinary(_iter803.getValue()); + oprot.writeI64(_iter811.getKey()); + oprot.writeBinary(_iter811.getValue()); } } oprot.writeBool(struct.isSupported); @@ -519,15 +519,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map804 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new HashMap(2*_map804.size); - long _key805; - ByteBuffer _val806; - for (int _i807 = 0; _i807 < _map804.size; ++_i807) + org.apache.thrift.protocol.TMap _map812 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new HashMap(2*_map812.size); + long _key813; + ByteBuffer _val814; + for (int _i815 = 0; _i815 < _map812.size; ++_i815) { - _key805 = iprot.readI64(); - _val806 = iprot.readBinary(); - struct.metadata.put(_key805, _val806); + _key813 = iprot.readI64(); + _val814 = iprot.readBinary(); + struct.metadata.put(_key813, _val814); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java index 57511ce780..c0fe726f8a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsFilterSpec.java @@ -444,13 +444,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsFilter case 8: // FILTERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); - struct.filters = new ArrayList(_list976.size); - String _elem977; - for (int _i978 = 0; _i978 < _list976.size; ++_i978) + org.apache.thrift.protocol.TList _list984 = iprot.readListBegin(); + struct.filters = new ArrayList(_list984.size); + String _elem985; + for (int _i986 = 0; _i986 < _list984.size; ++_i986) { - _elem977 = iprot.readString(); - struct.filters.add(_elem977); + _elem985 = iprot.readString(); + struct.filters.add(_elem985); } iprot.readListEnd(); } @@ -484,9 +484,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsFilte oprot.writeFieldBegin(FILTERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filters.size())); - for (String _iter979 : struct.filters) + for (String _iter987 : struct.filters) { - oprot.writeString(_iter979); + oprot.writeString(_iter987); } oprot.writeListEnd(); } @@ -524,9 +524,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsFilter if (struct.isSetFilters()) { { oprot.writeI32(struct.filters.size()); - for (String _iter980 : struct.filters) + for (String _iter988 : struct.filters) { - oprot.writeString(_iter980); + oprot.writeString(_iter988); } } } @@ -542,13 +542,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsFilterS } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list981 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filters = new ArrayList(_list981.size); - String _elem982; - for (int _i983 = 0; _i983 < _list981.size; ++_i983) + org.apache.thrift.protocol.TList _list989 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filters = new ArrayList(_list989.size); + String _elem990; + for (int _i991 = 0; _i991 < _list989.size; ++_i991) { - _elem982 = iprot.readString(); - struct.filters.add(_elem982); + _elem990 = iprot.readString(); + struct.filters.add(_elem990); } } struct.setFiltersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java index bf7b6b7812..db91e0bf89 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsProjectionSpec.java @@ -509,13 +509,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsProjec case 1: // FIELD_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list968 = iprot.readListBegin(); - struct.fieldList = new ArrayList(_list968.size); - String _elem969; - for (int _i970 = 0; _i970 < _list968.size; ++_i970) + org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); + struct.fieldList = new ArrayList(_list976.size); + String _elem977; + for (int _i978 = 0; _i978 < _list976.size; ++_i978) { - _elem969 = iprot.readString(); - struct.fieldList.add(_elem969); + _elem977 = iprot.readString(); + struct.fieldList.add(_elem977); } iprot.readListEnd(); } @@ -557,9 +557,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsProje oprot.writeFieldBegin(FIELD_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.fieldList.size())); - for (String _iter971 : struct.fieldList) + for (String _iter979 : struct.fieldList) { - oprot.writeString(_iter971); + oprot.writeString(_iter979); } oprot.writeListEnd(); } @@ -606,9 +606,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsProjec if (struct.isSetFieldList()) { { oprot.writeI32(struct.fieldList.size()); - for (String _iter972 : struct.fieldList) + for (String _iter980 : struct.fieldList) { - oprot.writeString(_iter972); + oprot.writeString(_iter980); } } } @@ -626,13 +626,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsProject BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list973 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fieldList = new ArrayList(_list973.size); - String _elem974; - for (int _i975 = 0; _i975 < _list973.size; ++_i975) + org.apache.thrift.protocol.TList _list981 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.fieldList = new ArrayList(_list981.size); + String _elem982; + for (int _i983 = 0; _i983 < _list981.size; ++_i983) { - _elem974 = iprot.readString(); - struct.fieldList.add(_elem974); + _elem982 = iprot.readString(); + struct.fieldList.add(_elem982); } } struct.setFieldListIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java index 6aa8de83ff..d26cde23fc 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsRequest.java @@ -960,13 +960,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsReques case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list992 = iprot.readListBegin(); - struct.groupNames = new ArrayList(_list992.size); - String _elem993; - for (int _i994 = 0; _i994 < _list992.size; ++_i994) + org.apache.thrift.protocol.TList _list1000 = iprot.readListBegin(); + struct.groupNames = new ArrayList(_list1000.size); + String _elem1001; + for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) { - _elem993 = iprot.readString(); - struct.groupNames.add(_elem993); + _elem1001 = iprot.readString(); + struct.groupNames.add(_elem1001); } iprot.readListEnd(); } @@ -1040,9 +1040,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsReque oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.groupNames.size())); - for (String _iter995 : struct.groupNames) + for (String _iter1003 : struct.groupNames) { - oprot.writeString(_iter995); + oprot.writeString(_iter1003); } oprot.writeListEnd(); } @@ -1120,9 +1120,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsReques if (struct.isSetGroupNames()) { { oprot.writeI32(struct.groupNames.size()); - for (String _iter996 : struct.groupNames) + for (String _iter1004 : struct.groupNames) { - oprot.writeString(_iter996); + oprot.writeString(_iter1004); } } } @@ -1160,13 +1160,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRequest } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.groupNames = new ArrayList(_list997.size); - String _elem998; - for (int _i999 = 0; _i999 < _list997.size; ++_i999) + org.apache.thrift.protocol.TList _list1005 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.groupNames = new ArrayList(_list1005.size); + String _elem1006; + for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) { - _elem998 = iprot.readString(); - struct.groupNames.add(_elem998); + _elem1006 = iprot.readString(); + struct.groupNames.add(_elem1006); } } struct.setGroupNamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java index 2c374b868a..3db9095b5c 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsResponse.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPartitionsRespon case 1: // PARTITION_SPEC if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list984 = iprot.readListBegin(); - struct.partitionSpec = new ArrayList(_list984.size); - PartitionSpec _elem985; - for (int _i986 = 0; _i986 < _list984.size; ++_i986) + org.apache.thrift.protocol.TList _list992 = iprot.readListBegin(); + struct.partitionSpec = new ArrayList(_list992.size); + PartitionSpec _elem993; + for (int _i994 = 0; _i994 < _list992.size; ++_i994) { - _elem985 = new PartitionSpec(); - _elem985.read(iprot); - struct.partitionSpec.add(_elem985); + _elem993 = new PartitionSpec(); + _elem993.read(iprot); + struct.partitionSpec.add(_elem993); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPartitionsRespo oprot.writeFieldBegin(PARTITION_SPEC_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionSpec.size())); - for (PartitionSpec _iter987 : struct.partitionSpec) + for (PartitionSpec _iter995 : struct.partitionSpec) { - _iter987.write(oprot); + _iter995.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRespon if (struct.isSetPartitionSpec()) { { oprot.writeI32(struct.partitionSpec.size()); - for (PartitionSpec _iter988 : struct.partitionSpec) + for (PartitionSpec _iter996 : struct.partitionSpec) { - _iter988.write(oprot); + _iter996.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPartitionsRespons BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list989 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionSpec = new ArrayList(_list989.size); - PartitionSpec _elem990; - for (int _i991 = 0; _i991 < _list989.size; ++_i991) + org.apache.thrift.protocol.TList _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionSpec = new ArrayList(_list997.size); + PartitionSpec _elem998; + for (int _i999 = 0; _i999 < _list997.size; ++_i999) { - _elem990 = new PartitionSpec(); - _elem990.read(iprot); - struct.partitionSpec.add(_elem990); + _elem998 = new PartitionSpec(); + _elem998.read(iprot); + struct.partitionSpec.add(_elem998); } } struct.setPartitionSpecIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java index f241b5aa79..c3f71fe13e 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java @@ -606,13 +606,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesRequest st case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list856.size); - String _elem857; - for (int _i858 = 0; _i858 < _list856.size; ++_i858) + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list864.size); + String _elem865; + for (int _i866 = 0; _i866 < _list864.size; ++_i866) { - _elem857 = iprot.readString(); - struct.tblNames.add(_elem857); + _elem865 = iprot.readString(); + struct.tblNames.add(_elem865); } iprot.readListEnd(); } @@ -661,9 +661,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesRequest s oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tblNames.size())); - for (String _iter859 : struct.tblNames) + for (String _iter867 : struct.tblNames) { - oprot.writeString(_iter859); + oprot.writeString(_iter867); } oprot.writeListEnd(); } @@ -716,9 +716,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetTblNames()) { { oprot.writeI32(struct.tblNames.size()); - for (String _iter860 : struct.tblNames) + for (String _iter868 : struct.tblNames) { - oprot.writeString(_iter860); + oprot.writeString(_iter868); } } } @@ -738,13 +738,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list861.size); - String _elem862; - for (int _i863 = 0; _i863 < _list861.size; ++_i863) + org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list869.size); + String _elem870; + for (int _i871 = 0; _i871 < _list869.size; ++_i871) { - _elem862 = iprot.readString(); - struct.tblNames.add(_elem862); + _elem870 = iprot.readString(); + struct.tblNames.add(_elem870); } } struct.setTblNamesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java index b351c40f97..5716922bd3 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesResult str case 1: // TABLES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); - struct.tables = new ArrayList(_list864.size); - Table _elem865; - for (int _i866 = 0; _i866 < _list864.size; ++_i866) + org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list872.size); + Table _elem873; + for (int _i874 = 0; _i874 < _list872.size; ++_i874) { - _elem865 = new Table(); - _elem865.read(iprot); - struct.tables.add(_elem865); + _elem873 = new Table(); + _elem873.read(iprot); + struct.tables.add(_elem873); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesResult st oprot.writeFieldBegin(TABLES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tables.size())); - for (Table _iter867 : struct.tables) + for (Table _iter875 : struct.tables) { - _iter867.write(oprot); + _iter875.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tables.size()); - for (Table _iter868 : struct.tables) + for (Table _iter876 : struct.tables) { - _iter868.write(oprot); + _iter876.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list869.size); - Table _elem870; - for (int _i871 = 0; _i871 < _list869.size; ++_i871) + org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list877.size); + Table _elem878; + for (int _i879 = 0; _i879 < _list877.size; ++_i879) { - _elem870 = new Table(); - _elem870.read(iprot); - struct.tables.add(_elem870); + _elem878 = new Table(); + _elem878.read(iprot); + struct.tables.add(_elem878); } } struct.setTablesIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index 70690a4e0a..3ef24310b2 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -636,13 +636,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 2: // FILES_ADDED if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list740 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list740.size); - String _elem741; - for (int _i742 = 0; _i742 < _list740.size; ++_i742) + org.apache.thrift.protocol.TList _list748 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list748.size); + String _elem749; + for (int _i750 = 0; _i750 < _list748.size; ++_i750) { - _elem741 = iprot.readString(); - struct.filesAdded.add(_elem741); + _elem749 = iprot.readString(); + struct.filesAdded.add(_elem749); } iprot.readListEnd(); } @@ -654,13 +654,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 3: // FILES_ADDED_CHECKSUM if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list743 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list743.size); - String _elem744; - for (int _i745 = 0; _i745 < _list743.size; ++_i745) + org.apache.thrift.protocol.TList _list751 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list751.size); + String _elem752; + for (int _i753 = 0; _i753 < _list751.size; ++_i753) { - _elem744 = iprot.readString(); - struct.filesAddedChecksum.add(_elem744); + _elem752 = iprot.readString(); + struct.filesAddedChecksum.add(_elem752); } iprot.readListEnd(); } @@ -672,13 +672,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 4: // SUB_DIRECTORY_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list746 = iprot.readListBegin(); - struct.subDirectoryList = new ArrayList(_list746.size); - String _elem747; - for (int _i748 = 0; _i748 < _list746.size; ++_i748) + org.apache.thrift.protocol.TList _list754 = iprot.readListBegin(); + struct.subDirectoryList = new ArrayList(_list754.size); + String _elem755; + for (int _i756 = 0; _i756 < _list754.size; ++_i756) { - _elem747 = iprot.readString(); - struct.subDirectoryList.add(_elem747); + _elem755 = iprot.readString(); + struct.subDirectoryList.add(_elem755); } iprot.readListEnd(); } @@ -709,9 +709,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAdded.size())); - for (String _iter749 : struct.filesAdded) + for (String _iter757 : struct.filesAdded) { - oprot.writeString(_iter749); + oprot.writeString(_iter757); } oprot.writeListEnd(); } @@ -722,9 +722,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_CHECKSUM_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAddedChecksum.size())); - for (String _iter750 : struct.filesAddedChecksum) + for (String _iter758 : struct.filesAddedChecksum) { - oprot.writeString(_iter750); + oprot.writeString(_iter758); } oprot.writeListEnd(); } @@ -736,9 +736,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(SUB_DIRECTORY_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.subDirectoryList.size())); - for (String _iter751 : struct.subDirectoryList) + for (String _iter759 : struct.subDirectoryList) { - oprot.writeString(_iter751); + oprot.writeString(_iter759); } oprot.writeListEnd(); } @@ -764,9 +764,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.filesAdded.size()); - for (String _iter752 : struct.filesAdded) + for (String _iter760 : struct.filesAdded) { - oprot.writeString(_iter752); + oprot.writeString(_iter760); } } BitSet optionals = new BitSet(); @@ -786,18 +786,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD if (struct.isSetFilesAddedChecksum()) { { oprot.writeI32(struct.filesAddedChecksum.size()); - for (String _iter753 : struct.filesAddedChecksum) + for (String _iter761 : struct.filesAddedChecksum) { - oprot.writeString(_iter753); + oprot.writeString(_iter761); } } } if (struct.isSetSubDirectoryList()) { { oprot.writeI32(struct.subDirectoryList.size()); - for (String _iter754 : struct.subDirectoryList) + for (String _iter762 : struct.subDirectoryList) { - oprot.writeString(_iter754); + oprot.writeString(_iter762); } } } @@ -807,13 +807,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestData struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list755 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list755.size); - String _elem756; - for (int _i757 = 0; _i757 < _list755.size; ++_i757) + org.apache.thrift.protocol.TList _list763 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list763.size); + String _elem764; + for (int _i765 = 0; _i765 < _list763.size; ++_i765) { - _elem756 = iprot.readString(); - struct.filesAdded.add(_elem756); + _elem764 = iprot.readString(); + struct.filesAdded.add(_elem764); } } struct.setFilesAddedIsSet(true); @@ -824,26 +824,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestDa } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list758 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list758.size); - String _elem759; - for (int _i760 = 0; _i760 < _list758.size; ++_i760) + org.apache.thrift.protocol.TList _list766 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list766.size); + String _elem767; + for (int _i768 = 0; _i768 < _list766.size; ++_i768) { - _elem759 = iprot.readString(); - struct.filesAddedChecksum.add(_elem759); + _elem767 = iprot.readString(); + struct.filesAddedChecksum.add(_elem767); } } struct.setFilesAddedChecksumIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.subDirectoryList = new ArrayList(_list761.size); - String _elem762; - for (int _i763 = 0; _i763 < _list761.size; ++_i763) + org.apache.thrift.protocol.TList _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.subDirectoryList = new ArrayList(_list769.size); + String _elem770; + for (int _i771 = 0; _i771 < _list769.size; ++_i771) { - _elem762 = iprot.readString(); - struct.subDirectoryList.add(_elem762); + _elem770 = iprot.readString(); + struct.subDirectoryList.add(_elem770); } } struct.setSubDirectoryListIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java index f01620443b..77e57718ef 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java @@ -40,6 +40,7 @@ private static final org.apache.thrift.protocol.TField LAST_EVENT_FIELD_DESC = new org.apache.thrift.protocol.TField("lastEvent", org.apache.thrift.protocol.TType.I64, (short)1); private static final org.apache.thrift.protocol.TField MAX_EVENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("maxEvents", org.apache.thrift.protocol.TType.I32, (short)2); + private static final org.apache.thrift.protocol.TField EVENT_TYPE_SKIP_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("eventTypeSkipList", org.apache.thrift.protocol.TType.LIST, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -49,11 +50,13 @@ private long lastEvent; // required private int maxEvents; // optional + private List eventTypeSkipList; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { LAST_EVENT((short)1, "lastEvent"), - MAX_EVENTS((short)2, "maxEvents"); + MAX_EVENTS((short)2, "maxEvents"), + EVENT_TYPE_SKIP_LIST((short)3, "eventTypeSkipList"); private static final Map byName = new HashMap(); @@ -72,6 +75,8 @@ public static _Fields findByThriftId(int fieldId) { return LAST_EVENT; case 2: // MAX_EVENTS return MAX_EVENTS; + case 3: // EVENT_TYPE_SKIP_LIST + return EVENT_TYPE_SKIP_LIST; default: return null; } @@ -115,7 +120,7 @@ public String getFieldName() { private static final int __LASTEVENT_ISSET_ID = 0; private static final int __MAXEVENTS_ISSET_ID = 1; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.MAX_EVENTS}; + private static final _Fields optionals[] = {_Fields.MAX_EVENTS,_Fields.EVENT_TYPE_SKIP_LIST}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -123,6 +128,9 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.MAX_EVENTS, new org.apache.thrift.meta_data.FieldMetaData("maxEvents", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.EVENT_TYPE_SKIP_LIST, new org.apache.thrift.meta_data.FieldMetaData("eventTypeSkipList", org.apache.thrift.TFieldRequirementType.OPTIONAL, + 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(NotificationEventRequest.class, metaDataMap); } @@ -145,6 +153,10 @@ public NotificationEventRequest(NotificationEventRequest other) { __isset_bitfield = other.__isset_bitfield; this.lastEvent = other.lastEvent; this.maxEvents = other.maxEvents; + if (other.isSetEventTypeSkipList()) { + List __this__eventTypeSkipList = new ArrayList(other.eventTypeSkipList); + this.eventTypeSkipList = __this__eventTypeSkipList; + } } public NotificationEventRequest deepCopy() { @@ -157,6 +169,7 @@ public void clear() { this.lastEvent = 0; setMaxEventsIsSet(false); this.maxEvents = 0; + this.eventTypeSkipList = null; } public long getLastEvent() { @@ -203,6 +216,44 @@ public void setMaxEventsIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAXEVENTS_ISSET_ID, value); } + public int getEventTypeSkipListSize() { + return (this.eventTypeSkipList == null) ? 0 : this.eventTypeSkipList.size(); + } + + public java.util.Iterator getEventTypeSkipListIterator() { + return (this.eventTypeSkipList == null) ? null : this.eventTypeSkipList.iterator(); + } + + public void addToEventTypeSkipList(String elem) { + if (this.eventTypeSkipList == null) { + this.eventTypeSkipList = new ArrayList(); + } + this.eventTypeSkipList.add(elem); + } + + public List getEventTypeSkipList() { + return this.eventTypeSkipList; + } + + public void setEventTypeSkipList(List eventTypeSkipList) { + this.eventTypeSkipList = eventTypeSkipList; + } + + public void unsetEventTypeSkipList() { + this.eventTypeSkipList = null; + } + + /** Returns true if field eventTypeSkipList is set (has been assigned a value) and false otherwise */ + public boolean isSetEventTypeSkipList() { + return this.eventTypeSkipList != null; + } + + public void setEventTypeSkipListIsSet(boolean value) { + if (!value) { + this.eventTypeSkipList = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case LAST_EVENT: @@ -221,6 +272,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case EVENT_TYPE_SKIP_LIST: + if (value == null) { + unsetEventTypeSkipList(); + } else { + setEventTypeSkipList((List)value); + } + break; + } } @@ -232,6 +291,9 @@ public Object getFieldValue(_Fields field) { case MAX_EVENTS: return getMaxEvents(); + case EVENT_TYPE_SKIP_LIST: + return getEventTypeSkipList(); + } throw new IllegalStateException(); } @@ -247,6 +309,8 @@ public boolean isSet(_Fields field) { return isSetLastEvent(); case MAX_EVENTS: return isSetMaxEvents(); + case EVENT_TYPE_SKIP_LIST: + return isSetEventTypeSkipList(); } throw new IllegalStateException(); } @@ -282,6 +346,15 @@ public boolean equals(NotificationEventRequest that) { return false; } + boolean this_present_eventTypeSkipList = true && this.isSetEventTypeSkipList(); + boolean that_present_eventTypeSkipList = true && that.isSetEventTypeSkipList(); + if (this_present_eventTypeSkipList || that_present_eventTypeSkipList) { + if (!(this_present_eventTypeSkipList && that_present_eventTypeSkipList)) + return false; + if (!this.eventTypeSkipList.equals(that.eventTypeSkipList)) + return false; + } + return true; } @@ -299,6 +372,11 @@ public int hashCode() { if (present_maxEvents) list.add(maxEvents); + boolean present_eventTypeSkipList = true && (isSetEventTypeSkipList()); + list.add(present_eventTypeSkipList); + if (present_eventTypeSkipList) + list.add(eventTypeSkipList); + return list.hashCode(); } @@ -330,6 +408,16 @@ public int compareTo(NotificationEventRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEventTypeSkipList()).compareTo(other.isSetEventTypeSkipList()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetEventTypeSkipList()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventTypeSkipList, other.eventTypeSkipList); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -359,6 +447,16 @@ public String toString() { sb.append(this.maxEvents); first = false; } + if (isSetEventTypeSkipList()) { + if (!first) sb.append(", "); + sb.append("eventTypeSkipList:"); + if (this.eventTypeSkipList == null) { + sb.append("null"); + } else { + sb.append(this.eventTypeSkipList); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -424,6 +522,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 3: // EVENT_TYPE_SKIP_LIST + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list732 = iprot.readListBegin(); + struct.eventTypeSkipList = new ArrayList(_list732.size); + String _elem733; + for (int _i734 = 0; _i734 < _list732.size; ++_i734) + { + _elem733 = iprot.readString(); + struct.eventTypeSkipList.add(_elem733); + } + iprot.readListEnd(); + } + struct.setEventTypeSkipListIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -445,6 +561,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeI32(struct.maxEvents); oprot.writeFieldEnd(); } + if (struct.eventTypeSkipList != null) { + if (struct.isSetEventTypeSkipList()) { + oprot.writeFieldBegin(EVENT_TYPE_SKIP_LIST_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.eventTypeSkipList.size())); + for (String _iter735 : struct.eventTypeSkipList) + { + oprot.writeString(_iter735); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -467,10 +597,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe if (struct.isSetMaxEvents()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetEventTypeSkipList()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); if (struct.isSetMaxEvents()) { oprot.writeI32(struct.maxEvents); } + if (struct.isSetEventTypeSkipList()) { + { + oprot.writeI32(struct.eventTypeSkipList.size()); + for (String _iter736 : struct.eventTypeSkipList) + { + oprot.writeString(_iter736); + } + } + } } @Override @@ -478,11 +620,24 @@ public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventReq TTupleProtocol iprot = (TTupleProtocol) prot; struct.lastEvent = iprot.readI64(); struct.setLastEventIsSet(true); - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.maxEvents = iprot.readI32(); struct.setMaxEventsIsSet(true); } + if (incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.eventTypeSkipList = new ArrayList(_list737.size); + String _elem738; + for (int _i739 = 0; _i739 < _list737.size; ++_i739) + { + _elem738 = iprot.readString(); + struct.eventTypeSkipList.add(_elem738); + } + } + struct.setEventTypeSkipListIsSet(true); + } } } diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index e86c9f6608..f559a03b92 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 1: // EVENTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list732 = iprot.readListBegin(); - struct.events = new ArrayList(_list732.size); - NotificationEvent _elem733; - for (int _i734 = 0; _i734 < _list732.size; ++_i734) + org.apache.thrift.protocol.TList _list740 = iprot.readListBegin(); + struct.events = new ArrayList(_list740.size); + NotificationEvent _elem741; + for (int _i742 = 0; _i742 < _list740.size; ++_i742) { - _elem733 = new NotificationEvent(); - _elem733.read(iprot); - struct.events.add(_elem733); + _elem741 = new NotificationEvent(); + _elem741.read(iprot); + struct.events.add(_elem741); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.events.size())); - for (NotificationEvent _iter735 : struct.events) + for (NotificationEvent _iter743 : struct.events) { - _iter735.write(oprot); + _iter743.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.events.size()); - for (NotificationEvent _iter736 : struct.events) + for (NotificationEvent _iter744 : struct.events) { - _iter736.write(oprot); + _iter744.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list737.size); - NotificationEvent _elem738; - for (int _i739 = 0; _i739 < _list737.size; ++_i739) + org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list745.size); + NotificationEvent _elem746; + for (int _i747 = 0; _i747 < _list745.size; ++_i747) { - _elem738 = new NotificationEvent(); - _elem738.read(iprot); - struct.events.add(_elem738); + _elem746 = new NotificationEvent(); + _elem746.read(iprot); + struct.events.add(_elem746); } } struct.setEventsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java index e19034c630..0bbb9be468 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java @@ -547,13 +547,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list816.size); - long _elem817; - for (int _i818 = 0; _i818 < _list816.size; ++_i818) + org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list824.size); + long _elem825; + for (int _i826 = 0; _i826 < _list824.size; ++_i826) { - _elem817 = iprot.readI64(); - struct.fileIds.add(_elem817); + _elem825 = iprot.readI64(); + struct.fileIds.add(_elem825); } iprot.readListEnd(); } @@ -565,13 +565,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 2: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list819 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list819.size); - ByteBuffer _elem820; - for (int _i821 = 0; _i821 < _list819.size; ++_i821) + org.apache.thrift.protocol.TList _list827 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list827.size); + ByteBuffer _elem828; + for (int _i829 = 0; _i829 < _list827.size; ++_i829) { - _elem820 = iprot.readBinary(); - struct.metadata.add(_elem820); + _elem828 = iprot.readBinary(); + struct.metadata.add(_elem828); } iprot.readListEnd(); } @@ -605,9 +605,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter822 : struct.fileIds) + for (long _iter830 : struct.fileIds) { - oprot.writeI64(_iter822); + oprot.writeI64(_iter830); } oprot.writeListEnd(); } @@ -617,9 +617,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (ByteBuffer _iter823 : struct.metadata) + for (ByteBuffer _iter831 : struct.metadata) { - oprot.writeBinary(_iter823); + oprot.writeBinary(_iter831); } oprot.writeListEnd(); } @@ -651,16 +651,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter824 : struct.fileIds) + for (long _iter832 : struct.fileIds) { - oprot.writeI64(_iter824); + oprot.writeI64(_iter832); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter825 : struct.metadata) + for (ByteBuffer _iter833 : struct.metadata) { - oprot.writeBinary(_iter825); + oprot.writeBinary(_iter833); } } BitSet optionals = new BitSet(); @@ -677,24 +677,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list826 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list826.size); - long _elem827; - for (int _i828 = 0; _i828 < _list826.size; ++_i828) + org.apache.thrift.protocol.TList _list834 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list834.size); + long _elem835; + for (int _i836 = 0; _i836 < _list834.size; ++_i836) { - _elem827 = iprot.readI64(); - struct.fileIds.add(_elem827); + _elem835 = iprot.readI64(); + struct.fileIds.add(_elem835); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list829.size); - ByteBuffer _elem830; - for (int _i831 = 0; _i831 < _list829.size; ++_i831) + org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list837.size); + ByteBuffer _elem838; + for (int _i839 = 0; _i839 < _list837.size; ++_i839) { - _elem830 = iprot.readBinary(); - struct.metadata.add(_elem830); + _elem838 = iprot.readBinary(); + struct.metadata.add(_elem838); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java index 3540e99336..0a0393ff14 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RenamePartitionRequest.java @@ -796,13 +796,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, RenamePartitionRequ case 4: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list960 = iprot.readListBegin(); - struct.partVals = new ArrayList(_list960.size); - String _elem961; - for (int _i962 = 0; _i962 < _list960.size; ++_i962) + org.apache.thrift.protocol.TList _list968 = iprot.readListBegin(); + struct.partVals = new ArrayList(_list968.size); + String _elem969; + for (int _i970 = 0; _i970 < _list968.size; ++_i970) { - _elem961 = iprot.readString(); - struct.partVals.add(_elem961); + _elem969 = iprot.readString(); + struct.partVals.add(_elem969); } iprot.readListEnd(); } @@ -862,9 +862,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, RenamePartitionReq oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partVals.size())); - for (String _iter963 : struct.partVals) + for (String _iter971 : struct.partVals) { - oprot.writeString(_iter963); + oprot.writeString(_iter971); } oprot.writeListEnd(); } @@ -903,9 +903,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, RenamePartitionRequ oprot.writeString(struct.tableName); { oprot.writeI32(struct.partVals.size()); - for (String _iter964 : struct.partVals) + for (String _iter972 : struct.partVals) { - oprot.writeString(_iter964); + oprot.writeString(_iter972); } } struct.newPart.write(oprot); @@ -933,13 +933,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, RenamePartitionReque struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); { - org.apache.thrift.protocol.TList _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partVals = new ArrayList(_list965.size); - String _elem966; - for (int _i967 = 0; _i967 < _list965.size; ++_i967) + org.apache.thrift.protocol.TList _list973 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partVals = new ArrayList(_list973.size); + String _elem974; + for (int _i975 = 0; _i975 < _list973.size; ++_i975) { - _elem966 = iprot.readString(); - struct.partVals.add(_elem966); + _elem974 = iprot.readString(); + struct.partVals.add(_elem974); } } struct.setPartValsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java index 88d7e3fedf..dd169327cf 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java @@ -1119,14 +1119,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SchemaVersion struc case 4: // COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list936 = iprot.readListBegin(); - struct.cols = new ArrayList(_list936.size); - FieldSchema _elem937; - for (int _i938 = 0; _i938 < _list936.size; ++_i938) + org.apache.thrift.protocol.TList _list944 = iprot.readListBegin(); + struct.cols = new ArrayList(_list944.size); + FieldSchema _elem945; + for (int _i946 = 0; _i946 < _list944.size; ++_i946) { - _elem937 = new FieldSchema(); - _elem937.read(iprot); - struct.cols.add(_elem937); + _elem945 = new FieldSchema(); + _elem945.read(iprot); + struct.cols.add(_elem945); } iprot.readListEnd(); } @@ -1212,9 +1212,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SchemaVersion stru oprot.writeFieldBegin(COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.cols.size())); - for (FieldSchema _iter939 : struct.cols) + for (FieldSchema _iter947 : struct.cols) { - _iter939.write(oprot); + _iter947.write(oprot); } oprot.writeListEnd(); } @@ -1323,9 +1323,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struc if (struct.isSetCols()) { { oprot.writeI32(struct.cols.size()); - for (FieldSchema _iter940 : struct.cols) + for (FieldSchema _iter948 : struct.cols) { - _iter940.write(oprot); + _iter948.write(oprot); } } } @@ -1368,14 +1368,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struct } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list941.size); - FieldSchema _elem942; - for (int _i943 = 0; _i943 < _list941.size; ++_i943) + org.apache.thrift.protocol.TList _list949 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.cols = new ArrayList(_list949.size); + FieldSchema _elem950; + for (int _i951 = 0; _i951 < _list949.size; ++_i951) { - _elem942 = new FieldSchema(); - _elem942.read(iprot); - struct.cols.add(_elem942); + _elem950 = new FieldSchema(); + _elem950.read(iprot); + struct.cols.add(_elem950); } } struct.setColsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 52a2b71cc4..b6a0893524 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -43489,13 +43489,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1000 = iprot.readListBegin(); - struct.success = new ArrayList(_list1000.size); - String _elem1001; - for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) + org.apache.thrift.protocol.TList _list1008 = iprot.readListBegin(); + struct.success = new ArrayList(_list1008.size); + String _elem1009; + for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) { - _elem1001 = iprot.readString(); - struct.success.add(_elem1001); + _elem1009 = iprot.readString(); + struct.success.add(_elem1009); } iprot.readListEnd(); } @@ -43530,9 +43530,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1003 : struct.success) + for (String _iter1011 : struct.success) { - oprot.writeString(_iter1003); + oprot.writeString(_iter1011); } oprot.writeListEnd(); } @@ -43571,9 +43571,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1004 : struct.success) + for (String _iter1012 : struct.success) { - oprot.writeString(_iter1004); + oprot.writeString(_iter1012); } } } @@ -43588,13 +43588,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1005 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1005.size); - String _elem1006; - for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) + org.apache.thrift.protocol.TList _list1013 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1013.size); + String _elem1014; + for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) { - _elem1006 = iprot.readString(); - struct.success.add(_elem1006); + _elem1014 = iprot.readString(); + struct.success.add(_elem1014); } } struct.setSuccessIsSet(true); @@ -44248,13 +44248,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1008 = iprot.readListBegin(); - struct.success = new ArrayList(_list1008.size); - String _elem1009; - for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) + org.apache.thrift.protocol.TList _list1016 = iprot.readListBegin(); + struct.success = new ArrayList(_list1016.size); + String _elem1017; + for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) { - _elem1009 = iprot.readString(); - struct.success.add(_elem1009); + _elem1017 = iprot.readString(); + struct.success.add(_elem1017); } iprot.readListEnd(); } @@ -44289,9 +44289,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1011 : struct.success) + for (String _iter1019 : struct.success) { - oprot.writeString(_iter1011); + oprot.writeString(_iter1019); } oprot.writeListEnd(); } @@ -44330,9 +44330,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1012 : struct.success) + for (String _iter1020 : struct.success) { - oprot.writeString(_iter1012); + oprot.writeString(_iter1020); } } } @@ -44347,13 +44347,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1013 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1013.size); - String _elem1014; - for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) + org.apache.thrift.protocol.TList _list1021 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1021.size); + String _elem1022; + for (int _i1023 = 0; _i1023 < _list1021.size; ++_i1023) { - _elem1014 = iprot.readString(); - struct.success.add(_elem1014); + _elem1022 = iprot.readString(); + struct.success.add(_elem1022); } } struct.setSuccessIsSet(true); @@ -48960,16 +48960,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_type_all_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1016 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1016.size); - String _key1017; - Type _val1018; - for (int _i1019 = 0; _i1019 < _map1016.size; ++_i1019) + org.apache.thrift.protocol.TMap _map1024 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1024.size); + String _key1025; + Type _val1026; + for (int _i1027 = 0; _i1027 < _map1024.size; ++_i1027) { - _key1017 = iprot.readString(); - _val1018 = new Type(); - _val1018.read(iprot); - struct.success.put(_key1017, _val1018); + _key1025 = iprot.readString(); + _val1026 = new Type(); + _val1026.read(iprot); + struct.success.put(_key1025, _val1026); } iprot.readMapEnd(); } @@ -49004,10 +49004,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_type_all_resul oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter1020 : struct.success.entrySet()) + for (Map.Entry _iter1028 : struct.success.entrySet()) { - oprot.writeString(_iter1020.getKey()); - _iter1020.getValue().write(oprot); + oprot.writeString(_iter1028.getKey()); + _iter1028.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -49046,10 +49046,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_type_all_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1021 : struct.success.entrySet()) + for (Map.Entry _iter1029 : struct.success.entrySet()) { - oprot.writeString(_iter1021.getKey()); - _iter1021.getValue().write(oprot); + oprot.writeString(_iter1029.getKey()); + _iter1029.getValue().write(oprot); } } } @@ -49064,16 +49064,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_all_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1022 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap(2*_map1022.size); - String _key1023; - Type _val1024; - for (int _i1025 = 0; _i1025 < _map1022.size; ++_i1025) + org.apache.thrift.protocol.TMap _map1030 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap(2*_map1030.size); + String _key1031; + Type _val1032; + for (int _i1033 = 0; _i1033 < _map1030.size; ++_i1033) { - _key1023 = iprot.readString(); - _val1024 = new Type(); - _val1024.read(iprot); - struct.success.put(_key1023, _val1024); + _key1031 = iprot.readString(); + _val1032 = new Type(); + _val1032.read(iprot); + struct.success.put(_key1031, _val1032); } } struct.setSuccessIsSet(true); @@ -50108,14 +50108,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1026 = iprot.readListBegin(); - struct.success = new ArrayList(_list1026.size); - FieldSchema _elem1027; - for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) + org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); + struct.success = new ArrayList(_list1034.size); + FieldSchema _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1027 = new FieldSchema(); - _elem1027.read(iprot); - struct.success.add(_elem1027); + _elem1035 = new FieldSchema(); + _elem1035.read(iprot); + struct.success.add(_elem1035); } iprot.readListEnd(); } @@ -50168,9 +50168,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter1029 : struct.success) + for (FieldSchema _iter1037 : struct.success) { - _iter1029.write(oprot); + _iter1037.write(oprot); } oprot.writeListEnd(); } @@ -50225,9 +50225,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1030 : struct.success) + for (FieldSchema _iter1038 : struct.success) { - _iter1030.write(oprot); + _iter1038.write(oprot); } } } @@ -50248,14 +50248,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1031.size); - FieldSchema _elem1032; - for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) + org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1039.size); + FieldSchema _elem1040; + for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) { - _elem1032 = new FieldSchema(); - _elem1032.read(iprot); - struct.success.add(_elem1032); + _elem1040 = new FieldSchema(); + _elem1040.read(iprot); + struct.success.add(_elem1040); } } struct.setSuccessIsSet(true); @@ -51409,14 +51409,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); - struct.success = new ArrayList(_list1034.size); - FieldSchema _elem1035; - for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) + org.apache.thrift.protocol.TList _list1042 = iprot.readListBegin(); + struct.success = new ArrayList(_list1042.size); + FieldSchema _elem1043; + for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) { - _elem1035 = new FieldSchema(); - _elem1035.read(iprot); - struct.success.add(_elem1035); + _elem1043 = new FieldSchema(); + _elem1043.read(iprot); + struct.success.add(_elem1043); } iprot.readListEnd(); } @@ -51469,9 +51469,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter1037 : struct.success) + for (FieldSchema _iter1045 : struct.success) { - _iter1037.write(oprot); + _iter1045.write(oprot); } oprot.writeListEnd(); } @@ -51526,9 +51526,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1038 : struct.success) + for (FieldSchema _iter1046 : struct.success) { - _iter1038.write(oprot); + _iter1046.write(oprot); } } } @@ -51549,14 +51549,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1039.size); - FieldSchema _elem1040; - for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) + org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1047.size); + FieldSchema _elem1048; + for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) { - _elem1040 = new FieldSchema(); - _elem1040.read(iprot); - struct.success.add(_elem1040); + _elem1048 = new FieldSchema(); + _elem1048.read(iprot); + struct.success.add(_elem1048); } } struct.setSuccessIsSet(true); @@ -52601,14 +52601,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1042 = iprot.readListBegin(); - struct.success = new ArrayList(_list1042.size); - FieldSchema _elem1043; - for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) + org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); + struct.success = new ArrayList(_list1050.size); + FieldSchema _elem1051; + for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) { - _elem1043 = new FieldSchema(); - _elem1043.read(iprot); - struct.success.add(_elem1043); + _elem1051 = new FieldSchema(); + _elem1051.read(iprot); + struct.success.add(_elem1051); } iprot.readListEnd(); } @@ -52661,9 +52661,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter1045 : struct.success) + for (FieldSchema _iter1053 : struct.success) { - _iter1045.write(oprot); + _iter1053.write(oprot); } oprot.writeListEnd(); } @@ -52718,9 +52718,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1046 : struct.success) + for (FieldSchema _iter1054 : struct.success) { - _iter1046.write(oprot); + _iter1054.write(oprot); } } } @@ -52741,14 +52741,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1047.size); - FieldSchema _elem1048; - for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) + org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1055.size); + FieldSchema _elem1056; + for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) { - _elem1048 = new FieldSchema(); - _elem1048.read(iprot); - struct.success.add(_elem1048); + _elem1056 = new FieldSchema(); + _elem1056.read(iprot); + struct.success.add(_elem1056); } } struct.setSuccessIsSet(true); @@ -53902,14 +53902,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); - struct.success = new ArrayList(_list1050.size); - FieldSchema _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); + struct.success = new ArrayList(_list1058.size); + FieldSchema _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1051 = new FieldSchema(); - _elem1051.read(iprot); - struct.success.add(_elem1051); + _elem1059 = new FieldSchema(); + _elem1059.read(iprot); + struct.success.add(_elem1059); } iprot.readListEnd(); } @@ -53962,9 +53962,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter1053 : struct.success) + for (FieldSchema _iter1061 : struct.success) { - _iter1053.write(oprot); + _iter1061.write(oprot); } oprot.writeListEnd(); } @@ -54019,9 +54019,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1054 : struct.success) + for (FieldSchema _iter1062 : struct.success) { - _iter1054.write(oprot); + _iter1062.write(oprot); } } } @@ -54042,14 +54042,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1055.size); - FieldSchema _elem1056; - for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) + org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1063.size); + FieldSchema _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1056 = new FieldSchema(); - _elem1056.read(iprot); - struct.success.add(_elem1056); + _elem1064 = new FieldSchema(); + _elem1064.read(iprot); + struct.success.add(_elem1064); } } struct.setSuccessIsSet(true); @@ -57178,14 +57178,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 2: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list1058.size); - SQLPrimaryKey _elem1059; - for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) + org.apache.thrift.protocol.TList _list1066 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list1066.size); + SQLPrimaryKey _elem1067; + for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) { - _elem1059 = new SQLPrimaryKey(); - _elem1059.read(iprot); - struct.primaryKeys.add(_elem1059); + _elem1067 = new SQLPrimaryKey(); + _elem1067.read(iprot); + struct.primaryKeys.add(_elem1067); } iprot.readListEnd(); } @@ -57197,14 +57197,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 3: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1061 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list1061.size); - SQLForeignKey _elem1062; - for (int _i1063 = 0; _i1063 < _list1061.size; ++_i1063) + org.apache.thrift.protocol.TList _list1069 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list1069.size); + SQLForeignKey _elem1070; + for (int _i1071 = 0; _i1071 < _list1069.size; ++_i1071) { - _elem1062 = new SQLForeignKey(); - _elem1062.read(iprot); - struct.foreignKeys.add(_elem1062); + _elem1070 = new SQLForeignKey(); + _elem1070.read(iprot); + struct.foreignKeys.add(_elem1070); } iprot.readListEnd(); } @@ -57216,14 +57216,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 4: // UNIQUE_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1064 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list1064.size); - SQLUniqueConstraint _elem1065; - for (int _i1066 = 0; _i1066 < _list1064.size; ++_i1066) + org.apache.thrift.protocol.TList _list1072 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list1072.size); + SQLUniqueConstraint _elem1073; + for (int _i1074 = 0; _i1074 < _list1072.size; ++_i1074) { - _elem1065 = new SQLUniqueConstraint(); - _elem1065.read(iprot); - struct.uniqueConstraints.add(_elem1065); + _elem1073 = new SQLUniqueConstraint(); + _elem1073.read(iprot); + struct.uniqueConstraints.add(_elem1073); } iprot.readListEnd(); } @@ -57235,14 +57235,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 5: // NOT_NULL_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1067 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list1067.size); - SQLNotNullConstraint _elem1068; - for (int _i1069 = 0; _i1069 < _list1067.size; ++_i1069) + org.apache.thrift.protocol.TList _list1075 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list1075.size); + SQLNotNullConstraint _elem1076; + for (int _i1077 = 0; _i1077 < _list1075.size; ++_i1077) { - _elem1068 = new SQLNotNullConstraint(); - _elem1068.read(iprot); - struct.notNullConstraints.add(_elem1068); + _elem1076 = new SQLNotNullConstraint(); + _elem1076.read(iprot); + struct.notNullConstraints.add(_elem1076); } iprot.readListEnd(); } @@ -57254,14 +57254,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 6: // DEFAULT_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1070 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list1070.size); - SQLDefaultConstraint _elem1071; - for (int _i1072 = 0; _i1072 < _list1070.size; ++_i1072) + org.apache.thrift.protocol.TList _list1078 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list1078.size); + SQLDefaultConstraint _elem1079; + for (int _i1080 = 0; _i1080 < _list1078.size; ++_i1080) { - _elem1071 = new SQLDefaultConstraint(); - _elem1071.read(iprot); - struct.defaultConstraints.add(_elem1071); + _elem1079 = new SQLDefaultConstraint(); + _elem1079.read(iprot); + struct.defaultConstraints.add(_elem1079); } iprot.readListEnd(); } @@ -57273,14 +57273,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 7: // CHECK_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1073 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list1073.size); - SQLCheckConstraint _elem1074; - for (int _i1075 = 0; _i1075 < _list1073.size; ++_i1075) + org.apache.thrift.protocol.TList _list1081 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list1081.size); + SQLCheckConstraint _elem1082; + for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) { - _elem1074 = new SQLCheckConstraint(); - _elem1074.read(iprot); - struct.checkConstraints.add(_elem1074); + _elem1082 = new SQLCheckConstraint(); + _elem1082.read(iprot); + struct.checkConstraints.add(_elem1082); } iprot.readListEnd(); } @@ -57311,9 +57311,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); - for (SQLPrimaryKey _iter1076 : struct.primaryKeys) + for (SQLPrimaryKey _iter1084 : struct.primaryKeys) { - _iter1076.write(oprot); + _iter1084.write(oprot); } oprot.writeListEnd(); } @@ -57323,9 +57323,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); - for (SQLForeignKey _iter1077 : struct.foreignKeys) + for (SQLForeignKey _iter1085 : struct.foreignKeys) { - _iter1077.write(oprot); + _iter1085.write(oprot); } oprot.writeListEnd(); } @@ -57335,9 +57335,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(UNIQUE_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraints.size())); - for (SQLUniqueConstraint _iter1078 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1086 : struct.uniqueConstraints) { - _iter1078.write(oprot); + _iter1086.write(oprot); } oprot.writeListEnd(); } @@ -57347,9 +57347,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(NOT_NULL_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraints.size())); - for (SQLNotNullConstraint _iter1079 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1087 : struct.notNullConstraints) { - _iter1079.write(oprot); + _iter1087.write(oprot); } oprot.writeListEnd(); } @@ -57359,9 +57359,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(DEFAULT_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraints.size())); - for (SQLDefaultConstraint _iter1080 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1088 : struct.defaultConstraints) { - _iter1080.write(oprot); + _iter1088.write(oprot); } oprot.writeListEnd(); } @@ -57371,9 +57371,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(CHECK_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.checkConstraints.size())); - for (SQLCheckConstraint _iter1081 : struct.checkConstraints) + for (SQLCheckConstraint _iter1089 : struct.checkConstraints) { - _iter1081.write(oprot); + _iter1089.write(oprot); } oprot.writeListEnd(); } @@ -57425,54 +57425,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter1082 : struct.primaryKeys) + for (SQLPrimaryKey _iter1090 : struct.primaryKeys) { - _iter1082.write(oprot); + _iter1090.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter1083 : struct.foreignKeys) + for (SQLForeignKey _iter1091 : struct.foreignKeys) { - _iter1083.write(oprot); + _iter1091.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter1084 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1092 : struct.uniqueConstraints) { - _iter1084.write(oprot); + _iter1092.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter1085 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1093 : struct.notNullConstraints) { - _iter1085.write(oprot); + _iter1093.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter1086 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1094 : struct.defaultConstraints) { - _iter1086.write(oprot); + _iter1094.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter1087 : struct.checkConstraints) + for (SQLCheckConstraint _iter1095 : struct.checkConstraints) { - _iter1087.write(oprot); + _iter1095.write(oprot); } } } @@ -57489,84 +57489,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1088 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list1088.size); - SQLPrimaryKey _elem1089; - for (int _i1090 = 0; _i1090 < _list1088.size; ++_i1090) + org.apache.thrift.protocol.TList _list1096 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list1096.size); + SQLPrimaryKey _elem1097; + for (int _i1098 = 0; _i1098 < _list1096.size; ++_i1098) { - _elem1089 = new SQLPrimaryKey(); - _elem1089.read(iprot); - struct.primaryKeys.add(_elem1089); + _elem1097 = new SQLPrimaryKey(); + _elem1097.read(iprot); + struct.primaryKeys.add(_elem1097); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1091 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list1091.size); - SQLForeignKey _elem1092; - for (int _i1093 = 0; _i1093 < _list1091.size; ++_i1093) + org.apache.thrift.protocol.TList _list1099 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list1099.size); + SQLForeignKey _elem1100; + for (int _i1101 = 0; _i1101 < _list1099.size; ++_i1101) { - _elem1092 = new SQLForeignKey(); - _elem1092.read(iprot); - struct.foreignKeys.add(_elem1092); + _elem1100 = new SQLForeignKey(); + _elem1100.read(iprot); + struct.foreignKeys.add(_elem1100); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1094 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list1094.size); - SQLUniqueConstraint _elem1095; - for (int _i1096 = 0; _i1096 < _list1094.size; ++_i1096) + org.apache.thrift.protocol.TList _list1102 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list1102.size); + SQLUniqueConstraint _elem1103; + for (int _i1104 = 0; _i1104 < _list1102.size; ++_i1104) { - _elem1095 = new SQLUniqueConstraint(); - _elem1095.read(iprot); - struct.uniqueConstraints.add(_elem1095); + _elem1103 = new SQLUniqueConstraint(); + _elem1103.read(iprot); + struct.uniqueConstraints.add(_elem1103); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list1097.size); - SQLNotNullConstraint _elem1098; - for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) + org.apache.thrift.protocol.TList _list1105 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list1105.size); + SQLNotNullConstraint _elem1106; + for (int _i1107 = 0; _i1107 < _list1105.size; ++_i1107) { - _elem1098 = new SQLNotNullConstraint(); - _elem1098.read(iprot); - struct.notNullConstraints.add(_elem1098); + _elem1106 = new SQLNotNullConstraint(); + _elem1106.read(iprot); + struct.notNullConstraints.add(_elem1106); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1100 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list1100.size); - SQLDefaultConstraint _elem1101; - for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) + org.apache.thrift.protocol.TList _list1108 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list1108.size); + SQLDefaultConstraint _elem1109; + for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) { - _elem1101 = new SQLDefaultConstraint(); - _elem1101.read(iprot); - struct.defaultConstraints.add(_elem1101); + _elem1109 = new SQLDefaultConstraint(); + _elem1109.read(iprot); + struct.defaultConstraints.add(_elem1109); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1103 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list1103.size); - SQLCheckConstraint _elem1104; - for (int _i1105 = 0; _i1105 < _list1103.size; ++_i1105) + org.apache.thrift.protocol.TList _list1111 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.checkConstraints = new ArrayList(_list1111.size); + SQLCheckConstraint _elem1112; + for (int _i1113 = 0; _i1113 < _list1111.size; ++_i1113) { - _elem1104 = new SQLCheckConstraint(); - _elem1104.read(iprot); - struct.checkConstraints.add(_elem1104); + _elem1112 = new SQLCheckConstraint(); + _elem1112.read(iprot); + struct.checkConstraints.add(_elem1112); } } struct.setCheckConstraintsIsSet(true); @@ -66716,13 +66716,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, truncate_table_args case 3: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1106 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list1106.size); - String _elem1107; - for (int _i1108 = 0; _i1108 < _list1106.size; ++_i1108) + org.apache.thrift.protocol.TList _list1114 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list1114.size); + String _elem1115; + for (int _i1116 = 0; _i1116 < _list1114.size; ++_i1116) { - _elem1107 = iprot.readString(); - struct.partNames.add(_elem1107); + _elem1115 = iprot.readString(); + struct.partNames.add(_elem1115); } iprot.readListEnd(); } @@ -66758,9 +66758,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, truncate_table_arg oprot.writeFieldBegin(PART_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size())); - for (String _iter1109 : struct.partNames) + for (String _iter1117 : struct.partNames) { - oprot.writeString(_iter1109); + oprot.writeString(_iter1117); } oprot.writeListEnd(); } @@ -66803,9 +66803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter1110 : struct.partNames) + for (String _iter1118 : struct.partNames) { - oprot.writeString(_iter1110); + oprot.writeString(_iter1118); } } } @@ -66825,13 +66825,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1111 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list1111.size); - String _elem1112; - for (int _i1113 = 0; _i1113 < _list1111.size; ++_i1113) + org.apache.thrift.protocol.TList _list1119 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list1119.size); + String _elem1120; + for (int _i1121 = 0; _i1121 < _list1119.size; ++_i1121) { - _elem1112 = iprot.readString(); - struct.partNames.add(_elem1112); + _elem1120 = iprot.readString(); + struct.partNames.add(_elem1120); } } struct.setPartNamesIsSet(true); @@ -68888,13 +68888,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 _list1114 = iprot.readListBegin(); - struct.success = new ArrayList(_list1114.size); - String _elem1115; - for (int _i1116 = 0; _i1116 < _list1114.size; ++_i1116) + org.apache.thrift.protocol.TList _list1122 = iprot.readListBegin(); + struct.success = new ArrayList(_list1122.size); + String _elem1123; + for (int _i1124 = 0; _i1124 < _list1122.size; ++_i1124) { - _elem1115 = iprot.readString(); - struct.success.add(_elem1115); + _elem1123 = iprot.readString(); + struct.success.add(_elem1123); } iprot.readListEnd(); } @@ -68929,9 +68929,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 _iter1117 : struct.success) + for (String _iter1125 : struct.success) { - oprot.writeString(_iter1117); + oprot.writeString(_iter1125); } oprot.writeListEnd(); } @@ -68970,9 +68970,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1118 : struct.success) + for (String _iter1126 : struct.success) { - oprot.writeString(_iter1118); + oprot.writeString(_iter1126); } } } @@ -68987,13 +68987,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1119 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1119.size); - String _elem1120; - for (int _i1121 = 0; _i1121 < _list1119.size; ++_i1121) + org.apache.thrift.protocol.TList _list1127 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1127.size); + String _elem1128; + for (int _i1129 = 0; _i1129 < _list1127.size; ++_i1129) { - _elem1120 = iprot.readString(); - struct.success.add(_elem1120); + _elem1128 = iprot.readString(); + struct.success.add(_elem1128); } } struct.setSuccessIsSet(true); @@ -69967,13 +69967,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_by_type_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1122 = iprot.readListBegin(); - struct.success = new ArrayList(_list1122.size); - String _elem1123; - for (int _i1124 = 0; _i1124 < _list1122.size; ++_i1124) + org.apache.thrift.protocol.TList _list1130 = iprot.readListBegin(); + struct.success = new ArrayList(_list1130.size); + String _elem1131; + for (int _i1132 = 0; _i1132 < _list1130.size; ++_i1132) { - _elem1123 = iprot.readString(); - struct.success.add(_elem1123); + _elem1131 = iprot.readString(); + struct.success.add(_elem1131); } iprot.readListEnd(); } @@ -70008,9 +70008,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_by_type oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1125 : struct.success) + for (String _iter1133 : struct.success) { - oprot.writeString(_iter1125); + oprot.writeString(_iter1133); } oprot.writeListEnd(); } @@ -70049,9 +70049,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1126 : struct.success) + for (String _iter1134 : struct.success) { - oprot.writeString(_iter1126); + oprot.writeString(_iter1134); } } } @@ -70066,13 +70066,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_r BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1127 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1127.size); - String _elem1128; - for (int _i1129 = 0; _i1129 < _list1127.size; ++_i1129) + org.apache.thrift.protocol.TList _list1135 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1135.size); + String _elem1136; + for (int _i1137 = 0; _i1137 < _list1135.size; ++_i1137) { - _elem1128 = iprot.readString(); - struct.success.add(_elem1128); + _elem1136 = iprot.readString(); + struct.success.add(_elem1136); } } struct.setSuccessIsSet(true); @@ -70838,13 +70838,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_vi case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1130 = iprot.readListBegin(); - struct.success = new ArrayList(_list1130.size); - String _elem1131; - for (int _i1132 = 0; _i1132 < _list1130.size; ++_i1132) + org.apache.thrift.protocol.TList _list1138 = iprot.readListBegin(); + struct.success = new ArrayList(_list1138.size); + String _elem1139; + for (int _i1140 = 0; _i1140 < _list1138.size; ++_i1140) { - _elem1131 = iprot.readString(); - struct.success.add(_elem1131); + _elem1139 = iprot.readString(); + struct.success.add(_elem1139); } iprot.readListEnd(); } @@ -70879,9 +70879,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_v oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1133 : struct.success) + for (String _iter1141 : struct.success) { - oprot.writeString(_iter1133); + oprot.writeString(_iter1141); } oprot.writeListEnd(); } @@ -70920,9 +70920,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1134 : struct.success) + for (String _iter1142 : struct.success) { - oprot.writeString(_iter1134); + oprot.writeString(_iter1142); } } } @@ -70937,13 +70937,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_vie BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1135 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1135.size); - String _elem1136; - for (int _i1137 = 0; _i1137 < _list1135.size; ++_i1137) + org.apache.thrift.protocol.TList _list1143 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1143.size); + String _elem1144; + for (int _i1145 = 0; _i1145 < _list1143.size; ++_i1145) { - _elem1136 = iprot.readString(); - struct.success.add(_elem1136); + _elem1144 = iprot.readString(); + struct.success.add(_elem1144); } } struct.setSuccessIsSet(true); @@ -71448,13 +71448,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_args case 3: // TBL_TYPES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1138 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1138.size); - String _elem1139; - for (int _i1140 = 0; _i1140 < _list1138.size; ++_i1140) + org.apache.thrift.protocol.TList _list1146 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1146.size); + String _elem1147; + for (int _i1148 = 0; _i1148 < _list1146.size; ++_i1148) { - _elem1139 = iprot.readString(); - struct.tbl_types.add(_elem1139); + _elem1147 = iprot.readString(); + struct.tbl_types.add(_elem1147); } iprot.readListEnd(); } @@ -71490,9 +71490,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_arg oprot.writeFieldBegin(TBL_TYPES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_types.size())); - for (String _iter1141 : struct.tbl_types) + for (String _iter1149 : struct.tbl_types) { - oprot.writeString(_iter1141); + oprot.writeString(_iter1149); } oprot.writeListEnd(); } @@ -71535,9 +71535,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args if (struct.isSetTbl_types()) { { oprot.writeI32(struct.tbl_types.size()); - for (String _iter1142 : struct.tbl_types) + for (String _iter1150 : struct.tbl_types) { - oprot.writeString(_iter1142); + oprot.writeString(_iter1150); } } } @@ -71557,13 +71557,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1143 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1143.size); - String _elem1144; - for (int _i1145 = 0; _i1145 < _list1143.size; ++_i1145) + org.apache.thrift.protocol.TList _list1151 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1151.size); + String _elem1152; + for (int _i1153 = 0; _i1153 < _list1151.size; ++_i1153) { - _elem1144 = iprot.readString(); - struct.tbl_types.add(_elem1144); + _elem1152 = iprot.readString(); + struct.tbl_types.add(_elem1152); } } struct.setTbl_typesIsSet(true); @@ -71969,14 +71969,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1146 = iprot.readListBegin(); - struct.success = new ArrayList(_list1146.size); - TableMeta _elem1147; - for (int _i1148 = 0; _i1148 < _list1146.size; ++_i1148) + org.apache.thrift.protocol.TList _list1154 = iprot.readListBegin(); + struct.success = new ArrayList(_list1154.size); + TableMeta _elem1155; + for (int _i1156 = 0; _i1156 < _list1154.size; ++_i1156) { - _elem1147 = new TableMeta(); - _elem1147.read(iprot); - struct.success.add(_elem1147); + _elem1155 = new TableMeta(); + _elem1155.read(iprot); + struct.success.add(_elem1155); } iprot.readListEnd(); } @@ -72011,9 +72011,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (TableMeta _iter1149 : struct.success) + for (TableMeta _iter1157 : struct.success) { - _iter1149.write(oprot); + _iter1157.write(oprot); } oprot.writeListEnd(); } @@ -72052,9 +72052,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1150 : struct.success) + for (TableMeta _iter1158 : struct.success) { - _iter1150.write(oprot); + _iter1158.write(oprot); } } } @@ -72069,14 +72069,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1151 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1151.size); - TableMeta _elem1152; - for (int _i1153 = 0; _i1153 < _list1151.size; ++_i1153) + org.apache.thrift.protocol.TList _list1159 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1159.size); + TableMeta _elem1160; + for (int _i1161 = 0; _i1161 < _list1159.size; ++_i1161) { - _elem1152 = new TableMeta(); - _elem1152.read(iprot); - struct.success.add(_elem1152); + _elem1160 = new TableMeta(); + _elem1160.read(iprot); + struct.success.add(_elem1160); } } struct.setSuccessIsSet(true); @@ -72842,13 +72842,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 _list1154 = iprot.readListBegin(); - struct.success = new ArrayList(_list1154.size); - String _elem1155; - for (int _i1156 = 0; _i1156 < _list1154.size; ++_i1156) + org.apache.thrift.protocol.TList _list1162 = iprot.readListBegin(); + struct.success = new ArrayList(_list1162.size); + String _elem1163; + for (int _i1164 = 0; _i1164 < _list1162.size; ++_i1164) { - _elem1155 = iprot.readString(); - struct.success.add(_elem1155); + _elem1163 = iprot.readString(); + struct.success.add(_elem1163); } iprot.readListEnd(); } @@ -72883,9 +72883,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 _iter1157 : struct.success) + for (String _iter1165 : struct.success) { - oprot.writeString(_iter1157); + oprot.writeString(_iter1165); } oprot.writeListEnd(); } @@ -72924,9 +72924,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1158 : struct.success) + for (String _iter1166 : struct.success) { - oprot.writeString(_iter1158); + oprot.writeString(_iter1166); } } } @@ -72941,13 +72941,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 _list1159 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1159.size); - String _elem1160; - for (int _i1161 = 0; _i1161 < _list1159.size; ++_i1161) + org.apache.thrift.protocol.TList _list1167 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1167.size); + String _elem1168; + for (int _i1169 = 0; _i1169 < _list1167.size; ++_i1169) { - _elem1160 = iprot.readString(); - struct.success.add(_elem1160); + _elem1168 = iprot.readString(); + struct.success.add(_elem1168); } } struct.setSuccessIsSet(true); @@ -74400,13 +74400,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 _list1162 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1162.size); - String _elem1163; - for (int _i1164 = 0; _i1164 < _list1162.size; ++_i1164) + org.apache.thrift.protocol.TList _list1170 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1170.size); + String _elem1171; + for (int _i1172 = 0; _i1172 < _list1170.size; ++_i1172) { - _elem1163 = iprot.readString(); - struct.tbl_names.add(_elem1163); + _elem1171 = iprot.readString(); + struct.tbl_names.add(_elem1171); } iprot.readListEnd(); } @@ -74437,9 +74437,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 _iter1165 : struct.tbl_names) + for (String _iter1173 : struct.tbl_names) { - oprot.writeString(_iter1165); + oprot.writeString(_iter1173); } oprot.writeListEnd(); } @@ -74476,9 +74476,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 _iter1166 : struct.tbl_names) + for (String _iter1174 : struct.tbl_names) { - oprot.writeString(_iter1166); + oprot.writeString(_iter1174); } } } @@ -74494,13 +74494,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1167 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1167.size); - String _elem1168; - for (int _i1169 = 0; _i1169 < _list1167.size; ++_i1169) + org.apache.thrift.protocol.TList _list1175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1175.size); + String _elem1176; + for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) { - _elem1168 = iprot.readString(); - struct.tbl_names.add(_elem1168); + _elem1176 = iprot.readString(); + struct.tbl_names.add(_elem1176); } } struct.setTbl_namesIsSet(true); @@ -74825,14 +74825,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 _list1170 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1170.size); - Table _elem1171; - for (int _i1172 = 0; _i1172 < _list1170.size; ++_i1172) + org.apache.thrift.protocol.TList _list1178 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1178.size); + Table _elem1179; + for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) { - _elem1171 = new Table(); - _elem1171.read(iprot); - struct.success.add(_elem1171); + _elem1179 = new Table(); + _elem1179.read(iprot); + struct.success.add(_elem1179); } iprot.readListEnd(); } @@ -74858,9 +74858,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 _iter1173 : struct.success) + for (Table _iter1181 : struct.success) { - _iter1173.write(oprot); + _iter1181.write(oprot); } oprot.writeListEnd(); } @@ -74891,9 +74891,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1174 : struct.success) + for (Table _iter1182 : struct.success) { - _iter1174.write(oprot); + _iter1182.write(oprot); } } } @@ -74905,14 +74905,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1175.size); - Table _elem1176; - for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) + org.apache.thrift.protocol.TList _list1183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1183.size); + Table _elem1184; + for (int _i1185 = 0; _i1185 < _list1183.size; ++_i1185) { - _elem1176 = new Table(); - _elem1176.read(iprot); - struct.success.add(_elem1176); + _elem1184 = new Table(); + _elem1184.read(iprot); + struct.success.add(_elem1184); } } struct.setSuccessIsSet(true); @@ -80420,13 +80420,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 _list1178 = iprot.readListBegin(); - struct.success = new ArrayList(_list1178.size); - String _elem1179; - for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) + org.apache.thrift.protocol.TList _list1186 = iprot.readListBegin(); + struct.success = new ArrayList(_list1186.size); + String _elem1187; + for (int _i1188 = 0; _i1188 < _list1186.size; ++_i1188) { - _elem1179 = iprot.readString(); - struct.success.add(_elem1179); + _elem1187 = iprot.readString(); + struct.success.add(_elem1187); } iprot.readListEnd(); } @@ -80479,9 +80479,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 _iter1181 : struct.success) + for (String _iter1189 : struct.success) { - oprot.writeString(_iter1181); + oprot.writeString(_iter1189); } oprot.writeListEnd(); } @@ -80536,9 +80536,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1182 : struct.success) + for (String _iter1190 : struct.success) { - oprot.writeString(_iter1182); + oprot.writeString(_iter1190); } } } @@ -80559,13 +80559,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 _list1183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1183.size); - String _elem1184; - for (int _i1185 = 0; _i1185 < _list1183.size; ++_i1185) + org.apache.thrift.protocol.TList _list1191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1191.size); + String _elem1192; + for (int _i1193 = 0; _i1193 < _list1191.size; ++_i1193) { - _elem1184 = iprot.readString(); - struct.success.add(_elem1184); + _elem1192 = iprot.readString(); + struct.success.add(_elem1192); } } struct.setSuccessIsSet(true); @@ -87362,14 +87362,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 _list1186 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1186.size); - Partition _elem1187; - for (int _i1188 = 0; _i1188 < _list1186.size; ++_i1188) + org.apache.thrift.protocol.TList _list1194 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1194.size); + Partition _elem1195; + for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) { - _elem1187 = new Partition(); - _elem1187.read(iprot); - struct.new_parts.add(_elem1187); + _elem1195 = new Partition(); + _elem1195.read(iprot); + struct.new_parts.add(_elem1195); } iprot.readListEnd(); } @@ -87395,9 +87395,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 _iter1189 : struct.new_parts) + for (Partition _iter1197 : struct.new_parts) { - _iter1189.write(oprot); + _iter1197.write(oprot); } oprot.writeListEnd(); } @@ -87428,9 +87428,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 _iter1190 : struct.new_parts) + for (Partition _iter1198 : struct.new_parts) { - _iter1190.write(oprot); + _iter1198.write(oprot); } } } @@ -87442,14 +87442,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 _list1191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1191.size); - Partition _elem1192; - for (int _i1193 = 0; _i1193 < _list1191.size; ++_i1193) + org.apache.thrift.protocol.TList _list1199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1199.size); + Partition _elem1200; + for (int _i1201 = 0; _i1201 < _list1199.size; ++_i1201) { - _elem1192 = new Partition(); - _elem1192.read(iprot); - struct.new_parts.add(_elem1192); + _elem1200 = new Partition(); + _elem1200.read(iprot); + struct.new_parts.add(_elem1200); } } struct.setNew_partsIsSet(true); @@ -88450,14 +88450,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 _list1194 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1194.size); - PartitionSpec _elem1195; - for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) + org.apache.thrift.protocol.TList _list1202 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1202.size); + PartitionSpec _elem1203; + for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) { - _elem1195 = new PartitionSpec(); - _elem1195.read(iprot); - struct.new_parts.add(_elem1195); + _elem1203 = new PartitionSpec(); + _elem1203.read(iprot); + struct.new_parts.add(_elem1203); } iprot.readListEnd(); } @@ -88483,9 +88483,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 _iter1197 : struct.new_parts) + for (PartitionSpec _iter1205 : struct.new_parts) { - _iter1197.write(oprot); + _iter1205.write(oprot); } oprot.writeListEnd(); } @@ -88516,9 +88516,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 _iter1198 : struct.new_parts) + for (PartitionSpec _iter1206 : struct.new_parts) { - _iter1198.write(oprot); + _iter1206.write(oprot); } } } @@ -88530,14 +88530,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 _list1199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1199.size); - PartitionSpec _elem1200; - for (int _i1201 = 0; _i1201 < _list1199.size; ++_i1201) + org.apache.thrift.protocol.TList _list1207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1207.size); + PartitionSpec _elem1208; + for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) { - _elem1200 = new PartitionSpec(); - _elem1200.read(iprot); - struct.new_parts.add(_elem1200); + _elem1208 = new PartitionSpec(); + _elem1208.read(iprot); + struct.new_parts.add(_elem1208); } } struct.setNew_partsIsSet(true); @@ -89713,13 +89713,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 _list1202 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1202.size); - String _elem1203; - for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) + org.apache.thrift.protocol.TList _list1210 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1210.size); + String _elem1211; + for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) { - _elem1203 = iprot.readString(); - struct.part_vals.add(_elem1203); + _elem1211 = iprot.readString(); + struct.part_vals.add(_elem1211); } iprot.readListEnd(); } @@ -89755,9 +89755,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 _iter1205 : struct.part_vals) + for (String _iter1213 : struct.part_vals) { - oprot.writeString(_iter1205); + oprot.writeString(_iter1213); } oprot.writeListEnd(); } @@ -89800,9 +89800,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 _iter1206 : struct.part_vals) + for (String _iter1214 : struct.part_vals) { - oprot.writeString(_iter1206); + oprot.writeString(_iter1214); } } } @@ -89822,13 +89822,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1207.size); - String _elem1208; - for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) + org.apache.thrift.protocol.TList _list1215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1215.size); + String _elem1216; + for (int _i1217 = 0; _i1217 < _list1215.size; ++_i1217) { - _elem1208 = iprot.readString(); - struct.part_vals.add(_elem1208); + _elem1216 = iprot.readString(); + struct.part_vals.add(_elem1216); } } struct.setPart_valsIsSet(true); @@ -92137,13 +92137,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 _list1210 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1210.size); - String _elem1211; - for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) + org.apache.thrift.protocol.TList _list1218 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1218.size); + String _elem1219; + for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) { - _elem1211 = iprot.readString(); - struct.part_vals.add(_elem1211); + _elem1219 = iprot.readString(); + struct.part_vals.add(_elem1219); } iprot.readListEnd(); } @@ -92188,9 +92188,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 _iter1213 : struct.part_vals) + for (String _iter1221 : struct.part_vals) { - oprot.writeString(_iter1213); + oprot.writeString(_iter1221); } oprot.writeListEnd(); } @@ -92241,9 +92241,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 _iter1214 : struct.part_vals) + for (String _iter1222 : struct.part_vals) { - oprot.writeString(_iter1214); + oprot.writeString(_iter1222); } } } @@ -92266,13 +92266,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1215.size); - String _elem1216; - for (int _i1217 = 0; _i1217 < _list1215.size; ++_i1217) + org.apache.thrift.protocol.TList _list1223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1223.size); + String _elem1224; + for (int _i1225 = 0; _i1225 < _list1223.size; ++_i1225) { - _elem1216 = iprot.readString(); - struct.part_vals.add(_elem1216); + _elem1224 = iprot.readString(); + struct.part_vals.add(_elem1224); } } struct.setPart_valsIsSet(true); @@ -96142,13 +96142,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 _list1218 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1218.size); - String _elem1219; - for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) + org.apache.thrift.protocol.TList _list1226 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1226.size); + String _elem1227; + for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) { - _elem1219 = iprot.readString(); - struct.part_vals.add(_elem1219); + _elem1227 = iprot.readString(); + struct.part_vals.add(_elem1227); } iprot.readListEnd(); } @@ -96192,9 +96192,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 _iter1221 : struct.part_vals) + for (String _iter1229 : struct.part_vals) { - oprot.writeString(_iter1221); + oprot.writeString(_iter1229); } oprot.writeListEnd(); } @@ -96243,9 +96243,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 _iter1222 : struct.part_vals) + for (String _iter1230 : struct.part_vals) { - oprot.writeString(_iter1222); + oprot.writeString(_iter1230); } } } @@ -96268,13 +96268,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1223.size); - String _elem1224; - for (int _i1225 = 0; _i1225 < _list1223.size; ++_i1225) + org.apache.thrift.protocol.TList _list1231 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1231.size); + String _elem1232; + for (int _i1233 = 0; _i1233 < _list1231.size; ++_i1233) { - _elem1224 = iprot.readString(); - struct.part_vals.add(_elem1224); + _elem1232 = iprot.readString(); + struct.part_vals.add(_elem1232); } } struct.setPart_valsIsSet(true); @@ -97513,13 +97513,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 _list1226 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1226.size); - String _elem1227; - for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) + org.apache.thrift.protocol.TList _list1234 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1234.size); + String _elem1235; + for (int _i1236 = 0; _i1236 < _list1234.size; ++_i1236) { - _elem1227 = iprot.readString(); - struct.part_vals.add(_elem1227); + _elem1235 = iprot.readString(); + struct.part_vals.add(_elem1235); } iprot.readListEnd(); } @@ -97572,9 +97572,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 _iter1229 : struct.part_vals) + for (String _iter1237 : struct.part_vals) { - oprot.writeString(_iter1229); + oprot.writeString(_iter1237); } oprot.writeListEnd(); } @@ -97631,9 +97631,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 _iter1230 : struct.part_vals) + for (String _iter1238 : struct.part_vals) { - oprot.writeString(_iter1230); + oprot.writeString(_iter1238); } } } @@ -97659,13 +97659,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1231 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1231.size); - String _elem1232; - for (int _i1233 = 0; _i1233 < _list1231.size; ++_i1233) + org.apache.thrift.protocol.TList _list1239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1239.size); + String _elem1240; + for (int _i1241 = 0; _i1241 < _list1239.size; ++_i1241) { - _elem1232 = iprot.readString(); - struct.part_vals.add(_elem1232); + _elem1240 = iprot.readString(); + struct.part_vals.add(_elem1240); } } struct.setPart_valsIsSet(true); @@ -102267,13 +102267,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 _list1234 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1234.size); - String _elem1235; - for (int _i1236 = 0; _i1236 < _list1234.size; ++_i1236) + org.apache.thrift.protocol.TList _list1242 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1242.size); + String _elem1243; + for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) { - _elem1235 = iprot.readString(); - struct.part_vals.add(_elem1235); + _elem1243 = iprot.readString(); + struct.part_vals.add(_elem1243); } iprot.readListEnd(); } @@ -102309,9 +102309,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 _iter1237 : struct.part_vals) + for (String _iter1245 : struct.part_vals) { - oprot.writeString(_iter1237); + oprot.writeString(_iter1245); } oprot.writeListEnd(); } @@ -102354,9 +102354,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 _iter1238 : struct.part_vals) + for (String _iter1246 : struct.part_vals) { - oprot.writeString(_iter1238); + oprot.writeString(_iter1246); } } } @@ -102376,13 +102376,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1239.size); - String _elem1240; - for (int _i1241 = 0; _i1241 < _list1239.size; ++_i1241) + org.apache.thrift.protocol.TList _list1247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1247.size); + String _elem1248; + for (int _i1249 = 0; _i1249 < _list1247.size; ++_i1249) { - _elem1240 = iprot.readString(); - struct.part_vals.add(_elem1240); + _elem1248 = iprot.readString(); + struct.part_vals.add(_elem1248); } } struct.setPart_valsIsSet(true); @@ -103600,15 +103600,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 _map1242 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1242.size); - String _key1243; - String _val1244; - for (int _i1245 = 0; _i1245 < _map1242.size; ++_i1245) + org.apache.thrift.protocol.TMap _map1250 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1250.size); + String _key1251; + String _val1252; + for (int _i1253 = 0; _i1253 < _map1250.size; ++_i1253) { - _key1243 = iprot.readString(); - _val1244 = iprot.readString(); - struct.partitionSpecs.put(_key1243, _val1244); + _key1251 = iprot.readString(); + _val1252 = iprot.readString(); + struct.partitionSpecs.put(_key1251, _val1252); } iprot.readMapEnd(); } @@ -103666,10 +103666,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 _iter1246 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1254 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1246.getKey()); - oprot.writeString(_iter1246.getValue()); + oprot.writeString(_iter1254.getKey()); + oprot.writeString(_iter1254.getValue()); } oprot.writeMapEnd(); } @@ -103732,10 +103732,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1247 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1255 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1247.getKey()); - oprot.writeString(_iter1247.getValue()); + oprot.writeString(_iter1255.getKey()); + oprot.writeString(_iter1255.getValue()); } } } @@ -103759,15 +103759,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 _map1248 = 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*_map1248.size); - String _key1249; - String _val1250; - for (int _i1251 = 0; _i1251 < _map1248.size; ++_i1251) + org.apache.thrift.protocol.TMap _map1256 = 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*_map1256.size); + String _key1257; + String _val1258; + for (int _i1259 = 0; _i1259 < _map1256.size; ++_i1259) { - _key1249 = iprot.readString(); - _val1250 = iprot.readString(); - struct.partitionSpecs.put(_key1249, _val1250); + _key1257 = iprot.readString(); + _val1258 = iprot.readString(); + struct.partitionSpecs.put(_key1257, _val1258); } } struct.setPartitionSpecsIsSet(true); @@ -105213,15 +105213,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1252 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1252.size); - String _key1253; - String _val1254; - for (int _i1255 = 0; _i1255 < _map1252.size; ++_i1255) + org.apache.thrift.protocol.TMap _map1260 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1260.size); + String _key1261; + String _val1262; + for (int _i1263 = 0; _i1263 < _map1260.size; ++_i1263) { - _key1253 = iprot.readString(); - _val1254 = iprot.readString(); - struct.partitionSpecs.put(_key1253, _val1254); + _key1261 = iprot.readString(); + _val1262 = iprot.readString(); + struct.partitionSpecs.put(_key1261, _val1262); } iprot.readMapEnd(); } @@ -105279,10 +105279,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 _iter1256 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1264 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1256.getKey()); - oprot.writeString(_iter1256.getValue()); + oprot.writeString(_iter1264.getKey()); + oprot.writeString(_iter1264.getValue()); } oprot.writeMapEnd(); } @@ -105345,10 +105345,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1257 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1265 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1257.getKey()); - oprot.writeString(_iter1257.getValue()); + oprot.writeString(_iter1265.getKey()); + oprot.writeString(_iter1265.getValue()); } } } @@ -105372,15 +105372,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1258 = 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*_map1258.size); - String _key1259; - String _val1260; - for (int _i1261 = 0; _i1261 < _map1258.size; ++_i1261) + org.apache.thrift.protocol.TMap _map1266 = 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*_map1266.size); + String _key1267; + String _val1268; + for (int _i1269 = 0; _i1269 < _map1266.size; ++_i1269) { - _key1259 = iprot.readString(); - _val1260 = iprot.readString(); - struct.partitionSpecs.put(_key1259, _val1260); + _key1267 = iprot.readString(); + _val1268 = iprot.readString(); + struct.partitionSpecs.put(_key1267, _val1268); } } struct.setPartitionSpecsIsSet(true); @@ -106045,14 +106045,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1262 = iprot.readListBegin(); - struct.success = new ArrayList(_list1262.size); - Partition _elem1263; - for (int _i1264 = 0; _i1264 < _list1262.size; ++_i1264) + org.apache.thrift.protocol.TList _list1270 = iprot.readListBegin(); + struct.success = new ArrayList(_list1270.size); + Partition _elem1271; + for (int _i1272 = 0; _i1272 < _list1270.size; ++_i1272) { - _elem1263 = new Partition(); - _elem1263.read(iprot); - struct.success.add(_elem1263); + _elem1271 = new Partition(); + _elem1271.read(iprot); + struct.success.add(_elem1271); } iprot.readListEnd(); } @@ -106114,9 +106114,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1265 : struct.success) + for (Partition _iter1273 : struct.success) { - _iter1265.write(oprot); + _iter1273.write(oprot); } oprot.writeListEnd(); } @@ -106179,9 +106179,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1266 : struct.success) + for (Partition _iter1274 : struct.success) { - _iter1266.write(oprot); + _iter1274.write(oprot); } } } @@ -106205,14 +106205,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1267 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1267.size); - Partition _elem1268; - for (int _i1269 = 0; _i1269 < _list1267.size; ++_i1269) + org.apache.thrift.protocol.TList _list1275 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1275.size); + Partition _elem1276; + for (int _i1277 = 0; _i1277 < _list1275.size; ++_i1277) { - _elem1268 = new Partition(); - _elem1268.read(iprot); - struct.success.add(_elem1268); + _elem1276 = new Partition(); + _elem1276.read(iprot); + struct.success.add(_elem1276); } } struct.setSuccessIsSet(true); @@ -106911,13 +106911,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 _list1270 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1270.size); - String _elem1271; - for (int _i1272 = 0; _i1272 < _list1270.size; ++_i1272) + org.apache.thrift.protocol.TList _list1278 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1278.size); + String _elem1279; + for (int _i1280 = 0; _i1280 < _list1278.size; ++_i1280) { - _elem1271 = iprot.readString(); - struct.part_vals.add(_elem1271); + _elem1279 = iprot.readString(); + struct.part_vals.add(_elem1279); } iprot.readListEnd(); } @@ -106937,13 +106937,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 _list1273 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1273.size); - String _elem1274; - for (int _i1275 = 0; _i1275 < _list1273.size; ++_i1275) + org.apache.thrift.protocol.TList _list1281 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1281.size); + String _elem1282; + for (int _i1283 = 0; _i1283 < _list1281.size; ++_i1283) { - _elem1274 = iprot.readString(); - struct.group_names.add(_elem1274); + _elem1282 = iprot.readString(); + struct.group_names.add(_elem1282); } iprot.readListEnd(); } @@ -106979,9 +106979,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 _iter1276 : struct.part_vals) + for (String _iter1284 : struct.part_vals) { - oprot.writeString(_iter1276); + oprot.writeString(_iter1284); } oprot.writeListEnd(); } @@ -106996,9 +106996,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 _iter1277 : struct.group_names) + for (String _iter1285 : struct.group_names) { - oprot.writeString(_iter1277); + oprot.writeString(_iter1285); } oprot.writeListEnd(); } @@ -107047,9 +107047,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 _iter1278 : struct.part_vals) + for (String _iter1286 : struct.part_vals) { - oprot.writeString(_iter1278); + oprot.writeString(_iter1286); } } } @@ -107059,9 +107059,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 _iter1279 : struct.group_names) + for (String _iter1287 : struct.group_names) { - oprot.writeString(_iter1279); + oprot.writeString(_iter1287); } } } @@ -107081,13 +107081,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1280 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1280.size); - String _elem1281; - for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) + org.apache.thrift.protocol.TList _list1288 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1288.size); + String _elem1289; + for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) { - _elem1281 = iprot.readString(); - struct.part_vals.add(_elem1281); + _elem1289 = iprot.readString(); + struct.part_vals.add(_elem1289); } } struct.setPart_valsIsSet(true); @@ -107098,13 +107098,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1283 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1283.size); - String _elem1284; - for (int _i1285 = 0; _i1285 < _list1283.size; ++_i1285) + org.apache.thrift.protocol.TList _list1291 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1291.size); + String _elem1292; + for (int _i1293 = 0; _i1293 < _list1291.size; ++_i1293) { - _elem1284 = iprot.readString(); - struct.group_names.add(_elem1284); + _elem1292 = iprot.readString(); + struct.group_names.add(_elem1292); } } struct.setGroup_namesIsSet(true); @@ -109873,14 +109873,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 _list1286 = iprot.readListBegin(); - struct.success = new ArrayList(_list1286.size); - Partition _elem1287; - for (int _i1288 = 0; _i1288 < _list1286.size; ++_i1288) + org.apache.thrift.protocol.TList _list1294 = iprot.readListBegin(); + struct.success = new ArrayList(_list1294.size); + Partition _elem1295; + for (int _i1296 = 0; _i1296 < _list1294.size; ++_i1296) { - _elem1287 = new Partition(); - _elem1287.read(iprot); - struct.success.add(_elem1287); + _elem1295 = new Partition(); + _elem1295.read(iprot); + struct.success.add(_elem1295); } iprot.readListEnd(); } @@ -109924,9 +109924,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 _iter1289 : struct.success) + for (Partition _iter1297 : struct.success) { - _iter1289.write(oprot); + _iter1297.write(oprot); } oprot.writeListEnd(); } @@ -109973,9 +109973,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1290 : struct.success) + for (Partition _iter1298 : struct.success) { - _iter1290.write(oprot); + _iter1298.write(oprot); } } } @@ -109993,14 +109993,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 _list1291 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1291.size); - Partition _elem1292; - for (int _i1293 = 0; _i1293 < _list1291.size; ++_i1293) + org.apache.thrift.protocol.TList _list1299 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1299.size); + Partition _elem1300; + for (int _i1301 = 0; _i1301 < _list1299.size; ++_i1301) { - _elem1292 = new Partition(); - _elem1292.read(iprot); - struct.success.add(_elem1292); + _elem1300 = new Partition(); + _elem1300.read(iprot); + struct.success.add(_elem1300); } } struct.setSuccessIsSet(true); @@ -110690,13 +110690,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 _list1294 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1294.size); - String _elem1295; - for (int _i1296 = 0; _i1296 < _list1294.size; ++_i1296) + org.apache.thrift.protocol.TList _list1302 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1302.size); + String _elem1303; + for (int _i1304 = 0; _i1304 < _list1302.size; ++_i1304) { - _elem1295 = iprot.readString(); - struct.group_names.add(_elem1295); + _elem1303 = iprot.readString(); + struct.group_names.add(_elem1303); } iprot.readListEnd(); } @@ -110740,9 +110740,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 _iter1297 : struct.group_names) + for (String _iter1305 : struct.group_names) { - oprot.writeString(_iter1297); + oprot.writeString(_iter1305); } oprot.writeListEnd(); } @@ -110797,9 +110797,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 _iter1298 : struct.group_names) + for (String _iter1306 : struct.group_names) { - oprot.writeString(_iter1298); + oprot.writeString(_iter1306); } } } @@ -110827,13 +110827,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1299 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1299.size); - String _elem1300; - for (int _i1301 = 0; _i1301 < _list1299.size; ++_i1301) + org.apache.thrift.protocol.TList _list1307 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1307.size); + String _elem1308; + for (int _i1309 = 0; _i1309 < _list1307.size; ++_i1309) { - _elem1300 = iprot.readString(); - struct.group_names.add(_elem1300); + _elem1308 = iprot.readString(); + struct.group_names.add(_elem1308); } } struct.setGroup_namesIsSet(true); @@ -111320,14 +111320,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 _list1302 = iprot.readListBegin(); - struct.success = new ArrayList(_list1302.size); - Partition _elem1303; - for (int _i1304 = 0; _i1304 < _list1302.size; ++_i1304) + org.apache.thrift.protocol.TList _list1310 = iprot.readListBegin(); + struct.success = new ArrayList(_list1310.size); + Partition _elem1311; + for (int _i1312 = 0; _i1312 < _list1310.size; ++_i1312) { - _elem1303 = new Partition(); - _elem1303.read(iprot); - struct.success.add(_elem1303); + _elem1311 = new Partition(); + _elem1311.read(iprot); + struct.success.add(_elem1311); } iprot.readListEnd(); } @@ -111371,9 +111371,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 _iter1305 : struct.success) + for (Partition _iter1313 : struct.success) { - _iter1305.write(oprot); + _iter1313.write(oprot); } oprot.writeListEnd(); } @@ -111420,9 +111420,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1306 : struct.success) + for (Partition _iter1314 : struct.success) { - _iter1306.write(oprot); + _iter1314.write(oprot); } } } @@ -111440,14 +111440,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 _list1307 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1307.size); - Partition _elem1308; - for (int _i1309 = 0; _i1309 < _list1307.size; ++_i1309) + org.apache.thrift.protocol.TList _list1315 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1315.size); + Partition _elem1316; + for (int _i1317 = 0; _i1317 < _list1315.size; ++_i1317) { - _elem1308 = new Partition(); - _elem1308.read(iprot); - struct.success.add(_elem1308); + _elem1316 = new Partition(); + _elem1316.read(iprot); + struct.success.add(_elem1316); } } struct.setSuccessIsSet(true); @@ -112510,14 +112510,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 _list1310 = iprot.readListBegin(); - struct.success = new ArrayList(_list1310.size); - PartitionSpec _elem1311; - for (int _i1312 = 0; _i1312 < _list1310.size; ++_i1312) + org.apache.thrift.protocol.TList _list1318 = iprot.readListBegin(); + struct.success = new ArrayList(_list1318.size); + PartitionSpec _elem1319; + for (int _i1320 = 0; _i1320 < _list1318.size; ++_i1320) { - _elem1311 = new PartitionSpec(); - _elem1311.read(iprot); - struct.success.add(_elem1311); + _elem1319 = new PartitionSpec(); + _elem1319.read(iprot); + struct.success.add(_elem1319); } iprot.readListEnd(); } @@ -112561,9 +112561,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 _iter1313 : struct.success) + for (PartitionSpec _iter1321 : struct.success) { - _iter1313.write(oprot); + _iter1321.write(oprot); } oprot.writeListEnd(); } @@ -112610,9 +112610,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1314 : struct.success) + for (PartitionSpec _iter1322 : struct.success) { - _iter1314.write(oprot); + _iter1322.write(oprot); } } } @@ -112630,14 +112630,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 _list1315 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1315.size); - PartitionSpec _elem1316; - for (int _i1317 = 0; _i1317 < _list1315.size; ++_i1317) + org.apache.thrift.protocol.TList _list1323 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1323.size); + PartitionSpec _elem1324; + for (int _i1325 = 0; _i1325 < _list1323.size; ++_i1325) { - _elem1316 = new PartitionSpec(); - _elem1316.read(iprot); - struct.success.add(_elem1316); + _elem1324 = new PartitionSpec(); + _elem1324.read(iprot); + struct.success.add(_elem1324); } } struct.setSuccessIsSet(true); @@ -113697,13 +113697,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 _list1318 = iprot.readListBegin(); - struct.success = new ArrayList(_list1318.size); - String _elem1319; - for (int _i1320 = 0; _i1320 < _list1318.size; ++_i1320) + org.apache.thrift.protocol.TList _list1326 = iprot.readListBegin(); + struct.success = new ArrayList(_list1326.size); + String _elem1327; + for (int _i1328 = 0; _i1328 < _list1326.size; ++_i1328) { - _elem1319 = iprot.readString(); - struct.success.add(_elem1319); + _elem1327 = iprot.readString(); + struct.success.add(_elem1327); } iprot.readListEnd(); } @@ -113747,9 +113747,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 _iter1321 : struct.success) + for (String _iter1329 : struct.success) { - oprot.writeString(_iter1321); + oprot.writeString(_iter1329); } oprot.writeListEnd(); } @@ -113796,9 +113796,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1322 : struct.success) + for (String _iter1330 : struct.success) { - oprot.writeString(_iter1322); + oprot.writeString(_iter1330); } } } @@ -113816,13 +113816,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 _list1323 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1323.size); - String _elem1324; - for (int _i1325 = 0; _i1325 < _list1323.size; ++_i1325) + org.apache.thrift.protocol.TList _list1331 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1331.size); + String _elem1332; + for (int _i1333 = 0; _i1333 < _list1331.size; ++_i1333) { - _elem1324 = iprot.readString(); - struct.success.add(_elem1324); + _elem1332 = iprot.readString(); + struct.success.add(_elem1332); } } struct.setSuccessIsSet(true); @@ -115353,13 +115353,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 _list1326 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1326.size); - String _elem1327; - for (int _i1328 = 0; _i1328 < _list1326.size; ++_i1328) + org.apache.thrift.protocol.TList _list1334 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1334.size); + String _elem1335; + for (int _i1336 = 0; _i1336 < _list1334.size; ++_i1336) { - _elem1327 = iprot.readString(); - struct.part_vals.add(_elem1327); + _elem1335 = iprot.readString(); + struct.part_vals.add(_elem1335); } iprot.readListEnd(); } @@ -115403,9 +115403,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 _iter1329 : struct.part_vals) + for (String _iter1337 : struct.part_vals) { - oprot.writeString(_iter1329); + oprot.writeString(_iter1337); } oprot.writeListEnd(); } @@ -115454,9 +115454,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 _iter1330 : struct.part_vals) + for (String _iter1338 : struct.part_vals) { - oprot.writeString(_iter1330); + oprot.writeString(_iter1338); } } } @@ -115479,13 +115479,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1331 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1331.size); - String _elem1332; - for (int _i1333 = 0; _i1333 < _list1331.size; ++_i1333) + org.apache.thrift.protocol.TList _list1339 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1339.size); + String _elem1340; + for (int _i1341 = 0; _i1341 < _list1339.size; ++_i1341) { - _elem1332 = iprot.readString(); - struct.part_vals.add(_elem1332); + _elem1340 = iprot.readString(); + struct.part_vals.add(_elem1340); } } struct.setPart_valsIsSet(true); @@ -115976,14 +115976,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 _list1334 = iprot.readListBegin(); - struct.success = new ArrayList(_list1334.size); - Partition _elem1335; - for (int _i1336 = 0; _i1336 < _list1334.size; ++_i1336) + org.apache.thrift.protocol.TList _list1342 = iprot.readListBegin(); + struct.success = new ArrayList(_list1342.size); + Partition _elem1343; + for (int _i1344 = 0; _i1344 < _list1342.size; ++_i1344) { - _elem1335 = new Partition(); - _elem1335.read(iprot); - struct.success.add(_elem1335); + _elem1343 = new Partition(); + _elem1343.read(iprot); + struct.success.add(_elem1343); } iprot.readListEnd(); } @@ -116027,9 +116027,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 _iter1337 : struct.success) + for (Partition _iter1345 : struct.success) { - _iter1337.write(oprot); + _iter1345.write(oprot); } oprot.writeListEnd(); } @@ -116076,9 +116076,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1338 : struct.success) + for (Partition _iter1346 : struct.success) { - _iter1338.write(oprot); + _iter1346.write(oprot); } } } @@ -116096,14 +116096,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 _list1339 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1339.size); - Partition _elem1340; - for (int _i1341 = 0; _i1341 < _list1339.size; ++_i1341) + org.apache.thrift.protocol.TList _list1347 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1347.size); + Partition _elem1348; + for (int _i1349 = 0; _i1349 < _list1347.size; ++_i1349) { - _elem1340 = new Partition(); - _elem1340.read(iprot); - struct.success.add(_elem1340); + _elem1348 = new Partition(); + _elem1348.read(iprot); + struct.success.add(_elem1348); } } struct.setSuccessIsSet(true); @@ -116875,13 +116875,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 _list1342 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1342.size); - String _elem1343; - for (int _i1344 = 0; _i1344 < _list1342.size; ++_i1344) + org.apache.thrift.protocol.TList _list1350 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1350.size); + String _elem1351; + for (int _i1352 = 0; _i1352 < _list1350.size; ++_i1352) { - _elem1343 = iprot.readString(); - struct.part_vals.add(_elem1343); + _elem1351 = iprot.readString(); + struct.part_vals.add(_elem1351); } iprot.readListEnd(); } @@ -116909,13 +116909,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 _list1345 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1345.size); - String _elem1346; - for (int _i1347 = 0; _i1347 < _list1345.size; ++_i1347) + org.apache.thrift.protocol.TList _list1353 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1353.size); + String _elem1354; + for (int _i1355 = 0; _i1355 < _list1353.size; ++_i1355) { - _elem1346 = iprot.readString(); - struct.group_names.add(_elem1346); + _elem1354 = iprot.readString(); + struct.group_names.add(_elem1354); } iprot.readListEnd(); } @@ -116951,9 +116951,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 _iter1348 : struct.part_vals) + for (String _iter1356 : struct.part_vals) { - oprot.writeString(_iter1348); + oprot.writeString(_iter1356); } oprot.writeListEnd(); } @@ -116971,9 +116971,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 _iter1349 : struct.group_names) + for (String _iter1357 : struct.group_names) { - oprot.writeString(_iter1349); + oprot.writeString(_iter1357); } oprot.writeListEnd(); } @@ -117025,9 +117025,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 _iter1350 : struct.part_vals) + for (String _iter1358 : struct.part_vals) { - oprot.writeString(_iter1350); + oprot.writeString(_iter1358); } } } @@ -117040,9 +117040,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 _iter1351 : struct.group_names) + for (String _iter1359 : struct.group_names) { - oprot.writeString(_iter1351); + oprot.writeString(_iter1359); } } } @@ -117062,13 +117062,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1352 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1352.size); - String _elem1353; - for (int _i1354 = 0; _i1354 < _list1352.size; ++_i1354) + org.apache.thrift.protocol.TList _list1360 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1360.size); + String _elem1361; + for (int _i1362 = 0; _i1362 < _list1360.size; ++_i1362) { - _elem1353 = iprot.readString(); - struct.part_vals.add(_elem1353); + _elem1361 = iprot.readString(); + struct.part_vals.add(_elem1361); } } struct.setPart_valsIsSet(true); @@ -117083,13 +117083,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1355 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1355.size); - String _elem1356; - for (int _i1357 = 0; _i1357 < _list1355.size; ++_i1357) + org.apache.thrift.protocol.TList _list1363 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1363.size); + String _elem1364; + for (int _i1365 = 0; _i1365 < _list1363.size; ++_i1365) { - _elem1356 = iprot.readString(); - struct.group_names.add(_elem1356); + _elem1364 = iprot.readString(); + struct.group_names.add(_elem1364); } } struct.setGroup_namesIsSet(true); @@ -117576,14 +117576,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 _list1358 = iprot.readListBegin(); - struct.success = new ArrayList(_list1358.size); - Partition _elem1359; - for (int _i1360 = 0; _i1360 < _list1358.size; ++_i1360) + org.apache.thrift.protocol.TList _list1366 = iprot.readListBegin(); + struct.success = new ArrayList(_list1366.size); + Partition _elem1367; + for (int _i1368 = 0; _i1368 < _list1366.size; ++_i1368) { - _elem1359 = new Partition(); - _elem1359.read(iprot); - struct.success.add(_elem1359); + _elem1367 = new Partition(); + _elem1367.read(iprot); + struct.success.add(_elem1367); } iprot.readListEnd(); } @@ -117627,9 +117627,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 _iter1361 : struct.success) + for (Partition _iter1369 : struct.success) { - _iter1361.write(oprot); + _iter1369.write(oprot); } oprot.writeListEnd(); } @@ -117676,9 +117676,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1362 : struct.success) + for (Partition _iter1370 : struct.success) { - _iter1362.write(oprot); + _iter1370.write(oprot); } } } @@ -117696,14 +117696,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 _list1363 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1363.size); - Partition _elem1364; - for (int _i1365 = 0; _i1365 < _list1363.size; ++_i1365) + org.apache.thrift.protocol.TList _list1371 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1371.size); + Partition _elem1372; + for (int _i1373 = 0; _i1373 < _list1371.size; ++_i1373) { - _elem1364 = new Partition(); - _elem1364.read(iprot); - struct.success.add(_elem1364); + _elem1372 = new Partition(); + _elem1372.read(iprot); + struct.success.add(_elem1372); } } struct.setSuccessIsSet(true); @@ -118296,13 +118296,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 _list1366 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1366.size); - String _elem1367; - for (int _i1368 = 0; _i1368 < _list1366.size; ++_i1368) + org.apache.thrift.protocol.TList _list1374 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1374.size); + String _elem1375; + for (int _i1376 = 0; _i1376 < _list1374.size; ++_i1376) { - _elem1367 = iprot.readString(); - struct.part_vals.add(_elem1367); + _elem1375 = iprot.readString(); + struct.part_vals.add(_elem1375); } iprot.readListEnd(); } @@ -118346,9 +118346,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 _iter1369 : struct.part_vals) + for (String _iter1377 : struct.part_vals) { - oprot.writeString(_iter1369); + oprot.writeString(_iter1377); } oprot.writeListEnd(); } @@ -118397,9 +118397,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 _iter1370 : struct.part_vals) + for (String _iter1378 : struct.part_vals) { - oprot.writeString(_iter1370); + oprot.writeString(_iter1378); } } } @@ -118422,13 +118422,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1371 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1371.size); - String _elem1372; - for (int _i1373 = 0; _i1373 < _list1371.size; ++_i1373) + org.apache.thrift.protocol.TList _list1379 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1379.size); + String _elem1380; + for (int _i1381 = 0; _i1381 < _list1379.size; ++_i1381) { - _elem1372 = iprot.readString(); - struct.part_vals.add(_elem1372); + _elem1380 = iprot.readString(); + struct.part_vals.add(_elem1380); } } struct.setPart_valsIsSet(true); @@ -118916,13 +118916,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 _list1374 = iprot.readListBegin(); - struct.success = new ArrayList(_list1374.size); - String _elem1375; - for (int _i1376 = 0; _i1376 < _list1374.size; ++_i1376) + org.apache.thrift.protocol.TList _list1382 = iprot.readListBegin(); + struct.success = new ArrayList(_list1382.size); + String _elem1383; + for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) { - _elem1375 = iprot.readString(); - struct.success.add(_elem1375); + _elem1383 = iprot.readString(); + struct.success.add(_elem1383); } iprot.readListEnd(); } @@ -118966,9 +118966,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 _iter1377 : struct.success) + for (String _iter1385 : struct.success) { - oprot.writeString(_iter1377); + oprot.writeString(_iter1385); } oprot.writeListEnd(); } @@ -119015,9 +119015,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1378 : struct.success) + for (String _iter1386 : struct.success) { - oprot.writeString(_iter1378); + oprot.writeString(_iter1386); } } } @@ -119035,13 +119035,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 _list1379 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1379.size); - String _elem1380; - for (int _i1381 = 0; _i1381 < _list1379.size; ++_i1381) + org.apache.thrift.protocol.TList _list1387 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1387.size); + String _elem1388; + for (int _i1389 = 0; _i1389 < _list1387.size; ++_i1389) { - _elem1380 = iprot.readString(); - struct.success.add(_elem1380); + _elem1388 = iprot.readString(); + struct.success.add(_elem1388); } } struct.setSuccessIsSet(true); @@ -120208,14 +120208,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 _list1382 = iprot.readListBegin(); - struct.success = new ArrayList(_list1382.size); - Partition _elem1383; - for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) + org.apache.thrift.protocol.TList _list1390 = iprot.readListBegin(); + struct.success = new ArrayList(_list1390.size); + Partition _elem1391; + for (int _i1392 = 0; _i1392 < _list1390.size; ++_i1392) { - _elem1383 = new Partition(); - _elem1383.read(iprot); - struct.success.add(_elem1383); + _elem1391 = new Partition(); + _elem1391.read(iprot); + struct.success.add(_elem1391); } iprot.readListEnd(); } @@ -120259,9 +120259,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 _iter1385 : struct.success) + for (Partition _iter1393 : struct.success) { - _iter1385.write(oprot); + _iter1393.write(oprot); } oprot.writeListEnd(); } @@ -120308,9 +120308,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1386 : struct.success) + for (Partition _iter1394 : struct.success) { - _iter1386.write(oprot); + _iter1394.write(oprot); } } } @@ -120328,14 +120328,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 _list1387 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1387.size); - Partition _elem1388; - for (int _i1389 = 0; _i1389 < _list1387.size; ++_i1389) + org.apache.thrift.protocol.TList _list1395 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1395.size); + Partition _elem1396; + for (int _i1397 = 0; _i1397 < _list1395.size; ++_i1397) { - _elem1388 = new Partition(); - _elem1388.read(iprot); - struct.success.add(_elem1388); + _elem1396 = new Partition(); + _elem1396.read(iprot); + struct.success.add(_elem1396); } } struct.setSuccessIsSet(true); @@ -121502,14 +121502,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 _list1390 = iprot.readListBegin(); - struct.success = new ArrayList(_list1390.size); - PartitionSpec _elem1391; - for (int _i1392 = 0; _i1392 < _list1390.size; ++_i1392) + org.apache.thrift.protocol.TList _list1398 = iprot.readListBegin(); + struct.success = new ArrayList(_list1398.size); + PartitionSpec _elem1399; + for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) { - _elem1391 = new PartitionSpec(); - _elem1391.read(iprot); - struct.success.add(_elem1391); + _elem1399 = new PartitionSpec(); + _elem1399.read(iprot); + struct.success.add(_elem1399); } iprot.readListEnd(); } @@ -121553,9 +121553,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 _iter1393 : struct.success) + for (PartitionSpec _iter1401 : struct.success) { - _iter1393.write(oprot); + _iter1401.write(oprot); } oprot.writeListEnd(); } @@ -121602,9 +121602,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 _iter1394 : struct.success) + for (PartitionSpec _iter1402 : struct.success) { - _iter1394.write(oprot); + _iter1402.write(oprot); } } } @@ -121622,14 +121622,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 _list1395 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1395.size); - PartitionSpec _elem1396; - for (int _i1397 = 0; _i1397 < _list1395.size; ++_i1397) + org.apache.thrift.protocol.TList _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1403.size); + PartitionSpec _elem1404; + for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) { - _elem1396 = new PartitionSpec(); - _elem1396.read(iprot); - struct.success.add(_elem1396); + _elem1404 = new PartitionSpec(); + _elem1404.read(iprot); + struct.success.add(_elem1404); } } struct.setSuccessIsSet(true); @@ -124213,13 +124213,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 _list1398 = iprot.readListBegin(); - struct.names = new ArrayList(_list1398.size); - String _elem1399; - for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) + org.apache.thrift.protocol.TList _list1406 = iprot.readListBegin(); + struct.names = new ArrayList(_list1406.size); + String _elem1407; + for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) { - _elem1399 = iprot.readString(); - struct.names.add(_elem1399); + _elem1407 = iprot.readString(); + struct.names.add(_elem1407); } iprot.readListEnd(); } @@ -124255,9 +124255,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 _iter1401 : struct.names) + for (String _iter1409 : struct.names) { - oprot.writeString(_iter1401); + oprot.writeString(_iter1409); } oprot.writeListEnd(); } @@ -124300,9 +124300,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1402 : struct.names) + for (String _iter1410 : struct.names) { - oprot.writeString(_iter1402); + oprot.writeString(_iter1410); } } } @@ -124322,13 +124322,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1403.size); - String _elem1404; - for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) + org.apache.thrift.protocol.TList _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1411.size); + String _elem1412; + for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) { - _elem1404 = iprot.readString(); - struct.names.add(_elem1404); + _elem1412 = iprot.readString(); + struct.names.add(_elem1412); } } struct.setNamesIsSet(true); @@ -124815,14 +124815,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 _list1406 = iprot.readListBegin(); - struct.success = new ArrayList(_list1406.size); - Partition _elem1407; - for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) + org.apache.thrift.protocol.TList _list1414 = iprot.readListBegin(); + struct.success = new ArrayList(_list1414.size); + Partition _elem1415; + for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) { - _elem1407 = new Partition(); - _elem1407.read(iprot); - struct.success.add(_elem1407); + _elem1415 = new Partition(); + _elem1415.read(iprot); + struct.success.add(_elem1415); } iprot.readListEnd(); } @@ -124866,9 +124866,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 _iter1409 : struct.success) + for (Partition _iter1417 : struct.success) { - _iter1409.write(oprot); + _iter1417.write(oprot); } oprot.writeListEnd(); } @@ -124915,9 +124915,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1410 : struct.success) + for (Partition _iter1418 : struct.success) { - _iter1410.write(oprot); + _iter1418.write(oprot); } } } @@ -124935,14 +124935,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 _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1411.size); - Partition _elem1412; - for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) + org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1419.size); + Partition _elem1420; + for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) { - _elem1412 = new Partition(); - _elem1412.read(iprot); - struct.success.add(_elem1412); + _elem1420 = new Partition(); + _elem1420.read(iprot); + struct.success.add(_elem1420); } } struct.setSuccessIsSet(true); @@ -126492,14 +126492,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 _list1414 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1414.size); - Partition _elem1415; - for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) + org.apache.thrift.protocol.TList _list1422 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1422.size); + Partition _elem1423; + for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) { - _elem1415 = new Partition(); - _elem1415.read(iprot); - struct.new_parts.add(_elem1415); + _elem1423 = new Partition(); + _elem1423.read(iprot); + struct.new_parts.add(_elem1423); } iprot.readListEnd(); } @@ -126535,9 +126535,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 _iter1417 : struct.new_parts) + for (Partition _iter1425 : struct.new_parts) { - _iter1417.write(oprot); + _iter1425.write(oprot); } oprot.writeListEnd(); } @@ -126580,9 +126580,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 _iter1418 : struct.new_parts) + for (Partition _iter1426 : struct.new_parts) { - _iter1418.write(oprot); + _iter1426.write(oprot); } } } @@ -126602,14 +126602,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1419.size); - Partition _elem1420; - for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) + org.apache.thrift.protocol.TList _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1427.size); + Partition _elem1428; + for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) { - _elem1420 = new Partition(); - _elem1420.read(iprot); - struct.new_parts.add(_elem1420); + _elem1428 = new Partition(); + _elem1428.read(iprot); + struct.new_parts.add(_elem1428); } } struct.setNew_partsIsSet(true); @@ -127662,14 +127662,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_wi case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1422 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1422.size); - Partition _elem1423; - for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) + org.apache.thrift.protocol.TList _list1430 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1430.size); + Partition _elem1431; + for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) { - _elem1423 = new Partition(); - _elem1423.read(iprot); - struct.new_parts.add(_elem1423); + _elem1431 = new Partition(); + _elem1431.read(iprot); + struct.new_parts.add(_elem1431); } iprot.readListEnd(); } @@ -127714,9 +127714,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_w oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1425 : struct.new_parts) + for (Partition _iter1433 : struct.new_parts) { - _iter1425.write(oprot); + _iter1433.write(oprot); } oprot.writeListEnd(); } @@ -127767,9 +127767,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wi if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1426 : struct.new_parts) + for (Partition _iter1434 : struct.new_parts) { - _iter1426.write(oprot); + _iter1434.write(oprot); } } } @@ -127792,14 +127792,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1427.size); - Partition _elem1428; - for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) + org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1435.size); + Partition _elem1436; + for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) { - _elem1428 = new Partition(); - _elem1428.read(iprot); - struct.new_parts.add(_elem1428); + _elem1436 = new Partition(); + _elem1436.read(iprot); + struct.new_parts.add(_elem1436); } } struct.setNew_partsIsSet(true); @@ -130938,13 +130938,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 _list1430 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1430.size); - String _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1438.size); + String _elem1439; + for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) { - _elem1431 = iprot.readString(); - struct.part_vals.add(_elem1431); + _elem1439 = iprot.readString(); + struct.part_vals.add(_elem1439); } iprot.readListEnd(); } @@ -130989,9 +130989,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 _iter1433 : struct.part_vals) + for (String _iter1441 : struct.part_vals) { - oprot.writeString(_iter1433); + oprot.writeString(_iter1441); } oprot.writeListEnd(); } @@ -131042,9 +131042,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 _iter1434 : struct.part_vals) + for (String _iter1442 : struct.part_vals) { - oprot.writeString(_iter1434); + oprot.writeString(_iter1442); } } } @@ -131067,13 +131067,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1435.size); - String _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1443.size); + String _elem1444; + for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) { - _elem1436 = iprot.readString(); - struct.part_vals.add(_elem1436); + _elem1444 = iprot.readString(); + struct.part_vals.add(_elem1444); } } struct.setPart_valsIsSet(true); @@ -132885,13 +132885,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 _list1438 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1438.size); - String _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1446.size); + String _elem1447; + for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) { - _elem1439 = iprot.readString(); - struct.part_vals.add(_elem1439); + _elem1447 = iprot.readString(); + struct.part_vals.add(_elem1447); } iprot.readListEnd(); } @@ -132925,9 +132925,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 _iter1441 : struct.part_vals) + for (String _iter1449 : struct.part_vals) { - oprot.writeString(_iter1441); + oprot.writeString(_iter1449); } oprot.writeListEnd(); } @@ -132964,9 +132964,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 _iter1442 : struct.part_vals) + for (String _iter1450 : struct.part_vals) { - oprot.writeString(_iter1442); + oprot.writeString(_iter1450); } } } @@ -132981,13 +132981,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 _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1443.size); - String _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1451.size); + String _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) { - _elem1444 = iprot.readString(); - struct.part_vals.add(_elem1444); + _elem1452 = iprot.readString(); + struct.part_vals.add(_elem1452); } } struct.setPart_valsIsSet(true); @@ -135142,13 +135142,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 _list1446 = iprot.readListBegin(); - struct.success = new ArrayList(_list1446.size); - String _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); + struct.success = new ArrayList(_list1454.size); + String _elem1455; + for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) { - _elem1447 = iprot.readString(); - struct.success.add(_elem1447); + _elem1455 = iprot.readString(); + struct.success.add(_elem1455); } iprot.readListEnd(); } @@ -135183,9 +135183,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 _iter1449 : struct.success) + for (String _iter1457 : struct.success) { - oprot.writeString(_iter1449); + oprot.writeString(_iter1457); } oprot.writeListEnd(); } @@ -135224,9 +135224,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1450 : struct.success) + for (String _iter1458 : struct.success) { - oprot.writeString(_iter1450); + oprot.writeString(_iter1458); } } } @@ -135241,13 +135241,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 _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1451.size); - String _elem1452; - for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) + org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1459.size); + String _elem1460; + for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) { - _elem1452 = iprot.readString(); - struct.success.add(_elem1452); + _elem1460 = iprot.readString(); + struct.success.add(_elem1460); } } struct.setSuccessIsSet(true); @@ -136010,15 +136010,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 _map1454 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1454.size); - String _key1455; - String _val1456; - for (int _i1457 = 0; _i1457 < _map1454.size; ++_i1457) + org.apache.thrift.protocol.TMap _map1462 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1462.size); + String _key1463; + String _val1464; + for (int _i1465 = 0; _i1465 < _map1462.size; ++_i1465) { - _key1455 = iprot.readString(); - _val1456 = iprot.readString(); - struct.success.put(_key1455, _val1456); + _key1463 = iprot.readString(); + _val1464 = iprot.readString(); + struct.success.put(_key1463, _val1464); } iprot.readMapEnd(); } @@ -136053,10 +136053,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 _iter1458 : struct.success.entrySet()) + for (Map.Entry _iter1466 : struct.success.entrySet()) { - oprot.writeString(_iter1458.getKey()); - oprot.writeString(_iter1458.getValue()); + oprot.writeString(_iter1466.getKey()); + oprot.writeString(_iter1466.getValue()); } oprot.writeMapEnd(); } @@ -136095,10 +136095,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 _iter1459 : struct.success.entrySet()) + for (Map.Entry _iter1467 : struct.success.entrySet()) { - oprot.writeString(_iter1459.getKey()); - oprot.writeString(_iter1459.getValue()); + oprot.writeString(_iter1467.getKey()); + oprot.writeString(_iter1467.getValue()); } } } @@ -136113,15 +136113,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 _map1460 = 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*_map1460.size); - String _key1461; - String _val1462; - for (int _i1463 = 0; _i1463 < _map1460.size; ++_i1463) + org.apache.thrift.protocol.TMap _map1468 = 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*_map1468.size); + String _key1469; + String _val1470; + for (int _i1471 = 0; _i1471 < _map1468.size; ++_i1471) { - _key1461 = iprot.readString(); - _val1462 = iprot.readString(); - struct.success.put(_key1461, _val1462); + _key1469 = iprot.readString(); + _val1470 = iprot.readString(); + struct.success.put(_key1469, _val1470); } } struct.setSuccessIsSet(true); @@ -136716,15 +136716,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 _map1464 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1464.size); - String _key1465; - String _val1466; - for (int _i1467 = 0; _i1467 < _map1464.size; ++_i1467) + org.apache.thrift.protocol.TMap _map1472 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1472.size); + String _key1473; + String _val1474; + for (int _i1475 = 0; _i1475 < _map1472.size; ++_i1475) { - _key1465 = iprot.readString(); - _val1466 = iprot.readString(); - struct.part_vals.put(_key1465, _val1466); + _key1473 = iprot.readString(); + _val1474 = iprot.readString(); + struct.part_vals.put(_key1473, _val1474); } iprot.readMapEnd(); } @@ -136768,10 +136768,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 _iter1468 : struct.part_vals.entrySet()) + for (Map.Entry _iter1476 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1468.getKey()); - oprot.writeString(_iter1468.getValue()); + oprot.writeString(_iter1476.getKey()); + oprot.writeString(_iter1476.getValue()); } oprot.writeMapEnd(); } @@ -136822,10 +136822,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1469 : struct.part_vals.entrySet()) + for (Map.Entry _iter1477 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1469.getKey()); - oprot.writeString(_iter1469.getValue()); + oprot.writeString(_iter1477.getKey()); + oprot.writeString(_iter1477.getValue()); } } } @@ -136848,15 +136848,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1470 = 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*_map1470.size); - String _key1471; - String _val1472; - for (int _i1473 = 0; _i1473 < _map1470.size; ++_i1473) + org.apache.thrift.protocol.TMap _map1478 = 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*_map1478.size); + String _key1479; + String _val1480; + for (int _i1481 = 0; _i1481 < _map1478.size; ++_i1481) { - _key1471 = iprot.readString(); - _val1472 = iprot.readString(); - struct.part_vals.put(_key1471, _val1472); + _key1479 = iprot.readString(); + _val1480 = iprot.readString(); + struct.part_vals.put(_key1479, _val1480); } } struct.setPart_valsIsSet(true); @@ -138340,15 +138340,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 _map1474 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1474.size); - String _key1475; - String _val1476; - for (int _i1477 = 0; _i1477 < _map1474.size; ++_i1477) + org.apache.thrift.protocol.TMap _map1482 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1482.size); + String _key1483; + String _val1484; + for (int _i1485 = 0; _i1485 < _map1482.size; ++_i1485) { - _key1475 = iprot.readString(); - _val1476 = iprot.readString(); - struct.part_vals.put(_key1475, _val1476); + _key1483 = iprot.readString(); + _val1484 = iprot.readString(); + struct.part_vals.put(_key1483, _val1484); } iprot.readMapEnd(); } @@ -138392,10 +138392,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 _iter1478 : struct.part_vals.entrySet()) + for (Map.Entry _iter1486 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1478.getKey()); - oprot.writeString(_iter1478.getValue()); + oprot.writeString(_iter1486.getKey()); + oprot.writeString(_iter1486.getValue()); } oprot.writeMapEnd(); } @@ -138446,10 +138446,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1479 : struct.part_vals.entrySet()) + for (Map.Entry _iter1487 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1479.getKey()); - oprot.writeString(_iter1479.getValue()); + oprot.writeString(_iter1487.getKey()); + oprot.writeString(_iter1487.getValue()); } } } @@ -138472,15 +138472,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1480 = 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*_map1480.size); - String _key1481; - String _val1482; - for (int _i1483 = 0; _i1483 < _map1480.size; ++_i1483) + org.apache.thrift.protocol.TMap _map1488 = 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*_map1488.size); + String _key1489; + String _val1490; + for (int _i1491 = 0; _i1491 < _map1488.size; ++_i1491) { - _key1481 = iprot.readString(); - _val1482 = iprot.readString(); - struct.part_vals.put(_key1481, _val1482); + _key1489 = iprot.readString(); + _val1490 = iprot.readString(); + struct.part_vals.put(_key1489, _val1490); } } struct.setPart_valsIsSet(true); @@ -163136,13 +163136,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 _list1484 = iprot.readListBegin(); - struct.success = new ArrayList(_list1484.size); - String _elem1485; - for (int _i1486 = 0; _i1486 < _list1484.size; ++_i1486) + org.apache.thrift.protocol.TList _list1492 = iprot.readListBegin(); + struct.success = new ArrayList(_list1492.size); + String _elem1493; + for (int _i1494 = 0; _i1494 < _list1492.size; ++_i1494) { - _elem1485 = iprot.readString(); - struct.success.add(_elem1485); + _elem1493 = iprot.readString(); + struct.success.add(_elem1493); } iprot.readListEnd(); } @@ -163177,9 +163177,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 _iter1487 : struct.success) + for (String _iter1495 : struct.success) { - oprot.writeString(_iter1487); + oprot.writeString(_iter1495); } oprot.writeListEnd(); } @@ -163218,9 +163218,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1488 : struct.success) + for (String _iter1496 : struct.success) { - oprot.writeString(_iter1488); + oprot.writeString(_iter1496); } } } @@ -163235,13 +163235,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 _list1489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1489.size); - String _elem1490; - for (int _i1491 = 0; _i1491 < _list1489.size; ++_i1491) + org.apache.thrift.protocol.TList _list1497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1497.size); + String _elem1498; + for (int _i1499 = 0; _i1499 < _list1497.size; ++_i1499) { - _elem1490 = iprot.readString(); - struct.success.add(_elem1490); + _elem1498 = iprot.readString(); + struct.success.add(_elem1498); } } struct.setSuccessIsSet(true); @@ -167296,13 +167296,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 _list1492 = iprot.readListBegin(); - struct.success = new ArrayList(_list1492.size); - String _elem1493; - for (int _i1494 = 0; _i1494 < _list1492.size; ++_i1494) + org.apache.thrift.protocol.TList _list1500 = iprot.readListBegin(); + struct.success = new ArrayList(_list1500.size); + String _elem1501; + for (int _i1502 = 0; _i1502 < _list1500.size; ++_i1502) { - _elem1493 = iprot.readString(); - struct.success.add(_elem1493); + _elem1501 = iprot.readString(); + struct.success.add(_elem1501); } iprot.readListEnd(); } @@ -167337,9 +167337,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 _iter1495 : struct.success) + for (String _iter1503 : struct.success) { - oprot.writeString(_iter1495); + oprot.writeString(_iter1503); } oprot.writeListEnd(); } @@ -167378,9 +167378,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1496 : struct.success) + for (String _iter1504 : struct.success) { - oprot.writeString(_iter1496); + oprot.writeString(_iter1504); } } } @@ -167395,13 +167395,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 _list1497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1497.size); - String _elem1498; - for (int _i1499 = 0; _i1499 < _list1497.size; ++_i1499) + org.apache.thrift.protocol.TList _list1505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1505.size); + String _elem1506; + for (int _i1507 = 0; _i1507 < _list1505.size; ++_i1507) { - _elem1498 = iprot.readString(); - struct.success.add(_elem1498); + _elem1506 = iprot.readString(); + struct.success.add(_elem1506); } } struct.setSuccessIsSet(true); @@ -170692,14 +170692,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 _list1500 = iprot.readListBegin(); - struct.success = new ArrayList(_list1500.size); - Role _elem1501; - for (int _i1502 = 0; _i1502 < _list1500.size; ++_i1502) + org.apache.thrift.protocol.TList _list1508 = iprot.readListBegin(); + struct.success = new ArrayList(_list1508.size); + Role _elem1509; + for (int _i1510 = 0; _i1510 < _list1508.size; ++_i1510) { - _elem1501 = new Role(); - _elem1501.read(iprot); - struct.success.add(_elem1501); + _elem1509 = new Role(); + _elem1509.read(iprot); + struct.success.add(_elem1509); } iprot.readListEnd(); } @@ -170734,9 +170734,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 _iter1503 : struct.success) + for (Role _iter1511 : struct.success) { - _iter1503.write(oprot); + _iter1511.write(oprot); } oprot.writeListEnd(); } @@ -170775,9 +170775,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1504 : struct.success) + for (Role _iter1512 : struct.success) { - _iter1504.write(oprot); + _iter1512.write(oprot); } } } @@ -170792,14 +170792,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 _list1505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1505.size); - Role _elem1506; - for (int _i1507 = 0; _i1507 < _list1505.size; ++_i1507) + org.apache.thrift.protocol.TList _list1513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1513.size); + Role _elem1514; + for (int _i1515 = 0; _i1515 < _list1513.size; ++_i1515) { - _elem1506 = new Role(); - _elem1506.read(iprot); - struct.success.add(_elem1506); + _elem1514 = new Role(); + _elem1514.read(iprot); + struct.success.add(_elem1514); } } struct.setSuccessIsSet(true); @@ -173804,13 +173804,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 _list1508 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1508.size); - String _elem1509; - for (int _i1510 = 0; _i1510 < _list1508.size; ++_i1510) + org.apache.thrift.protocol.TList _list1516 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1516.size); + String _elem1517; + for (int _i1518 = 0; _i1518 < _list1516.size; ++_i1518) { - _elem1509 = iprot.readString(); - struct.group_names.add(_elem1509); + _elem1517 = iprot.readString(); + struct.group_names.add(_elem1517); } iprot.readListEnd(); } @@ -173846,9 +173846,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 _iter1511 : struct.group_names) + for (String _iter1519 : struct.group_names) { - oprot.writeString(_iter1511); + oprot.writeString(_iter1519); } oprot.writeListEnd(); } @@ -173891,9 +173891,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 _iter1512 : struct.group_names) + for (String _iter1520 : struct.group_names) { - oprot.writeString(_iter1512); + oprot.writeString(_iter1520); } } } @@ -173914,13 +173914,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1513.size); - String _elem1514; - for (int _i1515 = 0; _i1515 < _list1513.size; ++_i1515) + org.apache.thrift.protocol.TList _list1521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1521.size); + String _elem1522; + for (int _i1523 = 0; _i1523 < _list1521.size; ++_i1523) { - _elem1514 = iprot.readString(); - struct.group_names.add(_elem1514); + _elem1522 = iprot.readString(); + struct.group_names.add(_elem1522); } } struct.setGroup_namesIsSet(true); @@ -175378,14 +175378,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 _list1516 = iprot.readListBegin(); - struct.success = new ArrayList(_list1516.size); - HiveObjectPrivilege _elem1517; - for (int _i1518 = 0; _i1518 < _list1516.size; ++_i1518) + org.apache.thrift.protocol.TList _list1524 = iprot.readListBegin(); + struct.success = new ArrayList(_list1524.size); + HiveObjectPrivilege _elem1525; + for (int _i1526 = 0; _i1526 < _list1524.size; ++_i1526) { - _elem1517 = new HiveObjectPrivilege(); - _elem1517.read(iprot); - struct.success.add(_elem1517); + _elem1525 = new HiveObjectPrivilege(); + _elem1525.read(iprot); + struct.success.add(_elem1525); } iprot.readListEnd(); } @@ -175420,9 +175420,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 _iter1519 : struct.success) + for (HiveObjectPrivilege _iter1527 : struct.success) { - _iter1519.write(oprot); + _iter1527.write(oprot); } oprot.writeListEnd(); } @@ -175461,9 +175461,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1520 : struct.success) + for (HiveObjectPrivilege _iter1528 : struct.success) { - _iter1520.write(oprot); + _iter1528.write(oprot); } } } @@ -175478,14 +175478,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 _list1521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1521.size); - HiveObjectPrivilege _elem1522; - for (int _i1523 = 0; _i1523 < _list1521.size; ++_i1523) + org.apache.thrift.protocol.TList _list1529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1529.size); + HiveObjectPrivilege _elem1530; + for (int _i1531 = 0; _i1531 < _list1529.size; ++_i1531) { - _elem1522 = new HiveObjectPrivilege(); - _elem1522.read(iprot); - struct.success.add(_elem1522); + _elem1530 = new HiveObjectPrivilege(); + _elem1530.read(iprot); + struct.success.add(_elem1530); } } struct.setSuccessIsSet(true); @@ -179432,13 +179432,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 _list1524 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1524.size); - String _elem1525; - for (int _i1526 = 0; _i1526 < _list1524.size; ++_i1526) + org.apache.thrift.protocol.TList _list1532 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1532.size); + String _elem1533; + for (int _i1534 = 0; _i1534 < _list1532.size; ++_i1534) { - _elem1525 = iprot.readString(); - struct.group_names.add(_elem1525); + _elem1533 = iprot.readString(); + struct.group_names.add(_elem1533); } iprot.readListEnd(); } @@ -179469,9 +179469,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 _iter1527 : struct.group_names) + for (String _iter1535 : struct.group_names) { - oprot.writeString(_iter1527); + oprot.writeString(_iter1535); } oprot.writeListEnd(); } @@ -179508,9 +179508,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 _iter1528 : struct.group_names) + for (String _iter1536 : struct.group_names) { - oprot.writeString(_iter1528); + oprot.writeString(_iter1536); } } } @@ -179526,13 +179526,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1529.size); - String _elem1530; - for (int _i1531 = 0; _i1531 < _list1529.size; ++_i1531) + org.apache.thrift.protocol.TList _list1537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1537.size); + String _elem1538; + for (int _i1539 = 0; _i1539 < _list1537.size; ++_i1539) { - _elem1530 = iprot.readString(); - struct.group_names.add(_elem1530); + _elem1538 = iprot.readString(); + struct.group_names.add(_elem1538); } } struct.setGroup_namesIsSet(true); @@ -179935,13 +179935,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 _list1532 = iprot.readListBegin(); - struct.success = new ArrayList(_list1532.size); - String _elem1533; - for (int _i1534 = 0; _i1534 < _list1532.size; ++_i1534) + org.apache.thrift.protocol.TList _list1540 = iprot.readListBegin(); + struct.success = new ArrayList(_list1540.size); + String _elem1541; + for (int _i1542 = 0; _i1542 < _list1540.size; ++_i1542) { - _elem1533 = iprot.readString(); - struct.success.add(_elem1533); + _elem1541 = iprot.readString(); + struct.success.add(_elem1541); } iprot.readListEnd(); } @@ -179976,9 +179976,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 _iter1535 : struct.success) + for (String _iter1543 : struct.success) { - oprot.writeString(_iter1535); + oprot.writeString(_iter1543); } oprot.writeListEnd(); } @@ -180017,9 +180017,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1536 : struct.success) + for (String _iter1544 : struct.success) { - oprot.writeString(_iter1536); + oprot.writeString(_iter1544); } } } @@ -180034,13 +180034,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 _list1537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1537.size); - String _elem1538; - for (int _i1539 = 0; _i1539 < _list1537.size; ++_i1539) + org.apache.thrift.protocol.TList _list1545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1545.size); + String _elem1546; + for (int _i1547 = 0; _i1547 < _list1545.size; ++_i1547) { - _elem1538 = iprot.readString(); - struct.success.add(_elem1538); + _elem1546 = iprot.readString(); + struct.success.add(_elem1546); } } struct.setSuccessIsSet(true); @@ -185331,13 +185331,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_token_ident case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1540 = iprot.readListBegin(); - struct.success = new ArrayList(_list1540.size); - String _elem1541; - for (int _i1542 = 0; _i1542 < _list1540.size; ++_i1542) + org.apache.thrift.protocol.TList _list1548 = iprot.readListBegin(); + struct.success = new ArrayList(_list1548.size); + String _elem1549; + for (int _i1550 = 0; _i1550 < _list1548.size; ++_i1550) { - _elem1541 = iprot.readString(); - struct.success.add(_elem1541); + _elem1549 = iprot.readString(); + struct.success.add(_elem1549); } iprot.readListEnd(); } @@ -185363,9 +185363,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_token_iden oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1543 : struct.success) + for (String _iter1551 : struct.success) { - oprot.writeString(_iter1543); + oprot.writeString(_iter1551); } oprot.writeListEnd(); } @@ -185396,9 +185396,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1544 : struct.success) + for (String _iter1552 : struct.success) { - oprot.writeString(_iter1544); + oprot.writeString(_iter1552); } } } @@ -185410,13 +185410,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_token_identi BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1545.size); - String _elem1546; - for (int _i1547 = 0; _i1547 < _list1545.size; ++_i1547) + org.apache.thrift.protocol.TList _list1553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1553.size); + String _elem1554; + for (int _i1555 = 0; _i1555 < _list1553.size; ++_i1555) { - _elem1546 = iprot.readString(); - struct.success.add(_elem1546); + _elem1554 = iprot.readString(); + struct.success.add(_elem1554); } } struct.setSuccessIsSet(true); @@ -188446,13 +188446,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1548 = iprot.readListBegin(); - struct.success = new ArrayList(_list1548.size); - String _elem1549; - for (int _i1550 = 0; _i1550 < _list1548.size; ++_i1550) + org.apache.thrift.protocol.TList _list1556 = iprot.readListBegin(); + struct.success = new ArrayList(_list1556.size); + String _elem1557; + for (int _i1558 = 0; _i1558 < _list1556.size; ++_i1558) { - _elem1549 = iprot.readString(); - struct.success.add(_elem1549); + _elem1557 = iprot.readString(); + struct.success.add(_elem1557); } iprot.readListEnd(); } @@ -188478,9 +188478,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1551 : struct.success) + for (String _iter1559 : struct.success) { - oprot.writeString(_iter1551); + oprot.writeString(_iter1559); } oprot.writeListEnd(); } @@ -188511,9 +188511,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1552 : struct.success) + for (String _iter1560 : struct.success) { - oprot.writeString(_iter1552); + oprot.writeString(_iter1560); } } } @@ -188525,13 +188525,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1553.size); - String _elem1554; - for (int _i1555 = 0; _i1555 < _list1553.size; ++_i1555) + org.apache.thrift.protocol.TList _list1561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1561.size); + String _elem1562; + for (int _i1563 = 0; _i1563 < _list1561.size; ++_i1563) { - _elem1554 = iprot.readString(); - struct.success.add(_elem1554); + _elem1562 = iprot.readString(); + struct.success.add(_elem1562); } } struct.setSuccessIsSet(true); @@ -237440,14 +237440,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_all_vers case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1556 = iprot.readListBegin(); - struct.success = new ArrayList(_list1556.size); - SchemaVersion _elem1557; - for (int _i1558 = 0; _i1558 < _list1556.size; ++_i1558) + org.apache.thrift.protocol.TList _list1564 = iprot.readListBegin(); + struct.success = new ArrayList(_list1564.size); + SchemaVersion _elem1565; + for (int _i1566 = 0; _i1566 < _list1564.size; ++_i1566) { - _elem1557 = new SchemaVersion(); - _elem1557.read(iprot); - struct.success.add(_elem1557); + _elem1565 = new SchemaVersion(); + _elem1565.read(iprot); + struct.success.add(_elem1565); } iprot.readListEnd(); } @@ -237491,9 +237491,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_all_ver oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (SchemaVersion _iter1559 : struct.success) + for (SchemaVersion _iter1567 : struct.success) { - _iter1559.write(oprot); + _iter1567.write(oprot); } oprot.writeListEnd(); } @@ -237540,9 +237540,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1560 : struct.success) + for (SchemaVersion _iter1568 : struct.success) { - _iter1560.write(oprot); + _iter1568.write(oprot); } } } @@ -237560,14 +237560,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_all_versi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1561.size); - SchemaVersion _elem1562; - for (int _i1563 = 0; _i1563 < _list1561.size; ++_i1563) + org.apache.thrift.protocol.TList _list1569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1569.size); + SchemaVersion _elem1570; + for (int _i1571 = 0; _i1571 < _list1569.size; ++_i1571) { - _elem1562 = new SchemaVersion(); - _elem1562.read(iprot); - struct.success.add(_elem1562); + _elem1570 = new SchemaVersion(); + _elem1570.read(iprot); + struct.success.add(_elem1570); } } struct.setSuccessIsSet(true); @@ -246110,14 +246110,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_runtime_stats_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1564 = iprot.readListBegin(); - struct.success = new ArrayList(_list1564.size); - RuntimeStat _elem1565; - for (int _i1566 = 0; _i1566 < _list1564.size; ++_i1566) + org.apache.thrift.protocol.TList _list1572 = iprot.readListBegin(); + struct.success = new ArrayList(_list1572.size); + RuntimeStat _elem1573; + for (int _i1574 = 0; _i1574 < _list1572.size; ++_i1574) { - _elem1565 = new RuntimeStat(); - _elem1565.read(iprot); - struct.success.add(_elem1565); + _elem1573 = new RuntimeStat(); + _elem1573.read(iprot); + struct.success.add(_elem1573); } iprot.readListEnd(); } @@ -246152,9 +246152,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_runtime_stats_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (RuntimeStat _iter1567 : struct.success) + for (RuntimeStat _iter1575 : struct.success) { - _iter1567.write(oprot); + _iter1575.write(oprot); } oprot.writeListEnd(); } @@ -246193,9 +246193,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (RuntimeStat _iter1568 : struct.success) + for (RuntimeStat _iter1576 : struct.success) { - _iter1568.write(oprot); + _iter1576.write(oprot); } } } @@ -246210,14 +246210,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1569.size); - RuntimeStat _elem1570; - for (int _i1571 = 0; _i1571 < _list1569.size; ++_i1571) + org.apache.thrift.protocol.TList _list1577 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1577.size); + RuntimeStat _elem1578; + for (int _i1579 = 0; _i1579 < _list1577.size; ++_i1579) { - _elem1570 = new RuntimeStat(); - _elem1570.read(iprot); - struct.success.add(_elem1570); + _elem1578 = new RuntimeStat(); + _elem1578.read(iprot); + struct.success.add(_elem1578); } } struct.setSuccessIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java index 44674798f7..6d3ac0c70b 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java @@ -755,14 +755,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 2: // POOLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); - struct.pools = new ArrayList(_list872.size); - WMPool _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); + struct.pools = new ArrayList(_list880.size); + WMPool _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem873 = new WMPool(); - _elem873.read(iprot); - struct.pools.add(_elem873); + _elem881 = new WMPool(); + _elem881.read(iprot); + struct.pools.add(_elem881); } iprot.readListEnd(); } @@ -774,14 +774,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 3: // MAPPINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list875 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list875.size); - WMMapping _elem876; - for (int _i877 = 0; _i877 < _list875.size; ++_i877) + org.apache.thrift.protocol.TList _list883 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list883.size); + WMMapping _elem884; + for (int _i885 = 0; _i885 < _list883.size; ++_i885) { - _elem876 = new WMMapping(); - _elem876.read(iprot); - struct.mappings.add(_elem876); + _elem884 = new WMMapping(); + _elem884.read(iprot); + struct.mappings.add(_elem884); } iprot.readListEnd(); } @@ -793,14 +793,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 4: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list878 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list878.size); - WMTrigger _elem879; - for (int _i880 = 0; _i880 < _list878.size; ++_i880) + org.apache.thrift.protocol.TList _list886 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list886.size); + WMTrigger _elem887; + for (int _i888 = 0; _i888 < _list886.size; ++_i888) { - _elem879 = new WMTrigger(); - _elem879.read(iprot); - struct.triggers.add(_elem879); + _elem887 = new WMTrigger(); + _elem887.read(iprot); + struct.triggers.add(_elem887); } iprot.readListEnd(); } @@ -812,14 +812,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 5: // POOL_TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list881 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list881.size); - WMPoolTrigger _elem882; - for (int _i883 = 0; _i883 < _list881.size; ++_i883) + org.apache.thrift.protocol.TList _list889 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list889.size); + WMPoolTrigger _elem890; + for (int _i891 = 0; _i891 < _list889.size; ++_i891) { - _elem882 = new WMPoolTrigger(); - _elem882.read(iprot); - struct.poolTriggers.add(_elem882); + _elem890 = new WMPoolTrigger(); + _elem890.read(iprot); + struct.poolTriggers.add(_elem890); } iprot.readListEnd(); } @@ -850,9 +850,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.pools.size())); - for (WMPool _iter884 : struct.pools) + for (WMPool _iter892 : struct.pools) { - _iter884.write(oprot); + _iter892.write(oprot); } oprot.writeListEnd(); } @@ -863,9 +863,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(MAPPINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mappings.size())); - for (WMMapping _iter885 : struct.mappings) + for (WMMapping _iter893 : struct.mappings) { - _iter885.write(oprot); + _iter893.write(oprot); } oprot.writeListEnd(); } @@ -877,9 +877,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter886 : struct.triggers) + for (WMTrigger _iter894 : struct.triggers) { - _iter886.write(oprot); + _iter894.write(oprot); } oprot.writeListEnd(); } @@ -891,9 +891,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOL_TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.poolTriggers.size())); - for (WMPoolTrigger _iter887 : struct.poolTriggers) + for (WMPoolTrigger _iter895 : struct.poolTriggers) { - _iter887.write(oprot); + _iter895.write(oprot); } oprot.writeListEnd(); } @@ -920,9 +920,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan struct.plan.write(oprot); { oprot.writeI32(struct.pools.size()); - for (WMPool _iter888 : struct.pools) + for (WMPool _iter896 : struct.pools) { - _iter888.write(oprot); + _iter896.write(oprot); } } BitSet optionals = new BitSet(); @@ -939,27 +939,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan if (struct.isSetMappings()) { { oprot.writeI32(struct.mappings.size()); - for (WMMapping _iter889 : struct.mappings) + for (WMMapping _iter897 : struct.mappings) { - _iter889.write(oprot); + _iter897.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter890 : struct.triggers) + for (WMTrigger _iter898 : struct.triggers) { - _iter890.write(oprot); + _iter898.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter891 : struct.poolTriggers) + for (WMPoolTrigger _iter899 : struct.poolTriggers) { - _iter891.write(oprot); + _iter899.write(oprot); } } } @@ -972,56 +972,56 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan s struct.plan.read(iprot); struct.setPlanIsSet(true); { - org.apache.thrift.protocol.TList _list892 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list892.size); - WMPool _elem893; - for (int _i894 = 0; _i894 < _list892.size; ++_i894) + org.apache.thrift.protocol.TList _list900 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list900.size); + WMPool _elem901; + for (int _i902 = 0; _i902 < _list900.size; ++_i902) { - _elem893 = new WMPool(); - _elem893.read(iprot); - struct.pools.add(_elem893); + _elem901 = new WMPool(); + _elem901.read(iprot); + struct.pools.add(_elem901); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list895 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list895.size); - WMMapping _elem896; - for (int _i897 = 0; _i897 < _list895.size; ++_i897) + org.apache.thrift.protocol.TList _list903 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list903.size); + WMMapping _elem904; + for (int _i905 = 0; _i905 < _list903.size; ++_i905) { - _elem896 = new WMMapping(); - _elem896.read(iprot); - struct.mappings.add(_elem896); + _elem904 = new WMMapping(); + _elem904.read(iprot); + struct.mappings.add(_elem904); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list898 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list898.size); - WMTrigger _elem899; - for (int _i900 = 0; _i900 < _list898.size; ++_i900) + org.apache.thrift.protocol.TList _list906 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list906.size); + WMTrigger _elem907; + for (int _i908 = 0; _i908 < _list906.size; ++_i908) { - _elem899 = new WMTrigger(); - _elem899.read(iprot); - struct.triggers.add(_elem899); + _elem907 = new WMTrigger(); + _elem907.read(iprot); + struct.triggers.add(_elem907); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list901.size); - WMPoolTrigger _elem902; - for (int _i903 = 0; _i903 < _list901.size; ++_i903) + org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list909.size); + WMPoolTrigger _elem910; + for (int _i911 = 0; _i911 < _list909.size; ++_i911) { - _elem902 = new WMPoolTrigger(); - _elem902.read(iprot); - struct.poolTriggers.add(_elem902); + _elem910 = new WMPoolTrigger(); + _elem910.read(iprot); + struct.poolTriggers.add(_elem910); } } struct.setPoolTriggersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java index c6cb845585..2c427b9cb5 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetAllResourcePla case 1: // RESOURCE_PLANS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list904.size); - WMResourcePlan _elem905; - for (int _i906 = 0; _i906 < _list904.size; ++_i906) + org.apache.thrift.protocol.TList _list912 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list912.size); + WMResourcePlan _elem913; + for (int _i914 = 0; _i914 < _list912.size; ++_i914) { - _elem905 = new WMResourcePlan(); - _elem905.read(iprot); - struct.resourcePlans.add(_elem905); + _elem913 = new WMResourcePlan(); + _elem913.read(iprot); + struct.resourcePlans.add(_elem913); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetAllResourcePl oprot.writeFieldBegin(RESOURCE_PLANS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourcePlans.size())); - for (WMResourcePlan _iter907 : struct.resourcePlans) + for (WMResourcePlan _iter915 : struct.resourcePlans) { - _iter907.write(oprot); + _iter915.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePla if (struct.isSetResourcePlans()) { { oprot.writeI32(struct.resourcePlans.size()); - for (WMResourcePlan _iter908 : struct.resourcePlans) + for (WMResourcePlan _iter916 : struct.resourcePlans) { - _iter908.write(oprot); + _iter916.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePlan BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list909.size); - WMResourcePlan _elem910; - for (int _i911 = 0; _i911 < _list909.size; ++_i911) + org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourcePlans = new ArrayList(_list917.size); + WMResourcePlan _elem918; + for (int _i919 = 0; _i919 < _list917.size; ++_i919) { - _elem910 = new WMResourcePlan(); - _elem910.read(iprot); - struct.resourcePlans.add(_elem910); + _elem918 = new WMResourcePlan(); + _elem918.read(iprot); + struct.resourcePlans.add(_elem918); } } struct.setResourcePlansIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java index 9eed335cda..57615c00d5 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetTriggersForRes case 1: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list928 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list928.size); - WMTrigger _elem929; - for (int _i930 = 0; _i930 < _list928.size; ++_i930) + org.apache.thrift.protocol.TList _list936 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list936.size); + WMTrigger _elem937; + for (int _i938 = 0; _i938 < _list936.size; ++_i938) { - _elem929 = new WMTrigger(); - _elem929.read(iprot); - struct.triggers.add(_elem929); + _elem937 = new WMTrigger(); + _elem937.read(iprot); + struct.triggers.add(_elem937); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetTriggersForRe oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter931 : struct.triggers) + for (WMTrigger _iter939 : struct.triggers) { - _iter931.write(oprot); + _iter939.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForRes if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter932 : struct.triggers) + for (WMTrigger _iter940 : struct.triggers) { - _iter932.write(oprot); + _iter940.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForReso BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list933.size); - WMTrigger _elem934; - for (int _i935 = 0; _i935 < _list933.size; ++_i935) + org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list941.size); + WMTrigger _elem942; + for (int _i943 = 0; _i943 < _list941.size; ++_i943) { - _elem934 = new WMTrigger(); - _elem934.read(iprot); - struct.triggers.add(_elem934); + _elem942 = new WMTrigger(); + _elem942.read(iprot); + struct.triggers.add(_elem942); } } struct.setTriggersIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java index ee9251c866..3f7f953a26 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java @@ -441,13 +441,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 1: // ERRORS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list912 = iprot.readListBegin(); - struct.errors = new ArrayList(_list912.size); - String _elem913; - for (int _i914 = 0; _i914 < _list912.size; ++_i914) + org.apache.thrift.protocol.TList _list920 = iprot.readListBegin(); + struct.errors = new ArrayList(_list920.size); + String _elem921; + for (int _i922 = 0; _i922 < _list920.size; ++_i922) { - _elem913 = iprot.readString(); - struct.errors.add(_elem913); + _elem921 = iprot.readString(); + struct.errors.add(_elem921); } iprot.readListEnd(); } @@ -459,13 +459,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 2: // WARNINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list915 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list915.size); - String _elem916; - for (int _i917 = 0; _i917 < _list915.size; ++_i917) + org.apache.thrift.protocol.TList _list923 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list923.size); + String _elem924; + for (int _i925 = 0; _i925 < _list923.size; ++_i925) { - _elem916 = iprot.readString(); - struct.warnings.add(_elem916); + _elem924 = iprot.readString(); + struct.warnings.add(_elem924); } iprot.readListEnd(); } @@ -492,9 +492,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(ERRORS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.errors.size())); - for (String _iter918 : struct.errors) + for (String _iter926 : struct.errors) { - oprot.writeString(_iter918); + oprot.writeString(_iter926); } oprot.writeListEnd(); } @@ -506,9 +506,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(WARNINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.warnings.size())); - for (String _iter919 : struct.warnings) + for (String _iter927 : struct.warnings) { - oprot.writeString(_iter919); + oprot.writeString(_iter927); } oprot.writeListEnd(); } @@ -543,18 +543,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMValidateResourceP if (struct.isSetErrors()) { { oprot.writeI32(struct.errors.size()); - for (String _iter920 : struct.errors) + for (String _iter928 : struct.errors) { - oprot.writeString(_iter920); + oprot.writeString(_iter928); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter921 : struct.warnings) + for (String _iter929 : struct.warnings) { - oprot.writeString(_iter921); + oprot.writeString(_iter929); } } } @@ -566,26 +566,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMValidateResourcePl BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list922 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list922.size); - String _elem923; - for (int _i924 = 0; _i924 < _list922.size; ++_i924) + org.apache.thrift.protocol.TList _list930 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list930.size); + String _elem931; + for (int _i932 = 0; _i932 < _list930.size; ++_i932) { - _elem923 = iprot.readString(); - struct.errors.add(_elem923); + _elem931 = iprot.readString(); + struct.errors.add(_elem931); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list925.size); - String _elem926; - for (int _i927 = 0; _i927 < _list925.size; ++_i927) + org.apache.thrift.protocol.TList _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list933.size); + String _elem934; + for (int _i935 = 0; _i935 < _list933.size; ++_i935) { - _elem926 = iprot.readString(); - struct.warnings.add(_elem926); + _elem934 = iprot.readString(); + struct.warnings.add(_elem934); } } struct.setWarningsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java index c7ef726f54..a89714177a 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java @@ -813,13 +813,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WriteNotificationLo case 6: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list772.size); - String _elem773; - for (int _i774 = 0; _i774 < _list772.size; ++_i774) + org.apache.thrift.protocol.TList _list780 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list780.size); + String _elem781; + for (int _i782 = 0; _i782 < _list780.size; ++_i782) { - _elem773 = iprot.readString(); - struct.partitionVals.add(_elem773); + _elem781 = iprot.readString(); + struct.partitionVals.add(_elem781); } iprot.readListEnd(); } @@ -867,9 +867,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WriteNotificationL oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter775 : struct.partitionVals) + for (String _iter783 : struct.partitionVals) { - oprot.writeString(_iter775); + oprot.writeString(_iter783); } oprot.writeListEnd(); } @@ -906,9 +906,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WriteNotificationLo if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter776 : struct.partitionVals) + for (String _iter784 : struct.partitionVals) { - oprot.writeString(_iter776); + oprot.writeString(_iter784); } } } @@ -931,13 +931,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WriteNotificationLog BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list777.size); - String _elem778; - for (int _i779 = 0; _i779 < _list777.size; ++_i779) + org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list785.size); + String _elem786; + for (int _i787 = 0; _i787 < _list785.size; ++_i787) { - _elem778 = iprot.readString(); - struct.partitionVals.add(_elem778); + _elem786 = iprot.readString(); + struct.partitionVals.add(_elem786); } } struct.setPartitionValsIsSet(true); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index efeaec7d6d..3170798663 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -15952,14 +15952,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size882 = 0; - $_etype885 = 0; - $xfer += $input->readListBegin($_etype885, $_size882); - for ($_i886 = 0; $_i886 < $_size882; ++$_i886) + $_size889 = 0; + $_etype892 = 0; + $xfer += $input->readListBegin($_etype892, $_size889); + for ($_i893 = 0; $_i893 < $_size889; ++$_i893) { - $elem887 = null; - $xfer += $input->readString($elem887); - $this->success []= $elem887; + $elem894 = null; + $xfer += $input->readString($elem894); + $this->success []= $elem894; } $xfer += $input->readListEnd(); } else { @@ -15995,9 +15995,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter888) + foreach ($this->success as $iter895) { - $xfer += $output->writeString($iter888); + $xfer += $output->writeString($iter895); } } $output->writeListEnd(); @@ -16128,14 +16128,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size889 = 0; - $_etype892 = 0; - $xfer += $input->readListBegin($_etype892, $_size889); - for ($_i893 = 0; $_i893 < $_size889; ++$_i893) + $_size896 = 0; + $_etype899 = 0; + $xfer += $input->readListBegin($_etype899, $_size896); + for ($_i900 = 0; $_i900 < $_size896; ++$_i900) { - $elem894 = null; - $xfer += $input->readString($elem894); - $this->success []= $elem894; + $elem901 = null; + $xfer += $input->readString($elem901); + $this->success []= $elem901; } $xfer += $input->readListEnd(); } else { @@ -16171,9 +16171,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter895) + foreach ($this->success as $iter902) { - $xfer += $output->writeString($iter895); + $xfer += $output->writeString($iter902); } } $output->writeListEnd(); @@ -17174,18 +17174,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size896 = 0; - $_ktype897 = 0; - $_vtype898 = 0; - $xfer += $input->readMapBegin($_ktype897, $_vtype898, $_size896); - for ($_i900 = 0; $_i900 < $_size896; ++$_i900) + $_size903 = 0; + $_ktype904 = 0; + $_vtype905 = 0; + $xfer += $input->readMapBegin($_ktype904, $_vtype905, $_size903); + for ($_i907 = 0; $_i907 < $_size903; ++$_i907) { - $key901 = ''; - $val902 = new \metastore\Type(); - $xfer += $input->readString($key901); - $val902 = new \metastore\Type(); - $xfer += $val902->read($input); - $this->success[$key901] = $val902; + $key908 = ''; + $val909 = new \metastore\Type(); + $xfer += $input->readString($key908); + $val909 = new \metastore\Type(); + $xfer += $val909->read($input); + $this->success[$key908] = $val909; } $xfer += $input->readMapEnd(); } else { @@ -17221,10 +17221,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter903 => $viter904) + foreach ($this->success as $kiter910 => $viter911) { - $xfer += $output->writeString($kiter903); - $xfer += $viter904->write($output); + $xfer += $output->writeString($kiter910); + $xfer += $viter911->write($output); } } $output->writeMapEnd(); @@ -17428,15 +17428,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size905 = 0; - $_etype908 = 0; - $xfer += $input->readListBegin($_etype908, $_size905); - for ($_i909 = 0; $_i909 < $_size905; ++$_i909) + $_size912 = 0; + $_etype915 = 0; + $xfer += $input->readListBegin($_etype915, $_size912); + for ($_i916 = 0; $_i916 < $_size912; ++$_i916) { - $elem910 = null; - $elem910 = new \metastore\FieldSchema(); - $xfer += $elem910->read($input); - $this->success []= $elem910; + $elem917 = null; + $elem917 = new \metastore\FieldSchema(); + $xfer += $elem917->read($input); + $this->success []= $elem917; } $xfer += $input->readListEnd(); } else { @@ -17488,9 +17488,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter911) + foreach ($this->success as $iter918) { - $xfer += $iter911->write($output); + $xfer += $iter918->write($output); } } $output->writeListEnd(); @@ -17732,15 +17732,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size912 = 0; - $_etype915 = 0; - $xfer += $input->readListBegin($_etype915, $_size912); - for ($_i916 = 0; $_i916 < $_size912; ++$_i916) + $_size919 = 0; + $_etype922 = 0; + $xfer += $input->readListBegin($_etype922, $_size919); + for ($_i923 = 0; $_i923 < $_size919; ++$_i923) { - $elem917 = null; - $elem917 = new \metastore\FieldSchema(); - $xfer += $elem917->read($input); - $this->success []= $elem917; + $elem924 = null; + $elem924 = new \metastore\FieldSchema(); + $xfer += $elem924->read($input); + $this->success []= $elem924; } $xfer += $input->readListEnd(); } else { @@ -17792,9 +17792,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter918) + foreach ($this->success as $iter925) { - $xfer += $iter918->write($output); + $xfer += $iter925->write($output); } } $output->writeListEnd(); @@ -18008,15 +18008,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size919 = 0; - $_etype922 = 0; - $xfer += $input->readListBegin($_etype922, $_size919); - for ($_i923 = 0; $_i923 < $_size919; ++$_i923) + $_size926 = 0; + $_etype929 = 0; + $xfer += $input->readListBegin($_etype929, $_size926); + for ($_i930 = 0; $_i930 < $_size926; ++$_i930) { - $elem924 = null; - $elem924 = new \metastore\FieldSchema(); - $xfer += $elem924->read($input); - $this->success []= $elem924; + $elem931 = null; + $elem931 = new \metastore\FieldSchema(); + $xfer += $elem931->read($input); + $this->success []= $elem931; } $xfer += $input->readListEnd(); } else { @@ -18068,9 +18068,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter925) + foreach ($this->success as $iter932) { - $xfer += $iter925->write($output); + $xfer += $iter932->write($output); } } $output->writeListEnd(); @@ -18312,15 +18312,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size926 = 0; - $_etype929 = 0; - $xfer += $input->readListBegin($_etype929, $_size926); - for ($_i930 = 0; $_i930 < $_size926; ++$_i930) + $_size933 = 0; + $_etype936 = 0; + $xfer += $input->readListBegin($_etype936, $_size933); + for ($_i937 = 0; $_i937 < $_size933; ++$_i937) { - $elem931 = null; - $elem931 = new \metastore\FieldSchema(); - $xfer += $elem931->read($input); - $this->success []= $elem931; + $elem938 = null; + $elem938 = new \metastore\FieldSchema(); + $xfer += $elem938->read($input); + $this->success []= $elem938; } $xfer += $input->readListEnd(); } else { @@ -18372,9 +18372,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter932) + foreach ($this->success as $iter939) { - $xfer += $iter932->write($output); + $xfer += $iter939->write($output); } } $output->writeListEnd(); @@ -19046,15 +19046,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size933 = 0; - $_etype936 = 0; - $xfer += $input->readListBegin($_etype936, $_size933); - for ($_i937 = 0; $_i937 < $_size933; ++$_i937) + $_size940 = 0; + $_etype943 = 0; + $xfer += $input->readListBegin($_etype943, $_size940); + for ($_i944 = 0; $_i944 < $_size940; ++$_i944) { - $elem938 = null; - $elem938 = new \metastore\SQLPrimaryKey(); - $xfer += $elem938->read($input); - $this->primaryKeys []= $elem938; + $elem945 = null; + $elem945 = new \metastore\SQLPrimaryKey(); + $xfer += $elem945->read($input); + $this->primaryKeys []= $elem945; } $xfer += $input->readListEnd(); } else { @@ -19064,15 +19064,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size939 = 0; - $_etype942 = 0; - $xfer += $input->readListBegin($_etype942, $_size939); - for ($_i943 = 0; $_i943 < $_size939; ++$_i943) + $_size946 = 0; + $_etype949 = 0; + $xfer += $input->readListBegin($_etype949, $_size946); + for ($_i950 = 0; $_i950 < $_size946; ++$_i950) { - $elem944 = null; - $elem944 = new \metastore\SQLForeignKey(); - $xfer += $elem944->read($input); - $this->foreignKeys []= $elem944; + $elem951 = null; + $elem951 = new \metastore\SQLForeignKey(); + $xfer += $elem951->read($input); + $this->foreignKeys []= $elem951; } $xfer += $input->readListEnd(); } else { @@ -19082,15 +19082,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size945 = 0; - $_etype948 = 0; - $xfer += $input->readListBegin($_etype948, $_size945); - for ($_i949 = 0; $_i949 < $_size945; ++$_i949) + $_size952 = 0; + $_etype955 = 0; + $xfer += $input->readListBegin($_etype955, $_size952); + for ($_i956 = 0; $_i956 < $_size952; ++$_i956) { - $elem950 = null; - $elem950 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem950->read($input); - $this->uniqueConstraints []= $elem950; + $elem957 = null; + $elem957 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem957->read($input); + $this->uniqueConstraints []= $elem957; } $xfer += $input->readListEnd(); } else { @@ -19100,15 +19100,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size951 = 0; - $_etype954 = 0; - $xfer += $input->readListBegin($_etype954, $_size951); - for ($_i955 = 0; $_i955 < $_size951; ++$_i955) + $_size958 = 0; + $_etype961 = 0; + $xfer += $input->readListBegin($_etype961, $_size958); + for ($_i962 = 0; $_i962 < $_size958; ++$_i962) { - $elem956 = null; - $elem956 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem956->read($input); - $this->notNullConstraints []= $elem956; + $elem963 = null; + $elem963 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem963->read($input); + $this->notNullConstraints []= $elem963; } $xfer += $input->readListEnd(); } else { @@ -19118,15 +19118,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size957 = 0; - $_etype960 = 0; - $xfer += $input->readListBegin($_etype960, $_size957); - for ($_i961 = 0; $_i961 < $_size957; ++$_i961) + $_size964 = 0; + $_etype967 = 0; + $xfer += $input->readListBegin($_etype967, $_size964); + for ($_i968 = 0; $_i968 < $_size964; ++$_i968) { - $elem962 = null; - $elem962 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem962->read($input); - $this->defaultConstraints []= $elem962; + $elem969 = null; + $elem969 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem969->read($input); + $this->defaultConstraints []= $elem969; } $xfer += $input->readListEnd(); } else { @@ -19136,15 +19136,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size963 = 0; - $_etype966 = 0; - $xfer += $input->readListBegin($_etype966, $_size963); - for ($_i967 = 0; $_i967 < $_size963; ++$_i967) + $_size970 = 0; + $_etype973 = 0; + $xfer += $input->readListBegin($_etype973, $_size970); + for ($_i974 = 0; $_i974 < $_size970; ++$_i974) { - $elem968 = null; - $elem968 = new \metastore\SQLCheckConstraint(); - $xfer += $elem968->read($input); - $this->checkConstraints []= $elem968; + $elem975 = null; + $elem975 = new \metastore\SQLCheckConstraint(); + $xfer += $elem975->read($input); + $this->checkConstraints []= $elem975; } $xfer += $input->readListEnd(); } else { @@ -19180,9 +19180,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter969) + foreach ($this->primaryKeys as $iter976) { - $xfer += $iter969->write($output); + $xfer += $iter976->write($output); } } $output->writeListEnd(); @@ -19197,9 +19197,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter970) + foreach ($this->foreignKeys as $iter977) { - $xfer += $iter970->write($output); + $xfer += $iter977->write($output); } } $output->writeListEnd(); @@ -19214,9 +19214,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter971) + foreach ($this->uniqueConstraints as $iter978) { - $xfer += $iter971->write($output); + $xfer += $iter978->write($output); } } $output->writeListEnd(); @@ -19231,9 +19231,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter972) + foreach ($this->notNullConstraints as $iter979) { - $xfer += $iter972->write($output); + $xfer += $iter979->write($output); } } $output->writeListEnd(); @@ -19248,9 +19248,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter973) + foreach ($this->defaultConstraints as $iter980) { - $xfer += $iter973->write($output); + $xfer += $iter980->write($output); } } $output->writeListEnd(); @@ -19265,9 +19265,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter974) + foreach ($this->checkConstraints as $iter981) { - $xfer += $iter974->write($output); + $xfer += $iter981->write($output); } } $output->writeListEnd(); @@ -21267,14 +21267,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size975 = 0; - $_etype978 = 0; - $xfer += $input->readListBegin($_etype978, $_size975); - for ($_i979 = 0; $_i979 < $_size975; ++$_i979) + $_size982 = 0; + $_etype985 = 0; + $xfer += $input->readListBegin($_etype985, $_size982); + for ($_i986 = 0; $_i986 < $_size982; ++$_i986) { - $elem980 = null; - $xfer += $input->readString($elem980); - $this->partNames []= $elem980; + $elem987 = null; + $xfer += $input->readString($elem987); + $this->partNames []= $elem987; } $xfer += $input->readListEnd(); } else { @@ -21312,9 +21312,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter981) + foreach ($this->partNames as $iter988) { - $xfer += $output->writeString($iter981); + $xfer += $output->writeString($iter988); } } $output->writeListEnd(); @@ -21750,14 +21750,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size982 = 0; - $_etype985 = 0; - $xfer += $input->readListBegin($_etype985, $_size982); - for ($_i986 = 0; $_i986 < $_size982; ++$_i986) + $_size989 = 0; + $_etype992 = 0; + $xfer += $input->readListBegin($_etype992, $_size989); + for ($_i993 = 0; $_i993 < $_size989; ++$_i993) { - $elem987 = null; - $xfer += $input->readString($elem987); - $this->success []= $elem987; + $elem994 = null; + $xfer += $input->readString($elem994); + $this->success []= $elem994; } $xfer += $input->readListEnd(); } else { @@ -21793,9 +21793,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter988) + foreach ($this->success as $iter995) { - $xfer += $output->writeString($iter988); + $xfer += $output->writeString($iter995); } } $output->writeListEnd(); @@ -21997,14 +21997,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size989 = 0; - $_etype992 = 0; - $xfer += $input->readListBegin($_etype992, $_size989); - for ($_i993 = 0; $_i993 < $_size989; ++$_i993) + $_size996 = 0; + $_etype999 = 0; + $xfer += $input->readListBegin($_etype999, $_size996); + for ($_i1000 = 0; $_i1000 < $_size996; ++$_i1000) { - $elem994 = null; - $xfer += $input->readString($elem994); - $this->success []= $elem994; + $elem1001 = null; + $xfer += $input->readString($elem1001); + $this->success []= $elem1001; } $xfer += $input->readListEnd(); } else { @@ -22040,9 +22040,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter995) + foreach ($this->success as $iter1002) { - $xfer += $output->writeString($iter995); + $xfer += $output->writeString($iter1002); } } $output->writeListEnd(); @@ -22198,14 +22198,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size996 = 0; - $_etype999 = 0; - $xfer += $input->readListBegin($_etype999, $_size996); - for ($_i1000 = 0; $_i1000 < $_size996; ++$_i1000) + $_size1003 = 0; + $_etype1006 = 0; + $xfer += $input->readListBegin($_etype1006, $_size1003); + for ($_i1007 = 0; $_i1007 < $_size1003; ++$_i1007) { - $elem1001 = null; - $xfer += $input->readString($elem1001); - $this->success []= $elem1001; + $elem1008 = null; + $xfer += $input->readString($elem1008); + $this->success []= $elem1008; } $xfer += $input->readListEnd(); } else { @@ -22241,9 +22241,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1002) + foreach ($this->success as $iter1009) { - $xfer += $output->writeString($iter1002); + $xfer += $output->writeString($iter1009); } } $output->writeListEnd(); @@ -22348,14 +22348,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size1003 = 0; - $_etype1006 = 0; - $xfer += $input->readListBegin($_etype1006, $_size1003); - for ($_i1007 = 0; $_i1007 < $_size1003; ++$_i1007) + $_size1010 = 0; + $_etype1013 = 0; + $xfer += $input->readListBegin($_etype1013, $_size1010); + for ($_i1014 = 0; $_i1014 < $_size1010; ++$_i1014) { - $elem1008 = null; - $xfer += $input->readString($elem1008); - $this->tbl_types []= $elem1008; + $elem1015 = null; + $xfer += $input->readString($elem1015); + $this->tbl_types []= $elem1015; } $xfer += $input->readListEnd(); } else { @@ -22393,9 +22393,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter1009) + foreach ($this->tbl_types as $iter1016) { - $xfer += $output->writeString($iter1009); + $xfer += $output->writeString($iter1016); } } $output->writeListEnd(); @@ -22472,15 +22472,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1010 = 0; - $_etype1013 = 0; - $xfer += $input->readListBegin($_etype1013, $_size1010); - for ($_i1014 = 0; $_i1014 < $_size1010; ++$_i1014) + $_size1017 = 0; + $_etype1020 = 0; + $xfer += $input->readListBegin($_etype1020, $_size1017); + for ($_i1021 = 0; $_i1021 < $_size1017; ++$_i1021) { - $elem1015 = null; - $elem1015 = new \metastore\TableMeta(); - $xfer += $elem1015->read($input); - $this->success []= $elem1015; + $elem1022 = null; + $elem1022 = new \metastore\TableMeta(); + $xfer += $elem1022->read($input); + $this->success []= $elem1022; } $xfer += $input->readListEnd(); } else { @@ -22516,9 +22516,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1016) + foreach ($this->success as $iter1023) { - $xfer += $iter1016->write($output); + $xfer += $iter1023->write($output); } } $output->writeListEnd(); @@ -22674,14 +22674,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1017 = 0; - $_etype1020 = 0; - $xfer += $input->readListBegin($_etype1020, $_size1017); - for ($_i1021 = 0; $_i1021 < $_size1017; ++$_i1021) + $_size1024 = 0; + $_etype1027 = 0; + $xfer += $input->readListBegin($_etype1027, $_size1024); + for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) { - $elem1022 = null; - $xfer += $input->readString($elem1022); - $this->success []= $elem1022; + $elem1029 = null; + $xfer += $input->readString($elem1029); + $this->success []= $elem1029; } $xfer += $input->readListEnd(); } else { @@ -22717,9 +22717,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1023) + foreach ($this->success as $iter1030) { - $xfer += $output->writeString($iter1023); + $xfer += $output->writeString($iter1030); } } $output->writeListEnd(); @@ -23034,14 +23034,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size1024 = 0; - $_etype1027 = 0; - $xfer += $input->readListBegin($_etype1027, $_size1024); - for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) + $_size1031 = 0; + $_etype1034 = 0; + $xfer += $input->readListBegin($_etype1034, $_size1031); + for ($_i1035 = 0; $_i1035 < $_size1031; ++$_i1035) { - $elem1029 = null; - $xfer += $input->readString($elem1029); - $this->tbl_names []= $elem1029; + $elem1036 = null; + $xfer += $input->readString($elem1036); + $this->tbl_names []= $elem1036; } $xfer += $input->readListEnd(); } else { @@ -23074,9 +23074,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter1030) + foreach ($this->tbl_names as $iter1037) { - $xfer += $output->writeString($iter1030); + $xfer += $output->writeString($iter1037); } } $output->writeListEnd(); @@ -23141,15 +23141,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1031 = 0; - $_etype1034 = 0; - $xfer += $input->readListBegin($_etype1034, $_size1031); - for ($_i1035 = 0; $_i1035 < $_size1031; ++$_i1035) + $_size1038 = 0; + $_etype1041 = 0; + $xfer += $input->readListBegin($_etype1041, $_size1038); + for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) { - $elem1036 = null; - $elem1036 = new \metastore\Table(); - $xfer += $elem1036->read($input); - $this->success []= $elem1036; + $elem1043 = null; + $elem1043 = new \metastore\Table(); + $xfer += $elem1043->read($input); + $this->success []= $elem1043; } $xfer += $input->readListEnd(); } else { @@ -23177,9 +23177,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1037) + foreach ($this->success as $iter1044) { - $xfer += $iter1037->write($output); + $xfer += $iter1044->write($output); } } $output->writeListEnd(); @@ -24379,14 +24379,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1038 = 0; - $_etype1041 = 0; - $xfer += $input->readListBegin($_etype1041, $_size1038); - for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) + $_size1045 = 0; + $_etype1048 = 0; + $xfer += $input->readListBegin($_etype1048, $_size1045); + for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) { - $elem1043 = null; - $xfer += $input->readString($elem1043); - $this->success []= $elem1043; + $elem1050 = null; + $xfer += $input->readString($elem1050); + $this->success []= $elem1050; } $xfer += $input->readListEnd(); } else { @@ -24438,9 +24438,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1044) + foreach ($this->success as $iter1051) { - $xfer += $output->writeString($iter1044); + $xfer += $output->writeString($iter1051); } } $output->writeListEnd(); @@ -25963,15 +25963,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1045 = 0; - $_etype1048 = 0; - $xfer += $input->readListBegin($_etype1048, $_size1045); - for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) + $_size1052 = 0; + $_etype1055 = 0; + $xfer += $input->readListBegin($_etype1055, $_size1052); + for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) { - $elem1050 = null; - $elem1050 = new \metastore\Partition(); - $xfer += $elem1050->read($input); - $this->new_parts []= $elem1050; + $elem1057 = null; + $elem1057 = new \metastore\Partition(); + $xfer += $elem1057->read($input); + $this->new_parts []= $elem1057; } $xfer += $input->readListEnd(); } else { @@ -25999,9 +25999,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1051) + foreach ($this->new_parts as $iter1058) { - $xfer += $iter1051->write($output); + $xfer += $iter1058->write($output); } } $output->writeListEnd(); @@ -26216,15 +26216,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1052 = 0; - $_etype1055 = 0; - $xfer += $input->readListBegin($_etype1055, $_size1052); - for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) + $_size1059 = 0; + $_etype1062 = 0; + $xfer += $input->readListBegin($_etype1062, $_size1059); + for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) { - $elem1057 = null; - $elem1057 = new \metastore\PartitionSpec(); - $xfer += $elem1057->read($input); - $this->new_parts []= $elem1057; + $elem1064 = null; + $elem1064 = new \metastore\PartitionSpec(); + $xfer += $elem1064->read($input); + $this->new_parts []= $elem1064; } $xfer += $input->readListEnd(); } else { @@ -26252,9 +26252,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1058) + foreach ($this->new_parts as $iter1065) { - $xfer += $iter1058->write($output); + $xfer += $iter1065->write($output); } } $output->writeListEnd(); @@ -26504,14 +26504,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1059 = 0; - $_etype1062 = 0; - $xfer += $input->readListBegin($_etype1062, $_size1059); - for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) + $_size1066 = 0; + $_etype1069 = 0; + $xfer += $input->readListBegin($_etype1069, $_size1066); + for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) { - $elem1064 = null; - $xfer += $input->readString($elem1064); - $this->part_vals []= $elem1064; + $elem1071 = null; + $xfer += $input->readString($elem1071); + $this->part_vals []= $elem1071; } $xfer += $input->readListEnd(); } else { @@ -26549,9 +26549,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1065) + foreach ($this->part_vals as $iter1072) { - $xfer += $output->writeString($iter1065); + $xfer += $output->writeString($iter1072); } } $output->writeListEnd(); @@ -27053,14 +27053,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1066 = 0; - $_etype1069 = 0; - $xfer += $input->readListBegin($_etype1069, $_size1066); - for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) + $_size1073 = 0; + $_etype1076 = 0; + $xfer += $input->readListBegin($_etype1076, $_size1073); + for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) { - $elem1071 = null; - $xfer += $input->readString($elem1071); - $this->part_vals []= $elem1071; + $elem1078 = null; + $xfer += $input->readString($elem1078); + $this->part_vals []= $elem1078; } $xfer += $input->readListEnd(); } else { @@ -27106,9 +27106,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1072) + foreach ($this->part_vals as $iter1079) { - $xfer += $output->writeString($iter1072); + $xfer += $output->writeString($iter1079); } } $output->writeListEnd(); @@ -27962,14 +27962,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1080 = 0; + $_etype1083 = 0; + $xfer += $input->readListBegin($_etype1083, $_size1080); + for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) { - $elem1078 = null; - $xfer += $input->readString($elem1078); - $this->part_vals []= $elem1078; + $elem1085 = null; + $xfer += $input->readString($elem1085); + $this->part_vals []= $elem1085; } $xfer += $input->readListEnd(); } else { @@ -28014,9 +28014,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1079) + foreach ($this->part_vals as $iter1086) { - $xfer += $output->writeString($iter1079); + $xfer += $output->writeString($iter1086); } } $output->writeListEnd(); @@ -28269,14 +28269,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1080 = 0; - $_etype1083 = 0; - $xfer += $input->readListBegin($_etype1083, $_size1080); - for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) + $_size1087 = 0; + $_etype1090 = 0; + $xfer += $input->readListBegin($_etype1090, $_size1087); + for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) { - $elem1085 = null; - $xfer += $input->readString($elem1085); - $this->part_vals []= $elem1085; + $elem1092 = null; + $xfer += $input->readString($elem1092); + $this->part_vals []= $elem1092; } $xfer += $input->readListEnd(); } else { @@ -28329,9 +28329,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1086) + foreach ($this->part_vals as $iter1093) { - $xfer += $output->writeString($iter1086); + $xfer += $output->writeString($iter1093); } } $output->writeListEnd(); @@ -29345,14 +29345,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1087 = 0; - $_etype1090 = 0; - $xfer += $input->readListBegin($_etype1090, $_size1087); - for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) + $_size1094 = 0; + $_etype1097 = 0; + $xfer += $input->readListBegin($_etype1097, $_size1094); + for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) { - $elem1092 = null; - $xfer += $input->readString($elem1092); - $this->part_vals []= $elem1092; + $elem1099 = null; + $xfer += $input->readString($elem1099); + $this->part_vals []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -29390,9 +29390,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1093) + foreach ($this->part_vals as $iter1100) { - $xfer += $output->writeString($iter1093); + $xfer += $output->writeString($iter1100); } } $output->writeListEnd(); @@ -29634,17 +29634,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1094 = 0; - $_ktype1095 = 0; - $_vtype1096 = 0; - $xfer += $input->readMapBegin($_ktype1095, $_vtype1096, $_size1094); - for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) + $_size1101 = 0; + $_ktype1102 = 0; + $_vtype1103 = 0; + $xfer += $input->readMapBegin($_ktype1102, $_vtype1103, $_size1101); + for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) { - $key1099 = ''; - $val1100 = ''; - $xfer += $input->readString($key1099); - $xfer += $input->readString($val1100); - $this->partitionSpecs[$key1099] = $val1100; + $key1106 = ''; + $val1107 = ''; + $xfer += $input->readString($key1106); + $xfer += $input->readString($val1107); + $this->partitionSpecs[$key1106] = $val1107; } $xfer += $input->readMapEnd(); } else { @@ -29700,10 +29700,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1101 => $viter1102) + foreach ($this->partitionSpecs as $kiter1108 => $viter1109) { - $xfer += $output->writeString($kiter1101); - $xfer += $output->writeString($viter1102); + $xfer += $output->writeString($kiter1108); + $xfer += $output->writeString($viter1109); } } $output->writeMapEnd(); @@ -30015,17 +30015,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1103 = 0; - $_ktype1104 = 0; - $_vtype1105 = 0; - $xfer += $input->readMapBegin($_ktype1104, $_vtype1105, $_size1103); - for ($_i1107 = 0; $_i1107 < $_size1103; ++$_i1107) + $_size1110 = 0; + $_ktype1111 = 0; + $_vtype1112 = 0; + $xfer += $input->readMapBegin($_ktype1111, $_vtype1112, $_size1110); + for ($_i1114 = 0; $_i1114 < $_size1110; ++$_i1114) { - $key1108 = ''; - $val1109 = ''; - $xfer += $input->readString($key1108); - $xfer += $input->readString($val1109); - $this->partitionSpecs[$key1108] = $val1109; + $key1115 = ''; + $val1116 = ''; + $xfer += $input->readString($key1115); + $xfer += $input->readString($val1116); + $this->partitionSpecs[$key1115] = $val1116; } $xfer += $input->readMapEnd(); } else { @@ -30081,10 +30081,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1110 => $viter1111) + foreach ($this->partitionSpecs as $kiter1117 => $viter1118) { - $xfer += $output->writeString($kiter1110); - $xfer += $output->writeString($viter1111); + $xfer += $output->writeString($kiter1117); + $xfer += $output->writeString($viter1118); } } $output->writeMapEnd(); @@ -30217,15 +30217,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1112 = 0; - $_etype1115 = 0; - $xfer += $input->readListBegin($_etype1115, $_size1112); - for ($_i1116 = 0; $_i1116 < $_size1112; ++$_i1116) + $_size1119 = 0; + $_etype1122 = 0; + $xfer += $input->readListBegin($_etype1122, $_size1119); + for ($_i1123 = 0; $_i1123 < $_size1119; ++$_i1123) { - $elem1117 = null; - $elem1117 = new \metastore\Partition(); - $xfer += $elem1117->read($input); - $this->success []= $elem1117; + $elem1124 = null; + $elem1124 = new \metastore\Partition(); + $xfer += $elem1124->read($input); + $this->success []= $elem1124; } $xfer += $input->readListEnd(); } else { @@ -30285,9 +30285,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1118) + foreach ($this->success as $iter1125) { - $xfer += $iter1118->write($output); + $xfer += $iter1125->write($output); } } $output->writeListEnd(); @@ -30433,14 +30433,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1119 = 0; - $_etype1122 = 0; - $xfer += $input->readListBegin($_etype1122, $_size1119); - for ($_i1123 = 0; $_i1123 < $_size1119; ++$_i1123) + $_size1126 = 0; + $_etype1129 = 0; + $xfer += $input->readListBegin($_etype1129, $_size1126); + for ($_i1130 = 0; $_i1130 < $_size1126; ++$_i1130) { - $elem1124 = null; - $xfer += $input->readString($elem1124); - $this->part_vals []= $elem1124; + $elem1131 = null; + $xfer += $input->readString($elem1131); + $this->part_vals []= $elem1131; } $xfer += $input->readListEnd(); } else { @@ -30457,14 +30457,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1125 = 0; - $_etype1128 = 0; - $xfer += $input->readListBegin($_etype1128, $_size1125); - for ($_i1129 = 0; $_i1129 < $_size1125; ++$_i1129) + $_size1132 = 0; + $_etype1135 = 0; + $xfer += $input->readListBegin($_etype1135, $_size1132); + for ($_i1136 = 0; $_i1136 < $_size1132; ++$_i1136) { - $elem1130 = null; - $xfer += $input->readString($elem1130); - $this->group_names []= $elem1130; + $elem1137 = null; + $xfer += $input->readString($elem1137); + $this->group_names []= $elem1137; } $xfer += $input->readListEnd(); } else { @@ -30502,9 +30502,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1131) + foreach ($this->part_vals as $iter1138) { - $xfer += $output->writeString($iter1131); + $xfer += $output->writeString($iter1138); } } $output->writeListEnd(); @@ -30524,9 +30524,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1132) + foreach ($this->group_names as $iter1139) { - $xfer += $output->writeString($iter1132); + $xfer += $output->writeString($iter1139); } } $output->writeListEnd(); @@ -31117,15 +31117,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1133 = 0; - $_etype1136 = 0; - $xfer += $input->readListBegin($_etype1136, $_size1133); - for ($_i1137 = 0; $_i1137 < $_size1133; ++$_i1137) + $_size1140 = 0; + $_etype1143 = 0; + $xfer += $input->readListBegin($_etype1143, $_size1140); + for ($_i1144 = 0; $_i1144 < $_size1140; ++$_i1144) { - $elem1138 = null; - $elem1138 = new \metastore\Partition(); - $xfer += $elem1138->read($input); - $this->success []= $elem1138; + $elem1145 = null; + $elem1145 = new \metastore\Partition(); + $xfer += $elem1145->read($input); + $this->success []= $elem1145; } $xfer += $input->readListEnd(); } else { @@ -31169,9 +31169,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1139) + foreach ($this->success as $iter1146) { - $xfer += $iter1139->write($output); + $xfer += $iter1146->write($output); } } $output->writeListEnd(); @@ -31317,14 +31317,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1140 = 0; - $_etype1143 = 0; - $xfer += $input->readListBegin($_etype1143, $_size1140); - for ($_i1144 = 0; $_i1144 < $_size1140; ++$_i1144) + $_size1147 = 0; + $_etype1150 = 0; + $xfer += $input->readListBegin($_etype1150, $_size1147); + for ($_i1151 = 0; $_i1151 < $_size1147; ++$_i1151) { - $elem1145 = null; - $xfer += $input->readString($elem1145); - $this->group_names []= $elem1145; + $elem1152 = null; + $xfer += $input->readString($elem1152); + $this->group_names []= $elem1152; } $xfer += $input->readListEnd(); } else { @@ -31372,9 +31372,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1146) + foreach ($this->group_names as $iter1153) { - $xfer += $output->writeString($iter1146); + $xfer += $output->writeString($iter1153); } } $output->writeListEnd(); @@ -31463,15 +31463,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1147 = 0; - $_etype1150 = 0; - $xfer += $input->readListBegin($_etype1150, $_size1147); - for ($_i1151 = 0; $_i1151 < $_size1147; ++$_i1151) + $_size1154 = 0; + $_etype1157 = 0; + $xfer += $input->readListBegin($_etype1157, $_size1154); + for ($_i1158 = 0; $_i1158 < $_size1154; ++$_i1158) { - $elem1152 = null; - $elem1152 = new \metastore\Partition(); - $xfer += $elem1152->read($input); - $this->success []= $elem1152; + $elem1159 = null; + $elem1159 = new \metastore\Partition(); + $xfer += $elem1159->read($input); + $this->success []= $elem1159; } $xfer += $input->readListEnd(); } else { @@ -31515,9 +31515,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1153) + foreach ($this->success as $iter1160) { - $xfer += $iter1153->write($output); + $xfer += $iter1160->write($output); } } $output->writeListEnd(); @@ -31737,15 +31737,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1154 = 0; - $_etype1157 = 0; - $xfer += $input->readListBegin($_etype1157, $_size1154); - for ($_i1158 = 0; $_i1158 < $_size1154; ++$_i1158) + $_size1161 = 0; + $_etype1164 = 0; + $xfer += $input->readListBegin($_etype1164, $_size1161); + for ($_i1165 = 0; $_i1165 < $_size1161; ++$_i1165) { - $elem1159 = null; - $elem1159 = new \metastore\PartitionSpec(); - $xfer += $elem1159->read($input); - $this->success []= $elem1159; + $elem1166 = null; + $elem1166 = new \metastore\PartitionSpec(); + $xfer += $elem1166->read($input); + $this->success []= $elem1166; } $xfer += $input->readListEnd(); } else { @@ -31789,9 +31789,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1160) + foreach ($this->success as $iter1167) { - $xfer += $iter1160->write($output); + $xfer += $iter1167->write($output); } } $output->writeListEnd(); @@ -32010,14 +32010,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1161 = 0; - $_etype1164 = 0; - $xfer += $input->readListBegin($_etype1164, $_size1161); - for ($_i1165 = 0; $_i1165 < $_size1161; ++$_i1165) + $_size1168 = 0; + $_etype1171 = 0; + $xfer += $input->readListBegin($_etype1171, $_size1168); + for ($_i1172 = 0; $_i1172 < $_size1168; ++$_i1172) { - $elem1166 = null; - $xfer += $input->readString($elem1166); - $this->success []= $elem1166; + $elem1173 = null; + $xfer += $input->readString($elem1173); + $this->success []= $elem1173; } $xfer += $input->readListEnd(); } else { @@ -32061,9 +32061,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1167) + foreach ($this->success as $iter1174) { - $xfer += $output->writeString($iter1167); + $xfer += $output->writeString($iter1174); } } $output->writeListEnd(); @@ -32394,14 +32394,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1168 = 0; - $_etype1171 = 0; - $xfer += $input->readListBegin($_etype1171, $_size1168); - for ($_i1172 = 0; $_i1172 < $_size1168; ++$_i1172) + $_size1175 = 0; + $_etype1178 = 0; + $xfer += $input->readListBegin($_etype1178, $_size1175); + for ($_i1179 = 0; $_i1179 < $_size1175; ++$_i1179) { - $elem1173 = null; - $xfer += $input->readString($elem1173); - $this->part_vals []= $elem1173; + $elem1180 = null; + $xfer += $input->readString($elem1180); + $this->part_vals []= $elem1180; } $xfer += $input->readListEnd(); } else { @@ -32446,9 +32446,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1174) + foreach ($this->part_vals as $iter1181) { - $xfer += $output->writeString($iter1174); + $xfer += $output->writeString($iter1181); } } $output->writeListEnd(); @@ -32542,15 +32542,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1175 = 0; - $_etype1178 = 0; - $xfer += $input->readListBegin($_etype1178, $_size1175); - for ($_i1179 = 0; $_i1179 < $_size1175; ++$_i1179) + $_size1182 = 0; + $_etype1185 = 0; + $xfer += $input->readListBegin($_etype1185, $_size1182); + for ($_i1186 = 0; $_i1186 < $_size1182; ++$_i1186) { - $elem1180 = null; - $elem1180 = new \metastore\Partition(); - $xfer += $elem1180->read($input); - $this->success []= $elem1180; + $elem1187 = null; + $elem1187 = new \metastore\Partition(); + $xfer += $elem1187->read($input); + $this->success []= $elem1187; } $xfer += $input->readListEnd(); } else { @@ -32594,9 +32594,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1181) + foreach ($this->success as $iter1188) { - $xfer += $iter1181->write($output); + $xfer += $iter1188->write($output); } } $output->writeListEnd(); @@ -32743,14 +32743,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1182 = 0; - $_etype1185 = 0; - $xfer += $input->readListBegin($_etype1185, $_size1182); - for ($_i1186 = 0; $_i1186 < $_size1182; ++$_i1186) + $_size1189 = 0; + $_etype1192 = 0; + $xfer += $input->readListBegin($_etype1192, $_size1189); + for ($_i1193 = 0; $_i1193 < $_size1189; ++$_i1193) { - $elem1187 = null; - $xfer += $input->readString($elem1187); - $this->part_vals []= $elem1187; + $elem1194 = null; + $xfer += $input->readString($elem1194); + $this->part_vals []= $elem1194; } $xfer += $input->readListEnd(); } else { @@ -32774,14 +32774,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1188 = 0; - $_etype1191 = 0; - $xfer += $input->readListBegin($_etype1191, $_size1188); - for ($_i1192 = 0; $_i1192 < $_size1188; ++$_i1192) + $_size1195 = 0; + $_etype1198 = 0; + $xfer += $input->readListBegin($_etype1198, $_size1195); + for ($_i1199 = 0; $_i1199 < $_size1195; ++$_i1199) { - $elem1193 = null; - $xfer += $input->readString($elem1193); - $this->group_names []= $elem1193; + $elem1200 = null; + $xfer += $input->readString($elem1200); + $this->group_names []= $elem1200; } $xfer += $input->readListEnd(); } else { @@ -32819,9 +32819,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1194) + foreach ($this->part_vals as $iter1201) { - $xfer += $output->writeString($iter1194); + $xfer += $output->writeString($iter1201); } } $output->writeListEnd(); @@ -32846,9 +32846,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1195) + foreach ($this->group_names as $iter1202) { - $xfer += $output->writeString($iter1195); + $xfer += $output->writeString($iter1202); } } $output->writeListEnd(); @@ -32937,15 +32937,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1196 = 0; - $_etype1199 = 0; - $xfer += $input->readListBegin($_etype1199, $_size1196); - for ($_i1200 = 0; $_i1200 < $_size1196; ++$_i1200) + $_size1203 = 0; + $_etype1206 = 0; + $xfer += $input->readListBegin($_etype1206, $_size1203); + for ($_i1207 = 0; $_i1207 < $_size1203; ++$_i1207) { - $elem1201 = null; - $elem1201 = new \metastore\Partition(); - $xfer += $elem1201->read($input); - $this->success []= $elem1201; + $elem1208 = null; + $elem1208 = new \metastore\Partition(); + $xfer += $elem1208->read($input); + $this->success []= $elem1208; } $xfer += $input->readListEnd(); } else { @@ -32989,9 +32989,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1202) + foreach ($this->success as $iter1209) { - $xfer += $iter1202->write($output); + $xfer += $iter1209->write($output); } } $output->writeListEnd(); @@ -33112,14 +33112,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1203 = 0; - $_etype1206 = 0; - $xfer += $input->readListBegin($_etype1206, $_size1203); - for ($_i1207 = 0; $_i1207 < $_size1203; ++$_i1207) + $_size1210 = 0; + $_etype1213 = 0; + $xfer += $input->readListBegin($_etype1213, $_size1210); + for ($_i1214 = 0; $_i1214 < $_size1210; ++$_i1214) { - $elem1208 = null; - $xfer += $input->readString($elem1208); - $this->part_vals []= $elem1208; + $elem1215 = null; + $xfer += $input->readString($elem1215); + $this->part_vals []= $elem1215; } $xfer += $input->readListEnd(); } else { @@ -33164,9 +33164,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1209) + foreach ($this->part_vals as $iter1216) { - $xfer += $output->writeString($iter1209); + $xfer += $output->writeString($iter1216); } } $output->writeListEnd(); @@ -33259,14 +33259,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1210 = 0; - $_etype1213 = 0; - $xfer += $input->readListBegin($_etype1213, $_size1210); - for ($_i1214 = 0; $_i1214 < $_size1210; ++$_i1214) + $_size1217 = 0; + $_etype1220 = 0; + $xfer += $input->readListBegin($_etype1220, $_size1217); + for ($_i1221 = 0; $_i1221 < $_size1217; ++$_i1221) { - $elem1215 = null; - $xfer += $input->readString($elem1215); - $this->success []= $elem1215; + $elem1222 = null; + $xfer += $input->readString($elem1222); + $this->success []= $elem1222; } $xfer += $input->readListEnd(); } else { @@ -33310,9 +33310,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1216) + foreach ($this->success as $iter1223) { - $xfer += $output->writeString($iter1216); + $xfer += $output->writeString($iter1223); } } $output->writeListEnd(); @@ -33555,15 +33555,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1217 = 0; - $_etype1220 = 0; - $xfer += $input->readListBegin($_etype1220, $_size1217); - for ($_i1221 = 0; $_i1221 < $_size1217; ++$_i1221) + $_size1224 = 0; + $_etype1227 = 0; + $xfer += $input->readListBegin($_etype1227, $_size1224); + for ($_i1228 = 0; $_i1228 < $_size1224; ++$_i1228) { - $elem1222 = null; - $elem1222 = new \metastore\Partition(); - $xfer += $elem1222->read($input); - $this->success []= $elem1222; + $elem1229 = null; + $elem1229 = new \metastore\Partition(); + $xfer += $elem1229->read($input); + $this->success []= $elem1229; } $xfer += $input->readListEnd(); } else { @@ -33607,9 +33607,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1223) + foreach ($this->success as $iter1230) { - $xfer += $iter1223->write($output); + $xfer += $iter1230->write($output); } } $output->writeListEnd(); @@ -33852,15 +33852,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1224 = 0; - $_etype1227 = 0; - $xfer += $input->readListBegin($_etype1227, $_size1224); - for ($_i1228 = 0; $_i1228 < $_size1224; ++$_i1228) + $_size1231 = 0; + $_etype1234 = 0; + $xfer += $input->readListBegin($_etype1234, $_size1231); + for ($_i1235 = 0; $_i1235 < $_size1231; ++$_i1235) { - $elem1229 = null; - $elem1229 = new \metastore\PartitionSpec(); - $xfer += $elem1229->read($input); - $this->success []= $elem1229; + $elem1236 = null; + $elem1236 = new \metastore\PartitionSpec(); + $xfer += $elem1236->read($input); + $this->success []= $elem1236; } $xfer += $input->readListEnd(); } else { @@ -33904,9 +33904,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1230) + foreach ($this->success as $iter1237) { - $xfer += $iter1230->write($output); + $xfer += $iter1237->write($output); } } $output->writeListEnd(); @@ -34472,14 +34472,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1231 = 0; - $_etype1234 = 0; - $xfer += $input->readListBegin($_etype1234, $_size1231); - for ($_i1235 = 0; $_i1235 < $_size1231; ++$_i1235) + $_size1238 = 0; + $_etype1241 = 0; + $xfer += $input->readListBegin($_etype1241, $_size1238); + for ($_i1242 = 0; $_i1242 < $_size1238; ++$_i1242) { - $elem1236 = null; - $xfer += $input->readString($elem1236); - $this->names []= $elem1236; + $elem1243 = null; + $xfer += $input->readString($elem1243); + $this->names []= $elem1243; } $xfer += $input->readListEnd(); } else { @@ -34517,9 +34517,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1237) + foreach ($this->names as $iter1244) { - $xfer += $output->writeString($iter1237); + $xfer += $output->writeString($iter1244); } } $output->writeListEnd(); @@ -34608,15 +34608,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1238 = 0; - $_etype1241 = 0; - $xfer += $input->readListBegin($_etype1241, $_size1238); - for ($_i1242 = 0; $_i1242 < $_size1238; ++$_i1242) + $_size1245 = 0; + $_etype1248 = 0; + $xfer += $input->readListBegin($_etype1248, $_size1245); + for ($_i1249 = 0; $_i1249 < $_size1245; ++$_i1249) { - $elem1243 = null; - $elem1243 = new \metastore\Partition(); - $xfer += $elem1243->read($input); - $this->success []= $elem1243; + $elem1250 = null; + $elem1250 = new \metastore\Partition(); + $xfer += $elem1250->read($input); + $this->success []= $elem1250; } $xfer += $input->readListEnd(); } else { @@ -34660,9 +34660,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1244) + foreach ($this->success as $iter1251) { - $xfer += $iter1244->write($output); + $xfer += $iter1251->write($output); } } $output->writeListEnd(); @@ -35001,15 +35001,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1245 = 0; - $_etype1248 = 0; - $xfer += $input->readListBegin($_etype1248, $_size1245); - for ($_i1249 = 0; $_i1249 < $_size1245; ++$_i1249) + $_size1252 = 0; + $_etype1255 = 0; + $xfer += $input->readListBegin($_etype1255, $_size1252); + for ($_i1256 = 0; $_i1256 < $_size1252; ++$_i1256) { - $elem1250 = null; - $elem1250 = new \metastore\Partition(); - $xfer += $elem1250->read($input); - $this->new_parts []= $elem1250; + $elem1257 = null; + $elem1257 = new \metastore\Partition(); + $xfer += $elem1257->read($input); + $this->new_parts []= $elem1257; } $xfer += $input->readListEnd(); } else { @@ -35047,9 +35047,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1251) + foreach ($this->new_parts as $iter1258) { - $xfer += $iter1251->write($output); + $xfer += $iter1258->write($output); } } $output->writeListEnd(); @@ -35264,15 +35264,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1252 = 0; - $_etype1255 = 0; - $xfer += $input->readListBegin($_etype1255, $_size1252); - for ($_i1256 = 0; $_i1256 < $_size1252; ++$_i1256) + $_size1259 = 0; + $_etype1262 = 0; + $xfer += $input->readListBegin($_etype1262, $_size1259); + for ($_i1263 = 0; $_i1263 < $_size1259; ++$_i1263) { - $elem1257 = null; - $elem1257 = new \metastore\Partition(); - $xfer += $elem1257->read($input); - $this->new_parts []= $elem1257; + $elem1264 = null; + $elem1264 = new \metastore\Partition(); + $xfer += $elem1264->read($input); + $this->new_parts []= $elem1264; } $xfer += $input->readListEnd(); } else { @@ -35318,9 +35318,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1258) + foreach ($this->new_parts as $iter1265) { - $xfer += $iter1258->write($output); + $xfer += $iter1265->write($output); } } $output->writeListEnd(); @@ -36008,14 +36008,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1259 = 0; - $_etype1262 = 0; - $xfer += $input->readListBegin($_etype1262, $_size1259); - for ($_i1263 = 0; $_i1263 < $_size1259; ++$_i1263) + $_size1266 = 0; + $_etype1269 = 0; + $xfer += $input->readListBegin($_etype1269, $_size1266); + for ($_i1270 = 0; $_i1270 < $_size1266; ++$_i1270) { - $elem1264 = null; - $xfer += $input->readString($elem1264); - $this->part_vals []= $elem1264; + $elem1271 = null; + $xfer += $input->readString($elem1271); + $this->part_vals []= $elem1271; } $xfer += $input->readListEnd(); } else { @@ -36061,9 +36061,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1265) + foreach ($this->part_vals as $iter1272) { - $xfer += $output->writeString($iter1265); + $xfer += $output->writeString($iter1272); } } $output->writeListEnd(); @@ -36458,14 +36458,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1266 = 0; - $_etype1269 = 0; - $xfer += $input->readListBegin($_etype1269, $_size1266); - for ($_i1270 = 0; $_i1270 < $_size1266; ++$_i1270) + $_size1273 = 0; + $_etype1276 = 0; + $xfer += $input->readListBegin($_etype1276, $_size1273); + for ($_i1277 = 0; $_i1277 < $_size1273; ++$_i1277) { - $elem1271 = null; - $xfer += $input->readString($elem1271); - $this->part_vals []= $elem1271; + $elem1278 = null; + $xfer += $input->readString($elem1278); + $this->part_vals []= $elem1278; } $xfer += $input->readListEnd(); } else { @@ -36500,9 +36500,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1272) + foreach ($this->part_vals as $iter1279) { - $xfer += $output->writeString($iter1272); + $xfer += $output->writeString($iter1279); } } $output->writeListEnd(); @@ -36956,14 +36956,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1273 = 0; - $_etype1276 = 0; - $xfer += $input->readListBegin($_etype1276, $_size1273); - for ($_i1277 = 0; $_i1277 < $_size1273; ++$_i1277) + $_size1280 = 0; + $_etype1283 = 0; + $xfer += $input->readListBegin($_etype1283, $_size1280); + for ($_i1284 = 0; $_i1284 < $_size1280; ++$_i1284) { - $elem1278 = null; - $xfer += $input->readString($elem1278); - $this->success []= $elem1278; + $elem1285 = null; + $xfer += $input->readString($elem1285); + $this->success []= $elem1285; } $xfer += $input->readListEnd(); } else { @@ -36999,9 +36999,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1279) + foreach ($this->success as $iter1286) { - $xfer += $output->writeString($iter1279); + $xfer += $output->writeString($iter1286); } } $output->writeListEnd(); @@ -37161,17 +37161,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1280 = 0; - $_ktype1281 = 0; - $_vtype1282 = 0; - $xfer += $input->readMapBegin($_ktype1281, $_vtype1282, $_size1280); - for ($_i1284 = 0; $_i1284 < $_size1280; ++$_i1284) + $_size1287 = 0; + $_ktype1288 = 0; + $_vtype1289 = 0; + $xfer += $input->readMapBegin($_ktype1288, $_vtype1289, $_size1287); + for ($_i1291 = 0; $_i1291 < $_size1287; ++$_i1291) { - $key1285 = ''; - $val1286 = ''; - $xfer += $input->readString($key1285); - $xfer += $input->readString($val1286); - $this->success[$key1285] = $val1286; + $key1292 = ''; + $val1293 = ''; + $xfer += $input->readString($key1292); + $xfer += $input->readString($val1293); + $this->success[$key1292] = $val1293; } $xfer += $input->readMapEnd(); } else { @@ -37207,10 +37207,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1287 => $viter1288) + foreach ($this->success as $kiter1294 => $viter1295) { - $xfer += $output->writeString($kiter1287); - $xfer += $output->writeString($viter1288); + $xfer += $output->writeString($kiter1294); + $xfer += $output->writeString($viter1295); } } $output->writeMapEnd(); @@ -37330,17 +37330,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1289 = 0; - $_ktype1290 = 0; - $_vtype1291 = 0; - $xfer += $input->readMapBegin($_ktype1290, $_vtype1291, $_size1289); - for ($_i1293 = 0; $_i1293 < $_size1289; ++$_i1293) + $_size1296 = 0; + $_ktype1297 = 0; + $_vtype1298 = 0; + $xfer += $input->readMapBegin($_ktype1297, $_vtype1298, $_size1296); + for ($_i1300 = 0; $_i1300 < $_size1296; ++$_i1300) { - $key1294 = ''; - $val1295 = ''; - $xfer += $input->readString($key1294); - $xfer += $input->readString($val1295); - $this->part_vals[$key1294] = $val1295; + $key1301 = ''; + $val1302 = ''; + $xfer += $input->readString($key1301); + $xfer += $input->readString($val1302); + $this->part_vals[$key1301] = $val1302; } $xfer += $input->readMapEnd(); } else { @@ -37385,10 +37385,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1296 => $viter1297) + foreach ($this->part_vals as $kiter1303 => $viter1304) { - $xfer += $output->writeString($kiter1296); - $xfer += $output->writeString($viter1297); + $xfer += $output->writeString($kiter1303); + $xfer += $output->writeString($viter1304); } } $output->writeMapEnd(); @@ -37710,17 +37710,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1298 = 0; - $_ktype1299 = 0; - $_vtype1300 = 0; - $xfer += $input->readMapBegin($_ktype1299, $_vtype1300, $_size1298); - for ($_i1302 = 0; $_i1302 < $_size1298; ++$_i1302) + $_size1305 = 0; + $_ktype1306 = 0; + $_vtype1307 = 0; + $xfer += $input->readMapBegin($_ktype1306, $_vtype1307, $_size1305); + for ($_i1309 = 0; $_i1309 < $_size1305; ++$_i1309) { - $key1303 = ''; - $val1304 = ''; - $xfer += $input->readString($key1303); - $xfer += $input->readString($val1304); - $this->part_vals[$key1303] = $val1304; + $key1310 = ''; + $val1311 = ''; + $xfer += $input->readString($key1310); + $xfer += $input->readString($val1311); + $this->part_vals[$key1310] = $val1311; } $xfer += $input->readMapEnd(); } else { @@ -37765,10 +37765,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1305 => $viter1306) + foreach ($this->part_vals as $kiter1312 => $viter1313) { - $xfer += $output->writeString($kiter1305); - $xfer += $output->writeString($viter1306); + $xfer += $output->writeString($kiter1312); + $xfer += $output->writeString($viter1313); } } $output->writeMapEnd(); @@ -43247,14 +43247,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1307 = 0; - $_etype1310 = 0; - $xfer += $input->readListBegin($_etype1310, $_size1307); - for ($_i1311 = 0; $_i1311 < $_size1307; ++$_i1311) + $_size1314 = 0; + $_etype1317 = 0; + $xfer += $input->readListBegin($_etype1317, $_size1314); + for ($_i1318 = 0; $_i1318 < $_size1314; ++$_i1318) { - $elem1312 = null; - $xfer += $input->readString($elem1312); - $this->success []= $elem1312; + $elem1319 = null; + $xfer += $input->readString($elem1319); + $this->success []= $elem1319; } $xfer += $input->readListEnd(); } else { @@ -43290,9 +43290,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1313) + foreach ($this->success as $iter1320) { - $xfer += $output->writeString($iter1313); + $xfer += $output->writeString($iter1320); } } $output->writeListEnd(); @@ -44161,14 +44161,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1314 = 0; - $_etype1317 = 0; - $xfer += $input->readListBegin($_etype1317, $_size1314); - for ($_i1318 = 0; $_i1318 < $_size1314; ++$_i1318) + $_size1321 = 0; + $_etype1324 = 0; + $xfer += $input->readListBegin($_etype1324, $_size1321); + for ($_i1325 = 0; $_i1325 < $_size1321; ++$_i1325) { - $elem1319 = null; - $xfer += $input->readString($elem1319); - $this->success []= $elem1319; + $elem1326 = null; + $xfer += $input->readString($elem1326); + $this->success []= $elem1326; } $xfer += $input->readListEnd(); } else { @@ -44204,9 +44204,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1320) + foreach ($this->success as $iter1327) { - $xfer += $output->writeString($iter1320); + $xfer += $output->writeString($iter1327); } } $output->writeListEnd(); @@ -44897,15 +44897,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1321 = 0; - $_etype1324 = 0; - $xfer += $input->readListBegin($_etype1324, $_size1321); - for ($_i1325 = 0; $_i1325 < $_size1321; ++$_i1325) + $_size1328 = 0; + $_etype1331 = 0; + $xfer += $input->readListBegin($_etype1331, $_size1328); + for ($_i1332 = 0; $_i1332 < $_size1328; ++$_i1332) { - $elem1326 = null; - $elem1326 = new \metastore\Role(); - $xfer += $elem1326->read($input); - $this->success []= $elem1326; + $elem1333 = null; + $elem1333 = new \metastore\Role(); + $xfer += $elem1333->read($input); + $this->success []= $elem1333; } $xfer += $input->readListEnd(); } else { @@ -44941,9 +44941,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1327) + foreach ($this->success as $iter1334) { - $xfer += $iter1327->write($output); + $xfer += $iter1334->write($output); } } $output->writeListEnd(); @@ -45605,14 +45605,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1328 = 0; - $_etype1331 = 0; - $xfer += $input->readListBegin($_etype1331, $_size1328); - for ($_i1332 = 0; $_i1332 < $_size1328; ++$_i1332) + $_size1335 = 0; + $_etype1338 = 0; + $xfer += $input->readListBegin($_etype1338, $_size1335); + for ($_i1339 = 0; $_i1339 < $_size1335; ++$_i1339) { - $elem1333 = null; - $xfer += $input->readString($elem1333); - $this->group_names []= $elem1333; + $elem1340 = null; + $xfer += $input->readString($elem1340); + $this->group_names []= $elem1340; } $xfer += $input->readListEnd(); } else { @@ -45653,9 +45653,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1334) + foreach ($this->group_names as $iter1341) { - $xfer += $output->writeString($iter1334); + $xfer += $output->writeString($iter1341); } } $output->writeListEnd(); @@ -45963,15 +45963,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1335 = 0; - $_etype1338 = 0; - $xfer += $input->readListBegin($_etype1338, $_size1335); - for ($_i1339 = 0; $_i1339 < $_size1335; ++$_i1339) + $_size1342 = 0; + $_etype1345 = 0; + $xfer += $input->readListBegin($_etype1345, $_size1342); + for ($_i1346 = 0; $_i1346 < $_size1342; ++$_i1346) { - $elem1340 = null; - $elem1340 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1340->read($input); - $this->success []= $elem1340; + $elem1347 = null; + $elem1347 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1347->read($input); + $this->success []= $elem1347; } $xfer += $input->readListEnd(); } else { @@ -46007,9 +46007,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1341) + foreach ($this->success as $iter1348) { - $xfer += $iter1341->write($output); + $xfer += $iter1348->write($output); } } $output->writeListEnd(); @@ -46877,14 +46877,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1342 = 0; - $_etype1345 = 0; - $xfer += $input->readListBegin($_etype1345, $_size1342); - for ($_i1346 = 0; $_i1346 < $_size1342; ++$_i1346) + $_size1349 = 0; + $_etype1352 = 0; + $xfer += $input->readListBegin($_etype1352, $_size1349); + for ($_i1353 = 0; $_i1353 < $_size1349; ++$_i1353) { - $elem1347 = null; - $xfer += $input->readString($elem1347); - $this->group_names []= $elem1347; + $elem1354 = null; + $xfer += $input->readString($elem1354); + $this->group_names []= $elem1354; } $xfer += $input->readListEnd(); } else { @@ -46917,9 +46917,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1348) + foreach ($this->group_names as $iter1355) { - $xfer += $output->writeString($iter1348); + $xfer += $output->writeString($iter1355); } } $output->writeListEnd(); @@ -46995,14 +46995,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1349 = 0; - $_etype1352 = 0; - $xfer += $input->readListBegin($_etype1352, $_size1349); - for ($_i1353 = 0; $_i1353 < $_size1349; ++$_i1353) + $_size1356 = 0; + $_etype1359 = 0; + $xfer += $input->readListBegin($_etype1359, $_size1356); + for ($_i1360 = 0; $_i1360 < $_size1356; ++$_i1360) { - $elem1354 = null; - $xfer += $input->readString($elem1354); - $this->success []= $elem1354; + $elem1361 = null; + $xfer += $input->readString($elem1361); + $this->success []= $elem1361; } $xfer += $input->readListEnd(); } else { @@ -47038,9 +47038,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1355) + foreach ($this->success as $iter1362) { - $xfer += $output->writeString($iter1355); + $xfer += $output->writeString($iter1362); } } $output->writeListEnd(); @@ -48157,14 +48157,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1356 = 0; - $_etype1359 = 0; - $xfer += $input->readListBegin($_etype1359, $_size1356); - for ($_i1360 = 0; $_i1360 < $_size1356; ++$_i1360) + $_size1363 = 0; + $_etype1366 = 0; + $xfer += $input->readListBegin($_etype1366, $_size1363); + for ($_i1367 = 0; $_i1367 < $_size1363; ++$_i1367) { - $elem1361 = null; - $xfer += $input->readString($elem1361); - $this->success []= $elem1361; + $elem1368 = null; + $xfer += $input->readString($elem1368); + $this->success []= $elem1368; } $xfer += $input->readListEnd(); } else { @@ -48192,9 +48192,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1362) + foreach ($this->success as $iter1369) { - $xfer += $output->writeString($iter1362); + $xfer += $output->writeString($iter1369); } } $output->writeListEnd(); @@ -48833,14 +48833,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1363 = 0; - $_etype1366 = 0; - $xfer += $input->readListBegin($_etype1366, $_size1363); - for ($_i1367 = 0; $_i1367 < $_size1363; ++$_i1367) + $_size1370 = 0; + $_etype1373 = 0; + $xfer += $input->readListBegin($_etype1373, $_size1370); + for ($_i1374 = 0; $_i1374 < $_size1370; ++$_i1374) { - $elem1368 = null; - $xfer += $input->readString($elem1368); - $this->success []= $elem1368; + $elem1375 = null; + $xfer += $input->readString($elem1375); + $this->success []= $elem1375; } $xfer += $input->readListEnd(); } else { @@ -48868,9 +48868,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1369) + foreach ($this->success as $iter1376) { - $xfer += $output->writeString($iter1369); + $xfer += $output->writeString($iter1376); } } $output->writeListEnd(); @@ -59699,15 +59699,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1370 = 0; - $_etype1373 = 0; - $xfer += $input->readListBegin($_etype1373, $_size1370); - for ($_i1374 = 0; $_i1374 < $_size1370; ++$_i1374) + $_size1377 = 0; + $_etype1380 = 0; + $xfer += $input->readListBegin($_etype1380, $_size1377); + for ($_i1381 = 0; $_i1381 < $_size1377; ++$_i1381) { - $elem1375 = null; - $elem1375 = new \metastore\SchemaVersion(); - $xfer += $elem1375->read($input); - $this->success []= $elem1375; + $elem1382 = null; + $elem1382 = new \metastore\SchemaVersion(); + $xfer += $elem1382->read($input); + $this->success []= $elem1382; } $xfer += $input->readListEnd(); } else { @@ -59751,9 +59751,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1376) + foreach ($this->success as $iter1383) { - $xfer += $iter1376->write($output); + $xfer += $iter1383->write($output); } } $output->writeListEnd(); @@ -61622,15 +61622,15 @@ class ThriftHiveMetastore_get_runtime_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1377 = 0; - $_etype1380 = 0; - $xfer += $input->readListBegin($_etype1380, $_size1377); - for ($_i1381 = 0; $_i1381 < $_size1377; ++$_i1381) + $_size1384 = 0; + $_etype1387 = 0; + $xfer += $input->readListBegin($_etype1387, $_size1384); + for ($_i1388 = 0; $_i1388 < $_size1384; ++$_i1388) { - $elem1382 = null; - $elem1382 = new \metastore\RuntimeStat(); - $xfer += $elem1382->read($input); - $this->success []= $elem1382; + $elem1389 = null; + $elem1389 = new \metastore\RuntimeStat(); + $xfer += $elem1389->read($input); + $this->success []= $elem1389; } $xfer += $input->readListEnd(); } else { @@ -61666,9 +61666,9 @@ class ThriftHiveMetastore_get_runtime_stats_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1383) + foreach ($this->success as $iter1390) { - $xfer += $iter1383->write($output); + $xfer += $iter1390->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php index bf6dfba0cc..e12992d825 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/Types.php @@ -22103,6 +22103,10 @@ class NotificationEventRequest { * @var int */ public $maxEvents = null; + /** + * @var string[] + */ + public $eventTypeSkipList = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -22115,6 +22119,14 @@ class NotificationEventRequest { 'var' => 'maxEvents', 'type' => TType::I32, ), + 3 => array( + 'var' => 'eventTypeSkipList', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), ); } if (is_array($vals)) { @@ -22124,6 +22136,9 @@ class NotificationEventRequest { if (isset($vals['maxEvents'])) { $this->maxEvents = $vals['maxEvents']; } + if (isset($vals['eventTypeSkipList'])) { + $this->eventTypeSkipList = $vals['eventTypeSkipList']; + } } } @@ -22160,6 +22175,23 @@ class NotificationEventRequest { $xfer += $input->skip($ftype); } break; + case 3: + if ($ftype == TType::LST) { + $this->eventTypeSkipList = array(); + $_size647 = 0; + $_etype650 = 0; + $xfer += $input->readListBegin($_etype650, $_size647); + for ($_i651 = 0; $_i651 < $_size647; ++$_i651) + { + $elem652 = null; + $xfer += $input->readString($elem652); + $this->eventTypeSkipList []= $elem652; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -22183,6 +22215,23 @@ class NotificationEventRequest { $xfer += $output->writeI32($this->maxEvents); $xfer += $output->writeFieldEnd(); } + if ($this->eventTypeSkipList !== null) { + if (!is_array($this->eventTypeSkipList)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('eventTypeSkipList', TType::LST, 3); + { + $output->writeListBegin(TType::STRING, count($this->eventTypeSkipList)); + { + foreach ($this->eventTypeSkipList as $iter653) + { + $xfer += $output->writeString($iter653); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -22477,15 +22526,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size647 = 0; - $_etype650 = 0; - $xfer += $input->readListBegin($_etype650, $_size647); - for ($_i651 = 0; $_i651 < $_size647; ++$_i651) + $_size654 = 0; + $_etype657 = 0; + $xfer += $input->readListBegin($_etype657, $_size654); + for ($_i658 = 0; $_i658 < $_size654; ++$_i658) { - $elem652 = null; - $elem652 = new \metastore\NotificationEvent(); - $xfer += $elem652->read($input); - $this->events []= $elem652; + $elem659 = null; + $elem659 = new \metastore\NotificationEvent(); + $xfer += $elem659->read($input); + $this->events []= $elem659; } $xfer += $input->readListEnd(); } else { @@ -22513,9 +22562,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter653) + foreach ($this->events as $iter660) { - $xfer += $iter653->write($output); + $xfer += $iter660->write($output); } } $output->writeListEnd(); @@ -22944,14 +22993,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size654 = 0; - $_etype657 = 0; - $xfer += $input->readListBegin($_etype657, $_size654); - for ($_i658 = 0; $_i658 < $_size654; ++$_i658) + $_size661 = 0; + $_etype664 = 0; + $xfer += $input->readListBegin($_etype664, $_size661); + for ($_i665 = 0; $_i665 < $_size661; ++$_i665) { - $elem659 = null; - $xfer += $input->readString($elem659); - $this->filesAdded []= $elem659; + $elem666 = null; + $xfer += $input->readString($elem666); + $this->filesAdded []= $elem666; } $xfer += $input->readListEnd(); } else { @@ -22961,14 +23010,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size660 = 0; - $_etype663 = 0; - $xfer += $input->readListBegin($_etype663, $_size660); - for ($_i664 = 0; $_i664 < $_size660; ++$_i664) + $_size667 = 0; + $_etype670 = 0; + $xfer += $input->readListBegin($_etype670, $_size667); + for ($_i671 = 0; $_i671 < $_size667; ++$_i671) { - $elem665 = null; - $xfer += $input->readString($elem665); - $this->filesAddedChecksum []= $elem665; + $elem672 = null; + $xfer += $input->readString($elem672); + $this->filesAddedChecksum []= $elem672; } $xfer += $input->readListEnd(); } else { @@ -22978,14 +23027,14 @@ class InsertEventRequestData { case 4: if ($ftype == TType::LST) { $this->subDirectoryList = array(); - $_size666 = 0; - $_etype669 = 0; - $xfer += $input->readListBegin($_etype669, $_size666); - for ($_i670 = 0; $_i670 < $_size666; ++$_i670) + $_size673 = 0; + $_etype676 = 0; + $xfer += $input->readListBegin($_etype676, $_size673); + for ($_i677 = 0; $_i677 < $_size673; ++$_i677) { - $elem671 = null; - $xfer += $input->readString($elem671); - $this->subDirectoryList []= $elem671; + $elem678 = null; + $xfer += $input->readString($elem678); + $this->subDirectoryList []= $elem678; } $xfer += $input->readListEnd(); } else { @@ -23018,9 +23067,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter672) + foreach ($this->filesAdded as $iter679) { - $xfer += $output->writeString($iter672); + $xfer += $output->writeString($iter679); } } $output->writeListEnd(); @@ -23035,9 +23084,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter673) + foreach ($this->filesAddedChecksum as $iter680) { - $xfer += $output->writeString($iter673); + $xfer += $output->writeString($iter680); } } $output->writeListEnd(); @@ -23052,9 +23101,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->subDirectoryList)); { - foreach ($this->subDirectoryList as $iter674) + foreach ($this->subDirectoryList as $iter681) { - $xfer += $output->writeString($iter674); + $xfer += $output->writeString($iter681); } } $output->writeListEnd(); @@ -23283,14 +23332,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size675 = 0; - $_etype678 = 0; - $xfer += $input->readListBegin($_etype678, $_size675); - for ($_i679 = 0; $_i679 < $_size675; ++$_i679) + $_size682 = 0; + $_etype685 = 0; + $xfer += $input->readListBegin($_etype685, $_size682); + for ($_i686 = 0; $_i686 < $_size682; ++$_i686) { - $elem680 = null; - $xfer += $input->readString($elem680); - $this->partitionVals []= $elem680; + $elem687 = null; + $xfer += $input->readString($elem687); + $this->partitionVals []= $elem687; } $xfer += $input->readListEnd(); } else { @@ -23348,9 +23397,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter681) + foreach ($this->partitionVals as $iter688) { - $xfer += $output->writeString($iter681); + $xfer += $output->writeString($iter688); } } $output->writeListEnd(); @@ -23561,14 +23610,14 @@ class WriteNotificationLogRequest { case 6: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size682 = 0; - $_etype685 = 0; - $xfer += $input->readListBegin($_etype685, $_size682); - for ($_i686 = 0; $_i686 < $_size682; ++$_i686) + $_size689 = 0; + $_etype692 = 0; + $xfer += $input->readListBegin($_etype692, $_size689); + for ($_i693 = 0; $_i693 < $_size689; ++$_i693) { - $elem687 = null; - $xfer += $input->readString($elem687); - $this->partitionVals []= $elem687; + $elem694 = null; + $xfer += $input->readString($elem694); + $this->partitionVals []= $elem694; } $xfer += $input->readListEnd(); } else { @@ -23624,9 +23673,9 @@ class WriteNotificationLogRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter688) + foreach ($this->partitionVals as $iter695) { - $xfer += $output->writeString($iter688); + $xfer += $output->writeString($iter695); } } $output->writeListEnd(); @@ -23854,18 +23903,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size689 = 0; - $_ktype690 = 0; - $_vtype691 = 0; - $xfer += $input->readMapBegin($_ktype690, $_vtype691, $_size689); - for ($_i693 = 0; $_i693 < $_size689; ++$_i693) + $_size696 = 0; + $_ktype697 = 0; + $_vtype698 = 0; + $xfer += $input->readMapBegin($_ktype697, $_vtype698, $_size696); + for ($_i700 = 0; $_i700 < $_size696; ++$_i700) { - $key694 = 0; - $val695 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key694); - $val695 = new \metastore\MetadataPpdResult(); - $xfer += $val695->read($input); - $this->metadata[$key694] = $val695; + $key701 = 0; + $val702 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key701); + $val702 = new \metastore\MetadataPpdResult(); + $xfer += $val702->read($input); + $this->metadata[$key701] = $val702; } $xfer += $input->readMapEnd(); } else { @@ -23900,10 +23949,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter696 => $viter697) + foreach ($this->metadata as $kiter703 => $viter704) { - $xfer += $output->writeI64($kiter696); - $xfer += $viter697->write($output); + $xfer += $output->writeI64($kiter703); + $xfer += $viter704->write($output); } } $output->writeMapEnd(); @@ -24005,14 +24054,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size698 = 0; - $_etype701 = 0; - $xfer += $input->readListBegin($_etype701, $_size698); - for ($_i702 = 0; $_i702 < $_size698; ++$_i702) + $_size705 = 0; + $_etype708 = 0; + $xfer += $input->readListBegin($_etype708, $_size705); + for ($_i709 = 0; $_i709 < $_size705; ++$_i709) { - $elem703 = null; - $xfer += $input->readI64($elem703); - $this->fileIds []= $elem703; + $elem710 = null; + $xfer += $input->readI64($elem710); + $this->fileIds []= $elem710; } $xfer += $input->readListEnd(); } else { @@ -24061,9 +24110,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter704) + foreach ($this->fileIds as $iter711) { - $xfer += $output->writeI64($iter704); + $xfer += $output->writeI64($iter711); } } $output->writeListEnd(); @@ -24157,17 +24206,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size705 = 0; - $_ktype706 = 0; - $_vtype707 = 0; - $xfer += $input->readMapBegin($_ktype706, $_vtype707, $_size705); - for ($_i709 = 0; $_i709 < $_size705; ++$_i709) + $_size712 = 0; + $_ktype713 = 0; + $_vtype714 = 0; + $xfer += $input->readMapBegin($_ktype713, $_vtype714, $_size712); + for ($_i716 = 0; $_i716 < $_size712; ++$_i716) { - $key710 = 0; - $val711 = ''; - $xfer += $input->readI64($key710); - $xfer += $input->readString($val711); - $this->metadata[$key710] = $val711; + $key717 = 0; + $val718 = ''; + $xfer += $input->readI64($key717); + $xfer += $input->readString($val718); + $this->metadata[$key717] = $val718; } $xfer += $input->readMapEnd(); } else { @@ -24202,10 +24251,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter712 => $viter713) + foreach ($this->metadata as $kiter719 => $viter720) { - $xfer += $output->writeI64($kiter712); - $xfer += $output->writeString($viter713); + $xfer += $output->writeI64($kiter719); + $xfer += $output->writeString($viter720); } } $output->writeMapEnd(); @@ -24274,14 +24323,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size714 = 0; - $_etype717 = 0; - $xfer += $input->readListBegin($_etype717, $_size714); - for ($_i718 = 0; $_i718 < $_size714; ++$_i718) + $_size721 = 0; + $_etype724 = 0; + $xfer += $input->readListBegin($_etype724, $_size721); + for ($_i725 = 0; $_i725 < $_size721; ++$_i725) { - $elem719 = null; - $xfer += $input->readI64($elem719); - $this->fileIds []= $elem719; + $elem726 = null; + $xfer += $input->readI64($elem726); + $this->fileIds []= $elem726; } $xfer += $input->readListEnd(); } else { @@ -24309,9 +24358,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter720) + foreach ($this->fileIds as $iter727) { - $xfer += $output->writeI64($iter720); + $xfer += $output->writeI64($iter727); } } $output->writeListEnd(); @@ -24451,14 +24500,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size721 = 0; - $_etype724 = 0; - $xfer += $input->readListBegin($_etype724, $_size721); - for ($_i725 = 0; $_i725 < $_size721; ++$_i725) + $_size728 = 0; + $_etype731 = 0; + $xfer += $input->readListBegin($_etype731, $_size728); + for ($_i732 = 0; $_i732 < $_size728; ++$_i732) { - $elem726 = null; - $xfer += $input->readI64($elem726); - $this->fileIds []= $elem726; + $elem733 = null; + $xfer += $input->readI64($elem733); + $this->fileIds []= $elem733; } $xfer += $input->readListEnd(); } else { @@ -24468,14 +24517,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size727 = 0; - $_etype730 = 0; - $xfer += $input->readListBegin($_etype730, $_size727); - for ($_i731 = 0; $_i731 < $_size727; ++$_i731) + $_size734 = 0; + $_etype737 = 0; + $xfer += $input->readListBegin($_etype737, $_size734); + for ($_i738 = 0; $_i738 < $_size734; ++$_i738) { - $elem732 = null; - $xfer += $input->readString($elem732); - $this->metadata []= $elem732; + $elem739 = null; + $xfer += $input->readString($elem739); + $this->metadata []= $elem739; } $xfer += $input->readListEnd(); } else { @@ -24510,9 +24559,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter733) + foreach ($this->fileIds as $iter740) { - $xfer += $output->writeI64($iter733); + $xfer += $output->writeI64($iter740); } } $output->writeListEnd(); @@ -24527,9 +24576,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter734) + foreach ($this->metadata as $iter741) { - $xfer += $output->writeString($iter734); + $xfer += $output->writeString($iter741); } } $output->writeListEnd(); @@ -24648,14 +24697,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size735 = 0; - $_etype738 = 0; - $xfer += $input->readListBegin($_etype738, $_size735); - for ($_i739 = 0; $_i739 < $_size735; ++$_i739) + $_size742 = 0; + $_etype745 = 0; + $xfer += $input->readListBegin($_etype745, $_size742); + for ($_i746 = 0; $_i746 < $_size742; ++$_i746) { - $elem740 = null; - $xfer += $input->readI64($elem740); - $this->fileIds []= $elem740; + $elem747 = null; + $xfer += $input->readI64($elem747); + $this->fileIds []= $elem747; } $xfer += $input->readListEnd(); } else { @@ -24683,9 +24732,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter741) + foreach ($this->fileIds as $iter748) { - $xfer += $output->writeI64($iter741); + $xfer += $output->writeI64($iter748); } } $output->writeListEnd(); @@ -24969,15 +25018,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size742 = 0; - $_etype745 = 0; - $xfer += $input->readListBegin($_etype745, $_size742); - for ($_i746 = 0; $_i746 < $_size742; ++$_i746) + $_size749 = 0; + $_etype752 = 0; + $xfer += $input->readListBegin($_etype752, $_size749); + for ($_i753 = 0; $_i753 < $_size749; ++$_i753) { - $elem747 = null; - $elem747 = new \metastore\Function(); - $xfer += $elem747->read($input); - $this->functions []= $elem747; + $elem754 = null; + $elem754 = new \metastore\Function(); + $xfer += $elem754->read($input); + $this->functions []= $elem754; } $xfer += $input->readListEnd(); } else { @@ -25005,9 +25054,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter748) + foreach ($this->functions as $iter755) { - $xfer += $iter748->write($output); + $xfer += $iter755->write($output); } } $output->writeListEnd(); @@ -25071,14 +25120,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size749 = 0; - $_etype752 = 0; - $xfer += $input->readListBegin($_etype752, $_size749); - for ($_i753 = 0; $_i753 < $_size749; ++$_i753) + $_size756 = 0; + $_etype759 = 0; + $xfer += $input->readListBegin($_etype759, $_size756); + for ($_i760 = 0; $_i760 < $_size756; ++$_i760) { - $elem754 = null; - $xfer += $input->readI32($elem754); - $this->values []= $elem754; + $elem761 = null; + $xfer += $input->readI32($elem761); + $this->values []= $elem761; } $xfer += $input->readListEnd(); } else { @@ -25106,9 +25155,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter755) + foreach ($this->values as $iter762) { - $xfer += $output->writeI32($iter755); + $xfer += $output->writeI32($iter762); } } $output->writeListEnd(); @@ -25488,14 +25537,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = array(); - $_size756 = 0; - $_etype759 = 0; - $xfer += $input->readListBegin($_etype759, $_size756); - for ($_i760 = 0; $_i760 < $_size756; ++$_i760) + $_size763 = 0; + $_etype766 = 0; + $xfer += $input->readListBegin($_etype766, $_size763); + for ($_i767 = 0; $_i767 < $_size763; ++$_i767) { - $elem761 = null; - $xfer += $input->readString($elem761); - $this->tblNames []= $elem761; + $elem768 = null; + $xfer += $input->readString($elem768); + $this->tblNames []= $elem768; } $xfer += $input->readListEnd(); } else { @@ -25543,9 +25592,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter762) + foreach ($this->tblNames as $iter769) { - $xfer += $output->writeString($iter762); + $xfer += $output->writeString($iter769); } } $output->writeListEnd(); @@ -25623,15 +25672,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size763 = 0; - $_etype766 = 0; - $xfer += $input->readListBegin($_etype766, $_size763); - for ($_i767 = 0; $_i767 < $_size763; ++$_i767) + $_size770 = 0; + $_etype773 = 0; + $xfer += $input->readListBegin($_etype773, $_size770); + for ($_i774 = 0; $_i774 < $_size770; ++$_i774) { - $elem768 = null; - $elem768 = new \metastore\Table(); - $xfer += $elem768->read($input); - $this->tables []= $elem768; + $elem775 = null; + $elem775 = new \metastore\Table(); + $xfer += $elem775->read($input); + $this->tables []= $elem775; } $xfer += $input->readListEnd(); } else { @@ -25659,9 +25708,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter769) + foreach ($this->tables as $iter776) { - $xfer += $iter769->write($output); + $xfer += $iter776->write($output); } } $output->writeListEnd(); @@ -27468,15 +27517,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size770 = 0; - $_etype773 = 0; - $xfer += $input->readListBegin($_etype773, $_size770); - for ($_i774 = 0; $_i774 < $_size770; ++$_i774) + $_size777 = 0; + $_etype780 = 0; + $xfer += $input->readListBegin($_etype780, $_size777); + for ($_i781 = 0; $_i781 < $_size777; ++$_i781) { - $elem775 = null; - $elem775 = new \metastore\WMPool(); - $xfer += $elem775->read($input); - $this->pools []= $elem775; + $elem782 = null; + $elem782 = new \metastore\WMPool(); + $xfer += $elem782->read($input); + $this->pools []= $elem782; } $xfer += $input->readListEnd(); } else { @@ -27486,15 +27535,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size776 = 0; - $_etype779 = 0; - $xfer += $input->readListBegin($_etype779, $_size776); - for ($_i780 = 0; $_i780 < $_size776; ++$_i780) + $_size783 = 0; + $_etype786 = 0; + $xfer += $input->readListBegin($_etype786, $_size783); + for ($_i787 = 0; $_i787 < $_size783; ++$_i787) { - $elem781 = null; - $elem781 = new \metastore\WMMapping(); - $xfer += $elem781->read($input); - $this->mappings []= $elem781; + $elem788 = null; + $elem788 = new \metastore\WMMapping(); + $xfer += $elem788->read($input); + $this->mappings []= $elem788; } $xfer += $input->readListEnd(); } else { @@ -27504,15 +27553,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size782 = 0; - $_etype785 = 0; - $xfer += $input->readListBegin($_etype785, $_size782); - for ($_i786 = 0; $_i786 < $_size782; ++$_i786) + $_size789 = 0; + $_etype792 = 0; + $xfer += $input->readListBegin($_etype792, $_size789); + for ($_i793 = 0; $_i793 < $_size789; ++$_i793) { - $elem787 = null; - $elem787 = new \metastore\WMTrigger(); - $xfer += $elem787->read($input); - $this->triggers []= $elem787; + $elem794 = null; + $elem794 = new \metastore\WMTrigger(); + $xfer += $elem794->read($input); + $this->triggers []= $elem794; } $xfer += $input->readListEnd(); } else { @@ -27522,15 +27571,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size788 = 0; - $_etype791 = 0; - $xfer += $input->readListBegin($_etype791, $_size788); - for ($_i792 = 0; $_i792 < $_size788; ++$_i792) + $_size795 = 0; + $_etype798 = 0; + $xfer += $input->readListBegin($_etype798, $_size795); + for ($_i799 = 0; $_i799 < $_size795; ++$_i799) { - $elem793 = null; - $elem793 = new \metastore\WMPoolTrigger(); - $xfer += $elem793->read($input); - $this->poolTriggers []= $elem793; + $elem800 = null; + $elem800 = new \metastore\WMPoolTrigger(); + $xfer += $elem800->read($input); + $this->poolTriggers []= $elem800; } $xfer += $input->readListEnd(); } else { @@ -27566,9 +27615,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter794) + foreach ($this->pools as $iter801) { - $xfer += $iter794->write($output); + $xfer += $iter801->write($output); } } $output->writeListEnd(); @@ -27583,9 +27632,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter795) + foreach ($this->mappings as $iter802) { - $xfer += $iter795->write($output); + $xfer += $iter802->write($output); } } $output->writeListEnd(); @@ -27600,9 +27649,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter796) + foreach ($this->triggers as $iter803) { - $xfer += $iter796->write($output); + $xfer += $iter803->write($output); } } $output->writeListEnd(); @@ -27617,9 +27666,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter797) + foreach ($this->poolTriggers as $iter804) { - $xfer += $iter797->write($output); + $xfer += $iter804->write($output); } } $output->writeListEnd(); @@ -28245,15 +28294,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size798 = 0; - $_etype801 = 0; - $xfer += $input->readListBegin($_etype801, $_size798); - for ($_i802 = 0; $_i802 < $_size798; ++$_i802) + $_size805 = 0; + $_etype808 = 0; + $xfer += $input->readListBegin($_etype808, $_size805); + for ($_i809 = 0; $_i809 < $_size805; ++$_i809) { - $elem803 = null; - $elem803 = new \metastore\WMResourcePlan(); - $xfer += $elem803->read($input); - $this->resourcePlans []= $elem803; + $elem810 = null; + $elem810 = new \metastore\WMResourcePlan(); + $xfer += $elem810->read($input); + $this->resourcePlans []= $elem810; } $xfer += $input->readListEnd(); } else { @@ -28281,9 +28330,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter804) + foreach ($this->resourcePlans as $iter811) { - $xfer += $iter804->write($output); + $xfer += $iter811->write($output); } } $output->writeListEnd(); @@ -28735,14 +28784,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size805 = 0; - $_etype808 = 0; - $xfer += $input->readListBegin($_etype808, $_size805); - for ($_i809 = 0; $_i809 < $_size805; ++$_i809) + $_size812 = 0; + $_etype815 = 0; + $xfer += $input->readListBegin($_etype815, $_size812); + for ($_i816 = 0; $_i816 < $_size812; ++$_i816) { - $elem810 = null; - $xfer += $input->readString($elem810); - $this->errors []= $elem810; + $elem817 = null; + $xfer += $input->readString($elem817); + $this->errors []= $elem817; } $xfer += $input->readListEnd(); } else { @@ -28752,14 +28801,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size811 = 0; - $_etype814 = 0; - $xfer += $input->readListBegin($_etype814, $_size811); - for ($_i815 = 0; $_i815 < $_size811; ++$_i815) + $_size818 = 0; + $_etype821 = 0; + $xfer += $input->readListBegin($_etype821, $_size818); + for ($_i822 = 0; $_i822 < $_size818; ++$_i822) { - $elem816 = null; - $xfer += $input->readString($elem816); - $this->warnings []= $elem816; + $elem823 = null; + $xfer += $input->readString($elem823); + $this->warnings []= $elem823; } $xfer += $input->readListEnd(); } else { @@ -28787,9 +28836,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter817) + foreach ($this->errors as $iter824) { - $xfer += $output->writeString($iter817); + $xfer += $output->writeString($iter824); } } $output->writeListEnd(); @@ -28804,9 +28853,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter818) + foreach ($this->warnings as $iter825) { - $xfer += $output->writeString($iter818); + $xfer += $output->writeString($iter825); } } $output->writeListEnd(); @@ -29548,15 +29597,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size819 = 0; - $_etype822 = 0; - $xfer += $input->readListBegin($_etype822, $_size819); - for ($_i823 = 0; $_i823 < $_size819; ++$_i823) + $_size826 = 0; + $_etype829 = 0; + $xfer += $input->readListBegin($_etype829, $_size826); + for ($_i830 = 0; $_i830 < $_size826; ++$_i830) { - $elem824 = null; - $elem824 = new \metastore\WMTrigger(); - $xfer += $elem824->read($input); - $this->triggers []= $elem824; + $elem831 = null; + $elem831 = new \metastore\WMTrigger(); + $xfer += $elem831->read($input); + $this->triggers []= $elem831; } $xfer += $input->readListEnd(); } else { @@ -29584,9 +29633,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter825) + foreach ($this->triggers as $iter832) { - $xfer += $iter825->write($output); + $xfer += $iter832->write($output); } } $output->writeListEnd(); @@ -31216,15 +31265,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = array(); - $_size826 = 0; - $_etype829 = 0; - $xfer += $input->readListBegin($_etype829, $_size826); - for ($_i830 = 0; $_i830 < $_size826; ++$_i830) + $_size833 = 0; + $_etype836 = 0; + $xfer += $input->readListBegin($_etype836, $_size833); + for ($_i837 = 0; $_i837 < $_size833; ++$_i837) { - $elem831 = null; - $elem831 = new \metastore\FieldSchema(); - $xfer += $elem831->read($input); - $this->cols []= $elem831; + $elem838 = null; + $elem838 = new \metastore\FieldSchema(); + $xfer += $elem838->read($input); + $this->cols []= $elem838; } $xfer += $input->readListEnd(); } else { @@ -31313,9 +31362,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter832) + foreach ($this->cols as $iter839) { - $xfer += $iter832->write($output); + $xfer += $iter839->write($output); } } $output->writeListEnd(); @@ -31637,15 +31686,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = array(); - $_size833 = 0; - $_etype836 = 0; - $xfer += $input->readListBegin($_etype836, $_size833); - for ($_i837 = 0; $_i837 < $_size833; ++$_i837) + $_size840 = 0; + $_etype843 = 0; + $xfer += $input->readListBegin($_etype843, $_size840); + for ($_i844 = 0; $_i844 < $_size840; ++$_i844) { - $elem838 = null; - $elem838 = new \metastore\SchemaVersionDescriptor(); - $xfer += $elem838->read($input); - $this->schemaVersions []= $elem838; + $elem845 = null; + $elem845 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem845->read($input); + $this->schemaVersions []= $elem845; } $xfer += $input->readListEnd(); } else { @@ -31673,9 +31722,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter839) + foreach ($this->schemaVersions as $iter846) { - $xfer += $iter839->write($output); + $xfer += $iter846->write($output); } } $output->writeListEnd(); @@ -32328,15 +32377,15 @@ class AlterPartitionsRequest { case 4: if ($ftype == TType::LST) { $this->partitions = array(); - $_size840 = 0; - $_etype843 = 0; - $xfer += $input->readListBegin($_etype843, $_size840); - for ($_i844 = 0; $_i844 < $_size840; ++$_i844) + $_size847 = 0; + $_etype850 = 0; + $xfer += $input->readListBegin($_etype850, $_size847); + for ($_i851 = 0; $_i851 < $_size847; ++$_i851) { - $elem845 = null; - $elem845 = new \metastore\Partition(); - $xfer += $elem845->read($input); - $this->partitions []= $elem845; + $elem852 = null; + $elem852 = new \metastore\Partition(); + $xfer += $elem852->read($input); + $this->partitions []= $elem852; } $xfer += $input->readListEnd(); } else { @@ -32401,9 +32450,9 @@ class AlterPartitionsRequest { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter846) + foreach ($this->partitions as $iter853) { - $xfer += $iter846->write($output); + $xfer += $iter853->write($output); } } $output->writeListEnd(); @@ -32612,14 +32661,14 @@ class RenamePartitionRequest { case 4: if ($ftype == TType::LST) { $this->partVals = array(); - $_size847 = 0; - $_etype850 = 0; - $xfer += $input->readListBegin($_etype850, $_size847); - for ($_i851 = 0; $_i851 < $_size847; ++$_i851) + $_size854 = 0; + $_etype857 = 0; + $xfer += $input->readListBegin($_etype857, $_size854); + for ($_i858 = 0; $_i858 < $_size854; ++$_i858) { - $elem852 = null; - $xfer += $input->readString($elem852); - $this->partVals []= $elem852; + $elem859 = null; + $xfer += $input->readString($elem859); + $this->partVals []= $elem859; } $xfer += $input->readListEnd(); } else { @@ -32677,9 +32726,9 @@ class RenamePartitionRequest { { $output->writeListBegin(TType::STRING, count($this->partVals)); { - foreach ($this->partVals as $iter853) + foreach ($this->partVals as $iter860) { - $xfer += $output->writeString($iter853); + $xfer += $output->writeString($iter860); } } $output->writeListEnd(); @@ -33101,14 +33150,14 @@ class GetPartitionsProjectionSpec { case 1: if ($ftype == TType::LST) { $this->fieldList = array(); - $_size854 = 0; - $_etype857 = 0; - $xfer += $input->readListBegin($_etype857, $_size854); - for ($_i858 = 0; $_i858 < $_size854; ++$_i858) + $_size861 = 0; + $_etype864 = 0; + $xfer += $input->readListBegin($_etype864, $_size861); + for ($_i865 = 0; $_i865 < $_size861; ++$_i865) { - $elem859 = null; - $xfer += $input->readString($elem859); - $this->fieldList []= $elem859; + $elem866 = null; + $xfer += $input->readString($elem866); + $this->fieldList []= $elem866; } $xfer += $input->readListEnd(); } else { @@ -33150,9 +33199,9 @@ class GetPartitionsProjectionSpec { { $output->writeListBegin(TType::STRING, count($this->fieldList)); { - foreach ($this->fieldList as $iter860) + foreach ($this->fieldList as $iter867) { - $xfer += $output->writeString($iter860); + $xfer += $output->writeString($iter867); } } $output->writeListEnd(); @@ -33244,14 +33293,14 @@ class GetPartitionsFilterSpec { case 8: if ($ftype == TType::LST) { $this->filters = array(); - $_size861 = 0; - $_etype864 = 0; - $xfer += $input->readListBegin($_etype864, $_size861); - for ($_i865 = 0; $_i865 < $_size861; ++$_i865) + $_size868 = 0; + $_etype871 = 0; + $xfer += $input->readListBegin($_etype871, $_size868); + for ($_i872 = 0; $_i872 < $_size868; ++$_i872) { - $elem866 = null; - $xfer += $input->readString($elem866); - $this->filters []= $elem866; + $elem873 = null; + $xfer += $input->readString($elem873); + $this->filters []= $elem873; } $xfer += $input->readListEnd(); } else { @@ -33284,9 +33333,9 @@ class GetPartitionsFilterSpec { { $output->writeListBegin(TType::STRING, count($this->filters)); { - foreach ($this->filters as $iter867) + foreach ($this->filters as $iter874) { - $xfer += $output->writeString($iter867); + $xfer += $output->writeString($iter874); } } $output->writeListEnd(); @@ -33351,15 +33400,15 @@ class GetPartitionsResponse { case 1: if ($ftype == TType::LST) { $this->partitionSpec = array(); - $_size868 = 0; - $_etype871 = 0; - $xfer += $input->readListBegin($_etype871, $_size868); - for ($_i872 = 0; $_i872 < $_size868; ++$_i872) + $_size875 = 0; + $_etype878 = 0; + $xfer += $input->readListBegin($_etype878, $_size875); + for ($_i879 = 0; $_i879 < $_size875; ++$_i879) { - $elem873 = null; - $elem873 = new \metastore\PartitionSpec(); - $xfer += $elem873->read($input); - $this->partitionSpec []= $elem873; + $elem880 = null; + $elem880 = new \metastore\PartitionSpec(); + $xfer += $elem880->read($input); + $this->partitionSpec []= $elem880; } $xfer += $input->readListEnd(); } else { @@ -33387,9 +33436,9 @@ class GetPartitionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->partitionSpec)); { - foreach ($this->partitionSpec as $iter874) + foreach ($this->partitionSpec as $iter881) { - $xfer += $iter874->write($output); + $xfer += $iter881->write($output); } } $output->writeListEnd(); @@ -33567,14 +33616,14 @@ class GetPartitionsRequest { case 6: if ($ftype == TType::LST) { $this->groupNames = array(); - $_size875 = 0; - $_etype878 = 0; - $xfer += $input->readListBegin($_etype878, $_size875); - for ($_i879 = 0; $_i879 < $_size875; ++$_i879) + $_size882 = 0; + $_etype885 = 0; + $xfer += $input->readListBegin($_etype885, $_size882); + for ($_i886 = 0; $_i886 < $_size882; ++$_i886) { - $elem880 = null; - $xfer += $input->readString($elem880); - $this->groupNames []= $elem880; + $elem887 = null; + $xfer += $input->readString($elem887); + $this->groupNames []= $elem887; } $xfer += $input->readListEnd(); } else { @@ -33643,9 +33692,9 @@ class GetPartitionsRequest { { $output->writeListBegin(TType::STRING, count($this->groupNames)); { - foreach ($this->groupNames as $iter881) + foreach ($this->groupNames as $iter888) { - $xfer += $output->writeString($iter881); + $xfer += $output->writeString($iter888); } } $output->writeListEnd(); diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 9ec122180d..a896849989 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -16531,10 +16531,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype882, _size879) = iprot.readListBegin() - for _i883 in xrange(_size879): - _elem884 = iprot.readString() - self.success.append(_elem884) + (_etype889, _size886) = iprot.readListBegin() + for _i890 in xrange(_size886): + _elem891 = iprot.readString() + self.success.append(_elem891) iprot.readListEnd() else: iprot.skip(ftype) @@ -16557,8 +16557,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 iter885 in self.success: - oprot.writeString(iter885) + for iter892 in self.success: + oprot.writeString(iter892) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16663,10 +16663,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype889, _size886) = iprot.readListBegin() - for _i890 in xrange(_size886): - _elem891 = iprot.readString() - self.success.append(_elem891) + (_etype896, _size893) = iprot.readListBegin() + for _i897 in xrange(_size893): + _elem898 = iprot.readString() + self.success.append(_elem898) iprot.readListEnd() else: iprot.skip(ftype) @@ -16689,8 +16689,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 iter892 in self.success: - oprot.writeString(iter892) + for iter899 in self.success: + oprot.writeString(iter899) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17460,12 +17460,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype894, _vtype895, _size893 ) = iprot.readMapBegin() - for _i897 in xrange(_size893): - _key898 = iprot.readString() - _val899 = Type() - _val899.read(iprot) - self.success[_key898] = _val899 + (_ktype901, _vtype902, _size900 ) = iprot.readMapBegin() + for _i904 in xrange(_size900): + _key905 = iprot.readString() + _val906 = Type() + _val906.read(iprot) + self.success[_key905] = _val906 iprot.readMapEnd() else: iprot.skip(ftype) @@ -17488,9 +17488,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter900,viter901 in self.success.items(): - oprot.writeString(kiter900) - viter901.write(oprot) + for kiter907,viter908 in self.success.items(): + oprot.writeString(kiter907) + viter908.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -17633,11 +17633,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype905, _size902) = iprot.readListBegin() - for _i906 in xrange(_size902): - _elem907 = FieldSchema() - _elem907.read(iprot) - self.success.append(_elem907) + (_etype912, _size909) = iprot.readListBegin() + for _i913 in xrange(_size909): + _elem914 = FieldSchema() + _elem914.read(iprot) + self.success.append(_elem914) iprot.readListEnd() else: iprot.skip(ftype) @@ -17672,8 +17672,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 iter908 in self.success: - iter908.write(oprot) + for iter915 in self.success: + iter915.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17840,11 +17840,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype912, _size909) = iprot.readListBegin() - for _i913 in xrange(_size909): - _elem914 = FieldSchema() - _elem914.read(iprot) - self.success.append(_elem914) + (_etype919, _size916) = iprot.readListBegin() + for _i920 in xrange(_size916): + _elem921 = FieldSchema() + _elem921.read(iprot) + self.success.append(_elem921) iprot.readListEnd() else: iprot.skip(ftype) @@ -17879,8 +17879,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 iter915 in self.success: - iter915.write(oprot) + for iter922 in self.success: + iter922.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18033,11 +18033,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype919, _size916) = iprot.readListBegin() - for _i920 in xrange(_size916): - _elem921 = FieldSchema() - _elem921.read(iprot) - self.success.append(_elem921) + (_etype926, _size923) = iprot.readListBegin() + for _i927 in xrange(_size923): + _elem928 = FieldSchema() + _elem928.read(iprot) + self.success.append(_elem928) iprot.readListEnd() else: iprot.skip(ftype) @@ -18072,8 +18072,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 iter922 in self.success: - iter922.write(oprot) + for iter929 in self.success: + iter929.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18240,11 +18240,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype926, _size923) = iprot.readListBegin() - for _i927 in xrange(_size923): - _elem928 = FieldSchema() - _elem928.read(iprot) - self.success.append(_elem928) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = FieldSchema() + _elem935.read(iprot) + self.success.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -18279,8 +18279,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 iter929 in self.success: - iter929.write(oprot) + for iter936 in self.success: + iter936.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18733,66 +18733,66 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype933, _size930) = iprot.readListBegin() - for _i934 in xrange(_size930): - _elem935 = SQLPrimaryKey() - _elem935.read(iprot) - self.primaryKeys.append(_elem935) + (_etype940, _size937) = iprot.readListBegin() + for _i941 in xrange(_size937): + _elem942 = SQLPrimaryKey() + _elem942.read(iprot) + self.primaryKeys.append(_elem942) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype939, _size936) = iprot.readListBegin() - for _i940 in xrange(_size936): - _elem941 = SQLForeignKey() - _elem941.read(iprot) - self.foreignKeys.append(_elem941) + (_etype946, _size943) = iprot.readListBegin() + for _i947 in xrange(_size943): + _elem948 = SQLForeignKey() + _elem948.read(iprot) + self.foreignKeys.append(_elem948) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype945, _size942) = iprot.readListBegin() - for _i946 in xrange(_size942): - _elem947 = SQLUniqueConstraint() - _elem947.read(iprot) - self.uniqueConstraints.append(_elem947) + (_etype952, _size949) = iprot.readListBegin() + for _i953 in xrange(_size949): + _elem954 = SQLUniqueConstraint() + _elem954.read(iprot) + self.uniqueConstraints.append(_elem954) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype951, _size948) = iprot.readListBegin() - for _i952 in xrange(_size948): - _elem953 = SQLNotNullConstraint() - _elem953.read(iprot) - self.notNullConstraints.append(_elem953) + (_etype958, _size955) = iprot.readListBegin() + for _i959 in xrange(_size955): + _elem960 = SQLNotNullConstraint() + _elem960.read(iprot) + self.notNullConstraints.append(_elem960) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype957, _size954) = iprot.readListBegin() - for _i958 in xrange(_size954): - _elem959 = SQLDefaultConstraint() - _elem959.read(iprot) - self.defaultConstraints.append(_elem959) + (_etype964, _size961) = iprot.readListBegin() + for _i965 in xrange(_size961): + _elem966 = SQLDefaultConstraint() + _elem966.read(iprot) + self.defaultConstraints.append(_elem966) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.checkConstraints = [] - (_etype963, _size960) = iprot.readListBegin() - for _i964 in xrange(_size960): - _elem965 = SQLCheckConstraint() - _elem965.read(iprot) - self.checkConstraints.append(_elem965) + (_etype970, _size967) = iprot.readListBegin() + for _i971 in xrange(_size967): + _elem972 = SQLCheckConstraint() + _elem972.read(iprot) + self.checkConstraints.append(_elem972) iprot.readListEnd() else: iprot.skip(ftype) @@ -18813,43 +18813,43 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter966 in self.primaryKeys: - iter966.write(oprot) + for iter973 in self.primaryKeys: + iter973.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.foreignKeys is not None: oprot.writeFieldBegin('foreignKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) - for iter967 in self.foreignKeys: - iter967.write(oprot) + for iter974 in self.foreignKeys: + iter974.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.uniqueConstraints is not None: oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints)) - for iter968 in self.uniqueConstraints: - iter968.write(oprot) + for iter975 in self.uniqueConstraints: + iter975.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.notNullConstraints is not None: oprot.writeFieldBegin('notNullConstraints', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints)) - for iter969 in self.notNullConstraints: - iter969.write(oprot) + for iter976 in self.notNullConstraints: + iter976.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.defaultConstraints is not None: oprot.writeFieldBegin('defaultConstraints', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraints)) - for iter970 in self.defaultConstraints: - iter970.write(oprot) + for iter977 in self.defaultConstraints: + iter977.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.checkConstraints is not None: oprot.writeFieldBegin('checkConstraints', TType.LIST, 7) oprot.writeListBegin(TType.STRUCT, len(self.checkConstraints)) - for iter971 in self.checkConstraints: - iter971.write(oprot) + for iter978 in self.checkConstraints: + iter978.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20409,10 +20409,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype975, _size972) = iprot.readListBegin() - for _i976 in xrange(_size972): - _elem977 = iprot.readString() - self.partNames.append(_elem977) + (_etype982, _size979) = iprot.readListBegin() + for _i983 in xrange(_size979): + _elem984 = iprot.readString() + self.partNames.append(_elem984) iprot.readListEnd() else: iprot.skip(ftype) @@ -20437,8 +20437,8 @@ def write(self, oprot): if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter978 in self.partNames: - oprot.writeString(iter978) + for iter985 in self.partNames: + oprot.writeString(iter985) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20783,10 +20783,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype982, _size979) = iprot.readListBegin() - for _i983 in xrange(_size979): - _elem984 = iprot.readString() - self.success.append(_elem984) + (_etype989, _size986) = iprot.readListBegin() + for _i990 in xrange(_size986): + _elem991 = iprot.readString() + self.success.append(_elem991) iprot.readListEnd() else: iprot.skip(ftype) @@ -20809,8 +20809,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 iter985 in self.success: - oprot.writeString(iter985) + for iter992 in self.success: + oprot.writeString(iter992) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20960,10 +20960,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype989, _size986) = iprot.readListBegin() - for _i990 in xrange(_size986): - _elem991 = iprot.readString() - self.success.append(_elem991) + (_etype996, _size993) = iprot.readListBegin() + for _i997 in xrange(_size993): + _elem998 = iprot.readString() + self.success.append(_elem998) iprot.readListEnd() else: iprot.skip(ftype) @@ -20986,8 +20986,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 iter992 in self.success: - oprot.writeString(iter992) + for iter999 in self.success: + oprot.writeString(iter999) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21111,10 +21111,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype996, _size993) = iprot.readListBegin() - for _i997 in xrange(_size993): - _elem998 = iprot.readString() - self.success.append(_elem998) + (_etype1003, _size1000) = iprot.readListBegin() + for _i1004 in xrange(_size1000): + _elem1005 = iprot.readString() + self.success.append(_elem1005) iprot.readListEnd() else: iprot.skip(ftype) @@ -21137,8 +21137,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 iter999 in self.success: - oprot.writeString(iter999) + for iter1006 in self.success: + oprot.writeString(iter1006) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21211,10 +21211,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype1003, _size1000) = iprot.readListBegin() - for _i1004 in xrange(_size1000): - _elem1005 = iprot.readString() - self.tbl_types.append(_elem1005) + (_etype1010, _size1007) = iprot.readListBegin() + for _i1011 in xrange(_size1007): + _elem1012 = iprot.readString() + self.tbl_types.append(_elem1012) iprot.readListEnd() else: iprot.skip(ftype) @@ -21239,8 +21239,8 @@ def write(self, oprot): if self.tbl_types is not None: oprot.writeFieldBegin('tbl_types', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.tbl_types)) - for iter1006 in self.tbl_types: - oprot.writeString(iter1006) + for iter1013 in self.tbl_types: + oprot.writeString(iter1013) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21296,11 +21296,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1010, _size1007) = iprot.readListBegin() - for _i1011 in xrange(_size1007): - _elem1012 = TableMeta() - _elem1012.read(iprot) - self.success.append(_elem1012) + (_etype1017, _size1014) = iprot.readListBegin() + for _i1018 in xrange(_size1014): + _elem1019 = TableMeta() + _elem1019.read(iprot) + self.success.append(_elem1019) iprot.readListEnd() else: iprot.skip(ftype) @@ -21323,8 +21323,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 iter1013 in self.success: - iter1013.write(oprot) + for iter1020 in self.success: + iter1020.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21448,10 +21448,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1017, _size1014) = iprot.readListBegin() - for _i1018 in xrange(_size1014): - _elem1019 = iprot.readString() - self.success.append(_elem1019) + (_etype1024, _size1021) = iprot.readListBegin() + for _i1025 in xrange(_size1021): + _elem1026 = iprot.readString() + self.success.append(_elem1026) iprot.readListEnd() else: iprot.skip(ftype) @@ -21474,8 +21474,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 iter1020 in self.success: - oprot.writeString(iter1020) + for iter1027 in self.success: + oprot.writeString(iter1027) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21711,10 +21711,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype1024, _size1021) = iprot.readListBegin() - for _i1025 in xrange(_size1021): - _elem1026 = iprot.readString() - self.tbl_names.append(_elem1026) + (_etype1031, _size1028) = iprot.readListBegin() + for _i1032 in xrange(_size1028): + _elem1033 = iprot.readString() + self.tbl_names.append(_elem1033) iprot.readListEnd() else: iprot.skip(ftype) @@ -21735,8 +21735,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 iter1027 in self.tbl_names: - oprot.writeString(iter1027) + for iter1034 in self.tbl_names: + oprot.writeString(iter1034) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21788,11 +21788,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1031, _size1028) = iprot.readListBegin() - for _i1032 in xrange(_size1028): - _elem1033 = Table() - _elem1033.read(iprot) - self.success.append(_elem1033) + (_etype1038, _size1035) = iprot.readListBegin() + for _i1039 in xrange(_size1035): + _elem1040 = Table() + _elem1040.read(iprot) + self.success.append(_elem1040) iprot.readListEnd() else: iprot.skip(ftype) @@ -21809,8 +21809,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 iter1034 in self.success: - iter1034.write(oprot) + for iter1041 in self.success: + iter1041.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22678,10 +22678,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1038, _size1035) = iprot.readListBegin() - for _i1039 in xrange(_size1035): - _elem1040 = iprot.readString() - self.success.append(_elem1040) + (_etype1045, _size1042) = iprot.readListBegin() + for _i1046 in xrange(_size1042): + _elem1047 = iprot.readString() + self.success.append(_elem1047) iprot.readListEnd() else: iprot.skip(ftype) @@ -22716,8 +22716,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 iter1041 in self.success: - oprot.writeString(iter1041) + for iter1048 in self.success: + oprot.writeString(iter1048) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23846,11 +23846,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1045, _size1042) = iprot.readListBegin() - for _i1046 in xrange(_size1042): - _elem1047 = Partition() - _elem1047.read(iprot) - self.new_parts.append(_elem1047) + (_etype1052, _size1049) = iprot.readListBegin() + for _i1053 in xrange(_size1049): + _elem1054 = Partition() + _elem1054.read(iprot) + self.new_parts.append(_elem1054) iprot.readListEnd() else: iprot.skip(ftype) @@ -23867,8 +23867,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 iter1048 in self.new_parts: - iter1048.write(oprot) + for iter1055 in self.new_parts: + iter1055.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24026,11 +24026,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1052, _size1049) = iprot.readListBegin() - for _i1053 in xrange(_size1049): - _elem1054 = PartitionSpec() - _elem1054.read(iprot) - self.new_parts.append(_elem1054) + (_etype1059, _size1056) = iprot.readListBegin() + for _i1060 in xrange(_size1056): + _elem1061 = PartitionSpec() + _elem1061.read(iprot) + self.new_parts.append(_elem1061) iprot.readListEnd() else: iprot.skip(ftype) @@ -24047,8 +24047,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 iter1055 in self.new_parts: - iter1055.write(oprot) + for iter1062 in self.new_parts: + iter1062.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24222,10 +24222,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1059, _size1056) = iprot.readListBegin() - for _i1060 in xrange(_size1056): - _elem1061 = iprot.readString() - self.part_vals.append(_elem1061) + (_etype1066, _size1063) = iprot.readListBegin() + for _i1067 in xrange(_size1063): + _elem1068 = iprot.readString() + self.part_vals.append(_elem1068) iprot.readListEnd() else: iprot.skip(ftype) @@ -24250,8 +24250,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 iter1062 in self.part_vals: - oprot.writeString(iter1062) + for iter1069 in self.part_vals: + oprot.writeString(iter1069) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24604,10 +24604,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1066, _size1063) = iprot.readListBegin() - for _i1067 in xrange(_size1063): - _elem1068 = iprot.readString() - self.part_vals.append(_elem1068) + (_etype1073, _size1070) = iprot.readListBegin() + for _i1074 in xrange(_size1070): + _elem1075 = iprot.readString() + self.part_vals.append(_elem1075) iprot.readListEnd() else: iprot.skip(ftype) @@ -24638,8 +24638,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 iter1069 in self.part_vals: - oprot.writeString(iter1069) + for iter1076 in self.part_vals: + oprot.writeString(iter1076) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -25234,10 +25234,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1073, _size1070) = iprot.readListBegin() - for _i1074 in xrange(_size1070): - _elem1075 = iprot.readString() - self.part_vals.append(_elem1075) + (_etype1080, _size1077) = iprot.readListBegin() + for _i1081 in xrange(_size1077): + _elem1082 = iprot.readString() + self.part_vals.append(_elem1082) iprot.readListEnd() else: iprot.skip(ftype) @@ -25267,8 +25267,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 iter1076 in self.part_vals: - oprot.writeString(iter1076) + for iter1083 in self.part_vals: + oprot.writeString(iter1083) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -25441,10 +25441,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1080, _size1077) = iprot.readListBegin() - for _i1081 in xrange(_size1077): - _elem1082 = iprot.readString() - self.part_vals.append(_elem1082) + (_etype1087, _size1084) = iprot.readListBegin() + for _i1088 in xrange(_size1084): + _elem1089 = iprot.readString() + self.part_vals.append(_elem1089) iprot.readListEnd() else: iprot.skip(ftype) @@ -25480,8 +25480,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 iter1083 in self.part_vals: - oprot.writeString(iter1083) + for iter1090 in self.part_vals: + oprot.writeString(iter1090) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -26218,10 +26218,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1087, _size1084) = iprot.readListBegin() - for _i1088 in xrange(_size1084): - _elem1089 = iprot.readString() - self.part_vals.append(_elem1089) + (_etype1094, _size1091) = iprot.readListBegin() + for _i1095 in xrange(_size1091): + _elem1096 = iprot.readString() + self.part_vals.append(_elem1096) iprot.readListEnd() else: iprot.skip(ftype) @@ -26246,8 +26246,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 iter1090 in self.part_vals: - oprot.writeString(iter1090) + for iter1097 in self.part_vals: + oprot.writeString(iter1097) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26406,11 +26406,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1092, _vtype1093, _size1091 ) = iprot.readMapBegin() - for _i1095 in xrange(_size1091): - _key1096 = iprot.readString() - _val1097 = iprot.readString() - self.partitionSpecs[_key1096] = _val1097 + (_ktype1099, _vtype1100, _size1098 ) = iprot.readMapBegin() + for _i1102 in xrange(_size1098): + _key1103 = iprot.readString() + _val1104 = iprot.readString() + self.partitionSpecs[_key1103] = _val1104 iprot.readMapEnd() else: iprot.skip(ftype) @@ -26447,9 +26447,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 kiter1098,viter1099 in self.partitionSpecs.items(): - oprot.writeString(kiter1098) - oprot.writeString(viter1099) + for kiter1105,viter1106 in self.partitionSpecs.items(): + oprot.writeString(kiter1105) + oprot.writeString(viter1106) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -26654,11 +26654,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1101, _vtype1102, _size1100 ) = iprot.readMapBegin() - for _i1104 in xrange(_size1100): - _key1105 = iprot.readString() - _val1106 = iprot.readString() - self.partitionSpecs[_key1105] = _val1106 + (_ktype1108, _vtype1109, _size1107 ) = iprot.readMapBegin() + for _i1111 in xrange(_size1107): + _key1112 = iprot.readString() + _val1113 = iprot.readString() + self.partitionSpecs[_key1112] = _val1113 iprot.readMapEnd() else: iprot.skip(ftype) @@ -26695,9 +26695,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 kiter1107,viter1108 in self.partitionSpecs.items(): - oprot.writeString(kiter1107) - oprot.writeString(viter1108) + for kiter1114,viter1115 in self.partitionSpecs.items(): + oprot.writeString(kiter1114) + oprot.writeString(viter1115) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -26780,11 +26780,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1112, _size1109) = iprot.readListBegin() - for _i1113 in xrange(_size1109): - _elem1114 = Partition() - _elem1114.read(iprot) - self.success.append(_elem1114) + (_etype1119, _size1116) = iprot.readListBegin() + for _i1120 in xrange(_size1116): + _elem1121 = Partition() + _elem1121.read(iprot) + self.success.append(_elem1121) iprot.readListEnd() else: iprot.skip(ftype) @@ -26825,8 +26825,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 iter1115 in self.success: - iter1115.write(oprot) + for iter1122 in self.success: + iter1122.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26920,10 +26920,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1119, _size1116) = iprot.readListBegin() - for _i1120 in xrange(_size1116): - _elem1121 = iprot.readString() - self.part_vals.append(_elem1121) + (_etype1126, _size1123) = iprot.readListBegin() + for _i1127 in xrange(_size1123): + _elem1128 = iprot.readString() + self.part_vals.append(_elem1128) iprot.readListEnd() else: iprot.skip(ftype) @@ -26935,10 +26935,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1125, _size1122) = iprot.readListBegin() - for _i1126 in xrange(_size1122): - _elem1127 = iprot.readString() - self.group_names.append(_elem1127) + (_etype1132, _size1129) = iprot.readListBegin() + for _i1133 in xrange(_size1129): + _elem1134 = iprot.readString() + self.group_names.append(_elem1134) iprot.readListEnd() else: iprot.skip(ftype) @@ -26963,8 +26963,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 iter1128 in self.part_vals: - oprot.writeString(iter1128) + for iter1135 in self.part_vals: + oprot.writeString(iter1135) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -26974,8 +26974,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 iter1129 in self.group_names: - oprot.writeString(iter1129) + for iter1136 in self.group_names: + oprot.writeString(iter1136) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27404,11 +27404,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1133, _size1130) = iprot.readListBegin() - for _i1134 in xrange(_size1130): - _elem1135 = Partition() - _elem1135.read(iprot) - self.success.append(_elem1135) + (_etype1140, _size1137) = iprot.readListBegin() + for _i1141 in xrange(_size1137): + _elem1142 = Partition() + _elem1142.read(iprot) + self.success.append(_elem1142) iprot.readListEnd() else: iprot.skip(ftype) @@ -27437,8 +27437,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 iter1136 in self.success: - iter1136.write(oprot) + for iter1143 in self.success: + iter1143.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27532,10 +27532,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1140, _size1137) = iprot.readListBegin() - for _i1141 in xrange(_size1137): - _elem1142 = iprot.readString() - self.group_names.append(_elem1142) + (_etype1147, _size1144) = iprot.readListBegin() + for _i1148 in xrange(_size1144): + _elem1149 = iprot.readString() + self.group_names.append(_elem1149) iprot.readListEnd() else: iprot.skip(ftype) @@ -27568,8 +27568,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 iter1143 in self.group_names: - oprot.writeString(iter1143) + for iter1150 in self.group_names: + oprot.writeString(iter1150) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27630,11 +27630,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1147, _size1144) = iprot.readListBegin() - for _i1148 in xrange(_size1144): - _elem1149 = Partition() - _elem1149.read(iprot) - self.success.append(_elem1149) + (_etype1154, _size1151) = iprot.readListBegin() + for _i1155 in xrange(_size1151): + _elem1156 = Partition() + _elem1156.read(iprot) + self.success.append(_elem1156) iprot.readListEnd() else: iprot.skip(ftype) @@ -27663,8 +27663,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 iter1150 in self.success: - iter1150.write(oprot) + for iter1157 in self.success: + iter1157.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27822,11 +27822,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1154, _size1151) = iprot.readListBegin() - for _i1155 in xrange(_size1151): - _elem1156 = PartitionSpec() - _elem1156.read(iprot) - self.success.append(_elem1156) + (_etype1161, _size1158) = iprot.readListBegin() + for _i1162 in xrange(_size1158): + _elem1163 = PartitionSpec() + _elem1163.read(iprot) + self.success.append(_elem1163) iprot.readListEnd() else: iprot.skip(ftype) @@ -27855,8 +27855,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 iter1157 in self.success: - iter1157.write(oprot) + for iter1164 in self.success: + iter1164.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28014,10 +28014,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1161, _size1158) = iprot.readListBegin() - for _i1162 in xrange(_size1158): - _elem1163 = iprot.readString() - self.success.append(_elem1163) + (_etype1168, _size1165) = iprot.readListBegin() + for _i1169 in xrange(_size1165): + _elem1170 = iprot.readString() + self.success.append(_elem1170) iprot.readListEnd() else: iprot.skip(ftype) @@ -28046,8 +28046,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 iter1164 in self.success: - oprot.writeString(iter1164) + for iter1171 in self.success: + oprot.writeString(iter1171) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28287,10 +28287,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1168, _size1165) = iprot.readListBegin() - for _i1169 in xrange(_size1165): - _elem1170 = iprot.readString() - self.part_vals.append(_elem1170) + (_etype1175, _size1172) = iprot.readListBegin() + for _i1176 in xrange(_size1172): + _elem1177 = iprot.readString() + self.part_vals.append(_elem1177) iprot.readListEnd() else: iprot.skip(ftype) @@ -28320,8 +28320,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 iter1171 in self.part_vals: - oprot.writeString(iter1171) + for iter1178 in self.part_vals: + oprot.writeString(iter1178) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -28385,11 +28385,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1175, _size1172) = iprot.readListBegin() - for _i1176 in xrange(_size1172): - _elem1177 = Partition() - _elem1177.read(iprot) - self.success.append(_elem1177) + (_etype1182, _size1179) = iprot.readListBegin() + for _i1183 in xrange(_size1179): + _elem1184 = Partition() + _elem1184.read(iprot) + self.success.append(_elem1184) iprot.readListEnd() else: iprot.skip(ftype) @@ -28418,8 +28418,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 iter1178 in self.success: - iter1178.write(oprot) + for iter1185 in self.success: + iter1185.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28506,10 +28506,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1182, _size1179) = iprot.readListBegin() - for _i1183 in xrange(_size1179): - _elem1184 = iprot.readString() - self.part_vals.append(_elem1184) + (_etype1189, _size1186) = iprot.readListBegin() + for _i1190 in xrange(_size1186): + _elem1191 = iprot.readString() + self.part_vals.append(_elem1191) iprot.readListEnd() else: iprot.skip(ftype) @@ -28526,10 +28526,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1188, _size1185) = iprot.readListBegin() - for _i1189 in xrange(_size1185): - _elem1190 = iprot.readString() - self.group_names.append(_elem1190) + (_etype1195, _size1192) = iprot.readListBegin() + for _i1196 in xrange(_size1192): + _elem1197 = iprot.readString() + self.group_names.append(_elem1197) iprot.readListEnd() else: iprot.skip(ftype) @@ -28554,8 +28554,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 iter1191 in self.part_vals: - oprot.writeString(iter1191) + for iter1198 in self.part_vals: + oprot.writeString(iter1198) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -28569,8 +28569,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 iter1192 in self.group_names: - oprot.writeString(iter1192) + for iter1199 in self.group_names: + oprot.writeString(iter1199) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28632,11 +28632,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1196, _size1193) = iprot.readListBegin() - for _i1197 in xrange(_size1193): - _elem1198 = Partition() - _elem1198.read(iprot) - self.success.append(_elem1198) + (_etype1203, _size1200) = iprot.readListBegin() + for _i1204 in xrange(_size1200): + _elem1205 = Partition() + _elem1205.read(iprot) + self.success.append(_elem1205) iprot.readListEnd() else: iprot.skip(ftype) @@ -28665,8 +28665,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 iter1199 in self.success: - iter1199.write(oprot) + for iter1206 in self.success: + iter1206.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28747,10 +28747,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1203, _size1200) = iprot.readListBegin() - for _i1204 in xrange(_size1200): - _elem1205 = iprot.readString() - self.part_vals.append(_elem1205) + (_etype1210, _size1207) = iprot.readListBegin() + for _i1211 in xrange(_size1207): + _elem1212 = iprot.readString() + self.part_vals.append(_elem1212) iprot.readListEnd() else: iprot.skip(ftype) @@ -28780,8 +28780,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 iter1206 in self.part_vals: - oprot.writeString(iter1206) + for iter1213 in self.part_vals: + oprot.writeString(iter1213) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -28845,10 +28845,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1210, _size1207) = iprot.readListBegin() - for _i1211 in xrange(_size1207): - _elem1212 = iprot.readString() - self.success.append(_elem1212) + (_etype1217, _size1214) = iprot.readListBegin() + for _i1218 in xrange(_size1214): + _elem1219 = iprot.readString() + self.success.append(_elem1219) iprot.readListEnd() else: iprot.skip(ftype) @@ -28877,8 +28877,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 iter1213 in self.success: - oprot.writeString(iter1213) + for iter1220 in self.success: + oprot.writeString(iter1220) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29049,11 +29049,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1217, _size1214) = iprot.readListBegin() - for _i1218 in xrange(_size1214): - _elem1219 = Partition() - _elem1219.read(iprot) - self.success.append(_elem1219) + (_etype1224, _size1221) = iprot.readListBegin() + for _i1225 in xrange(_size1221): + _elem1226 = Partition() + _elem1226.read(iprot) + self.success.append(_elem1226) iprot.readListEnd() else: iprot.skip(ftype) @@ -29082,8 +29082,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 iter1220 in self.success: - iter1220.write(oprot) + for iter1227 in self.success: + iter1227.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29254,11 +29254,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1224, _size1221) = iprot.readListBegin() - for _i1225 in xrange(_size1221): - _elem1226 = PartitionSpec() - _elem1226.read(iprot) - self.success.append(_elem1226) + (_etype1231, _size1228) = iprot.readListBegin() + for _i1232 in xrange(_size1228): + _elem1233 = PartitionSpec() + _elem1233.read(iprot) + self.success.append(_elem1233) iprot.readListEnd() else: iprot.skip(ftype) @@ -29287,8 +29287,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 iter1227 in self.success: - iter1227.write(oprot) + for iter1234 in self.success: + iter1234.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29708,10 +29708,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1231, _size1228) = iprot.readListBegin() - for _i1232 in xrange(_size1228): - _elem1233 = iprot.readString() - self.names.append(_elem1233) + (_etype1238, _size1235) = iprot.readListBegin() + for _i1239 in xrange(_size1235): + _elem1240 = iprot.readString() + self.names.append(_elem1240) iprot.readListEnd() else: iprot.skip(ftype) @@ -29736,8 +29736,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 iter1234 in self.names: - oprot.writeString(iter1234) + for iter1241 in self.names: + oprot.writeString(iter1241) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29796,11 +29796,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1238, _size1235) = iprot.readListBegin() - for _i1239 in xrange(_size1235): - _elem1240 = Partition() - _elem1240.read(iprot) - self.success.append(_elem1240) + (_etype1245, _size1242) = iprot.readListBegin() + for _i1246 in xrange(_size1242): + _elem1247 = Partition() + _elem1247.read(iprot) + self.success.append(_elem1247) iprot.readListEnd() else: iprot.skip(ftype) @@ -29829,8 +29829,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 iter1241 in self.success: - iter1241.write(oprot) + for iter1248 in self.success: + iter1248.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30080,11 +30080,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1245, _size1242) = iprot.readListBegin() - for _i1246 in xrange(_size1242): - _elem1247 = Partition() - _elem1247.read(iprot) - self.new_parts.append(_elem1247) + (_etype1252, _size1249) = iprot.readListBegin() + for _i1253 in xrange(_size1249): + _elem1254 = Partition() + _elem1254.read(iprot) + self.new_parts.append(_elem1254) iprot.readListEnd() else: iprot.skip(ftype) @@ -30109,8 +30109,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 iter1248 in self.new_parts: - iter1248.write(oprot) + for iter1255 in self.new_parts: + iter1255.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30263,11 +30263,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1252, _size1249) = iprot.readListBegin() - for _i1253 in xrange(_size1249): - _elem1254 = Partition() - _elem1254.read(iprot) - self.new_parts.append(_elem1254) + (_etype1259, _size1256) = iprot.readListBegin() + for _i1260 in xrange(_size1256): + _elem1261 = Partition() + _elem1261.read(iprot) + self.new_parts.append(_elem1261) iprot.readListEnd() else: iprot.skip(ftype) @@ -30298,8 +30298,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 iter1255 in self.new_parts: - iter1255.write(oprot) + for iter1262 in self.new_parts: + iter1262.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -30802,10 +30802,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1259, _size1256) = iprot.readListBegin() - for _i1260 in xrange(_size1256): - _elem1261 = iprot.readString() - self.part_vals.append(_elem1261) + (_etype1266, _size1263) = iprot.readListBegin() + for _i1267 in xrange(_size1263): + _elem1268 = iprot.readString() + self.part_vals.append(_elem1268) iprot.readListEnd() else: iprot.skip(ftype) @@ -30836,8 +30836,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 iter1262 in self.part_vals: - oprot.writeString(iter1262) + for iter1269 in self.part_vals: + oprot.writeString(iter1269) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -31138,10 +31138,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1266, _size1263) = iprot.readListBegin() - for _i1267 in xrange(_size1263): - _elem1268 = iprot.readString() - self.part_vals.append(_elem1268) + (_etype1273, _size1270) = iprot.readListBegin() + for _i1274 in xrange(_size1270): + _elem1275 = iprot.readString() + self.part_vals.append(_elem1275) iprot.readListEnd() else: iprot.skip(ftype) @@ -31163,8 +31163,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 iter1269 in self.part_vals: - oprot.writeString(iter1269) + for iter1276 in self.part_vals: + oprot.writeString(iter1276) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -31522,10 +31522,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1273, _size1270) = iprot.readListBegin() - for _i1274 in xrange(_size1270): - _elem1275 = iprot.readString() - self.success.append(_elem1275) + (_etype1280, _size1277) = iprot.readListBegin() + for _i1281 in xrange(_size1277): + _elem1282 = iprot.readString() + self.success.append(_elem1282) iprot.readListEnd() else: iprot.skip(ftype) @@ -31548,8 +31548,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 iter1276 in self.success: - oprot.writeString(iter1276) + for iter1283 in self.success: + oprot.writeString(iter1283) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -31673,11 +31673,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1278, _vtype1279, _size1277 ) = iprot.readMapBegin() - for _i1281 in xrange(_size1277): - _key1282 = iprot.readString() - _val1283 = iprot.readString() - self.success[_key1282] = _val1283 + (_ktype1285, _vtype1286, _size1284 ) = iprot.readMapBegin() + for _i1288 in xrange(_size1284): + _key1289 = iprot.readString() + _val1290 = iprot.readString() + self.success[_key1289] = _val1290 iprot.readMapEnd() else: iprot.skip(ftype) @@ -31700,9 +31700,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 kiter1284,viter1285 in self.success.items(): - oprot.writeString(kiter1284) - oprot.writeString(viter1285) + for kiter1291,viter1292 in self.success.items(): + oprot.writeString(kiter1291) + oprot.writeString(viter1292) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -31778,11 +31778,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1287, _vtype1288, _size1286 ) = iprot.readMapBegin() - for _i1290 in xrange(_size1286): - _key1291 = iprot.readString() - _val1292 = iprot.readString() - self.part_vals[_key1291] = _val1292 + (_ktype1294, _vtype1295, _size1293 ) = iprot.readMapBegin() + for _i1297 in xrange(_size1293): + _key1298 = iprot.readString() + _val1299 = iprot.readString() + self.part_vals[_key1298] = _val1299 iprot.readMapEnd() else: iprot.skip(ftype) @@ -31812,9 +31812,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 kiter1293,viter1294 in self.part_vals.items(): - oprot.writeString(kiter1293) - oprot.writeString(viter1294) + for kiter1300,viter1301 in self.part_vals.items(): + oprot.writeString(kiter1300) + oprot.writeString(viter1301) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -32028,11 +32028,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1296, _vtype1297, _size1295 ) = iprot.readMapBegin() - for _i1299 in xrange(_size1295): - _key1300 = iprot.readString() - _val1301 = iprot.readString() - self.part_vals[_key1300] = _val1301 + (_ktype1303, _vtype1304, _size1302 ) = iprot.readMapBegin() + for _i1306 in xrange(_size1302): + _key1307 = iprot.readString() + _val1308 = iprot.readString() + self.part_vals[_key1307] = _val1308 iprot.readMapEnd() else: iprot.skip(ftype) @@ -32062,9 +32062,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 kiter1302,viter1303 in self.part_vals.items(): - oprot.writeString(kiter1302) - oprot.writeString(viter1303) + for kiter1309,viter1310 in self.part_vals.items(): + oprot.writeString(kiter1309) + oprot.writeString(viter1310) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -36090,10 +36090,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1307, _size1304) = iprot.readListBegin() - for _i1308 in xrange(_size1304): - _elem1309 = iprot.readString() - self.success.append(_elem1309) + (_etype1314, _size1311) = iprot.readListBegin() + for _i1315 in xrange(_size1311): + _elem1316 = iprot.readString() + self.success.append(_elem1316) iprot.readListEnd() else: iprot.skip(ftype) @@ -36116,8 +36116,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 iter1310 in self.success: - oprot.writeString(iter1310) + for iter1317 in self.success: + oprot.writeString(iter1317) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36805,10 +36805,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1314, _size1311) = iprot.readListBegin() - for _i1315 in xrange(_size1311): - _elem1316 = iprot.readString() - self.success.append(_elem1316) + (_etype1321, _size1318) = iprot.readListBegin() + for _i1322 in xrange(_size1318): + _elem1323 = iprot.readString() + self.success.append(_elem1323) iprot.readListEnd() else: iprot.skip(ftype) @@ -36831,8 +36831,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 iter1317 in self.success: - oprot.writeString(iter1317) + for iter1324 in self.success: + oprot.writeString(iter1324) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37346,11 +37346,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1321, _size1318) = iprot.readListBegin() - for _i1322 in xrange(_size1318): - _elem1323 = Role() - _elem1323.read(iprot) - self.success.append(_elem1323) + (_etype1328, _size1325) = iprot.readListBegin() + for _i1329 in xrange(_size1325): + _elem1330 = Role() + _elem1330.read(iprot) + self.success.append(_elem1330) iprot.readListEnd() else: iprot.skip(ftype) @@ -37373,8 +37373,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 iter1324 in self.success: - iter1324.write(oprot) + for iter1331 in self.success: + iter1331.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37883,10 +37883,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1328, _size1325) = iprot.readListBegin() - for _i1329 in xrange(_size1325): - _elem1330 = iprot.readString() - self.group_names.append(_elem1330) + (_etype1335, _size1332) = iprot.readListBegin() + for _i1336 in xrange(_size1332): + _elem1337 = iprot.readString() + self.group_names.append(_elem1337) iprot.readListEnd() else: iprot.skip(ftype) @@ -37911,8 +37911,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 iter1331 in self.group_names: - oprot.writeString(iter1331) + for iter1338 in self.group_names: + oprot.writeString(iter1338) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -38139,11 +38139,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1335, _size1332) = iprot.readListBegin() - for _i1336 in xrange(_size1332): - _elem1337 = HiveObjectPrivilege() - _elem1337.read(iprot) - self.success.append(_elem1337) + (_etype1342, _size1339) = iprot.readListBegin() + for _i1343 in xrange(_size1339): + _elem1344 = HiveObjectPrivilege() + _elem1344.read(iprot) + self.success.append(_elem1344) iprot.readListEnd() else: iprot.skip(ftype) @@ -38166,8 +38166,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 iter1338 in self.success: - iter1338.write(oprot) + for iter1345 in self.success: + iter1345.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -38837,10 +38837,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1342, _size1339) = iprot.readListBegin() - for _i1343 in xrange(_size1339): - _elem1344 = iprot.readString() - self.group_names.append(_elem1344) + (_etype1349, _size1346) = iprot.readListBegin() + for _i1350 in xrange(_size1346): + _elem1351 = iprot.readString() + self.group_names.append(_elem1351) iprot.readListEnd() else: iprot.skip(ftype) @@ -38861,8 +38861,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 iter1345 in self.group_names: - oprot.writeString(iter1345) + for iter1352 in self.group_names: + oprot.writeString(iter1352) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -38917,10 +38917,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1349, _size1346) = iprot.readListBegin() - for _i1350 in xrange(_size1346): - _elem1351 = iprot.readString() - self.success.append(_elem1351) + (_etype1356, _size1353) = iprot.readListBegin() + for _i1357 in xrange(_size1353): + _elem1358 = iprot.readString() + self.success.append(_elem1358) iprot.readListEnd() else: iprot.skip(ftype) @@ -38943,8 +38943,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 iter1352 in self.success: - oprot.writeString(iter1352) + for iter1359 in self.success: + oprot.writeString(iter1359) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -39876,10 +39876,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1356, _size1353) = iprot.readListBegin() - for _i1357 in xrange(_size1353): - _elem1358 = iprot.readString() - self.success.append(_elem1358) + (_etype1363, _size1360) = iprot.readListBegin() + for _i1364 in xrange(_size1360): + _elem1365 = iprot.readString() + self.success.append(_elem1365) iprot.readListEnd() else: iprot.skip(ftype) @@ -39896,8 +39896,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 iter1359 in self.success: - oprot.writeString(iter1359) + for iter1366 in self.success: + oprot.writeString(iter1366) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -40424,10 +40424,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1363, _size1360) = iprot.readListBegin() - for _i1364 in xrange(_size1360): - _elem1365 = iprot.readString() - self.success.append(_elem1365) + (_etype1370, _size1367) = iprot.readListBegin() + for _i1371 in xrange(_size1367): + _elem1372 = iprot.readString() + self.success.append(_elem1372) iprot.readListEnd() else: iprot.skip(ftype) @@ -40444,8 +40444,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 iter1366 in self.success: - oprot.writeString(iter1366) + for iter1373 in self.success: + oprot.writeString(iter1373) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -48862,11 +48862,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1370, _size1367) = iprot.readListBegin() - for _i1371 in xrange(_size1367): - _elem1372 = SchemaVersion() - _elem1372.read(iprot) - self.success.append(_elem1372) + (_etype1377, _size1374) = iprot.readListBegin() + for _i1378 in xrange(_size1374): + _elem1379 = SchemaVersion() + _elem1379.read(iprot) + self.success.append(_elem1379) iprot.readListEnd() else: iprot.skip(ftype) @@ -48895,8 +48895,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 iter1373 in self.success: - iter1373.write(oprot) + for iter1380 in self.success: + iter1380.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -50371,11 +50371,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1377, _size1374) = iprot.readListBegin() - for _i1378 in xrange(_size1374): - _elem1379 = RuntimeStat() - _elem1379.read(iprot) - self.success.append(_elem1379) + (_etype1384, _size1381) = iprot.readListBegin() + for _i1385 in xrange(_size1381): + _elem1386 = RuntimeStat() + _elem1386.read(iprot) + self.success.append(_elem1386) iprot.readListEnd() else: iprot.skip(ftype) @@ -50398,8 +50398,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 iter1380 in self.success: - iter1380.write(oprot) + for iter1387 in self.success: + iter1387.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py index bdfb480723..c61779f7fb 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -15426,17 +15426,20 @@ class NotificationEventRequest: Attributes: - lastEvent - maxEvents + - eventTypeSkipList """ thrift_spec = ( None, # 0 (1, TType.I64, 'lastEvent', None, None, ), # 1 (2, TType.I32, 'maxEvents', None, None, ), # 2 + (3, TType.LIST, 'eventTypeSkipList', (TType.STRING,None), None, ), # 3 ) - def __init__(self, lastEvent=None, maxEvents=None,): + def __init__(self, lastEvent=None, maxEvents=None, eventTypeSkipList=None,): self.lastEvent = lastEvent self.maxEvents = maxEvents + self.eventTypeSkipList = eventTypeSkipList 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: @@ -15457,6 +15460,16 @@ def read(self, iprot): self.maxEvents = iprot.readI32() else: iprot.skip(ftype) + elif fid == 3: + if ftype == TType.LIST: + self.eventTypeSkipList = [] + (_etype647, _size644) = iprot.readListBegin() + for _i648 in xrange(_size644): + _elem649 = iprot.readString() + self.eventTypeSkipList.append(_elem649) + iprot.readListEnd() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -15475,6 +15488,13 @@ def write(self, oprot): oprot.writeFieldBegin('maxEvents', TType.I32, 2) oprot.writeI32(self.maxEvents) oprot.writeFieldEnd() + if self.eventTypeSkipList is not None: + oprot.writeFieldBegin('eventTypeSkipList', TType.LIST, 3) + oprot.writeListBegin(TType.STRING, len(self.eventTypeSkipList)) + for iter650 in self.eventTypeSkipList: + oprot.writeString(iter650) + oprot.writeListEnd() + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -15488,6 +15508,7 @@ def __hash__(self): value = 17 value = (value * 31) ^ hash(self.lastEvent) value = (value * 31) ^ hash(self.maxEvents) + value = (value * 31) ^ hash(self.eventTypeSkipList) return value def __repr__(self): @@ -15691,11 +15712,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype647, _size644) = iprot.readListBegin() - for _i648 in xrange(_size644): - _elem649 = NotificationEvent() - _elem649.read(iprot) - self.events.append(_elem649) + (_etype654, _size651) = iprot.readListBegin() + for _i655 in xrange(_size651): + _elem656 = NotificationEvent() + _elem656.read(iprot) + self.events.append(_elem656) iprot.readListEnd() else: iprot.skip(ftype) @@ -15712,8 +15733,8 @@ def write(self, oprot): if self.events is not None: oprot.writeFieldBegin('events', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.events)) - for iter650 in self.events: - iter650.write(oprot) + for iter657 in self.events: + iter657.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16036,30 +16057,30 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype654, _size651) = iprot.readListBegin() - for _i655 in xrange(_size651): - _elem656 = iprot.readString() - self.filesAdded.append(_elem656) + (_etype661, _size658) = iprot.readListBegin() + for _i662 in xrange(_size658): + _elem663 = iprot.readString() + self.filesAdded.append(_elem663) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype660, _size657) = iprot.readListBegin() - for _i661 in xrange(_size657): - _elem662 = iprot.readString() - self.filesAddedChecksum.append(_elem662) + (_etype667, _size664) = iprot.readListBegin() + for _i668 in xrange(_size664): + _elem669 = iprot.readString() + self.filesAddedChecksum.append(_elem669) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.subDirectoryList = [] - (_etype666, _size663) = iprot.readListBegin() - for _i667 in xrange(_size663): - _elem668 = iprot.readString() - self.subDirectoryList.append(_elem668) + (_etype673, _size670) = iprot.readListBegin() + for _i674 in xrange(_size670): + _elem675 = iprot.readString() + self.subDirectoryList.append(_elem675) iprot.readListEnd() else: iprot.skip(ftype) @@ -16080,22 +16101,22 @@ def write(self, oprot): if self.filesAdded is not None: oprot.writeFieldBegin('filesAdded', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.filesAdded)) - for iter669 in self.filesAdded: - oprot.writeString(iter669) + for iter676 in self.filesAdded: + oprot.writeString(iter676) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter670 in self.filesAddedChecksum: - oprot.writeString(iter670) + for iter677 in self.filesAddedChecksum: + oprot.writeString(iter677) oprot.writeListEnd() oprot.writeFieldEnd() if self.subDirectoryList is not None: oprot.writeFieldBegin('subDirectoryList', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.subDirectoryList)) - for iter671 in self.subDirectoryList: - oprot.writeString(iter671) + for iter678 in self.subDirectoryList: + oprot.writeString(iter678) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16254,10 +16275,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype675, _size672) = iprot.readListBegin() - for _i676 in xrange(_size672): - _elem677 = iprot.readString() - self.partitionVals.append(_elem677) + (_etype682, _size679) = iprot.readListBegin() + for _i683 in xrange(_size679): + _elem684 = iprot.readString() + self.partitionVals.append(_elem684) iprot.readListEnd() else: iprot.skip(ftype) @@ -16295,8 +16316,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter678 in self.partitionVals: - oprot.writeString(iter678) + for iter685 in self.partitionVals: + oprot.writeString(iter685) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -16448,10 +16469,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.partitionVals = [] - (_etype682, _size679) = iprot.readListBegin() - for _i683 in xrange(_size679): - _elem684 = iprot.readString() - self.partitionVals.append(_elem684) + (_etype689, _size686) = iprot.readListBegin() + for _i690 in xrange(_size686): + _elem691 = iprot.readString() + self.partitionVals.append(_elem691) iprot.readListEnd() else: iprot.skip(ftype) @@ -16488,8 +16509,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter685 in self.partitionVals: - oprot.writeString(iter685) + for iter692 in self.partitionVals: + oprot.writeString(iter692) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16683,12 +16704,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype687, _vtype688, _size686 ) = iprot.readMapBegin() - for _i690 in xrange(_size686): - _key691 = iprot.readI64() - _val692 = MetadataPpdResult() - _val692.read(iprot) - self.metadata[_key691] = _val692 + (_ktype694, _vtype695, _size693 ) = iprot.readMapBegin() + for _i697 in xrange(_size693): + _key698 = iprot.readI64() + _val699 = MetadataPpdResult() + _val699.read(iprot) + self.metadata[_key698] = _val699 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16710,9 +16731,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.metadata)) - for kiter693,viter694 in self.metadata.items(): - oprot.writeI64(kiter693) - viter694.write(oprot) + for kiter700,viter701 in self.metadata.items(): + oprot.writeI64(kiter700) + viter701.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -16782,10 +16803,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype698, _size695) = iprot.readListBegin() - for _i699 in xrange(_size695): - _elem700 = iprot.readI64() - self.fileIds.append(_elem700) + (_etype705, _size702) = iprot.readListBegin() + for _i706 in xrange(_size702): + _elem707 = iprot.readI64() + self.fileIds.append(_elem707) iprot.readListEnd() else: iprot.skip(ftype) @@ -16817,8 +16838,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter701 in self.fileIds: - oprot.writeI64(iter701) + for iter708 in self.fileIds: + oprot.writeI64(iter708) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -16892,11 +16913,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype703, _vtype704, _size702 ) = iprot.readMapBegin() - for _i706 in xrange(_size702): - _key707 = iprot.readI64() - _val708 = iprot.readString() - self.metadata[_key707] = _val708 + (_ktype710, _vtype711, _size709 ) = iprot.readMapBegin() + for _i713 in xrange(_size709): + _key714 = iprot.readI64() + _val715 = iprot.readString() + self.metadata[_key714] = _val715 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16918,9 +16939,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRING, len(self.metadata)) - for kiter709,viter710 in self.metadata.items(): - oprot.writeI64(kiter709) - oprot.writeString(viter710) + for kiter716,viter717 in self.metadata.items(): + oprot.writeI64(kiter716) + oprot.writeString(viter717) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -16981,10 +17002,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype714, _size711) = iprot.readListBegin() - for _i715 in xrange(_size711): - _elem716 = iprot.readI64() - self.fileIds.append(_elem716) + (_etype721, _size718) = iprot.readListBegin() + for _i722 in xrange(_size718): + _elem723 = iprot.readI64() + self.fileIds.append(_elem723) iprot.readListEnd() else: iprot.skip(ftype) @@ -17001,8 +17022,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter717 in self.fileIds: - oprot.writeI64(iter717) + for iter724 in self.fileIds: + oprot.writeI64(iter724) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17108,20 +17129,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype721, _size718) = iprot.readListBegin() - for _i722 in xrange(_size718): - _elem723 = iprot.readI64() - self.fileIds.append(_elem723) + (_etype728, _size725) = iprot.readListBegin() + for _i729 in xrange(_size725): + _elem730 = iprot.readI64() + self.fileIds.append(_elem730) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype727, _size724) = iprot.readListBegin() - for _i728 in xrange(_size724): - _elem729 = iprot.readString() - self.metadata.append(_elem729) + (_etype734, _size731) = iprot.readListBegin() + for _i735 in xrange(_size731): + _elem736 = iprot.readString() + self.metadata.append(_elem736) iprot.readListEnd() else: iprot.skip(ftype) @@ -17143,15 +17164,15 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter730 in self.fileIds: - oprot.writeI64(iter730) + for iter737 in self.fileIds: + oprot.writeI64(iter737) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter731 in self.metadata: - oprot.writeString(iter731) + for iter738 in self.metadata: + oprot.writeString(iter738) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -17259,10 +17280,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype735, _size732) = iprot.readListBegin() - for _i736 in xrange(_size732): - _elem737 = iprot.readI64() - self.fileIds.append(_elem737) + (_etype742, _size739) = iprot.readListBegin() + for _i743 in xrange(_size739): + _elem744 = iprot.readI64() + self.fileIds.append(_elem744) iprot.readListEnd() else: iprot.skip(ftype) @@ -17279,8 +17300,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter738 in self.fileIds: - oprot.writeI64(iter738) + for iter745 in self.fileIds: + oprot.writeI64(iter745) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17509,11 +17530,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype742, _size739) = iprot.readListBegin() - for _i743 in xrange(_size739): - _elem744 = Function() - _elem744.read(iprot) - self.functions.append(_elem744) + (_etype749, _size746) = iprot.readListBegin() + for _i750 in xrange(_size746): + _elem751 = Function() + _elem751.read(iprot) + self.functions.append(_elem751) iprot.readListEnd() else: iprot.skip(ftype) @@ -17530,8 +17551,8 @@ def write(self, oprot): if self.functions is not None: oprot.writeFieldBegin('functions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.functions)) - for iter745 in self.functions: - iter745.write(oprot) + for iter752 in self.functions: + iter752.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17583,10 +17604,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype749, _size746) = iprot.readListBegin() - for _i750 in xrange(_size746): - _elem751 = iprot.readI32() - self.values.append(_elem751) + (_etype756, _size753) = iprot.readListBegin() + for _i757 in xrange(_size753): + _elem758 = iprot.readI32() + self.values.append(_elem758) iprot.readListEnd() else: iprot.skip(ftype) @@ -17603,8 +17624,8 @@ def write(self, oprot): if self.values is not None: oprot.writeFieldBegin('values', TType.LIST, 1) oprot.writeListBegin(TType.I32, len(self.values)) - for iter752 in self.values: - oprot.writeI32(iter752) + for iter759 in self.values: + oprot.writeI32(iter759) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17876,10 +17897,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype756, _size753) = iprot.readListBegin() - for _i757 in xrange(_size753): - _elem758 = iprot.readString() - self.tblNames.append(_elem758) + (_etype763, _size760) = iprot.readListBegin() + for _i764 in xrange(_size760): + _elem765 = iprot.readString() + self.tblNames.append(_elem765) iprot.readListEnd() else: iprot.skip(ftype) @@ -17911,8 +17932,8 @@ def write(self, oprot): if self.tblNames is not None: oprot.writeFieldBegin('tblNames', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tblNames)) - for iter759 in self.tblNames: - oprot.writeString(iter759) + for iter766 in self.tblNames: + oprot.writeString(iter766) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -17977,11 +17998,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype763, _size760) = iprot.readListBegin() - for _i764 in xrange(_size760): - _elem765 = Table() - _elem765.read(iprot) - self.tables.append(_elem765) + (_etype770, _size767) = iprot.readListBegin() + for _i771 in xrange(_size767): + _elem772 = Table() + _elem772.read(iprot) + self.tables.append(_elem772) iprot.readListEnd() else: iprot.skip(ftype) @@ -17998,8 +18019,8 @@ def write(self, oprot): if self.tables is not None: oprot.writeFieldBegin('tables', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tables)) - for iter766 in self.tables: - iter766.write(oprot) + for iter773 in self.tables: + iter773.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19298,44 +19319,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype770, _size767) = iprot.readListBegin() - for _i771 in xrange(_size767): - _elem772 = WMPool() - _elem772.read(iprot) - self.pools.append(_elem772) + (_etype777, _size774) = iprot.readListBegin() + for _i778 in xrange(_size774): + _elem779 = WMPool() + _elem779.read(iprot) + self.pools.append(_elem779) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype776, _size773) = iprot.readListBegin() - for _i777 in xrange(_size773): - _elem778 = WMMapping() - _elem778.read(iprot) - self.mappings.append(_elem778) + (_etype783, _size780) = iprot.readListBegin() + for _i784 in xrange(_size780): + _elem785 = WMMapping() + _elem785.read(iprot) + self.mappings.append(_elem785) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype782, _size779) = iprot.readListBegin() - for _i783 in xrange(_size779): - _elem784 = WMTrigger() - _elem784.read(iprot) - self.triggers.append(_elem784) + (_etype789, _size786) = iprot.readListBegin() + for _i790 in xrange(_size786): + _elem791 = WMTrigger() + _elem791.read(iprot) + self.triggers.append(_elem791) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype788, _size785) = iprot.readListBegin() - for _i789 in xrange(_size785): - _elem790 = WMPoolTrigger() - _elem790.read(iprot) - self.poolTriggers.append(_elem790) + (_etype795, _size792) = iprot.readListBegin() + for _i796 in xrange(_size792): + _elem797 = WMPoolTrigger() + _elem797.read(iprot) + self.poolTriggers.append(_elem797) iprot.readListEnd() else: iprot.skip(ftype) @@ -19356,29 +19377,29 @@ def write(self, oprot): if self.pools is not None: oprot.writeFieldBegin('pools', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.pools)) - for iter791 in self.pools: - iter791.write(oprot) + for iter798 in self.pools: + iter798.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.mappings is not None: oprot.writeFieldBegin('mappings', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.mappings)) - for iter792 in self.mappings: - iter792.write(oprot) + for iter799 in self.mappings: + iter799.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter793 in self.triggers: - iter793.write(oprot) + for iter800 in self.triggers: + iter800.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.poolTriggers is not None: oprot.writeFieldBegin('poolTriggers', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.poolTriggers)) - for iter794 in self.poolTriggers: - iter794.write(oprot) + for iter801 in self.poolTriggers: + iter801.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19903,11 +19924,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype798, _size795) = iprot.readListBegin() - for _i799 in xrange(_size795): - _elem800 = WMResourcePlan() - _elem800.read(iprot) - self.resourcePlans.append(_elem800) + (_etype805, _size802) = iprot.readListBegin() + for _i806 in xrange(_size802): + _elem807 = WMResourcePlan() + _elem807.read(iprot) + self.resourcePlans.append(_elem807) iprot.readListEnd() else: iprot.skip(ftype) @@ -19924,8 +19945,8 @@ def write(self, oprot): if self.resourcePlans is not None: oprot.writeFieldBegin('resourcePlans', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.resourcePlans)) - for iter801 in self.resourcePlans: - iter801.write(oprot) + for iter808 in self.resourcePlans: + iter808.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20255,20 +20276,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype805, _size802) = iprot.readListBegin() - for _i806 in xrange(_size802): - _elem807 = iprot.readString() - self.errors.append(_elem807) + (_etype812, _size809) = iprot.readListBegin() + for _i813 in xrange(_size809): + _elem814 = iprot.readString() + self.errors.append(_elem814) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype811, _size808) = iprot.readListBegin() - for _i812 in xrange(_size808): - _elem813 = iprot.readString() - self.warnings.append(_elem813) + (_etype818, _size815) = iprot.readListBegin() + for _i819 in xrange(_size815): + _elem820 = iprot.readString() + self.warnings.append(_elem820) iprot.readListEnd() else: iprot.skip(ftype) @@ -20285,15 +20306,15 @@ def write(self, oprot): if self.errors is not None: oprot.writeFieldBegin('errors', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.errors)) - for iter814 in self.errors: - oprot.writeString(iter814) + for iter821 in self.errors: + oprot.writeString(iter821) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter815 in self.warnings: - oprot.writeString(iter815) + for iter822 in self.warnings: + oprot.writeString(iter822) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20909,11 +20930,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype819, _size816) = iprot.readListBegin() - for _i820 in xrange(_size816): - _elem821 = WMTrigger() - _elem821.read(iprot) - self.triggers.append(_elem821) + (_etype826, _size823) = iprot.readListBegin() + for _i827 in xrange(_size823): + _elem828 = WMTrigger() + _elem828.read(iprot) + self.triggers.append(_elem828) iprot.readListEnd() else: iprot.skip(ftype) @@ -20930,8 +20951,8 @@ def write(self, oprot): if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter822 in self.triggers: - iter822.write(oprot) + for iter829 in self.triggers: + iter829.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22141,11 +22162,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype826, _size823) = iprot.readListBegin() - for _i827 in xrange(_size823): - _elem828 = FieldSchema() - _elem828.read(iprot) - self.cols.append(_elem828) + (_etype833, _size830) = iprot.readListBegin() + for _i834 in xrange(_size830): + _elem835 = FieldSchema() + _elem835.read(iprot) + self.cols.append(_elem835) iprot.readListEnd() else: iprot.skip(ftype) @@ -22205,8 +22226,8 @@ def write(self, oprot): if self.cols is not None: oprot.writeFieldBegin('cols', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.cols)) - for iter829 in self.cols: - iter829.write(oprot) + for iter836 in self.cols: + iter836.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -22461,11 +22482,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype833, _size830) = iprot.readListBegin() - for _i834 in xrange(_size830): - _elem835 = SchemaVersionDescriptor() - _elem835.read(iprot) - self.schemaVersions.append(_elem835) + (_etype840, _size837) = iprot.readListBegin() + for _i841 in xrange(_size837): + _elem842 = SchemaVersionDescriptor() + _elem842.read(iprot) + self.schemaVersions.append(_elem842) iprot.readListEnd() else: iprot.skip(ftype) @@ -22482,8 +22503,8 @@ def write(self, oprot): if self.schemaVersions is not None: oprot.writeFieldBegin('schemaVersions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.schemaVersions)) - for iter836 in self.schemaVersions: - iter836.write(oprot) + for iter843 in self.schemaVersions: + iter843.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22968,11 +22989,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partitions = [] - (_etype840, _size837) = iprot.readListBegin() - for _i841 in xrange(_size837): - _elem842 = Partition() - _elem842.read(iprot) - self.partitions.append(_elem842) + (_etype847, _size844) = iprot.readListBegin() + for _i848 in xrange(_size844): + _elem849 = Partition() + _elem849.read(iprot) + self.partitions.append(_elem849) iprot.readListEnd() else: iprot.skip(ftype) @@ -23017,8 +23038,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter843 in self.partitions: - iter843.write(oprot) + for iter850 in self.partitions: + iter850.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environmentContext is not None: @@ -23170,10 +23191,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partVals = [] - (_etype847, _size844) = iprot.readListBegin() - for _i848 in xrange(_size844): - _elem849 = iprot.readString() - self.partVals.append(_elem849) + (_etype854, _size851) = iprot.readListBegin() + for _i855 in xrange(_size851): + _elem856 = iprot.readString() + self.partVals.append(_elem856) iprot.readListEnd() else: iprot.skip(ftype) @@ -23213,8 +23234,8 @@ def write(self, oprot): if self.partVals is not None: oprot.writeFieldBegin('partVals', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partVals)) - for iter850 in self.partVals: - oprot.writeString(iter850) + for iter857 in self.partVals: + oprot.writeString(iter857) oprot.writeListEnd() oprot.writeFieldEnd() if self.newPart is not None: @@ -23536,10 +23557,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fieldList = [] - (_etype854, _size851) = iprot.readListBegin() - for _i855 in xrange(_size851): - _elem856 = iprot.readString() - self.fieldList.append(_elem856) + (_etype861, _size858) = iprot.readListBegin() + for _i862 in xrange(_size858): + _elem863 = iprot.readString() + self.fieldList.append(_elem863) iprot.readListEnd() else: iprot.skip(ftype) @@ -23566,8 +23587,8 @@ def write(self, oprot): if self.fieldList is not None: oprot.writeFieldBegin('fieldList', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.fieldList)) - for iter857 in self.fieldList: - oprot.writeString(iter857) + for iter864 in self.fieldList: + oprot.writeString(iter864) oprot.writeListEnd() oprot.writeFieldEnd() if self.includeParamKeyPattern is not None: @@ -23643,10 +23664,10 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.filters = [] - (_etype861, _size858) = iprot.readListBegin() - for _i862 in xrange(_size858): - _elem863 = iprot.readString() - self.filters.append(_elem863) + (_etype868, _size865) = iprot.readListBegin() + for _i869 in xrange(_size865): + _elem870 = iprot.readString() + self.filters.append(_elem870) iprot.readListEnd() else: iprot.skip(ftype) @@ -23667,8 +23688,8 @@ def write(self, oprot): if self.filters is not None: oprot.writeFieldBegin('filters', TType.LIST, 8) oprot.writeListBegin(TType.STRING, len(self.filters)) - for iter864 in self.filters: - oprot.writeString(iter864) + for iter871 in self.filters: + oprot.writeString(iter871) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23721,11 +23742,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitionSpec = [] - (_etype868, _size865) = iprot.readListBegin() - for _i869 in xrange(_size865): - _elem870 = PartitionSpec() - _elem870.read(iprot) - self.partitionSpec.append(_elem870) + (_etype875, _size872) = iprot.readListBegin() + for _i876 in xrange(_size872): + _elem877 = PartitionSpec() + _elem877.read(iprot) + self.partitionSpec.append(_elem877) iprot.readListEnd() else: iprot.skip(ftype) @@ -23742,8 +23763,8 @@ def write(self, oprot): if self.partitionSpec is not None: oprot.writeFieldBegin('partitionSpec', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitionSpec)) - for iter871 in self.partitionSpec: - iter871.write(oprot) + for iter878 in self.partitionSpec: + iter878.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23841,10 +23862,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.groupNames = [] - (_etype875, _size872) = iprot.readListBegin() - for _i876 in xrange(_size872): - _elem877 = iprot.readString() - self.groupNames.append(_elem877) + (_etype882, _size879) = iprot.readListBegin() + for _i883 in xrange(_size879): + _elem884 = iprot.readString() + self.groupNames.append(_elem884) iprot.readListEnd() else: iprot.skip(ftype) @@ -23893,8 +23914,8 @@ def write(self, oprot): if self.groupNames is not None: oprot.writeFieldBegin('groupNames', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.groupNames)) - for iter878 in self.groupNames: - oprot.writeString(iter878) + for iter885 in self.groupNames: + oprot.writeString(iter885) oprot.writeListEnd() oprot.writeFieldEnd() if self.projectionSpec is not None: diff --git a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb index 46973bf39b..cb55adebf8 100644 --- a/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/standalone-metastore/metastore-common/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -3430,10 +3430,12 @@ class NotificationEventRequest include ::Thrift::Struct, ::Thrift::Struct_Union LASTEVENT = 1 MAXEVENTS = 2 + EVENTTYPESKIPLIST = 3 FIELDS = { LASTEVENT => {:type => ::Thrift::Types::I64, :name => 'lastEvent'}, - MAXEVENTS => {:type => ::Thrift::Types::I32, :name => 'maxEvents', :optional => true} + MAXEVENTS => {:type => ::Thrift::Types::I32, :name => 'maxEvents', :optional => true}, + EVENTTYPESKIPLIST => {:type => ::Thrift::Types::LIST, :name => 'eventTypeSkipList', :element => {:type => ::Thrift::Types::STRING}, :optional => true} } def struct_fields; FIELDS; end diff --git a/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift index 48b633e5fa..9c02f24494 100644 --- a/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift @@ -1123,6 +1123,7 @@ struct CreationMetadata { struct NotificationEventRequest { 1: required i64 lastEvent, 2: optional i32 maxEvents, + 3: optional list eventTypeSkipList, } struct NotificationEvent { diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 570281b54f..6555ad4c1a 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -10026,13 +10026,25 @@ public NotificationEventResponse getNextNotification(NotificationEventRequest rq try { openTransaction(); long lastEvent = rqst.getLastEvent(); - query = pm.newQuery(MNotificationLog.class, "eventId > lastEvent"); - query.declareParameters("java.lang.Long lastEvent"); + List parameterVals = new ArrayList<>(); + parameterVals.add(lastEvent); + StringBuilder filterBuilder = new StringBuilder("eventId > para" + parameterVals.size()); + StringBuilder parameterBuilder = new StringBuilder("java.lang.Long para" + parameterVals.size()); + if (rqst.isSetEventTypeSkipList()) { + for (String eventType : rqst.getEventTypeSkipList()) { + parameterVals.add(eventType); + parameterBuilder.append(", java.lang.String para" + parameterVals.size()); + filterBuilder.append(" && eventType != para" + parameterVals.size()); + } + } + query = pm.newQuery(MNotificationLog.class, filterBuilder.toString()); + query.declareParameters(parameterBuilder.toString()); query.setOrdering("eventId ascending"); int maxEventResponse = MetastoreConf.getIntVar(conf, ConfVars.METASTORE_MAX_EVENT_RESPONSE); int maxEvents = (rqst.getMaxEvents() < maxEventResponse && rqst.getMaxEvents() > 0) ? rqst.getMaxEvents() : maxEventResponse; query.setRange(0, maxEvents); - Collection events = (Collection) query.execute(lastEvent); + Collection events = + (Collection) query.executeWithArray(parameterVals.toArray(new Object[parameterVals.size()])); commited = commitTransaction(); if (events == null) { return result; diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java index e4ef46fdb4..29f9c037f3 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java @@ -38,6 +38,7 @@ import org.apache.hadoop.conf.Configurable; import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.common.DatabaseName; import org.apache.hadoop.hive.common.StatsSetupConst; import org.apache.hadoop.hive.common.TableName; @@ -55,7 +56,19 @@ import org.apache.hadoop.hive.metastore.columnstats.aggr.ColumnStatsAggregatorFactory; import org.apache.hadoop.hive.metastore.conf.MetastoreConf; import org.apache.hadoop.hive.metastore.conf.MetastoreConf.ConfVars; +import org.apache.hadoop.hive.metastore.messaging.AlterDatabaseMessage; +import org.apache.hadoop.hive.metastore.messaging.CreateDatabaseMessage; +import org.apache.hadoop.hive.metastore.messaging.CreateTableMessage; +import org.apache.hadoop.hive.metastore.messaging.DropTableMessage; +import org.apache.hadoop.hive.metastore.messaging.AlterTableMessage; +import org.apache.hadoop.hive.metastore.messaging.AddPartitionMessage; +import org.apache.hadoop.hive.metastore.messaging.AlterPartitionMessage; +import org.apache.hadoop.hive.metastore.messaging.DropPartitionMessage; +import org.apache.hadoop.hive.metastore.messaging.MessageBuilder; +import org.apache.hadoop.hive.metastore.messaging.MessageDeserializer; import org.apache.hadoop.hive.metastore.partition.spec.PartitionSpecProxy; +import org.apache.hadoop.hive.metastore.TransactionalMetaStoreEventListener; +import org.apache.hadoop.hive.metastore.messaging.MessageFactory; import org.apache.hadoop.hive.metastore.txn.TxnUtils; import org.apache.hadoop.hive.metastore.utils.FileUtils; import org.apache.hadoop.hive.metastore.utils.JavaUtils; @@ -97,6 +110,8 @@ private boolean areTxnStatsSupported; private PartitionExpressionProxy expressionProxy = null; private static final SharedCache sharedCache = new SharedCache(); + private static boolean canUseEvents = false; + private static long lastEventId; static final private Logger LOG = LoggerFactory.getLogger(CachedStore.class.getName()); @@ -119,7 +134,40 @@ void setConfForTest(Configuration conf) { initSharedCache(conf); } + synchronized private static void triggerUpdateUsingEvent(RawStore rawStore) { + if (!isCachePrewarmed.get()) { + LOG.error("cache update should be done only after prewarm"); + throw new RuntimeException("cache update should be done only after prewarm"); + } + try { + lastEventId = updateUsingNotificationEvents(rawStore, lastEventId); + } catch (Exception e) { + LOG.error(" cache update failed for start event id " + lastEventId + " with error ", e); + throw new RuntimeException(e.getMessage()); + } + } + + synchronized private static void triggerPreWarm(RawStore rawStore) { + lastEventId = rawStore.getCurrentNotificationEventId().getEventId(); + prewarm(rawStore); + } + private void setConfInternal(Configuration conf) { + List transactionalListeners = null; + try { + transactionalListeners = MetaStoreServerUtils.getMetaStoreListeners(TransactionalMetaStoreEventListener.class, + conf, MetastoreConf.getVar(conf, ConfVars.TRANSACTIONAL_EVENT_LISTENERS)); + } catch (MetaException e) { + throw new RuntimeException("Failed getting notification listeners", e); + } + + //TODO : have to check the behavior when canUseEvents is changed at run time after prewarm is done. + if (transactionalListeners != null && !transactionalListeners.isEmpty()) { + canUseEvents = true; + } else { + canUseEvents = false; + } + String rawStoreClassName = MetastoreConf.getVar(conf, ConfVars.CACHED_RAW_STORE_IMPL, ObjectStore.class.getName()); if (rawStore == null) { @@ -150,6 +198,130 @@ private void initSharedCache(Configuration conf) { } } + @VisibleForTesting + SharedCache getSharedCache() { + return sharedCache; + } + + @VisibleForTesting + public static long updateUsingNotificationEvents(RawStore rawStore, long lastEventId) throws Exception { + LOG.debug("updating cache using notification events starting from event id " + lastEventId); + NotificationEventRequest rqst = new NotificationEventRequest(lastEventId); + + //Add the events which are not related to metadata update + rqst.addToEventTypeSkipList(MessageBuilder.INSERT_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.OPEN_TXN_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.COMMIT_TXN_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.ABORT_TXN_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.ALLOC_WRITE_ID_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.ACID_WRITE_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.CREATE_FUNCTION_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.DROP_FUNCTION_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.ADD_PRIMARYKEY_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.ADD_FOREIGNKEY_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.ADD_UNIQUECONSTRAINT_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.ADD_NOTNULLCONSTRAINT_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.DROP_CONSTRAINT_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.CREATE_ISCHEMA_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.ALTER_ISCHEMA_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.DROP_ISCHEMA_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.ADD_SCHEMA_VERSION_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.ALTER_SCHEMA_VERSION_EVENT); + rqst.addToEventTypeSkipList(MessageBuilder.DROP_SCHEMA_VERSION_EVENT); + + NotificationEventResponse resp = rawStore.getNextNotification(rqst); + List eventList = resp.getEvents(); + if (eventList == null) { + LOG.debug("no events to process"); + return lastEventId; + } + + LOG.debug("num events to process" + eventList.size()); + + for (NotificationEvent event : eventList) { + long eventId = event.getEventId(); + if (eventId <= lastEventId) { + LOG.error("Event id is not valid " + lastEventId + " : " + eventId); + throw new RuntimeException(" event id is not valid " + lastEventId + " : " + eventId); + } + lastEventId = eventId; + String message = event.getMessage(); + LOG.debug(" event to process " + event); + MessageDeserializer deserializer = MessageFactory.getInstance(event.getMessageFormat()).getDeserializer(); + String catalogName = event.getCatName() == null ? null : event.getCatName().toLowerCase(); + String dbName = event.getDbName() == null ? null : event.getDbName().toLowerCase(); + String tableName = event.getTableName() == null ? null : event.getTableName().toLowerCase(); + switch (event.getEventType()) { + case MessageBuilder.ADD_PARTITION_EVENT: + AddPartitionMessage addPartMessage = deserializer.getAddPartitionMessage(message); + sharedCache.addPartitionsToCache(catalogName, + dbName, tableName, addPartMessage.getPartitionObjs()); + break; + case MessageBuilder.ALTER_PARTITION_EVENT: + AlterPartitionMessage alterPartitionMessage = deserializer.getAlterPartitionMessage(message); + sharedCache.alterPartitionInCache(catalogName, dbName, tableName, + alterPartitionMessage.getPtnObjBefore().getValues(), alterPartitionMessage.getPtnObjAfter()); + break; + case MessageBuilder.DROP_PARTITION_EVENT: + DropPartitionMessage dropPartitionMessage = deserializer.getDropPartitionMessage(message); + for (Map partMap : dropPartitionMessage.getPartitions()) { + sharedCache.removePartitionFromCache(catalogName, dbName, tableName, new ArrayList<>(partMap.values())); + } + break; + case MessageBuilder.CREATE_TABLE_EVENT: + CreateTableMessage createTableMessage = deserializer.getCreateTableMessage(message); + sharedCache.addTableToCache(catalogName, dbName, + tableName, createTableMessage.getTableObj()); + break; + case MessageBuilder.ALTER_TABLE_EVENT: + AlterTableMessage alterTableMessage = deserializer.getAlterTableMessage(message); + sharedCache.alterTableInCache(catalogName, dbName, tableName, + alterTableMessage.getTableObjAfter()); + break; + case MessageBuilder.DROP_TABLE_EVENT: + DropTableMessage dropTableMessage = deserializer.getDropTableMessage(message); + int batchSize = MetastoreConf.getIntVar(rawStore.getConf(), ConfVars.BATCH_RETRIEVE_OBJECTS_MAX); + String tableDnsPath = null; + Path tablePath = new Path(dropTableMessage.getTableObj().getSd().getLocation()); + if (tablePath != null) { + tableDnsPath = new Warehouse(rawStore.getConf()).getDnsPath(tablePath).toString(); + } + + while (true) { + Map partitionLocations = rawStore.getPartitionLocations(catalogName, dbName, tableName, + tableDnsPath, batchSize); + if (partitionLocations == null || partitionLocations.isEmpty()) { + break; + } + sharedCache.removePartitionFromCache(catalogName, dbName, tableName, + new ArrayList<>(partitionLocations.values())); + } + sharedCache.removeTableFromCache(catalogName, dbName, tableName); + break; + case MessageBuilder.CREATE_DATABASE_EVENT: + CreateDatabaseMessage createDatabaseMessage = deserializer.getCreateDatabaseMessage(message); + sharedCache.addDatabaseToCache(createDatabaseMessage.getDatabaseObject()); + break; + case MessageBuilder.ALTER_DATABASE_EVENT: + AlterDatabaseMessage alterDatabaseMessage = deserializer.getAlterDatabaseMessage(message); + sharedCache.alterDatabaseInCache(catalogName, dbName, alterDatabaseMessage.getDbObjAfter()); + break; + case MessageBuilder.DROP_DATABASE_EVENT: + sharedCache.removeDatabaseFromCache(catalogName, dbName); + break; + case MessageBuilder.CREATE_CATALOG_EVENT: + case MessageBuilder.DROP_CATALOG_EVENT: + case MessageBuilder.ALTER_CATALOG_EVENT: + // TODO : Need to add cache invalidation for catalog events + LOG.error("catalog Events are not supported for cache invalidation : " + event.getEventType()); + break; + default: + LOG.error("Event is not supported for cache invalidation : " + event.getEventType()); + } + } + return lastEventId; + } + @VisibleForTesting /** * This initializes the caches in SharedCache by getting the objects from Metastore DB via @@ -407,8 +579,7 @@ public Thread newThread(Runnable r) { } if (runOnlyOnce) { // Some tests control the execution of the background update thread - cacheUpdateMaster.schedule(new CacheUpdateMasterWork(conf, shouldRunPrewarm), 0, - TimeUnit.MILLISECONDS); + cacheUpdateMaster.schedule(new CacheUpdateMasterWork(conf, shouldRunPrewarm), 0, TimeUnit.MILLISECONDS); } } @@ -439,6 +610,7 @@ static void setCacheRefreshPeriod(long time) { private boolean shouldRunPrewarm = true; private final RawStore rawStore; + CacheUpdateMasterWork(Configuration conf, boolean shouldRunPrewarm) { this.shouldRunPrewarm = shouldRunPrewarm; String rawStoreClassName = @@ -456,11 +628,19 @@ static void setCacheRefreshPeriod(long time) { @Override public void run() { if (!shouldRunPrewarm) { - // TODO: prewarm and update can probably be merged. - update(); + if (canUseEvents) { + try { + triggerUpdateUsingEvent(rawStore); + } catch (Exception e) { + LOG.error("failed to update cache using events ", e); + } + } else { + // TODO: prewarm and update can probably be merged. + update(); + } } else { try { - prewarm(rawStore); + triggerPreWarm(rawStore); } catch (Exception e) { LOG.error("Prewarm failure", e); return; @@ -675,7 +855,24 @@ public boolean openTransaction() { @Override public boolean commitTransaction() { - return rawStore.commitTransaction(); + if (!rawStore.commitTransaction()) { + return false; + } + + // In case of event based update, shared cache is not updated directly to avoid inconsistency. + // For example, if metastore B add a partition, then metastore A drop a partition later. However, on metastore A, + // it first get drop partition request, then from notification, create the partition. If there's no tombstone + // entry in partition cache to tell drop is after creation, we end up consumes the creation request. Though + // eventually there's drop partition notification, but during the interim, later event takes precedence. + // So we will not update the cache during raw store operation but wait during commit transaction to make sure that + // the event related to the current transactions are updated in the cache and thus we can support strong + // consistency in case there is only one metastore. + // TODO : There will be an issue if the cache is accessed to get the object updated within the same transaction. + // As cache is updated during commit, the read will return old value. + if (canUseEvents) { + triggerUpdateUsingEvent(rawStore); + } + return true; } @Override @@ -691,19 +888,26 @@ public void rollbackTransaction() { @Override public void createCatalog(Catalog cat) throws MetaException { rawStore.createCatalog(cat); - sharedCache.addCatalogToCache(cat); + // in case of event based cache update, cache will not be updated for catalog. + if (!canUseEvents) { + sharedCache.addCatalogToCache(cat); + } } @Override public void alterCatalog(String catName, Catalog cat) throws MetaException, InvalidOperationException { rawStore.alterCatalog(catName, cat); - sharedCache.alterCatalogInCache(StringUtils.normalizeIdentifier(catName), cat); + // in case of event based cache update, cache will not be updated for catalog. + if (!canUseEvents) { + sharedCache.alterCatalogInCache(StringUtils.normalizeIdentifier(catName), cat); + } } @Override public Catalog getCatalog(String catalogName) throws NoSuchObjectException, MetaException { - if (!sharedCache.isCatalogCachePrewarmed()) { + // in case of event based cache update, cache will not be updated for catalog. + if (!sharedCache.isCatalogCachePrewarmed() || canUseEvents) { return rawStore.getCatalog(catalogName); } Catalog cat = sharedCache.getCatalogFromCache(normalizeIdentifier(catalogName)); @@ -715,7 +919,8 @@ public Catalog getCatalog(String catalogName) throws NoSuchObjectException, Meta @Override public List getCatalogs() throws MetaException { - if (!sharedCache.isCatalogCachePrewarmed()) { + // in case of event based cache update, cache will not be updated for catalog. + if (!sharedCache.isCatalogCachePrewarmed() || canUseEvents) { return rawStore.getCatalogs(); } return sharedCache.listCachedCatalogs(); @@ -724,19 +929,29 @@ public Catalog getCatalog(String catalogName) throws NoSuchObjectException, Meta @Override public void dropCatalog(String catalogName) throws NoSuchObjectException, MetaException { rawStore.dropCatalog(catalogName); - catalogName = catalogName.toLowerCase(); - sharedCache.removeCatalogFromCache(catalogName); + + // in case of event based cache update, cache will not be updated for catalog. + if (!canUseEvents) { + catalogName = catalogName.toLowerCase(); + sharedCache.removeCatalogFromCache(catalogName); + } } @Override public void createDatabase(Database db) throws InvalidObjectException, MetaException { rawStore.createDatabase(db); - sharedCache.addDatabaseToCache(db); + // in case of event based cache update, cache will be updated during commit. + if (!canUseEvents) { + sharedCache.addDatabaseToCache(db); + } } @Override public Database getDatabase(String catName, String dbName) throws NoSuchObjectException { - if (!sharedCache.isDatabaseCachePrewarmed()) { + // in case of event based cache update, cache will be updated during commit. So within active transaction, read + // directly from rawStore to avoid reading stale data as the data updated during same transaction will not be + // updated in the cache. + if (!sharedCache.isDatabaseCachePrewarmed() || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getDatabase(catName, dbName); } dbName = dbName.toLowerCase(); @@ -751,7 +966,8 @@ public Database getDatabase(String catName, String dbName) throws NoSuchObjectEx @Override public boolean dropDatabase(String catName, String dbName) throws NoSuchObjectException, MetaException { boolean succ = rawStore.dropDatabase(catName, dbName); - if (succ) { + if (succ && !canUseEvents) { + // in case of event based cache update, cache will be updated during commit. sharedCache.removeDatabaseFromCache(StringUtils.normalizeIdentifier(catName), StringUtils.normalizeIdentifier(dbName)); } @@ -762,7 +978,8 @@ public boolean dropDatabase(String catName, String dbName) throws NoSuchObjectEx public boolean alterDatabase(String catName, String dbName, Database db) throws NoSuchObjectException, MetaException { boolean succ = rawStore.alterDatabase(catName, dbName, db); - if (succ) { + if (succ && !canUseEvents) { + // in case of event based cache update, cache will be updated during commit. sharedCache.alterDatabaseInCache(StringUtils.normalizeIdentifier(catName), StringUtils.normalizeIdentifier(dbName), db); } @@ -771,7 +988,7 @@ public boolean alterDatabase(String catName, String dbName, Database db) @Override public List getDatabases(String catName, String pattern) throws MetaException { - if (!sharedCache.isDatabaseCachePrewarmed()) { + if (!sharedCache.isDatabaseCachePrewarmed() || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getDatabases(catName, pattern); } return sharedCache.listCachedDatabases(catName, pattern); @@ -779,7 +996,7 @@ public boolean alterDatabase(String catName, String dbName, Database db) @Override public List getAllDatabases(String catName) throws MetaException { - if (!sharedCache.isDatabaseCachePrewarmed()) { + if (!sharedCache.isDatabaseCachePrewarmed() || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getAllDatabases(catName); } return sharedCache.listCachedDatabases(catName); @@ -821,6 +1038,10 @@ private void validateTableType(Table tbl) { @Override public void createTable(Table tbl) throws InvalidObjectException, MetaException { rawStore.createTable(tbl); + // in case of event based cache update, cache will be updated during commit. + if (canUseEvents) { + return; + } String catName = normalizeIdentifier(tbl.getCatName()); String dbName = normalizeIdentifier(tbl.getDbName()); String tblName = normalizeIdentifier(tbl.getTableName()); @@ -835,7 +1056,8 @@ public void createTable(Table tbl) throws InvalidObjectException, MetaException public boolean dropTable(String catName, String dbName, String tblName) throws MetaException, NoSuchObjectException, InvalidObjectException, InvalidInputException { boolean succ = rawStore.dropTable(catName, dbName, tblName); - if (succ) { + // in case of event based cache update, cache will be updated during commit. + if (succ && !canUseEvents) { catName = normalizeIdentifier(catName); dbName = normalizeIdentifier(dbName); tblName = normalizeIdentifier(tblName); @@ -857,7 +1079,7 @@ public Table getTable(String catName, String dbName, String tblName, String vali catName = normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getTable(catName, dbName, tblName, validWriteIds); } Table tbl = sharedCache.getTableFromCache(catName, dbName, tblName); @@ -898,7 +1120,8 @@ public Table getTable(String catName, String dbName, String tblName, String vali @Override public boolean addPartition(Partition part) throws InvalidObjectException, MetaException { boolean succ = rawStore.addPartition(part); - if (succ) { + // in case of event based cache update, cache will be updated during commit. + if (succ && !canUseEvents) { String dbName = normalizeIdentifier(part.getDbName()); String tblName = normalizeIdentifier(part.getTableName()); String catName = part.isSetCatName() ? normalizeIdentifier(part.getCatName()) : DEFAULT_CATALOG_NAME; @@ -914,7 +1137,8 @@ public boolean addPartition(Partition part) throws InvalidObjectException, MetaE public boolean addPartitions(String catName, String dbName, String tblName, List parts) throws InvalidObjectException, MetaException { boolean succ = rawStore.addPartitions(catName, dbName, tblName, parts); - if (succ) { + // in case of event based cache update, cache will be updated during commit. + if (succ && !canUseEvents) { catName = normalizeIdentifier(catName); dbName = normalizeIdentifier(dbName); tblName = normalizeIdentifier(tblName); @@ -930,7 +1154,8 @@ public boolean addPartitions(String catName, String dbName, String tblName, List public boolean addPartitions(String catName, String dbName, String tblName, PartitionSpecProxy partitionSpec, boolean ifNotExists) throws InvalidObjectException, MetaException { boolean succ = rawStore.addPartitions(catName, dbName, tblName, partitionSpec, ifNotExists); - if (succ) { + // in case of event based cache update, cache will be updated during commit. + if (succ && !canUseEvents) { catName = normalizeIdentifier(catName); dbName = normalizeIdentifier(dbName); tblName = normalizeIdentifier(tblName); @@ -959,7 +1184,7 @@ public Partition getPartition(String catName, String dbName, String tblName, catName = normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getPartition( catName, dbName, tblName, part_vals, validWriteIds); } @@ -990,7 +1215,7 @@ public boolean doesPartitionExist(String catName, String dbName, String tblName, catName = normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.doesPartitionExist(catName, dbName, tblName, partKeys, part_vals); } Table tbl = sharedCache.getTableFromCache(catName, dbName, tblName); @@ -1005,7 +1230,8 @@ public boolean doesPartitionExist(String catName, String dbName, String tblName, public boolean dropPartition(String catName, String dbName, String tblName, List part_vals) throws MetaException, NoSuchObjectException, InvalidObjectException, InvalidInputException { boolean succ = rawStore.dropPartition(catName, dbName, tblName, part_vals); - if (succ) { + // in case of event based cache update, cache will be updated during commit. + if (succ && !canUseEvents) { catName = normalizeIdentifier(catName); dbName = normalizeIdentifier(dbName); tblName = normalizeIdentifier(tblName); @@ -1021,6 +1247,10 @@ public boolean dropPartition(String catName, String dbName, String tblName, List public void dropPartitions(String catName, String dbName, String tblName, List partNames) throws MetaException, NoSuchObjectException { rawStore.dropPartitions(catName, dbName, tblName, partNames); + // in case of event based cache update, cache will be updated during commit. + if (canUseEvents) { + return; + } catName = normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); @@ -1040,7 +1270,7 @@ public void dropPartitions(String catName, String dbName, String tblName, List getTables(String catName, String dbName, String pattern) throws MetaException { - if (!isBlacklistWhitelistEmpty(conf) || !isCachePrewarmed.get()) { + if (!isBlacklistWhitelistEmpty(conf) || !isCachePrewarmed.get() || + (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getTables(catName, dbName, pattern); } return sharedCache.listCachedTableNames(StringUtils.normalizeIdentifier(catName), @@ -1106,7 +1341,8 @@ public void updateCreationMetadata(String catName, String dbname, String tablena @Override public List getTables(String catName, String dbName, String pattern, TableType tableType) throws MetaException { - if (!isBlacklistWhitelistEmpty(conf) || !isCachePrewarmed.get()) { + if (!isBlacklistWhitelistEmpty(conf) || !isCachePrewarmed.get() + || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getTables(catName, dbName, pattern, tableType); } return sharedCache.listCachedTableNames(StringUtils.normalizeIdentifier(catName), @@ -1123,7 +1359,8 @@ public void updateCreationMetadata(String catName, String dbname, String tablena public List getTableMeta(String catName, String dbNames, String tableNames, List tableTypes) throws MetaException { // TODO Check if all required tables are allowed, if so, get it from cache - if (!isBlacklistWhitelistEmpty(conf) || !isCachePrewarmed.get()) { + if (!isBlacklistWhitelistEmpty(conf) || !isCachePrewarmed.get() || + (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getTableMeta(catName, dbNames, tableNames, tableTypes); } return sharedCache.getTableMeta(StringUtils.normalizeIdentifier(catName), @@ -1134,6 +1371,9 @@ public void updateCreationMetadata(String catName, String dbname, String tablena @Override public List
getTableObjectsByName(String catName, String dbName, List tblNames) throws MetaException, UnknownDBException { + if (canUseEvents && rawStore.isActiveTransaction()) { + return rawStore.getTableObjectsByName(catName, dbName, tblNames); + } dbName = normalizeIdentifier(dbName); catName = normalizeIdentifier(catName); boolean missSomeInCache = false; @@ -1168,7 +1408,8 @@ public void updateCreationMetadata(String catName, String dbname, String tablena @Override public List getAllTables(String catName, String dbName) throws MetaException { - if (!isBlacklistWhitelistEmpty(conf) || !isCachePrewarmed.get()) { + if (!isBlacklistWhitelistEmpty(conf) || !isCachePrewarmed.get() || + (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getAllTables(catName, dbName); } return sharedCache.listCachedTableNames(StringUtils.normalizeIdentifier(catName), @@ -1188,7 +1429,7 @@ public void updateCreationMetadata(String catName, String dbname, String tablena catName = StringUtils.normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.listPartitionNames(catName, dbName, tblName, max_parts); } Table tbl = sharedCache.getTableFromCache(catName, dbName, tblName); @@ -1218,6 +1459,10 @@ public Partition alterPartition(String catName, String dbName, String tblName, List partVals, Partition newPart, String validWriteIds) throws InvalidObjectException, MetaException { newPart = rawStore.alterPartition(catName, dbName, tblName, partVals, newPart, validWriteIds); + // in case of event based cache update, cache will be updated during commit. + if (canUseEvents) { + return newPart; + } catName = normalizeIdentifier(catName); dbName = normalizeIdentifier(dbName); tblName = normalizeIdentifier(tblName); @@ -1235,6 +1480,10 @@ public Partition alterPartition(String catName, String dbName, String tblName, throws InvalidObjectException, MetaException { newParts = rawStore.alterPartitions( catName, dbName, tblName, partValsList, newParts, writeId, validWriteIds); + // in case of event based cache update, cache will be updated during commit. + if (canUseEvents) { + return newParts; + } catName = normalizeIdentifier(catName); dbName = normalizeIdentifier(dbName); tblName = normalizeIdentifier(tblName); @@ -1286,7 +1535,7 @@ public boolean getPartitionsByExpr(String catName, String dbName, String tblName catName = StringUtils.normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getPartitionsByExpr(catName, dbName, tblName, expr, defaultPartitionName, maxParts, result); } List partNames = new LinkedList<>(); @@ -1317,7 +1566,7 @@ public int getNumPartitionsByExpr(String catName, String dbName, String tblName, catName = normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getNumPartitionsByExpr(catName, dbName, tblName, expr); } String defaultPartName = MetastoreConf.getVar(getConf(), ConfVars.DEFAULTPARTITIONNAME); @@ -1350,7 +1599,7 @@ public int getNumPartitionsByExpr(String catName, String dbName, String tblName, catName = StringUtils.normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getPartitionsByNames(catName, dbName, tblName, partNames); } Table table = sharedCache.getTableFromCache(catName, dbName, tblName); @@ -1537,7 +1786,7 @@ public Partition getPartitionWithAuth(String catName, String dbName, String tblN catName = StringUtils.normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getPartitionWithAuth(catName, dbName, tblName, partVals, userName, groupNames); } Table table = sharedCache.getTableFromCache(catName, dbName, tblName); @@ -1562,7 +1811,7 @@ public Partition getPartitionWithAuth(String catName, String dbName, String tblN catName = StringUtils.normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.getPartitionsWithAuth(catName, dbName, tblName, maxParts, userName, groupNames); } Table table = sharedCache.getTableFromCache(catName, dbName, tblName); @@ -1591,7 +1840,7 @@ public Partition getPartitionWithAuth(String catName, String dbName, String tblN catName = StringUtils.normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.listPartitionNamesPs(catName, dbName, tblName, partSpecs, maxParts); } Table table = sharedCache.getTableFromCache(catName, dbName, tblName); @@ -1620,7 +1869,7 @@ public Partition getPartitionWithAuth(String catName, String dbName, String tblN catName = StringUtils.normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + if (!shouldCacheTable(catName, dbName, tblName) || (canUseEvents && rawStore.isActiveTransaction())) { return rawStore.listPartitionsPsWithAuth(catName, dbName, tblName, partSpecs, maxParts, userName, groupNames); } Table table = sharedCache.getTableFromCache(catName, dbName, tblName); @@ -1708,7 +1957,8 @@ private ColumnStatistics adjustColStatForGet(Map tableParams, throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException { Map newParams = rawStore.updateTableColumnStatistics( colStats, validWriteIds, writeId); - if (newParams != null) { + // in case of event based cache update, cache will be updated during commit. + if (newParams != null && !canUseEvents) { String catName = colStats.getStatsDesc().isSetCatName() ? normalizeIdentifier(colStats.getStatsDesc().getCatName()) : getDefaultCatalog(conf); @@ -1743,7 +1993,8 @@ public ColumnStatistics getTableColumnStatistics( catName = StringUtils.normalizeIdentifier(catName); dbName = StringUtils.normalizeIdentifier(dbName); tblName = StringUtils.normalizeIdentifier(tblName); - if (!shouldCacheTable(catName, dbName, tblName)) { + // in case of event based cache update, cache is not updated for stats. + if (!shouldCacheTable(catName, dbName, tblName) || canUseEvents) { return rawStore.getTableColumnStatistics( catName, dbName, tblName, colNames, validWriteIds); } @@ -1765,7 +2016,8 @@ public boolean deleteTableColumnStatistics(String catName, String dbName, String String colName) throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException { boolean succ = rawStore.deleteTableColumnStatistics(catName, dbName, tblName, colName); - if (succ) { + // in case of event based cache update, cache is not updated for stats. + if (succ && !canUseEvents) { catName = normalizeIdentifier(catName); dbName = normalizeIdentifier(dbName); tblName = normalizeIdentifier(tblName); @@ -1783,7 +2035,8 @@ public boolean deleteTableColumnStatistics(String catName, String dbName, String throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException { Map newParams = rawStore.updatePartitionColumnStatistics( colStats, partVals, validWriteIds, writeId); - if (newParams != null) { + // in case of event based cache update, cache is not updated for stats. + if (newParams != null && !canUseEvents) { String catName = colStats.getStatsDesc().isSetCatName() ? normalizeIdentifier(colStats.getStatsDesc().getCatName()) : DEFAULT_CATALOG_NAME; String dbName = normalizeIdentifier(colStats.getStatsDesc().getDbName()); @@ -1822,7 +2075,8 @@ public boolean deletePartitionColumnStatistics(String catName, String dbName, St throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException { boolean succ = rawStore.deletePartitionColumnStatistics(catName, dbName, tblName, partName, partVals, colName); - if (succ) { + // in case of event based cache update, cache is not updated for stats. + if (succ && !canUseEvents) { catName = normalizeIdentifier(catName); dbName = normalizeIdentifier(dbName); tblName = normalizeIdentifier(tblName); @@ -1851,8 +2105,9 @@ public AggrStats get_aggr_stats_for(String catName, String dbName, String tblNam tblName = StringUtils.normalizeIdentifier(tblName); // TODO: we currently cannot do transactional checks for stats here // (incl. due to lack of sync w.r.t. the below rawStore call). - if (!shouldCacheTable(catName, dbName, tblName) || writeIdList != null) { - rawStore.get_aggr_stats_for( + // in case of event based cache update, cache is not updated for stats. + if (!shouldCacheTable(catName, dbName, tblName) || writeIdList != null || canUseEvents) { + return rawStore.get_aggr_stats_for( catName, dbName, tblName, partNames, colNames, writeIdList); } Table table = sharedCache.getTableFromCache(catName, dbName, tblName); @@ -2246,6 +2501,10 @@ public int getDatabaseCount() throws MetaException { // TODO constraintCache List constraintNames = rawStore.createTableWithConstraints(tbl, primaryKeys, foreignKeys, uniqueConstraints, notNullConstraints, defaultConstraints, checkConstraints); + // in case of event based cache update, cache is updated during commit. + if (canUseEvents) { + return constraintNames; + } String dbName = normalizeIdentifier(tbl.getDbName()); String tblName = normalizeIdentifier(tbl.getTableName()); String catName = tbl.isSetCatName() ? normalizeIdentifier(tbl.getCatName()) : diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/SharedCache.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/SharedCache.java index c24e7160ac..ce9e383f70 100644 --- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/SharedCache.java +++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/SharedCache.java @@ -210,7 +210,7 @@ void cachePartition(Partition part, SharedCache sharedCache) { } } - boolean cachePartitions(List parts, SharedCache sharedCache) { + boolean cachePartitions(Iterable parts, SharedCache sharedCache) { try { tableLock.writeLock().lock(); for (Partition part : parts) { @@ -292,6 +292,9 @@ public Partition removePartition(List partVal, SharedCache sharedCache) tableLock.writeLock().lock(); PartitionWrapper wrapper = partitionCache.remove(CacheUtils.buildPartitionCacheKey(partVal)); + if (wrapper == null) { + return null; + } isPartitionCacheDirty.set(true); part = CacheUtils.assemble(wrapper, sharedCache); if (wrapper.getSdHash() != null) { @@ -1171,6 +1174,10 @@ public void removeTableFromCache(String catName, String dbName, String tblName) } TableWrapper tblWrapper = tableCache.remove(CacheUtils.buildTableKey(catName, dbName, tblName)); + if (tblWrapper == null) { + //in case of retry, ignore second try. + return; + } byte[] sdHash = tblWrapper.getSdHash(); if (sdHash != null) { decrSd(sdHash); @@ -1408,7 +1415,7 @@ public void addPartitionToCache(String catName, String dbName, String tblName, P } public void addPartitionsToCache(String catName, String dbName, String tblName, - List parts) { + Iterable parts) { try { cacheLock.readLock().lock(); TableWrapper tblWrapper = tableCache.get(CacheUtils.buildTableKey(catName, dbName, tblName));